/* ============================================================================
   SHOWRUNNER LABS — the public site. showrunnerlabs.com
   Two voices, equal billing:
     [data-theme="prestige"]  — the velvet house. Ink, gilt, Bodoni.
     [data-theme="daylight"]  — crisp lines, bright space. Plex, steel, air.
   ============================================================================ */

@import url("https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400;0,6..96,600;0,6..96,800;1,6..96,400;1,6..96,600;1,6..96,800&family=Big+Shoulders+Stencil+Display:wght@600;700;800&family=Manrope:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&family=IBM+Plex+Sans:ital,wght@0,300;0,400;0,500;0,600;1,400&family=IBM+Plex+Mono:wght@400;500&display=swap");

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }

:root, [data-theme="prestige"] {
  --bg: #0E0710; --bg-deep: #06030A; --surf: #160B19; --surf-2: #1E1020;
  --fg: #F5E9D0; --fg-2: rgba(245,233,208,.72); --fg-3: rgba(245,233,208,.46);
  --acc: #C9A24A; --acc-soft: #E7CE85; --acc-deep: #8C6A21;
  --hot: #FF2D87; --velvet: #3A0C2E;
  --hairline: rgba(245,233,208,.12); --hairline-2: rgba(201,162,74,.34);
  --font-display: 'Bodoni Moda', Georgia, serif;
  --font-sans: 'Manrope', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --font-stencil: 'Big Shoulders Stencil Display', sans-serif;
  --grain: .05; --r: 2px; --r-pill: 999px;
  --display-style: italic; --display-weight: 800;
}
[data-theme="daylight"] {
  --bg: #F5F7FA; --bg-deep: #FFFFFF; --surf: #FFFFFF; --surf-2: #ECF0F5;
  --fg: #1A2029; --fg-2: #45505E; --fg-3: #7B8694;
  --acc: #3A6E80; --acc-soft: #5B98AE; --acc-deep: #2A505D;
  --hot: #B85C2E; --velvet: #E5EAF1;
  --hairline: #E0E5EC; --hairline-2: #C4CDD8;
  --font-display: 'IBM Plex Sans', system-ui, sans-serif;
  --font-sans: 'IBM Plex Sans', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
  --grain: 0; --r: 2px; --r-pill: 4px;
  --display-style: normal; --display-weight: 300;
}

body {
  background: var(--bg); color: var(--fg);
  font-family: var(--font-sans); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: geometricPrecision;
  transition: background .5s ease, color .5s ease;
}
[data-theme="prestige"] body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 900;
  opacity: var(--grain); mix-blend-mode: screen;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

/* ── nav ─────────────────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 16px clamp(20px, 4vw, 48px);
  background: color-mix(in oklab, var(--bg) 72%, transparent);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--hairline);
}
.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-brand .mark { color: var(--acc); display: flex; }
.nav-brand .word { font-family: var(--font-stencil); font-weight: 700; font-size: 17px; letter-spacing: .05em; color: var(--fg); text-transform: uppercase; white-space: nowrap; }
@media (max-width: 1040px) { .nav-brand .word { font-size: 14px; } .nav-links { gap: 12px; } }
@media (max-width: 880px) { .nav-cta { display: none; } }
.nav-brand .word b { color: var(--acc); font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: clamp(10px, 2vw, 26px); }
.nav-links a {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--fg-2); text-decoration: none; transition: color .18s; white-space: nowrap;
}
.nav-links a:hover, .nav-links a.here { color: var(--acc-soft); }
[data-theme="daylight"] .nav-links a:hover, [data-theme="daylight"] .nav-links a.here { color: var(--acc); }
.nav-cta {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid var(--acc); color: var(--acc); border-radius: var(--r-pill);
  padding: 8px 16px; text-decoration: none; transition: all .18s; white-space: nowrap;
}
.nav-cta:hover { background: var(--acc); color: var(--bg); }
.theme-flip {
  display: inline-flex; padding: 3px; gap: 2px; border: 1px solid var(--hairline); border-radius: var(--r-pill);
  background: var(--surf);
}
.theme-flip button { font-family: var(--font-mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: var(--r-pill); color: var(--fg-3); transition: all .15s; }
.theme-flip button.on { background: var(--acc); color: var(--bg); }
[data-theme="daylight"] .theme-flip button:not(.on) { color: var(--fg); }

/* ── shared section bones ────────────────────────────────────────────────── */
.act { padding: clamp(80px, 12vh, 150px) clamp(20px, 5vw, 64px); position: relative; }
.act-inner { max-width: 1180px; margin: 0 auto; }
.overline {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--acc); margin-bottom: 22px;
}
.display {
  font-family: var(--font-display); font-style: var(--display-style); font-weight: var(--display-weight);
  font-size: clamp(34px, 5.4vw, 72px); line-height: 1.04; letter-spacing: -0.015em; margin: 0;
  text-wrap: balance;
}
.display .gilt { color: var(--acc-soft); }
[data-theme="daylight"] .display .gilt { color: var(--acc); }
.dek { font-size: clamp(15px, 1.4vw, 18px); color: var(--fg-2); max-width: 56ch; line-height: 1.65; text-wrap: pretty; }
.rule-gilt { height: 1px; background: var(--hairline-2); border: 0; margin: 0; }

/* reveal on scroll */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
  [data-reveal].in { opacity: 1; transform: none; }
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  padding: 13px 26px; border-radius: var(--r-pill); text-decoration: none; transition: all .18s;
  border: 1px solid var(--acc); color: var(--acc);
}
.btn:hover { background: var(--acc); color: var(--bg); }
.btn.solid { background: var(--acc); color: var(--bg); font-weight: 700; }
.btn.solid:hover { filter: brightness(1.08); }
.btn.hot { border-color: var(--hot); color: var(--hot); }
.btn.hot:hover { background: var(--hot); color: #fff; }
.btn:active { transform: scale(.97); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* ── hero ────────────────────────────────────────────────────────────────── */
.hero { min-height: 100svh; display: grid; place-items: center; position: relative; overflow: hidden; padding: 110px clamp(20px, 5vw, 64px) 70px; }
[data-theme="prestige"] .hero { background: radial-gradient(ellipse 75% 55% at 50% 8%, rgba(58,12,46,.55), transparent 70%); }
[data-theme="daylight"] .hero { background: radial-gradient(ellipse 75% 55% at 50% 0%, #FFFFFF, transparent 75%); }
.hero-inner { position: relative; z-index: 2; text-align: center; max-width: 1000px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.hero-3d { position: absolute; inset: 0; z-index: 1; }
.hero-3d canvas { display: block; }
.hero .display { font-size: clamp(40px, 6.6vw, 92px); }
.hero-kicker { font-family: var(--font-mono); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--acc); }
.hero-sub { font-size: clamp(15px, 1.5vw, 19px); color: var(--fg-2); max-width: 52ch; }
.hero-foot { position: absolute; bottom: 26px; left: 0; right: 0; display: flex; justify-content: center; z-index: 2; }
.hero-scroll { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .26em; color: var(--fg-3); text-transform: uppercase; animation: drift-down 2.6s ease-in-out infinite; }
@keyframes drift-down { 0%, 100% { transform: none; opacity: .6; } 50% { transform: translateY(6px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hero-scroll { animation: none; } }

/* hero variant: reel */
.hero-reel-frame {
  width: min(880px, 92vw); aspect-ratio: 16 / 9; position: relative;
  border: 1px solid var(--hairline-2); background: var(--bg-deep); overflow: hidden;
}
.hero-reel-frame .slate { position: absolute; inset: 0; display: grid; place-items: center; }
.hero-reel-frame .play-ring {
  width: 92px; height: 92px; border-radius: 50%; border: 1px solid var(--acc);
  display: grid; place-items: center; color: var(--acc); transition: all .2s; cursor: pointer;
}
.hero-reel-frame .play-ring:hover { background: var(--acc); color: var(--bg); transform: scale(1.05); }
.hero-reel-meta { position: absolute; left: 16px; bottom: 12px; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .18em; color: var(--fg-3); text-transform: uppercase; }

/* ── title cards (stop-and-think) ────────────────────────────────────────── */
.titlecard { min-height: 72svh; display: grid; place-items: center; text-align: center; padding: 90px clamp(20px, 5vw, 64px); position: relative; overflow: hidden; }
[data-theme="prestige"] .titlecard.velvet { background: linear-gradient(#5C1646 -40%, var(--bg) 85%); }
[data-theme="daylight"] .titlecard.velvet { background: linear-gradient(#FFFFFF -40%, var(--bg) 85%); }
.titlecard .display { max-width: 17ch; margin: 0 auto; }
.titlecard .after { margin-top: 26px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--fg-3); }

/* ── feature ledger ──────────────────────────────────────────────────────── */
.ledger { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); margin-top: 54px; }
@media (max-width: 900px) { .ledger { grid-template-columns: 1fr; } }
.ledger-cell { background: var(--bg); padding: 34px 30px 38px; transition: background .25s; }
.ledger-cell:hover { background: var(--surf); }
.ledger-num { font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: 19px; color: var(--acc); margin-bottom: 18px; }
[data-theme="daylight"] .ledger-num { font-style: normal; }
.ledger-title { font-family: var(--font-display); font-style: var(--display-style); font-weight: 700; font-size: 24px; margin: 0 0 12px; line-height: 1.2; }
.ledger-copy { font-size: 13.5px; color: var(--fg-2); line-height: 1.65; margin: 0; text-wrap: pretty; }

/* ── the rooms strip / exhibits ──────────────────────────────────────────── */
.exhibit { border: 1px solid var(--hairline-2); background: var(--bg-deep); position: relative; overflow: hidden; }
.exhibit-stage { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.exhibit-stage iframe {
  width: 1440px; height: 900px; border: 0;
  transform-origin: 0 0; position: absolute; top: 0; left: 0; pointer-events: none;
}
.exhibit-hover { position: absolute; inset: 0; display: grid; place-items: center; background: transparent; transition: background .25s; text-decoration: none; }
.exhibit-hover span {
  opacity: 0; transform: translateY(8px); transition: all .25s;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  border: 1px solid var(--acc); color: var(--acc-soft); background: color-mix(in oklab, var(--bg) 86%, transparent);
  border-radius: var(--r-pill); padding: 10px 18px;
}
.exhibit-hover:hover { background: color-mix(in oklab, var(--bg) 35%, transparent); }
.exhibit-hover:hover span { opacity: 1; transform: none; }
.exhibit-bar { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 13px 16px; border-top: 1px solid var(--hairline); }
.exhibit-name { font-family: var(--font-mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--fg); }
.exhibit-sub { font-family: var(--font-mono); font-size: 9px; letter-spacing: .08em; color: var(--fg-3); }
.exhibit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 50px; }
@media (max-width: 980px) { .exhibit-grid { grid-template-columns: 1fr; } }

/* ── 3D interludes ───────────────────────────────────────────────────────── */
.interlude { position: relative; min-height: 86svh; display: grid; align-items: center; overflow: hidden; }
.interlude-3d { position: absolute; inset: 0; }
.interlude-copy { position: relative; z-index: 2; max-width: 1180px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 64px); width: 100%; pointer-events: none; }
.interlude-copy > * { pointer-events: auto; }
.interlude-card { max-width: 430px; background: color-mix(in oklab, var(--bg) 82%, transparent); backdrop-filter: blur(14px); border: 1px solid var(--hairline-2); padding: 30px 32px; }

/* ── rhodes, understated ─────────────────────────────────────────────────── */
.rhodes { display: grid; grid-template-columns: minmax(260px, 420px) 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
@media (max-width: 900px) { .rhodes { grid-template-columns: 1fr; } }
.rhodes-portrait { position: relative; border: 1px solid var(--hairline-2); overflow: hidden; }
.rhodes-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: saturate(.94); }
.rhodes-portrait .tape { position: absolute; left: 14px; bottom: 12px; font-family: var(--font-mono); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: #F5E9D0; background: rgba(6,3,10,.7); padding: 6px 10px; }
.rhodes-line { font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: clamp(22px, 2.6vw, 32px); line-height: 1.3; margin: 0 0 18px; }
[data-theme="daylight"] .rhodes-line { font-style: normal; font-weight: 300; }
.rhodes-attr { font-family: var(--font-mono); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--fg-3); }

/* ── two skins act ───────────────────────────────────────────────────────── */
.twoskins { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--hairline-2); border: 1px solid var(--hairline-2); margin-top: 54px; }
@media (max-width: 880px) { .twoskins { grid-template-columns: 1fr; } }
.skin-half { padding: 44px 38px 48px; }
.skin-half.velvethalf { background: #14091A; color: #F5E9D0; }
.skin-half.crisphalf { background: #F5F7FA; color: #1A2029; }
.skin-half .sk-over { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .26em; text-transform: uppercase; margin-bottom: 16px; }
.skin-half.velvethalf .sk-over { color: #C9A24A; }
.skin-half.crisphalf .sk-over { color: #3A6E80; }
.skin-half .sk-title { font-size: 26px; line-height: 1.15; margin: 0 0 12px; }
.skin-half.velvethalf .sk-title { font-family: 'Bodoni Moda', serif; font-style: italic; font-weight: 800; }
.skin-half.crisphalf .sk-title { font-family: 'IBM Plex Sans', sans-serif; font-weight: 300; }
.skin-half .sk-copy { font-size: 13px; line-height: 1.65; margin: 0; opacity: .78; }
.skin-half .sk-chip { display: inline-block; margin-top: 20px; font-family: var(--font-mono); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; border: 1px solid currentColor; border-radius: 999px; padding: 6px 12px; opacity: .85; }
.skin-half.crisphalf .sk-chip { border-radius: 4px; }

/* ── gallery (made with) ─────────────────────────────────────────────────── */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; margin-top: 50px; }
.gallery .cell { position: relative; }
.gallery .cell .credit { margin-top: 9px; display: flex; justify-content: space-between; gap: 10px; font-family: var(--font-mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); }
.g-6 { grid-column: span 6; } .g-4 { grid-column: span 4; } .g-8 { grid-column: span 8; } .g-12 { grid-column: span 12; }
@media (max-width: 880px) { .g-6, .g-4, .g-8 { grid-column: span 12; } }
.gallery img, .gallery image-slot { width: 100%; }
.made-badge { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--acc); border: 1px solid var(--hairline-2); border-radius: var(--r-pill); padding: 7px 14px; }

/* sized frame for image-slots (the component sets its own internal height;
   an absolutely-filled child inside an aspect-ratio wrapper wins) */
.slot-frame { position: relative; width: 100%; }
.slot-frame > image-slot { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* ── pricing ─────────────────────────────────────────────────────────────── */
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 54px; align-items: stretch; }
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; } }
.price-card { border: 1px solid var(--hairline); background: var(--surf); padding: 40px 36px 36px; display: flex; flex-direction: column; gap: 0; position: relative; }
.price-card.feature { border-color: var(--acc); }
[data-theme="prestige"] .price-card.feature { box-shadow: 0 0 0 1px var(--acc), 0 18px 70px rgba(201,162,74,.12); }
.price-tag { position: absolute; top: -11px; left: 32px; font-family: var(--font-mono); font-size: 8.5px; letter-spacing: .2em; text-transform: uppercase; background: var(--acc); color: var(--bg); border-radius: var(--r-pill); padding: 4px 12px; }
.price-name { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--acc); margin-bottom: 18px; }
.price-figure { font-family: var(--font-display); font-style: var(--display-style); font-weight: var(--display-weight); font-size: clamp(44px, 5vw, 64px); line-height: 1; }
.price-figure small { font-size: .38em; font-family: var(--font-mono); font-style: normal; font-weight: 500; letter-spacing: .1em; color: var(--fg-3); }
.price-line { font-size: 13.5px; color: var(--fg-2); margin: 14px 0 24px; }
.price-list { list-style: none; margin: 0 0 30px; padding: 0; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.price-list li { display: flex; gap: 12px; font-size: 13px; color: var(--fg-2); line-height: 1.5; }
.price-list li::before { content: "—"; color: var(--acc); flex: none; }
.price-fine { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .06em; color: var(--fg-3); line-height: 1.7; margin-top: 40px; }
.ls-note { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); margin-top: 14px; }
.ls-note .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--acc); }

/* dlc shelf */
.dlc-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
@media (max-width: 900px) { .dlc-row { grid-template-columns: 1fr; } }
.dlc { border: 1px solid var(--hairline); background: var(--bg-deep); padding: 24px 22px; }
.dlc-kicker { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--hot); margin-bottom: 10px; }
.dlc-name { font-family: var(--font-display); font-style: var(--display-style); font-weight: 700; font-size: 19px; margin: 0 0 8px; }
.dlc-copy { font-size: 12px; color: var(--fg-3); line-height: 1.6; margin: 0 0 16px; }
.dlc-price { font-family: var(--font-mono); font-size: 11px; color: var(--fg); letter-spacing: .06em; }
.dlc-price em { color: var(--acc-soft); font-style: normal; }
[data-theme="daylight"] .dlc-price em { color: var(--acc); }
.dlc-soon { display: inline-block; font-family: var(--font-mono); font-size: 8.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--acc); border: 1px solid var(--acc-soft); border-radius: 999px; padding: 3px 10px; margin-bottom: 12px; }
[data-theme="daylight"] .dlc-soon { color: var(--acc); border-color: var(--acc); }
.dlc.soon .dlc-price { opacity: .62; }

/* ── footer ──────────────────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--hairline-2); padding: 70px clamp(20px, 5vw, 64px) 50px; position: relative; overflow: hidden; }
.footer-inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
@media (max-width: 800px) { .footer-inner { grid-template-columns: 1fr; } }
.footer .word { font-family: var(--font-stencil); font-weight: 700; font-size: clamp(34px, 5vw, 58px); letter-spacing: .04em; text-transform: uppercase; line-height: 1; }
.footer .word b { color: var(--acc); font-weight: 700; }
.footer-tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--fg-3); margin-top: 14px; }
.footer-cols { display: flex; gap: clamp(24px, 4vw, 60px); flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-col .k { font-family: var(--font-mono); font-size: 9px; letter-spacing: .22em; text-transform: uppercase; color: var(--acc); margin-bottom: 4px; }
.footer-col a { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; color: var(--fg-2); text-decoration: none; }
.footer-col a:hover { color: var(--fg); }
.footer-sign { max-width: 1180px; margin: 46px auto 0; padding-top: 22px; border-top: 1px solid var(--hairline); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); }
.footer-sign em { font-family: var(--font-display); font-style: italic; text-transform: none; letter-spacing: 0; font-size: 12px; color: var(--fg-2); }

/* page-head for subpages */
.page-head { padding: 170px clamp(20px, 5vw, 64px) 60px; }
.page-head .act-inner { max-width: 1180px; }

/* fine print, read in good light */
.fineprint { margin-top: 90px; border-top: 1px solid var(--hairline-2); padding-top: 44px; }
.fineprint .fp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 56px; margin-top: 34px; }
@media (max-width: 880px) { .fineprint .fp-grid { grid-template-columns: 1fr; } }
.fp-item h4 { font-family: var(--font-mono); font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--acc); margin: 0 0 10px; font-weight: 500; }
.fp-item p { font-size: 13px; color: var(--fg-2); line-height: 1.7; margin: 0; text-wrap: pretty; }
.fp-item p + p { margin-top: 8px; }
.fp-item em { font-family: var(--font-display); font-style: italic; color: var(--fg); }
[data-theme="daylight"] .fp-item em { font-style: normal; font-weight: 600; }

/* checkout modal (the lemon, in velvet) */
.checkout-scrim { position: fixed; inset: 0; z-index: 200; background: rgba(6,3,10,.7); display: none; place-items: center; padding: 20px; }
.checkout-scrim.on { display: grid; }
.checkout {
  width: min(440px, 94vw); background: var(--surf); border: 1px solid var(--acc);
  padding: 36px 34px 30px; position: relative; text-align: center;
}
.checkout .co-over { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--acc); margin-bottom: 16px; }
.checkout .co-title { font-family: var(--font-display); font-style: var(--display-style); font-weight: 700; font-size: 26px; margin: 0 0 8px; }
.checkout .co-sub { font-size: 13px; color: var(--fg-2); margin: 0 0 24px; line-height: 1.6; }
.checkout .co-x { position: absolute; top: 12px; right: 14px; font-family: var(--font-mono); font-size: 10px; color: var(--fg-3); }

/* ============================================================================
   THE FUNCTIONAL SPINE — added to give the theatre a working skeleton.
   Production memory (The Lot), the pipeline, room dossiers, BYO keys.
   ============================================================================ */

/* ── The Lot = your production memory (the pain point, named) ─────────────── */
.lotmemory { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 70px); align-items: center; margin-top: 8px; }
@media (max-width: 920px) { .lotmemory { grid-template-columns: 1fr; } }
.lm-pin { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--acc); border: 1px solid var(--hairline-2); border-radius: var(--r-pill); padding: 7px 13px; margin-bottom: 20px; }
.lm-pin .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--hot); box-shadow: 0 0 10px var(--hot); }
.lm-copy p { color: var(--fg-2); line-height: 1.7; font-size: 14.5px; text-wrap: pretty; }
.lm-copy p em { font-family: var(--font-display); font-style: italic; color: var(--fg); }
[data-theme="daylight"] .lm-copy p em { font-style: normal; font-weight: 600; }
.lm-tag { margin-top: 22px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--acc-soft); }
[data-theme="daylight"] .lm-tag { color: var(--acc); }

/* the identity-manifest card: "what you read is what the model gets" */
.manifest-card { border: 1px solid var(--hairline-2); background: var(--bg-deep); position: relative; overflow: hidden; }
.manifest-card > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: saturate(.9) brightness(.72); }
.manifest-pin { position: absolute; top: 14px; left: 14px; font-family: var(--font-mono); font-size: 8px; letter-spacing: .16em; text-transform: uppercase; color: #06030A; background: var(--acc); padding: 5px 10px; }
.manifest-pin.locked { left: auto; right: 14px; background: transparent; color: #F5E9D0; border: 1px solid var(--acc); display: inline-flex; align-items: center; gap: 6px; }
.manifest-pin.locked::before { content: "●"; color: var(--acc); font-size: 7px; }
.manifest-sheet { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 18px 16px; background: linear-gradient(transparent, rgba(6,3,10,.82) 38%); }
.manifest-row { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 6px 0; border-top: 1px solid rgba(245,233,208,.16); font-family: var(--font-mono); font-size: 9.5px; }
.manifest-row:first-child { border-top: 0; }
.manifest-row .k { color: #E7CE85; text-transform: uppercase; letter-spacing: .14em; white-space: nowrap; }
.manifest-row .v { color: #F5E9D0; text-align: right; opacity: .92; }

/* ── the pipeline — one scene moving through the house ───────────────────── */
.pipeline { margin-top: 52px; }
.pipe-track { display: grid; grid-template-columns: repeat(5, 1fr); background: var(--hairline); border: 1px solid var(--hairline-2); }
@media (max-width: 1000px) { .pipe-track { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .pipe-track { grid-template-columns: 1fr; } }
.pipe-node { background: var(--bg); padding: 24px 20px 22px; display: flex; flex-direction: column; gap: 9px; position: relative; transition: background .25s; }
.pipe-node:hover { background: var(--surf); }
.pipe-step { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--acc); }
.pipe-name { font-family: var(--font-display); font-style: var(--display-style); font-weight: 700; font-size: 18px; line-height: 1.12; margin: 0; }
.pipe-role { font-size: 12px; color: var(--fg-2); line-height: 1.55; margin: 0; text-wrap: pretty; }
.pipe-pass { margin-top: auto; padding-top: 13px; border-top: 1px dashed var(--hairline-2); font-family: var(--font-mono); font-size: 8.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--acc-soft); line-height: 1.5; }
[data-theme="daylight"] .pipe-pass { color: var(--acc); }
.pipe-pass .arrow { color: var(--acc); margin-right: 5px; }
/* the gold thread under the whole track — the production memory itself */
.pipe-thread { display: flex; align-items: center; gap: 16px; margin-top: 16px; padding: 0 4px; }
.pipe-thread .wire { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--acc-deep) 12%, var(--acc-soft) 50%, var(--acc-deep) 88%, transparent); }
.pipe-thread .label { font-family: var(--font-mono); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); white-space: nowrap; }
.pipe-thread .label b { color: var(--acc-soft); font-weight: 500; }
[data-theme="daylight"] .pipe-thread .label b { color: var(--acc); }

/* ── room dossier — DOES / REMEMBERS / OUTPUTS ───────────────────────────── */
.roomdoc-grid { display: grid; gap: 14px; margin-top: 50px; }
.roomdoc { border: 1px solid var(--hairline); background: var(--surf); display: grid; grid-template-columns: 230px 1fr; transition: border-color .2s; }
.roomdoc:hover { border-color: var(--hairline-2); }
@media (max-width: 860px) { .roomdoc { grid-template-columns: 1fr; } }
.roomdoc-head { padding: 26px 28px; border-right: 1px solid var(--hairline); display: flex; flex-direction: column; gap: 9px; justify-content: center; }
@media (max-width: 860px) { .roomdoc-head { border-right: 0; border-bottom: 1px solid var(--hairline); } }
.roomdoc-step { font-family: var(--font-mono); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--acc); }
.roomdoc-name { font-family: var(--font-display); font-style: var(--display-style); font-weight: 700; font-size: 23px; line-height: 1.1; margin: 0; }
.roomdoc-tag { font-family: var(--font-mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); }
.roomdoc-body { display: grid; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 640px) { .roomdoc-body { grid-template-columns: 1fr; } }
.roomdoc-cell { padding: 22px 24px; border-left: 1px solid var(--hairline); }
.roomdoc-cell:first-child { border-left: 0; }
@media (max-width: 640px) { .roomdoc-cell { border-left: 0; border-top: 1px solid var(--hairline); } }
.roomdoc-k { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--acc-soft); margin-bottom: 9px; }
[data-theme="daylight"] .roomdoc-k { color: var(--acc); }
.roomdoc-v { font-size: 12.5px; color: var(--fg-2); line-height: 1.62; margin: 0; text-wrap: pretty; }
.roomdoc-v em { font-family: var(--font-display); font-style: italic; color: var(--fg); }
[data-theme="daylight"] .roomdoc-v em { font-style: normal; font-weight: 600; }

/* ── BYO keys / no markup / spend monitor ────────────────────────────────── */
.keys-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); margin-top: 50px; }
@media (max-width: 900px) { .keys-grid { grid-template-columns: 1fr; } }
.keys-cell { background: var(--bg); padding: 32px 30px 34px; display: flex; flex-direction: column; gap: 11px; }
.keys-ic { font-family: var(--font-mono); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--acc); }
.keys-h { font-family: var(--font-display); font-style: var(--display-style); font-weight: 700; font-size: 22px; margin: 0; line-height: 1.15; }
.keys-p { font-size: 13px; color: var(--fg-2); line-height: 1.66; margin: 0; text-wrap: pretty; }
.keys-p strong { color: var(--fg); font-weight: 600; }
.keys-p em { font-family: var(--font-display); font-style: italic; color: var(--acc-soft); }
[data-theme="daylight"] .keys-p em { font-style: normal; font-weight: 600; color: var(--acc); }

/* compact keys callout band (home) */
.keysband { margin-top: 8px; border: 1px solid var(--hairline-2); background: var(--surf); padding: 30px clamp(24px,4vw,44px); display: grid; grid-template-columns: auto 1fr auto; gap: clamp(20px,4vw,48px); align-items: center; }
@media (max-width: 860px) { .keysband { grid-template-columns: 1fr; text-align: left; } }
.keysband .kb-figure { font-family: var(--font-display); font-style: var(--display-style); font-weight: var(--display-weight); font-size: clamp(34px,4vw,52px); line-height: 1; color: var(--acc-soft); white-space: nowrap; }
[data-theme="daylight"] .keysband .kb-figure { color: var(--acc); }
.keysband .kb-figure small { display: block; font-family: var(--font-mono); font-size: 10px; font-style: normal; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); margin-top: 8px; }
.keysband .kb-copy { font-size: 13.5px; color: var(--fg-2); line-height: 1.66; margin: 0; max-width: 60ch; }
.keysband .kb-copy strong { color: var(--fg); }

/* ════════════════ MOBILE (≤820px) — posters, gradients, stacking ════════════════
   WebGL stages are disabled on phones (see site3d.js NO3D guard); these rules
   supply the static backdrops and fix layouts that were desktop-only.
   Desktop rendering above 820px is untouched. */
@media (max-width: 820px) {
  /* hero orb → captured still (replaces the disabled WebGL canvas) */
  .hero-3d {
    background: #0E0710 url('../assets/posters/orb-prestige.jpg') center / cover no-repeat;
  }
  html[data-theme="daylight"] .hero-3d {
    background: #EEF1F5 url('../assets/posters/orb-daylight.jpg') center / cover no-repeat;
  }
  /* room + ring interludes → themed gradient (no image weight) */
  .interlude-3d {
    background: radial-gradient(120% 90% at 50% 32%, rgba(201,162,74,.22), rgba(58,12,46,.12) 46%, transparent 72%), #0E0710;
  }
  html[data-theme="daylight"] .interlude-3d {
    background: radial-gradient(120% 90% at 50% 32%, rgba(58,110,128,.20), rgba(91,152,174,.08) 46%, transparent 72%), #EEF1F5;
  }
  /* nav: wrap so links + theme toggle never overflow a ~360px screen */
  .nav { flex-wrap: wrap; gap: 8px 12px; padding: 12px 16px; }
  .nav-links { flex-wrap: wrap; gap: 8px 14px; row-gap: 6px; font-size: 13px; }
  .nav-brand .word { font-size: 13px; }
  /* pipeline thread: stack labels, let them wrap, drop the connector wire */
  .pipe-thread { flex-direction: column; align-items: flex-start; gap: 8px; }
  .pipe-thread .label { white-space: normal; }
  .pipe-thread .wire { display: none; }
}
