/* ==========================================================
   Yellowverve website
   Layout: dark, sun-lit canvas; content left-aligned on a 1240px
   container; one signature moment per page (rising sun + RIA scroll).
   ========================================================== */
:root {
  color-scheme: dark;
  /* Colour */
  --night: #0F0E0B;          /* page ground, warm black biased to the sun */
  --surface: #17150F;        /* raised panels */
  --surface-2: #211E16;      /* inputs, chips */
  --line: rgba(255, 236, 190, .10);
  --line-2: rgba(255, 236, 190, .18);
  --text: #F6F1E4;
  --text-2: #C9C2AF;
  --muted: #958E7B;
  --sun: #FFC933;            /* brand yellow */
  --sun-deep: #F5A700;
  --sun-ink: #1A1404;        /* text on yellow */
  --joy: #FF7A59;
  --purpose: #FFC933;
  --growth: #3CCFAE;
  --insight: #B4A6FF;
  --error: #FF8A7A;
  /* Type */
  --display: 'Syne', 'Avenir Next', 'Segoe UI', system-ui, sans-serif;
  --body: 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;
  /* Space */
  --container: 1240px;
  --section: clamp(88px, 11vw, 144px);
  --r-lg: 22px; --r-md: 14px; --r-sm: 10px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--night); color: var(--text);
  font-family: var(--body); font-size: 17px; line-height: 1.65;
  font-variant-numeric: tabular-nums; overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: var(--text); text-decoration-color: rgba(255, 201, 51, .6); text-underline-offset: 3px; }
a:hover { color: var(--sun); }
:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; }
::selection { background: var(--sun); color: var(--sun-ink); }

/* film grain */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }

.container { max-width: var(--container); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.section { padding-block: var(--section); position: relative; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--sun); color: var(--sun-ink); padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }

/* ---------- Type scale ---------- */
.display-xl { font-size: clamp(38px, 4.4vw, 64px); line-height: 1.02; letter-spacing: -0.03em; font-weight: 800; }
.display-l { font-size: clamp(38px, 5.4vw, 76px); line-height: 1; letter-spacing: -0.03em; font-weight: 700; }
.display-m { font-size: clamp(30px, 3.8vw, 52px); line-height: 1.05; letter-spacing: -0.025em; }
.title { font-size: clamp(22px, 2vw, 28px); line-height: 1.2; }
.lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--text-2); line-height: 1.6; max-width: 60ch; }
.muted { color: var(--text-2); }
.small { font-size: 14px; }
.label { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sun-text { color: var(--sun); }
.tm { font-size: .45em; vertical-align: super; font-weight: 600; letter-spacing: 0; margin-left: .04em; }

/* ---------- Buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 24px; border-radius: 999px; border: 1px solid transparent; font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; transition: transform .35s var(--ease), background-color .2s, color .2s, box-shadow .3s; will-change: transform; }
.btn-sun { background: var(--text); color: var(--night); }
.btn-sun:hover { background: #FFFFFF; color: var(--night); }
.btn-accent { background: var(--sun); color: var(--sun-ink); box-shadow: 0 10px 34px -12px rgba(255, 201, 51, .5); }
.btn-accent:hover { background: #FFD65C; color: var(--sun-ink); }
.btn-ghost { background: rgba(255, 255, 255, .03); color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); color: var(--text); }
.btn-dark { background: var(--sun-ink); color: var(--sun); }
.btn-dark:hover { background: #000; color: #FFE08A; }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Header ---------- */
.progress-bar { position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--progress, 0)); background: linear-gradient(90deg, var(--sun-deep), var(--sun)); z-index: 120; }
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding-top: env(safe-area-inset-top, 0px); transition: background-color .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(15, 14, 11, .78); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); margin-right: auto; }
.logo:hover { color: var(--text); }
.logo svg { width: 34px; height: 34px; flex: none; }
.logo-word { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; }
.logo-word b { color: var(--sun); font-weight: 700; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { position: relative; padding: 10px 14px; color: var(--text-2); text-decoration: none; font-size: 15px; font-weight: 600; border-radius: 999px; }
.nav a:hover { color: var(--text); background: rgba(255,255,255,.04); }
.nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 10px var(--sun); }
.header-cta { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); color: var(--text); cursor: pointer; align-items: center; justify-content: center; }
.nav .nav-cta { display: none; }
@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .nav { display: none; }
  .site-header.open { background: rgba(15,14,11,.96); }
  .site-header.open .nav { display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 100%; left: 0; right: 0; padding: 8px max(20px, env(safe-area-inset-left, 0px)) 24px; background: rgba(15,14,11,.98); border-bottom: 1px solid var(--line); }
  .site-header.open .nav a { padding: 16px 4px; font-size: 20px; font-family: var(--display); border-radius: 0; border-bottom: 1px solid var(--line); }
  .site-header.open .nav .nav-cta { display: flex; margin-top: 16px; border: 0; color: var(--sun-ink); justify-content: center; border-radius: 999px; }
}

/* ---------- Intro loader (first visit per session) ---------- */
.loader { position: fixed; inset: 0; z-index: 300; background: var(--night); display: grid; place-items: center; transition: clip-path 1s var(--ease) .1s, visibility 0s 1.2s; clip-path: inset(0 0 0 0); }
.loader.done { clip-path: inset(0 0 100% 0); visibility: hidden; }
.loader-stage { position: relative; width: min(420px, 80vw); text-align: center; }
.loader-sky { position: relative; height: 150px; overflow: hidden; border-bottom: 1px solid var(--line-2); }
.loader-sun { position: absolute; left: 50%; bottom: -200px; width: 200px; height: 200px; margin-left: -100px; border-radius: 50%; background: radial-gradient(circle at 50% 45%, #FFE38A, var(--sun) 45%, var(--sun-deep) 100%); box-shadow: 0 0 80px 20px rgba(255, 201, 51, .35); transform: translateY(var(--rise, 0px)); }
.loader-word { margin-top: 22px; font-family: var(--display); font-weight: 800; font-size: clamp(32px, 6vw, 46px); letter-spacing: -0.03em; }
.loader-word span { display: inline-block; opacity: 0; transform: translateY(18px); animation: letterIn .6s var(--ease) forwards; }
.loader-meta { display: flex; justify-content: space-between; margin-top: 18px; font-size: 13px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.loader-skip { background: none; border: 1px solid var(--line-2); color: var(--text-2); border-radius: 999px; padding: 6px 14px; font: inherit; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
@keyframes letterIn { to { opacity: 1; transform: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: calc(76px + clamp(28px, 4vw, 56px)); padding-bottom: clamp(48px, 6vw, 88px); overflow: hidden; isolation: isolate; }
.hero-glow { position: absolute; z-index: -1; right: -10%; top: -20%; width: 70vw; max-width: 980px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 201, 51, .14) 0%, rgba(245, 167, 0, .05) 35%, transparent 65%); filter: blur(10px); animation: breathe 9s ease-in-out infinite; pointer-events: none; }
.hero-fog { position: absolute; z-index: -1; left: -20%; bottom: -30%; width: 90vw; height: 60vh; background: radial-gradient(ellipse at center, rgba(255, 122, 89, .12), transparent 60%); animation: drift 22s ease-in-out infinite alternate; pointer-events: none; }
.spot { --mx: 70%; --my: 30%; }
.spot::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(500px circle at var(--mx) var(--my), rgba(255, 220, 120, .08), transparent 60%); }
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.08); opacity: .85; } }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(12%); } }
.hero-grid { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.hero-copy { flex: 6 1 480px; min-width: 0; }
.hero-copy .lead { margin-top: 20px; font-size: clamp(17px, 1.3vw, 19px); }
.hero-copy .btn-row { margin-top: 28px; }
.eyebrow-pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); font-size: 14px; color: var(--text-2); margin-bottom: 20px; }
.eyebrow-pill b { padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,.08); color: var(--text); font-size: 12px; letter-spacing: .04em; }
.split-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.split-word > span { display: inline-block; transform: translateY(0); }
.is-intro .split-word > span { transform: translateY(105%); }
.split-ready .split-word > span { transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 55ms + 150ms); transform: translateY(0); }
.verve { position: relative; color: var(--sun); white-space: nowrap; }
.verve svg { position: absolute; left: -2%; right: -2%; bottom: -.12em; width: 104%; height: .32em; overflow: visible; }
.verve path { fill: none; stroke: var(--sun); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 420; stroke-dashoffset: 0; }
.split-ready .verve path { animation: draw 1.2s var(--ease) .9s both; }
@keyframes draw { from { stroke-dashoffset: 420; } to { stroke-dashoffset: 0; } }
.hero-proof { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px 36px; font-size: 14px; color: var(--muted); }
.hero-proof strong { display: block; color: var(--text); font-size: 15px; }

/* Dashboard */
.dash-wrap { flex: 5 1 440px; min-width: 0; perspective: 1400px; position: relative; }
.dash { position: relative; border-radius: 20px; background: linear-gradient(180deg, rgba(33, 30, 22, .92), rgba(23, 21, 15, .96)); border: 1px solid var(--line-2); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 201, 51, .05) inset; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; transition: transform .6s var(--ease); overflow: hidden; }
.dash-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.dash-dots { display: flex; gap: 6px; } .dash-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.12); }
.dash-live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--growth); }
.dash-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--growth); box-shadow: 0 0 0 0 rgba(60, 207, 174, .6); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(60, 207, 174, .6); } 80%, 100% { box-shadow: 0 0 0 10px rgba(60, 207, 174, 0); } }
.dash-body { padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.dash-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.dash-title { font-family: var(--display); font-weight: 700; font-size: 18px; }
.dash-sub { font-size: 13px; color: var(--muted); }
.segmented { display: flex; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.segmented button { min-height: 34px; padding: 6px 14px; border: 0; border-radius: 999px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; background: transparent; color: var(--muted); transition: background .25s, color .25s; }
.segmented button[aria-pressed="true"] { background: var(--text); color: var(--night); }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 10px; }
.kpi { padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.kpi-label { font-size: 12px; color: var(--muted); }
.kpi-value { display: flex; align-items: baseline; gap: 8px; }
.kpi-value b { font-family: var(--display); font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
.kpi-value small { font-size: 12px; font-weight: 700; color: var(--growth); }
.dash-row { display: flex; flex-wrap: wrap; gap: 10px; }
.panel { padding: 14px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--line); min-width: 0; }
.panel-trend { flex: 3 1 260px; }
.panel-values { flex: 2 1 200px; display: flex; flex-direction: column; gap: 13px; }
.panel-label { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.trend-line { stroke-dasharray: 600; stroke-dashoffset: 0; }
.split-ready .trend-line { animation: drawLine 2s var(--ease) .8s both; }
@keyframes drawLine { from { stroke-dashoffset: 600; } to { stroke-dashoffset: 0; } }
.vrow { display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; }
.vbar { position: relative; margin-top: 6px; height: 8px; border-radius: 4px; background: rgba(255,255,255,.06); }
.vfill { height: 8px; border-radius: 4px; transition: width .9s var(--ease); }
.vbase { position: absolute; top: -3px; width: 2px; height: 14px; background: var(--text); opacity: .8; }
.legend-base { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); }
.legend-base i { width: 2px; height: 10px; background: var(--text); }
.next-action { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--line); font-size: 14px; }
.next-action strong { color: var(--text); }
.float-badge { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: rgba(23,21,15,.92); border: 1px solid var(--line-2); box-shadow: 0 20px 40px -16px rgba(0,0,0,.7); font-size: 13px; animation: bob 6s ease-in-out infinite; }
.float-badge b { display: block; font-size: 14px; }
.float-badge .dot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 800; color: var(--sun-ink); }
.fb-1 { right: 28px; bottom: -30px; }
.fb-2 { right: -18px; top: -22px; animation-delay: -3s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.caption { margin-top: 18px; font-size: 13px; color: var(--muted); }

/* ---------- Marquee ---------- */
.marquee { position: relative; overflow: hidden; border-block: 1px solid var(--line); padding-block: 22px; background: var(--surface); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 36px; padding-right: 36px; }
.marquee-item { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 3vw, 36px); letter-spacing: -0.02em; white-space: nowrap; color: var(--text); }
.marquee-item.outline { color: transparent; -webkit-text-stroke: 1px rgba(246, 241, 228, .45); }
.marquee-star { width: 18px; height: 18px; flex: none; color: var(--muted); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Generic blocks ---------- */
.head-row { display: flex; flex-wrap: wrap; gap: 24px 64px; justify-content: space-between; align-items: flex-end; }
.head-row > :first-child { max-width: 760px; }
.head-row > p { max-width: 420px; color: var(--text-2); }
.grid { display: grid; gap: var(--gap, 20px); grid-template-columns: repeat(auto-fit, minmax(var(--min, 260px), 1fr)); }
.mt-s { margin-top: 16px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 56px; } .mt-xl { margin-top: 80px; }

/* reveal on scroll (only armed for below-the-fold content) */
.reveal-armed { opacity: 0; transform: translateY(28px); }
.reveal-in { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }

/* Research counters */
.stats { border-top: 1px solid var(--line); }
.stat { padding: 32px 28px 8px 0; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat-num { font-family: var(--display); font-weight: 800; font-size: clamp(56px, 7vw, 96px); line-height: .95; letter-spacing: -0.04em; color: var(--text); }
.stat-num small { font-size: .45em; letter-spacing: -0.01em; }
.stat p { margin-top: 16px; max-width: 34ch; }
.stat .cite { margin-top: 12px; font-size: 13px; color: var(--muted); }
@media (max-width: 860px) { .stat { border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 28px; } }

/* RIA pinned scroll */
.ria { position: relative; }
.ria-scroll { height: 320vh; position: relative; }
.ria-sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; }
.ria-inner { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.ria-letters { display: flex; flex-direction: column; gap: 4px; }
.ria-letter { display: flex; align-items: baseline; gap: 22px; font-family: var(--display); font-weight: 800; line-height: .9; letter-spacing: -0.04em; font-size: clamp(64px, 10vw, 150px); color: transparent; -webkit-text-stroke: 1.5px rgba(246, 241, 228, .28); transition: color .5s var(--ease), -webkit-text-stroke-color .5s; cursor: default; }
.ria-letter small { font-size: clamp(16px, 1.4vw, 20px); letter-spacing: 0; -webkit-text-stroke: 0; color: var(--muted); font-weight: 700; transition: color .5s; }
.ria-letter.active { color: var(--sun); -webkit-text-stroke-color: var(--sun); text-shadow: 0 0 60px rgba(255, 201, 51, .35); }
.ria-letter.active small { color: var(--text); }
.ria-track { margin-top: 28px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.08); max-width: 360px; overflow: hidden; }
.ria-track i { display: block; height: 100%; width: 100%; background: var(--sun); transform-origin: 0 50%; transform: scaleX(var(--p, .33)); }
.ria-panels { position: relative; min-height: 420px; }
.ria-panel { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 18px; opacity: 0; transform: translateY(30px); transition: opacity .6s var(--ease), transform .6s var(--ease); pointer-events: none; }
.ria-panel.active { opacity: 1; transform: none; pointer-events: auto; }
.ria-panel h3 { font-size: clamp(30px, 3.4vw, 46px); }
.ria-meta { display: grid; grid-template-columns: 110px 1fr; gap: 10px 16px; font-size: 15px; margin-top: 8px; padding-top: 20px; border-top: 1px solid var(--line); }
.ria-meta dt { color: var(--muted); }
.ria-meta dd { margin: 0; }
@media (max-width: 900px), (prefers-reduced-motion: reduce) {
  .ria-scroll { height: auto; }
  .ria-sticky { position: static; height: auto; display: block; padding-block: var(--section); }
  .ria-inner { grid-template-columns: 1fr; gap: 40px; }
  .ria-letters, .ria-track { display: none; }
  .ria-panels { min-height: 0; display: flex; flex-direction: column; gap: 48px; }
  .ria-panel { position: static; opacity: 1; transform: none; pointer-events: auto; }
  .ria-panel .ria-big { display: block !important; }
}
.ria-big { display: none; font-family: var(--display); font-weight: 800; font-size: 72px; line-height: .9; color: var(--text); }

/* Value cards with cursor glow */
.glow-card { position: relative; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); padding: 34px; overflow: hidden; isolation: isolate; transition: transform .5s var(--ease), border-color .3s; }
.glow-card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 0%), color-mix(in srgb, var(--c, var(--sun)) 22%, transparent), transparent 60%); }
.glow-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--c, var(--sun)) 45%, transparent); }
.glow-card:hover::before { opacity: 1; }
.value-dot { width: 46px; height: 46px; border-radius: 50%; background: var(--c); box-shadow: 0 0 40px -4px var(--c); }
.value-card h3 { margin-top: 28px; font-size: 38px; letter-spacing: -0.03em; }
.value-card .q { margin-top: 8px; font-size: 19px; font-weight: 600; }
.value-card p.muted { margin-top: 16px; }
.value-card dl { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 96px 1fr; gap: 8px 12px; font-size: 15px; }
.value-card dt { color: var(--muted); }
.value-card dd { margin: 0; }

/* Perks fade */
.stack { display: flex; gap: 3px; height: 64px; margin-top: 20px; }
.stack div { border-radius: 6px; transform-origin: 0 50%; }
.stack-armed div { transform: scaleX(0); }
.stack-in div { transform: scaleX(1); transition: transform 1.1s var(--ease); }
.stack-in div:nth-child(2) { transition-delay: .2s; } .stack-in div:nth-child(3) { transition-delay: .4s; }
.stack-labels { display: flex; gap: 3px; margin-top: 14px; font-size: 14px; color: var(--text-2); }
.stack-labels strong { display: block; font-family: var(--display); font-size: 26px; color: var(--text); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0; border-top: 1px solid var(--line); counter-reset: s; }
.steps li { position: relative; padding: 28px 24px 8px 0; }
.steps li::before { counter-increment: s; content: "0" counter(s); display: block; font-family: var(--display); font-weight: 800; font-size: 15px; color: var(--muted); }
.steps li::after { content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 2px; background: var(--text-2); transition: width 1s var(--ease); transition-delay: var(--d, 0ms); }
.steps.in li::after { width: calc(100% - 24px); }
.steps h3 { margin-top: 10px; font-size: 24px; }
.steps p { margin-top: 8px; font-size: 15px; color: var(--text-2); }

/* Heatmap */
.frame { border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line-2); padding: 22px; box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); }
.scroll-x { overflow-x: auto; }
.heat { width: 100%; min-width: 600px; border-collapse: separate; border-spacing: 3px; font-size: 13px; }
.heat th { font-weight: 600; color: var(--muted); padding: 6px 4px; }
.heat th[scope="row"] { text-align: left; color: var(--text); padding: 6px 8px; white-space: nowrap; }
.heat td { text-align: center; padding: 13px 4px; border-radius: 6px; font-weight: 700; transition: transform .2s; }
.heat td:hover { transform: scale(1.08); }
.h1c { background: #1F2523; color: var(--text); } .h2c { background: #21392F; color: var(--text); } .h3c { background: #275A49; color: var(--text); } .h4c { background: #2F8C71; color: #06140F; } .h5c { background: var(--growth); color: #06140F; }
.heat-legend { display: flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 12px; color: var(--muted); }
.heat-legend i { width: 18px; height: 10px; border-radius: 2px; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-direction: column; gap: 12px; }
.ticks li { display: flex; gap: 12px; }
.ticks svg { flex: none; margin-top: 4px; color: var(--growth); }

/* Offer + CTA */
.offer { display: flex; flex-wrap: wrap; gap: 20px; }
.offer-main { flex: 3 1 520px; min-width: 0; border-radius: var(--r-lg); padding: clamp(28px, 4vw, 52px); background: var(--surface); border: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 18px; position: relative; overflow: hidden; }
.offer-main::after { content: ""; position: absolute; right: -120px; top: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 201, 51, .10), transparent 65%); pointer-events: none; }
.offer-side { flex: 2 1 300px; min-width: 0; border-radius: var(--r-lg); padding: clamp(28px, 4vw, 48px); border: 1px dashed var(--line-2); display: flex; flex-direction: column; gap: 14px; }
.badge { align-self: flex-start; padding: 5px 12px; border-radius: 999px; background: rgba(60, 207, 174, .14); color: var(--growth); font-size: 13px; font-weight: 700; }
.who { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; font-size: 15px; }
.who i { display: block; width: 28px; height: 3px; border-radius: 2px; margin-bottom: 10px; }

.cta-sun { position: relative; overflow: hidden; background: var(--surface); color: var(--text); isolation: isolate; border-top: 1px solid var(--line); }
.cta-sun::after { content: ""; position: absolute; z-index: -1; left: 50%; bottom: -520px; width: 900px; height: 600px; margin-left: -450px; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(255, 201, 51, .16), transparent 65%); pointer-events: none; }
.cta-sun::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 110%; width: 1400px; height: 1400px; margin-left: -700px; border-radius: 50%; background: repeating-radial-gradient(circle, rgba(255, 236, 190, .035) 0 1px, transparent 1px 46px); animation: spin 120s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.cta-sun h2 { color: var(--text); }
.cta-sun p { color: var(--text-2); }
.cta-grid { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.cta-grid > * { min-width: 0; }

/* Forms */
.form-card { border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line-2); padding: clamp(24px, 4vw, 40px); color: var(--text); }
.cta-sun .form-card { background: var(--night); }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 14px; font-weight: 600; color: var(--text-2); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--surface-2); color: var(--text); font: inherit; font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.field select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%23C9C2AF' stroke-width='1.6' fill='none'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sun); box-shadow: 0 0 0 3px rgba(255, 201, 51, .18); }
.field input::placeholder, .field textarea::placeholder { color: #6F6958; }
.field.invalid input, .field.invalid select { border-color: var(--error); }
.field-error { font-size: 13px; color: var(--error); display: none; }
.field.invalid .field-error { display: block; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--text-2); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--sun); flex: none; }
.form-status { font-size: 14px; color: var(--error); min-height: 1em; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* Workshop page */
.triad { position: relative; width: 440px; max-width: 100%; aspect-ratio: 1 / 1; margin: 0 auto; animation: slowspin 60s linear infinite; }
.triad > div { position: absolute; width: 58%; height: 58%; border-radius: 50%; mix-blend-mode: screen; display: flex; font-family: var(--display); font-weight: 700; font-size: 22px; }
.triad .t-joy { left: 4%; top: 6%; background: radial-gradient(circle at 35% 35%, rgba(255,122,89,.55), rgba(255,122,89,.15)); padding: 20% 0 0 16%; color: #FFD3C6; }
.triad .t-purpose { right: 4%; top: 6%; background: radial-gradient(circle at 65% 35%, rgba(255,201,51,.55), rgba(255,201,51,.15)); justify-content: flex-end; padding: 20% 12% 0 0; color: #FFF0C2; }
.triad .t-growth { left: 21%; bottom: 2%; background: radial-gradient(circle at 50% 70%, rgba(60,207,174,.5), rgba(60,207,174,.15)); align-items: flex-end; justify-content: center; padding-bottom: 16%; color: #C6F5EA; }
.triad .t-center { position: absolute; left: 50%; top: 50%; width: auto; height: auto; transform: translate(-50%, -38%); mix-blend-mode: normal; padding: 7px 14px; border-radius: 999px; background: var(--text); color: var(--night); font-family: var(--body); font-size: 14px; }
.triad > div span { animation: slowspin 60s linear infinite reverse; display: inline-block; }
@keyframes slowspin { to { transform: rotate(360deg); } }
.triad .t-center { animation: none; }
.value-row { display: flex; flex-wrap: wrap; gap: 32px 64px; padding-block: 56px; border-top: 1px solid var(--line); }
.value-row:last-child { border-bottom: 1px solid var(--line); }
.value-row > div { min-width: 0; }
.value-row .intro { flex: 1 1 380px; }
.value-row .themes { flex: 1 1 460px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 560px) { .value-row .themes { grid-template-columns: 1fr; } }
.theme { padding: 20px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.theme b { font-family: var(--display); font-size: 17px; }
.theme small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c, var(--muted)); margin-bottom: 6px; }
.theme p { margin-top: 6px; font-size: 15px; color: var(--text-2); }
.principle { padding-top: 22px; border-top: 1px solid var(--line-2); }
.principle h3 { font-size: 22px; }
.principle p { margin-top: 10px; color: var(--text-2); }

/* RIA page */
.cycle { position: relative; width: 460px; max-width: 100%; aspect-ratio: 1; margin: 0 auto; }
.cycle-ring { position: absolute; inset: 12%; border-radius: 50%; border: 1px dashed var(--line-2); }
.cycle-orbit { position: absolute; inset: 12%; border-radius: 50%; animation: slowspin 14s linear infinite; }
.cycle-orbit::before { content: ""; position: absolute; top: -7px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 24px 6px rgba(255, 201, 51, .5); }
.cycle-node { position: absolute; width: 132px; height: 132px; margin: -66px 0 0 -66px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: var(--surface); border: 1px solid var(--line-2); }
.cycle-node b { font-family: var(--display); font-size: 44px; line-height: 1; color: var(--text); }
.cycle-node span { font-size: 14px; font-weight: 700; margin-top: 6px; }
.cn-r { left: 50%; top: 12%; } .cn-i { left: 83%; top: 69%; } .cn-a { left: 17%; top: 69%; }
.cycle-core { position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%); text-align: center; font-size: 14px; color: var(--muted); }
.cycle-core strong { display: block; font-family: var(--display); font-size: 26px; color: var(--text); }
.stage { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 32px 64px; padding-block: 64px; border-top: 1px solid var(--line); }
.stage:last-child { border-bottom: 1px solid var(--line); }
.stage-letter { font-family: var(--display); font-weight: 800; font-size: clamp(110px, 14vw, 190px); line-height: .8; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1.5px rgba(246, 241, 228, .35); position: sticky; top: 120px; align-self: start; }
.stage h2 { font-size: clamp(32px, 3.6vw, 48px); }
.stage .cols { margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
@media (max-width: 760px) { .stage { grid-template-columns: 1fr; } .stage-letter { position: static; font-size: 110px; } }
.matrix-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line-2); }
.matrix { width: 100%; min-width: 780px; border-collapse: collapse; font-size: 15px; }
.matrix th, .matrix td { padding: 18px 20px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.matrix thead th { border-top: 0; background: var(--surface); font-family: var(--display); font-size: 18px; }
.matrix tbody th { font-family: var(--display); font-size: 20px; white-space: nowrap; }
.matrix td { color: var(--text-2); }
.matrix tbody tr { transition: background .2s; }
.matrix tbody tr:hover { background: rgba(255,255,255,.025); }

/* Science page */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.timeline li { padding-top: 20px; border-top: 2px solid var(--c, var(--line-2)); }
.timeline .when { font-size: 14px; color: var(--muted); }
.timeline h3 { margin-top: 6px; font-size: 22px; }
.timeline p { margin-top: 8px; color: var(--text-2); }
.data-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 16px; }
.data-table th { text-align: left; padding: 16px 20px; background: var(--surface); font-family: var(--display); }
.data-table td { padding: 18px 20px; border-top: 1px solid var(--line); vertical-align: top; color: var(--text-2); }
.data-table td strong { color: var(--text); display: block; }
.data-table td small { color: var(--muted); }
.spectrum { height: 6px; border-radius: 3px; background: linear-gradient(90deg, #4A3C14, var(--sun)); margin-top: 48px; }
.ref { padding: 20px 0; border-top: 1px solid var(--line); }
.ref p { margin-top: 6px; color: var(--text-2); font-size: 16px; }
.ref .cite { margin-top: 6px; font-size: 13px; color: var(--muted); }
.team-photo { aspect-ratio: 4 / 5; max-width: 100%; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); font-size: 14px; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; min-height: 68px; padding: 20px 0; background: none; border: 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; text-align: left; font: inherit; font-family: var(--display); font-size: 20px; font-weight: 700; color: var(--text); cursor: pointer; }
.faq-q .pm { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: transform .35s var(--ease), background .2s; }
.faq-q[aria-expanded="true"] .pm { transform: rotate(45deg); background: var(--sun); color: var(--sun-ink); border-color: var(--sun); }
.faq-a { padding-bottom: 24px; color: var(--text-2); max-width: 72ch; }

/* Page hero (inner pages) */
.page-hero { padding-top: calc(76px + clamp(48px, 7vw, 96px)); padding-bottom: clamp(56px, 7vw, 96px); position: relative; overflow: hidden; isolation: isolate; }
.page-hero .hero-glow { right: -25%; top: -40%; width: 60vw; }

/* Floating CTA */
.float-cta { position: fixed; z-index: 90; right: max(20px, calc(env(safe-area-inset-right, 0px) + 20px)); bottom: max(20px, calc(env(safe-area-inset-bottom, 0px) + 20px)); transform: translateY(140%); transition: transform .5s var(--ease); }
.float-cta.show { transform: none; }
@media (max-width: 600px) { .float-cta { left: 20px; right: 20px; } .float-cta .btn { width: 100%; } }

/* Footer */
.site-footer { position: relative; border-top: 1px solid var(--line); overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 40px; padding-block: 72px 40px; font-size: 15px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col strong { font-family: var(--display); font-size: 15px; color: var(--text); }
.footer-col a { color: var(--text-2); text-decoration: none; }
.footer-col a:hover { color: var(--sun); }
.footer-word { font-family: var(--display); font-weight: 800; letter-spacing: -0.05em; line-height: .8; padding-bottom: .16em; font-size: clamp(64px, 17vw, 260px); color: transparent; -webkit-text-stroke: 1px rgba(246, 241, 228, .12); white-space: nowrap; user-select: none; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 24px 40px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* Prose */
.prose { max-width: 72ch; }
.prose h2 { font-size: 24px; margin-top: 40px; }
.prose p, .prose ul { margin-top: 12px; color: var(--text-2); }

/* Reduced motion: keep everything still and visible */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-armed { opacity: 1; transform: none; }
  .stack-armed div { transform: none; }
  .dash { transform: none !important; }
  body::after { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .float-badge { display: none; }
  .dash-body { padding: 14px; }
  .kpi-value b { font-size: 24px; }
  .glow-card { padding: 26px; }
}

.nav .tm { font-size: .62em; }
.cta-sun .form-card a { color: var(--sun); }
.cta-sun .form-card .muted { color: var(--text-2); }
.dash-wrap .caption { padding-right: 190px; }
@media (max-width: 640px) { .dash-wrap .caption { padding-right: 0; } }

/* Rising dots */
.particles { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.ria-sticky { isolation: isolate; }

/* Circle cursor (desktop mouse only) */
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor select, .has-cursor label, .has-cursor [role="button"] { cursor: none; }
.has-cursor input, .has-cursor textarea { cursor: text; }
.cursor-ring, .cursor-dot { position: fixed; left: 0; top: 0; z-index: 400; pointer-events: none; border-radius: 50%; opacity: 0; will-change: transform; }
.cursor-ring { width: 36px; height: 36px; border: 1.5px solid rgba(246, 241, 228, .7); transition: width .25s var(--ease), height .25s var(--ease), background-color .25s, border-color .25s, opacity .2s; }
.cursor-dot { width: 6px; height: 6px; background: var(--sun); transition: opacity .2s, width .2s, height .2s; }
.cursor-ring.on, .cursor-dot.on { opacity: 1; }
.cursor-ring.hover { width: 58px; height: 58px; background: rgba(246, 241, 228, .1); border-color: rgba(246, 241, 228, .95); mix-blend-mode: difference; }
.cursor-ring.down { width: 26px; height: 26px; }
.cursor-ring.text, .cursor-dot.text { opacity: 0; }
@media (hover: none), (pointer: coarse) { .cursor-ring, .cursor-dot { display: none; } }
