/* Scoped game styles: the academic homepage and photography remain untouched. */
.stn-page { padding-bottom: 20px; }
.stn-breadcrumb { display: flex; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--muted); padding-top: 28px; }
.stn-breadcrumb a { padding-block: 4px; }
.stn-breadcrumb span { padding-top: 4px; }
.stn-heading { max-width: 800px; padding: 38px 0 36px; }
.stn-eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 15px; color: var(--muted); }
.stn-heading h1 { font-size: clamp(44px, 6vw, 76px); letter-spacing: -.04em; }
.stn-lead { max-width: 640px; font-size: clamp(18px, 2vw, 22px); margin-top: 20px; line-height: 1.6; }
.stn-cta { margin-top: 24px; }
.stn-steam { display: inline-flex; gap: 20px; align-items: center; padding: 10px 17px; background: var(--ink); color: #fff; border-radius: 3px; text-decoration: none; font-size: 14px; }
.stn-steam:hover { background: #153b60; color: #fff; }
.stn-page figure { margin: 0; }
.stn-hero > a, .stn-grid a { display: block; background: #15151b; border-radius: 3px; overflow: hidden; }
.stn-hero img, .stn-grid img { width: 100%; height: auto; }
.stn-hero figcaption, .stn-grid figcaption, .stn-caption { color: var(--muted); font-size: 12px; line-height: 1.6; margin-top: 10px; }
.stn-hero figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 20px; }
.stn-section { display: grid; grid-template-columns: 230px minmax(0,1fr); gap: 42px; padding: 35px 0; border-top: 1px solid var(--rule); }
.stn-hero + .stn-section { margin-top: 36px; }
.stn-prose p + p { margin-top: 16px; }
.stn-video-section video { display: block; width: 100%; height: auto; border-radius: 3px; background: #15151b; }
.stn-screenshots { border-top: 1px solid var(--rule); padding-top: 35px; }
.stn-gallery-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 15px; margin-bottom: 23px; }
.stn-gallery-heading p { font-size: 12px; color: var(--muted); }
.stn-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 27px 22px; }
.stn-return { margin-top: 35px; padding-top: 20px; border-top: 1px solid var(--rule); font-size: 14px; }
.stn-viewer { width: min(1400px,calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 16px; border: 1px solid #42464e; border-radius: 5px; background: #12141a; color: #f4f5f7; }
.stn-viewer::backdrop { background: rgba(0,0,0,.88); }
.stn-viewer-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding-bottom: 14px; }
.stn-viewer-count { font-size: 13px; color: #c4cbd5; }
.stn-viewer button { border: 1px solid #606773; border-radius: 3px; padding: 9px 13px; background: #222631; color: #fff; font: inherit; cursor: pointer; min-width: 44px; min-height: 44px; }
.stn-viewer button:hover { background: #363d4a; }
.stn-viewer button:focus-visible { outline: 3px solid #c7dfff; outline-offset: 3px; }
.stn-viewer-content { display: grid; grid-template-columns: 44px minmax(0,1fr) 44px; gap: 14px; align-items: center; }
.stn-viewer figure { min-width: 0; }
.stn-viewer figure img { width: 100%; height: auto; max-height: calc(100dvh - 175px); object-fit: contain; }
.stn-viewer figcaption { font-size: 13px; color: #d1d5dd; margin-top: 12px; }
body.stn-viewer-open { overflow: hidden; }
@media (max-width:700px) {
  .stn-heading { padding-block: 28px; }
  .stn-section { grid-template-columns: 1fr; gap: 17px; padding-block: 28px; }
  .stn-grid { grid-template-columns: 1fr; gap: 25px; }
  .stn-viewer { padding: 12px; }
  .stn-viewer-content { grid-template-columns: 44px minmax(0,1fr) 44px; gap: 6px; }
  .stn-viewer-content figure { grid-column: 1 / -1; grid-row: 1; }
  .stn-viewer-prev { grid-column: 1; grid-row: 2; }
  .stn-viewer-next { grid-column: 3; grid-row: 2; }
  .stn-viewer figure img { max-height: calc(100dvh - 230px); }
}
@media (prefers-reduced-motion:reduce) { .stn-page *, .stn-viewer * { scroll-behavior: auto; } }
/* Match the site's current editorial display typography. */
.stn-heading h1 { font-family: var(--display,var(--sans,Arial,sans-serif)); font-weight: 700; line-height: 1.12; }
.stn-section h2, .stn-gallery-heading h2 { font: 600 28px/1.3 var(--display,var(--sans,Arial,sans-serif)); letter-spacing: -.015em; }
.stn-heading { max-width: none; display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); gap: 8px 60px; align-items: end; padding-bottom: 30px; }
.stn-heading .stn-eyebrow { grid-column: 1 / -1; }
.stn-heading h1 { font-size: clamp(44px,5.2vw,72px); }
.stn-heading .stn-lead { margin-top: 0; font-size: 21px; line-height: 1.6; max-width: 400px; justify-self: end; padding-bottom: 3px; }
.stn-promo img { width: 100%; height: auto; border-radius: 3px; }
.stn-promo figcaption { font-size: 11px; line-height: 1.6; color: var(--muted); margin-top: 9px; }
.stn-overview { margin-top: 30px; grid-template-columns: 220px minmax(0,1fr); gap: 64px; padding-block: 36px 44px; }
.stn-premise { font-size: 22px; line-height: 1.65; color: var(--ink); max-width: 830px; }
.stn-development-note { display: inline-block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--link); padding: 5px 10px; border: 1px solid var(--rule); }
.stn-gameplay { padding-top: 30px; border-top: 1px solid var(--rule); }
.stn-screenshots { margin-top: 40px; }
.stn-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 27px 24px; }
.stn-grid figure:first-child { grid-column: 1 / -1; }
.stn-grid figure:first-child img { width: 100%; }
.stn-hero a:hover, .stn-grid a:hover { outline: 1px solid var(--link); outline-offset: 3px; }
@media (max-width:850px) { .stn-overview { grid-template-columns: 155px minmax(0,1fr); gap: 30px; } .stn-heading { gap: 8px 30px; } .stn-heading .stn-lead { font-size: 19px; } }
@media (max-width:700px) { .stn-heading { grid-template-columns: 1fr; gap: 12px; } .stn-heading .stn-lead { justify-self: start; } .stn-overview { grid-template-columns: 1fr; gap: 20px; } .stn-premise { font-size: 19px; } .stn-grid { grid-template-columns: 1fr; } .stn-gallery-heading { gap: 8px; } }

/* The supplied title artwork carries the visual title; preserve a semantic h1. */
.stn-accessible-title { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.stn-heading--art { display: block; padding: 30px 0 0; }
.stn-heading--art .stn-lead { max-width: none; margin-top: 25px; padding-bottom: 0; font-size: clamp(20px,2.4vw,28px); line-height: 1.5; }
.stn-heading--art .stn-promo { overflow: hidden; border-radius: 3px; background: #101f25; }
.stn-heading--art .stn-promo img { border-radius: 0; }
.stn-heading--art + .stn-overview { margin-top: 28px; }
@media (max-width:700px) { .stn-heading--art { padding-top: 22px; } .stn-heading--art .stn-lead { margin-top: 21px; } }

/* A small, cinematic action selection: complete frames with full-size links. */
.stn-action-grid > figure:first-child { grid-column: auto; }
.stn-action-grid--lead > figure:first-child { grid-column: 1 / -1; }
.stn-action-grid figcaption { max-width: 58ch; }
@media (max-width:700px) { .stn-action-grid { grid-template-columns: 1fr; } }
