
/* ── tokens ─────────────────────────────────────────────────────────────── */
:root{
  /* grounds — a narrow NAVY ramp; the step between two of these is
     the ONLY depth cue on the page */
  --void:#0B1117;
  --void-2:#0F1820;
  --surface:#131E27;
  --surface-2:#18242E;
  --surface-3:#1E2C38;

  /* ink — cool off-white on near-black, the way paper reads at night */
  --ink:#EAF4F8;
  --ink-2:#B4C6D0;
  --ink-3:#96AAB6;
  /* --ink-3 and --ink-4 are LIFTED. The old #647884 was 4.12:1 on
     the void and failed AA; #768C9B passed on the void but not on
     the water, because the water makes the ground lighter in places.
     These two are solved against the brightest point the water
     reaches - 5.00:1 and 4.54:1 on the bare ground, both AA. Every
     step of the lift bought brightness back for the water: the pool
     that could not be painted without failing is now painted. */
  --ink-4:#8CA2B1;

  /* the panels are GLASS over the water. Each alpha is the least
     opacity at which the faintest ink still passes AA over the
     brightest point the water ever reaches (#12283A). */
  --panel:rgba(19,30,39,.86);
  --panel-2:rgba(24,36,46,.90);
  --panel-band:rgba(15,24,32,.92);
  --panel-code:rgba(24,36,46,.88);

  /* rules */
  --line:#22323E;
  --line-2:#2E4350;

  /* the liquid — the two ends of the flow the page background takes.
     These are the ONLY gradients the site is allowed, and they are
     used on the page ground and the hero ground, nowhere else. */
  --navy-deep:#060B10;
  --navy-mid:#0E1B26;
  --navy-lift:#16293A;

  /* the one accent */
  --cyan:#1CE8FF;
  --cyan-d:#00AFC0;
  --cyan-l:rgba(28,232,255,.10);
  --cyan-l2:rgba(28,232,255,.16);

  --amber:#FBBF24;
  --amber-l:rgba(251,191,36,.11);
  --rose:#FB7185;
  --rose-l:rgba(251,113,133,.11);
  --green:#34D399;
  --green-l:rgba(52,211,153,.11);

  --grad:linear-gradient(135deg,var(--cyan) 0%,var(--cyan-d) 100%);

  --sans:"Inter","Segoe UI",system-ui,-apple-system,"Helvetica Neue",Arial,sans-serif;
  --serif:"Charter","Bitstream Charter","Iowan Old Style","Palatino Linotype",Palatino,Georgia,"Times New Roman",serif;
  --mono:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,monospace;

  --r-s:2px; --r-m:3px; --r-l:4px;
  --sh-s:0 1px 2px rgba(0,0,0,.45);
  --sh-m:0 10px 24px -16px rgba(0,0,0,.85);
  --sh-l:0 24px 48px -32px rgba(0,0,0,.95);

  --wrap:1180px;
  --gut:clamp(1.05rem,3.6vw,2.5rem);
  --tap:44px;

  /* Set at runtime by the pointer script (motion.py) for the pointer
     rule on .spot. Declared here so the var() reference resolves. */
  --mx:50%;
  --my:50%;
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}
html{background:var(--void)}
body{
  margin:0;color:var(--ink);
  font-family:var(--sans);font-size:clamp(1rem,.97rem + .16vw,1.075rem);
  line-height:1.66;letter-spacing:.002em;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
  background:transparent;
}

/* ── THE WATER ─────────────────────────────────────────────────────────
   Two layers of large, soft, slowly drifting shades, floating on the
   near-black navy ground. They are what the owner asked for: water,
   with shades suspended in it and moving.

   WHY TWO ELEMENTS AND NOT ONE BACKGROUND
   The shades have to DRIFT, and a background-image cannot drift - the
   only way to move a background is to move the box that paints it. So
   the water is two fixed pseudo-elements, each holding a stack of
   radial shades, each moved by a transform on a long, slow cycle.

   Transform, not position or background-position: a transform is
   composited on the GPU, so the drift costs no paint and no layout.
   The two cycles are deliberately UNCORRELATED - 74s and 103s - so the
   combined pattern never repeats on any interval a person would
   notice. A single loop is what makes background motion read as a
   screensaver; two unrelated ones read as water.

   THE SHADES ARE DIM ON PURPOSE, AND THE ALPHAS WERE SOLVED RATHER
   THAN GUESSED. Every shade's alpha was solved so that the faintest
   ink still passes AA on the BARE GROUND at the brightest point the
   water ever reaches - which is the worst case, because that is
   where the text is thinnest and the ground is lightest. At the
   alphas below, the water's brightest point is #1A3449 and the ramp
   measures 11.50:1, 7.30:1, 5.33:1 and 4.50:1. The water is a
   material, not a light source.

   The shades are also NOT all brighter than the ground: two of them
   are darker navy pools and two are lighter ones, so the water has
   depth in both directions instead of being a glow.

   The measured ground on the rendered page runs #0A1017 in the dark
   pools to #1C394F at the brightest overlap - a visible, drifting
   range on a page that used to be one flat #0B1117.

   THEY FLOAT ABOVE THE PAGE GROUND AND BELOW THE TEXT. z-index:-1
   puts them above the canvas and below the content, which is the
   only stacking arrangement in which text stays text and the water
   stays behind it. The panels are then translucent (--panel and
   friends), so the water reads THROUGH them - which is what makes it
   look like the water is in front of the page and the page is under
   it, rather than the water being wallpaper behind a stack of
   opaque boxes. */
body::before,body::after{
  content:"";position:fixed;inset:-30%;
  pointer-events:none;z-index:-1;
  background-repeat:no-repeat;
  will-change:transform;
}
body::before{
  background-image:
    radial-gradient(38% 30% at 22% 18%,rgba(78,150,200,.1398),rgba(78,150,200,0) 70%),
    radial-gradient(44% 36% at 76% 12%,rgba(14,44,72,.1144),rgba(14,44,72,0) 72%),
    radial-gradient(48% 40% at 62% 64%,rgba(44,100,142,.0953),rgba(44,100,142,0) 74%),
    radial-gradient(40% 44% at 12% 82%,rgba(8,24,42,.1398),rgba(8,24,42,0) 72%);
  animation:drift-a 74s ease-in-out infinite;
}
body::after{
  background-image:
    radial-gradient(30% 26% at 58% 30%,rgba(96,172,222,.0826),rgba(96,172,222,0) 70%),
    radial-gradient(42% 34% at 18% 52%,rgba(22,64,98,.1016),rgba(22,64,98,0) 74%),
    radial-gradient(26% 24% at 86% 76%,rgba(58,124,170,.0635),rgba(58,124,170,0) 72%);
  animation:drift-b 103s ease-in-out infinite;
}
@keyframes drift-a{
  0%{transform:translate3d(0,0,0) scale(1)}
  50%{transform:translate3d(2.6%,-1.9%,0) scale(1.07)}
  100%{transform:translate3d(0,0,0) scale(1)}
}
@keyframes drift-b{
  0%{transform:translate3d(0,0,0) scale(1.05) rotate(0deg)}
  50%{transform:translate3d(-3.4%,2.4%,0) scale(1) rotate(3.5deg)}
  100%{transform:translate3d(0,0,0) scale(1.05) rotate(0deg)}
}
/* Water that does not move is still water, but a reader who has asked
   the system for less motion should get none of it. The shades stay
   exactly where they are; they simply stop drifting. */
@media (prefers-reduced-motion:reduce){
  body::before,body::after{animation:none!important}
}
img,svg{max-width:100%;height:auto;display:block}

/* Links are ink, not accent. An underline that only appears on hover
   keeps a long article readable. */
a{
  color:var(--ink-2);text-decoration:underline;
  text-decoration-thickness:1px;text-underline-offset:3px;
  text-decoration-color:var(--line-2);
  transition:color .18s ease,text-decoration-color .18s ease;
}
a:hover{color:var(--ink);text-decoration-color:var(--cyan-d)}

/* Headings are serif and set tighter than the body. That single change
   is most of the difference between "typeset" and "defaulted". */
h1,h2,h3,h4{
  font-family:var(--serif);font-weight:600;color:var(--ink);
  line-height:1.18;letter-spacing:-.018em;margin:0;
}
h1{line-height:1.08;letter-spacing:-.026em}
h2{line-height:1.14;letter-spacing:-.022em}
h3{line-height:1.26;letter-spacing:-.016em}
h4{line-height:1.3;letter-spacing:-.012em}

p{margin:0 0 1.05em}
ul,ol{margin:0 0 1.05em;padding-left:1.25em}
li{margin:.34em 0}
strong{font-weight:650}
em{font-style:italic}
code{font-family:var(--mono);font-size:.88em;background:var(--panel-code);padding:.12em .38em;border-radius:var(--r-s)}
pre{background:var(--panel-band);color:var(--ink);padding:1.1rem 1.25rem;border-radius:var(--r-m);overflow:auto;border:1px solid var(--line)}
pre code{background:none;padding:0;color:inherit}
hr{border:0;border-top:1px solid var(--line);margin:2.4rem 0}
::selection{background:var(--cyan-l2);color:#fff}

:focus-visible{outline:2px solid var(--cyan);outline-offset:3px;border-radius:var(--r-s)}

.wrap{width:100%;max-width:var(--wrap);margin-inline:auto;padding-inline:var(--gut)}
.narrow{max-width:760px}
.mid{max-width:920px}

/* ── nav ────────────────────────────────────────────────────────────────── */
.nav{
  position:sticky;top:0;z-index:80;
  /* Opaque. A frosted bar over a scrolling page is decoration, and it
     costs a compositing layer on every frame of the scroll. */
  background:var(--panel-band);
  border-bottom:1px solid var(--line);
  -webkit-backdrop-filter:none;backdrop-filter:none;
}
.nav-in{display:flex;align-items:center;gap:1.1rem;min-height:64px}
.brand{
  display:flex;align-items:center;gap:.6rem;text-decoration:none;color:var(--ink);
  flex:0 0 auto;
  /* The logo is a tap target on a phone, and the mark is only 34px
     tall. WCAG 2.2 asks for 44x44, so the LINK is padded out to 44px
     while the mark inside it stays 34px. */
  min-height:var(--tap);
  padding:.35rem 0;
}
.brand-mark{
  width:34px;height:34px;border-radius:var(--r-m);flex:0 0 auto;
  background:var(--grad);display:inline-flex;align-items:center;justify-content:center;
  overflow:hidden;
}
.brand-mark img{width:100%;height:100%;object-fit:cover}
.brand-name{font-family:var(--sans);font-size:1.1rem;font-weight:700;letter-spacing:-.028em;color:var(--ink);white-space:nowrap}
.brand-name em{font-style:normal;color:var(--cyan-d)}
.brand-sub{display:none;font-size:.7rem;letter-spacing:.16em;text-transform:uppercase;color:var(--ink-3);font-weight:650}
.nav-links{display:flex;gap:1.4rem;margin-left:auto;align-items:center}
/* The nav CTA lives INSIDE .nav-links, so these rules exclude it.
   Without the :not(), `.nav-links a` (0,1,1) out-specifies
   `.nav-cta` (0,1,0) and the button label is painted in body ink on
   the cyan fill instead of in the dark ink the fill needs. */
.nav-links a:not(.nav-cta){
  color:var(--ink-2);text-decoration:none;font-size:.92rem;font-weight:500;
  padding:.5rem 0;position:relative;min-height:var(--tap);display:inline-flex;align-items:center;
}
.nav-links a:not(.nav-cta)::after{
  content:"";position:absolute;left:0;right:0;bottom:2px;height:2px;
  background:var(--cyan);transform:scaleX(0);transform-origin:left;
  transition:transform .22s ease;
}
.nav-links a:not(.nav-cta):hover{color:var(--ink)}
.nav-links a:not(.nav-cta):hover::after{transform:scaleX(1)}
.nav-cta{
  background:var(--cyan);color:#04171C;text-decoration:none;
  padding:.6rem 1.1rem;border-radius:var(--r-s);font-size:.9rem;font-weight:650;
  min-height:var(--tap);display:inline-flex;align-items:center;
  transition:background .18s ease,color .18s ease;
}
.nav-cta:hover{color:#04171C;background:#5BEDFC}
.nav-burger{
  display:none;background:none;border:1px solid var(--line-2);border-radius:var(--r-s);
  width:var(--tap);height:var(--tap);cursor:pointer;margin-left:auto;
  align-items:center;justify-content:center;flex-direction:column;
}
.nav-burger span{display:block;width:19px;height:2px;background:var(--ink);border-radius:1px}
.nav-burger span+span{margin-top:4px}

/* ── hero ──────────────────────────────────────────────────────────────── */
.hero{
  padding:clamp(2.6rem,6.5vw,5.2rem) 0 clamp(2.2rem,4.5vw,3.6rem);
  position:relative;overflow:hidden;
}
/* The old hero had two radial glows behind it. It now has a printed
   grid — one-pixel rules on a 72px module — fading out downward. It
   costs no gradient, no blur and no compositing layer, and it reads
   as graph paper rather than as a light source. */
/* The hero sits ON the liquid, so it does not paint a ground of its
   own. What it adds is the printed grid, laid over the flow and
   masked to fade out, so the two read as one surface: a ruled sheet
   of graph paper lying on a dark table. */
.hero::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background-image:
    linear-gradient(to right,var(--line-2) 1px,transparent 1px),
    linear-gradient(to bottom,var(--line-2) 1px,transparent 1px);
  background-size:72px 72px;
  opacity:.3;
  -webkit-mask-image:linear-gradient(180deg,rgba(0,0,0,.9),rgba(0,0,0,0) 72%);
  mask-image:linear-gradient(180deg,rgba(0,0,0,.9),rgba(0,0,0,0) 72%);
}
.hero-in{position:relative}
.eyebrow{
  display:inline-flex;align-items:center;gap:.55rem;
  font-size:.7rem;font-weight:650;letter-spacing:.17em;text-transform:uppercase;
  color:var(--ink-3);
  padding:0 0 .5rem;border-bottom:1px solid var(--line-2);
}
.eyebrow .dot{width:5px;height:5px;border-radius:0;background:var(--cyan)}
.hero h1{
  font-size:clamp(2.3rem,1.25rem + 4.9vw,4.5rem);
  margin:1.1rem 0 0;max-width:18ch;
}
.hero h1 em{font-style:italic;color:var(--ink)}
.hero-sub{
  font-size:clamp(1.02rem,.99rem + .42vw,1.24rem);
  color:var(--ink-2);max-width:60ch;margin-top:1.25rem;line-height:1.6;
}
.hero-actions{display:flex;flex-wrap:wrap;gap:.7rem;margin-top:1.9rem}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  padding:.8rem 1.4rem;border-radius:var(--r-s);min-height:var(--tap);
  font-weight:650;font-size:.93rem;letter-spacing:.01em;text-decoration:none;
  border:1px solid transparent;
  transition:background .18s ease,color .18s ease,border-color .18s ease;
}
.btn-primary{background:var(--cyan);color:#04171C;border-color:var(--cyan)}
.btn-primary:hover{color:#04171C;background:#5BEDFC;border-color:#5BEDFC}
.btn-ghost{border-color:var(--line-2);color:var(--ink);background:transparent}
.btn-ghost:hover{border-color:var(--ink-4);color:var(--ink);background:var(--surface)}
.btn-dark{background:var(--cyan-l);color:var(--cyan);border-color:rgba(28,232,255,.25)}
.btn-dark:hover{background:var(--cyan-l2);color:#5BEDFC}

.creds{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
  gap:1px;background:var(--line);
  border:1px solid var(--line);border-radius:var(--r-m);
  margin-top:2.6rem;overflow:hidden;
}
.cred{background:var(--panel);padding:1.05rem 1.15rem}
.cred-n{font-family:var(--serif);font-size:1.45rem;font-weight:600;letter-spacing:-.02em;color:var(--ink);line-height:1.15}
.cred-t{font-size:.84rem;color:var(--ink-3);margin-top:.2rem;line-height:1.45}

/* ── section furniture ─────────────────────────────────────────────────── */
.sec{padding:clamp(2.8rem,6vw,4.8rem) 0}
.sec-alt{background:var(--panel-band);border-block:1px solid var(--line)}
.sec-band{background:var(--panel);color:var(--ink);border-block:1px solid var(--line)}
.sec-band h2,.sec-band h3{color:var(--ink)}
.sec-band p,.sec-band li{color:var(--ink-2)}
.sec-band a{color:var(--ink-2)}
.sec-band a:hover{color:var(--ink)}
.sec-band .eyebrow{color:var(--ink-3);border-bottom-color:var(--line-2)}

.sec-head{
  margin-bottom:2.2rem;max-width:62ch;
  border-top:1px solid var(--line-2);padding-top:1.15rem;
}
.sec-head h2{font-size:clamp(1.65rem,1.3rem + 1.7vw,2.5rem)}
.sec-head p{color:var(--ink-2);font-size:1.03rem;margin-top:.75rem}

.grid{display:grid;gap:1rem}
.g2{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}
.g3{grid-template-columns:repeat(auto-fit,minmax(270px,1fr))}
.g4{grid-template-columns:repeat(auto-fit,minmax(215px,1fr))}

/* ── cards ─────────────────────────────────────────────────────────────── */
.card{
  background:var(--panel);border:1px solid var(--line);border-radius:var(--r-m);
  padding:1.45rem;
  transition:border-color .18s ease,background .18s ease;
}
.card h3{font-size:1.14rem;margin-bottom:.5rem}
.card p{color:var(--ink-2);font-size:.96rem;margin:0}
.card-link{text-decoration:none;color:inherit;display:block}
.card-link:hover{border-color:var(--line-2);background:var(--surface-2)}
.card-link:hover h3{
  text-decoration:underline;text-decoration-color:var(--cyan-d);
  text-decoration-thickness:2px;text-underline-offset:4px;
}
.card-kicker{
  font-size:.7rem;font-weight:650;letter-spacing:.16em;text-transform:uppercase;
  color:var(--ink-3);margin-bottom:.55rem;display:block;
}
.card-n{
  font-family:var(--mono);font-size:.78rem;font-weight:600;color:var(--ink-4);
  letter-spacing:.06em;margin-bottom:.5rem;display:block;
}

/* ── the answer block (signature element) ──────────────────────────────── */
/* The 2px rule on the left edge is drawn by .answer-blob::before in
   the motion layer, so that it can brighten once when the block is
   reached. This rule therefore has NO left border of its own - a
   border-left here would sit under the ::before rule and read as a
   doubled edge. */
.answer-blob{
  background:var(--panel);border:1px solid var(--line);
  border-radius:0 var(--r-m) var(--r-m) 0;padding:1.3rem 1.5rem;
  font-size:1.03rem;line-height:1.62;color:var(--ink-2);
}
.answer-blob strong{color:var(--ink)}

/* ── the reading column ─────────────────────────────────────────────────
   The question pages - every guide, every question, every incident
   page, which is 4,800-odd of them - put their content straight
   into <main> with no column of its own. So the prose ran the full
   1,440px of the viewport at desktop: a line of roughly 160
   characters, which is about twice what a line of text is meant to
   be. On a phone it was worse in a different way, because the H1 sat
   against the very edge of the screen with nothing beside it.

   The home page and the nija page put a .hero in <main> instead, and
   those two are full-bleed on purpose. So the selector is structural
   rather than a class: only a <main> that begins with a .q-head
   gets the column. :has() is already used by the footer rules, so
   this is not a new dependency on the browser.

   The measure is set on the prose rather than on the column, because
   a wide table still needs the room: it lives in .table-scroll and
   scrolls sideways on its own. */
main:has(> .q-head){
  max-width:var(--wrap);
  margin-inline:auto;
  padding-inline:var(--gut);
}
main:has(> .q-head) .q-body p{max-width:70ch}
main:has(> .q-head) .q-body li{max-width:70ch}
main:has(> .q-head) .faq p,
main:has(> .q-head) .faq li{max-width:70ch}
main:has(> .q-head) .as-of{max-width:70ch}

/* ── question page furniture ───────────────────────────────────────────── */
.q-head{margin-bottom:1.6rem}
.q-head h1{font-size:clamp(1.75rem,1.35rem + 1.95vw,2.8rem);max-width:24ch}
.q-head .cat{
  display:inline-block;font-size:.7rem;font-weight:650;letter-spacing:.16em;
  text-transform:uppercase;color:var(--ink-3);
  border:1px solid var(--line-2);border-radius:var(--r-s);
  padding:.28rem .6rem;margin-bottom:1rem;
}
.q-body h2{font-size:clamp(1.2rem,1.06rem + .66vw,1.55rem);margin:2.2rem 0 .65rem}
.q-body p{color:var(--ink-2)}
.q-body h3{font-size:1.05rem;margin:1.6rem 0 .5rem}

.key-takeaways{
  background:var(--panel);border:1px solid var(--line);
  border-left:2px solid var(--line-2);
  border-radius:0 var(--r-m) var(--r-m) 0;
  padding:1.3rem 1.5rem;margin:2rem 0;
}
.key-takeaways h2{
  font-family:var(--sans);font-size:.7rem;font-weight:650;letter-spacing:.16em;
  text-transform:uppercase;color:var(--ink-3);margin:0 0 .8rem;
}
.key-takeaways ul{margin:0;padding-left:1.15em}
.key-takeaways li{color:var(--ink-2);margin:.5em 0}
.key-takeaways li::marker{color:var(--ink-4)}

.as-of{
  font-size:.78rem;color:var(--ink-3);display:flex;flex-wrap:wrap;gap:.4rem 1rem;
  align-items:center;margin:.9rem 0 1.5rem;
}
.byline{
  border:1px solid var(--line);border-radius:var(--r-s);
  background:var(--panel-2);padding:.85rem 1rem;font-size:.86rem;color:var(--ink-3);
  margin:1.6rem 0;
}
.byline strong{color:var(--ink-2)}
.byline p{margin:0}

/* A table is a table: hairline rules, a small-caps head row, no
   rounded slab, no accent. Links inside it are ink with an underline
   on hover, so the table never turns into a neon block. */
.table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
table{
  width:100%;border-collapse:collapse;margin:1.8rem 0;font-size:.93rem;
  background:transparent;border:0;
  border-top:1px solid var(--line-2);border-bottom:1px solid var(--line-2);
  min-width:520px;
}
caption{
  caption-side:top;text-align:left;font-size:.8rem;color:var(--ink-3);
  padding:0 0 .6rem;letter-spacing:.01em;
}
th,td{padding:.7rem .9rem;text-align:left;border-bottom:1px solid var(--line);vertical-align:top}
th{
  background:transparent;font-weight:650;font-size:.76rem;
  letter-spacing:.13em;text-transform:uppercase;color:var(--ink-2);
  border-bottom:1px solid var(--line-2);
}
tbody tr:last-child td{border-bottom:0}
td:first-child{font-weight:600;color:var(--ink)}
table a{color:var(--ink-2);text-decoration:none}
table a:hover{color:var(--ink);text-decoration:underline;text-decoration-color:var(--ink-4)}

.faq{margin:2.4rem 0;border-top:1px solid var(--line)}
.faq-item{border-bottom:1px solid var(--line);padding:1.05rem 0}
.faq-q{font-size:1.05rem;font-weight:600;margin:0 0 .4rem}
.faq-a{color:var(--ink-2);margin:0}

.cta-box{
  background:var(--surface);color:var(--ink);
  border:1px solid var(--line);border-top:2px solid var(--ink-4);
  border-radius:0;
  padding:clamp(1.5rem,3.6vw,2.4rem);margin:2.4rem 0;
}
.cta-box h2{font-size:clamp(1.35rem,1.16rem + .9vw,1.8rem);margin:0 0 .55rem}
.cta-box p{color:var(--ink-2);max-width:58ch}
.cta-actions{display:flex;flex-wrap:wrap;gap:.7rem;margin-top:1.3rem}

.legal{
  font-size:.8rem;color:var(--ink-4);border-top:1px solid var(--line);
  padding-top:1rem;margin-top:2.4rem;
}

/* ── founder band ──────────────────────────────────────────────────────── */
.founder-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:clamp(1.6rem,4vw,3.4rem);align-items:start}
.founder-body h2{font-size:clamp(1.7rem,1.35rem + 1.8vw,2.55rem)}
.founder-body p{color:var(--ink-2);font-size:1.03rem}
.founder-facts{background:var(--panel-band);border:1px solid var(--line);border-radius:var(--r-m);padding:1.35rem 1.45rem}
.founder-facts h3{
  font-family:var(--sans);font-size:.7rem;font-weight:650;letter-spacing:.16em;
  text-transform:uppercase;color:var(--ink-3);margin:0 0 .9rem;
}
.founder-facts dl{margin:0}
.founder-facts dt{font-size:.74rem;letter-spacing:.09em;text-transform:uppercase;color:var(--ink-3);margin-top:.9rem}
.founder-facts dt:first-child{margin-top:0}
.founder-facts dd{margin:.2rem 0 0;color:var(--ink);font-weight:600;font-size:.96rem}

/* ── essay list ────────────────────────────────────────────────────────── */
.essay{
  display:block;text-decoration:none;color:inherit;
  padding:1.25rem 0;border-bottom:1px solid var(--line);
  transition:padding-left .22s ease;
}
.essay:hover{padding-left:.5rem}
.essay:hover h3{
  text-decoration:underline;text-decoration-color:var(--cyan-d);
  text-decoration-thickness:2px;text-underline-offset:4px;
}
.essay h3{font-size:1.18rem;margin:0 0 .3rem}
.essay p{color:var(--ink-2);margin:0;font-size:.95rem}

/* ── footer ────────────────────────────────────────────────────────────── */
/* The footer is a newspaper index: a set of ruled groups, each with a
   small-caps heading and a hairline under it. The links are ink, the
   hover is ink, and the only accent left in the footer is the wordmark.

   THE LAYOUT SOLVES THE UNEVEN GROUPS WITHOUT COUNTING THEM
   ----------------------------------------------------------
   The groups are wildly uneven: "Writing" holds eighteen essay
   titles, "Services" nine, "Topics" seven, "Site" five, and a fifth
   group may be added at any time. Equal grid tracks therefore give
   one very tall narrow column next to three stub ones.

   So the long group is given the FULL width of the link block and
   runs in newspaper sub-columns underneath the short ones. It is
   identified STRUCTURALLY - `:has(ul > li:nth-child(13))` means "the
   group whose list runs to a thirteenth item" - so the rule keeps
   working when a group is added, removed or reordered in the markup,
   and no :nth-child index of the footer can go stale.

   The long group is pushed to the LAST LINE with `order`, because
   flexbox breaks lines in modified order: the short groups take the
   first line and the long one takes a line of its own, whatever order
   they appear in the markup.

   Where :has() is not supported the long group simply takes one
   share of the first line instead of the full width, which is the
   older layout and still readable. */
.footer{background:var(--panel-band);color:var(--ink-3);padding:3.2rem 0 2rem;font-size:.9rem;border-top:1px solid var(--line)}
.footer-top{display:flex;flex-wrap:wrap;gap:2.2rem 2.6rem;justify-content:space-between;align-items:flex-start}
.footer h4{
  font-family:var(--sans);font-size:.7rem;font-weight:700;letter-spacing:.17em;
  text-transform:uppercase;color:var(--ink-2);
  margin:0 0 .85rem;padding-bottom:.5rem;border-bottom:1px solid var(--line-2);
}
.footer ul{list-style:none;padding:0;margin:0}
.footer li{margin:.28em 0}
.footer a{color:var(--ink-3);text-decoration:none}
.footer a:hover{color:var(--ink);text-decoration:underline;text-decoration-color:var(--line-2)}
.footer-cols{
  display:flex;flex-wrap:wrap;gap:2rem 2.4rem;
  flex:1 1 420px;align-items:flex-start;
}
/* The short groups share the first line. */
.footer-cols>div{flex:1 1 150px;min-width:150px}
/* The long group takes a line of its own, below them. */
.footer-cols>div:has(ul>li:nth-child(13)){
  flex:1 0 100%;order:2;
}
.footer-cols>div:has(ul>li:nth-child(13)) ul{
  columns:3;column-gap:2rem;column-rule:1px solid var(--line);
}
.footer-cols>div:has(ul>li:nth-child(13)) li{break-inside:avoid}
.footer-brand{font-family:var(--serif);font-size:1.3rem;color:var(--ink);font-weight:600;letter-spacing:-.012em}
.footer-brand em{font-style:normal;color:var(--cyan-d)}
.footer-bottom{
  border-top:1px solid var(--line);margin-top:2.4rem;padding-top:1.2rem;
  display:flex;flex-wrap:wrap;gap:.6rem;justify-content:space-between;
  font-size:.8rem;color:var(--ink-4);
}

/* ── mobile ────────────────────────────────────────────────────────────── */
@media (max-width:860px){
  .nav-in{min-height:60px}
  .nav-links{
    display:none;position:absolute;top:60px;left:0;right:0;
    background:var(--void);border-bottom:1px solid var(--line);
    flex-direction:column;align-items:stretch;gap:0;padding:.5rem var(--gut) 1rem;
    /* The one place on the site that genuinely floats above the page. */
    box-shadow:var(--sh-m);max-height:calc(100dvh - 60px);overflow-y:auto;
  }
  .nav-links.open{display:flex}
  .nav-links a{padding:.9rem 0;border-bottom:1px solid var(--line);min-height:48px;font-size:1rem}
  .nav-links a::after{display:none}
  .nav-cta{text-align:center;margin-top:.9rem;justify-content:center;min-height:48px}
  .nav-burger{display:flex}
  .founder-grid{grid-template-columns:1fr}
  .creds{grid-template-columns:repeat(2,1fr)}
  .hero h1{max-width:none}
  .sec{padding:2.6rem 0}
  /* The footer drops to two short groups per line on a tablet. */
  .footer-cols>div{flex:1 1 calc(50% - 1rem);min-width:0}
  .footer-cols>div:has(ul>li:nth-child(13)) ul{columns:2;column-gap:1.6rem}
  /* Footer links are inline text on the desktop, so they are given a
     full-size target on a phone. That covers the link list AND the
     email/phone line, which sits in a paragraph in the footer.

     The paragraph links keep `display:inline` on purpose: the email
     and the phone number are separated by a plain text "·", and an
     inline-block on either side of it would break the line apart.
     Inline padding grows the hit box without touching the flow. */
  .footer li a{display:inline-block;min-height:var(--tap);line-height:1.6;padding:.35rem 0}
  .footer p a{display:inline;padding:.85rem 0}
}
@media (max-width:560px){
  .creds{grid-template-columns:1fr}
  .hero-actions{flex-direction:column;align-items:stretch}
  .hero-actions .btn{width:100%;justify-content:center}
  .answer-blob,.key-takeaways,.cta-box{padding:1.1rem 1.05rem}
  .q-head h1{font-size:clamp(1.6rem,1.28rem + 1.9vw,2.05rem)}
  .footer-bottom{flex-direction:column;gap:.4rem}
  .footer-top{gap:1.8rem}
  /* One column of links on a phone. */
  .footer-cols>div{flex:1 1 100%;min-width:0}
  .footer-cols>div:has(ul>li:nth-child(13)) ul{columns:1;column-rule:none}
}
@media (max-width:360px){
  :root{--gut:1rem}
  .brand-name{font-size:1.02rem}
}
/* The iPhone home indicator must not sit on top of the footer text. */
@supports (padding:max(0px)){
  .footer{padding-bottom:calc(2rem + env(safe-area-inset-bottom))}
}
@media print{
  .nav,.footer,.cta-box{display:none}
  body{background:#fff;color:#000}
}


/* ══ the segment picker ═════════════════════════════════════════════════
   Seven audiences, one visible at a time. On a phone the pills scroll
   sideways, because seven stacked pills would push the panel below the
   fold before the reader has chosen anything.

   The pills are editorial tabs, not chips: a hairline box, a small
   caps label, and the active one inverted.
   ═════════════════════════════════════════════════════════════════════ */
.seg-picker{margin-top:.5rem}
.seg-pills{
  display:flex;gap:.5rem;flex-wrap:wrap;margin-bottom:1.9rem;
}
.seg-pill{
  appearance:none;cursor:pointer;font:inherit;
  font-size:.82rem;font-weight:600;letter-spacing:.04em;
  color:var(--ink-3);background:transparent;
  border:1px solid var(--line-2);border-radius:var(--r-s);
  padding:.55rem .9rem;min-height:44px;
  display:inline-flex;align-items:center;
  transition:color .18s ease,border-color .18s ease,background .18s ease;
}
.seg-pill:hover{border-color:var(--ink-4);color:var(--ink)}
.seg-pill.on{
  background:var(--ink);color:var(--void);border-color:var(--ink);
}
.seg-pill:focus-visible{outline:2px solid var(--cyan);outline-offset:2px}

/* ── the panel ─────────────────────────────────────────────────────────── */
.seg-panel{
  background:var(--surface);border:1px solid var(--line);
  border-top:2px solid var(--line-2);
  border-radius:0 var(--r-m) var(--r-m) 0;padding:clamp(1.3rem,3vw,2.4rem);
}
.seg-title{
  font-family:var(--serif);
  font-size:clamp(1.25rem,1.05rem + .85vw,1.7rem);
  margin:0 0 .6rem;max-width:36ch;
}
.seg-who{color:var(--ink-2);font-size:1.01rem;max-width:64ch;margin:0 0 1.7rem}
.seg-cols{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:1.6rem;margin-bottom:1.5rem;
}
.seg-cols h4{
  font-family:var(--sans);font-size:.7rem;font-weight:700;
  letter-spacing:.16em;text-transform:uppercase;color:var(--ink-3);
  margin:0 0 .8rem;padding-bottom:.45rem;border-bottom:1px solid var(--line);
}
.seg-context{
  color:var(--ink-2);font-size:1rem;max-width:66ch;
  padding:1rem 1.15rem;background:var(--void-2);
  border-left:2px solid var(--cyan);border-radius:0 var(--r-s) var(--r-s) 0;
}

/* ── the two lists ─────────────────────────────────────────────────────── */
.tick,.cross{list-style:none;padding:0;margin:0}
.tick li,.cross li{
  position:relative;padding-left:1.7rem;margin:.5em 0;
  color:var(--ink-2);font-size:.97rem;line-height:1.55;
}
.tick li::before,.cross li::before{
  position:absolute;left:0;top:.1em;font-weight:700;
  font-family:var(--mono);
}
.tick li::before{content:"\2713";color:var(--cyan)}
.cross li::before{content:"\2715";color:var(--rose)}
.tick li strong,.cross li strong{color:var(--ink)}

/* ── the services that fit ────────────────────────────────────────────── */
.seg-services{margin-bottom:1.7rem}
.seg-services h4{
  font-family:var(--sans);font-size:.7rem;font-weight:700;
  letter-spacing:.16em;text-transform:uppercase;color:var(--ink-3);
  margin:0 0 .7rem;padding-bottom:.45rem;border-bottom:1px solid var(--line);
}
.seg-svc-list{display:flex;flex-wrap:wrap;gap:.5rem}
.seg-svc{
  display:inline-flex;align-items:center;min-height:44px;
  padding:.5rem .9rem;border-radius:var(--r-s);
  border:1px solid var(--line-2);background:transparent;
  color:var(--ink-2);text-decoration:none;font-size:.9rem;font-weight:600;
  transition:border-color .18s ease,color .18s ease,background .18s ease;
}
.seg-svc:hover{
  border-color:var(--ink-4);color:var(--ink);background:var(--surface-2);
}

/* ══ the India incident cards ═══════════════════════════════════════════
   A grid of real breaches. The year badge and the bottom rule are the
   two things that make a dense grid scannable: the badge says when,
   the rule says this is live on hover.
   ═════════════════════════════════════════════════════════════════════ */
.case-card{
  display:block;text-decoration:none;color:inherit;
  border:1px solid var(--line);border-radius:var(--r-m);
  padding:1.2rem 1.3rem;background:var(--surface);
  transition:border-color .18s ease,background .18s ease;
}
.case-card h3{
  font-size:1.08rem;margin:.65rem 0 .3rem;line-height:1.28;
}
.case-card:hover{border-color:var(--line-2);background:var(--surface-2)}
.case-card:hover h3{
  text-decoration:underline;text-decoration-color:var(--cyan-d);
  text-decoration-thickness:2px;text-underline-offset:4px;
}
.case-org{
  font-family:var(--mono);font-size:.73rem;color:var(--ink-3);
  letter-spacing:.02em;margin:0 0 .5rem;
}
.case-card p:not(.case-org){color:var(--ink-2);font-size:.92rem;margin:0}

/* ══ the stat cards ═════════════════════════════════════════════════════
   The numbers on the dark band. The counter animates the number, not
   the box, so the layout never shifts.

   The number is set in the serif at body weight and printed in ink.
   It used to be cyan and it shimmered forever; a wall of glowing
   numbers is a decoration, not a statistic.
   ═════════════════════════════════════════════════════════════════════ */
.stat-card{
  background:transparent;
  border:1px solid var(--line);
  border-top:2px solid var(--line-2);
  border-radius:0 var(--r-m) var(--r-m) 0;
  padding:1.2rem 1.3rem;
}
.stat-num{
  font-family:var(--serif);font-size:clamp(1.45rem,1.2rem + 1.15vw,2rem);
  font-weight:600;color:var(--ink);letter-spacing:-.02em;line-height:1.15;
  margin:0 0 .3rem;
}
.stat-src{
  font-family:var(--mono);font-size:.71rem;letter-spacing:.05em;
  color:var(--ink-3);margin:0;
}

/* ══ the source list ═════════════════════════════════════════════════════
   On an incident page the sources are not a footnote - they are the
   reason the page exists, so they are given their own block.
   ═════════════════════════════════════════════════════════════════════ */
.sources{
  margin:2.2rem 0;padding:1.25rem 1.4rem;
  background:var(--void-2);border:1px solid var(--line);
  border-left:2px solid var(--line-2);
  border-radius:0 var(--r-m) var(--r-m) 0;
}
.sources h2{
  font-family:var(--sans);font-size:.7rem;font-weight:700;
  letter-spacing:.16em;text-transform:uppercase;color:var(--ink-3);
  margin:0 0 .7rem;padding-bottom:.45rem;border-bottom:1px solid var(--line);
}
.sources ul{list-style:none;padding:0;margin:0}
.sources li{margin:.4em 0;font-size:.88rem;word-break:break-all}
.sources a{color:var(--ink-2);font-weight:500;text-decoration-color:var(--line-2)}
.sources a:hover{color:var(--ink);text-decoration-color:var(--cyan-d)}

/* ══ the phone ═══════════════════════════════════════════════════════════
   The pills scroll sideways rather than wrapping into a wall, and every
   tap target stays at 44px.
   ═════════════════════════════════════════════════════════════════════ */
@media (max-width:720px){
  .seg-pills{
    flex-wrap:nowrap;overflow-x:auto;scroll-snap-type:x proximity;
    -webkit-overflow-scrolling:touch;
    padding-bottom:.6rem;margin-inline:calc(var(--gut) * -1);
    padding-inline:var(--gut);
  }
  .seg-pill{flex:0 0 auto;scroll-snap-align:start;white-space:nowrap}
  .seg-cols{grid-template-columns:1fr;gap:1.2rem}
  .seg-panel{padding:1.2rem 1.1rem}
  .case-card{padding:1.05rem 1.1rem}
}


/* ══ the audience card ═══════════════════════════════════════════════════
   Seven cards on the home page, one per audience. The kicker is the
   audience name in caps, the heading is the one-line angle, and the
   body is the first thing that reader actually needs.

   The card used to lift three pixels and grow a soft shadow on hover,
   which made seven cards feel like seven floating apps. It is a ruled
   box now; the hover is a hairline that brightens and a heading that
   takes an underline.
   ═════════════════════════════════════════════════════════════════════ */
.aud-card{
  display:flex;flex-direction:column;gap:.1rem;
  border:1px solid var(--line);border-radius:var(--r-m);
  padding:1.25rem 1.3rem;background:var(--surface);
  transition:border-color .18s ease,background .18s ease;
}
.aud-card h3{
  font-size:1.08rem;margin:.5rem 0 .45rem;line-height:1.3;
}
.aud-card p{color:var(--ink-2);font-size:.92rem;margin:0 0 .9rem;flex:1}
.aud-card:hover{border-color:var(--line-2);background:var(--surface-2)}
.aud-card:hover h3{
  text-decoration:underline;text-decoration-color:var(--cyan-d);
  text-decoration-thickness:2px;text-underline-offset:4px;
}
.aud-go{
  display:inline-flex;align-items:center;gap:.4rem;
  font-family:var(--sans);font-size:.72rem;font-weight:700;
  letter-spacing:.15em;text-transform:uppercase;color:var(--ink-3);
}
.aud-go::after{
  content:"\\2192";font-family:var(--mono);
  transition:transform .18s cubic-bezier(.22,.61,.36,1);
  display:inline-block;
}
.aud-card:hover .aud-go{color:var(--ink)}
.aud-card:hover .aud-go::after{transform:translateX(4px)}


/* ══ motion ═══════════════════════════════════════════════════════════════
   Appended to the base theme. Everything here is transform/opacity only.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── the scroll rail ──────────────────────────────────────────────────────
   A 2px line at the very top of the page that fills as you read.
   It is the only always-on motion, and it is the one that earns its
   keep: on a 2,000-word question page it tells you how much is left
   without you having to scroll to find out. It is a solid hairline,
   not a glowing bar - a glow here would read as a HUD. */
.rail{
  position:fixed;top:0;left:0;height:2px;width:0;z-index:200;
  background:var(--cyan);
  transition:width .1s linear;
  will-change:width;
}

/* ── the reveal ──────────────────────────────────────────────────────────
   Opt-in, never global. An element with .reveal starts 14px down and
   transparent; .reveal.in brings it home. The JS adds .in when the
   element scrolls into view. Without JS nothing is hidden, because the
   hidden state lives in the JS-added class, not in the base class. */
   This rule lands AFTER the component layer, and a `transition`
   shorthand here would WIPE the border and background transitions the
   cards rely on. So the properties are listed one by one, and the
   stagger delay is applied to opacity and transform ONLY - a hover
   must never wait behind a stagger. */
.reveal{
  opacity:0;transform:translate3d(0,14px,0);
  transition-property:opacity,transform,border-color,background-color;
  transition-duration:.55s,.55s,.18s,.18s;
  transition-timing-function:cubic-bezier(.22,.61,.36,1),cubic-bezier(.22,.61,.36,1),ease,ease;
  transition-delay:0s,0s,0s,0s;
}
.reveal.in{opacity:1;transform:none}

/* A cap on the stagger. 60ms x 8 elements = 480ms, which is the
   longest a reader should wait for the last item. Beyond that the
   delay reads as slowness, not as choreography. */
.reveal.d1{transition-delay:.06s,.06s,0s,0s}
.reveal.d2{transition-delay:.12s,.12s,0s,0s}
.reveal.d3{transition-delay:.18s,.18s,0s,0s}
.reveal.d4{transition-delay:.24s,.24s,0s,0s}
.reveal.d5{transition-delay:.30s,.30s,0s,0s}
.reveal.d6{transition-delay:.36s,.36s,0s,0s}
.reveal.d7{transition-delay:.42s,.42s,0s,0s}
.reveal.d8{transition-delay:.48s,.48s,0s,0s}

/* ── the answer rule ────────────────────────────────────────────────────
   The answer-blob is the site's signature block and the thing answer
   engines quote. Its left rule is always present - the block has to
   read correctly with JavaScript switched off - and when the block
   scrolls into view the rule brightens once, from a quiet tint to full
   brand cyan, and stays there.

   The old version drew the rule downward from nothing, which meant a
   reader without JavaScript saw an answer block with NO rule at all.
   This version is correct in both states. */
.answer-blob{position:relative}
.answer-blob::before{
  content:"";position:absolute;left:-1px;top:-1px;bottom:-1px;width:2px;
  background:var(--cyan);opacity:.35;
  transition:opacity .7s cubic-bezier(.22,.61,.36,1);
}
.answer-blob.seen::before{opacity:1}

/* ── the stat counter ────────────────────────────────────────────────────
   The numbers on the stats band count up when they scroll into view.
   This is the clearest case of motion doing work: a number that counts
   to 1,343 is read as a fact; a number that was always 1,343 is read
   as decoration. It runs ONCE, on entry, and stops. */
.stat-num{font-variant-numeric:tabular-nums;display:inline-block}
.stat-num.counting{opacity:.55}

/* ── the retired hero scan ──────────────────────────────────────────────
   The sweeping band that used to run down the hero forever is gone.
   The element is still emitted by the page builder, so the class stays
   defined - but it is inert: no pseudo-element, no animation, no
   paint. Nothing about the hero moves until the reader moves. */
.scan{position:static;display:none}

/* ── the retired cursor spotlight ───────────────────────────────────────
   The radial-gradient wash that followed the pointer across a card is
   gone: it was a glow blob, and on a dark ground a glow reads as a
   sci-fi HUD rather than as a well-made page.

   The class stays defined because the card markup carries it. The
   pointer coordinates are still published on the element as --mx and
   --my (the runtime contract), but nothing consumes them. */
.spot{position:relative}

/* ── the primary button ─────────────────────────────────────────────────
   The breathing pulse is gone. What is left is the hover transition
   the button always had, so the class is not a dead letter: it simply
   no longer performs on its own. */
.cta-pulse{transition:background .18s ease,color .18s ease,border-color .18s ease}

/* ── the ticker ──────────────────────────────────────────────────────────
   A single line of live text that cycles. The animation is a vertical
   slide on a fixed-height track, so nothing on the page ever shifts
   height. It rotates CONTENT, which is why it was kept: the rule is
   "no motion that means nothing", and a rotating line of live
   incidents means something. */
.ticker{position:relative;height:1.9em;overflow:hidden}
.ticker-track{display:flex;flex-direction:column;transition:transform .62s cubic-bezier(.22,.61,.36,1);will-change:transform}
.ticker-item{height:1.9em;display:flex;align-items:center;flex:0 0 auto}

/* ── the copy button ─────────────────────────────────────────────────────
   A small tick that scales in when a code block or key is copied. This
   is the one keyframe left in the stylesheet, and it is the right one:
   it confirms an action, once, and stops. */
@keyframes tickpop{
  0%{transform:scale(.4);opacity:0}
  60%{transform:scale(1.12);opacity:1}
  100%{transform:scale(1);opacity:1}
}
.copied{animation:tickpop .34s cubic-bezier(.3,1.4,.5,1)}

/* ── the accordion ───────────────────────────────────────────────────────
   The FAQ block opens with a height transition. Height is the one
   property that cannot be composited, so it is animated only on the
   element the reader explicitly clicked - never on anything that
   scrolls. */
details>summary{list-style:none;cursor:pointer}
details>summary::-webkit-details-marker{display:none}
details>summary::after{
  content:"+";float:right;font-family:var(--mono);color:var(--ink-3);
  font-weight:700;transition:transform .26s cubic-bezier(.22,.61,.36,1);
  display:inline-block;
}
details[open]>summary::after{transform:rotate(45deg)}

/* ── the case card ───────────────────────────────────────────────────────
   Indian breach cases: a hairline rule draws in along the bottom edge
   on hover. It replaced a cyan-to-amber gradient bar, which was two
   accent colours for one piece of feedback. */
.case-card{position:relative;overflow:hidden}
.case-year{
  display:inline-block;font-family:var(--mono);font-size:.72rem;
  letter-spacing:.1em;color:var(--ink-3);
  border:1px solid var(--line-2);border-radius:var(--r-s);
  padding:.18rem .5rem;
  transition:color .18s ease,border-color .18s ease;
}
.case-card:hover .case-year{color:var(--ink);border-color:var(--ink-4)}
.case-card::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:2px;
  background:var(--cyan);
  transform:scaleX(0);transform-origin:left;
  transition:transform .3s cubic-bezier(.22,.61,.36,1);
}
.case-card:hover::after{transform:scaleX(1)}

/* ── the segment picker ──────────────────────────────────────────────────
   The audience switcher on the audience hub. The active pill is
   inverted by colour, not by a sliding animation, so the reader is
   told WHERE they are rather than shown a movement. */
.seg-pill{
  position:relative;transition:color .18s ease,background .18s ease,border-color .18s ease;
}

/* ── the mobile navigation sheet ─────────────────────────────────────────
   The one thing that genuinely opens over the page. It fades and
   settles in over 180ms - long enough to read as an opening, short
   enough that a thumb does not wait for it. */
.nav-links.open{animation:sheet .18s cubic-bezier(.22,.61,.36,1)}
@keyframes sheet{
  from{opacity:0;transform:translate3d(0,-6px,0)}
  to{opacity:1;transform:translate3d(0,0,0)}
}

/* ══ reduced motion ═══════════════════════════════════════════════════════
   The complete opt-out. Everything above is neutralised here, and the
   elements that were hidden by JS are restored, because the observer
   never adds .reveal to a reduced-motion reader's elements in the
   first place - but a reader who toggles the OS setting mid-page
   still gets a fully readable page. ═════════════════════════════════════ */
@media (prefers-reduced-motion:reduce){
  .rail{display:none}
  .reveal{opacity:1!important;transform:none!important;transition:none!important}
  .answer-blob::before{opacity:1;transition:none}
  .stat-num{opacity:1!important}
  .cta-pulse{transition:none}
  .ticker-track{transition:none}
  .copied{animation:none}
  .case-year{transition:none}
  .case-card::after{transition:none;transform:scaleX(1)}
  .nav-links.open{animation:none}
  details>summary::after{transition:none}
}
