/* ============================================================
   Aether Rep — v3
   Design system derived from the uploaded Axion build:
   light greys, gray-900 type, #F26522 accent, #1A1D2E blocks,
   rounded-2xl cards on soft shadows, expanding pill CTAs,
   glass panels, slide-up reveals. System sans — no webfont.
   ============================================================ */

:root{
  /* surfaces */
  --bg:        #F5F5F5;
  --bg-2:      #EFEFEF;
  --surface:   #FFFFFF;
  --ink:       #1A1D2E;
  --ink-2:     #22263B;
  --ink-3:     #2C3149;

  /* type */
  --text:      #111827;
  --text-dim:  #4B5563;
  --grey:      #6B6B6B;
  --line:      #E5E7EB;
  --line-2:    #D1D5DB;

  --on-dark:     #FFFFFF;
  --on-dark-dim: #A8AEC4;
  --line-dark:   rgba(255,255,255,.14);

  /* accent + semantics */
  --orange:    #F26522;
  --orange-dk: #E05A1A;
  --orange-lt: #E8704E;
  --risk:      #C62828;
  --risk-lt:   #F0A9A3;
  --good:      #1B7F5A;
  --good-lt:   #7FD3AE;

  /* legacy aliases so existing page markup keeps working */
  --brass:    var(--orange);
  --brass-lt: #FFB289;
  --mist:     var(--on-dark-dim);
  --slate:    var(--grey);
  --graphite: var(--text-dim);

  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif,
          "Apple Color Emoji", "Segoe UI Emoji";
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  --display: var(--sans);
  --body: var(--sans);

  --wrap: 1440px;
  --gut: clamp(16px, 3.5vw, 48px);
  --sec-y: clamp(64px, 9vw, 128px);
  --r: 16px;      /* rounded-2xl */
  --r-sm: 12px;   /* rounded-xl  */
  --r-xs: 4px;
  --sh:    0 2px 8px rgba(0,0,0,.08);
  --sh-hi: 0 4px 16px rgba(0,0,0,.12);
  --ease: cubic-bezier(.32,.72,0,1);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }

body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--body);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img,svg,video,canvas{ vertical-align:middle; display:block; }
img{ max-width:100%; height:auto; }
a{ color:inherit; text-decoration:none; }
::selection{ background:var(--orange); color:#fff; }

/* ---------- type ---------- */
h1,h2,h3,h4{ font-family:var(--display); margin:0 0 .4em; text-wrap:balance; }
h1{ font-size:clamp(1.75rem, 7vw, 4.2rem); font-weight:600; letter-spacing:-.03em; line-height:1.08; }
h2{ font-size:clamp(1.5rem, 4vw, 3.2rem); font-weight:600; letter-spacing:-.03em; line-height:1.12; }
h3{ font-size:clamp(1.15rem, 1.9vw, 1.6rem); font-weight:600; letter-spacing:-.02em; line-height:1.2; }
h4{ font-size:1.0625rem; font-weight:600; letter-spacing:-.02em; line-height:1.3; }
@media (min-width:640px){ h1{ font-size:clamp(2.5rem, 5vw, 4.2rem); } }

.xl{ font-size:clamp(2rem,6vw,4.2rem); font-weight:600; letter-spacing:-.03em; line-height:1.08; margin:0; }
.tint{ color:var(--text-dim); }
.sec--ink .tint{ color:var(--on-dark-dim); }

p{ margin:0 0 1em; }
p:last-child{ margin-bottom:0; }

.lede{
  font-size:15px; line-height:1.65; color:var(--text-dim); max-width:62ch;
}
@media (min-width:640px){ .lede{ font-size:17px; } }
@media (min-width:1280px){ .lede{ font-size:18px; } }
.sec--ink .lede{ color:var(--on-dark-dim); }
.lede--center{ margin-inline:auto; text-align:center; }

.eyebrow{
  font-size:11px; font-weight:600; letter-spacing:.14em; text-transform:uppercase;
  color:var(--orange); margin:0 0 1rem;
}
@media (min-width:640px){ .eyebrow{ font-size:12px; } }
.sec--ink .eyebrow{ color:var(--orange-lt); }

.mono{ font-family:var(--mono); font-size:11px; letter-spacing:.1em; text-transform:uppercase; }
.fn{ font-family:var(--mono); font-size:.62em; vertical-align:super; color:var(--text-dim); }
.head{ max-width:22ch; }
.head--center{ margin-inline:auto; text-align:center; max-width:22ch; }

/* ---------- layout ---------- */
.wrap{ width:100%; max-width:var(--wrap); margin-inline:auto; padding-inline:var(--gut); }
.wrap--narrow{ max-width:860px; }
.wrap--wide{ max-width:var(--wrap); }

.sec{ padding-block:var(--sec-y); position:relative; }
.sec--tight{ padding-block:clamp(44px,6vw,80px); }
.sec--ink{ background:var(--ink); color:var(--on-dark); }
.sec--ink h1,.sec--ink h2,.sec--ink h3,.sec--ink h4{ color:var(--on-dark); }
.sec--surface, .sec--paper{ background:var(--surface); }

.split{ display:grid; grid-template-columns:1fr; gap:clamp(28px,4vw,64px); align-items:start; }
@media (min-width:1024px){ .split{ grid-template-columns:minmax(0,1fr) minmax(0,1.15fr); } }

.grid{ display:grid; gap:clamp(14px,1.6vw,24px); grid-template-columns:1fr; }
@media (min-width:768px){ .g-2,.g-3,.g-4{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (min-width:1024px){
  .g-3{ grid-template-columns:repeat(3,minmax(0,1fr)); }
  .g-4{ grid-template-columns:repeat(4,minmax(0,1fr)); }
}

.rule{ height:1px; background:var(--line); border:0; margin:0; }
.sec--ink .rule{ background:var(--line-dark); }

/* ---------- glass (from the upload) ---------- */
.glass{
  position:relative; background:rgba(255,255,255,.012);
  -webkit-backdrop-filter:blur(4px); backdrop-filter:blur(4px);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.10);
}
.glass::before{
  content:""; position:absolute; inset:0; border-radius:inherit; padding:1px; pointer-events:none;
  background:linear-gradient(135deg, rgba(255,255,255,.34), rgba(255,255,255,.04));
  -webkit-mask:linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask:linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite:xor; mask-composite:exclude;
}
.glass-strong{ -webkit-backdrop-filter:blur(50px); backdrop-filter:blur(50px); }

/* ---------- nav ---------- */
.nav{
  position:sticky; top:0; z-index:80;
  background:rgba(245,245,245,.82);
  -webkit-backdrop-filter:blur(20px) saturate(180%); backdrop-filter:blur(20px) saturate(180%);
  border-bottom:1px solid var(--line);
}
.nav__in{ display:flex; align-items:center; justify-content:space-between; height:64px; gap:20px; }
.brand{ display:flex; align-items:baseline; gap:.45rem; flex:none; }
.brand__mark{ font-size:17px; font-weight:700; letter-spacing:-.03em; color:var(--text); }
.brand__mark b{ font-weight:700; color:var(--orange); }
.brand__sub{ font-size:10px; font-weight:600; letter-spacing:.16em; text-transform:uppercase; color:var(--grey); }

.menu{ display:flex; align-items:center; gap:clamp(10px,1.6vw,26px); list-style:none; margin:0; padding:0; }
.menu a{ font-size:14px; font-weight:500; color:var(--text); transition:color .2s; white-space:nowrap; }
.menu a:hover{ color:var(--grey); }

.has-sub{ position:relative; }
.sub{
  position:absolute; top:calc(100% + 10px); left:-14px; min-width:300px;
  background:var(--surface); border:1px solid var(--line); border-radius:var(--r);
  padding:8px; list-style:none; margin:0; box-shadow:var(--sh-hi);
  opacity:0; visibility:hidden; transform:translateY(-6px); transition:.25s var(--ease);
}
.has-sub:hover .sub, .has-sub:focus-within .sub{ opacity:1; visibility:visible; transform:none; }
.sub a{ display:block; padding:9px 12px; font-size:14px; border-radius:8px; color:var(--text-dim); }
.sub a:hover{ background:var(--bg-2); color:var(--text); }

.nav-toggle{
  display:none; background:none; border:1px solid var(--line-2); border-radius:9999px;
  color:var(--text); padding:7px 14px; font-size:12px; font-weight:600;
  letter-spacing:.1em; text-transform:uppercase; cursor:pointer;
}

/* ---------- buttons: pill + rotating arrow (from the upload) ---------- */
.btn{
  display:inline-flex; align-items:center; gap:.5rem; position:relative;
  font-size:14px; font-weight:600; letter-spacing:-.01em; line-height:1;
  padding:14px 22px; border:1px solid transparent; border-radius:9999px;
  background:var(--orange); color:#fff; cursor:pointer;
  transition:background .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
  box-shadow:var(--sh);
}
.btn::after{
  content:"\2197"; font-size:1.05em; line-height:1;
  transform:rotate(-45deg); transition:transform .35s var(--ease);
}
.btn:hover{ background:var(--orange-dk); box-shadow:var(--sh-hi); transform:translateY(-1px); }
.btn:hover::after{ transform:rotate(0deg); }
.btn--brass{ background:var(--orange); color:#fff; }
.btn--brass:hover{ background:var(--orange-dk); }
.btn--ghost{ background:var(--surface); color:var(--text); border-color:var(--line-2); box-shadow:none; }
.btn--ghost:hover{ background:var(--bg-2); border-color:var(--line-2); box-shadow:var(--sh); }
.sec--ink .btn--ghost, .hero .btn--ghost{
  background:rgba(255,255,255,.06); color:#fff; border-color:var(--line-dark);
}
.sec--ink .btn--ghost:hover, .hero .btn--ghost:hover{ background:rgba(255,255,255,.12); }
.btn--sm{ padding:10px 16px; font-size:13px; }
.btn--sm::after{ font-size:1em; }
.btn-row{ display:flex; flex-wrap:wrap; gap:12px; margin-top:1.75rem; }
.btn-row--center{ justify-content:center; }

.txt-link{
  display:inline-flex; align-items:center; gap:.3rem;
  font-size:14px; font-weight:600; color:var(--orange); transition:gap .25s var(--ease);
}
.txt-link::after{ content:"\2197"; transform:rotate(-45deg); transition:transform .35s var(--ease); }
.txt-link:hover{ gap:.5rem; }
.txt-link:hover::after{ transform:rotate(0); }
.sec--ink .txt-link{ color:var(--orange-lt); }

/* ---------- hero ---------- */
.hero{
  position:relative; overflow:hidden; background:var(--ink); color:var(--on-dark);
  padding-block:clamp(56px,8vw,112px) clamp(48px,7vw,96px);
}
.hero h1,.hero h2{ color:#fff; }
.hero .lede{ color:var(--on-dark-dim); }
.hero .eyebrow{ color:var(--orange-lt); }
.hero .crumbs, .hero .crumbs a{ color:var(--on-dark-dim); }
.hero__glow{
  position:absolute; inset:0; pointer-events:none;
  background:
    radial-gradient(60% 55% at 12% 0%, rgba(242,101,34,.26), transparent 62%),
    radial-gradient(50% 50% at 92% 22%, rgba(232,112,78,.16), transparent 68%),
    radial-gradient(60% 50% at 62% 108%, rgba(27,127,90,.12), transparent 70%);
}
.hero__in{ position:relative; }

/* asymmetric hero grid — 26% / 1fr / 48% at desktop */
.hero--home{ padding-block:clamp(48px,7vw,96px) 0; }
.hero--home .hero__in{ display:grid; grid-template-columns:1fr; gap:clamp(28px,4vw,48px); align-items:end; }
@media (min-width:1024px){
  .hero--home .hero__in{ grid-template-columns:26% 1fr 48%; gap:clamp(24px,2.5vw,40px); }
  .hero__aside{ align-self:end; }
}
.hero__cue{
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--mono); font-size:10px; letter-spacing:.18em; text-transform:uppercase;
  color:var(--on-dark-dim);
}
.hero__cue i{ display:block; width:1px; height:26px; background:linear-gradient(var(--orange),transparent); }
.hero__stack{ position:relative; }

/* ---------- serp rows ---------- */
.serp{ display:grid; gap:8px; }
.row{
  display:grid; grid-template-columns:auto 1fr auto; gap:14px; align-items:center;
  padding:14px 16px; border-radius:var(--r-sm);
  background:rgba(255,255,255,.05); border:1px solid var(--line-dark);
  transition:background .5s var(--ease), border-color .5s var(--ease), opacity .35s;
}
.row__fav{
  width:32px; height:32px; border-radius:8px; flex:none; display:grid; place-items:center;
  font-family:var(--mono); font-size:11px; font-weight:600;
  background:rgba(255,255,255,.09); color:var(--on-dark-dim); transition:.5s var(--ease);
}
.row__url{ font-family:var(--mono); font-size:10px; color:var(--on-dark-dim); margin-bottom:3px; }
.row__title{ font-size:14px; font-weight:500; letter-spacing:-.01em; line-height:1.3; }
.row__chip{
  font-family:var(--mono); font-size:9px; letter-spacing:.12em; text-transform:uppercase;
  padding:5px 9px; border-radius:9999px; white-space:nowrap;
  background:rgba(255,255,255,.08); color:var(--on-dark-dim); transition:.5s var(--ease);
}
.row[data-state="risk"]{ background:rgba(198,40,40,.16); border-color:rgba(198,40,40,.42); }
.row[data-state="risk"] .row__fav,
.row[data-state="risk"] .row__chip{ background:rgba(198,40,40,.28); color:#FFC9C4; }
.row[data-state="risk"] .row__title{ color:#FFC9C4; }
.row[data-state="owned"]{ background:rgba(242,101,34,.16); border-color:rgba(242,101,34,.44); }
.row[data-state="owned"] .row__fav,
.row[data-state="owned"] .row__chip{ background:rgba(242,101,34,.28); color:#FFC7A6; }
.row[data-state="owned"] .row__title{ color:#FFC7A6; }
.row[data-state="good"]{ background:rgba(27,127,90,.18); border-color:rgba(27,127,90,.42); }
.row[data-state="good"] .row__fav,
.row[data-state="good"] .row__chip{ background:rgba(27,127,90,.30); color:var(--good-lt); }

.console{
  border-radius:var(--r); overflow:hidden;
  background:rgba(255,255,255,.012);
  -webkit-backdrop-filter:blur(4px); backdrop-filter:blur(4px);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.12);
}
.console__bar{ display:flex; align-items:center; gap:10px; padding:14px 18px; border-bottom:1px solid var(--line-dark); }
.console__title{ font-family:var(--mono); font-size:10px; letter-spacing:.16em; text-transform:uppercase; color:var(--on-dark-dim); }
.console__state{ margin-left:auto; font-family:var(--mono); font-size:10px; letter-spacing:.1em; text-transform:uppercase; }
.console__state[data-state="exposed"]{ color:#FFC9C4; }
.console__state[data-state="managed"]{ color:#FFC7A6; }
.searchbar{
  display:flex; align-items:center; gap:10px; margin:16px 18px 4px;
  border:1px solid var(--line-dark); border-radius:9999px;
  background:rgba(0,0,0,.28); padding:11px 16px; transition:border-color .25s;
}
.searchbar:focus-within{ border-color:var(--orange); }
.searchbar svg{ flex:none; opacity:.5; }
.searchbar input{
  flex:1; background:none; border:0; color:#fff; font-family:var(--sans);
  font-size:14px; outline:none; min-width:0;
}
.searchbar input::placeholder{ color:var(--on-dark-dim); }
.results{ padding:14px 18px 18px; display:grid; gap:8px; }
.toggle{ display:inline-flex; padding:4px; background:rgba(255,255,255,.08); border-radius:9999px; }
.toggle button{
  background:none; border:0; color:var(--on-dark-dim); cursor:pointer; border-radius:9999px;
  font-family:var(--sans); font-size:13px; font-weight:600; padding:8px 16px; transition:.25s var(--ease);
}
.toggle button[aria-pressed="true"]{ background:var(--orange); color:#fff; }
.console__foot{ display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; padding:0 18px 18px; }
.console__note{ font-family:var(--mono); font-size:9px; letter-spacing:.1em; text-transform:uppercase; color:var(--on-dark-dim); }

/* ---------- pinned scroll section ---------- */
.pin{ position:relative; background:var(--ink); color:var(--on-dark); height:520vh; }
.pin__sticky{ position:sticky; top:0; height:100vh; display:flex; align-items:center; overflow:hidden; }
.pin__grid{ display:grid; grid-template-columns:1fr; gap:24px; align-items:center; width:100%; }
@media (min-width:1024px){ .pin__grid{ grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); gap:clamp(28px,4vw,64px); } }
.pin__caps{ position:relative; min-height:250px; }
@media (max-width:1023px){ .pin__caps{ min-height:190px; } }
.pin__cap{ position:absolute; inset:0; opacity:0; transform:translateY(18px); transition:.5s var(--ease); pointer-events:none; }
.pin__cap.is-on{ opacity:1; transform:none; }
.pin__cap h2{ font-size:clamp(1.5rem,3.6vw,2.8rem); margin-bottom:.5em; }
.pin__cap p{ color:var(--on-dark-dim); font-size:15px; line-height:1.65; max-width:38ch; }
.pin__meter{ display:flex; align-items:center; gap:14px; margin-top:1.9rem; }
.pin__track{ flex:1; height:3px; background:rgba(255,255,255,.14); border-radius:9999px; overflow:hidden; max-width:240px; }
.pin__track i{ display:block; height:100%; width:0; background:var(--orange); }
.pin__pct{ font-family:var(--mono); font-size:11px; letter-spacing:.1em; color:var(--orange-lt); }

/* ---------- stats ---------- */
.stats{ display:grid; grid-template-columns:1fr; gap:clamp(20px,3vw,40px); }
@media (min-width:640px){ .stats{ grid-template-columns:repeat(2,1fr); } }
@media (min-width:1024px){ .stats{ grid-template-columns:repeat(4,1fr); } }
.stat b{
  display:block; font-size:clamp(2.25rem,5vw,3.5rem); font-weight:600;
  letter-spacing:-.03em; line-height:1.08; margin-bottom:.4rem; color:var(--text);
}
.sec--ink .stat b{ color:#fff; }
.stat span{ display:block; font-size:14px; color:var(--text-dim); line-height:1.5; max-width:24ch; }
.sec--ink .stat span{ color:var(--on-dark-dim); }
.stat--brass b{ color:var(--orange); }
.stat--good b{ color:var(--good); }
.sec--ink .stat--good b{ color:var(--good-lt); }
.stat--risk b{ color:var(--risk); }
.stat__pre{
  display:block; font-size:11px; font-weight:600; letter-spacing:.12em;
  text-transform:uppercase; color:var(--grey); margin-bottom:.5rem;
}
.sec--ink .stat__pre{ color:var(--on-dark-dim); }

/* ---------- cards ---------- */
.card{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--r);
  padding:clamp(22px,2.4vw,32px); box-shadow:var(--sh);
  transition:box-shadow .3s var(--ease), transform .3s var(--ease);
}
.card:hover{ box-shadow:var(--sh-hi); transform:translateY(-2px); }
.card__idx{
  display:block; font-size:11px; font-weight:600; letter-spacing:.12em;
  text-transform:uppercase; color:var(--orange); margin-bottom:1.25rem;
}
.card h3{ margin-bottom:.5rem; }
.card p{ font-size:15px; color:var(--text-dim); line-height:1.65; }
.card .txt-link{ margin-top:1.25rem; }
.sec--ink .card{ background:var(--ink-2); border-color:var(--line-dark); box-shadow:none; }
.sec--ink .card p{ color:var(--on-dark-dim); }
.sec--ink .card:hover{ background:var(--ink-3); }
.card--feature{ padding:clamp(26px,3vw,44px); }
.card--dark{ background:var(--ink); color:#fff; border-color:transparent; }
.card--dark h3{ color:#fff; }
.card--dark p{ color:var(--on-dark-dim); }

.tick{ list-style:none; margin:0; padding:0; display:grid; gap:.7rem; }
.tick li{ position:relative; padding-left:1.6rem; font-size:15px; color:var(--text-dim); line-height:1.6; }
.tick li::before{
  content:""; position:absolute; left:0; top:.6em; width:8px; height:8px;
  border-radius:var(--r-xs); background:var(--orange);
}
.sec--ink .tick li{ color:var(--on-dark-dim); }

/* ---------- rail ---------- */
.rail__head{ display:flex; align-items:flex-end; justify-content:space-between; gap:20px; margin-bottom:clamp(22px,3vw,36px); flex-wrap:wrap; }
.rail__nav{ display:flex; gap:8px; }
.rail__btn{
  width:40px; height:40px; border-radius:9999px; border:1px solid var(--line-2);
  background:var(--surface); color:var(--text); cursor:pointer; display:grid; place-items:center;
  font-size:16px; transition:.25s var(--ease); box-shadow:var(--sh);
}
.rail__btn:hover{ background:var(--orange); color:#fff; border-color:var(--orange); box-shadow:var(--sh-hi); }
.rail__btn[disabled]{ opacity:.35; cursor:default; box-shadow:none; }
.rail__btn[disabled]:hover{ background:var(--surface); color:var(--text); border-color:var(--line-2); }
.rail{
  display:grid; grid-auto-flow:column; grid-auto-columns:82%;
  gap:16px; overflow-x:auto; scroll-snap-type:x mandatory;
  scrollbar-width:none; padding-bottom:8px;
  margin-inline:calc(var(--gut) * -1); padding-inline:var(--gut);
}
@media (min-width:768px){ .rail{ grid-auto-columns:44%; } }
@media (min-width:1024px){ .rail{ grid-auto-columns:26%; } }
.rail::-webkit-scrollbar{ display:none; }
.rail > *{ scroll-snap-align:start; }
.rail .card{ height:100%; display:flex; flex-direction:column; }
.rail .card p{ flex:1; }

/* ---------- tabs ---------- */
.tabs{ display:flex; flex-wrap:wrap; gap:6px; justify-content:center; margin-bottom:clamp(24px,3vw,40px); }
.tab{
  background:var(--surface); border:1px solid var(--line); color:var(--text-dim); cursor:pointer;
  font-family:var(--sans); font-size:14px; font-weight:600; border-radius:9999px;
  padding:9px 18px; transition:.25s var(--ease);
}
.tab:hover{ color:var(--text); }
.tab[aria-selected="true"]{ background:var(--orange); color:#fff; border-color:var(--orange); }
.panel{ display:none; }
.panel.is-on{ display:block; animation:up .45s var(--ease) both; }
@keyframes up{ from{ opacity:0; transform:translateY(14px);} to{ opacity:1; transform:none; } }

/* ---------- timeline ---------- */
.tl{ display:grid; gap:0; position:relative; padding-left:clamp(24px,3vw,38px); }
.tl::before{ content:""; position:absolute; left:5px; top:8px; bottom:8px; width:1px; background:var(--line-2); }
.sec--ink .tl::before{ background:var(--line-dark); }
.tl__row{ padding-bottom:clamp(26px,3.2vw,40px); position:relative; }
.tl__row::before{
  content:""; position:absolute; left:calc(-1 * clamp(24px,3vw,38px) + 1px); top:9px;
  width:9px; height:9px; border-radius:var(--r-xs); background:var(--bg); border:1px solid var(--line-2);
  transition:.4s var(--ease);
}
.sec--ink .tl__row::before{ background:var(--ink); border-color:var(--line-dark); }
.tl__row.is-in::before{ background:var(--orange); border-color:var(--orange); }
.tl__row:last-child{ padding-bottom:0; }
.tl__t{ font-size:11px; font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:var(--orange); }
.tl__row h4{ margin:.5rem 0 .3rem; }
.tl__row p{ font-size:15px; color:var(--text-dim); margin:0; line-height:1.65; }
.sec--ink .tl__row p{ color:var(--on-dark-dim); }

/* ---------- situation picker ---------- */
.picker{ text-align:center; }
.picker select{
  appearance:none; -webkit-appearance:none;
  background:var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23111827' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 20px center;
  border:1px solid var(--line-2); border-radius:9999px; padding:14px 48px 14px 22px;
  font-family:var(--sans); font-size:15px; font-weight:600; color:var(--text); cursor:pointer;
  max-width:100%; box-shadow:var(--sh);
}
.answer{ margin-top:clamp(26px,3.5vw,44px); }
.answer__box{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--r);
  padding:clamp(24px,3vw,40px); text-align:left; box-shadow:var(--sh);
  animation:up .4s var(--ease) both;
}
.answer__box h3{ margin-bottom:.5rem; }
.answer__meta{ display:flex; flex-wrap:wrap; gap:clamp(18px,3vw,40px); margin-top:1.6rem; padding-top:1.4rem; border-top:1px solid var(--line); }
.answer__meta div span{ display:block; font-size:11px; font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:var(--grey); margin-bottom:.35rem; }
.answer__meta div b{ font-size:15px; font-weight:600; letter-spacing:-.01em; }

/* ---------- compare ---------- */
.compare{ display:grid; grid-template-columns:1fr; gap:clamp(14px,2vw,24px); }
@media (min-width:768px){ .compare{ grid-template-columns:repeat(2,1fr); } }
.comp{ background:var(--surface); border:1px solid var(--line); border-radius:var(--r); padding:clamp(24px,3vw,38px); box-shadow:var(--sh); }
.comp--dark{ background:var(--ink); color:#fff; border-color:transparent; }
.comp__tag{ display:block; font-size:11px; font-weight:600; letter-spacing:.12em; text-transform:uppercase; margin-bottom:1rem; }
.comp--risk .comp__tag{ color:var(--risk); }
.comp--dark .comp__tag{ color:var(--orange-lt); }
.comp h3{ margin-bottom:1.4rem; }
.comp--dark h3{ color:#fff; }
.comp ul{ list-style:none; margin:0; padding:0; display:grid; }
.comp li{ padding:13px 0; border-top:1px solid var(--line); font-size:15px; color:var(--text-dim); display:flex; gap:11px; align-items:flex-start; line-height:1.6; }
.comp--dark li{ border-color:var(--line-dark); color:var(--on-dark-dim); }
.comp li::before{ content:"\2014"; color:var(--risk); flex:none; font-family:var(--mono); font-size:12px; line-height:1.5; }
.comp--dark li::before{ content:"+"; color:var(--orange-lt); }

/* ---------- exposure index ---------- */
.quiz{ background:var(--surface); border:1px solid var(--line); border-radius:var(--r); overflow:hidden; box-shadow:var(--sh); }
.sec--ink .quiz{ background:var(--ink-2); border-color:var(--line-dark); box-shadow:none; }
.quiz__head{ padding:18px clamp(20px,3vw,30px); display:flex; justify-content:space-between; gap:14px; align-items:center; flex-wrap:wrap; }
.quiz__body{ padding:8px clamp(20px,3vw,30px) clamp(24px,3vw,34px); }
.bar{ height:3px; background:var(--line); }
.sec--ink .bar{ background:var(--line-dark); }
.bar i{ display:block; height:100%; width:0; background:var(--orange); transition:width .45s var(--ease); }
.q{ display:none; }
.q.is-on{ display:block; animation:up .35s var(--ease) both; }
.q__no{ font-size:11px; font-weight:600; letter-spacing:.12em; color:var(--orange); }
.q h3{ margin:.6rem 0 1.3rem; font-size:clamp(1.15rem,2vw,1.6rem); max-width:26ch; }
.opts{ display:grid; gap:8px; }
.opt{
  text-align:left; background:var(--bg); border:1px solid var(--line); color:var(--text);
  padding:15px 18px; font-family:var(--sans); font-size:15px; font-weight:500; cursor:pointer;
  transition:.25s var(--ease); border-radius:var(--r-sm);
  display:flex; justify-content:space-between; align-items:center; gap:14px;
}
.opt:hover{ border-color:var(--orange); background:var(--surface); box-shadow:var(--sh); }
.sec--ink .opt{ background:var(--ink-3); color:#fff; border-color:var(--line-dark); }
.sec--ink .opt:hover{ background:#363B57; border-color:var(--orange); }
.opt span{ font-family:var(--mono); font-size:10px; letter-spacing:.1em; color:var(--grey); }
.sec--ink .opt span{ color:var(--on-dark-dim); }
.score{ display:none; }
.score.is-on{ display:block; animation:up .4s var(--ease) both; }
.score__num{ font-size:clamp(3.25rem,9vw,5.5rem); font-weight:600; letter-spacing:-.04em; line-height:1; color:var(--orange); }
.score__band{ font-size:12px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; margin:.6rem 0 1rem; color:var(--text); }
.sec--ink .score__band{ color:#fff; }
.score__advice{ color:var(--text-dim); max-width:48ch; font-size:15px; }
.sec--ink .score__advice{ color:var(--on-dark-dim); }

/* ---------- faq ---------- */
.faq{ border-top:1px solid var(--line); }
.sec--ink .faq, .sec--ink .faq details{ border-color:var(--line-dark); }
.faq details{ border-bottom:1px solid var(--line); }
.faq summary{
  cursor:pointer; padding:22px 44px 22px 0; position:relative; list-style:none;
  font-size:clamp(1rem,1.6vw,1.3rem); font-weight:600; letter-spacing:-.02em; line-height:1.35;
}
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{
  content:""; position:absolute; right:8px; top:50%; width:12px; height:12px;
  background:
    linear-gradient(var(--orange),var(--orange)) center/12px 2px no-repeat,
    linear-gradient(var(--orange),var(--orange)) center/2px 12px no-repeat;
  transform:translateY(-50%); transition:.3s var(--ease);
}
.faq details[open] summary::after{ transform:translateY(-50%) rotate(90deg); background:linear-gradient(var(--orange),var(--orange)) center/12px 2px no-repeat; }
.faq p{ padding:0 clamp(16px,6vw,96px) 24px 0; color:var(--text-dim); font-size:15px; margin:0; line-height:1.7; }
.sec--ink .faq p{ color:var(--on-dark-dim); }

.pull{ font-size:clamp(1.5rem,4vw,3.2rem); font-weight:600; letter-spacing:-.03em; line-height:1.12; max-width:20ch; }

/* ---------- prose ---------- */
.prose{ max-width:72ch; font-size:16px; line-height:1.75; }
@media (min-width:640px){ .prose{ font-size:17px; } }
.prose h2{ margin-top:2em; font-size:clamp(1.35rem,2.6vw,2.1rem); }
.prose h3{ margin-top:1.7em; }
.prose p,.prose li{ color:var(--text-dim); }
.prose ul,.prose ol{ padding-left:1.2rem; margin:0 0 1.4em; list-style:disc; }
.prose ol{ list-style:decimal; }
.prose li{ margin-bottom:.5rem; }
.prose blockquote{
  margin:2em 0; padding:clamp(20px,3vw,32px); background:var(--bg);
  border-radius:var(--r); border:1px solid var(--line); border-left:3px solid var(--orange);
  font-size:clamp(1.05rem,1.8vw,1.35rem); font-weight:600; letter-spacing:-.02em; line-height:1.4; color:var(--text);
}
.prose strong{ font-weight:600; color:var(--text); }

/* ---------- forms ---------- */
.form{ display:grid; gap:14px; }
.field label{ display:block; font-size:11px; font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:var(--grey); margin-bottom:6px; }
.field input,.field select,.field textarea{
  width:100%; background:var(--bg); border:1px solid var(--line); color:var(--text);
  padding:14px 16px; font-family:var(--sans); font-size:15px; outline:none;
  border-radius:var(--r-sm); transition:.2s;
}
.field input:focus,.field select:focus,.field textarea:focus{ border-color:var(--orange); background:var(--surface); }
.field textarea{ min-height:140px; resize:vertical; }
.check{ display:flex; align-items:flex-start; gap:.65rem; cursor:pointer; font-size:15px; color:var(--text-dim); }
.check input{ width:18px; height:18px; margin:3px 0 0; accent-color:var(--orange); flex:none; cursor:pointer; }
.form-msg{ margin:0; padding:14px 16px; border-radius:var(--r-sm); font-size:15px; line-height:1.5; }
.form-msg[data-state="ok"]{ background:rgba(27,127,90,.10); border:1px solid rgba(27,127,90,.35); color:#136143; }
.form-msg[data-state="err"]{ background:rgba(198,40,40,.08); border:1px solid rgba(198,40,40,.32); color:#9B1F1F; }
.form.is-sending button[type=submit]{ opacity:.55; pointer-events:none; }

/* ---------- figures ---------- */
.figure{ margin:0; }
.figure img, .figure svg{ width:100%; height:auto; display:block; border-radius:var(--r); }
.figure figcaption{ font-family:var(--mono); font-size:10px; letter-spacing:.1em; text-transform:uppercase; color:var(--grey); margin-top:.9rem; }
.sec--ink .figure figcaption{ color:var(--on-dark-dim); }
.skyline{ position:relative; overflow:hidden; line-height:0; }
.skyline img{ width:100%; height:auto; }

/* ---------- photo slots ---------- */
.photo{ position:relative; border-radius:var(--r); overflow:hidden; background:var(--ink-2); display:grid; box-shadow:var(--sh); }
.photo::before{ content:""; display:block; padding-top:var(--ratio, 66%); grid-area:1/1; }
.photo > *{ grid-area:1/1; }
.photo img{ width:100%; height:100%; object-fit:cover; }
.photo__ph{
  padding:clamp(18px,3vw,32px); width:100%; height:100%; display:grid; place-content:center; gap:.6rem; text-align:center;
  background:
    radial-gradient(80% 70% at 25% 15%, rgba(242,101,34,.30), transparent 65%),
    radial-gradient(60% 60% at 85% 80%, rgba(27,127,90,.16), transparent 70%),
    var(--ink-2);
}
.photo__ph b{ font-size:11px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:#FFC7A6; }
.photo__ph span{ font-size:14px; color:var(--on-dark-dim); max-width:36ch; margin-inline:auto; line-height:1.5; }

.notes{ font-size:13px; color:var(--grey); line-height:1.65; }
.notes ol{ padding-left:1.3rem; margin:0; display:grid; gap:.65rem; }

.crumbs{ font-family:var(--mono); font-size:10px; letter-spacing:.12em; text-transform:uppercase; color:var(--grey); margin-bottom:1.4rem; }
.crumbs a{ opacity:.8; }
.crumbs a:hover{ opacity:1; }
.crumbs span{ margin:0 .45rem; opacity:.45; }

/* ---------- footer ---------- */
.foot{ background:var(--ink); color:var(--on-dark-dim); padding-block:clamp(48px,6vw,84px) 28px; }
.foot__grid{ display:grid; grid-template-columns:1fr; gap:clamp(26px,4vw,52px); }
@media (min-width:768px){ .foot__grid{ grid-template-columns:1fr 1fr; } }
@media (min-width:1024px){ .foot__grid{ grid-template-columns:1.7fr repeat(3,1fr); } }
.foot .brand__mark{ color:#fff; }
.foot h4{ font-size:11px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:var(--orange-lt); margin:0 0 1.1rem; }
.foot ul{ list-style:none; margin:0; padding:0; display:grid; gap:.65rem; }
.foot a{ color:var(--on-dark-dim); font-size:14px; transition:color .2s; }
.foot a:hover{ color:#fff; }
.foot__bar{
  margin-top:clamp(36px,5vw,60px); padding-top:22px; border-top:1px solid var(--line-dark);
  display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap;
  font-family:var(--mono); font-size:10px; letter-spacing:.1em; text-transform:uppercase;
}

/* ---------- reveal: slide-up (from the upload) ---------- */
.reveal{ opacity:0; transform:translateY(28px); transition:opacity .5s var(--ease), transform .5s var(--ease); }
.reveal.is-in{ opacity:1; transform:none; }

/* ---------- a11y ---------- */
a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible,select:focus-visible,textarea:focus-visible{
  outline:2px solid var(--orange); outline-offset:3px; border-radius:4px;
}
.skip{ position:absolute; left:-9999px; }
.skip:focus{ left:12px; top:12px; z-index:200; background:var(--ink); color:#fff; padding:10px 18px; border-radius:9999px; }

/* ---------- mobile nav ---------- */
@media (max-width:1023px){
  .nav-toggle{ display:block; }
  .menu{
    position:fixed; inset:64px 0 auto 0; flex-direction:column; align-items:stretch;
    background:var(--bg); border-bottom:1px solid var(--line);
    padding:12px var(--gut) 24px; gap:0; display:none;
    max-height:calc(100vh - 64px); overflow-y:auto;
  }
  .menu.is-open{ display:flex; }
  .menu > li > a{ display:block; padding:14px 0; border-bottom:1px solid var(--line); font-size:16px; }
  .menu > li:last-child{ margin-top:14px; }
  .sub{ position:static; opacity:1; visibility:visible; transform:none; border:0; background:none; padding:2px 0 10px 14px; min-width:0; box-shadow:none; }
  .sub a{ padding:8px 0; }
}
@media (max-width:640px){
  .pin{ height:420vh; }
  .row{ grid-template-columns:auto 1fr; padding:12px 14px; gap:11px; }
  .row__chip{ display:none; }
}

@media (prefers-reduced-motion:reduce){
  *{ animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; scroll-behavior:auto !important; }
  .reveal{ opacity:1; transform:none; }
  .pin{ height:auto !important; }
  .pin__sticky{ position:static; height:auto; padding-block:var(--sec-y); }
  .pin__caps{ min-height:0; }
  .pin__cap{ position:static; opacity:1; transform:none; margin-bottom:2rem; }
}
