@layer reset, tokens, base, material, navigation, hero, index, salty, quiznight, studio, responsive, motion;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; scroll-padding-top: 100px; }
  body, h1, h2, h3, h4, p, figure { margin: 0; }
  button, input { font: inherit; }
  button, a { -webkit-tap-highlight-color: transparent; }
  img, svg, video, iframe { display: block; max-width: 100%; }
  button { color: inherit; }
}

@layer tokens {
  :root {
    color-scheme: dark;
    --ocean-950: #061b1c;
    --ocean-900: #08282a;
    --ocean-850: #0b3435;
    --ocean-800: #103f40;
    --ocean-750: #153f42;
    --ocean-700: #1c4e4d;
    --kelp: #263d38;
    --wood: #3c3428;
    --bronze-deep: #514333;
    --bronze: #8a633e;
    --copper: #a87948;
    --brass: #b98a52;
    --sand: #c8a56b;
    --bone: #d8d2c3;
    --ivory: #e7e1d4;
    --glass: rgba(8, 30, 31, .42);
    --glass-deep: rgba(6, 21, 22, .78);
    --edge: rgba(220, 235, 220, .15);
    --edge-light: rgba(220, 235, 220, .25);
    --text-muted: #aab8ad;
    --text-faint: #80938a;
    --content-width: 1180px;
    --page-gutter: clamp(22px, 5vw, 80px);
    --ease: cubic-bezier(.22, .75, .23, 1);
    --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
    --sans: "Aptos", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  }
}

@layer base {
  html { background: var(--ocean-950); }
  body {
    min-width: 320px;
    overflow-x: clip;
    background:
      radial-gradient(ellipse at 76% 11%, rgba(24, 74, 73, .18), transparent 39rem),
      linear-gradient(180deg, #071b1c 0%, var(--ocean-950) 42%, #071819 100%);
    color: var(--ivory);
    font-family: var(--sans);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }
  body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: .17;
    background:
      repeating-linear-gradient(7deg, transparent 0 33px, rgba(175, 205, 188, .035) 34px, transparent 35px 68px),
      radial-gradient(ellipse at 20% 4%, rgba(56, 98, 85, .12), transparent 38rem);
  }
  a { color: inherit; text-decoration: none; }
  button { border: 0; }
  :focus-visible {
    outline: 2px solid var(--sand);
    outline-offset: 4px;
    border-radius: 6px;
  }
  ::selection { background: rgba(184, 138, 82, .42); color: var(--ivory); }
  .wrap { width: min(var(--content-width), calc(100% - 2 * var(--page-gutter))); margin-inline: auto; }
  .section-space { padding-block: clamp(88px, 11vw, 156px); }
  .eyebrow {
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--sand);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .18em;
    line-height: 1.4;
    text-transform: uppercase;
  }
  .eyebrow-line { width: 26px; height: 1px; background: var(--sand); opacity: .8; }
  .eyebrow-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--sand); opacity: .7; }
  .section-intro h2, .salty-heading h2, .quiznight-heading h2, .studio-copy h2 {
    margin-top: 22px;
    font: 500 clamp(40px, 6vw, 76px)/.99 var(--serif);
    letter-spacing: -.045em;
  }
  h1 em, h2 em, h3 em { color: var(--sand); font-weight: 400; }
  .section-deck { max-width: 530px; margin-top: 22px; color: var(--text-muted); font-size: 17px; line-height: 1.7; }
  .skip-link {
    position: fixed;
    z-index: 100;
    top: 10px;
    left: 10px;
    padding: 12px 16px;
    transform: translateY(-160%);
    border: 1px solid var(--edge-light);
    border-radius: 10px;
    background: var(--ocean-900);
  }
  .skip-link:focus { transform: translateY(0); }
  .scroll-tide { position: fixed; inset: 0 auto auto 0; z-index: 50; width: 100%; height: 2px; pointer-events: none; }
  .scroll-tide span { display: block; width: 100%; height: 100%; transform: scaleX(0); transform-origin: left center; background: linear-gradient(90deg, #607f72, var(--sand)); box-shadow: 0 0 12px rgba(200, 165, 107, .45); }
}

@layer material {
  .glass-surface {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid var(--edge);
    background:
      linear-gradient(142deg, rgba(226, 234, 215, .075), transparent 31%),
      radial-gradient(ellipse at 15% 0%, rgba(64, 127, 111, .14), transparent 52%),
      linear-gradient(160deg, rgba(11, 42, 42, .66), rgba(5, 20, 21, .73));
    box-shadow: 0 28px 75px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(242, 244, 224, .12);
    -webkit-backdrop-filter: blur(22px) saturate(1.22);
    backdrop-filter: blur(22px) saturate(1.22);
  }
  .glass-surface::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    opacity: .48;
    background:
      radial-gradient(82% 46% at var(--mx, 28%) var(--my, 0%), rgba(222, 235, 213, .12), transparent 53%),
      radial-gradient(64% 30% at 82% 96%, rgba(57, 122, 111, .07), transparent 69%),
      repeating-linear-gradient(176deg, transparent 0 26px, rgba(186, 212, 198, .025) 27px, transparent 28px 62px);
  }
  .glass-surface::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(239, 242, 221, .1), transparent 19%, transparent 78%, rgba(93, 141, 124, .045));
    opacity: .6;
  }
  .liquid-control { position: relative; isolation: isolate; overflow: hidden; }
  .liquid-control::after {
    content: "";
    position: absolute;
    inset: -60%;
    z-index: -1;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(231, 225, 212, .22), transparent 31%);
    transition: opacity .35s var(--ease);
  }
  .liquid-control:hover::after, .liquid-control:focus-visible::after { opacity: .7; }
  .button {
    display: inline-flex;
    min-height: 49px;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .015em;
    transition: transform .25s var(--ease), border-color .25s ease, background .25s ease, box-shadow .25s ease;
  }
  .button:hover { transform: translateY(-2px); }
  .button span { font-size: 16px; font-weight: 400; }
  .button--bronze {
    border-color: rgba(225, 195, 139, .55);
    background: linear-gradient(130deg, #bd9562, #8a633e 72%, #6f5038);
    color: #101a17;
    box-shadow: 0 9px 28px rgba(98, 69, 40, .28), inset 0 1px 0 rgba(255, 239, 204, .42);
  }
  .button--bronze:hover { box-shadow: 0 13px 35px rgba(113, 78, 43, .36), inset 0 1px 0 rgba(255, 239, 204, .5); }
  .button--glass { border-color: var(--edge-light); background: rgba(9, 31, 32, .46); color: var(--ivory); }
  .button--glass:hover { border-color: rgba(217, 191, 143, .56); background: rgba(23, 59, 55, .5); }
  .reveal { opacity: 1; transform: none; }
  .js-motion .reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s var(--ease), transform .75s var(--ease); }
  .js-motion .reveal.is-visible { opacity: 1; transform: translateY(0); }
}

@layer navigation {
  .glass-nav {
    position: fixed;
    z-index: 40;
    top: 18px;
    left: 50%;
    display: flex;
    width: min(1160px, calc(100% - 48px));
    min-height: 64px;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px 8px 14px;
    transform: translateX(-50%);
    border: 1px solid rgba(220, 235, 220, .16);
    border-radius: 999px;
    isolation: isolate;
    background:
      radial-gradient(76% 160% at var(--mx, 25%) var(--my, 0%), rgba(225, 238, 218, .055), transparent 62%),
      linear-gradient(100deg, rgba(237, 242, 226, .06), transparent 25%, transparent 76%, rgba(139, 176, 154, .05)),
      rgba(4, 22, 23, .56);
    box-shadow: 0 12px 35px rgba(0, 0, 0, .2), inset 0 1px 0 rgba(239, 242, 221, .1);
    -webkit-backdrop-filter: blur(24px) saturate(1.25);
    backdrop-filter: blur(24px) saturate(1.25);
  }
  .brand { display: inline-flex; min-width: max-content; align-items: center; gap: 10px; }
  .brand-symbol {
    display: block;
    width: 39px;
    height: 39px;
    flex: 0 0 auto;
    border: 1px solid rgba(220, 235, 220, .23);
    border-radius: 13px;
    background-color: var(--ocean-800);
    background-image: url("./assets/archonbite-symbol.png");
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center;
    box-shadow: inset 0 1px 0 rgba(240, 248, 231, .2), 0 5px 18px rgba(0, 0, 0, .28);
  }
  .brand-name { display: grid; gap: 1px; color: var(--ivory); font: 600 13px/1 var(--serif); letter-spacing: .14em; }
  .brand-name small { color: #a9b8ac; font: 700 7px/1.5 var(--sans); letter-spacing: .31em; }
  .nav-links { display: flex; align-items: center; gap: clamp(17px, 2.5vw, 35px); }
  .nav-links > a { color: #c2ccc1; font-size: 11px; font-weight: 600; transition: color .2s ease; }
  .nav-links > a:hover { color: var(--ivory); }
  .nav-links .nav-cta {
    display: flex;
    min-height: 39px;
    align-items: center;
    gap: 14px;
    padding: 0 15px;
    border: 1px solid rgba(220, 235, 220, .22);
    border-radius: 999px;
    background: linear-gradient(140deg, rgba(220, 235, 220, .1), rgba(8, 30, 31, .48));
    color: var(--ivory);
  }
  .nav-cta span { color: var(--sand); font-size: 14px; }
  .menu-toggle { display: none; }
}

@layer hero {
  .hero {
    position: relative;
    display: grid;
    min-height: min(900px, 100svh);
    align-items: center;
    overflow: hidden;
    padding: 142px 0 96px;
    isolation: isolate;
    background:
      linear-gradient(90deg, rgba(4, 20, 21, .9) 0%, rgba(5, 23, 24, .75) 35%, rgba(5, 23, 24, .28) 72%, rgba(5, 23, 24, .58) 100%),
      linear-gradient(0deg, #061b1c 0%, transparent 32%, rgba(3, 14, 15, .22) 100%);
  }
  .hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: auto 0 0;
    height: 220px;
    background: linear-gradient(0deg, var(--ocean-950), transparent);
    pointer-events: none;
  }
  .hero-atmosphere { position: absolute; z-index: -2; inset: 0; overflow: hidden; background: radial-gradient(ellipse at 70% 25%, #153e3c 0, #0c2c2e 26%, #061b1c 72%); }
  .hero-game-frame { position: absolute; top: 16%; right: 2.5%; width: min(68%, 920px); height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: center; border: 1px solid rgba(218, 231, 212, .18); border-radius: 25px; opacity: .93; filter: saturate(1.04) contrast(1.06) brightness(1.04); box-shadow: 0 26px 100px rgba(0, 0, 0, .44), inset 0 1px rgba(255,255,255,.18); }
  .hero-atmosphere::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 20, 21, .7), rgba(4, 20, 21, .38) 37%, rgba(4, 20, 21, .04) 70%, rgba(4, 20, 21, .14)), linear-gradient(0deg, rgba(4, 19, 20, .34), transparent 48%, rgba(4, 20, 21, .20)); pointer-events: none; }
  .horizon-glow { position: absolute; inset: -15% -10% 20%; background: radial-gradient(ellipse at 69% 52%, rgba(96, 144, 126, .23), transparent 38%), radial-gradient(ellipse at 62% 79%, rgba(14, 79, 75, .23), transparent 42%); }
  .current-lines {
    position: absolute;
    inset: 16% -13% -12% 35%;
    transform: rotate(-8deg);
    opacity: .39;
    background: repeating-radial-gradient(ellipse at 65% 53%, transparent 0 33px, rgba(196, 214, 193, .11) 34px, transparent 35px 65px);
    mask-image: linear-gradient(90deg, transparent, #000 28%, #000 76%, transparent);
  }
  .spray { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #e3ddcb; box-shadow: 36px 92px 0 rgba(227,221,203,.38), 100px 218px 0 rgba(227,221,203,.32), 204px 58px 0 rgba(227,221,203,.35), 288px 170px 0 rgba(227,221,203,.24), 378px 102px 0 rgba(227,221,203,.25); opacity: .22; }
  .speckle-one { top: 28%; right: 23%; }
  .speckle-two { top: 60%; right: 5%; transform: scale(.7); opacity: .14; }
  .hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, 240px); align-items: end; gap: 35px; }
  .hero-copy { position: relative; z-index: 1; max-width: 880px; }
  .hero-index { margin: 39px 0 13px; color: rgba(201, 215, 199, .53); font: 700 9px/1.4 var(--sans); letter-spacing: .19em; }
  .hero h1 { max-width: 920px; font: 500 clamp(57px, 6.35vw, 88px)/.96 var(--serif); letter-spacing: -.063em; text-wrap: balance; }
  .hero h1 em { color: #d7c6a5; text-shadow: 0 8px 34px rgba(0, 0, 0, .28); }
  .hero-lede { max-width: 565px; margin-top: 25px; color: #c1cbc0; font-size: clamp(15px, 1.45vw, 18px); line-height: 1.75; }
  .hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 29px; }
  .hero-meta { display: flex; align-items: center; gap: 10px; margin-top: 27px; color: #a7b4a9; font-size: 10px; letter-spacing: .035em; }
  .status-light { width: 6px; height: 6px; border-radius: 50%; background: #b98a52; box-shadow: 0 0 11px rgba(185, 138, 82, .65); }
  .meta-rule { width: 25px; height: 1px; margin-inline: 3px; background: rgba(199, 213, 197, .3); }
  .hero-note { align-self: end; margin-bottom: 23px; padding: 19px 20px 18px; border-radius: 21px; }
  .note-mark { color: var(--sand); font-size: 9px; font-weight: 700; letter-spacing: .16em; }
  .hero-note p { margin-top: 17px; color: var(--ivory); font: 500 20px/1.12 var(--serif); }
  .note-caption { display: block; margin-top: 14px; color: var(--text-faint); font-size: 9px; line-height: 1.55; }
  .scroll-cue { position: absolute; left: var(--page-gutter); bottom: 31px; display: flex; align-items: center; gap: 10px; color: #8fa196; font-size: 9px; letter-spacing: .15em; text-transform: uppercase; }
  .scroll-drop { position: relative; width: 16px; height: 23px; overflow: hidden; border: 1px solid rgba(203, 222, 204, .36); border-radius: 50% 50% 55% 55%; }
  .scroll-drop::after { content: ""; position: absolute; left: 2px; right: 2px; bottom: -7px; height: 12px; border-radius: 50%; background: rgba(109, 163, 143, .65); animation: tide-rise 2.7s ease-in-out infinite; }
  .hero-coordinate { position: absolute; right: var(--page-gutter); bottom: 34px; color: rgba(197, 211, 194, .39); font-size: 8px; letter-spacing: .2em; }
}

@layer index {
  .world-index { position: relative; background: linear-gradient(180deg, var(--ocean-950), #071d1e 64%, #092223); }
  .section-intro { display: grid; grid-template-columns: 1fr minmax(230px, 390px); align-items: end; gap: 25px; }
  .section-intro .eyebrow { grid-column: 1 / -1; }
  .section-intro h2 { grid-column: 1; }
  .section-intro .section-deck { grid-column: 2; grid-row: 2; margin: 0 0 6px; }
  .world-grid { display: grid; grid-template-columns: 1.16fr .84fr; gap: 14px; margin-top: 48px; }
  .world-card {
    position: relative;
    display: flex;
    min-height: 310px;
    flex-direction: column;
    justify-content: space-between;
    padding: 22px 24px;
    border-radius: 23px;
    transition: border-color .35s ease, transform .35s var(--ease), background-color .35s ease;
  }
  .world-card:hover { transform: translateY(-3px); border-color: rgba(220, 235, 220, .28); }
  .world-card--salty { background-image: radial-gradient(ellipse at 72% 39%, rgba(48, 103, 91, .28), transparent 54%), linear-gradient(145deg, rgba(17, 54, 52, .65), rgba(6, 24, 25, .81)); }
  .world-card--quiz { background-image: radial-gradient(ellipse at 65% 35%, rgba(134, 93, 49, .23), transparent 48%), linear-gradient(145deg, rgba(56, 47, 34, .46), rgba(8, 25, 26, .87)); }
  .world-card__index { position: relative; z-index: 1; color: #9eafa2; font-size: 9px; font-weight: 700; letter-spacing: .15em; }
  .world-card__body { position: relative; z-index: 1; display: grid; gap: 10px; max-width: 400px; }
  .world-card__status { display: flex; align-items: center; gap: 8px; color: var(--sand); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
  .world-card__status i, .status-pill i, .stage-tag i { width: 5px; height: 5px; border-radius: 50%; background: var(--sand); box-shadow: 0 0 8px rgba(200, 165, 107, .6); }
  .world-card__body strong { font: 500 clamp(30px, 3.7vw, 46px)/1 var(--serif); letter-spacing: -.03em; }
  .world-card__body > span:last-child { max-width: 360px; color: var(--text-muted); font-size: 13px; line-height: 1.55; }
  .world-card__arrow { position: absolute; right: 22px; bottom: 23px; color: #d2b17a; font-size: 22px; transition: transform .3s var(--ease); }
  .world-card:hover .world-card__arrow { transform: translate(3px, -3px); }
  .world-card__graphic { position: absolute; top: 10px; right: 5%; width: 56%; height: 71%; display: grid; place-items: center; opacity: .47; }
  .world-card__graphic svg { width: 100%; overflow: visible; filter: drop-shadow(0 22px 20px rgba(0,0,0,.35)); }
  .world-card__graphic path:first-child { fill: #684d33; stroke: #d2a068; stroke-opacity: .55; stroke-width: 2; }
  .world-card__graphic path:not(:first-child) { fill: rgba(225, 225, 205, .48); stroke: rgba(225, 225, 205, .35); stroke-width: 1.5; }
  .quiz-card-scene { position: absolute; top: 37px; right: 9%; width: 45%; height: 52%; }
  .quiz-card-tv { position: absolute; inset: 8% 4% 18% 0; border: 1px solid rgba(218, 201, 168, .4); border-radius: 11px; background: linear-gradient(135deg, rgba(12, 54, 57, .9), rgba(14, 28, 33, .86)); box-shadow: 0 20px 32px rgba(0,0,0,.26), inset 0 0 24px rgba(194, 153, 94, .08); }
  .quiz-card-tv::before { content: ""; position: absolute; inset: 14% 12%; border: 1px solid rgba(204, 164, 100, .46); border-radius: 6px; background: radial-gradient(circle at 50% 40%, rgba(188, 137, 75, .35), transparent 48%); }
  .quiz-card-phone { position: absolute; right: -3%; bottom: 0; width: 24%; height: 65%; border: 1px solid rgba(222, 212, 189, .55); border-radius: 11px; background: linear-gradient(155deg, #c59a5d, #433223 58%, #102c2b); box-shadow: 0 17px 24px rgba(0,0,0,.37); transform: rotate(8deg); }
  .quiz-card-phone::after { content: ""; position: absolute; inset: 18% 18% 27%; border-radius: 4px; background: linear-gradient(180deg, rgba(8,31,33,.94), rgba(9,51,52,.7)); }
  .quiz-card-glint { position: absolute; top: 0; left: 23%; width: 1px; height: 82%; transform: rotate(28deg); background: linear-gradient(transparent, rgba(219, 229, 211, .35), transparent); }
}

@layer salty {
  .salty-section { position: relative; overflow: hidden; background: radial-gradient(ellipse at 88% 19%, rgba(19, 71, 69, .17), transparent 34rem), linear-gradient(180deg, #092223, #071b1c 35%, #061819); }
  .salty-section::before { content: ""; position: absolute; top: 0; right: -18%; width: 75%; height: 330px; background: repeating-radial-gradient(ellipse at 73% 0%, transparent 0 40px, rgba(173, 203, 184, .055) 41px, transparent 43px 79px); opacity: .45; pointer-events: none; }
  .salty-section > .wrap { position: relative; }
  .salty-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; }
  .salty-heading h2 { max-width: 880px; }
  .salty-heading__aside { min-width: 180px; padding-bottom: 7px; }
  .status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; border: 1px solid rgba(200, 165, 107, .3); border-radius: 999px; color: var(--sand); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; background: rgba(8, 31, 32, .35); }
  .salty-heading__aside p { margin-top: 18px; color: var(--text-muted); font: 15px/1.5 var(--serif); }
  .salty-lead-grid { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(280px, .78fr); align-items: center; gap: 8%; margin-top: 62px; }
  .salty-lead { max-width: 700px; color: #c0cbc0; font-size: clamp(17px, 2vw, 22px); line-height: 1.68; }
  .salty-manifesto { padding: 23px 25px; border-radius: 20px; }
  .manifesto-label { color: #9eafa3; font-size: 9px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
  .salty-manifesto p { margin-top: 14px; color: var(--ivory); font: 500 clamp(24px, 2.8vw, 34px)/1.1 var(--serif); }
  .manifesto-foot { display: block; margin-top: 13px; color: #a4b5a8; font-size: 10px; letter-spacing: .05em; }
  .ship-study { display: grid; grid-template-columns: minmax(0, 1fr) 200px; align-items: center; gap: 24px; margin-top: 68px; }
  .ship-study__art { position: relative; display: grid; min-height: 360px; place-items: center; overflow: hidden; border: 1px solid rgba(200, 225, 203, .12); border-radius: 22px; background: radial-gradient(ellipse at 56% 53%, rgba(25, 77, 70, .55), transparent 51%), linear-gradient(145deg, rgba(14, 46, 46, .59), rgba(5, 21, 22, .8)); }
  .ship-study__art::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(169deg, transparent 0 30px, rgba(211, 225, 201, .035) 31px, transparent 33px 70px); mask-image: linear-gradient(0deg, #000, transparent 85%); pointer-events: none; }
  .study-ship { position: relative; z-index: 1; width: min(90%, 770px); filter: drop-shadow(0 25px 28px rgba(0,0,0,.48)); }
  .chart-orbit { position: absolute; width: 62%; aspect-ratio: 2.2; border: 1px solid rgba(191, 216, 194, .11); border-radius: 50%; transform: rotate(-12deg); }
  .chart-orbit--one { top: 25%; left: 18%; }
  .chart-orbit--two { top: 32%; left: 13%; width: 74%; }
  .study-axis { position: absolute; z-index: 2; color: rgba(196, 216, 199, .43); font-size: 8px; letter-spacing: .17em; }
  .study-axis--left { top: 22px; left: 23px; }
  .study-axis--right { right: 23px; bottom: 22px; }
  .ship-study__caption { padding-right: 6px; }
  .ship-study__caption .eyebrow { font-size: 9px; }
  .ship-study__caption p { margin-top: 15px; color: var(--text-muted); font: 17px/1.55 var(--serif); }
  .caption-rule { display: block; width: 35px; height: 1px; margin-top: 24px; background: var(--sand); opacity: .7; }
  .caption-small { display: block; margin-top: 13px; color: var(--text-faint); font-size: 9px; letter-spacing: .08em; }
  .mechanic-strip { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 68px; border-top: 1px solid rgba(210, 227, 210, .14); border-bottom: 1px solid rgba(210, 227, 210, .14); }
  .mechanic { position: relative; min-height: 210px; padding: 25px 28px 27px 0; }
  .mechanic + .mechanic { padding-left: 27px; border-left: 1px solid rgba(210, 227, 210, .12); }
  .mechanic__number { color: var(--sand); font-size: 9px; font-weight: 700; letter-spacing: .13em; }
  .mechanic h3 { margin-top: 25px; color: var(--ivory); font: 500 26px/1 var(--serif); }
  .mechanic p { max-width: 300px; margin-top: 12px; color: var(--text-muted); font-size: 12px; line-height: 1.65; }
  .runline { margin-top: 65px; padding: 23px 24px 25px; border: 1px solid rgba(206, 225, 206, .14); border-radius: 17px; background: linear-gradient(100deg, rgba(24, 62, 58, .32), rgba(6, 25, 26, .28)); }
  .runline__head, .quiz-flow__head, .question-atlas__top { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
  .runline__note, .quiz-flow__head > span:last-child, .question-atlas__top > span:last-child { color: #91a49a; font-size: 9px; letter-spacing: .13em; text-transform: uppercase; }
  .runline__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 23px; }
  .runline__steps div { display: flex; align-items: center; gap: 11px; color: #d9ddd0; font-size: 11px; }
  .runline__steps b { display: grid; width: 25px; height: 25px; place-items: center; border: 1px solid rgba(200, 165, 107, .32); border-radius: 50%; color: var(--sand); font-size: 8px; }
  .video-section { margin-top: 125px; }
  .video-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 25px; }
  .video-heading h3 { margin-top: 19px; font: 500 clamp(34px, 4.7vw, 58px)/.98 var(--serif); letter-spacing: -.04em; }
  .video-heading > p { max-width: 300px; padding-bottom: 5px; color: var(--text-muted); font-size: 12px; line-height: 1.7; }
  .video-shell { padding: 10px; border-radius: 22px; }
  .video-window { position: relative; overflow: hidden; border: 1px solid rgba(220, 235, 220, .17); border-radius: 15px; background: #020b0c; aspect-ratio: 16 / 9; }
  .video-window video { width: 100%; height: 100%; object-fit: cover; }
  .video-toggle { position: absolute; right: 13px; bottom: 13px; display: inline-flex; min-height: 37px; align-items: center; gap: 9px; padding: 0 12px; border: 1px solid rgba(222, 234, 215, .21); border-radius: 999px; background: rgba(5, 22, 23, .76); color: var(--ivory); font-size: 10px; cursor: pointer; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
  .video-toggle > span:first-child { display: grid; width: 18px; height: 18px; place-items: center; color: var(--sand); font-size: 11px; }
  .video-note { padding: 9px 10px 0; color: #87998e; font-size: 10px; line-height: 1.5; }
  .video-caption { display: flex; align-items: center; gap: 9px; padding: 11px 10px 2px; color: #9eafa3; font-size: 9px; letter-spacing: .055em; }
  .video-caption__dot { width: 5px; height: 5px; border-radius: 50%; background: var(--sand); }
  .video-caption__id { margin-left: auto; color: var(--text-faint); font-size: 8px; letter-spacing: .15em; }
  .full-demo { margin-top: 11px; overflow: hidden; border-radius: 16px; }
  .full-demo summary { display: flex; min-height: 54px; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 17px; color: var(--ivory); font-size: 10px; letter-spacing: .04em; cursor: pointer; list-style: none; }
  .full-demo summary::-webkit-details-marker { display: none; }
  .full-demo summary::after { content: "+"; color: var(--sand); font-size: 18px; font-weight: 300; }
  .full-demo[open] summary::after { content: "−"; }
  .full-demo__action { margin-left: auto; color: #a7b6a8; font-size: 9px; }
  .full-demo__action i { margin-left: 5px; color: var(--sand); font-style: normal; }
  .full-demo__frame { overflow: hidden; margin: 0 7px 7px; border: 1px solid rgba(220, 235, 220, .14); border-radius: 12px; background: #020b0c; aspect-ratio: 16 / 9; }
  .full-demo__frame iframe { display: block; width: 100%; height: 100%; border: 0; }
  .salty-notes { display: grid; grid-template-columns: minmax(220px, .7fr) 1.3fr; gap: 9%; margin-top: 118px; }
  .salty-notes__title h3 { margin-top: 19px; font: 500 clamp(34px, 4vw, 50px)/1 var(--serif); letter-spacing: -.035em; }
  .notes-list article { display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding: 18px 0; border-top: 1px solid rgba(210, 227, 210, .14); }
  .notes-list article:last-child { border-bottom: 1px solid rgba(210, 227, 210, .14); }
  .notes-list article > span { padding-top: 2px; color: var(--sand); font-size: 9px; font-weight: 700; }
  .notes-list h4 { color: var(--ivory); font: 500 20px/1.1 var(--serif); }
  .notes-list p { max-width: 590px; margin-top: 7px; color: var(--text-muted); font-size: 12px; line-height: 1.65; }
}

@layer quiznight {
  .water-break { position: relative; height: 100px; overflow: hidden; background: linear-gradient(180deg, #061819, #082324); }
  .water-break svg { position: absolute; inset: 0; width: 100%; height: 100%; }
  .water-break path:first-child { fill: #0a2526; }
  .water-break path:last-child { fill: none; stroke: rgba(190, 213, 195, .22); stroke-width: 1; }
  .water-break__label { position: absolute; right: var(--page-gutter); bottom: 14px; color: rgba(195, 213, 196, .38); font-size: 8px; letter-spacing: .16em; }
  .quiznight-section { position: relative; overflow: hidden; background: radial-gradient(ellipse at 15% 4%, rgba(102, 70, 37, .19), transparent 28rem), linear-gradient(180deg, #0a2526, #0a1f20 42%, #091b1c); }
  .quiznight-section::before { content: ""; position: absolute; top: 3%; left: -22%; width: 80%; height: 390px; background: radial-gradient(ellipse, rgba(132, 99, 57, .1), transparent 68%); pointer-events: none; }
  .quiznight-section > .wrap { position: relative; }
  .quiznight-heading { display: flex; align-items: end; justify-content: space-between; gap: 35px; }
  .quiznight-heading h2 { font-size: clamp(39px, 5.8vw, 72px); }
  .quiznight-lead { max-width: 600px; margin-top: 23px; color: var(--text-muted); font-size: 15px; line-height: 1.72; }
  .quiznight-slogan { min-width: max-content; padding: 0 0 6px 20px; border-left: 1px solid rgba(200, 165, 107, .63); color: #d6c4a1; font: 500 clamp(21px, 2.7vw, 31px)/1.15 var(--serif); }
  .quiznight-stage { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(245px, .67fr); align-items: stretch; gap: 14px; margin-top: 58px; }
  .stage-tv { padding: 10px; border-radius: 20px; }
  .stage-tag { display: flex; align-items: center; gap: 8px; padding: 5px 5px 10px; color: #b2beb2; font-size: 8px; font-weight: 750; letter-spacing: .13em; }
  .stage-image { display: block; overflow: hidden; border: 1px solid rgba(230, 219, 192, .17); border-radius: 12px; background: #131e39; aspect-ratio: 16 / 9; }
  .stage-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
  .stage-image:hover img { transform: scale(1.018); }
  .stage-caption { display: flex; justify-content: space-between; gap: 12px; padding: 10px 4px 2px; color: #adb9ad; font-size: 9px; }
  .stage-phone-column { display: flex; flex-direction: column; gap: 14px; }
  .phone-explainer { min-height: 190px; padding: 20px 20px 18px; border: 1px solid rgba(209, 187, 147, .17); border-radius: 18px; background: linear-gradient(150deg, rgba(71, 54, 34, .47), rgba(8, 30, 31, .45)); }
  .phone-explainer .stage-tag { padding: 0; }
  .phone-explainer h3 { margin-top: 19px; color: var(--ivory); font: 500 29px/1 var(--serif); }
  .phone-explainer p { max-width: 320px; margin-top: 10px; color: var(--text-muted); font-size: 11px; line-height: 1.62; }
  .phone-frame { position: relative; display: grid; min-height: 258px; flex: 1; justify-items: center; overflow: hidden; padding: 19px 20px 0; border-radius: 18px; background: radial-gradient(ellipse at 50% 85%, rgba(153, 105, 49, .15), transparent 54%), linear-gradient(140deg, rgba(36, 61, 55, .6), rgba(9, 27, 28, .78)); }
  .phone-frame img { width: auto; height: 100%; max-width: 100%; object-fit: contain; object-position: top; border: 5px solid #080e17; border-bottom: 0; border-radius: 17px 17px 0 0; box-shadow: 0 9px 27px rgba(0,0,0,.44); }
  .phone-speaker { position: absolute; z-index: 2; top: 9px; left: 50%; width: 34px; height: 4px; transform: translateX(-50%); border-radius: 9px; background: #293635; }
  .quiz-flow { margin-top: 48px; padding: 20px 22px 23px; border: 1px solid rgba(220, 225, 202, .13); border-radius: 17px; background: linear-gradient(120deg, rgba(103, 74, 43, .12), rgba(7, 25, 26, .3)); }
  .quiz-flow__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; margin-top: 20px; }
  .quiz-flow__steps div { display: grid; gap: 9px; color: #d9dbd0; font-size: 11px; }
  .quiz-flow__steps b { color: var(--sand); font-size: 9px; letter-spacing: .08em; }
  .quiz-systems { display: grid; grid-template-columns: repeat(4, 1fr); gap: 11px; margin-top: 55px; }
  .quiz-system { min-height: 274px; padding: 17px 17px 19px; border-radius: 17px; background-image: linear-gradient(155deg, rgba(231, 210, 172, .07), transparent 35%), linear-gradient(150deg, rgba(42, 55, 48, .52), rgba(6, 23, 24, .78)); }
  .system-index { display: block; color: #a8b4a8; font-size: 8px; font-weight: 750; letter-spacing: .12em; }
  .system-sigil { display: grid; width: 34px; height: 34px; place-items: center; margin-top: 23px; border: 1px solid rgba(202, 167, 108, .35); border-radius: 50%; color: var(--sand); font: 18px/1 var(--serif); }
  .quiz-system h3 { margin-top: 17px; color: var(--ivory); font: 500 23px/1 var(--serif); }
  .quiz-system p { min-height: 64px; margin-top: 12px; color: var(--text-muted); font-size: 10px; line-height: 1.6; }
  .system-state { display: inline-flex; margin-top: 15px; padding: 6px 8px; border: 1px solid rgba(200, 165, 107, .23); border-radius: 999px; color: #c5a979; font-size: 8px; letter-spacing: .05em; }
  .question-atlas { margin-top: 25px; padding: 18px 20px 19px; border: 1px solid rgba(204, 218, 196, .1); border-radius: 15px; background: rgba(6, 22, 23, .3); }
  .question-atlas > p { margin-top: 15px; color: #c3c9bc; font: 14px/1.8 var(--serif); }
  .question-atlas i { color: var(--sand); font-style: normal; }
  .prototype-gallery { margin-top: 130px; }
  .gallery-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 48px; }
  .gallery-heading h3 { margin-top: 18px; color: var(--ivory); font: 500 clamp(34px, 4.5vw, 54px)/.98 var(--serif); letter-spacing: -.04em; }
  .gallery-heading > p { max-width: 300px; padding-bottom: 4px; color: var(--text-muted); font-size: 11px; line-height: 1.65; }
  .gallery-group + .gallery-group { margin-top: 50px; }
  .gallery-group__head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
  .gallery-count { display: block; color: var(--sand); font-size: 8px; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
  .gallery-group__head h4 { margin-top: 5px; color: var(--ivory); font: 500 25px/1 var(--serif); }
  .gallery-controls { display: flex; gap: 7px; }
  .gallery-controls button { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(217, 229, 210, .2); border-radius: 50%; background: rgba(7, 27, 28, .55); color: var(--ivory); cursor: pointer; transition: background .2s ease, border-color .2s ease; }
  .gallery-controls button:hover { border-color: rgba(200, 165, 107, .58); background: rgba(64, 63, 45, .6); }
  .screen-track { display: grid; grid-auto-flow: column; gap: 12px; overflow-x: auto; overscroll-behavior-inline: contain; padding: 3px 2px 15px; scroll-snap-type: x mandatory; scrollbar-color: rgba(179, 151, 103, .56) rgba(218, 235, 218, .08); scrollbar-width: thin; }
  .screen-track--tv { grid-auto-columns: minmax(268px, 31%); }
  .screen-track--phone { grid-auto-columns: minmax(138px, 16%); }
  .screen-card { min-width: 0; overflow: hidden; border: 1px solid rgba(214, 225, 208, .14); border-radius: 14px; background: linear-gradient(150deg, rgba(233, 226, 203, .055), rgba(5, 20, 21, .83)); scroll-snap-align: start; }
  .screen-art { display: grid; place-items: center; overflow: hidden; background: #111729; aspect-ratio: 16 / 9; }
  .screen-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
  .screen-art:hover img { transform: scale(1.025); }
  .screen-card--phone .screen-art { padding: 8px 7px 0; background: linear-gradient(140deg, #1a2528, #151d29); aspect-ratio: 520 / 1125; }
  .screen-card--phone .screen-art img { width: auto; height: 100%; max-width: 100%; object-fit: contain; object-position: top; border: 4px solid #090f19; border-bottom: 0; border-radius: 12px 12px 0 0; }
  .screen-caption { min-height: 44px; padding: 9px 10px 10px; color: #c2c9bc; font-size: 9px; line-height: 1.4; }
  .screen-caption span { margin-right: 6px; color: var(--sand); font-size: 8px; font-weight: 800; letter-spacing: .08em; }
  .gallery-footnote { margin-top: 15px; color: var(--text-faint); font-size: 9px; line-height: 1.6; }
}

@layer studio {
  .studio-section { position: relative; overflow: hidden; background: radial-gradient(ellipse at 75% 40%, rgba(19, 68, 63, .19), transparent 30rem), linear-gradient(180deg, #091b1c, #061718); }
  .studio-section::before { content: ""; position: absolute; right: -10%; bottom: -210px; width: 55%; aspect-ratio: 1; border: 1px solid rgba(190, 211, 192, .08); border-radius: 50%; box-shadow: 0 0 0 30px rgba(190, 211, 192, .018), 0 0 0 80px rgba(190, 211, 192, .016), 0 0 0 140px rgba(190, 211, 192, .012); pointer-events: none; }
  .studio-wrap { position: relative; display: grid; grid-template-columns: .55fr 1.45fr; align-items: center; gap: 8%; }
  .studio-mark { display: grid; justify-items: center; gap: 17px; color: rgba(180, 199, 185, .48); font-size: 8px; letter-spacing: .2em; }
  .brand-symbol--large { width: clamp(110px, 15vw, 180px); height: clamp(110px, 15vw, 180px); border-radius: 34px; background-size: 100% auto; background-position: center; border-color: rgba(220, 235, 220, .16); }
  .studio-copy h2 { margin-top: 20px; }
  .studio-copy > p:not(.eyebrow) { max-width: 650px; margin-top: 22px; color: var(--text-muted); font-size: 16px; line-height: 1.7; }
  .studio-disciplines { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 26px; }
  .studio-disciplines span { padding: 8px 11px; border: 1px solid rgba(211, 227, 207, .13); border-radius: 999px; background: rgba(10, 40, 40, .34); color: #b5c0b3; font-size: 9px; }
  .site-footer { padding: 38px 0 20px; border-top: 1px solid rgba(210, 227, 210, .12); background: #051415; }
  .footer-top { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 25px; padding-bottom: 32px; }
  .footer-top > p { color: #8fa095; font: 14px/1.45 var(--serif); }
  .footer-top nav { display: flex; gap: 18px; }
  .footer-top nav a, .footer-bottom a { color: #a9b5a9; font-size: 9px; transition: color .2s ease; }
  .footer-top nav a:hover, .footer-bottom a:hover { color: var(--ivory); }
  .footer-bottom { display: flex; justify-content: space-between; gap: 15px; padding-top: 15px; border-top: 1px solid rgba(210, 227, 210, .1); color: #6f837a; font-size: 8px; letter-spacing: .09em; }
}

@layer responsive {
  @media (max-width: 1020px) {
    :root { --page-gutter: clamp(22px, 4vw, 42px); }
    .hero-inner { grid-template-columns: 1fr 175px; gap: 18px; }
    .hero-note { padding: 16px; }
    .world-card { min-height: 290px; }
    .quiz-systems { grid-template-columns: repeat(2, 1fr); }
    .quiz-system { min-height: 245px; }
    .screen-track--tv { grid-auto-columns: minmax(260px, 39%); }
    .screen-track--phone { grid-auto-columns: minmax(138px, 22%); }
  }
  @media (max-width: 760px) {
    .glass-nav { top: 12px; width: calc(100% - 26px); min-height: 57px; padding: 7px 8px 7px 10px; }
    .brand-symbol { width: 36px; height: 36px; border-radius: 12px; }
    .brand-name { font-size: 12px; }
    .menu-toggle { display: grid; width: 40px; height: 40px; align-content: center; justify-items: center; gap: 5px; border: 1px solid rgba(217, 229, 211, .18); border-radius: 50%; background: rgba(11, 44, 44, .62); cursor: pointer; }
    .menu-toggle span { width: 14px; height: 1px; background: var(--ivory); transition: transform .2s ease; }
    .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
    .nav-links { position: absolute; top: calc(100% + 8px); right: 0; left: 0; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 8px; border: 1px solid rgba(220, 235, 220, .16); border-radius: 19px; background: rgba(5, 23, 24, .92); box-shadow: 0 22px 40px rgba(0,0,0,.36); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
    .nav-links.is-open { display: flex; }
    .nav-links > a { padding: 13px 12px; }
    .nav-links .nav-cta { justify-content: space-between; margin-top: 5px; }
    .glass-surface { -webkit-backdrop-filter: blur(16px) saturate(1.12); backdrop-filter: blur(16px) saturate(1.12); }
    .glass-nav { -webkit-backdrop-filter: blur(18px) saturate(1.14); backdrop-filter: blur(18px) saturate(1.14); }
    .hero { min-height: 810px; min-height: max(760px, 100svh); align-items: center; padding: 130px 0 105px; }
    .hero-game-frame { top: 20%; right: -15%; width: 92%; opacity: .48; }
    .hero-inner { display: block; }
    .hero-copy { max-width: 650px; }
    .hero-index { margin-top: 35px; }
    .hero h1 { max-width: 630px; font-size: clamp(57px, 9.3vw, 74px); }
    .hero-lede { max-width: 500px; margin-top: 21px; font-size: 15px; }
    .hero-note { display: none; }
    .hero-meta { flex-wrap: wrap; row-gap: 8px; max-width: 350px; font-size: 9px; }
    .scroll-cue { bottom: 25px; }
    .hero-coordinate { bottom: 29px; font-size: 7px; }
    .section-intro { display: block; }
    .section-intro h2 { margin-top: 19px; }
    .section-intro .section-deck { margin-top: 17px; }
    .world-grid { grid-template-columns: 1fr; margin-top: 35px; }
    .world-card { min-height: 270px; }
    .world-card--salty { min-height: 315px; }
    .world-card__graphic { width: 62%; right: 1%; opacity: .37; }
    .quiz-card-scene { width: 45%; }
    .salty-heading { display: block; }
    .salty-heading__aside { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 24px; }
    .salty-heading__aside p { margin-top: 0; text-align: right; }
    .salty-lead-grid { grid-template-columns: 1fr; gap: 22px; margin-top: 38px; }
    .salty-lead { font-size: 17px; }
    .salty-manifesto { max-width: 520px; }
    .ship-study { grid-template-columns: 1fr; gap: 16px; margin-top: 40px; }
    .ship-study__art { min-height: 295px; }
    .study-ship { width: 96%; }
    .ship-study__caption { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 8px 18px; }
    .ship-study__caption .eyebrow { grid-column: 1 / -1; }
    .ship-study__caption p { margin-top: 3px; font-size: 15px; }
    .caption-rule { display: none; }
    .caption-small { margin-top: 3px; text-align: right; }
    .mechanic-strip { grid-template-columns: 1fr; margin-top: 43px; }
    .mechanic { min-height: auto; padding: 21px 0 22px; }
    .mechanic + .mechanic { padding-left: 0; border-left: 0; border-top: 1px solid rgba(210, 227, 210, .12); }
    .mechanic h3 { margin-top: 13px; font-size: 23px; }
    .mechanic p { max-width: 500px; }
    .runline { margin-top: 39px; padding: 18px; }
    .runline__steps { grid-template-columns: repeat(2, 1fr); row-gap: 16px; }
    .video-section { margin-top: 82px; }
    .video-heading { display: block; }
    .video-heading > p { margin-top: 16px; }
    .salty-notes { grid-template-columns: 1fr; gap: 25px; margin-top: 82px; }
    .notes-list article { padding: 16px 0; }
    .quiznight-heading { display: block; }
    .quiznight-slogan { display: inline-block; min-width: 0; margin-top: 26px; font-size: 23px; }
    .quiznight-stage { grid-template-columns: 1fr; gap: 12px; margin-top: 36px; }
    .stage-phone-column { display: grid; grid-template-columns: 1.1fr .75fr; align-items: stretch; }
    .phone-explainer { min-height: 250px; }
    .phone-frame { min-height: 250px; }
    .quiz-flow__steps { grid-template-columns: repeat(2, 1fr); row-gap: 17px; }
    .quiz-systems { grid-template-columns: repeat(2, 1fr); gap: 9px; margin-top: 38px; }
    .quiz-system { min-height: 252px; padding: 14px; }
    .quiz-system p { min-height: 83px; }
    .question-atlas { padding: 16px; }
    .question-atlas__top { align-items: start; }
    .question-atlas__top > span:last-child { text-align: right; }
    .prototype-gallery { margin-top: 92px; }
    .gallery-heading { display: block; margin-bottom: 34px; }
    .gallery-heading > p { margin-top: 14px; }
    .screen-track--tv { grid-auto-columns: minmax(250px, 72%); }
    .screen-track--phone { grid-auto-columns: minmax(138px, 43%); }
    .studio-wrap { grid-template-columns: 1fr; gap: 38px; }
    .studio-mark { display: none; }
    .footer-top { grid-template-columns: 1fr 1fr; row-gap: 22px; }
    .footer-top nav { grid-column: 1 / -1; }
  }
  @media (max-width: 470px) {
    :root { --page-gutter: 21px; }
    .section-space { padding-block: 78px; }
    .hero { min-height: max(740px, 100svh); padding-top: 116px; }
    .hero h1 { font-size: clamp(51px, 13vw, 68px); }
    .hero h1 em { display: inline-block; max-width: 95%; }
    .hero-index { margin-top: 29px; font-size: 8px; }
    .hero-actions { align-items: stretch; flex-direction: column; max-width: 245px; }
    .hero-actions .button { justify-content: space-between; }
    .hero-meta { max-width: 290px; }
    .meta-rule { display: none; }
    .hero-coordinate { display: none; }
    .world-card { min-height: 250px; padding: 18px; }
    .world-card--salty { min-height: 286px; }
    .world-card__body strong { font-size: 36px; }
    .world-card__arrow { right: 17px; bottom: 19px; }
    .salty-heading h2, .quiznight-heading h2 { font-size: 42px; }
    .salty-heading__aside { align-items: start; flex-direction: column; }
    .salty-heading__aside p { text-align: left; }
    .salty-manifesto { padding: 18px; }
    .ship-study__art { min-height: 238px; }
    .study-axis { font-size: 7px; }
    .runline__head { align-items: start; flex-direction: column; gap: 8px; }
    .runline__steps div { align-items: flex-start; flex-direction: column; gap: 6px; }
    .video-shell { padding: 6px; border-radius: 15px; }
    .video-window { border-radius: 10px; }
    .video-toggle { right: 8px; bottom: 8px; min-height: 34px; padding-inline: 10px; font-size: 9px; }
    .video-caption { font-size: 8px; }
    .water-break { height: 70px; }
    .stage-phone-column { grid-template-columns: 1fr .76fr; }
    .phone-explainer { min-height: 220px; padding: 15px; }
    .phone-explainer h3 { font-size: 25px; }
    .phone-explainer p { font-size: 10px; }
    .phone-frame { min-height: 220px; padding: 15px 8px 0; }
    .stage-caption { font-size: 8px; }
    .quiz-systems { grid-template-columns: 1fr; }
    .quiz-system { min-height: 0; padding: 16px; }
    .system-sigil { margin-top: 17px; }
    .quiz-system h3 br { display: none; }
    .quiz-system p { min-height: 0; max-width: 360px; }
    .system-state { margin-top: 13px; }
    .gallery-group__head h4 { font-size: 21px; }
    .screen-track--tv { grid-auto-columns: 84%; }
    .screen-track--phone { grid-auto-columns: 44%; }
    .footer-top { grid-template-columns: 1fr; }
    .footer-top > p { margin-top: -8px; }
    .footer-top nav { flex-wrap: wrap; }
    .footer-bottom { align-items: start; flex-direction: column; }
  }
}

@layer motion {
  @keyframes tide-rise { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .js-motion .reveal { opacity: 1; transform: none; }
  }
  @media (max-width: 760px) { .hero-game-frame { filter: saturate(.86) contrast(1.05) brightness(.76); } }
  @media (max-width: 760px) and (prefers-reduced-motion: reduce) { .glass-surface { -webkit-backdrop-filter: none; backdrop-filter: none; } }
}
