.game-status { margin-top: 16px; color: var(--copper); }
.game-genre { margin-top: 5px; color: var(--paper); font-weight: 700; font-size: 1.05rem; }
.game-genre + .pitch { margin-top: 5px; max-width: 39ch; }
.hero-platforms { margin-top: 11px; color: #d0dce5; font-size: .86rem; }
.mark-language { color: var(--muted); font-size: .8rem; margin-bottom: 3px; }

.gameplay { padding-block: clamp(38px, 7vw, 84px) 62px; }
.gameplay-intro { max-width: 780px; margin-bottom: clamp(28px, 5vw, 55px); }
.gameplay-intro h2 { font-size: clamp(2.5rem, 6vw, 5rem); line-height: 1; letter-spacing: -.05em; margin-block: 7px 14px; }
.gameplay-intro > p:not(.label) { max-width: 55ch; font-size: clamp(1.04rem, 2vw, 1.32rem); color: var(--muted); }
.story-nav { display: flex; flex-wrap: wrap; gap: 0 22px; margin-top: 11px; }
.story-nav a { display: inline-flex; align-items: center; min-height: 44px; }
.story { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 20px clamp(30px, 6vw, 80px); padding-block: clamp(28px, 5vw, 52px); border-top: 1px solid var(--line); scroll-margin-top: 12px; }
.story-copy h3 { font-size: clamp(1.9rem, 4vw, 3.25rem); line-height: 1.04; letter-spacing: -.043em; }
.story-copy p:not(.label) { margin-top: 13px; color: var(--muted); max-width: 52ch; }
.story-copy .label { color: var(--copper); margin-bottom: 10px; }
.story-copy a { display: inline-block; padding-block: 12px 4px; }
.story-media > img { width: 100%; height: auto; border: 1px solid var(--line); }
.story-media figcaption { margin-top: 7px; }
.story-build { align-items: start; }
.build-clip { min-width: 0; border: 1px solid var(--line); background: #0e1b28; scroll-margin-top: 16px; }
.clip-title { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 15px; padding: 11px 14px; }
.clip-title h4 { margin: 0; font-size: 1rem; }
.clip-title .label { color: var(--copper); }
.build-clip video { width: 100%; height: auto; aspect-ratio: 16 / 9; background: #081119; }
.build-clip figcaption { margin: 0; padding: 12px 14px 14px; font-size: .91rem; }
.build-clip figcaption strong { color: var(--paper); }
.build-clip figcaption a { display: inline-flex; align-items: center; gap: .4em; min-height: 44px; }
.suit-art img { max-height: 470px; object-fit: cover; object-position: center; }

.flight-demo { min-inline-size: 0; margin: 0; padding: 16px; border: 1px solid var(--line); background: #0e1b28; }
.flight-demo legend { padding-inline: 6px; color: var(--paper); font-weight: 700; }
.flight-demo input { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); }
.flight-demo label { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding-inline: 12px; cursor: pointer; color: var(--signal); border: 1px solid var(--line); }
.flight-demo input:checked + label { background: var(--signal); color: var(--ink); font-weight: 700; }
.flight-demo input:focus-visible + label { outline: 2px solid var(--paper); outline-offset: 3px; }
.flight-graphic { position: relative; height: 142px; margin-top: 13px; overflow: hidden; background: radial-gradient(ellipse at 37% 54%, #1b3b53, #0b141e 68%); border: 1px solid var(--line); }
.flight-ship, .flight-heading, .flight-vector, .heading-key, .drift-key { position: absolute; }
.flight-ship { top: 48%; left: 31%; width: 33px; height: 26px; background: var(--paper); clip-path: polygon(0 0, 100% 50%, 0 100%, 18% 50%); transform: translate(-50%, -50%); }
.flight-heading, .flight-vector { left: calc(31% + 18px); top: 48%; height: 2px; transform-origin: left; }
.flight-heading { width: 32px; background: var(--copper); }
.flight-vector { left: calc(31% + 45px); width: 34%; border-top: 2px dashed var(--signal); }
.flight-vector::after { content: ''; position: absolute; right: -1px; top: -6px; width: 9px; height: 9px; border: solid var(--signal); border-width: 2px 2px 0 0; transform: rotate(45deg); }
.heading-key { left: 10px; bottom: 9px; color: var(--copper); }
.drift-key { right: 10px; bottom: 9px; color: var(--signal); }
.heading-key, .drift-key { font: .76rem/1.3 'IBM Plex Mono', ui-monospace, monospace; }
.flight-readout p { display: none; min-height: 3.1em; margin-top: 9px; color: var(--muted); }
#coast:checked ~ .flight-readout #step-coast,
#turn:checked ~ .flight-readout #step-turn,
#brake:checked ~ .flight-readout #step-brake { display: block; }
#turn:checked ~ .flight-graphic .flight-ship { transform: translate(-50%, -50%) rotate(-55deg); }
#turn:checked ~ .flight-graphic .flight-heading { left: 31%; top: 48%; width: 37px; transform: rotate(-55deg); }
#brake:checked ~ .flight-graphic .flight-ship { transform: translate(-50%, -50%) rotate(180deg); }
#brake:checked ~ .flight-graphic .flight-heading { left: calc(31% - 18px); transform: rotate(180deg); }
#brake:checked ~ .flight-graphic .flight-vector { width: 15%; }

.frontier-route { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: start; margin: 0; padding: 27px 13px 22px; list-style: none; border: 1px solid var(--line); background: radial-gradient(ellipse at 59% 21%, #192e41, #0c1520 70%); }
.frontier-route li { position: relative; text-align: center; line-height: 1.36; }
.frontier-route li::before { content: ''; display: block; width: 16px; height: 16px; margin: 2px auto 10px; border: 2px solid var(--signal); background: #101f2c; transform: rotate(45deg); }
.frontier-route li:not(:last-child)::after { content: ''; position: absolute; left: calc(50% + 13px); top: 9px; width: calc(100% - 14px); border-top: 1px dashed var(--signal); }
.frontier-route li:last-child::before { border-color: var(--copper); }
.frontier-route span { font-weight: 690; }
.frontier-route small { display: block; margin-top: 5px; color: var(--muted); font-size: .76rem; }

@media (max-width: 720px) {
  .story { grid-template-columns: minmax(0, 1fr); }
  .story-copy a { min-height: 44px; }
  .gameplay { padding-bottom: 36px; }
}

@media (max-width: 560px) {
  .story-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; }
}

@media (max-width: 420px) {
  .game-status { margin-top: 13px; }
  .game-genre { font-size: .94rem; }
  .suit-art img { max-height: none; }
  .frontier-route { padding-inline: 7px; gap: 8px; }
  .frontier-route li:not(:last-child)::after { width: calc(100% - 18px); }
}

@media (max-width: 360px) {
  .hero-art { aspect-ratio: 2.1; }
  .hero .actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .hero .actions .button { padding-inline: 6px; }
  .hero .actions .button span { display: none; }
}
