:root {
  color-scheme: dark;
  --ink: #0c1722;
  --ivory: #f5ecd8;
  --gold: #dabb7e;
  --muted: #a9b8bd;
  --display: 'Cinzel', Georgia, serif;
  --body: 'Cormorant Garamond', Georgia, serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--ink); color: var(--ivory); font-family: var(--body); }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { font: inherit; }
.world { position: relative; min-height: max(820px, 100svh); overflow: hidden; isolation: isolate; background: #101b29; }
.landscape, .atmosphere, .grain { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.landscape { z-index: -3; image-rendering: pixelated; }
.atmosphere { z-index: -2; background: linear-gradient(180deg, #0b152031 0%, transparent 52%, #08131b12 73%, #08131bea 100%); }
.grain { z-index: 2; opacity: .12; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' opacity='.3' filter='url(%23n)' d='M0 0h180v180H0z'/%3E%3C/svg%3E"); }
.masthead { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 0 4.4%; padding: 24px 0; border-bottom: 1px solid #c4d6cf1a; }
.wordmark { display: inline-flex; flex-shrink: 0; text-decoration: none; }
.brand-name { font-family: var(--display); font-size: 20px; font-weight: 600; letter-spacing: 1px; color: var(--gold); }
.development { display: flex; align-items: center; gap: 9px; color: #b6c8c1; font-family: var(--display); font-size: 9px; letter-spacing: 1px; }
.status-dot { width: 5px; height: 5px; background: #a9c4a0; box-shadow: 0 0 9px #a9c4a060; }
.site-nav { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: flex-end; }
.site-nav > a { font-family: var(--display); font-size: 10px; color: var(--gold); text-decoration: none; padding: 12px 0; }
.site-nav > a:hover { text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 700px) { .site-nav { gap: 5px; flex-direction: column; align-items: flex-end; } .site-nav > a { font-size: 9px; padding: 3px 0; } }
.hero { position: relative; z-index: 1; text-align: center; padding: clamp(24px, 4vh, 56px) 20px 170px; }
.eyebrow { display: flex; align-items: center; justify-content: center; gap: 16px; font-family: var(--display); font-size: 10px; letter-spacing: 2px; color: var(--gold); margin: 0 0 17px; }
.eyebrow > span { height: 1px; width: 27px; background: #dabb7e70; }
.hero-title { position: relative; width: min(620px, 100%); aspect-ratio: 1254 / 720; margin: 0 auto 20px; overflow: hidden; }
.hero-logo { position: absolute; display: block; width: 100%; height: auto; left: 0; top: -31%; filter: drop-shadow(0 5px 16px #08131b80); }
.intro { color: #bec9cc; font-size: 19px; font-weight: 500; line-height: 1.9; margin: 0; }
.arrival { position: relative; display: inline-flex; justify-content: center; align-items: center; gap: 12px; margin-top: 27px; padding: 17px 22px; border: 1px solid #dabb7e75; background: #13212be0; box-shadow: inset 0 0 22px #dabb7e06, 0 0 32px #0b172555; font-family: var(--display); font-size: 10px; letter-spacing: 1px; color: #ecd6a9; }
.arrival::before, .arrival::after { content: ''; position: absolute; width: 4px; height: 4px; background: var(--gold); }
.arrival::before { top: -2px; left: -2px; }
.arrival::after { bottom: -2px; right: -2px; }
.pixel-star { width: 11px; height: 11px; background: var(--gold); clip-path: polygon(36% 0,64% 0,64% 36%,100% 36%,100% 64%,64% 64%,64% 100%,36% 100%,36% 64%,0 64%,0 36%,36% 36%); animation: glimmer 4s ease-in-out infinite; }
.release-note { margin: 12px auto 0; max-width: 34em; color: #bec9cc; font-size: 15px; line-height: 1.6; text-wrap: balance; }
.genre { margin: 16px 0 0; font-family: var(--display); font-size: 8px; letter-spacing: 1.3px; color: #a9babe; }
.genre span { display: inline-block; margin: 0 8px; color: var(--gold); }
.scene-caption { position: absolute; right: 13.5%; bottom: 19.5%; display: flex; align-items: center; gap: 9px; font-family: var(--display); font-size: 7px; letter-spacing: 1px; color: #ced5bc; text-shadow: 0 1px 5px #08131b; }
.caption-line { width: 23px; height: 1px; background: #dabb7e90; }
.footer { position: absolute; bottom: 0; left: 4.4%; right: 4.4%; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 106px; border-top: 1px solid #c4d6cf26; }
.chapter { display: flex; align-items: center; gap: 17px; }
.chapter-number { color: #dabb7e99; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 43px; font-style: italic; line-height: 1; }
.footer-label { color: var(--gold); font-family: var(--display); font-size: 8px; letter-spacing: 1px; }
.chapter p { font-size: 16px; color: #bdc7c7; margin: 7px 0 0; }
.footer-note { margin: 0 0 0 auto; font-size: 15px; line-height: 1.7; color: #a5b4b7; text-align: right; }
.footer-note span { color: #d7dbd0; }
.motion-toggle { display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 83px; min-height: 44px; border: 1px solid #c4d6cf33; background: #101e28b0; color: #cad2c8; cursor: pointer; transition: border-color .2s, background .2s; }
.motion-label { font-family: var(--display); font-size: 8px; }
.motion-symbol { font-size: 14px; }
.motion-toggle:hover { border-color: var(--gold); background: #22313b; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; }
body.motion-paused .pixel-star { animation-play-state: paused; }
@keyframes glimmer { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
@media (min-width: 1600px) { .hero { padding-top: 6vh; } }
@media (max-width: 700px) {
  .world { min-height: max(800px, 100svh); }
  .masthead { margin: 0 24px; padding: 23px 0; }
  .brand-name { font-size: 15px; letter-spacing: .3px; }
  .development { font-size: 7px; letter-spacing: 0; gap: 6px; }
  .hero { padding-top: 53px; }
  .eyebrow { font-size: 8px; letter-spacing: 1px; gap: 10px; margin-bottom: 21px; }
  .eyebrow > span { width: 18px; }
  .hero-title { margin-bottom: 22px; }
  .intro { font-size: 17px; line-height: 1.9; }
  .arrival { font-size: 8px; padding: 15px 15px; letter-spacing: .6px; gap: 9px; margin-top: 23px; }
  .release-note { max-width: 27em; font-size: 14px; }
  .genre { font-size: 7px; letter-spacing: .4px; margin-top: 17px; }
  .genre span { margin: 0 5px; }
  .scene-caption { right: 8%; bottom: 18%; font-size: 6px; letter-spacing: .5px; }
  .footer { left: 24px; right: 24px; min-height: 88px; gap: 12px; }
  .chapter { gap: 11px; }
  .chapter-number { font-size: 35px; }
  .footer-label { font-size: 7px; letter-spacing: .5px; }
  .chapter p { font-size: 13px; margin-top: 5px; }
  .footer-note { display: none; }
  .motion-toggle { min-width: 44px; width: 44px; }
  .motion-label { display: none; }
}
@media (max-width: 360px) {
  .masthead { margin: 0 17px; }
  .development { font-size: 6px; }
  .hero { padding-left: 12px; padding-right: 12px; }
  .eyebrow { font-size: 7px; }
  .arrival { font-size: 7px; }
  .footer { left: 17px; right: 17px; }
}
@media (prefers-reduced-motion: reduce) { .pixel-star { animation: none; } }
