/* AgeReset Therapeutics — landing v2 (visual upgrade)
   navy + medical teal · full-screen sections · animated gradient · Cormorant + Inter
*/

:root {
  --bg: #0A0F1C;
  --bg-1: #0E1525;
  --bg-2: #14192A;
  --bg-3: #1A2238;
  --line: #1A2238;
  --line-2: #2A3553;
  --line-3: #36456B;
  --text: #ECEEF1;
  --text-2: #B5C2D2;
  --text-3: #7E8DA3;
  --text-4: #5C6B82;
  --accent: #00D4A8;
  --accent-2: #4ADE80;
  --accent-soft: rgba(0,212,168,.10);
  --warn: #C7A871;
  --max: 1240px;
  --gutter: clamp(20px, 4vw, 64px);
  --r: 4px;
  --r-lg: 18px;
  --t-fast: 240ms cubic-bezier(.2,.6,.2,1);
  --t-med: 600ms cubic-bezier(.2,.6,.2,1);
  --t-slow: 1100ms cubic-bezier(.2,.6,.2,1);
  --font-display: 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

*,*::before,*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: 'liga','calt','dlig','ss01','salt';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

img,svg,video { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: rgba(0,212,168,.30); color: #fff; }

.skip {
  position: fixed; left: -200vw; top: 0;
  background: var(--accent); color: #04130D; padding: 10px 14px; font-weight: 600;
  z-index: 1000; border-radius: 0 0 6px 0;
}
.skip:focus { left: 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* =========================  GLOBAL ANIMATED GRADIENT  ========================= */
body::before {
  content: ''; position: fixed; inset: 0; z-index: -10; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 18% 20%, rgba(0,212,168,.07), transparent 55%),
    radial-gradient(ellipse 60% 60% at 82% 80%, rgba(74,222,128,.04), transparent 50%),
    radial-gradient(ellipse 50% 50% at 50% 50%, rgba(0,212,168,.03), transparent 60%);
  filter: blur(30px);
  animation: meshDrift 28s ease-in-out infinite alternate;
}
@keyframes meshDrift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(2vw, -1vh) scale(1.04); }
  100% { transform: translate(-2vw, 1vh) scale(1.02); }
}
@media (prefers-reduced-motion: reduce) { body::before { animation: none; } }

/* =========================  NAV  ========================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px var(--gutter);
  background: rgba(10,15,28,.55);
  backdrop-filter: saturate(160%) blur(20px);
  -webkit-backdrop-filter: saturate(160%) blur(20px);
  border-bottom: 1px solid rgba(255,255,255,.04);
  z-index: 100;
  transition: background var(--t-fast), border-color var(--t-fast);
}
.nav.scrolled {
  background: rgba(10,15,28,.85);
  border-bottom-color: rgba(255,255,255,.08);
}
.brand { display: flex; flex-direction: column; gap: 2px; line-height: 1; }
.brand-mark {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: .14em;
  color: var(--text);
}
.brand-mark__sep { color: var(--accent); margin: 0 .15em; font-style: italic; }
.brand-sub { font-size: 10px; letter-spacing: .34em; color: var(--text-3); text-transform: uppercase; }

.nav-actions { display: flex; gap: 12px; align-items: center; }
.lang {
  font-size: 12px; letter-spacing: .2em; color: var(--text-2);
  padding: 7px 12px; border: 1px solid var(--line-2); border-radius: 2px;
  transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast);
}
.lang:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }

/* =========================  BUTTONS  ========================= */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .04em;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--t-fast), background var(--t-fast), border-color var(--t-fast), color var(--t-fast), box-shadow var(--t-fast);
  text-decoration: none;
  white-space: nowrap;
}
.btn-sm { padding: 9px 16px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.btn-primary {
  background: var(--accent);
  color: #02180F;
  border-color: var(--accent);
  box-shadow: 0 8px 32px -12px rgba(0,212,168,.45);
}
.btn-primary:hover { background: #1FE7BF; border-color: #1FE7BF; transform: translateY(-2px); box-shadow: 0 14px 38px -12px rgba(0,212,168,.6); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-3);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

/* =========================  SECTIONS BASE  ========================= */
.s {
  position: relative;
  padding: clamp(96px, 14vh, 180px) 0;
  border-top: 1px solid rgba(255,255,255,.04);
  display: flex;
  align-items: center;
  min-height: clamp(620px, 100vh, 1000px);
}
.s:first-of-type { border-top: 0; }

.kicker {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 0 0 28px;
  display: inline-flex; align-items: center; gap: 12px;
}
.kicker::before {
  content: ''; display: inline-block; width: 32px; height: 1px;
  background: var(--accent);
}

.h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(38px, 5.6vw, 68px);
  line-height: 1.04;
  letter-spacing: -.014em;
  margin: 0 0 40px;
  max-width: 18ch;
  color: var(--text);
}
.h2 em { font-style: italic; color: var(--accent); font-weight: 400; }
.h2 .accent { color: var(--accent); font-style: italic; }

.lede {
  font-size: clamp(18px, 1.4vw, 23px);
  line-height: 1.55;
  color: var(--text-2);
  max-width: 60ch;
  margin: 0 0 32px;
}
.lede strong { color: var(--text); font-weight: 500; }

/* reveal animation */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 900ms cubic-bezier(.2,.6,.2,1), transform 900ms cubic-bezier(.2,.6,.2,1);
}
[data-reveal].in {
  opacity: 1;
  transform: none;
}
[data-reveal][data-delay="1"] { transition-delay: 80ms; }
[data-reveal][data-delay="2"] { transition-delay: 160ms; }
[data-reveal][data-delay="3"] { transition-delay: 240ms; }
[data-reveal][data-delay="4"] { transition-delay: 320ms; }
[data-reveal][data-delay="5"] { transition-delay: 400ms; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* =========================  HERO  ========================= */
.s-hero {
  min-height: 100vh;
  padding-top: 130px;
  padding-bottom: 80px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-top: 0;
  align-items: center;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: image-set(
    url('/img/hero-720.jpg') 1x,
    url('/img/hero-1024.jpg') 1.5x,
    url('/img/hero-1920.jpg') 2x
  );
  background-image: -webkit-image-set(
    url('/img/hero-720.jpg') 1x,
    url('/img/hero-1024.jpg') 1.5x,
    url('/img/hero-1920.jpg') 2x
  );
  background-image: url('/img/hero-1920.jpg');
  background-size: cover;
  background-position: center;
  z-index: -3;
  filter: saturate(1.05);
  will-change: transform;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 30% 50%, rgba(10,15,28,.65), rgba(10,15,28,.92) 70%, var(--bg)),
    linear-gradient(180deg, rgba(10,15,28,.40) 0%, rgba(10,15,28,.85) 60%, var(--bg) 100%);
}

.hero-grid {
  position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 30%, transparent 80%);
}

.hero-wrap { position: relative; z-index: 1; width: 100%; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: .34em; text-transform: uppercase;
  color: var(--text-2);
  padding: 9px 16px;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  background: rgba(20,25,42,.55);
  backdrop-filter: blur(10px);
  margin-bottom: 36px;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(0,212,168,.16);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 4px rgba(0,212,168,.18); }
  50%     { box-shadow: 0 0 0 8px rgba(0,212,168,.04); }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(56px, 9.4vw, 144px);
  line-height: .96;
  letter-spacing: -.022em;
  margin: 0 0 36px;
  color: var(--text);
  max-width: 14ch;
  text-shadow: 0 2px 30px rgba(0,0,0,.4);
}
.hero-title .line { display: block; }
.hero-title .line.italic { font-style: italic; color: var(--accent); font-weight: 300; }

.hero-lede {
  font-size: clamp(17px, 1.35vw, 22px);
  line-height: 1.6;
  color: var(--text-2);
  max-width: 60ch;
  margin: 0 0 44px;
}
.hero-lede em { font-family: var(--font-display); font-style: italic; font-size: 1.08em; color: var(--text); }
.hero-lede strong { font-weight: 500; color: var(--text); }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 72px; }

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 28px;
  margin: 0;
  padding-top: 32px;
  border-top: 1px solid var(--line-2);
  max-width: 760px;
}
.hero-meta div { margin: 0; }
.hero-meta dt {
  font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--text-3);
  margin-bottom: 8px;
}
.hero-meta dd {
  font-family: var(--font-display);
  font-size: 24px;
  margin: 0;
  color: var(--text);
}
.hero-meta .num { color: var(--accent); }

.scroll-hint {
  position: absolute; left: 50%; bottom: 32px; transform: translateX(-50%);
  width: 22px; height: 36px; border: 1px solid var(--line-3); border-radius: 12px;
  display: flex; justify-content: center; padding-top: 6px;
  opacity: .5;
}
.scroll-hint span {
  width: 2px; height: 8px; background: var(--accent); border-radius: 1px;
  animation: hint 1.8s ease-in-out infinite;
}
@keyframes hint {
  0%   { transform: translateY(0); opacity: 1; }
  60%  { transform: translateY(10px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* =========================  THESIS / S2  ========================= */
.s-thesis { background: linear-gradient(180deg, transparent 0%, var(--bg-1) 100%); }
.manifesto {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(30px, 4.6vw, 60px);
  line-height: 1.16;
  color: var(--text);
  max-width: 22ch;
  letter-spacing: -.006em;
}
.manifesto p { margin: 0 0 .35em; }
.manifesto em { font-style: italic; color: var(--accent); }
.manifesto .hl { color: var(--text); }
.manifesto .dim { color: var(--text-3); font-size: .68em; font-weight: 300; }

/* =========================  PROBLEM / S3  ========================= */
.s-problem { background: var(--bg-1); }
.big-number {
  display: block;
  margin: 0 0 22px;
  line-height: .85;
  font-family: var(--font-display);
  font-weight: 300;
}
.big-number .huge {
  display: block;
  font-size: clamp(108px, 19vw, 240px);
  letter-spacing: -.045em;
  background: linear-gradient(180deg, #fff 0%, #5C6B82 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.big-number .huge-tail {
  display: block;
  font-size: clamp(22px, 2.1vw, 30px);
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-top: 10px;
  font-family: var(--font-body);
  font-weight: 400;
}
.market-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 32px;
  max-width: 680px;
  margin-top: 60px;
  padding-top: 32px;
  border-top: 1px solid var(--line-2);
}
.metric .metric-num {
  font-family: var(--font-display);
  font-size: clamp(44px, 4.6vw, 60px);
  color: var(--accent);
  line-height: 1;
  margin-bottom: 10px;
  font-feature-settings: 'lnum';
}
.metric.metric-mute .metric-num { color: var(--text-3); }
.metric .metric-cap { color: var(--text-2); font-size: 14px; max-width: 26ch; }

/* =========================  FAIL / S4  ========================= */
.fail-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 0;
}
.fail-list li {
  display: grid;
  grid-template-columns: 120px 1.4fr 2fr;
  gap: 36px;
  align-items: start;
  padding: 32px 0;
  border-top: 1px solid var(--line-2);
  transition: background var(--t-fast);
}
.fail-list li:hover { background: rgba(0,212,168,.025); }
.fail-list li:last-child { border-bottom: 1px solid var(--line-2); }
.fail-cap {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--accent);
  font-style: italic;
  font-weight: 400;
  font-feature-settings: 'lnum';
}
.fail-name {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--text);
  line-height: 1.2;
}
.fail-name span {
  display: block; margin-top: 6px;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--text-3);
  text-transform: uppercase;
}
.fail-why { color: var(--text-2); font-size: 16px; line-height: 1.6; }

/* =========================  INSIGHT / S5  ========================= */
.s-insight {
  background: var(--bg-1);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.s-insight::before {
  content: ''; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 80vmax; height: 80vmax;
  background: radial-gradient(circle, rgba(0,212,168,.08), transparent 60%);
  z-index: 0;
  filter: blur(60px);
}
.insight-wrap { max-width: 920px; position: relative; z-index: 1; }
.insight-line {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(40px, 6.4vw, 84px);
  line-height: 1.04;
  color: var(--text);
  margin: 0 0 8px;
}
.insight-line em { font-style: italic; color: var(--accent); }
.insight-body {
  font-family: var(--font-body);
  font-size: clamp(17px, 1.4vw, 23px);
  color: var(--text-2);
  margin: 40px auto 32px;
  max-width: 50ch;
  line-height: 1.55;
}
.insight-body strong { color: var(--text); font-weight: 500; }
.insight-punch {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.8vw, 38px);
  line-height: 1.25;
  color: var(--text);
  font-weight: 300;
  max-width: 30ch;
  margin: 0 auto;
}
.insight-punch .hl { color: var(--accent); font-style: italic; }

/* =========================  SOLUTION / S6  ========================= */
.layers {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 28px;
}
.layers li {
  padding: 36px 32px 40px;
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg-1) 100%);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
  transition: border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}
.layers li::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 0% 0%, rgba(0,212,168,.07), transparent 70%);
  pointer-events: none;
  opacity: .8;
}
.layers li:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 18px 60px -32px rgba(0,212,168,.5);
}
.layer-n {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 64px;
  color: var(--accent);
  display: block;
  margin-bottom: 14px;
  line-height: 1;
  position: relative;
}
.layers h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 28px;
  margin: 0 0 14px;
  color: var(--text);
  letter-spacing: -.005em;
  position: relative;
}
.layers p { color: var(--text-2); font-size: 15px; line-height: 1.6; margin: 0; position: relative; }

/* =========================  WHY / S7  ========================= */
.cmp-wrap {
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  overflow: hidden;
  overflow-x: auto;
  background: var(--bg-1);
}
table.cmp {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 580px;
}
.cmp th,.cmp td {
  padding: 20px 18px;
  text-align: center;
  vertical-align: middle;
  border-bottom: 1px solid var(--line-2);
}
.cmp tbody th {
  text-align: left;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  font-size: 15px;
}
.cmp thead th {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-3);
  padding-top: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-3);
}
.cmp thead th small {
  display: block; font-size: 10px; font-weight: 400;
  letter-spacing: .12em; color: var(--text-4); margin-top: 4px;
}
.cmp .cmp-self {
  color: var(--accent); font-weight: 600;
  background: rgba(0,212,168,.04);
}
.cmp tbody .cmp-self-cell { background: rgba(0,212,168,.04); }
.cmp tr:last-child td,.cmp tr:last-child th { border-bottom: 0; }
.cmp td.ok { color: var(--accent); font-size: 20px; font-weight: 500; }
.cmp td.no { color: var(--text-4); }
.cmp td.warn { color: var(--warn); font-size: 20px; }

/* =========================  MARKET / S8  ========================= */
.market-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 28px;
}
.mkt-card {
  padding: 44px 36px 38px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background:
    linear-gradient(180deg, rgba(0,212,168,.04), transparent 70%),
    var(--bg-1);
  transition: border-color var(--t-fast), transform var(--t-fast);
}
.mkt-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.mkt-num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(50px, 5.4vw, 80px);
  color: var(--accent);
  letter-spacing: -.022em;
  line-height: 1;
  margin-bottom: 22px;
  font-feature-settings: 'lnum';
}
.mkt-cap {
  font-size: 16px; line-height: 1.5; color: var(--text);
  margin-bottom: 10px;
}
.mkt-sub {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-3);
}

/* =========================  PLAN / S9  ========================= */
.timeline {
  list-style: none; padding: 0; margin: 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 28px;
}
.timeline::before {
  content: ''; position: absolute; top: 18px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, var(--line-2), var(--accent), var(--line-2));
  opacity: .4;
}
.timeline li { position: relative; padding-top: 48px; }
.timeline li::before {
  content: ''; position: absolute; top: 11px; left: 0;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 4px rgba(0,212,168,.10);
}
.tl-when {
  display: block;
  font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 14px;
  font-weight: 500;
}
.timeline h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  margin: 0 0 12px;
  color: var(--text);
}
.timeline p { color: var(--text-2); font-size: 14px; line-height: 1.55; margin: 0; }

/* =========================  TEAM / S10  ========================= */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 24px;
}
.person {
  padding: 36px 32px;
  background: var(--bg-1);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  transition: border-color var(--t-fast), transform var(--t-fast);
  position: relative;
  overflow: hidden;
}
.person::before {
  content: ''; position: absolute; top: -1px; left: 32px;
  width: 32px; height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-med);
}
.person:hover::before { transform: scaleX(1); }
.person:hover { border-color: var(--line-3); transform: translateY(-2px); }
.person h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 30px;
  margin: 0 0 6px;
  color: var(--text);
  letter-spacing: -.005em;
}
.person .role {
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 20px;
  font-weight: 500;
}
.person .cred { color: var(--text-2); font-size: 15px; line-height: 1.6; margin: 0; }

/* =========================  ASK / S11  ========================= */
.s-ask {
  background:
    radial-gradient(ellipse at 80% 50%, rgba(0,212,168,.06), transparent 60%),
    var(--bg-1);
}
.ask-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: center;
}
.donut { margin: 0; display: flex; justify-content: center; }
.donut svg .donut-num {
  font-family: var(--font-display);
  font-size: 28px;
  fill: var(--text);
  font-weight: 400;
}
.donut svg .donut-cap {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: .26em;
  text-transform: uppercase;
  fill: var(--text-3);
}
.alloc { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.alloc li {
  display: grid;
  grid-template-columns: 16px 64px 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-2);
}
.alloc li:last-child { border-bottom: 0; }
.adot { width: 10px; height: 10px; border-radius: 2px; }
.adot.c1 { background: #00D4A8; }
.adot.c2 { background: #7FB7FF; }
.adot.c3 { background: #C7A871; }
.adot.c4 { background: #5C6B82; }
.alloc-pct {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--text);
  font-weight: 400;
  font-feature-settings: 'lnum';
}
.alloc-cap { color: var(--text-2); font-size: 14px; line-height: 1.5; }

/* =========================  CTA / S12  ========================= */
.s-cta {
  background:
    radial-gradient(ellipse at 50% 100%, rgba(0,212,168,.08), transparent 60%),
    var(--bg);
}
.cta-quote {
  margin: 0 0 60px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.18;
  color: var(--text);
  max-width: 22ch;
}
.cta-quote em { color: var(--accent); font-style: italic; }
.cta-quote .dim { color: var(--text-3); font-size: .65em; margin-top: 10px; }
.cta-quote p { margin: 0 0 .25em; }

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  padding-top: 32px;
  border-top: 1px solid var(--line-2);
}
.cta-info { font-family: var(--font-body); }
.cta-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 30px;
  margin: 0 0 6px;
  color: var(--text);
}
.cta-role {
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 28px;
  font-weight: 500;
}
.cta-line { margin: 0 0 10px; color: var(--text-2); font-size: 16px; }
.cta-line a {
  color: var(--text); border-bottom: 1px solid var(--line-2);
  transition: color var(--t-fast), border-color var(--t-fast);
}
.cta-line a:hover { color: var(--accent); border-color: var(--accent); }
.cta-line.dim { color: var(--text-3); }

.cta-form {
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  padding: 32px;
}
.form-label {
  font-family: var(--font-display);
  font-size: 24px;
  margin: 0 0 18px;
  color: var(--text);
}
.form-row { display: flex; gap: 10px; }
.form-row input {
  flex: 1;
  padding: 14px 16px;
  font: inherit;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--line-3);
  border-radius: 2px;
  transition: border-color var(--t-fast);
}
.form-row input::placeholder { color: var(--text-3); }
.form-row input:focus { border-color: var(--accent); outline: none; }
.form-hint { margin: 14px 0 0; font-size: 12px; color: var(--text-3); letter-spacing: .02em; }

/* FOOTER */
.foot {
  border-top: 1px solid var(--line-2);
  background: var(--bg);
  padding: 28px 0;
  min-height: 0;
}
.foot.s { min-height: 0; padding: 28px 0; align-items: center; display: block; }
.foot-wrap {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
  gap: 12px;
}
.foot-copy { color: var(--text-3); font-size: 12px; letter-spacing: .04em; margin: 0; }
.foot-by { color: var(--text-4); font-size: 11px; letter-spacing: .14em; margin: 0; }
.foot-by a {
  color: var(--text-3);
  border-bottom: 1px solid transparent;
  transition: color var(--t-fast), border-color var(--t-fast);
}
.foot-by a:hover { color: var(--accent); border-color: var(--line-3); }

/* RESPONSIVE */
@media (max-width: 960px) {
  .layers, .market-grid, .team-grid { grid-template-columns: 1fr !important; }
  .timeline { grid-template-columns: 1fr !important; gap: 0; }
  .timeline::before {
    top: 0; bottom: 0; left: 6px; width: 1px; height: auto; right: auto;
    background: linear-gradient(180deg, var(--accent), var(--line-2));
    opacity: .3;
  }
  .timeline li { padding-top: 0; padding-left: 32px; padding-bottom: 32px; }
  .timeline li::before { left: 0; top: 6px; }
  .ask-grid, .cta-grid { grid-template-columns: 1fr !important; gap: 36px; }
  .fail-list li { grid-template-columns: 1fr !important; gap: 8px; padding: 26px 0; }
  .fail-cap { font-size: 26px; }
  .fail-name { font-size: 22px; }
  .hero-meta { grid-template-columns: 1fr !important; gap: 18px; }
  .hero-title { font-size: clamp(56px, 14vw, 110px); }
  .nav { padding: 14px var(--gutter); }
  .brand-mark { font-size: 18px; }
  .brand-sub { font-size: 9px; }
  .form-row { flex-direction: column; }
  .form-row .btn { justify-content: center; }
  .market-row { grid-template-columns: 1fr !important; }
  .s { min-height: 0; padding: clamp(80px, 12vh, 120px) 0; }
}

@media (max-width: 540px) {
  .s { padding: 84px 0; }
  .hero-actions .btn { flex: 1; justify-content: center; }
  .hero-meta dd { font-size: 19px; }
  .nav-actions .btn { display: none; }
  .h2 { font-size: clamp(34px, 9vw, 48px); }
  .layers li, .person, .mkt-card { padding: 28px 24px; }
}

/* BACKLIGHT */
.s-fail::before, .s-solution::before, .s-team::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 60vmax; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: .15;
}

/* HERO OVERLAY — let microscopy image breathe through */
.hero-bg::after {
  background:
    radial-gradient(ellipse 75% 65% at 30% 45%, rgba(10,15,28,.30), rgba(10,15,28,.78) 75%, var(--bg)),
    linear-gradient(180deg, rgba(10,15,28,.20) 0%, rgba(10,15,28,.60) 55%, var(--bg) 100%);
}
.hero-bg { filter: saturate(1.15) contrast(1.05); }
