/* ==========================================================================
   SurgeLab v2: the October 2026 redesign.
   Square corners, 1px ink rules, hard offset shadows, Bebas Neue headlines.
   Pages move onto this file one at a time; pages not yet moved keep site.css.
   Section-specific layout lives inline in each page (it is one-off art
   direction). Everything shared across pages lives here.
   ========================================================================== */

@font-face { font-family: "Bebas Neue"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/bebas-neue-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/dm-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/dm-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/dm-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/dm-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/space-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Mono"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/space-mono-latin-700-normal.woff2") format("woff2"); }

:root {
  --paper: #fbf9f4;
  --cream: #f5edd6;
  --track: #efe6d2;
  --ink: #0b0a09;
  --muted: #5c5651;
  --orange: #ff3c00;
  --orange-ink: #c12a00;
  --gutter: clamp(16px, 3vw, 40px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-io: cubic-bezier(.7, 0, .3, 1);
  --display: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Space Mono", Menlo, Consolas, monospace;
  /* Hard shadows: no blur, ever. Hover steps up one size and turns orange. */
  --sh-1: 4px 4px 0 var(--ink);
  --sh-2: 6px 6px 0 var(--ink);
  --sh-3: 8px 8px 0 var(--ink);
  --sh-4: 12px 12px 0 var(--ink);
  --sh-5: 14px 14px 0 var(--ink);
  /* One timing per kind of change. */
  --dur-press: .12s;
  --dur-ui: .18s;
  --dur-hover: .25s;
  --dur-reveal: .8s;
  --dur-count: 1.4s;
  /* Layers. */
  --z-content: 1;
  --z-header: 30;
  --z-toast: 60;
  --z-skip: 100;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; background: var(--paper); color: var(--ink); overflow-x: clip; font-family: var(--sans); }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--orange-ink); }
::selection { background: var(--orange); color: var(--ink); }
img, svg { max-width: 100%; }
/* Ink ring with a paper gap: visible on paper, cream, white and orange. */
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.marquee :focus-visible, .cookie-bar :focus-visible { outline-color: var(--paper); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 12px 16px; font: 600 15px var(--sans); }
.skip:focus { top: 12px; color: var(--paper); }

/* Bebas Neue sits in the em box as caps only, so lines set at .84 to .9 */
.wordmark { display: inline-flex; align-items: center; gap: .18em; font: 400 34px/1 var(--display); letter-spacing: .01em; text-transform: uppercase; color: var(--ink); }
.wordmark svg { width: .82em; height: .82em; flex: none; }
.s1mark { display: inline-flex; align-items: center; gap: 10px; font: 700 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.s1mark img { width: 40px; height: 40px; flex: none; display: block; }

/* ------------------------------------------------------------ hover states */
.u-line { background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat; background-position: 0 100%; background-size: 0% 2px; transition: background-size .25s var(--ease); }
.u-line:hover, .u-line:focus-visible { background-size: 100% 2px !important; }
.hov-orange:hover { color: var(--orange-ink) !important; text-decoration: underline; text-underline-offset: 4px; }
.hov-lift:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink) !important; color: var(--ink) !important; }
/* Pressed: the button sinks into its shadow. */
.hov-lift:active, .btn-o:active { transform: translate(3px, 3px) !important; box-shadow: 0 0 0 var(--ink) !important; transition-duration: var(--dur-press); }
.hov-up:hover { transform: translateY(-2px); color: var(--ink) !important; }
.hov-card { transition: translate .25s var(--ease), box-shadow .25s var(--ease) !important; }
.hov-card:hover { translate: -4px -4px; box-shadow: 14px 14px 0 var(--orange) !important; color: var(--ink) !important; }

/* ---------------------------------------------------------- ambient field */
.field { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.field > div { position: absolute; }
.field > div > div { width: 100%; height: 100%; border-radius: 50%; }
.field .grain { inset: 0; mix-blend-mode: multiply; }

/* ------------------------------------------------------------------ header */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(251, 249, 244, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--ink); }
.site-header .bar { padding: 10px var(--gutter); display: flex; align-items: center; gap: 10px; }
.site-header .home { display: flex; align-items: center; margin-right: auto; min-height: 44px; }
.site-header .home .wordmark { font-size: 32px; }
.nav-main { display: flex; align-items: center; gap: 24px; margin-right: 22px; font: 700 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.nav-main a { padding: 6px 0; white-space: nowrap; }
.nav-main a[aria-current="page"] { background-size: 100% 2px; }
.nav-cta { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--ink); background: transparent; font: 600 14px var(--sans); color: var(--ink); white-space: nowrap; transition: transform .18s var(--ease), background-color .25s, border-color .25s; }
.menu-btn { display: none; width: 44px; height: 44px; flex: none; align-items: center; justify-content: center; flex-direction: column; gap: 6px; background: none; border: 0; padding: 0; cursor: pointer; color: var(--ink); }
.menu-btn span { display: block; width: 22px; height: 2px; background: currentColor; transition: transform .25s var(--ease); }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.nav-mobile { display: none; flex-direction: column; padding: 0 16px 16px; font: 700 14px var(--mono); letter-spacing: .08em; text-transform: uppercase; border-top: 1px solid var(--ink); max-height: calc(100svh - 65px); overflow-y: auto; }
.nav-mobile a { min-height: 52px; display: flex; align-items: center; border-bottom: 1px solid rgba(11, 10, 9, .15); }
.nav-mobile a:last-child { border-bottom: 0; }
@media (max-width: 1239px) {
  .nav-main { display: none; }
  .menu-btn { display: flex; }
  .site-header.open .nav-mobile { display: flex; }
}
@media (max-width: 400px) { .nav-cta { padding: 0 12px; font-size: 13px; } .site-header .home .wordmark { font-size: 28px; } }

/* ----------------------------------------------------------- section label */
.sec-label { display: flex; justify-content: space-between; gap: 12px; font: 700 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.sec-label > :last-child { color: var(--muted); }

/* ---------------------------------------------------------------------- FAQ */
.faq summary::-webkit-details-marker { display: none; }
.faq summary > span { transition: transform .25s var(--ease), background-color .25s; }
.faq details[open] > summary > span { transform: rotate(45deg); background: var(--orange) !important; color: var(--ink) !important; }
.faq summary:hover > span { background: var(--orange-ink) !important; }

/* ------------------------------------------------------------------ footer */
.site-footer { position: relative; z-index: 1; background: var(--paper); overflow: hidden; border-top: 1px solid var(--ink); }
.site-footer .top { padding: 56px var(--gutter) 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 36px; }
.site-footer .who { display: flex; flex-direction: column; gap: 6px; font: 500 16px/1.5 var(--sans); }
.site-footer .who a { min-height: 44px; display: flex; align-items: center; text-decoration: underline; text-underline-offset: 4px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 24px clamp(32px, 5vw, 72px); font: 700 13px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.site-footer nav > div { display: flex; flex-direction: column; min-width: 150px; }
.site-footer nav h2 { margin: 0 0 8px; font: 400 28px/1 var(--display); letter-spacing: 0; text-transform: none; }
.site-footer nav a { min-height: 40px; display: flex; align-items: center; }
.site-footer nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer .legal { padding: 0 var(--gutter); font: 400 12px var(--mono); }
.site-footer .giant { font: 400 30vw/.74 var(--display); text-transform: uppercase; white-space: nowrap; margin: 28px 0 -.1em -.03em; }

/* ----------------------------------------------------------- cookie notice */
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 620px; margin: 0 auto; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; background: var(--ink); color: var(--paper); padding: 16px 18px; box-shadow: 8px 8px 0 var(--orange); }
.cookie-bar p { margin: 0; flex: 1 1 260px; font: 400 14px/1.5 var(--sans); }
.cookie-bar a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-actions button { min-height: 44px; padding: 0 20px; font: 600 15px var(--sans); cursor: pointer; border: 1.5px solid var(--paper); }
.cookie-yes { background: var(--orange); color: var(--ink); border-color: var(--orange) !important; }
.cookie-no { background: transparent; color: var(--paper); }
@media (max-width: 520px) { .cookie-actions { flex: 1 1 100%; } .cookie-actions button { flex: 1; } }

/* ------------------------------------------------------------- artband hero
   The drifting-circles band, first built for /advertise-on-ai. Subpages use
   it as their hero. Square corners and hard shadows to sit in v2. Pick the
   colours per page with --c1..--c3 (wash) and --k1..--k5 (solid circles). */
.artband { --pad: clamp(30px, 5vw, 62px); --c1: rgba(255, 60, 0, .20); --c2: rgba(8, 145, 178, .16); --c3: rgba(124, 58, 237, .13);
  --k1: #0891b2; --k2: #ff3c00; --k3: #ca8a04; --k4: #16a34a; --k5: #7c3aed;
  position: relative; overflow: hidden; isolation: isolate; background: #f6f1e7; border: 1.5px solid var(--ink); box-shadow: 10px 10px 0 var(--ink);
  padding: var(--pad); display: grid; gap: clamp(28px, 4vw, 48px); min-height: clamp(460px, 52vw, 600px); }
.ab-wash { position: absolute; inset: -14% -8%; z-index: 0; }
.ab-wash span, .ab-solid span { position: absolute; border-radius: 50%; mix-blend-mode: multiply; animation: ab-driftA 23s ease-in-out infinite alternate; will-change: transform; }
.ab-t1 { width: 46%; aspect-ratio: 1; left: -4%; top: 2%; background: var(--c1); }
.ab-t2 { width: 38%; aspect-ratio: 1; right: 4%; top: -6%; background: var(--c2); animation-name: ab-driftB !important; animation-duration: 31s !important; animation-delay: -7s !important; }
.ab-t3 { width: 30%; aspect-ratio: 1; left: 28%; top: 30%; background: var(--c3); animation-name: ab-driftC !important; animation-duration: 27s !important; animation-delay: -15s !important; }
.ab-stage { position: relative; display: flex; align-items: flex-end; align-self: end; }
.ab-solid { position: absolute; z-index: 0; left: calc(-1 * var(--pad) - 6%); right: calc(-1 * var(--pad) - 6%); top: -60%; bottom: calc(-1 * var(--pad)); }
.ab-k1 { width: 26%; aspect-ratio: 1; right: 16%; top: 2%; background: var(--k1); animation-name: ab-driftB !important; animation-duration: 29s !important; }
.ab-k2 { width: 20%; aspect-ratio: 1; right: 2%; bottom: -6%; background: var(--k2); animation-duration: 21s !important; animation-delay: -5s !important; }
.ab-k3 { width: 13%; aspect-ratio: 1; left: 56%; bottom: 4%; background: var(--k3); animation-name: ab-driftC !important; animation-duration: 19s !important; animation-delay: -11s !important; }
.ab-k4 { width: 7%; aspect-ratio: 1; left: 44%; top: 8%; background: var(--k4); animation-name: ab-driftB !important; animation-duration: 16s !important; animation-delay: -3s !important; }
.ab-k5 { width: 5%; aspect-ratio: 1; right: 40%; bottom: 22%; background: var(--k5); animation-duration: 25s !important; animation-delay: -17s !important; }
@keyframes ab-driftA { from { transform: translate(0, 0) scale(1); } to { transform: translate(6%, 8%) scale(1.08); } }
@keyframes ab-driftB { from { transform: translate(0, 0) scale(1); } to { transform: translate(-8%, 6%) scale(.94); } }
@keyframes ab-driftC { from { transform: translate(0, 0) scale(1); } to { transform: translate(5%, -7%) scale(1.1); } }
.artband::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .5; mix-blend-mode: multiply; background-image: var(--grain, none); }
.artband[data-parallax] .ab-wash { transform: translate3d(calc(var(--mx, 0) * -24px), calc(var(--my, 0) * -18px), 0); }
.artband[data-parallax] .ab-solid { transform: translate3d(calc(var(--mx, 0) * 46px), calc(var(--my, 0) * 30px), 0); }
.ab-in { position: relative; z-index: 2; max-width: 760px; display: flex; flex-direction: column; gap: 22px; }
.ab-in h1, .ab-in h2 { margin: 0; font: 400 clamp(56px, 8.4vw, 124px)/.86 var(--display); text-transform: uppercase; }
.ab-in h1 .ln, .ab-in h2 .ln { display: block; }
.ab-in p { margin: 0; max-width: 46ch; font: 500 clamp(17px, 1.4vw, 19px)/1.55 var(--sans); color: #2a2521; }
.ab-act { position: relative; z-index: 2; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.ab-chip { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px 0 14px; background: #fff; border: 1.5px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); font: 700 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.ab-chip svg, .ab-chip img { width: 24px; height: 24px; flex: none; }
.ab-x { display: inline-grid; place-items: center; width: 36px; height: 36px; background: var(--ink); color: var(--paper); font: 400 22px/1 var(--display); }
@media (max-width: 620px) { .ab-act { flex-direction: column; align-items: flex-start; } }

/* ------------------------------------------------------------ reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .ab-wash span, .ab-solid span { animation: none !important; }
}

/* ---------------------------------------------------------------- buttons
   .btn-o is the one primary button: orange, ink text, hard ink shadow.
   Add .hov-lift for the hover lift and data-magnet on a wrapper for pull. */
.btn-o { display: inline-flex; align-items: center; gap: 14px; min-height: 60px; padding: 0 28px; background: var(--orange); color: var(--ink); font: 600 17px var(--sans); box-shadow: 6px 6px 0 var(--ink); border: 0; cursor: pointer; transition: transform .18s var(--ease), box-shadow .18s; }
.btn-o:hover { color: var(--ink); }
.btn-o .arr { display: inline-block; transition: transform .25s var(--ease); }
.btn-o:hover .arr { transform: translateX(5px); }
.link-u { font: 600 16px var(--sans); padding: 10px 0; background-position: 0 85% !important; }

/* ---------------------------------------------------------------- marquee
   A ticker band. v2.js clones the track and speeds it up with scroll. */
.marquee { overflow: hidden; background: var(--ink); color: var(--paper); border-bottom: 1px solid var(--ink); }
.marquee > div { display: flex; width: max-content; }
.marquee span { display: inline-flex; align-items: center; gap: .5em; padding: .18em .5em .08em; font: 400 clamp(40px, 6vw, 84px)/1 var(--display); text-transform: uppercase; white-space: nowrap; }
.marquee span::after { content: ""; width: .42em; height: .42em; background: var(--orange); transform: rotate(45deg); margin-left: .5em; }

/* ------------------------------------------------------------------ article
   Research posts. The article markup is plain (h2, p, ul, figure.chart) so a
   new post only needs the same classes. Charts land on their final values in
   the HTML; motion only grows them. */
.post-hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: end; padding: clamp(28px, 4vw, 56px) var(--gutter) clamp(40px, 5vw, 72px); background: var(--cream); border-bottom: 1px solid var(--ink); }
.post-hero h1 { margin: 22px 0 0; font: 400 clamp(44px, 6.2vw, 96px)/.88 var(--display); text-transform: uppercase; text-wrap: balance; }
.post-hero .meta { margin: 20px 0 0; font: 700 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.post-stat { background: #fff; border: 1.5px solid var(--ink); box-shadow: var(--sh-4); padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: 12px; }
.post-stat b { font: 400 clamp(110px, 13vw, 200px)/.8 var(--display); font-weight: 400; color: var(--orange); -webkit-text-stroke: 1.5px var(--ink); text-transform: uppercase; white-space: nowrap; }
.post-stat span { font: 600 17px/1.4 var(--sans); }
.post-stat small { font: 400 12px/1.5 var(--mono); color: var(--muted); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; font: 700 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--orange-ink); }
@media (max-width: 899px) { .post-hero { grid-template-columns: 1fr; } }

.article { max-width: 760px; margin: 0 auto; padding: clamp(48px, 6vw, 88px) var(--gutter); font: 400 19px/1.7 var(--sans); }
.article > p, .article li { color: #2a2521; }
.article .standfirst { font: 500 clamp(21px, 2vw, 25px)/1.5 var(--sans); color: var(--ink); margin: 0 0 12px; }
.article h2 { margin: 64px 0 18px; font: 400 clamp(40px, 4.4vw, 60px)/.9 var(--display); text-transform: uppercase; }
.article h3 { margin: 0 0 12px; font: 400 30px/.95 var(--display); text-transform: uppercase; }
.article p { margin: 0 0 20px; }
.article a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.article ul, .article ol { margin: 0 0 22px; padding: 0; list-style: none; }
.article ul > li { position: relative; padding-left: 26px; margin-bottom: 12px; }
.article ul > li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 10px; background: var(--orange); }
.article ol { counter-reset: n; }
.article ol > li { counter-increment: n; display: grid; grid-template-columns: 48px 1fr; gap: 6px; margin-bottom: 14px; }
.article ol > li::before { content: counter(n, decimal-leading-zero); font: 400 34px/1 var(--display); color: var(--orange-ink); }
.article strong { color: var(--ink); }

.article .chart { margin: 36px 0; }
.article figcaption { margin-top: 14px; font: 400 12px/1.6 var(--mono); color: var(--muted); }
.article .answer { background: #fff; border: 1.5px solid var(--ink); box-shadow: var(--sh-3); padding: 22px 24px; display: flex; flex-direction: column; gap: 14px; }
.article .answer-q { margin: 0; font: 700 11px/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.article .answer-q b { display: block; margin-top: 8px; align-self: flex-end; font: 500 17px/1.4 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink); background: var(--cream); padding: 10px 14px; }
.article .answer-a { margin: 0; font: 400 17px/1.6 var(--sans); }
.article .redact { background: var(--ink); color: var(--paper); padding: 1px 6px; font: 700 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.article .redact:not(.other) { background: var(--orange); color: var(--ink); }
.article .bars { display: flex; flex-direction: column; gap: 18px; padding: 22px 24px; background: #fff; border: 1.5px solid var(--ink); box-shadow: var(--sh-3); }
.article .bar-row .lab { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; font: 700 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.article .bar-row .lab b { font: 400 40px/1 var(--display); letter-spacing: 0; }
.article .bar-track { height: 26px; background: var(--track); }
.article .bar-fill { display: block; height: 100%; width: var(--w); transform-origin: left; }
.article .keynum { margin: 40px 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 24px; align-items: center; background: var(--ink); color: var(--paper); padding: clamp(22px, 3vw, 32px); box-shadow: 10px 10px 0 var(--orange); }
.article .keynum b { font: 400 clamp(64px, 8vw, 104px)/.85 var(--display); color: var(--orange); white-space: nowrap; }
.article .keynum span { font: 500 17px/1.5 var(--sans); color: #e8e1d2; }
@media (max-width: 620px) { .article .keynum { grid-template-columns: 1fr; } }
.article .dotgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(11px, 1fr)); gap: 4px; padding: 20px; background: #fff; border: 1.5px solid var(--ink); box-shadow: var(--sh-3); }
.article .dotgrid i { aspect-ratio: 1; background: #c9c1b3; }
.article .dotgrid i.hit { background: var(--orange); outline: 2px solid var(--ink); }
.article .dot-key { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px; font: 700 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.article .dot-key i { display: inline-block; width: 12px; height: 12px; margin-right: 8px; vertical-align: -1px; }
.article .ladder { display: flex; flex-direction: column; border: 1.5px solid var(--ink); box-shadow: var(--sh-3); background: #fff; }
.article .ladder-row { display: grid; grid-template-columns: 72px 1fr auto; align-items: center; gap: 14px; padding: 14px 20px; border-bottom: 1px solid rgba(11,10,9,.15); }
.article .ladder-row:last-child { border-bottom: 0; }
.article .ladder-rank { font: 400 40px/1 var(--display); color: var(--muted); }
.article .ladder-name { font: 400 32px/1 var(--display); text-transform: uppercase; }
.article .ladder-row.is-new { background: var(--orange); }
.article .ladder-row.is-new .ladder-rank { color: var(--ink); }
.article .ladder-note { font: 700 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; background: var(--ink); color: var(--paper); padding: 3px 8px; }
.article .method { margin: 48px 0 0; padding: clamp(22px, 3vw, 32px); background: var(--cream); border: 1.5px solid var(--ink); }
.article .method ul { margin: 0; }
.article .method li { font-size: 16px; }

/* On view, [data-inview] gets .in; dot grids then fill one dot at a time. */
.js-motion .dotgrid[data-inview] i { transform: scale(.4); opacity: .3; transition: transform .3s var(--ease), opacity .3s; transition-delay: calc(var(--i, 0) * 4ms); }
.js-motion .dotgrid[data-inview].in i { transform: none; opacity: 1; }
.js-motion .ladder[data-inview] .ladder-row { opacity: 0; transform: translateX(-24px); transition: opacity .5s, transform .6s var(--ease); transition-delay: calc(var(--i, 0) * 110ms); }
.js-motion .ladder[data-inview].in .ladder-row { opacity: 1; transform: none; }

/* Research index: report cards. */
.reports { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 32px; }
.report { position: relative; display: flex; flex-direction: column; gap: 18px; background: #fff; border: 1.5px solid var(--ink); box-shadow: var(--sh-3); padding: clamp(24px, 3vw, 36px); color: var(--ink); }
.report:hover { color: var(--ink); }
.report .top { display: flex; justify-content: space-between; font: 700 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.report .top span:first-child { color: var(--orange-ink); }
.report .top span:last-child { color: var(--muted); }
.report .stat { font: 400 clamp(110px, 12vw, 180px)/.8 var(--display); }
.report h2 { margin: 0; font: 400 clamp(32px, 3vw, 44px)/.92 var(--display); text-transform: uppercase; }
.report p { margin: 0; font: 400 16px/1.6 var(--sans); color: var(--muted); }
.report .go { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 16px; border-top: 1.5px solid var(--ink); font: 700 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.report .go i { width: 44px; height: 44px; display: grid; place-items: center; background: var(--ink); color: var(--paper); font-style: normal; font-size: 18px; transition: background-color var(--dur-hover), transform var(--dur-hover) var(--ease); }
.report:hover .go i { background: var(--orange); color: var(--ink); transform: rotate(-45deg); }
