/* ─────────────────────────────────────────────────────────
   TOKENS
   ───────────────────────────────────────────────────────── */
:root {
  /* OKLCH palette — cool slate, deep navy ink, cobalt blue accent, lime "evidence" tag.
     Tuned from the ui-ux-pro-max B2B Service preset. Neutrals tinted ~250° (cool slate). */
  --paper:        oklch(0.985 0.004 250);  /* near-white slate canvas */
  --paper-deeper: oklch(0.965 0.006 250);  /* card surface */
  --paper-edge:   oklch(0.918 0.008 250);  /* hairline borders */
  --rule:         oklch(0.880 0.010 250);  /* subtle dividers */
  --ink:          oklch(0.180 0.025 260);  /* near-black slate */
  --ink-soft:     oklch(0.340 0.020 255);  /* secondary text */
  --ink-mute:     oklch(0.510 0.015 252);  /* tertiary / labels */
  --accent:       oklch(0.460 0.180 258);  /* cobalt / electric blue */
  --accent-deep:  oklch(0.380 0.180 260);
  --evidence:     oklch(0.870 0.180 130);  /* lime — "verified" tag, used sparingly */
  --warning:      oklch(0.700 0.180 35);   /* amber — gap indicator */
  --highlight:    oklch(0.960 0.060 250);  /* cool blue tint highlight */

  /* 4pt fluid spacing scale */
  --s-1: 4px;   --s-2: 8px;    --s-3: 12px;  --s-4: 16px;
  --s-5: 24px;  --s-6: 32px;   --s-7: 48px;  --s-8: 64px;
  --s-9: 96px;  --s-10: 128px; --s-11: 160px;

  /* Custom easing — never 'linear' or default 'ease-in-out' */
  --ease-out-strong: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-drawer:     cubic-bezier(0.32, 0.72, 0, 1);
  --ease-in-out-strong: cubic-bezier(0.77, 0, 0.175, 1);

  --container: min(1320px, 100% - 80px);

  /* Font families */
  --font-sans:  "Geist", -apple-system, "Inter", system-ui, sans-serif;
  --font-mono:  "Geist Mono", ui-monospace, "SF Mono", monospace;
  --font-serif: "Instrument Serif", "Times New Roman", Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Geist", -apple-system, "Inter", system-ui, sans-serif;
  font-feature-settings: "ss01", "ss03", "cv11";
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Subtle grid texture instead of paper grain — cool, technical, almost imperceptible */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 60;
  opacity: 0.4;
  background-image:
    linear-gradient(to right, oklch(0.18 0.025 260 / 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(0.18 0.025 260 / 0.025) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(ellipse 100% 80% at 50% 30%, black, transparent 90%);
}

/* Soft ambient highlight glow at the top of the viewport */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 59;
  background:
    radial-gradient(120% 50% at 50% -20%, oklch(0.460 0.180 258 / 0.06), transparent 55%);
}

/* ─────────────────────────────────────────────────────────
   TYPOGRAPHY — all Geist, weight contrast carries hierarchy
   ───────────────────────────────────────────────────────── */
/* Screen reader only — visible to AI crawlers and assistive tech */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.mono { font-family: var(--font-mono); font-feature-settings: "tnum", "ss01"; }
.tnum { font-variant-numeric: tabular-nums; }
.accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
  font-size: 1.12em;
  letter-spacing: -0.014em;
  padding: 0 0.04em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  background-image: linear-gradient(
    to top,
    transparent 0.08em,
    oklch(0.460 0.180 258 / 0.9) 0.08em,
    oklch(0.460 0.180 258 / 0.9) 0.13em,
    transparent 0.13em
  );
}
/* Sparser inline variant (no underline) */
.serif-i {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
  font-size: 1.1em;
  letter-spacing: -0.012em;
  padding-right: 0.04em;
}

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: -0.022em;
  text-wrap: balance;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.4rem, 4.4vw + 0.6rem, 5.2rem);
  line-height: 0.96;
  letter-spacing: -0.038em;
  font-weight: 500;
}
h1 .serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  font-size: 1.08em;
  line-height: 0.88;
}
h2 {
  font-size: clamp(2rem, 3.4vw + 0.5rem, 3.9rem);
  line-height: 1.02;
  letter-spacing: -0.032em;
  font-weight: 500;
}
h2 .serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.1em;
  letter-spacing: -0.015em;
  color: var(--ink);
}
h3 {
  font-size: clamp(1.25rem, 1.1vw + 0.6rem, 1.65rem);
  line-height: 1.18;
  letter-spacing: -0.018em;
  font-weight: 600;
}
h4 {
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 600;
}
p { max-width: 64ch; }

/* The eyebrow tag — small caps mono label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}
.eyebrow::before {
  content: "";
  width: 32px; height: 1px;
  background: var(--ink);
  opacity: 0.8;
}
.eyebrow::after {
  content: "";
  width: 5px; height: 5px;
  border-radius: 999px;
  background: var(--accent);
  animation: pulse-dot 2.4s var(--ease-out-strong) infinite;
  box-shadow: 0 0 0 0 var(--accent);
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 oklch(0.460 0.180 258 / 0.35); }
  50%      { box-shadow: 0 0 0 6px oklch(0.460 0.180 258 / 0); }
}

.case-num {
  font-family: "Geist Mono", monospace;
  font-weight: 500;
  color: var(--accent);
  font-size: 0.85em;
  letter-spacing: 0;
}

/* Inline highlight — cool blue tint, used for the "verified" emphasis */
mark {
  background: linear-gradient(180deg, transparent 55%, oklch(0.880 0.110 250 / 0.45) 55%, oklch(0.880 0.110 250 / 0.45) 92%, transparent 92%);
  color: inherit;
  padding: 0 2px;
}

a { color: inherit; text-decoration: none; }
a.underline { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: var(--rule); }
a.underline:hover { text-decoration-color: var(--accent); }

::selection { background: var(--accent); color: var(--paper); }

/* ─────────────────────────────────────────────────────────
   LAYOUT PRIMITIVES
   ───────────────────────────────────────────────────────── */
.container {
  width: var(--container);
  margin-inline: auto;
}

section {
  padding-block: clamp(56px, 7vw, 96px);
  position: relative;
}

.divider-mark {
  display: flex; align-items: center; gap: 14px;
  font-family: "Geist Mono", monospace;
  color: var(--ink-mute);
  font-size: 12px;
  letter-spacing: 0.02em;
}
.divider-mark::before, .divider-mark::after {
  content: ""; flex: 1; height: 1px;
  background: var(--rule);
}

/* ─────────────────────────────────────────────────────────
   NAVIGATION — floating editorial bar
   ───────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 24px; left: 0; right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.nav-shell {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 7px 7px 7px 22px;
  border-radius: 2px;
  background: oklch(0.985 0.004 250 / 0.82);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--paper-edge);
  box-shadow:
    inset 0 1px 0 oklch(1 0 0 / 0.8),
    0 1px 2px oklch(0.18 0.025 260 / 0.04),
    0 20px 40px -28px oklch(0.18 0.025 260 / 0.18);
  animation: nav-float 5s ease-in-out infinite;
}
@keyframes nav-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
.brand {
  font-family: "Geist", sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.022em;
  display: flex; align-items: center; gap: 10px;
  transition: transform 280ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.brand:hover { transform: scale(1.05) translateY(-1px); }
.brand:active { transform: scale(0.95); transition-duration: 80ms; }
.brand-mark {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  perspective: 800px;
  border-radius: 1px;
}

/* ── 3D Cube ── */
.cube {
  width: 26px; height: 26px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 700ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.cube-face {
  position: absolute;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  backface-visibility: hidden;
  border-radius: 1px;
}
.cube-front  { background: var(--ink); color: var(--paper); transform: translateZ(13px); }
.cube-back   { background: var(--ink); color: var(--paper); transform: rotateY(180deg) translateZ(13px); }
.cube-right  { background: oklch(0.25 0.02 260); transform: rotateY(90deg) translateZ(13px); }
.cube-left   { background: oklch(0.25 0.02 260); transform: rotateY(-90deg) translateZ(13px); }
.cube-top    { background: oklch(0.22 0.02 260); transform: rotateX(90deg) translateZ(13px); }
.cube-bottom { background: oklch(0.22 0.02 260); transform: rotateX(-90deg) translateZ(13px); }

/* SVG logo sizing */
.brand-r {
  width: 14px;
  height: auto;
}

/* ── Load animation — pieces assemble into the R ── */
.cube-front .r-left {
  animation: r-enter-left 700ms cubic-bezier(0.34, 1.56, 0.64, 1) 200ms both;
}
.cube-front .r-top {
  animation: r-enter-top 700ms cubic-bezier(0.34, 1.56, 0.64, 1) 400ms both;
}
.cube-front .r-leg {
  animation: r-enter-leg 700ms cubic-bezier(0.34, 1.56, 0.64, 1) 600ms both;
}
@keyframes r-enter-left {
  from { opacity: 0; transform: translateX(-50%) rotate(-20deg); }
  to   { opacity: 1; transform: none; }
}
@keyframes r-enter-top {
  from { opacity: 0; transform: translateY(-50%) rotate(15deg); }
  to   { opacity: 1; transform: none; }
}
@keyframes r-enter-leg {
  from { opacity: 0; transform: translate(40%, 40%) rotate(25deg); }
  to   { opacity: 1; transform: none; }
}

/* ── Hover — full cube twist + piece disassemble/reassemble ── */
.brand:hover .cube {
  animation: cube-twist 900ms cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
@keyframes cube-twist {
  0%   { transform: rotateY(0deg)   rotateX(0deg); }
  25%  { transform: rotateY(90deg)  rotateX(10deg); }
  50%  { transform: rotateY(180deg) rotateX(0deg); }
  75%  { transform: rotateY(270deg) rotateX(-10deg); }
  100% { transform: rotateY(360deg) rotateX(0deg); }
}

/* Pieces explode mid-twist, reassemble at end */
.cube-front .r-left,
.cube-front .r-top,
.cube-front .r-leg {
  transition: transform 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.brand:hover .cube-front .r-left {
  animation: piece-left 900ms cubic-bezier(0.25, 1, 0.5, 1);
}
.brand:hover .cube-front .r-top {
  animation: piece-top 900ms cubic-bezier(0.25, 1, 0.5, 1);
}
.brand:hover .cube-front .r-leg {
  animation: piece-leg 900ms cubic-bezier(0.25, 1, 0.5, 1);
}
@keyframes piece-left {
  0%   { transform: none; }
  8%   { transform: translate(-22%, -14%) rotate(-12deg); }
  50%  { transform: translate(-22%, -14%) rotate(-12deg); }
  85%  { transform: translate(-3%, -1%) rotate(-1deg); }
  100% { transform: none; }
}
@keyframes piece-top {
  0%   { transform: none; }
  8%   { transform: translate(14%, -24%) rotate(10deg); }
  50%  { transform: translate(14%, -24%) rotate(10deg); }
  85%  { transform: translate(2%, -3%) rotate(1deg); }
  100% { transform: none; }
}
@keyframes piece-leg {
  0%   { transform: none; }
  8%   { transform: translate(22%, 20%) rotate(14deg); }
  50%  { transform: translate(22%, 20%) rotate(14deg); }
  85%  { transform: translate(3%, 3%) rotate(1deg); }
  100% { transform: none; }
}
.nav-links {
  display: flex; gap: 22px;
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 500;
}
.nav-links > a:not(.btn) {
  position: relative;
  display: inline-block;
  padding: 4px 8px;
  border-radius: 6px;
  transition:
    color 200ms var(--ease-out-strong),
    transform 280ms cubic-bezier(0.34, 1.56, 0.64, 1),
    background-color 200ms var(--ease-out-strong);
}
.nav-links > a:not(.btn):hover {
  color: var(--ink);
  transform: scale(1.1) translateY(-2px);
  background: oklch(0.18 0.025 260 / 0.06);
}
.nav-links > a:not(.btn):active {
  transform: scale(0.92);
  transition-duration: 80ms;
}

/* ─── Nav dropdown (Rigor) ─── */
.nav-dropdown {
  position: relative;
}
.nav-dropdown__trigger {
  all: unset;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 6px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
  transition:
    color 200ms var(--ease-out-strong),
    transform 280ms cubic-bezier(0.34, 1.56, 0.64, 1),
    background-color 200ms var(--ease-out-strong);
}
.nav-dropdown__trigger:hover {
  color: var(--ink);
  transform: scale(1.1) translateY(-2px);
  background: oklch(0.18 0.025 260 / 0.06);
}
.nav-dropdown__trigger:active {
  transform: scale(0.92);
  transition-duration: 80ms;
}
.nav-dropdown__chevron {
  transition: transform 250ms var(--ease-out-strong);
  flex-shrink: 0;
}
.nav-dropdown[aria-expanded="true"] .nav-dropdown__chevron,
.nav-dropdown__trigger[aria-expanded="true"] .nav-dropdown__chevron {
  transform: rotate(180deg);
}

/* Dropdown panel */
.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  min-width: 200px;
  padding: 8px 0;
  background: oklch(0.985 0.004 250 / 0.96);
  backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--paper-edge);
  border-radius: 8px;
  box-shadow:
    0 4px 16px oklch(0.18 0.025 260 / 0.10),
    0 1px 3px oklch(0.18 0.025 260 / 0.06);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 200ms var(--ease-out-strong),
    transform 200ms var(--ease-out-strong);
  z-index: 60;
}
.nav-dropdown__menu::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
}
.nav-dropdown__menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown__menu a {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 150ms, background-color 150ms;
  white-space: nowrap;
}
.nav-dropdown__menu a:hover {
  color: var(--ink);
  background: oklch(0.18 0.025 260 / 0.05);
  transform: none;
}
.nav-dropdown__menu a:active {
  background: oklch(0.18 0.025 260 / 0.08);
}

/* Dark overrides for dropdown */
html.dark .nav-dropdown__trigger:hover {
  background: oklch(1 0 0 / 0.08);
}
html.dark .nav-dropdown__menu {
  background: oklch(0.115 0.015 260 / 0.96);
  border-color: oklch(0.240 0.016 260);
  box-shadow:
    0 4px 16px oklch(0 0 0 / 0.3),
    0 1px 3px oklch(0 0 0 / 0.2);
}
html.dark .nav-dropdown__menu a:hover {
  background: oklch(1 0 0 / 0.06);
}

/* ─── Mobile nav toggle (hamburger) ──────────────────────── */
/* Square button — matches the site's rectangular design language */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  place-items: center;
  background: transparent;
  border: 1px solid var(--paper-edge);
  border-radius: 2px;
  cursor: pointer;
  color: var(--ink-soft);
  flex-shrink: 0;
  position: relative;
  transition:
    color 200ms var(--ease-out-strong),
    border-color 200ms var(--ease-out-strong),
    background 200ms var(--ease-out-strong);
}
.nav-toggle:active {
  background: oklch(0.18 0.025 260 / 0.08);
  transform: scale(0.95);
  transition-duration: 60ms;
}
/* SVG icon — bars animate to × */
.nav-toggle svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  transition: transform 400ms cubic-bezier(0.34, 1.56, 0.64, 1), opacity 250ms;
}
.nav-toggle svg path {
  transform-box: fill-box;
  transform-origin: center;
  transition:
    transform 320ms cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 200ms var(--ease-out-strong);
}
.nav-shell.is-open .tog-top { transform: translateY(3px) rotate(45deg); }
.nav-shell.is-open .tog-mid { opacity: 0; transform: scaleX(0); }
.nav-shell.is-open .tog-bot { transform: translateY(-3px) rotate(-45deg); }

/* Mobile-only CTA (inside .nav-links) — hidden on desktop */
.nav-cta-mobile { display: none !important; }

/* ─────────────────────────────────────────────────────────
   BUTTONS — magnetic + button-in-button trailing icon
   ───────────────────────────────────────────────────────── */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 11px 11px 22px;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.012em;
  font-family: "Geist", sans-serif;
  background: var(--ink);
  color: var(--paper);
  transition:
    transform 280ms cubic-bezier(0.34, 1.56, 0.64, 1),
    background 220ms var(--ease-out-strong);
  cursor: pointer;
  border: none;
  isolation: isolate;
}
.btn:hover { transform: scale(1.06) translateY(-2px); }
.btn::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  box-shadow:
    inset 0 1px 0 oklch(1 0 0 / 0.18),
    inset 0 -1px 0 oklch(0 0 0 / 0.4);
  pointer-events: none;
}
.btn .icon-wrap {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: oklch(1 0 0 / 0.12);
  transition: transform 320ms var(--ease-out-strong), background 220ms var(--ease-out-strong);
}
.btn:hover .icon-wrap {
  transform: translate(3px, -2px) scale(1.1);
  background: oklch(1 0 0 / 0.2);
}
.btn:active { transform: scale(0.97); transition-duration: 120ms; }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--paper-edge);
}
.btn--ghost::before { box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.5); }
.btn--ghost .icon-wrap { background: var(--ink); color: var(--paper); }
.btn--ghost:hover .icon-wrap { background: var(--ink); color: var(--paper); }

.btn--accent { background: var(--accent); color: var(--paper); }
.btn--accent:hover { background: var(--accent-deep); }

/* arrow svg sizing */
.btn svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 1.6; }

/* ─────────────────────────────────────────────────────────
   HERO — asymmetric editorial split
   ───────────────────────────────────────────────────────── */
.hero {
  padding-top: clamp(160px, 18vh, 220px);
  padding-bottom: clamp(48px, 6vw, 80px);
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.hero-grid > aside { margin-top: clamp(40px, 6vw, 72px); }
/* Huge ghost file-number behind the hero */
.hero { isolation: isolate; }
.hero-ghost {
  position: absolute;
  top: clamp(40px, 5vh, 80px);
  right: clamp(-40px, -2vw, 0px);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(14rem, 28vw, 36rem);
  line-height: 0.78;
  color: transparent;
  -webkit-text-stroke: 1.5px oklch(0.18 0.025 260 / 0.14);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  letter-spacing: -0.065em;
  white-space: nowrap;
}
.hero > .container { position: relative; z-index: 1; }
.hero-meta {
  font-size: 12px;
  color: var(--ink-mute);
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 36px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.hero-meta b { color: var(--ink); font-weight: 500; }
.hero-meta .dot { width: 4px; height: 4px; background: var(--rule); border-radius: 999px; align-self: center; }

.hero-headline {
  font-weight: 500;
}
.hero-headline em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
  position: relative;
  font-size: 1.15em;
  letter-spacing: -0.02em;
  line-height: 0.85;
  padding-right: 0.08em;
}
.hero-headline em::after {
  content: "";
  position: absolute;
  left: 0; right: 6%;
  bottom: 0.08em;
  height: 0.055em;
  background: var(--accent);
  transform-origin: left center;
  transform: scaleX(0);
  animation: underline-in 1.4s var(--ease-out-strong) 0.6s forwards;
}
@keyframes underline-in {
  to { transform: scaleX(1); }
}
.hero-sub {
  margin-top: 36px;
  max-width: 52ch;
  font-size: clamp(1.05rem, 0.8vw + 0.85rem, 1.2rem);
  color: var(--ink-soft);
  line-height: 1.55;
}
.hero-cta {
  margin-top: 44px;
  display: flex; gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.hero-foot {
  font-family: "Geist Mono", monospace;
  font-size: 12px;
  color: var(--ink-mute);
  margin-top: 22px;
  letter-spacing: -0.01em;
}

/* Right column — the dossier card */
.dossier {
  position: relative;
  background: var(--paper-deeper);
  border: 1px solid var(--ink);
  border-radius: 2px;
  padding: 5px;
  box-shadow:
    0 30px 80px -50px oklch(0.2 0.025 260 / 0.4),
    inset 0 0 0 1px oklch(1 0 0 / 0.6);
}
.dossier-inner {
  background: var(--paper);
  border-radius: 1px;
  padding: 28px 30px 30px;
  border: 1px solid oklch(0.92 0.008 250);
  box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.8);
  position: relative;
}
.dossier-inner::before {
  content: "FILE №.001";
  position: absolute;
  top: -10px;
  left: 16px;
  background: var(--paper);
  padding: 0 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--ink-mute);
}
.dossier-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 18px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
}
.dossier-head b { color: var(--ink); }
.dossier-stamp {
  position: absolute;
  right: 16px; top: -10px;
  background: var(--ink);
  color: oklch(0.870 0.180 130);
  padding: 6px 11px 5px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 1px;
  font-family: var(--font-mono);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  z-index: 2;
}
.dossier-stamp::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 999px;
  background: oklch(0.620 0.180 135);
  box-shadow: 0 0 0 3px oklch(0.620 0.180 135 / 0.18);
}
.dossier-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  padding: 14px 0;
  border-bottom: 1px dashed var(--rule);
  font-size: 14px;
}
.dossier-row:last-child { border-bottom: none; }
.dossier-row dt {
  color: var(--ink-mute);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding-top: 3px;
}
.dossier-row dd {
  font-family: "Geist", sans-serif;
  font-size: 16px;
  color: var(--ink);
}
.dossier-row dd .num { font-family: "Geist Mono", monospace; font-feature-settings: "tnum"; color: var(--accent); }

/* ─────────────────────────────────────────────────────────
   TICKER — signature scrolling evidence marquee
   ───────────────────────────────────────────────────────── */
.ticker {
  border-block: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  position: relative;
  padding-block: 22px;
  margin-top: clamp(56px, 8vw, 88px);
}
.ticker::before, .ticker::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.ticker::before {
  left: 0;
  background: linear-gradient(90deg, var(--ink), transparent);
}
.ticker::after {
  right: 0;
  background: linear-gradient(270deg, var(--ink), transparent);
}
.ticker-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: ticker-scroll 60s linear infinite;
  will-change: transform;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: oklch(0.82 0.012 250);
  white-space: nowrap;
  letter-spacing: -0.005em;
}
.ticker-item .claim { color: oklch(0.72 0.015 252); }
.ticker-item .verdict {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 7px;
  border: 1px solid oklch(1 0 0 / 0.15);
  border-radius: 3px;
  color: var(--paper);
}
.ticker-item .verdict.gap {
  color: oklch(0.870 0.180 130);
  border-color: oklch(0.870 0.180 130 / 0.5);
  background: oklch(0.870 0.180 130 / 0.06);
}
.ticker-item .verdict.hold {
  color: oklch(0.78 0.015 250);
}
.ticker-item .sep {
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 999px;
  background: oklch(1 0 0 / 0.2);
}
.ticker-item .serif-acc {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 17px;
  color: var(--paper);
  padding-right: 4px;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

/* ─────────────────────────────────────────────────────────
   FILED-UNDER STRIP (logo bar replacement)
   ───────────────────────────────────────────────────────── */
.filed {
  border-block: 1px solid var(--rule);
  padding-block: 22px;
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.filed b { color: var(--ink); }
.filed-divider {
  width: 1px; height: 14px; background: var(--rule);
  margin: 0 4px;
}
.filed-list {
  display: flex; gap: 14px; flex-wrap: wrap;
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}
.filed-list span {
  padding: 4px 10px;
  border: 1px solid var(--paper-edge);
  border-radius: 1px;
  background: var(--paper);
  transition: border-color 200ms var(--ease-out-strong), color 200ms var(--ease-out-strong);
}
.filed-list span:hover {
  border-color: var(--ink);
  color: var(--ink);
}

/* ─────────────────────────────────────────────────────────
   THE PROBLEM — large editorial pull-quote
   ───────────────────────────────────────────────────────── */
.pullquote {
  display: grid;
  grid-template-columns: 1fr 2.4fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}
.pullquote .lhs { padding-top: 8px; }
.pullquote h2 {
  font-weight: 400;
  letter-spacing: -0.028em;
  color: var(--ink-soft);
  font-size: clamp(1.8rem, 2.6vw + 0.6rem, 3.4rem);
  line-height: 1.15;
  max-width: 22ch;
}
.pullquote h2 strong {
  font-weight: 500;
  color: var(--ink);
}
.pullquote .small {
  font-size: 14px;
  color: var(--ink-mute);
  max-width: 38ch;
  margin-top: 22px;
}

/* ─────────────────────────────────────────────────────────
   DELIVERABLES — asymmetric bento (one big + two stacked)
   ───────────────────────────────────────────────────────── */
.deliverables-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  grid-template-rows: auto auto;
  gap: 18px;
}
.del-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 2px;
  padding: 0;
  transition: transform 400ms var(--ease-out-strong), box-shadow 400ms var(--ease-out-strong);
}
.del-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 60px -40px oklch(0.18 0.025 260 / 0.3);
}
.del-card .core {
  background: var(--paper);
  border-radius: 1px;
  padding: 36px 36px 34px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.del-card .core h3 {
  font-weight: 400;
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 1.6vw + 0.8rem, 2.25rem);
  letter-spacing: -0.014em;
  line-height: 1.04;
}
.del-card .num {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--ink);
  font-size: 28px;
  letter-spacing: -0.02em;
  line-height: 1;
  opacity: 0.35;
}
.del-card .body { color: var(--ink-soft); font-size: 15px; line-height: 1.6; max-width: 50ch; }

.del-large { grid-column: 1; grid-row: 1 / span 2; }

/* Bump headings on the two smaller deliverable cards for visual balance */
.del-card:not(.del-large) .core h3 {
  font-size: clamp(1.8rem, 1.8vw + 0.9rem, 2.5rem);
}

/* The Reality vs Rhetoric mini-table inside the big card */
.matrix {
  margin-top: 18px;
  border: 1px solid var(--ink);
  border-radius: 1px;
  overflow: hidden;
  font-size: 13px;
  background: var(--paper);
}
.matrix-row {
  display: grid;
  grid-template-columns: 1.4fr 1.6fr auto;
  border-bottom: 1px solid var(--rule);
}
.matrix-row:last-child { border-bottom: none; }
.matrix-row > div, .matrix-row > th, .matrix-row > td { padding: 14px 18px; text-align: left; }
.matrix, .mock-table { border-collapse: collapse; width: 100%; }
.matrix-row.head {
  background: oklch(0.965 0.006 250);
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
  font-weight: 500;
  font-family: "Geist Mono", monospace;
}
.matrix-row .claim {
  font-family: "Geist Mono", monospace;
  font-size: 12.5px;
  color: var(--ink-mute);
}
.matrix-row .ev {
  font-family: "Geist", sans-serif;
  font-size: 13px;
  color: var(--ink);
  line-height: 1.5;
}
.matrix-row .verdict {
  text-align: right;
  font-family: "Geist Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
  align-self: center;
}
.verdict.gap { color: var(--accent); }
.verdict.true { color: oklch(0.520 0.140 145); }

/* ─────────────────────────────────────────────────────────
   METHODOLOGY — 4 pillars in an editorial 2x2 grid
   ───────────────────────────────────────────────────────── */
.pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 56px;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}
.pillar {
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: clamp(32px, 4vw, 56px);
  background: var(--paper);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 340px;
  transition: background 400ms var(--ease-out-strong);
}
.pillar:hover { background: var(--paper-deeper); }
.pillar .p-idx {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: flex;
  align-items: center;
  gap: 10px;
}
.pillar .p-idx::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 999px;
}
.pillar .p-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.6rem, 1.4vw + 0.9rem, 2.1rem);
  line-height: 1.02;
  letter-spacing: -0.016em;
  color: var(--ink);
  margin-top: 6px;
}
.pillar .p-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: -6px;
}
.pillar .p-body {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 52ch;
  margin-top: auto;
}

/* ─────────────────────────────────────────────────────────
   PROCESS — numbered editorial blocks with running margin
   ───────────────────────────────────────────────────────── */
.process {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 56px;
}
.process-row {
  display: grid;
  grid-template-columns: 80px 1.4fr 1fr;
  gap: clamp(20px, 4vw, 64px);
  padding-block: 38px;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}
.process-row:first-child { border-top: 1px solid var(--rule); }
.process-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 0.85;
  padding-top: 0;
  letter-spacing: -0.03em;
}
.process-day {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  display: block;
  margin-top: 12px;
}
.process-title {
  font-size: clamp(1.55rem, 1.8vw + 0.6rem, 2.25rem);
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: -0.022em;
  margin-bottom: 14px;
  line-height: 1.08;
}
.process-principle {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 10px;
}
.process-row p { font-size: 15px; color: var(--ink-soft); max-width: 48ch; line-height: 1.7; }
.process-aside {
  font-family: "Geist Mono", monospace;
  font-size: 14px;
  color: var(--ink-mute);
  border-left: 1px solid var(--accent);
  padding-left: 18px;
  margin-top: 4px;
  max-width: 38ch;
}

/* (The single 1px left border above is a quote mark, not the banned >1px stripe.) */

/* ─────────────────────────────────────────────────────────
   GUARANTEE — the proof gap, full bleed editorial statement
   ───────────────────────────────────────────────────────── */
.guarantee {
  background: var(--ink);
  color: var(--paper);
  border-radius: 2px;
  padding: clamp(64px, 9vw, 112px) clamp(40px, 6vw, 96px);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-top: 3px solid oklch(0.870 0.180 130);
}
.guarantee::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at var(--mx, 30%) var(--my, 30%),
      oklch(0.460 0.180 258 / 0.22),
      transparent 60%);
  pointer-events: none;
  z-index: 0;
  transition: background 400ms var(--ease-out-strong);
}
.guarantee::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.18 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.6;
  pointer-events: none;
  mix-blend-mode: overlay;
}
.guarantee-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 64px;
  align-items: end;
  position: relative;
  z-index: 1;
}
.guarantee h2 {
  font-family: var(--font-sans);
  color: var(--paper);
  font-weight: 400;
  font-size: clamp(1.75rem, 2.6vw + 0.6rem, 3rem);
  line-height: 1.12;
  letter-spacing: -0.028em;
  max-width: 22ch;
}
.guarantee h2 b {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: oklch(0.870 0.180 130);
  font-size: 1.12em;
  letter-spacing: -0.018em;
}
.guarantee .promise {
  font-size: 14.5px;
  color: oklch(0.78 0.015 250);
  max-width: 38ch;
  line-height: 1.6;
}
.guarantee .promise b { color: var(--paper); font-weight: 500; }
.guarantee .seal {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: none;
  color: oklch(0.78 0.015 250);
  font-family: "Geist Mono", monospace;
}
.seal-mark {
  width: 52px; height: 52px;
  border-radius: 1px;
  border: 1px solid oklch(1 0 0 / 0.22);
  background: oklch(1 0 0 / 0.04);
  display: grid; place-items: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  font-weight: 400;
  color: oklch(0.870 0.180 130);
  letter-spacing: -0.02em;
  padding-bottom: 3px;
}

/* ─────────────────────────────────────────────────────────
   CASE FILES — magazine spreads
   ───────────────────────────────────────────────────────── */
.cases {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.case {
  display: flex; flex-direction: column;
  gap: 16px;
  color: inherit;
  text-decoration: none;
}
.case:hover h3 { color: var(--accent); }
.case .img {
  aspect-ratio: 4 / 3;
  background: var(--paper-deeper);
  border-radius: 1px;
  border: 1px solid var(--ink);
  background-size: cover;
  background-position: center;
  filter: grayscale(1) contrast(1.02);
  position: relative;
  overflow: hidden;
  transition: filter 600ms var(--ease-out-strong), transform 600ms var(--ease-out-strong);
}
.case:hover .img {
  filter: grayscale(0) contrast(1.02);
}
.case .img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, oklch(0.18 0.025 260 / 0.35));
  mix-blend-mode: multiply;
  pointer-events: none;
}
.case .img-inner {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 900ms var(--ease-out-strong);
}
.case:hover .img-inner { transform: scale(1.04); }
.case .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-mute);
  font-family: var(--font-mono);
}
.case h3 {
  font-family: var(--font-sans);
  font-size: clamp(1.35rem, 1.3vw + 0.6rem, 1.75rem);
  letter-spacing: -0.022em;
  font-weight: 600;
  line-height: 1.22;
  max-width: 32ch;
  color: var(--ink);
}
.case h3 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.08em;
  letter-spacing: -0.012em;
}
.case p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.case-1 { grid-column: span 12; }
.case-2 { grid-column: span 6; }
.case-3 { grid-column: span 6; }
.case-1 .img { aspect-ratio: 21 / 9; }

/* ─────────────────────────────────────────────────────────
   FIT GATE — Perfect / Not a fit
   ───────────────────────────────────────────────────────── */
.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 56px;
}
.fit-col {
  border: 1px solid var(--ink);
  border-radius: 2px;
  padding: 40px 40px 36px;
  background: var(--paper);
  position: relative;
}
.fit-col::before {
  position: absolute;
  top: -10px; left: 20px;
  background: var(--paper);
  padding: 0 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--ink-mute);
  text-transform: uppercase;
}
.fit-col.yes::before { content: "VERDICT — PROCEED"; color: oklch(0.520 0.140 145); }
.fit-col.no::before  { content: "VERDICT — DECLINE"; }
.fit-col h3 {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 2rem;
  margin-bottom: 24px;
  letter-spacing: -0.018em;
}
.fit-col.no {
  background: oklch(0.97 0.003 260);
  border-color: oklch(0.88 0.005 260);
}
.fit-col.no h3 { color: var(--ink-mute); }
.fit-col ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.fit-col li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.fit-col li::before {
  content: "✓";
  font-family: "Geist Mono", monospace;
  color: oklch(0.520 0.140 145);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  position: absolute;
  left: 0;
  top: 0;
}
.fit-col.no li {
  color: oklch(0.50 0.01 260);
}
.fit-col.no li::before { content: "✕"; color: oklch(0.55 0.12 25); font-style: normal; }

/* ─────────────────────────────────────────────────────────
   CLOSING CTA
   ───────────────────────────────────────────────────────── */
.closing {
  text-align: left;
  padding-block: clamp(72px, 10vw, 120px);
}
.closing h2 {
  font-weight: 500;
  font-size: clamp(2.8rem, 6.6vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: -0.042em;
  max-width: 18ch;
}
.closing h2 b {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
  font-size: 1.1em;
  letter-spacing: -0.02em;
  line-height: 0.88;
}
.closing-foot {
  margin-top: 44px;
  display: flex; gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}
.closing-foot .small {
  color: var(--ink-mute); font-size: 12px;
  font-family: "Geist Mono", monospace;
}

/* ─────────────────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--rule);
  padding-block: 56px 36px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  align-items: start;
}
.foot-grid h5 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  margin-bottom: 14px;
  font-weight: 500;
}
.foot-grid ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.foot-grid a { color: var(--ink-soft); font-size: 14.5px; }
.foot-grid a:hover { color: var(--accent); }
.foot-grid .pitch {
  font-family: "Geist", sans-serif;
  font-size: 14.5px;
  color: var(--ink-soft);
  max-width: 38ch;
  line-height: 1.55;
  margin-top: 14px;
}
.foot-bot {
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
}

/* ─────────────────────────────────────────────────────────
   SCROLL REVEALS — IntersectionObserver toggles .visible
   ───────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(4px);
  transition:
    opacity 1000ms var(--ease-out-strong),
    transform 1000ms var(--ease-out-strong),
    filter 900ms var(--ease-out-strong);
  will-change: transform, opacity, filter;
}
.reveal.visible { opacity: 1; transform: translateY(0); filter: blur(0); }
.reveal.delay-1 { transition-delay: 100ms; }
.reveal.delay-2 { transition-delay: 200ms; }
.reveal.delay-3 { transition-delay: 300ms; }
.reveal.delay-4 { transition-delay: 400ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .btn:active { transform: none; }
  html { scroll-behavior: auto; }
}

/* ─────────────────────────────────────────────────────────
   PRICING
   ───────────────────────────────────────────────────────── */
/* ─────────────────────────────────────────────────────────
   FOUNDER — attribution block
   ───────────────────────────────────────────────────────── */
.founder-section {
  padding-block: clamp(40px, 5vw, 64px);
}
.founder {
  display: flex;
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  max-width: 72ch;
}
.founder-photo {
  flex-shrink: 0;
}
.founder-photo img {
  width: clamp(120px, 15vw, 200px);
  height: clamp(120px, 15vw, 200px);
  border-radius: 0;
  object-fit: cover;
  object-position: center top;
  border: 2px solid oklch(0.460 0.180 258 / 0.20);
  display: block;
}
html.dark .founder-photo img {
  border-color: oklch(0.460 0.180 258 / 0.35);
}
@media (max-width: 560px) {
  .founder { flex-direction: column; align-items: flex-start; gap: 20px; }
  .founder-photo img { width: 96px; height: 96px; }
}
.founder-text h3 {
  font-size: clamp(1.15rem, 0.6vw + 1rem, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.founder-text p {
  margin-top: 12px;
  font-size: clamp(0.92rem, 0.4vw + 0.85rem, 1.02rem);
  line-height: 1.6;
  color: var(--ink-soft);
}
.founder-text p a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.founder-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: -0.01em;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
}
.founder-link:hover { text-decoration: underline; }

/* ─────────────────────────────────────────────────────────
   PRICING — dark dossier-style investment panel
   ───────────────────────────────────────────────────────── */
.pricing-section {
  padding-block: clamp(56px, 7vw, 96px);
}
.pricing-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: start;
}

/* ── Pricing card — dark panel with texture ── */
.pricing-card {
  background: oklch(0.14 0.02 260);
  border: 1px solid oklch(0.28 0.02 260);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  box-shadow:
    0 40px 80px -40px oklch(0 0 0 / 0.45),
    inset 0 1px 0 oklch(1 0 0 / 0.05);
}
/* Dot-grid texture */
.pricing-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, oklch(1 0 0 / 0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

.pricing-top {
  padding: 40px 44px 36px;
  border-bottom: 1px solid oklch(1 0 0 / 0.08);
  position: relative;
  z-index: 1;
}
/* Subtle radial glow behind the price */
.pricing-top::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(ellipse at 30% 60%, oklch(0.870 0.180 130 / 0.05) 0%, transparent 55%);
  pointer-events: none;
  z-index: -1;
}
.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.pricing-currency {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.8rem;
  color: oklch(0.94 0 0);
  line-height: 1;
}
.pricing-num {
  font-family: var(--font-sans);
  font-size: clamp(3rem, 4vw + 1rem, 4.5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  color: oklch(0.96 0 0);
}
.pricing-was {
  font-family: var(--font-mono);
  font-size: 14px;
  color: oklch(1 0 0 / 0.35);
  text-decoration: line-through;
  margin-left: 12px;
}
.pricing-note {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: oklch(0.870 0.180 130);
}
.pricing-body {
  padding: 32px 44px 44px;
  position: relative;
  z-index: 1;
}
.pricing-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: oklch(1 0 0 / 0.40);
  margin-bottom: 16px;
}
.pricing-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pricing-list li {
  position: relative;
  padding-left: 24px;
  padding-block: 10px;
  font-size: 14.5px;
  color: oklch(1 0 0 / 0.55);
  line-height: 1.55;
  border-bottom: 1px solid oklch(1 0 0 / 0.06);
}
.pricing-list li:last-child { border-bottom: none; }
.pricing-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: oklch(0.870 0.180 130);
  font-weight: 700;
  font-size: 13px;
}
.pricing-terms {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid oklch(1 0 0 / 0.08);
}
.pricing-term {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid oklch(1 0 0 / 0.06);
  font-size: 14px;
  color: oklch(1 0 0 / 0.50);
  line-height: 1.55;
}
.pricing-term:last-child { border-bottom: none; }
.pricing-term-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: oklch(1 0 0 / 0.30);
  font-weight: 500;
  align-self: baseline;
  flex-shrink: 0;
  min-width: 80px;
}

/* CTA inside dark card — invert to light */
.pricing-card .btn {
  background: oklch(0.96 0 0);
  color: oklch(0.14 0.02 260);
  border-color: oklch(0.96 0 0);
}
.pricing-card .btn:hover {
  background: oklch(0.870 0.180 130);
  color: oklch(0.14 0.02 260);
  border-color: oklch(0.870 0.180 130);
}
.pricing-card .btn .icon-wrap svg {
  stroke: oklch(0.14 0.02 260);
}

/* ─────────────────────────────────────────────────────────
   FAQ — editorial accordion with hover accents
   ───────────────────────────────────────────────────────── */
.faq {
  margin-top: 0;
  padding-right: clamp(20px, 3vw, 48px);
}
.faq-heading {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.4rem, 1.4vw + 0.6rem, 2rem);
  margin-bottom: 24px;
}
.faq-item {
  border-bottom: 1px solid var(--rule);
}
.faq-item:first-of-type {
  border-top: 1px solid var(--rule);
}
.faq-item summary {
  padding: 20px 0;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  transition: color 200ms ease-out;
}
.faq-item summary:hover {
  color: var(--accent);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 300;
  color: var(--ink-mute);
  transition: transform 300ms var(--ease-out-strong), color 200ms ease-out;
  flex-shrink: 0;
  margin-left: 16px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
}
.faq-item summary:hover::after {
  color: var(--accent);
}
.faq-item[open] summary {
  color: var(--accent);
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
  color: var(--accent);
}
.faq-item p {
  padding: 0 0 22px;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 56ch;
}

/* ─────────────────────────────────────────────────────────
   RESPONSIVE — collapse asymmetry to single column < 900
   ───────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .deliverables-grid { grid-template-columns: 1fr; }
  .del-large { grid-column: 1; grid-row: auto; }
  .cases { gap: 20px; }
  .case-1, .case-2, .case-3 { grid-column: span 12; }
  .pillars { grid-template-columns: 1fr; }
  .pillar { min-height: 260px; }
}
@media (max-width: 900px) {
  :root { --container: min(1320px, 100% - 48px); }
  .nav { top: 14px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .pullquote { grid-template-columns: 1fr; }
  .process-row { grid-template-columns: 56px 1fr; gap: 18px; }
  .process-aside { grid-column: 2; margin-top: 16px; }
  .guarantee-grid { grid-template-columns: 1fr; gap: 36px; }
  .pricing-grid { grid-template-columns: 1fr; gap: 48px; }
  .faq { margin-top: 0; padding-right: 0; }
  .fit-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }

  /* ── Mobile nav ── */
  .nav-toggle { display: grid; } /* grid so place-items:center works */
  .nav-cta-desktop { display: none !important; }
  .nav { top: 12px; left: 0; right: 0; padding: 0 12px; }
  .nav-shell {
    width: 100%;
    flex-wrap: wrap;
    gap: 10px;
    padding: 8px 8px 8px 18px;
    animation: none !important;
  }
  /* Theme toggle matches hamburger on mobile — same size + square */
  .theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 2px;
    margin-left: auto; /* push theme toggle + hamburger to the right */
  }
  .theme-toggle svg { width: 15px; height: 15px; }
  .nav-toggle svg { width: 15px; height: 15px; }
  /* Links drawer — hidden until .is-open */
  .nav-links {
    display: none;
    order: 10;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 12px 4px 8px;
    border-top: 1px solid var(--rule);
    margin-top: 8px;
    /* Slide-in animation start state */
    opacity: 0;
    transform: translateY(-10px);
    transition:
      opacity 180ms var(--ease-out-strong),
      transform 260ms cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  .nav-links.is-visible {
    opacity: 1;
    transform: none;
  }
  /* Override desktop hover transforms on mobile links */
  .nav-links > a:not(.btn),
  .nav-dropdown__trigger {
    width: 100%;
    padding: 9px 8px;
  }
  .nav-links > a:not(.btn):hover,
  .nav-dropdown__trigger:hover {
    transform: none;
  }
  /* Rigor sub-menu goes static inline */
  .nav-dropdown { width: 100%; }
  .nav-dropdown__menu {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none !important;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0 0 4px 20px;
    display: none;
    width: 100%;
    background: transparent;
  }
  .nav-dropdown__menu.is-open { display: block; }
  .nav-dropdown__menu a { padding: 8px 8px; }
  /* Mobile CTA shown at bottom of drawer */
  .nav-cta-mobile {
    display: inline-flex !important;
    margin-top: 12px;
    margin-bottom: 4px;
  }

  .filed { flex-wrap: wrap; gap: 18px; }
  .filed-list { font-size: 13px; }
  body { font-size: 16px; }
}
@media (max-width: 540px) {
  .hero { padding-top: 120px; padding-bottom: 32px; }
  .hero-headline { font-size: clamp(1.9rem, 7vw, 2.6rem); }
  .hero-sub { margin-top: 24px; font-size: 1rem; }
  .hero-meta { gap: 12px; margin-bottom: 24px; }
  .hero-actions { margin-top: 28px; gap: 10px; }
  .hero-proof { margin-top: 20px; font-size: 11px; }
  .dossier-stamp { right: 12px; top: -10px; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-bot { flex-direction: column; gap: 10px; align-items: flex-start; }
  .closing-foot { gap: 14px; }

  /* Tighter card padding on small screens */
  .del-card .core { padding: 24px 20px 22px; }

  /* Pricing card mobile */
  .pricing-top { padding: 28px 24px; }
  .pricing-body { padding: 24px 24px 32px; }
  .pricing-term { flex-direction: column; gap: 4px; }

  /* Matrix table: reduce padding + adjust grid for narrow viewports */
  .matrix-row { grid-template-columns: 1.2fr 1.6fr auto; }
  .matrix-row > div, .matrix-row > th, .matrix-row > td { padding: 10px 10px; }
  .matrix-row.head { font-size: 9px; }
  .matrix-row .claim { font-size: 11.5px; }
  .matrix-row .ev { font-size: 12px; }
  .matrix-row .verdict { font-size: 9px; }
}

/* ─────────────────────────────────────────────────────────
   DARK MODE — toggled by .dark class on <html>
   JS adds/removes the class; localStorage persists the choice.
   Strategy: flip the OKLCH tokens, then patch the handful
   of components that use hardcoded colour literals or that
   intentionally stay dark in both modes (ticker, guarantee).
   ───────────────────────────────────────────────────────── */

/* ── Smooth transitions when toggling ──────────────────── */
body,
.nav-shell,
.guarantee,
.ticker,
.social-proof,
.pricing-card,
.del-card .core,
.pillar,
.fit-col,
.dossier-inner,
.dossier,
.matrix-row.head,
.stat-block {
  transition:
    background-color 320ms var(--ease-out-strong),
    border-color 320ms var(--ease-out-strong),
    color 320ms var(--ease-out-strong);
}

/* ── Theme toggle button ────────────────────────────────── */
.theme-toggle {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid var(--paper-edge);
  border-radius: 50%;
  cursor: pointer;
  color: var(--ink-soft);
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
  transition:
    color 200ms var(--ease-out-strong),
    border-color 200ms var(--ease-out-strong),
    background 300ms var(--ease-out-strong),
    transform 280ms cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 300ms var(--ease-out-strong);
}
/* Dock-style click squish */
.theme-toggle:active {
  transform: scale(0.85);
  transition-duration: 80ms;
}

/* Icon shared styles */
.theme-toggle svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 400ms cubic-bezier(0.34, 1.56, 0.64, 1), opacity 250ms;
}

/* Light mode: show moon. Dark mode: show sun. */
.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: block; }
html.dark .theme-toggle .icon-sun  { display: block; }
html.dark .theme-toggle .icon-moon { display: none; }

/* Hover effects — ONLY on devices that truly support hover (not touch screens) */
@media (hover: hover) {
  .theme-toggle:hover {
    transform: scale(1.1) translateY(-2px);
    background: oklch(0.14 0.02 260);
    border-color: oklch(0.14 0.02 260);
    color: oklch(0.92 0.14 85);
    box-shadow: 0 0 12px oklch(0.14 0.02 260 / 0.4);
  }
  .theme-toggle:hover .icon-moon { transform: rotate(-30deg) scale(1.15); }
  .theme-toggle:hover .icon-sun  { transform: rotate(90deg) scale(1.15); }
  html.dark .theme-toggle:hover {
    background: oklch(0.96 0.005 250);
    border-color: oklch(0.96 0.005 250);
    color: oklch(0.35 0.14 258);
    box-shadow: 0 0 12px oklch(0.96 0.005 250 / 0.3);
  }
  .nav-toggle:hover {
    background: oklch(0.18 0.025 260 / 0.06);
    border-color: oklch(0.18 0.025 260 / 0.25);
    color: var(--ink);
  }
}

/* ── Token overrides ───────────────────────────────────── */
html.dark {
  --paper:        oklch(0.115 0.015 260);
  --paper-deeper: oklch(0.150 0.015 260);
  --paper-edge:   oklch(0.220 0.018 260);
  --rule:         oklch(0.248 0.016 260);
  --ink:          oklch(0.920 0.008 250);
  --ink-soft:     oklch(0.760 0.012 252);
  --ink-mute:     oklch(0.490 0.012 252);
  --accent:       oklch(0.600 0.180 258);
  --accent-deep:  oklch(0.520 0.180 260);
  --highlight:    oklch(0.165 0.040 258);
}

/* ── Grid texture — lighter strokes on dark canvas ──────── */
html.dark body::before {
  background-image:
    linear-gradient(to right, oklch(0.92 0.008 250 / 0.028) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(0.92 0.008 250 / 0.028) 1px, transparent 1px);
  opacity: 0.6;
}

/* ── Nav — dark frosted glass ───────────────────────────── */
html.dark .nav-shell {
  background: oklch(0.115 0.015 260 / 0.90);
  border-color: oklch(0.240 0.016 260);
  box-shadow:
    inset 0 1px 0 oklch(1 0 0 / 0.05),
    0 1px 3px oklch(0 0 0 / 0.4),
    0 20px 40px -28px oklch(0 0 0 / 0.6);
}
html.dark .nav-links > a:not(.btn):hover {
  background: oklch(1 0 0 / 0.08);
}

/* ── Hero ghost number ──────────────────────────────────── */
html.dark .hero-ghost {
  -webkit-text-stroke-color: oklch(0.92 0.008 250 / 0.06);
}

/* ── Inline text highlight ──────────────────────────────── */
html.dark mark {
  background: linear-gradient(
    180deg,
    transparent 55%,
    oklch(0.28 0.08 258 / 0.65) 55%,
    oklch(0.28 0.08 258 / 0.65) 92%,
    transparent 92%
  );
}

/* ── Ghost button — more visible border on dark bg ──────── */
html.dark .btn--ghost {
  border-color: oklch(0.340 0.016 260);
}

/* ── Dossier stamp (classification badge on hero card) ──── */
html.dark .dossier-stamp {
  background: oklch(0.070 0.022 260);
}

/* ── Dossier inner card ─────────────────────────────────── */
html.dark .dossier-inner {
  border-color: oklch(0.220 0.016 260);
  box-shadow: none;
}

/* ── Matrix header row ──────────────────────────────────── */
html.dark .matrix-row.head {
  background: oklch(0.165 0.015 260);
}

/* ── Ticker — always-dark strip ─────────────────────────── */
html.dark .ticker {
  background: oklch(0.075 0.018 260);
  border-block-color: oklch(0.240 0.016 260);
}
html.dark .ticker::before {
  background: linear-gradient(90deg, oklch(0.075 0.018 260), transparent);
}
html.dark .ticker::after {
  background: linear-gradient(270deg, oklch(0.075 0.018 260), transparent);
}

/* ── Guarantee — always-dark block ─────────────────────── */
html.dark .guarantee {
  background: oklch(0.070 0.022 260);
  border-top-color: oklch(0.870 0.180 130);
}
html.dark .guarantee h2         { color: oklch(0.920 0.008 250); }
html.dark .guarantee h2 b       { color: oklch(0.870 0.180 130); }
html.dark .guarantee .promise   { color: oklch(0.620 0.012 252); }
html.dark .guarantee .promise b { color: oklch(0.920 0.008 250); }
html.dark .guarantee .seal      { color: oklch(0.620 0.012 252); }

/* ── "Not a fit" column ─────────────────────────────────── */
html.dark .fit-col.no {
  background: oklch(0.148 0.014 260);
  border-color: oklch(0.240 0.015 260);
}
html.dark .fit-col.no li { color: oklch(0.500 0.012 260); }

/* ── Pricing card — already dark, minor dark-mode tweaks ── */
html.dark .pricing-card {
  background: oklch(0.10 0.025 260);
  border-color: oklch(0.22 0.02 260);
}

/* ─────────────────────────────────────────────────────────
   NAV — active state (site-wide, added post-partial)
   ───────────────────────────────────────────────────────── */
.nav-links a.is-current {
  color: var(--ink);
  position: relative;
}
.nav-links a.is-current::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--accent);
}

/* ─────────────────────────────────────────────────────────
   PAGE HERO — reused template for non-home pages
   ───────────────────────────────────────────────────────── */
.page-hero {
  padding-top: clamp(160px, 18vh, 220px);
  padding-bottom: clamp(48px, 6vw, 80px);
  position: relative;
  isolation: isolate;
}
.page-hero .ghost {
  position: absolute;
  top: clamp(40px, 5vh, 80px);
  right: clamp(-40px, -2vw, 0px);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(14rem, 28vw, 36rem);
  line-height: 0.78;
  color: transparent;
  -webkit-text-stroke: 1.5px oklch(0.18 0.025 260 / 0.14);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  letter-spacing: -0.065em;
  white-space: nowrap;
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 {
  max-width: 22ch;
  margin-top: 24px;
}
.page-hero .lede {
  margin-top: 32px;
  max-width: 60ch;
  font-size: clamp(1.05rem, 0.8vw + 0.85rem, 1.2rem);
  color: var(--ink-soft);
  line-height: 1.55;
}
.breadcrumbs {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.breadcrumbs a { color: var(--ink-mute); }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs .sep { color: var(--paper-edge); }
.breadcrumbs [aria-current] { color: var(--ink); }

/* ─────────────────────────────────────────────────────────
   PROSE — long-form content (blog posts, policies, methodology)
   ───────────────────────────────────────────────────────── */
.prose {
  max-width: 68ch;
  margin-inline: auto;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.prose > * + * { margin-top: 1.1em; }
.prose h2 {
  font-size: clamp(1.6rem, 1.8vw + 0.5rem, 2.4rem);
  color: var(--ink);
  margin-top: 2.2em;
  line-height: 1.15;
}
.prose h2 .serif,
.prose h3 .serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}
.prose h3 {
  font-size: clamp(1.2rem, 0.8vw + 0.6rem, 1.5rem);
  color: var(--ink);
  margin-top: 1.8em;
  line-height: 1.25;
}
.prose p, .prose li { color: var(--ink-soft); }
.prose strong { color: var(--ink); font-weight: 500; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.5em; }
.prose blockquote {
  border-left: 1px solid var(--accent);
  padding-left: 1.2em;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25em;
  color: var(--ink);
  margin: 1.6em 0;
}
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--paper-edge); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.prose a:hover { text-decoration-color: var(--accent); }
.prose code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--paper-deeper);
  padding: 0.15em 0.4em;
  border-radius: 2px;
  border: 1px solid var(--paper-edge);
}
.prose hr {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 2.4em 0;
}

/* ─────────────────────────────────────────────────────────
   INDEX GRID — blog/case-study/project list cards
   ───────────────────────────────────────────────────────── */
/* ─────────────────────────────────────────────────────────
   INDEX GRID — tiered service cards
   Tier 1: Flagship (dark panel with dossier treatment)
   Tier 2: Core services (bordered with accent interactions)
   Tier 3: Specialised (distinct subtle treatment)
   ───────────────────────────────────────────────────────── */
.index-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  margin-top: 56px;
}

/* ── Base card ── */
.idx-card {
  grid-column: span 6;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px 32px 36px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: var(--paper);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition:
    border-color 300ms var(--ease-out-strong),
    transform 300ms var(--ease-out-strong),
    box-shadow 300ms var(--ease-out-strong);
}
.idx-card:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px -8px oklch(0 0 0 / 0.08);
}

/* Accent bar — reveals from top on hover */
.idx-card:not(.flagship)::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 100%;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}
.idx-card:not(.flagship):hover::before {
  transform: scaleY(1);
}

.idx-card .meta {
  display: flex;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.idx-card h3 {
  font-size: clamp(1.25rem, 1.2vw + 0.7rem, 1.65rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--ink);
}
/* Accent sweep under title on hover */
.idx-card:not(.flagship) h3::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: var(--accent);
  margin-top: 8px;
  transition: width 500ms cubic-bezier(0.16, 1, 0.3, 1);
}
.idx-card:not(.flagship):hover h3::after {
  width: 40px;
}

.idx-card p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 64ch;
}
.idx-card .read {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0;
  transition: letter-spacing 300ms var(--ease-out-strong);
}
.idx-card:hover .read {
  letter-spacing: 0.04em;
}

.idx-card.wide { grid-column: span 12; }
.idx-card.third { grid-column: span 4; }

/* ── Flagship card — dark intelligence panel ── */
.idx-card.flagship {
  background: oklch(0.14 0.02 260);
  border: 1px solid oklch(0.28 0.02 260);
  padding: clamp(40px, 5vw, 60px);
  isolation: isolate;
  box-shadow:
    0 16px 48px -20px oklch(0 0 0 / 0.3),
    inset 0 1px 0 oklch(1 0 0 / 0.05);
}
.idx-card.flagship:hover {
  border-color: oklch(0.870 0.180 130 / 0.2);
  transform: translateY(-1px);
  box-shadow:
    0 20px 56px -24px oklch(0 0 0 / 0.35),
    inset 0 1px 0 oklch(1 0 0 / 0.06);
}
.idx-card.flagship > *:not(.idx-dots):not(.idx-scan) {
  position: relative;
  z-index: 1;
}

/* Dot-grid texture */
.idx-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, oklch(1 0 0 / 0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}
/* Scan line */
.idx-scan {
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, oklch(0.870 0.180 130 / 0.2), transparent);
  animation: idx-scan 8s linear 2s infinite;
}
@keyframes idx-scan {
  0%   { top: 0; }
  100% { top: 100%; }
}
/* Radial accent glow */
.idx-card.flagship::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 85% 25%, oklch(0.870 0.180 130 / 0.04) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* Flagship typography — light on dark */
.idx-card.flagship .meta { color: oklch(0.870 0.180 130); }
.idx-card.flagship h3 {
  color: oklch(0.96 0 0);
  font-size: clamp(1.5rem, 2vw + 0.5rem, 2.2rem);
}
.idx-card.flagship p {
  color: oklch(1 0 0 / 0.55);
  max-width: 72ch;
}
.idx-card.flagship p strong { color: oklch(0.96 0 0); font-weight: 600; }
.idx-card.flagship .read { color: oklch(0.870 0.180 130); }

/* ── Specialised card — dashed border, niche feel ── */
.idx-card.specialised {
  border-style: dashed;
  border-color: var(--rule);
}
.idx-card.specialised .meta {
  flex-direction: column;
  gap: 0;
}
.idx-card.specialised .meta span:first-child {
  background: oklch(0.870 0.180 130);
  color: oklch(0.16 0.04 130);
  padding: 8px 14px;
  margin: -32px -32px 16px;
  border-radius: 0;
  letter-spacing: 0.12em;
  font-weight: 700;
  font-size: 12px;
  display: block;
}
.idx-card.specialised:hover {
  border-style: solid;
  border-color: var(--ink);
}

/* Dark mode — flagship already dark, adjust core cards */
html.dark .idx-card:not(.flagship) {
  border-color: oklch(0.24 0.015 260);
}
html.dark .idx-card:not(.flagship):hover {
  border-color: oklch(0.40 0.02 260);
}
html.dark .idx-card.flagship {
  background: oklch(0.10 0.025 260);
  border-color: oklch(0.22 0.02 260);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .idx-card:not(.flagship)::before { transition: none; }
  .idx-card:not(.flagship) h3::after { transition: none; }
  .idx-card .read { transition: none; }
  .idx-scan { animation: none; }
}

/* ─── Card thumbnails — abstract data art ─── */
.card-thumb {
  height: 140px;
  margin: -28px -28px 0;
  border-radius: 2px 2px 0 0;
  position: relative;
  overflow: hidden;
  background: oklch(0.10 0.025 260);
}
.idx-card.wide .card-thumb { height: 180px; }

/* INTEL — matrix rows with verdict tags */
.card-thumb[data-art="intel"] {
  background:
    repeating-linear-gradient(0deg, transparent 0, transparent 23px, oklch(1 0 0 / 0.04) 23px, oklch(1 0 0 / 0.04) 24px),
    oklch(0.10 0.025 260);
}
.card-thumb[data-art="intel"]::before {
  content: '';
  position: absolute;
  left: 20px; top: 18px;
  width: 45%; height: 6px;
  border-radius: 1px;
  background: oklch(1 0 0 / 0.08);
  box-shadow:
    0 24px 0 oklch(1 0 0 / 0.06),
    0 48px 0 oklch(1 0 0 / 0.08),
    0 72px 0 oklch(1 0 0 / 0.06),
    0 96px 0 oklch(1 0 0 / 0.07);
}
.card-thumb[data-art="intel"]::after {
  content: '';
  position: absolute;
  right: 20px; top: 16px;
  width: 28px; height: 10px;
  border-radius: 2px;
  background: oklch(0.70 0.16 25 / 0.8);
  box-shadow:
    0 24px 0 oklch(0.87 0.18 130 / 0.8),
    0 48px 0 oklch(0.70 0.16 25 / 0.8),
    0 72px 0 oklch(0.75 0.12 60 / 0.8),
    0 96px 0 oklch(0.70 0.16 25 / 0.8);
}

/* GTM — vertical bar chart */
.card-thumb[data-art="gtm"] {
  background: oklch(0.10 0.025 260);
}
.card-thumb[data-art="gtm"]::before {
  content: '';
  position: absolute;
  bottom: 20px; left: 20px; right: 20px;
  height: 1px;
  background: oklch(1 0 0 / 0.08);
}
.card-thumb[data-art="gtm"]::after {
  content: '';
  position: absolute;
  bottom: 21px; left: 24px; right: 24px; top: 20px;
  background:
    linear-gradient(0deg, oklch(0.87 0.18 130 / 0.5) 70%, transparent 70%) 0 100% / 14px 100% no-repeat,
    linear-gradient(0deg, oklch(0.87 0.18 130 / 0.35) 50%, transparent 50%) 20px 100% / 14px 100% no-repeat,
    linear-gradient(0deg, oklch(0.87 0.18 130 / 0.55) 85%, transparent 85%) 40px 100% / 14px 100% no-repeat,
    linear-gradient(0deg, oklch(0.87 0.18 130 / 0.25) 40%, transparent 40%) 60px 100% / 14px 100% no-repeat,
    linear-gradient(0deg, oklch(0.87 0.18 130 / 0.45) 65%, transparent 65%) 80px 100% / 14px 100% no-repeat,
    linear-gradient(0deg, oklch(0.87 0.18 130 / 0.6) 90%, transparent 90%) 100px 100% / 14px 100% no-repeat,
    linear-gradient(0deg, oklch(0.87 0.18 130 / 0.3) 55%, transparent 55%) 120px 100% / 14px 100% no-repeat;
}

/* POS — overlapping strategy cards */
.card-thumb[data-art="pos"] {
  background: oklch(0.10 0.025 260);
}
.card-thumb[data-art="pos"]::before {
  content: '';
  position: absolute;
  left: 20px; top: 20px;
  width: 100px; height: 80px;
  border: 1px solid oklch(0.55 0.18 300 / 0.3);
  border-radius: 4px;
  background: oklch(0.55 0.18 300 / 0.06);
}
.card-thumb[data-art="pos"]::after {
  content: '';
  position: absolute;
  left: 50px; top: 36px;
  width: 100px; height: 80px;
  border: 1px solid oklch(0.55 0.18 300 / 0.5);
  border-radius: 4px;
  background: oklch(0.55 0.18 300 / 0.1);
  box-shadow: 30px 16px 0 -1px oklch(0.10 0.025 260), 30px 16px 0 oklch(0.55 0.18 300 / 0.25);
}

/* SALES — data grid cells */
.card-thumb[data-art="sales"] {
  background:
    repeating-linear-gradient(0deg, transparent 0, transparent 23px, oklch(1 0 0 / 0.04) 23px, oklch(1 0 0 / 0.04) 24px),
    repeating-linear-gradient(90deg, transparent 0, transparent 79px, oklch(1 0 0 / 0.04) 79px, oklch(1 0 0 / 0.04) 80px),
    oklch(0.10 0.025 260);
}
.card-thumb[data-art="sales"]::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 24px;
  background: oklch(0.75 0.15 70 / 0.1);
  border-bottom: 1px solid oklch(0.75 0.15 70 / 0.15);
}
.card-thumb[data-art="sales"]::after {
  content: '';
  position: absolute;
  left: 16px; top: 32px;
  width: 40px; height: 8px;
  border-radius: 1px;
  background: oklch(0.75 0.15 70 / 0.5);
  box-shadow:
    80px 0 0 oklch(0.75 0.15 70 / 0.3),
    0 24px 0 oklch(0.75 0.15 70 / 0.3),
    80px 24px 0 oklch(0.75 0.15 70 / 0.5),
    0 48px 0 oklch(0.75 0.15 70 / 0.4),
    80px 48px 0 oklch(0.75 0.15 70 / 0.2),
    0 72px 0 oklch(0.75 0.15 70 / 0.35);
}

/* MSG — text lines with highlights */
.card-thumb[data-art="msg"] {
  background: oklch(0.10 0.025 260);
}
.card-thumb[data-art="msg"]::before {
  content: '';
  position: absolute;
  left: 20px; top: 20px;
  width: 70%; height: 6px;
  border-radius: 1px;
  background: oklch(1 0 0 / 0.07);
  box-shadow:
    0 16px 0 oklch(1 0 0 / 0.06),
    0 32px 0 oklch(1 0 0 / 0.07),
    0 48px 0 oklch(1 0 0 / 0.05),
    0 64px 0 oklch(1 0 0 / 0.07),
    0 80px 0 oklch(1 0 0 / 0.06),
    0 96px 0 oklch(1 0 0 / 0.05);
}
.card-thumb[data-art="msg"]::after {
  content: '';
  position: absolute;
  left: 20px; top: 36px;
  width: 90px; height: 6px;
  border-radius: 1px;
  background: oklch(0.65 0.15 185 / 0.5);
  box-shadow:
    120px 32px 0 oklch(0.65 0.15 185 / 0.4),
    30px 64px 0 oklch(0.65 0.15 185 / 0.35);
}

/* Dark mode thumbs */
html.dark .card-thumb {
  background: oklch(0.06 0.015 260);
  border-bottom: 1px solid oklch(1 0 0 / 0.05);
}
html.dark .card-thumb[data-art="intel"] {
  background:
    repeating-linear-gradient(0deg, transparent 0, transparent 23px, oklch(1 0 0 / 0.03) 23px, oklch(1 0 0 / 0.03) 24px),
    oklch(0.06 0.015 260);
}
html.dark .card-thumb[data-art="gtm"],
html.dark .card-thumb[data-art="pos"],
html.dark .card-thumb[data-art="msg"] {
  background: oklch(0.06 0.015 260);
}
html.dark .card-thumb[data-art="sales"] {
  background:
    repeating-linear-gradient(0deg, transparent 0, transparent 23px, oklch(1 0 0 / 0.03) 23px, oklch(1 0 0 / 0.03) 24px),
    repeating-linear-gradient(90deg, transparent 0, transparent 79px, oklch(1 0 0 / 0.03) 79px, oklch(1 0 0 / 0.03) 80px),
    oklch(0.06 0.015 260);
}

/* ── Card image (real hero SVG) ── */
.card-img {
  display: block;
  width: calc(100% + 56px);
  height: 140px;
  margin: -28px -28px 0;
  border-radius: 2px 2px 0 0;
  object-fit: cover;
  object-position: center;
  background: oklch(0.10 0.025 260);
}
.idx-card.wide .card-img { height: 180px; }
html.dark .card-img {
  background: oklch(0.06 0.015 260);
}

/* ── Pagination ── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: clamp(48px, 6vw, 72px);
  padding-bottom: clamp(48px, 6vw, 72px);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}
.pagination__link,
.pagination__prev,
.pagination__next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  color: var(--ink-mute);
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color 200ms var(--ease-out-strong), color 200ms var(--ease-out-strong);
}
.pagination__link:hover,
.pagination__prev:hover,
.pagination__next:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.pagination__current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--accent);
  border-radius: 2px;
  color: var(--accent);
  font-weight: 600;
}
.pagination__sep {
  color: var(--ink-mute);
  opacity: 0.3;
}
html.dark .pagination__link,
html.dark .pagination__prev,
html.dark .pagination__next {
  border-color: oklch(0.248 0.016 260);
}
html.dark .pagination__link:hover,
html.dark .pagination__prev:hover,
html.dark .pagination__next:hover {
  border-color: oklch(0.6 0.18 258);
  color: oklch(0.6 0.18 258);
}
html.dark .pagination__current {
  border-color: oklch(0.6 0.18 258);
  color: oklch(0.6 0.18 258);
}

@media (max-width: 900px) {
  .idx-card, .idx-card.wide, .idx-card.third { grid-column: span 12; }
}

/* ─────────────────────────────────────────────────────────
   CONTACT FORM
   ───────────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  margin-top: 56px;
  align-items: start;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-aside {
  position: sticky;
  top: 120px;
  padding: 32px;
  border: 1px solid var(--paper-edge);
  background: var(--paper-deeper);
  border-radius: 2px;
}
.contact-aside h3 {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.4rem, 1vw + 0.8rem, 1.8rem);
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 14px;
}
.contact-aside p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.6; }
.contact-aside ul { list-style: none; padding: 0; margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.contact-aside ul li {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--ink-mute);
  display: flex;
  gap: 12px;
}
.contact-aside ul li b { color: var(--ink); font-weight: 500; min-width: 68px; }
.contact-aside ul li a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--paper-edge); text-underline-offset: 3px; }
.contact-aside ul li a:hover { text-decoration-color: var(--accent); }
.form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.field label .req { color: var(--accent); }
.field input, .field textarea, .field select {
  font: inherit;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--paper-edge);
  border-radius: 2px;
  padding: 14px 16px;
  transition: border-color 200ms var(--ease-out-strong);
  width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--ink);
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }
.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding-top: 8px;
  border-top: 1px dashed var(--paper-edge);
  margin-top: 6px;
}
.form-note {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
  max-width: 32ch;
  line-height: 1.5;
}

/* ─────────────────────────────────────────────────────────
   COOKIE CONSENT BANNER
   Fixed-bottom editorial bar. Stays hidden until JS mounts
   it, then slides in from the bottom. Accept / Reject are
   explicit — no "OK" with only one path.
   ───────────────────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--rule);
  box-shadow: 0 20px 48px -24px oklch(0 0 0 / 0.35), 0 2px 8px -2px oklch(0 0 0 / 0.15);
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 360ms var(--ease-out-strong, ease),
    transform 360ms var(--ease-out-strong, ease);
  font-family: var(--font-sans);
}
.cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.is-leaving {
  opacity: 0;
  transform: translateY(24px);
  pointer-events: none;
}
.cookie-banner__inner {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  padding: clamp(16px, 2vw, 22px) clamp(20px, 3vw, 32px);
  max-width: 1200px;
  margin-inline: auto;
}
.cookie-banner__copy {
  flex: 1;
  min-width: 0;
}
.cookie-banner__eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.cookie-banner__body {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
  max-width: 68ch;
}
.cookie-banner__link {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 200ms;
}
.cookie-banner__link:hover { color: var(--accent); }
.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-banner__btn {
  appearance: none;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 18px;
  cursor: pointer;
  transition:
    background-color 200ms var(--ease-out-strong, ease),
    color 200ms var(--ease-out-strong, ease),
    border-color 200ms var(--ease-out-strong, ease);
}
.cookie-banner__btn--reject {
  color: var(--ink-soft);
  border-color: var(--rule);
}
.cookie-banner__btn--reject:hover {
  color: var(--ink);
  border-color: var(--ink);
}
.cookie-banner__btn--accept {
  background: var(--ink);
  color: var(--paper);
}
.cookie-banner__btn--accept:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.cookie-banner__btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (max-width: 720px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; }
  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 16px;
  }
  .cookie-banner__actions {
    justify-content: stretch;
  }
  .cookie-banner__btn {
    flex: 1;
    padding: 12px 14px;
    text-align: center;
  }
}

/* Dark-mode surface tweak — the tokens cover most of it, but the shadow
   needs a touch more punch against the dark canvas. */
html.dark .cookie-banner {
  background: var(--paper-deeper);
  box-shadow: 0 20px 48px -24px oklch(0 0 0 / 0.6), 0 2px 8px -2px oklch(0 0 0 / 0.4);
}

/* Respect reduced motion — no slide, just fade. */
@media (prefers-reduced-motion: reduce) {
  .cookie-banner {
    transform: none;
    transition: opacity 200ms linear;
  }
  .cookie-banner.is-visible { transform: none; }
  .cookie-banner.is-leaving { transform: none; }
}
