  :root {
    --ink:        #101219;
    --wall:       #14161F;
    --wall-lo:    #0D0F16;
    --timber:     #272420;
    --timber-lo:  #1A1815;
    --timber-hi:  #322D27;
    --recess:     #07080C;
    --brass:      #B08D57;
    --brass-lit:  #D9B27C;
    --brass-hi:   #EBCB98;
    --brass-dim:  #6B5738;
    --paper:      #F1EFEC;
    --dim:        #CFC9BC;
    --muted:      #8A8578;
    --hairline:   rgba(217,178,124,0.16);
    --rule:       rgba(241,239,236,0.09);

    --step-0: 0.9375rem;
    --step-1: 1.0625rem;
    --step-2: 1.375rem;
    --step-3: clamp(1.7rem, 3.4vw, 2.4rem);
    --step-4: clamp(2.3rem, 5.6vw, 3.9rem);

    --ease:  cubic-bezier(.62,.02,.2,1);
    --swing: cubic-bezier(.34,.01,.18,1);
    --push:  cubic-bezier(.42,0,.72,.34);
    --pull:  cubic-bezier(.16,.7,.34,1);
  }

  * { box-sizing: border-box; }

  html {
    scrollbar-gutter: stable;
    background: var(--ink);
  }
  html.is-locked { overflow: hidden; }

  body {
    margin: 0;
    background: var(--ink);
    color: var(--paper);
    font-family: Spectral, Georgia, serif;
    font-size: var(--step-1);
    line-height: 1.62;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

  ::selection { background: var(--brass-dim); color: var(--paper); }
  :focus-visible { outline: 2px solid var(--brass-lit); outline-offset: 4px; }

  #field {
    position: fixed;
    inset: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
  }

  .shell { width: min(1140px, 92vw); margin-inline: auto; }

  /* ================================================================
     Views. Home lives inside #camera and is never unmounted — the
     dive is a camera move over the real scene, so there is nothing
     to cross-fade and nothing to mis-register.
     ================================================================ */

  #camera {
    position: relative;
    z-index: 1;
    transform-origin: 50% 50%;
  }

  .page {
    position: fixed;
    inset: 0;
    z-index: 20;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--ink);
    opacity: 0;
    visibility: hidden;
    transition: opacity 420ms var(--ease), visibility 0s linear 420ms;
  }
  .page.is-active {
    opacity: 1;
    visibility: visible;
    transition: opacity 420ms var(--ease), visibility 0s;
  }


  /* ================================================================
     Preview gate — a doormat, not a lock. See the README.
     ================================================================ */

  #gate {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 2rem;
    background:
      radial-gradient(70% 50% at 50% 40%, rgba(176,141,87,0.06), transparent 70%),
      var(--ink);
    opacity: 1;
    transition: opacity 600ms var(--ease);
  }
  #gate.is-open { opacity: 0; pointer-events: none; }
  html.is-unlocked #gate { display: none; }
  html:not(.is-unlocked) body { overflow: hidden; }

  .gate-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.15rem;
    width: min(360px, 100%);
  }
  #gate.is-wrong .gate-card { animation: gate-shake 420ms var(--ease); }

  @keyframes gate-shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-7px); }
    45% { transform: translateX(6px); }
    70% { transform: translateX(-3px); }
  }

  .gate-mark { display: flex; align-items: center; gap: .7rem; }
  .gate-mark svg { width: 34px; height: 34px; color: var(--brass-lit); flex: none; }
  .gate-mark b {
    font-family: Archivo, system-ui, sans-serif; font-weight: 800;
    font-size: 1.15rem; letter-spacing: -0.015em;
    display: block; line-height: 1; text-align: left; color: var(--paper);
  }
  .gate-mark i {
    font-family: Archivo, system-ui, sans-serif; font-style: normal;
    font-size: .6rem; font-weight: 600; letter-spacing: .34em;
    color: var(--muted); display: block; margin-top: .26rem; text-align: left;
  }

  .gate-plate {
    margin-top: .4rem;
    padding: .4rem .8rem;
    background: linear-gradient(168deg, var(--brass-hi), var(--brass) 45%, #8A6E42);
    box-shadow: 0 1px 3px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.35);
    color: #2A2116;
    font-family: Archivo, system-ui, sans-serif;
    font-size: .58rem; font-weight: 700; letter-spacing: .22em;
    line-height: 1; text-transform: uppercase;
    text-shadow: 0 1px 0 rgba(255,255,255,0.25);
  }

  .gate-line {
    margin: 0;
    font-size: .95rem; font-weight: 300; line-height: 1.5;
    color: var(--muted); max-width: 34ch;
  }

  .gate-field { display: flex; flex-direction: column; gap: .45rem; width: 100%; margin-top: .3rem; }
  .gate-label {
    font-family: Archivo, system-ui, sans-serif;
    font-size: .6rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
    color: var(--brass);
  }
  #gate-input {
    width: 100%;
    padding: .75rem .9rem;
    background: rgba(241,239,236,0.04);
    border: 1px solid var(--hairline);
    color: var(--paper);
    font-family: Spectral, Georgia, serif;
    font-size: 1rem;
    letter-spacing: .08em;
  }
  #gate-input:focus { outline: none; border-color: var(--brass); background: rgba(241,239,236,0.06); }

  .gate-go {
    width: 100%;
    padding: .72rem 1rem;
    background: rgba(176,141,87,0.1);
    border: 1px solid var(--brass-dim);
    color: var(--brass-lit);
    font-family: Archivo, system-ui, sans-serif;
    font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
    cursor: pointer;
    transition: background 220ms, border-color 220ms;
  }
  .gate-go:hover, .gate-go:focus-visible { background: rgba(176,141,87,0.18); border-color: var(--brass); }

  .gate-error {
    margin: 0;
    min-height: 1.2em;
    font-size: .85rem; font-style: italic;
    color: var(--brass-lit);
  }

  /* ================================================================
     Masthead
     ================================================================ */

  .masthead {
    display: flex; align-items: center; justify-content: space-between;
    gap: 2rem; padding: 1.75rem 0 0;
  }

  .wordmark {
    display: flex; align-items: center; gap: .7rem;
    background: none; border: 0; padding: 0; cursor: pointer; font: inherit; color: inherit;
  }
  .wordmark svg { width: 30px; height: 30px; color: var(--brass-lit); flex: none; }
  .wordmark b {
    font-family: Archivo, system-ui, sans-serif; font-weight: 800;
    font-size: 1.02rem; letter-spacing: -0.015em;
    display: block; line-height: 1; text-align: left; color: var(--paper);
  }
  .wordmark i {
    font-family: Archivo, system-ui, sans-serif; font-style: normal;
    font-size: .58rem; font-weight: 600; letter-spacing: .34em;
    color: var(--muted); display: block; margin-top: .22rem; text-align: left;
  }

  .nav { display: flex; gap: 1.6rem; }
  .nav button, .backlink {
    background: none; border: 0; padding: 0 0 .2rem; cursor: pointer;
    font-family: Archivo, system-ui, sans-serif;
    font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
    color: var(--muted); border-bottom: 1px solid transparent;
    transition: color 200ms, border-color 200ms;
  }
  .nav button:hover, .nav button:focus-visible,
  .backlink:hover, .backlink:focus-visible { color: var(--brass-lit); border-bottom-color: var(--brass-dim); }

  /* ================================================================
     Hero
     ================================================================ */

  .hero {
    position: relative;
    padding: clamp(1.6rem, 4.5vh, 3.2rem) 0 clamp(0.8rem, 2vh, 1.5rem);
    text-align: center;
  }
  #wordfield { display: block; width: 100%; height: clamp(64px, min(11vw, 14vh), 138px); }

  .statement {
    font-size: clamp(1.02rem, 2vw, 1.42rem);
    font-weight: 300; line-height: 1.45;
    max-width: 34ch; margin: 1.1rem auto 0;
    color: var(--dim);
  }
  .statement .wd { display: inline-block; white-space: nowrap; }
  .statement .ch { display: inline-block; }

  /* ================================================================
     The threshold — a wall with two doors in it
     ================================================================ */

  .threshold {
    position: relative;
    padding: clamp(1rem, 3vh, 2rem) 0 0;
  }

  .eyebrow {
    font-family: Archivo, system-ui, sans-serif;
    font-size: .68rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase;
    color: var(--brass); margin: 0 0 clamp(1.1rem, 3vh, 2rem);
  }
  .threshold > .eyebrow { text-align: center; }

  /* the wall plane and the floor it stands on */
  .wall {
    position: absolute;
    left: 50%; transform: translateX(-50%);
    width: 100vw;
    top: clamp(4rem, 10vh, 6.5rem);
    bottom: 0;
    background:
      radial-gradient(70% 60% at 50% 30%, rgba(176,141,87,0.045), transparent 70%),
      linear-gradient(180deg, var(--wall-lo), var(--wall) 55%, #0F1118);
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%);
    mask-image: linear-gradient(180deg, transparent, #000 22%);
    z-index: 0;
  }

  .floor {
    position: absolute;
    left: 50%; transform: translateX(-50%);
    width: 100vw;
    bottom: 0;
    height: clamp(5rem, 14vh, 9rem);
    background: linear-gradient(180deg, transparent, rgba(5,6,10,0.7) 55%, var(--ink));
    z-index: 1;
  }

  .stage {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: clamp(2.5rem, 24vw, 24rem);
    padding-bottom: clamp(2rem, 5vh, 3.2rem);
  }

  /* ---- one door ------------------------------------------------- */

  .portal-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(1rem, 2.4vh, 1.5rem);
    background: none; border: 0; padding: 0; margin: 0;
    font: inherit; color: inherit; cursor: pointer;
  }

  .door {
    --leaf-h: clamp(210px, 38vh, 400px);
    position: relative;
    display: block;
    height: var(--leaf-h);
    width: calc(var(--leaf-h) * 0.44);
  }
  .door {
    --tease: 16deg;
    perspective: 620px;
    perspective-origin: 16% 46%;
  }
  .door[data-side="games"] { perspective-origin: 84% 46%; }

  /* the door meets something: contact shadow plus the warm spill
     from the light under it */
  .contact {
    position: absolute;
    top: 100%; left: -22%; right: -22%;
    height: 30px;
    background:
      radial-gradient(50% 100% at 50% 0%, rgba(217,178,124,0.09), transparent 68%),
      radial-gradient(46% 100% at 50% 0%, rgba(0,0,0,0.8), transparent 74%);
    z-index: 0;
    pointer-events: none;
    opacity: 1;
    transition: opacity 420ms var(--ease);
  }
  .door.is-open .contact { opacity: .35; }

  /* casing around the opening — deliberately outside the aperture,
     so the aperture rect is the pure hole the camera flies through */
  .architrave {
    position: absolute;
    inset: -13px;
    background: linear-gradient(160deg, var(--timber-hi), var(--timber) 40%, var(--timber-lo));
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.055),
      0 18px 44px rgba(0,0,0,0.55);
    z-index: 0;
  }
  /* the 1px brass reveal that lines the opening */
  .reveal {
    position: absolute;
    inset: -1px;
    border: 1px solid rgba(217,178,124,0.22);
    z-index: 3;
    pointer-events: none;
  }

  .aperture {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: linear-gradient(180deg, #05060A, #0A0C12 62%, #0E1017);
    z-index: 1;
  }

  /* what you see through the opening */
  .room-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(58% 44% at 50% 58%, rgba(176,141,87,0.22), rgba(176,141,87,0.05) 55%, transparent 78%);
    transform-origin: 50% 58%;
    transition: transform 880ms var(--push);
  }
  .room-floor {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 22%;
    background: linear-gradient(180deg, transparent, rgba(217,178,124,0.13));
    transform-origin: 50% 100%;
    transition: transform 880ms var(--push);
  }

  /* light escaping under a shut door */
  .sill {
    position: absolute;
    left: 5%; right: 5%;
    bottom: -3px;
    height: 7px;
    background: radial-gradient(62% 100% at 50% 50%, rgba(217,178,124,0.6), rgba(217,178,124,0.18) 55%, transparent 80%);
    z-index: 4;
    opacity: .75;
    transition: opacity 420ms var(--ease);
    pointer-events: none;
  }
  .portal-btn:hover .sill,
  .portal-btn:focus-visible .sill { opacity: 1; }
  .door.is-open .sill { opacity: 0; }

  /* ---- the leaf, as a solid object ------------------------------- */

  .leaf-wrap {
    position: absolute;
    inset: 0;
    z-index: 2;
    transform-origin: left center;
    transition: transform 720ms var(--swing);
  }
  .door.is-live .leaf-wrap {
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
  }
  /* used to snap the leaf shut while it is out of shot, rather than asking a
     compositor animation to survive the camera layer being torn down */
  .door.no-swing .leaf-wrap { transition: none; }
  .door:not(.is-live) .leaf-wrap { transition-duration: 400ms; }
  /* the far side and the thickness only exist once the box is 3D —
     at rest they would paint out of order in a flat context */
  .leaf-back, .leaf-edge { visibility: hidden; }
  .door.is-live .leaf-back,
  .door.is-live .leaf-edge { visibility: visible; }
  .door[data-side="games"] .leaf-wrap { transform-origin: right center; }

  /* The tease. This is a real rotation on the hinge, but the leaf stays a
     FLAT element under .door's perspective — no 3D rendering context, so
     nothing here depends on an engine painting a static preserve-3d subtree.
     preserve-3d is switched on only for the full swing, and switched off
     again the moment the door is shut. */
  .portal-btn:hover .leaf-wrap,
  .portal-btn:focus-visible .leaf-wrap { transform: rotateY(calc(-1 * var(--tease))); }
  .door[data-side="games"] .leaf-wrap { transform-origin: right center; }
  .portal-btn:hover .door[data-side="games"] .leaf-wrap,
  .portal-btn:focus-visible .door[data-side="games"] .leaf-wrap { transform: rotateY(var(--tease)); }

  /* light escaping down the leading edge as it comes off the latch */
  .leaf-front::after {
    content: "";
    position: absolute;
    top: 4%; bottom: 4%; right: 0;
    width: 4px;
    background: linear-gradient(180deg, transparent, rgba(217,178,124,0.75) 18%, rgba(217,178,124,0.75) 82%, transparent);
    opacity: 0;
    transition: opacity 300ms var(--ease);
  }
  .door[data-side="games"] .leaf-front::after { right: auto; left: 0; }
  .portal-btn:hover .leaf-front::after,
  .portal-btn:focus-visible .leaf-front::after { opacity: 1; }

  .door.is-open .leaf-wrap,
  .portal-btn:hover .door.is-open .leaf-wrap { transform: rotateY(-108deg); }
  .door[data-side="games"].is-open .leaf-wrap,
  .portal-btn:hover .door[data-side="games"].is-open .leaf-wrap { transform: rotateY(108deg); }

  .leaf-front, .leaf-back, .leaf-edge {
    transition: opacity 380ms var(--ease);
  }
  .leaf-back {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
  .leaf-front, .leaf-back {
    position: absolute;
    inset: 0;
  }
  /* once the camera is through the doorway, the door is behind you */
  .door.is-through .leaf-front,
  .door.is-through .leaf-back,
  .door.is-through .leaf-edge { opacity: 0; }

  .leaf-front {
    background:
      repeating-linear-gradient(92deg, rgba(255,255,255,0.014) 0 2px, transparent 2px 5px),
      linear-gradient(102deg, var(--timber-hi), var(--timber) 46%, var(--timber-lo));
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.07),
      inset -1px 0 0 rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    padding: 7% 11%;
    gap: 0;
  }

  .leaf-back {
    transform: translateZ(-13px) rotateY(180deg);
    background:
      repeating-linear-gradient(92deg, rgba(255,255,255,0.012) 0 2px, transparent 2px 5px),
      linear-gradient(100deg, #221E19, #1A1714 58%, #131110);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.04),
      inset 0 0 46px rgba(0,0,0,0.6);
  }
  .leaf-back::before {
    content: "";
    position: absolute;
    inset: 7% 11%;
    box-shadow:
      inset 0 2px 5px rgba(0,0,0,0.6),
      0 1px 0 rgba(255,255,255,0.035);
  }

  /* the thickness of the door, visible the moment it swings */
  .leaf-edge {
    position: absolute;
    top: 0; left: 100%;
    width: 13px; height: 100%;
    transform-origin: left center;
    transform: rotateY(89.6deg);
    background: linear-gradient(180deg, #38322B, #201D19);
    box-shadow: inset 1px 0 0 rgba(255,255,255,0.06);
  }
  .door[data-side="games"] .leaf-edge {
    left: auto; right: 100%;
    transform-origin: right center;
    transform: rotateY(-89.6deg);
  }

  /* light falls off as the leaf turns away */
  .leaf-shade {
    position: absolute;
    inset: 0;
    background: #05060A;
    opacity: 0;
    pointer-events: none;
    transition: opacity 720ms var(--swing);
  }
  .door.is-open .leaf-shade { opacity: .62; }

  .panel {
    flex: 1;
    background: linear-gradient(178deg, var(--timber-lo), #1B1E27);
    box-shadow:
      inset 0 2px 5px rgba(0,0,0,0.65),
      inset 0 -1px 0 rgba(255,255,255,0.045),
      0 1px 0 rgba(255,255,255,0.035);
  }
  .panel.upper { flex: 1.05; }
  .panel.lower { flex: 1.45; }

  /* the lock rail between the panels */
  .rail {
    position: relative;
    height: 17%;
    display: grid;
    place-items: center;
  }

  .nameplate {
    display: block;
    padding: .3rem .55rem;
    background: linear-gradient(168deg, var(--brass-hi), var(--brass) 45%, #8A6E42);
    box-shadow: 0 1px 3px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.35);
    color: #2A2116;
    font-family: Archivo, system-ui, sans-serif;
    font-size: .52rem;
    font-weight: 700;
    letter-spacing: .2em;
    line-height: 1;
    text-transform: uppercase;
    text-shadow: 0 1px 0 rgba(255,255,255,0.25);
  }

  /* brass lever on a backplate */
  .lever {
    position: absolute;
    top: 52%;
    right: 9%;
    width: 10px; height: 34px;
    transform: translateY(-50%);
    border-radius: 2px;
    background: linear-gradient(96deg, #C9A468, var(--brass) 40%, #6E5731);
    box-shadow: 0 1px 4px rgba(0,0,0,0.65), inset 0 1px 0 rgba(255,255,255,0.3);
    z-index: 2;
  }
  .lever::after {
    content: "";
    position: absolute;
    top: 50%; right: 100%;
    width: 22px; height: 5px;
    transform: translateY(-50%);
    border-radius: 3px;
    background: linear-gradient(180deg, var(--brass-hi), var(--brass) 45%, #7A6139);
    box-shadow: 0 2px 5px rgba(0,0,0,0.65);
  }
  .door[data-side="games"] .lever { right: auto; left: 9%; }
  .door[data-side="games"] .lever::after { right: auto; left: 100%; }
  .portal-btn:hover .lever { background: linear-gradient(96deg, #E0BC85, var(--brass-lit) 40%, #85683B); }

  /* ---- the caption under each door ------------------------------- */

  .caption { display: block; text-align: center; max-width: 20ch; }
  .cap-title {
    display: block;
    font-family: Archivo, system-ui, sans-serif;
    font-weight: 800; font-size: 1.18rem; letter-spacing: -0.02em;
    color: var(--paper);
    margin-bottom: .15rem;
    transition: color 220ms;
  }
  .portal-btn:hover .cap-title, .portal-btn:focus-visible .cap-title { color: var(--brass-lit); }
  .cap-line {
    display: block;
    font-size: .92rem; font-weight: 300; font-style: italic;
    color: var(--muted); line-height: 1.4;
  }

  /* ================================================================
     Section pages
     ================================================================ */

  .page-head { padding: clamp(3rem, 8vh, 5rem) 0 clamp(2rem, 5vh, 3.2rem); }
  .page-head h1 {
    font-family: Archivo, sans-serif; font-weight: 900;
    font-size: var(--step-4); letter-spacing: -0.035em; line-height: 1.02;
    margin: 0 0 1rem; color: var(--paper); text-wrap: balance;
  }
  .page-head .lede { margin: 0; max-width: 56ch; color: var(--dim); font-size: var(--step-2); font-weight: 300; line-height: 1.5; }

  section.band { padding: clamp(2.2rem, 6vh, 3.6rem) 0; border-top: 1px solid var(--rule); }
  h2.band-title {
    font-family: Archivo, sans-serif; font-weight: 800;
    font-size: var(--step-3); letter-spacing: -0.02em; margin: 0 0 1.6rem; color: var(--paper);
  }
  .prose { max-width: 62ch; margin: 0; color: var(--dim); }

  .cases { display: grid; gap: 1rem; }
  .case {
    display: grid; grid-template-columns: 3.2rem 1fr; gap: 0 1.2rem;
    padding: 1.5rem 1.6rem;
    background: rgba(241,239,236,0.026);
    border: 1px solid var(--rule);
    border-left: 2px solid var(--brass-dim);
  }
  .case.is-ready { border-left-color: var(--brass-lit); background: rgba(176,141,87,0.05); }
  .case .idx {
    font-family: Archivo, sans-serif; font-size: .72rem; font-weight: 700;
    letter-spacing: .1em; color: var(--brass); font-variant-numeric: tabular-nums; padding-top: .3rem;
  }
  .case h3 {
    font-family: Archivo, sans-serif; font-weight: 700; font-size: 1.15rem;
    letter-spacing: -0.01em; margin: 0 0 .2rem; color: var(--paper);
  }
  .case h3 .host {
    font-family: Archivo, sans-serif;
    font-weight: 600;
    font-size: .72rem;
    letter-spacing: .04em;
    color: var(--brass);
    margin-left: .55rem;
  }

  .case .status {
    font-family: Archivo, sans-serif; font-size: .6rem; font-weight: 600;
    letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 1rem;
  }
  .case.is-ready .status { color: var(--brass-lit); }

  .steps { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
  .steps li {
    display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem;
    font-size: var(--step-0); color: var(--dim);
    padding-bottom: .5rem; border-bottom: 1px dashed rgba(241,239,236,0.07);
  }
  .steps li:last-child { border-bottom: 0; padding-bottom: 0; }
  .steps b {
    font-family: Archivo, sans-serif; font-weight: 600; font-size: .62rem;
    letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: .25rem;
  }
  .steps .want, .prose .want { color: var(--muted); font-style: italic; }
  .steps li.key b { color: var(--brass); }
  .steps li.key { color: var(--paper); }

  .three { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.6rem 2.4rem; }
  .three h3 { font-family: Archivo, sans-serif; font-weight: 700; font-size: 1.02rem; margin: 0 0 .35rem; color: var(--paper); }
  .three p { margin: 0; color: var(--muted); font-size: var(--step-0); }

  .availability {
    display: flex; flex-wrap: wrap; align-items: baseline; gap: .8rem 2rem; justify-content: space-between;
    padding: 1.4rem 1.6rem; border: 1px solid var(--hairline); background: rgba(176,141,87,0.05);
  }
  .availability strong { font-family: Archivo, sans-serif; font-weight: 700; color: var(--brass-lit); font-size: var(--step-0); }
  .availability a { color: var(--paper); text-decoration: none; border-bottom: 1px solid var(--brass-dim); }
  .availability a:hover { border-bottom-color: var(--brass-lit); }

  .reel {
    aspect-ratio: 16 / 9;
    border: 1px solid var(--hairline);
    background:
      repeating-linear-gradient(135deg, rgba(241,239,236,0.02) 0 12px, transparent 12px 24px),
      radial-gradient(90% 120% at 50% 0%, rgba(176,141,87,0.12), transparent 65%),
      #0B0C11;
    display: grid; place-items: center; text-align: center; padding: 2rem; margin-bottom: 1.6rem;
  }
  .reel span {
    font-family: Archivo, sans-serif; font-size: .68rem; font-weight: 600;
    letter-spacing: .22em; text-transform: uppercase; color: var(--brass);
  }
  .reel em {
    display: block; margin-top: .7rem; color: var(--muted); font-size: var(--step-0);
    font-style: italic; letter-spacing: 0; text-transform: none; font-family: Spectral, serif;
  }

  .meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1.2rem; margin-top: 1.8rem; }
  .meta div { border-top: 1px solid var(--rule); padding-top: .7rem; }
  .meta dt {
    font-family: Archivo, sans-serif; font-size: .6rem; font-weight: 600;
    letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: .3rem;
  }
  .meta dd { margin: 0; font-size: var(--step-0); color: var(--dim); }

  .footnote {
    border-top: 1px solid var(--rule);
    padding: 1.5rem 0 3.5rem; color: var(--muted); font-size: .85rem;
    display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between;
  }

  /* ================================================================
     Tuner
     ================================================================ */

  .tuner {
    position: fixed; right: 1rem; bottom: 1rem; z-index: 60;
    background: rgba(16,18,25,0.94);
    border: 1px solid var(--hairline);
    backdrop-filter: blur(8px);
    font-family: Archivo, sans-serif; max-width: 252px;
  }
  .tuner > summary {
    list-style: none; cursor: pointer; padding: .55rem .85rem;
    font-size: .62rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--brass);
  }
  .tuner > summary::-webkit-details-marker { display: none; }
  .tuner[open] > summary { border-bottom: 1px solid var(--hairline); }
  .tuner .body { padding: .85rem; display: grid; gap: .8rem; }
  .tuner label {
    display: grid; gap: .3rem;
    font-size: .62rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  }
  .tuner .row { display: flex; justify-content: space-between; }
  .tuner .val { color: var(--brass-lit); font-variant-numeric: tabular-nums; }
  .tuner input[type="range"] { width: 100%; accent-color: var(--brass); }
  .tuner .check { display: flex; align-items: center; gap: .5rem; }
  .tuner .fps { font-size: .6rem; color: var(--muted); letter-spacing: .1em; }
  .tuner .fps b { color: var(--brass-lit); font-variant-numeric: tabular-nums; }

  /* ================================================================
     Small screens
     ================================================================ */

  @media (max-width: 820px) {
    .stage { gap: clamp(1.5rem, 12vw, 6rem); }
    .door { height: clamp(200px, 34vh, 320px); }
    .nav { display: none; }
    .tuner { display: none; }
  }

  @media (max-width: 560px) {
    .caption { max-width: 18ch; }
    .cap-title { font-size: 1.05rem; }
    .cap-line { font-size: .82rem; }
    .steps li { grid-template-columns: 1fr; gap: .1rem; }
    .case { grid-template-columns: 1fr; }
    .case .idx { padding-top: 0; }
  }

  @media (prefers-reduced-motion: reduce) {
    .leaf-wrap, .leaf-shade, .sill, .room-glow, .room-floor, #camera, .page {
      transition-duration: 1ms !important;
    }
  }
