/* =========================================================
   All In Studios — Concept B
   A studio of many worlds: vivid color fields, big type,
   and an honest status system built into the typography.
   ========================================================= */

/* Self-hosted fonts (SIL Open Font License) */
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/unbounded-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 900; font-display: swap; src: url("../fonts/unbounded-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/figtree-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/figtree-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/figtree-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/figtree-latin-700-normal.woff2") format("woff2"); }

/* Palette: muted studio tones with gold drawn from the logo.
   Variable names describe roles; values are the softer revision. */
:root {
  --gold:  #C29A3B;  /* logo gold, studio constant */
  --gold-deep: #8F6B1F;
  --focus-ring: #8F6B1F;
  --uv:    #3A3F86;  /* deep indigo — studio signature */
  --flare: #8A3D68;  /* music — berry */
  --sun:   #C29A3B;  /* faith & light — gold */
  --aqua:  #1F7468;  /* games — deep teal */
  --sky:   #3D5D98;  /* technology & members — slate blue */
  --ember: #A85A2A;  /* anime & film — burnt amber */
  --leaf:  #5C7733;  /* books — olive */

  /* Light theme (default): soft lavender tints, not stark white */
  --base:   #F2EEFA;
  --base-2: #E8E2F4;
  --ink:    #17142C;
  --soft:   #59556F;
  --rule:   rgba(23, 20, 44, 0.14);

  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --body: "Figtree", "Segoe UI", system-ui, sans-serif;

  --gutter: clamp(20px, 5vw, 72px);
  --max: 1320px;

  color-scheme: light;
}

[data-theme="dark"] {
  --focus-ring: var(--gold);
  --aqua:  #5FB5A5;
  --flare: #C47A9F;
  --sky:   #85A3DA;
  --ember: #D9935F;
  --leaf:  #9DB86A;
  --sun:   #D7B25A;

  --base:   #14122A;
  --base-2: #1C1937;
  --ink:    #F3F1FA;
  --soft:   #B5B0CC;
  --rule:   rgba(243, 241, 250, 0.14);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--base); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); line-height: 1; letter-spacing: -0.03em; }
p, ul, ol, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: #1a1206; padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 26px; border-radius: 999px;
  font: 700 1rem/1 var(--body); text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-solid { background: var(--ink); color: var(--base); }
.btn-line  { border-color: currentColor; color: var(--ink); }
.text-link { font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }

.chip { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .9375rem; }
.chip::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: currentColor; }

/* ---------- Header ---------- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 60; color: #fff;
  transition: background-color .25s ease, box-shadow .25s ease;
}
.bar.is-scrolled {
  color: var(--ink);
  background: color-mix(in srgb, var(--base) 86%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--rule);
}
.bar-inner { display: flex; align-items: center; gap: 20px; min-height: 76px; padding: 0 var(--gutter); max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 .8125rem/1.05 var(--display); letter-spacing: 0; }
.brand img { width: 42px; height: auto; filter: drop-shadow(0 2px 8px rgba(0,0,0,.25)); }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a { padding: 10px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; }
.nav a:hover { background: color-mix(in srgb, var(--ink) 10%, transparent); }
.nav .nav-members { display: none; }
.bar-actions { display: flex; align-items: center; gap: 10px; }
.round-btn {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: color-mix(in srgb, var(--base) 40%, transparent);
  border: 1.5px solid var(--rule); color: var(--ink); cursor: pointer;
}
.round-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.round-btn .i-moon { fill: currentColor; stroke: none; }
[data-theme="dark"] .i-moon, [data-theme="light"] .i-sun { display: none; }
.members-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px;
  border-radius: 999px; border: 1.5px dashed currentColor; text-decoration: none; font-weight: 700;
}
.members-btn::after { content: "soon"; font-size: .75rem; font-weight: 600; opacity: .7; }
.menu-btn { display: none; }

/* ---------- Opening screen ---------- */
.open {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh; display: flex; flex-direction: column;
}
.field { position: absolute; inset: 0; z-index: -2; background: #1E1B3F; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); will-change: transform; background: var(--c); }
.open.is-offscreen .blob, .is-offscreen .disc { animation-play-state: paused; }
.b1 { width: 62vmax; height: 62vmax; left: -18vmax; top: -22vmax; --c: #3F5AA3; opacity: .85; animation: drift1 22s ease-in-out infinite alternate; }
.b2 { width: 52vmax; height: 52vmax; right: -16vmax; top: -6vmax; --c: #74396F; opacity: .8; animation: drift2 26s ease-in-out infinite alternate; }
.b3 { width: 46vmax; height: 46vmax; left: 22vw; bottom: -26vmax; --c: #B88A2E; opacity: .75; animation: drift3 24s ease-in-out infinite alternate; }
.b4 { width: 34vmax; height: 34vmax; right: 6vw; bottom: -8vmax; --c: #2A5F63; opacity: .7; animation: drift1 30s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate(8vmax, 6vmax) scale(1.08); } }
@keyframes drift2 { to { transform: translate(-10vmax, 8vmax) scale(.92); } }
@keyframes drift3 { to { transform: translate(-6vmax, -6vmax) scale(1.1); } }
.open::after {
  /* deepen the lower-left so type always reads */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20,18,42,.15) 0%, transparent 35%, rgba(20,18,42,.45));
}
.grain {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .22; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.open-inner {
  flex: 1; display: grid; grid-template-columns: 1.35fr 0.65fr; align-items: end; gap: 32px 56px;
  width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto;
  padding: 120px var(--gutter) clamp(40px, 6vh, 72px);
  color: #fff;
}
.open-title { font-weight: 900; text-transform: none; }
.ot-line { display: block; font-size: clamp(2.8rem, 9vw, 6.2rem); letter-spacing: -0.04em; }
.ot-big { font-size: clamp(5.4rem, 21vw, 15rem); line-height: .86; letter-spacing: -0.06em; margin-left: -0.05em; }
.open-side { padding-bottom: clamp(8px, 2vw, 28px); }
.open-lede { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); font-weight: 500; max-width: 38ch; }
.open-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.open .btn-solid { background: var(--gold); color: #1a1206; }
.open .btn-solid:hover { background: #D3AC4E; }
.open .btn-line { color: inherit; }

/* ticker */
.ticker {
  position: relative; overflow: hidden;
  background: #1A1736; color: #F3F1FA;
  border-top: 1px solid rgba(255,255,255,.1);
}
.ticker-track { display: flex; width: max-content; animation: tick 46s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-list { display: flex; flex-shrink: 0; }
.ticker-list li { display: flex; align-items: center; gap: 12px; padding: 18px 34px; font: 700 1rem/1 var(--display); letter-spacing: -0.01em; white-space: nowrap; }
.ticker-list em { font: 500 .9375rem/1 var(--body); font-style: normal; color: #B5B0CC; }
@keyframes tick { to { transform: translateX(-50%); } }
.dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.dot.now { background: var(--gold); }
.dot.dev { background: linear-gradient(90deg, var(--gold) 50%, transparent 50%); border: 2px solid var(--gold); }
.dot.future { border: 2px dashed #B5B0CC; }

/* ---------- Feature sections (shared) ---------- */
.feature { position: relative; overflow: hidden; isolation: isolate; }
.feature-inner { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(72px, 10vw, 140px) var(--gutter); }

/* ---------- Total Takeover ---------- */
.tt { background: #0F2A28; color: #EEF6F3; }
.tt::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 85% 30%, rgba(95, 181, 165, .22), transparent 70%),
    radial-gradient(50% 60% at 10% 100%, rgba(194, 154, 59, .18), transparent 70%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 2px, transparent 2px 22px);
}
.tt .feature-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.chip-now { color: #7CC4B5; }
.tt-title { margin-top: 18px; font-weight: 900; line-height: .9; letter-spacing: -0.05em; }
.tt-title span { display: block; font-size: clamp(3rem, 8.4vw, 7.4rem); }
.tt-title span + span { color: #7CC4B5; }
.tt-version { margin-top: 14px; font: 700 1rem/1 var(--display); color: var(--gold); }
.tt-beats { counter-reset: beat; margin-top: 34px; display: grid; gap: 16px; max-width: 46ch; }
.tt-beats li { counter-increment: beat; position: relative; padding-left: 52px; color: rgba(239,255,250,.8); }
.tt-beats li::before { content: counter(beat); position: absolute; left: 0; top: 0; font: 900 1.4rem/1.2 var(--display); color: var(--gold); }
.tt-beats strong { color: #fff; }
.tt-ctas { margin-top: 34px; }
.tt .btn-solid { background: #7CC4B5; color: #0B2622; }
.tt-note { margin-top: 26px; max-width: 48ch; font-size: .96875rem; color: rgba(239,255,250,.72); padding-left: 16px; border-left: 3px solid var(--gold); }

.tt-stage { position: relative; height: clamp(460px, 52vw, 680px); }
.phone {
  position: absolute; width: clamp(200px, 21vw, 290px); padding: 9px; border-radius: 38px;
  background: linear-gradient(160deg, #1d2b4a, #070b18);
  box-shadow: 0 40px 70px -25px rgba(0,0,0,.65), inset 0 0 0 1px rgba(255,255,255,.1);
}
.phone img { border-radius: 30px; width: 100%; aspect-ratio: 390 / 780; object-fit: cover; object-position: top; }
.p1 { left: 4%; top: 6%; transform: rotate(-7deg); z-index: 2; }
.p2 { right: 4%; top: 16%; transform: rotate(6deg); }

/* ---------- Our next game (lead feature) ---------- */
.ng { background: #1A1730; color: #F4F0FA; }
.ng-art { position: absolute; inset: 0 0 0 38%; z-index: -1; }
.ng-art img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.ng-art::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, #1A1730 0%, rgba(26,23,48,.86) 18%, rgba(26,23,48,.2) 55%, rgba(26,23,48,0) 100%),
              linear-gradient(0deg, rgba(26,23,48,.55), transparent 35%);
}
.ng-inner { min-height: clamp(520px, 62vw, 760px); display: flex; align-items: center; }
.ng-copy { max-width: 34rem; }
.chip-dev { color: #E3C27A; }
.ng-title { margin-top: 18px; font-weight: 900; line-height: .9; letter-spacing: -0.05em; }
.ng-title span { display: block; font-size: clamp(3rem, 8.4vw, 7.4rem); }
.ng-title span + span { color: #E3C27A; }
.ng-hook { margin-top: 24px; font: 700 clamp(1.1rem, 1.8vw, 1.35rem)/1.35 var(--display); color: #fff; max-width: 30ch; }
.ng-body { margin-top: 14px; color: rgba(244,240,250,.8); max-width: 46ch; }
.ng-ctas { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.ng .btn-solid { background: #E3C27A; color: #1A1730; }
.ng .btn-line { color: #fff; border-color: rgba(255,255,255,.55); }
.open-also { margin-top: 18px; font-size: .9375rem; color: var(--soft); }
.open-also a { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Total Takeover, secondary */
.tt-compact .feature-inner { padding-block: clamp(56px, 7vw, 96px); grid-template-columns: 1.2fr .8fr; }
.tt-compact .tt-title span { font-size: clamp(2.4rem, 5.4vw, 4.6rem); }
.tt-compact .tt-beats { margin-top: 24px; }
.tt-compact .tt-stage { height: clamp(360px, 36vw, 480px); }
.tt-compact .phone { width: clamp(170px, 16vw, 220px); }

/* ---------- Music ---------- */
.music { background: #2B1631; color: #fff; }
.music::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 85% at 15% 50%, rgba(122, 57, 104, .75), transparent 70%),
    radial-gradient(45% 65% at 95% 5%, rgba(194, 154, 59, .38), transparent 70%);
}
.music-inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.disc {
  width: min(100%, 460px); aspect-ratio: 1; border-radius: 50%; justify-self: center;
  background:
    radial-gradient(circle, transparent 0 17%, rgba(255,255,255,.08) 17.4% 18%, transparent 18.4%),
    repeating-radial-gradient(circle, #160b2a 0 3px, #1f1138 3px 5px);
  box-shadow: 0 40px 80px -30px rgba(20, 0, 40, .7), inset 0 0 0 10px rgba(0,0,0,.25);
  display: grid; place-items: center;
  animation: spin 18s linear infinite;
}
.disc-label {
  width: 36%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #E3C273, #9C7322);
}
.disc-label img { width: 52%; }
@keyframes spin { to { transform: rotate(360deg); } }
.music .chip-now { color: #fff; }
.music-title { margin-top: 18px; font-size: clamp(3rem, 8vw, 7rem); font-weight: 900; letter-spacing: -0.05em; }
.music-copy > p:not(.chip) { margin-top: 22px; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); max-width: 40ch; font-weight: 500; }
.music-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.music .btn-solid { background: var(--gold); color: #1a1206; }
.music .btn-line { color: #fff; }

/* ---------- Slate: typographic index ---------- */
.slate { background: var(--base); }
.slate-inner { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(72px, 10vw, 140px) var(--gutter); }
.slate-head { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 64px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.slate-head h2 { font-size: clamp(2.2rem, 5vw, 4.2rem); font-weight: 900; }
.slate-head p { color: var(--soft); max-width: 48ch; }

.index-label { font: 600 1rem/1 var(--body); letter-spacing: 0; color: var(--soft); padding: 28px 0 14px; }
.rows { border-top: 2px solid var(--ink); }
.rows-future { border-top-style: dashed; border-top-color: var(--soft); }
.row {
  --m: var(--uv);
  display: grid; grid-template-columns: minmax(0, 1.6fr) 160px minmax(0, 1fr); gap: 8px 32px; align-items: baseline;
  padding: 22px 0 24px; border-bottom: 1px solid var(--rule);
  position: relative;
}
.m-play  { --m: var(--aqua); }
.m-story { --m: var(--ember); }
.m-book  { --m: var(--leaf); }
.m-tech  { --m: var(--sky); }
.row-title { font: 900 clamp(1.8rem, 4.6vw, 3.8rem)/1 var(--display); letter-spacing: -0.04em; transition: color .2s ease; }
.row:hover .row-title { color: var(--m); }
.row-medium { font-weight: 700; color: var(--m); }
.row-note { color: var(--soft); font-size: .96875rem; }
/* future rows: outlined type — visibly not built yet */
.rows-future .row-title { color: var(--base); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; }
.rows-future .row:hover .row-title { color: var(--base); -webkit-text-stroke-color: var(--m); }

/* ---------- Faith ---------- */
.faith {
  position: relative; isolation: isolate; overflow: hidden; color: #2A1E0A;
  background:
    radial-gradient(80% 90% at 50% 125%, rgba(138, 61, 104, .28), transparent 70%),
    radial-gradient(70% 70% at 10% 0%, #FBF3DD, transparent 70%),
    linear-gradient(180deg, #F1E3BC, #DDBB72);
}
.faith-inner { max-width: 1100px; margin: 0 auto; padding: clamp(80px, 12vw, 160px) var(--gutter); text-align: center; }
.faith-kicker { font: 700 1.125rem/1 var(--body); letter-spacing: 0; }
.faith blockquote { margin-top: 28px; }
.faith blockquote p { font: 900 clamp(2rem, 5.6vw, 4.6rem)/1.02 var(--display); letter-spacing: -0.045em; }
.faith cite { display: block; margin-top: 22px; font: 700 1rem/1 var(--body); font-style: normal; }
.faith-body { margin: 36px auto 0; max-width: 56ch; font-size: clamp(1.0625rem, 1.5vw, 1.1875rem); font-weight: 500; }

/* ---------- End: work + contact ---------- */
.end { background: var(--base-2); }
.end-inner { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(72px, 9vw, 120px) var(--gutter); display: grid; grid-template-columns: 1fr 1fr; gap: 56px clamp(40px, 7vw, 120px); }
.end h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 900; }
.end p { margin-top: 16px; color: var(--soft); max-width: 48ch; }
.email-list { grid-column: 1 / -1; padding-bottom: clamp(40px, 5vw, 64px); border-bottom: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); scroll-margin-top: 96px; }
.btn-soon { opacity: .62; cursor: default; }
.signup { margin-top: 28px; max-width: 640px; }
.signup-label { display: block; font-weight: 600; margin-bottom: 8px; }
.signup-label span { font-weight: 400; color: var(--soft); }
.signup-row { display: flex; flex-wrap: wrap; gap: 12px; }
.signup-input { flex: 1 1 260px; min-height: 52px; padding: 0 18px; border-radius: 999px; border: 1.5px solid color-mix(in srgb, var(--ink) 30%, transparent); background: var(--base); color: var(--ink); font: 500 1rem/1 var(--body); }
.signup-input::placeholder { color: var(--soft); opacity: .8; }
.signup-input:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 2px; }
.signup-btn { flex: 0 0 auto; min-height: 52px; }
.signup-trap { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.signup-note { margin-top: 12px !important; font-size: .9375rem; }
.signup-badge { margin-top: 18px !important; }
.signup-badge a { font-size: .875rem; color: var(--soft); }
.signup-note a { color: inherit; text-decoration: underline; }
.signup-pixel { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
@media (max-width: 520px) { .signup-btn { width: 100%; justify-content: center; } }
.work-links { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; }
.contact-links { margin-top: 26px; display: grid; gap: 4px; }
.contact-links li { display: grid; grid-template-columns: 100px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.contact-links span { color: var(--soft); }
.contact-links a { font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.contact-links a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--rule); background: var(--base-2); }
.foot-inner { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 26px var(--gutter) 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; color: var(--soft); font-size: .9375rem; }
.foot nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 20px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }

/* ---------- Inner page (members) ---------- */
.page { padding: 150px var(--gutter) clamp(72px, 10vw, 120px); max-width: calc(900px + 2 * var(--gutter)); margin: 0 auto; }
.page h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); font-weight: 900; color: var(--base); -webkit-text-stroke: 4px var(--ink); paint-order: stroke fill; }
.page .chip { color: var(--sky); margin-bottom: 18px; }
.page .prose { margin-top: 34px; display: grid; gap: 18px; color: var(--soft); font-size: 1.125rem; max-width: 60ch; }
.page .prose strong { color: var(--ink); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .open-inner { grid-template-columns: 1fr; align-content: end; }
  .tt .feature-inner, .music-inner, .slate-head, .end-inner { grid-template-columns: 1fr; }
  .tt-stage { height: 520px; max-width: 560px; }
  .tt-compact .tt-stage { height: 420px; }
  .ng-art { position: relative; inset: auto; z-index: 0; aspect-ratio: 16 / 10; }
  .ng-art::after { background: linear-gradient(0deg, #1A1730 0%, rgba(26,23,48,0) 45%); }
  .ng-inner { min-height: 0; padding-top: 8px; }
  .disc { width: min(78vw, 360px); }
  .row { grid-template-columns: 1fr; gap: 6px; }
}

@media (max-width: 860px) {
  .menu-btn { display: grid; }
  .members-btn { display: none; }
  .bars, .bars::before, .bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s ease; }
  .bars::before, .bars::after { content: ""; position: absolute; left: 0; }
  .bars::before { top: -6px; } .bars::after { top: 6px; }
  .menu-btn[aria-expanded="true"] .bars { background: transparent; }
  .menu-btn[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }
  .bar-actions { margin-left: auto; }
  .nav {
    max-height: calc(100vh - 76px); max-height: calc(100dvh - 76px); overflow-y: auto; overscroll-behavior: contain;
    position: fixed; inset: 76px 0 auto 0; margin: 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 26px; background: var(--base); border-bottom: 1px solid var(--rule);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .18s ease, transform .18s ease; }
  .nav a { font: 900 1.6rem/1.1 var(--display); letter-spacing: -0.03em; padding: 14px 4px; border-radius: 8px; }
  .nav .nav-members { display: flex; align-items: baseline; gap: 10px; margin-top: 8px; color: var(--base); -webkit-text-stroke: 2.5px var(--ink); paint-order: stroke fill; }
  .nav .nav-members small { font: 600 .875rem/1 var(--body); color: var(--soft); -webkit-text-stroke: 0; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .open-ctas .btn, .music-ctas .btn, .tt-ctas .btn { flex: 1 1 100%; }
  .tt-stage { height: 430px; }
  .phone { width: 190px; border-radius: 30px; padding: 7px; }
  .phone img { border-radius: 24px; }
  .p1 { left: 0; } .p2 { right: 0; top: 14%; }
  .ticker-list li { padding: 15px 24px; font-size: .875rem; }
  .rows-future .row-title { -webkit-text-stroke-width: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* lead line inside a slate row note */
.row-lead { display: block; color: var(--ink); font-weight: 700; margin-bottom: 4px; }

/* clickable slate row */
.row-link { position: absolute; inset: 0; z-index: 1; border-radius: 4px; }
.row-more { position: relative; z-index: 2; display: inline-block; margin-top: 8px; font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.row:has(.row-link):hover .row-title { -webkit-text-stroke-color: var(--m); }

/* ---------- UBTS page ---------- */
.u-hero { position: relative; isolation: isolate; overflow: hidden; color: #F3F1FA; background: #171B38; }
.u-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(55% 70% at 85% 20%, rgba(61, 93, 152, .55), transparent 70%),
    radial-gradient(45% 60% at 10% 100%, rgba(194, 154, 59, .28), transparent 70%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 56px);
}
.u-hero-inner { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 160px var(--gutter) clamp(64px, 9vw, 112px); }
.u-hero .chip { color: #9FB6E3; }
.u-mark { margin-top: 18px; font: 900 clamp(4.4rem, 17vw, 13rem)/.85 var(--display); letter-spacing: -0.06em; color: #171B38; -webkit-text-stroke: 3px #F3F1FA; paint-order: stroke fill; }
.u-lead { margin-top: 26px; font: 900 clamp(1.7rem, 4vw, 3.2rem)/1.05 var(--display); letter-spacing: -0.035em; max-width: 18ch; }
.u-sub { margin-top: 22px; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); color: #C9C5DD; max-width: 52ch; }
.u-body { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(64px, 9vw, 120px) var(--gutter); }
.u-body h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 900; }
.u-gains { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.u-gains li { padding: 26px 28px 30px 0; border-bottom: 1px solid var(--rule); }
.u-gains li + li { padding-left: 28px; border-left: 1px solid var(--rule); }
/* King Chai portrait */
.kc-portrait { margin: 0; border-radius: 22px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.35); aspect-ratio: 4 / 3; }
.kc-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 52% 30%; }
.kc-crop { object-position: 52% 28% !important; }
.kc-key img { object-position: 52% 30%; }

/* V3 visuals */
.u-key figcaption { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 10px var(--gutter) 0; font-size: .875rem; color: var(--soft); }
.signin-art { display: block; width: min(320px, 100%); height: auto; border-radius: 14px; margin-bottom: 18px; }

/* App icon tile (Eden) */
.media-icon { position: relative; background: radial-gradient(55% 60% at 50% 50%, rgba(127, 224, 194, .28), transparent 70%), #0E1C3A !important; }
.media-icon .app-icon { position: absolute; inset: 0; margin: auto; width: min(52%, 220px); height: auto; aspect-ratio: 1; border-radius: 22%; box-shadow: 0 20px 44px rgba(0,0,0,.45); }
.teaser .media-icon { aspect-ratio: auto !important; height: min(40vh, 320px); }
.eden-icon { display: block; width: 112px; height: 112px; border-radius: 26px; margin: 0 auto 26px; box-shadow: 0 18px 40px rgba(0,0,0,.4); }
.ks-intro { max-width: 62ch; margin-top: 18px; color: var(--soft); }
.ks-cast { grid-template-columns: repeat(4, 1fr); }
.ks-cast li:nth-child(5) { padding-left: 0; border-left: 0; }
@media (max-width: 1100px) { .ks-cast { grid-template-columns: repeat(2, 1fr); } .ks-cast li:nth-child(odd) { padding-left: 0; border-left: 0; } .ks-cast li:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--rule); } }
.ks-hero::before { background: radial-gradient(50% 70% at 82% 18%, rgba(160, 40, 50, .45), transparent 70%), radial-gradient(45% 60% at 8% 100%, rgba(194, 154, 59, .3), transparent 70%); }
.ks-key img { height: auto !important; max-height: none; object-fit: contain; }
.ks-tag { margin-top: 18px; font-size: 1.15rem; }

/* Book cover tile */
.media-book { position: relative; background: radial-gradient(60% 60% at 50% 45%, rgba(194, 154, 59, .28), transparent 70%), #10142B !important; }
.media-book .book-cover { position: absolute; inset: 18px 0; margin: auto; height: calc(100% - 36px); width: auto; max-width: calc(100% - 36px); object-fit: contain; border-radius: 4px; box-shadow: 0 18px 40px rgba(0,0,0,.45); }
.teaser .media-book { aspect-ratio: auto !important; height: min(52vh, 480px); }

/* Eden Messages feature (home, lead project) */
.eden { position: relative; overflow: hidden; color: #F3F1FA; background: linear-gradient(135deg, #0F2A2E 0%, #12203F 55%, #1B1638 100%); }
.eden::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 60% at 80% 30%, rgba(72, 196, 160, .35), transparent 70%), radial-gradient(35% 50% at 15% 90%, rgba(194, 154, 59, .22), transparent 70%); pointer-events: none; }
.eden-inner { position: relative; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(72px, 9vw, 128px) var(--gutter); }
.eden-copy { max-width: 620px; }
.eden .chip { color: #9FE3CF; }
.eden-title { margin-top: 14px; font: 900 clamp(2.8rem, 6.4vw, 5.4rem)/.92 var(--display); letter-spacing: -0.05em; }
.eden-title span { display: block; }
.eden-hook { margin-top: 22px; font: 700 clamp(1.2rem, 2.2vw, 1.6rem)/1.25 var(--body); }
.eden-body { margin-top: 14px; max-width: 46ch; color: rgba(243, 241, 250, .78); }
.eden .btn-solid { background: #7FE0C2; color: #0B1F1C; }
.eden .btn-line { color: #F3F1FA; border-color: rgba(243, 241, 250, .55); }
.eden-art { position: absolute; right: clamp(16px, 6vw, 120px); top: 50%; transform: translateY(-50%); width: min(380px, 34vw); display: flex; flex-direction: column; gap: 14px; }
.bub { display: block; height: 46px; border-radius: 22px; background: rgba(255,255,255,.14); backdrop-filter: blur(6px); }
.b-in { align-self: flex-start; border-bottom-left-radius: 6px; }
.b-out { align-self: flex-end; border-bottom-right-radius: 6px; background: linear-gradient(135deg, rgba(127, 224, 194, .85), rgba(72, 160, 196, .85)); }
.w1 { width: 62%; } .w2 { width: 48%; } .w3 { width: 74%; height: 64px; } .w4 { width: 38%; }
.b-typing { width: 76px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.b-typing i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.7); animation: eden-dot 1.2s infinite ease-in-out; }
.b-typing i:nth-child(2) { animation-delay: .15s; } .b-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes eden-dot { 0%, 60%, 100% { opacity: .35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) { .b-typing i { animation: none; } }
@media (max-width: 860px) { .eden-art { position: relative; right: auto; top: auto; transform: none; width: auto; margin: 0 var(--gutter); padding-top: 56px; } .eden-inner { padding-top: 40px; } }
[data-theme="light"] .eden { background: linear-gradient(135deg, #E3F4EE 0%, #E6ECF8 60%, #EEE8F7 100%); color: var(--ink); }
[data-theme="light"] .eden .chip { color: #17695A; }
[data-theme="light"] .eden-body { color: var(--soft); }
[data-theme="light"] .eden .btn-solid { background: #17695A; color: #fff; }
[data-theme="light"] .eden .btn-line { color: var(--ink); border-color: currentColor; }
[data-theme="light"] .bub { background: rgba(23, 20, 44, .08); }
[data-theme="light"] .b-out { background: linear-gradient(135deg, rgba(23, 105, 90, .75), rgba(61, 93, 152, .75)); }
[data-theme="light"] .b-typing i { background: rgba(23, 20, 44, .45); }

.w-hero::before {
  background:
    radial-gradient(50% 70% at 82% 18%, rgba(214, 120, 52, .45), transparent 70%),
    radial-gradient(45% 60% at 8% 100%, rgba(194, 154, 59, .32), transparent 70%),
    radial-gradient(35% 45% at 50% 120%, rgba(72, 118, 160, .35), transparent 70%);
}
.w-mark { hyphens: none; -webkit-hyphens: none; margin-top: 18px; font: 900 clamp(2.4rem, 6.4vw, 5.2rem)/.98 var(--display); letter-spacing: -0.045em; max-width: 16ch; }
.w-hero .u-lead { color: #E9C77A; }
.w-sub { margin-top: clamp(48px, 6vw, 80px); font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 900; }
.w-cast { grid-template-columns: repeat(4, 1fr); }
.w-cast li:nth-child(5) { padding-left: 0; border-left: 0; }
.w-key { margin: 0; background: #171B38; }
.w-key img { display: block; width: 100%; height: clamp(240px, 46vw, 620px); object-fit: cover; }
.w-side img { margin-top: 28px; }
.w-art { display: block; height: auto; }
.w-shrine { width: min(200px, 40vw); filter: drop-shadow(0 18px 30px rgba(214, 120, 52, .35)); }
.w-trio { display: flex; gap: 12px; align-items: flex-end; margin-bottom: 22px; }
.w-trio img { height: clamp(150px, 20vw, 220px); width: auto; }
.w-face { display: block; width: 100%; max-width: 220px; aspect-ratio: 1; object-fit: contain; object-position: center bottom; margin-bottom: 16px; border-radius: 14px; background: radial-gradient(circle at 50% 70%, color-mix(in srgb, var(--gold) 22%, transparent), transparent 70%); }
.w-face.w-px { image-rendering: pixelated; padding: 10px 0 0; }
@media (max-width: 1100px) { .w-cast { grid-template-columns: repeat(2, 1fr); } .w-cast li:nth-child(odd) { padding-left: 0; border-left: 0; } .w-cast li:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--rule); } }
.u-gains h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em; }
.u-gains p { margin-top: 12px; color: var(--soft); }
.u-why { margin-top: clamp(64px, 8vw, 104px); display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 24px 64px; }
.u-why p { color: var(--soft); font-size: 1.125rem; max-width: 56ch; }
.u-why p + p { margin-top: 16px; }
.u-status { margin-top: clamp(64px, 8vw, 104px); padding: clamp(26px, 4vw, 44px); border: 1.5px dashed var(--sky); border-radius: 22px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px 48px; align-items: center; }
.u-status p { margin-top: 12px; color: var(--soft); max-width: 54ch; }
.u-status .btn-solid { background: var(--gold); color: #1a1206; }
.u-status-actions { justify-self: end; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.u-status-actions small { color: var(--soft); }
@media (max-width: 860px) {
  .u-gains { grid-template-columns: 1fr; }
  .u-gains li + li { padding-left: 0; border-left: 0; }
  .w-cast li:nth-child(n), .ks-cast li:nth-child(n) { padding-left: 0; border-left: 0; }
  .u-why, .u-status { grid-template-columns: 1fr; }
  .u-status-actions { justify-self: start; }
}

/* =========================================================
   LIGHT MODE — a true light version of the top of the site.
   Dark mode is unchanged (the rules above).
   ========================================================= */
[data-theme="light"] .bar { color: var(--ink); }
[data-theme="light"] .round-btn { background: rgba(255,255,255,.55); }

/* Opening screen: the same drifting field, in pale tones */
[data-theme="light"] .field { background: #F4F0FB; }
[data-theme="light"] .b1 { --c: #A9BCEB; opacity: .75; }
[data-theme="light"] .b2 { --c: #DDB4D6; opacity: .7; }
[data-theme="light"] .b3 { --c: #EDCF86; opacity: .7; }
[data-theme="light"] .b4 { --c: #A8D5CC; opacity: .6; }
[data-theme="light"] .open::after { background: linear-gradient(180deg, transparent 50%, rgba(255,255,255,.35)); }
[data-theme="light"] .open .grain { opacity: .12; mix-blend-mode: multiply; }
[data-theme="light"] .open-inner { color: var(--ink); }
[data-theme="light"] .open .btn-line { color: var(--ink); }

/* Project band */
[data-theme="light"] .ticker { background: #FFFFFF; color: var(--ink); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
[data-theme="light"] .ticker-list em { color: var(--soft); }
[data-theme="light"] .dot.future { border-color: var(--soft); }

/* Total Takeover: pale mint, deep teal accents */
[data-theme="light"] .tt { background: #E4F1EC; color: #12302B; }
[data-theme="light"] .tt::before {
  background:
    radial-gradient(60% 70% at 85% 30%, rgba(31, 116, 104, .16), transparent 70%),
    radial-gradient(50% 60% at 10% 100%, rgba(194, 154, 59, .18), transparent 70%),
    repeating-linear-gradient(135deg, rgba(18, 48, 43, .04) 0 2px, transparent 2px 22px);
}
[data-theme="light"] .tt .chip-now,
[data-theme="light"] .tt-title span + span { color: #1F7468; }
[data-theme="light"] .tt-version { color: var(--gold-deep); }
[data-theme="light"] .tt-beats li { color: #3E5A55; }
[data-theme="light"] .tt-beats li::before { color: var(--gold-deep); }
[data-theme="light"] .tt-beats strong { color: #12302B; }
[data-theme="light"] .tt .btn-solid { background: #1F7468; color: #fff; }
[data-theme="light"] .tt-note { color: #3E5A55; }
[data-theme="light"] .phone { box-shadow: 0 34px 60px -28px rgba(18, 48, 43, .45), inset 0 0 0 1px rgba(255,255,255,.1); }

/* Music: soft rose-plum with a gold glow */
[data-theme="light"] .music { background: #F3E6EF; color: #2B1631; }
[data-theme="light"] .music::before {
  background:
    radial-gradient(60% 85% at 15% 50%, rgba(138, 61, 104, .18), transparent 70%),
    radial-gradient(45% 65% at 95% 5%, rgba(194, 154, 59, .26), transparent 70%);
}
[data-theme="light"] .music .chip-now { color: #8A3D68; }
[data-theme="light"] .music .btn-line { color: #2B1631; }
[data-theme="light"] .disc { box-shadow: 0 34px 70px -32px rgba(43, 22, 49, .55), inset 0 0 0 10px rgba(0,0,0,.25); }

/* UBTS page hero */
[data-theme="light"] .u-hero { background: #E6EBF7; color: var(--ink); }
[data-theme="light"] .u-hero::before {
  background:
    radial-gradient(55% 70% at 85% 20%, rgba(61, 93, 152, .2), transparent 70%),
    radial-gradient(45% 60% at 10% 100%, rgba(194, 154, 59, .2), transparent 70%),
    repeating-linear-gradient(90deg, rgba(23,20,44,.05) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(0deg, rgba(23,20,44,.05) 0 1px, transparent 1px 56px);
}
[data-theme="light"] .u-hero .chip { color: #3D5D98; }
[data-theme="light"] .u-mark { color: #E6EBF7; -webkit-text-stroke-color: var(--ink); }
[data-theme="light"] .u-sub { color: var(--soft); }
[data-theme="light"] .w-hero { background: #F6EEE4; }
[data-theme="light"] .ks-hero { background: #F3E9EA; }
[data-theme="light"] .ks-hero::before { background: radial-gradient(50% 70% at 82% 18%, rgba(160, 40, 50, .18), transparent 70%), radial-gradient(45% 60% at 8% 100%, rgba(194, 154, 59, .2), transparent 70%); }
[data-theme="light"] .ks-hero .chip, [data-theme="light"] .ks-hero .u-lead { color: #8A2430; }
[data-theme="light"] .w-hero::before { background: radial-gradient(50% 70% at 82% 18%, rgba(214, 120, 52, .22), transparent 70%), radial-gradient(45% 60% at 8% 100%, rgba(194, 154, 59, .22), transparent 70%); }
[data-theme="light"] .w-hero .chip { color: #8F4A1F; }
[data-theme="light"] .w-hero .u-lead { color: #8F4A1F; }

/* =========================================================
   INNER PAGES
   ========================================================= */
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }

.ph {
  --m: var(--uv);
  position: relative; isolation: isolate; overflow: hidden;
  background: color-mix(in srgb, var(--m) 13%, var(--base));
}
[data-theme="dark"] .ph { background: color-mix(in srgb, var(--m) 26%, var(--base)); }
.ph::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(55% 80% at 90% 10%, color-mix(in srgb, var(--m) 30%, transparent), transparent 70%),
    radial-gradient(40% 60% at 0% 100%, rgba(194, 154, 59, .22), transparent 70%);
}
.ph-inner { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 150px var(--gutter) clamp(56px, 8vw, 96px); }
.ph .chip { color: var(--m); }
.ph h1 { margin-top: 16px; font-size: clamp(2.8rem, 8vw, 6.4rem); font-weight: 900; letter-spacing: -0.05em; line-height: .92; max-width: 14ch; }
.ph .lede { margin-top: 24px; font-size: clamp(1.0625rem, 1.6vw, 1.3rem); color: var(--soft); max-width: 50ch; }
.ph .ph-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.ph .btn-solid { background: var(--gold); color: #1a1206; }

.sect { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(56px, 8vw, 104px) var(--gutter); }
.sect + .sect { padding-top: 0; }
.sect h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 900; }
.split { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 20px 64px; align-items: start; }
.prose { display: grid; gap: 16px; color: var(--soft); font-size: 1.125rem; max-width: 60ch; }
.prose strong { color: var(--ink); }
.prose a { color: var(--ink); font-weight: 700; text-underline-offset: 4px; }

/* big-word list (values, focus areas) */
.words { border-top: 2px solid var(--ink); }
.words li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 6px 40px; align-items: baseline; padding: 20px 0 22px; border-bottom: 1px solid var(--rule); }
.words b { font: 900 clamp(1.4rem, 3.2vw, 2.4rem)/1 var(--display); letter-spacing: -0.035em; }
.words span { color: var(--soft); }

/* checklist */
.ticks { display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; color: var(--soft); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); }

/* call-to-action band */
.band { margin-top: clamp(48px, 7vw, 88px); padding: clamp(26px, 4vw, 44px); border-radius: 22px; background: var(--base-2); border: 1px solid var(--rule); display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px 48px; align-items: center; }
.band h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.band p { margin-top: 10px; color: var(--soft); max-width: 52ch; }
.band-actions { justify-self: end; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.band .btn-solid { background: var(--gold); color: #1a1206; }

/* founder */
.founder { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 32px clamp(32px, 6vw, 88px); align-items: start; }
.founder-photo { border-radius: 26px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 30px 60px -30px rgba(23, 20, 44, .45); }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }

/* embeds */
.embeds { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; }
.embed { border-radius: 18px; overflow: hidden; background: var(--base-2); border: 1px solid var(--rule); }
.embed iframe { display: block; width: 100%; border: 0; }
.embed-cap { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; }
.embed-cap b { font: 700 1rem/1.2 var(--display); letter-spacing: -0.01em; }
.embed-cap a { font-weight: 700; text-underline-offset: 4px; }

/* projects page rows: allow longer notes and links */
.rows .row-more { margin-top: 10px; }
.legend { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 26px; color: var(--soft); }
.legend span { display: inline-flex; align-items: center; gap: 10px; }
.legend .dot.now { background: var(--gold); }
.legend .dot.future { border-color: var(--soft); }

@media (max-width: 860px) {
  .split, .founder, .band, .embeds { grid-template-columns: 1fr; }
  .band-actions { justify-self: start; }
  .words li { grid-template-columns: 1fr; }
  .founder-photo { max-width: 420px; }
}
.m-music { --m: var(--flare); }
.slate-page { padding-top: clamp(32px, 5vw, 56px); }
.sect .index-label { font: 600 1rem/1 var(--body); letter-spacing: 0; color: var(--soft); }
[data-theme="dark"] .ph .chip { color: color-mix(in srgb, var(--m) 45%, #fff); }

/* =========================================================
   SELECTABLE PROJECTS — whole tile/row is the button,
   with a glass highlight on hover and keyboard focus.
   ========================================================= */

/* --- homepage slate rows: the whole line is selectable --- */
.row { cursor: pointer; isolation: isolate; border-radius: 14px; transition: background-color .25s ease; }
.row::before {
  content: ""; position: absolute; inset: 0 -14px; z-index: -1; border-radius: 16px;
  opacity: 0; transform: scale(.985);
  background:
    linear-gradient(115deg, rgba(255,255,255,.55), rgba(255,255,255,.12) 45%, rgba(255,255,255,.28)),
    color-mix(in srgb, var(--m) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--m) 40%, rgba(255,255,255,.6));
  box-shadow: 0 10px 30px -18px color-mix(in srgb, var(--m) 70%, transparent), inset 0 1px 0 rgba(255,255,255,.6);
  backdrop-filter: blur(10px) saturate(1.3); -webkit-backdrop-filter: blur(10px) saturate(1.3);
  transition: opacity .22s ease, transform .22s ease;
}
[data-theme="dark"] .row::before {
  background:
    linear-gradient(115deg, rgba(255,255,255,.14), rgba(255,255,255,.03) 45%, rgba(255,255,255,.08)),
    color-mix(in srgb, var(--m) 18%, transparent);
  border-color: color-mix(in srgb, var(--m) 45%, rgba(255,255,255,.18));
  box-shadow: 0 10px 30px -18px color-mix(in srgb, var(--m) 70%, transparent), inset 0 1px 0 rgba(255,255,255,.12);
}
.row:hover::before, .row:focus-within::before { opacity: 1; transform: none; }
.row:hover .row-title, .row:focus-within .row-title { color: var(--m); }
.rows-future .row:hover .row-title, .rows-future .row:focus-within .row-title { color: var(--base); -webkit-text-stroke-color: var(--m); }
.row-link:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 2px; border-radius: 14px; }
.row-go { position: relative; z-index: 0; grid-column: 3; justify-self: start; margin-top: 6px; font-weight: 700; color: var(--ink); display: inline-flex; gap: 8px; align-items: center; }
.row-go::after { content: ""; width: 18px; height: 2px; background: currentColor; transition: width .2s ease; }
.row:hover .row-go::after, .row:focus-within .row-go::after { width: 30px; }
@media (max-width: 980px) { .row-go { grid-column: 1; } .row::before { inset: 0 -10px; } }

/* --- project tiles --- */
.reel-group + .reel-group { margin-top: clamp(48px, 7vw, 88px); }
.reel-head { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.reel-head h2 { font: 700 1.125rem/1 var(--body); letter-spacing: 0; color: var(--soft); }
.sect .reel-head h2 { font-size: 1.125rem; }
.tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.tile { grid-column: span 3; }
.tile.wide { grid-column: span 6; }
.tile.third { grid-column: span 2; }

.tile {
  --m: var(--uv);
  position: relative; isolation: isolate; display: flex; flex-direction: column;
  text-align: left; font: inherit; color: inherit; text-decoration: none; cursor: pointer;
  padding: 0; border: 1px solid var(--rule); border-radius: 24px; overflow: hidden;
  background: color-mix(in srgb, var(--base) 70%, #fff);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
[data-theme="dark"] .tile { background: var(--base-2); }
.tile.wide { flex-direction: row; }
.tile.wide .tile-media { flex: 1.25; aspect-ratio: auto; min-height: 340px; }
.tile.wide .tile-body { flex: 1; justify-content: center; }

/* glass layer */
.tile::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit;
  opacity: 0;
  background:
    linear-gradient(115deg, transparent 20%, rgba(255,255,255,.42) 38%, rgba(255,255,255,.08) 52%, transparent 70%) -120% 0 / 220% 100% no-repeat,
    linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,0) 40%);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--m) 55%, rgba(255,255,255,.7)), inset 0 1px 0 rgba(255,255,255,.7);
  transition: opacity .25s ease, background-position .7s ease;
}
.tile:hover, .tile:focus-visible { transform: translateY(-4px); border-color: transparent; box-shadow: 0 26px 50px -28px color-mix(in srgb, var(--m) 80%, transparent); }
.tile:hover::after, .tile:focus-visible::after { opacity: 1; background-position: 120% 0, 0 0; }
.tile:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 4px; }

.tile-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: color-mix(in srgb, var(--m) 22%, var(--base)); }
.tile-body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 10px; padding: 24px 26px 26px; }
.tile-status { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .875rem; color: var(--m); }
[data-theme="light"] .tile-status { filter: saturate(1.1) brightness(.85); }
.tile-status .dot { width: 11px; height: 11px; }
.tile-status .dot.now { background: var(--gold); }
.tile-status .dot.future { border-color: var(--soft); }
.tile-title { font: 900 clamp(1.6rem, 3vw, 2.5rem)/1 var(--display); letter-spacing: -0.04em; transition: color .2s ease; }
.tile.wide .tile-title { font-size: clamp(2rem, 4.4vw, 3.6rem); }
.tile:hover .tile-title, .tile:focus-visible .tile-title { color: var(--m); }
.tile-hook { font-weight: 700; color: var(--ink); }
.tile-text { color: var(--soft); }
.tile-go { margin-top: 6px; font-weight: 700; display: inline-flex; align-items: center; gap: 10px; }
.tile-go::after { content: ""; width: 22px; height: 2px; background: currentColor; transition: width .25s ease; }
.tile:hover .tile-go::after, .tile:focus-visible .tile-go::after { width: 40px; }
.tile.future { border-style: dashed; }
.tile.future .tile-title { color: var(--base); -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; }
.tile.future:hover .tile-title, .tile.future:focus-visible .tile-title { color: var(--base); -webkit-text-stroke-color: var(--m); }

/* media treatments */
.media-phones { display: flex; justify-content: center; align-items: center; gap: 4%; height: 100%; padding: 6% 0;
  background: radial-gradient(70% 90% at 70% 20%, rgba(124,196,181,.45), transparent 70%), linear-gradient(160deg, #123a35, #0b211f); }
.media-phones img { height: 118%; width: auto; border-radius: 14px; border: 5px solid #0d1426; box-shadow: 0 18px 30px -14px rgba(0,0,0,.6); transform: rotate(-5deg) translateY(6%); }
.media-phones img + img { transform: rotate(5deg) translateY(12%); }
.media-disc { display: grid; place-items: center; height: 100%;
  background: radial-gradient(60% 90% at 20% 40%, rgba(138,61,104,.55), transparent 70%), radial-gradient(40% 60% at 90% 10%, rgba(194,154,59,.45), transparent 70%), #2b1631; }
.media-disc .disc { width: 62%; max-width: 300px; animation-duration: 28s; }
.tile:hover .media-disc .disc { animation-duration: 6s; }
.poster { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 7% 7%;
  background:
    radial-gradient(70% 90% at 85% 15%, color-mix(in srgb, var(--m) 70%, transparent), transparent 70%),
    radial-gradient(60% 70% at 0% 100%, rgba(194,154,59,.35), transparent 70%),
    linear-gradient(160deg, color-mix(in srgb, var(--m) 55%, #15122b), #15122b);
  color: #fff; }
.poster::before { content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E"); mix-blend-mode: overlay; }
.poster-kicker { position: relative; font-weight: 700; font-size: .875rem; opacity: .85; }
.poster-word { position: relative; font: 900 clamp(2.4rem, 6vw, 5.4rem)/.86 var(--display); letter-spacing: -0.05em; }
.poster-word.outline { color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.9); }
.poster.grid::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 1px, transparent 1px 40px), repeating-linear-gradient(0deg, rgba(255,255,255,.06) 0 1px, transparent 1px 40px); }
.poster.film::after { content: ""; position: absolute; left: 0; right: 0; top: 6%; height: 14px; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.55) 0 14px, transparent 14px 30px); box-shadow: 0 calc(100% + 0px) 0 0 transparent; }
.poster .flame { position: absolute; right: 9%; top: 14%; width: 22%; aspect-ratio: 3/4; border-radius: 50% 50% 46% 46% / 62% 62% 38% 38%;
  background: radial-gradient(circle at 50% 72%, #fff3c4, #f0b94a 35%, #c2582a 70%, transparent 72%); filter: blur(1px) drop-shadow(0 0 26px rgba(240,185,74,.8));
  animation: flick 2.6s ease-in-out infinite alternate; }
@keyframes flick { to { transform: scale(1.06, .96) rotate(2deg); filter: blur(1.5px) drop-shadow(0 0 34px rgba(240,185,74,.95)); } }

/* teaser dialog */
.teaser { width: min(920px, calc(100% - 28px)); max-height: calc(100svh - 40px); padding: 0; border: 0; border-radius: 26px; overflow: auto;
  background: var(--base); color: var(--ink); box-shadow: 0 40px 100px -30px rgba(10, 6, 30, .6); }
.teaser::backdrop { background: rgba(15, 12, 35, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.teaser[open] { animation: pop .28s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.teaser .tile-media { aspect-ratio: 16 / 8; }
.teaser-body { padding: 28px clamp(22px, 4vw, 40px) 34px; display: grid; gap: 14px; }
.teaser-body h2 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 900; }
.teaser-body p { color: var(--soft); font-size: 1.0625rem; max-width: 60ch; }
.teaser-body .tile-hook { color: var(--ink); font-size: 1.25rem; }
.teaser-close { position: absolute; top: 14px; right: 14px; z-index: 5; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.85); color: #17142c; font: 700 1.4rem/1 var(--body); box-shadow: 0 6px 20px -8px rgba(0,0,0,.4); }
.teaser-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.teaser .btn-solid { background: var(--gold); color: #1a1206; }

@media (max-width: 860px) {
  .tile, .tile.third { grid-column: span 6; }
  .tile.wide { flex-direction: column; }
  .tile.wide .tile-media { min-height: 0; aspect-ratio: 16 / 10; }
}
@media (prefers-reduced-motion: reduce) {
  .tile, .tile::after, .row::before { transition: none; }
  .tile:hover, .tile:focus-visible { transform: none; }
}
/* medium colors must win over the tile default */
.tile.m-play, .teaser.m-play { --m: var(--aqua); }
.tile.m-music, .teaser.m-music { --m: var(--flare); }
.tile.m-story, .teaser.m-story { --m: var(--ember); }
.tile.m-book, .teaser.m-book { --m: var(--leaf); }
.tile.m-tech, .teaser.m-tech { --m: var(--sky); }
.poster .flame { background: none; border-radius: 0; filter: drop-shadow(0 0 22px rgba(240,185,74,.75)); width: 20%; aspect-ratio: 4 / 5; }
.poster .flame svg { width: 100%; height: 100%; display: block; }
.poster-word.outline { color: rgba(255,255,255,.94); -webkit-text-stroke: 0; }

/* ---------- QA-002 (13 Nov): full-tile buttons, real art, ticker control ---------- */
.tile-hit { position: absolute; inset: 0; z-index: 4; width: 100%; margin: 0; padding: 0; border: 0; border-radius: inherit; background: transparent; cursor: pointer; }
.tile-hit:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 4px; }
.tile:has(.tile-hit:focus-visible) { transform: translateY(-4px); border-color: transparent; box-shadow: 0 26px 50px -28px color-mix(in srgb, var(--m) 80%, transparent); }
.tile:has(.tile-hit:focus-visible)::after { opacity: 1; background-position: 120% 0, 0 0; }
.tile:has(.tile-hit:focus-visible) .tile-title { color: var(--m); }
.tile.future:has(.tile-hit:focus-visible) .tile-title { color: var(--base); -webkit-text-stroke-color: var(--m); }
.media-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 38% 50%; transition: transform .6s ease; }
.tile:hover .media-img, .tile:has(.tile-hit:focus-visible) .media-img { transform: scale(1.03); }
.teaser .media-img { object-position: center; }

.ticker-toggle {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%); z-index: 2;
  min-width: 44px; height: 36px; padding: 0 12px; border-radius: 999px; cursor: pointer;
  font: 700 .8125rem/1 var(--body); color: inherit;
  background: color-mix(in srgb, currentColor 10%, transparent); border: 1px solid color-mix(in srgb, currentColor 30%, transparent);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.ticker.is-paused .ticker-track { animation-play-state: paused; }
.ticker .ticker-list { padding-right: 64px; }
@media (prefers-reduced-motion: reduce) {
  .ticker-toggle { display: none; }
  .ticker-track { width: auto; animation: none; }
  .ticker-list[aria-hidden="true"] { display: none; }
  .ticker-list { flex-wrap: wrap; flex-shrink: 1; width: 100%; padding: 8px var(--gutter) !important; }
  .ticker-list li { padding: 8px 18px 8px 0; }
}

/* Large text (200% zoom) and narrow phones: let very long words in the wide headline font wrap instead of pushing the page sideways. */
h1, h2, h3, .ot-line, .tt-title span, .music-title, .row-title, .tile-title, .u-mark, .poster-word, .faith blockquote p {
  overflow-wrap: break-word; hyphens: auto; min-width: 0;
}
.split > *, .u-why > *, .u-status > *, .band > *, .slate-head > *, .end-inner > *, .faith-inner > *, .tt .feature-inner > *, .music-inner > *, .open-inner > * { min-width: 0; }
.btn { max-width: 100%; white-space: normal; text-align: center; line-height: 1.2; }
.text-link, .contact-links a, .band-actions a, .u-status-actions small { overflow-wrap: anywhere; }
.band-actions, .u-status-actions { max-width: 100%; }

/* ---------- Projects media (14g) ---------- */
.teaser .teaser-video { aspect-ratio: 16 / 9; background: #0b0a14; }
.teaser .teaser-video video { width: 100%; height: 100%; display: block; object-fit: cover; background: #0b0a14; }
.video-desc { font-size: .9375rem !important; padding-left: 14px; border-left: 3px solid var(--m, var(--gold)); }
.play-badge { position: absolute; left: 18px; bottom: 18px; z-index: 2; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; color: #1a1206; background: var(--gold); box-shadow: 0 10px 28px -8px rgba(0,0,0,.55); }
.play-badge svg { margin-left: 3px; }
.tile .tile-media { position: relative; }
.listen-strip { margin-top: 22px; display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; align-items: center;
  padding: 22px clamp(18px, 3vw, 30px); border-radius: 22px; background: var(--base-2); border: 1px solid var(--rule); }
.listen-strip > * { min-width: 0; }
.listen-title { font: 900 clamp(1.4rem, 2.6vw, 2rem)/1.1 var(--display); margin-top: 8px; color: var(--ink); }
.listen-note { margin-top: 8px; color: var(--soft); font-size: .9375rem; }
.listen-player { min-height: 152px; display: grid; place-items: center; border-radius: 14px; background: var(--base); border: 1px dashed var(--rule); }
.listen-player iframe { width: 100%; height: 152px; border: 0; border-radius: 12px; display: block; }
@media (max-width: 760px) { .listen-strip { grid-template-columns: 1fr; } }
.u-overview { padding-bottom: 0 !important; } .u-overview .u-why { margin-top: 0; }

/* Small explanatory line illustrations ("spots") beside overview sections.
   Decorative: aria-hidden; headings carry the meaning. */
.spot { display: block; width: 52px; height: 52px; margin-bottom: 14px; color: var(--ink); opacity: .88; flex: none; }
.spot .a { stroke: var(--spot-acc, var(--gold)); }
.spot.acc-gold { --spot-acc: var(--gold-deep); }
.spot.acc-sky { --spot-acc: var(--sky); }
.spot.acc-uv { --spot-acc: var(--uv); }
.spot.acc-ember { --spot-acc: var(--ember); }
.spot.acc-leaf { --spot-acc: var(--leaf); }
[data-theme="dark"] .spot.acc-gold { --spot-acc: var(--gold); }
[data-theme="dark"] .spot.acc-uv { --spot-acc: var(--sky); }
.spot-wide { width: 138px; height: 46px; }
h2 > .spot { margin-bottom: 16px; }
.spot-in { display: inline-block; width: .82em; height: .82em; margin: 0 .32em 0 0; vertical-align: -.06em; stroke-width: 2.4; }
@media (max-width: 640px) { .spot { width: 44px; height: 44px; } .spot-wide { width: 120px; height: 40px; } }
/* Inline spots keep text size at every width (the mobile rule above must not enlarge them). */
.spot.spot-in { width: .82em; height: .82em; }
.index-label .spot-in { width: 1.05em; height: 1.05em; vertical-align: -.18em; margin-right: .4em; }
.mb-note { font-size: .95rem; color: var(--soft); }
.faith-kicker .spot-in { display: block; width: 36px; height: 36px; margin: 0 auto 14px; stroke-width: 2; }

/* Eden: illustrative phone mockups (15ze) */
.eden-phones { position: relative; width: 100%; height: clamp(420px, 44vw, 560px); margin: 0; }
.eden-phones .eph { position: absolute; width: auto; height: 92%; filter: drop-shadow(0 24px 40px rgba(0,0,0,.45)); }
.eden-phones .eph-back { left: 0; top: 0; transform: rotate(-6deg); opacity: .92; height: 84%; }
.eden-phones .eph-front { right: 0; bottom: 6%; transform: rotate(3deg); }
.eden-icon-sm { position: absolute; left: 4%; bottom: 0; width: 72px; height: 72px; border-radius: 18px; box-shadow: 0 12px 28px rgba(0,0,0,.4); }
.eden-phones figcaption { position: absolute; right: 0; bottom: -6px; font-size: .8rem; font-weight: 600; letter-spacing: .02em; opacity: .75; }
@media (max-width: 860px) { .eden-phones { width: 100%; height: 440px; max-width: 400px; margin: 0 auto; } }
.eden-gallery { margin-top: 18px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 8px; }
.eden-gallery:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.eden-strip { display: flex; gap: 14px; width: max-content; }
.eden-shot { margin: 0; width: 170px; scroll-snap-align: start; text-align: center; }
.eden-shot img { width: 100%; height: auto; display: block; filter: drop-shadow(0 10px 18px rgba(0,0,0,.3)); }
.eden-shot figcaption { margin-top: 8px; font-size: .85rem; font-weight: 600; }
.eden-note { margin-top: 8px; font-size: .85rem; color: var(--soft); }

/* The UBTS key art caption sits on dark art in both themes. */
.u-key figcaption { color: rgba(243, 241, 250, .74); }

/* Alinguard title on the home feature: second line smaller so it fits. */
.ng-title span:first-child { font-size: clamp(2.6rem, 5.4vw, 5.2rem); white-space: nowrap; }
.ng-title .ng-sub { font-size: clamp(1.5rem, 3vw, 2.8rem); letter-spacing: -0.02em; margin-top: 10px; }

/* Visible focus for the trailer player in both themes (the browser draws its own inner controls). */
video:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; }
.teaser-video video:focus-visible { outline-offset: -3px; }

/* hero founder intro (16zl) */
.open-next { margin-top: 14px; max-width: 38ch; font-size: clamp(.95rem, 1.2vw, 1.05rem); color: var(--soft); }
.open-next a { color: var(--ink, currentColor); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; white-space: nowrap; }
