/* ==========================================================================
   Mediathink.com — site styles
   Editorial, typography-led, flat. System fonts + Bank Gothic logo (as SVG).
   Brand accent: school-bus yellow, used as bold fills with near-black text.
   Dark-mode aware. Mobile-first. WCAG AA contrast.
   ========================================================================== */

/* ---- Tokens --------------------------------------------------------------- */
:root {
  color-scheme: light dark;

  --font-display: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;

  /* Light theme */
  --paper: #fcfbf7;
  --panel: #f2efe6;      /* warm off-white to sit with the yellow */
  --panel-2: #e9e5d9;
  --ink: #17181c;
  --ink-2: #3c3f47;
  --muted: #5e626c;
  --line: #d9d5c8;
  --line-strong: #87877f; /* 3:1+ against paper for control boundaries */

  --accent: #f8c000;        /* school-bus yellow — FILLS ONLY (low contrast on white) */
  --accent-strong: #e6ab00; /* hover/press for yellow fills */
  --accent-text: #7a5c00;   /* AA-safe dark gold for small accent TEXT / links */
  --accent-soft: #fff6d4;   /* pale wash for focus rings / tints */
  --on-accent: #17181c;     /* text ON yellow — always near-black */
  --logo-think: #f2b600;    /* logo "THINK" — a touch deeper so it holds on white */
  --focus: #17181c;         /* high-contrast focus ring on light bg */

  --maxw: 78rem;
  --measure: 38rem;
  --radius: 6px;      /* editorial, squarer geometry — matches the copy's directness */
  --radius-sm: 4px;
  --gap: clamp(1rem, 3.5vw, 2rem);
  --section-y: clamp(4.5rem, 9vw, 8rem);
  --header-h: 72px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0e0f13;
    --panel: #16181e;
    --panel-2: #1c1f27;
    --ink: #edeef2;
    --ink-2: #c7cbd4;
    --muted: #9aa1ad;
    --line: #262a33;
    --line-strong: #737b8a;

    --accent: #f8c000;
    --accent-strong: #ffce33;
    --accent-text: #f8c000;   /* yellow reads well on dark */
    --accent-soft: #2a2410;
    --on-accent: #17181c;     /* dark text still sits on yellow fills */
    --logo-think: #f8c000;
    --focus: #ffd23d;         /* bright ring on dark bg */
  }
}

:root[data-theme="light"] {
  --paper:#fcfbf7; --panel:#f2efe6; --panel-2:#e9e5d9; --ink:#17181c; --ink-2:#3c3f47;
  --muted:#5e626c; --line:#d9d5c8; --line-strong:#87877f;
  --accent:#f8c000; --accent-strong:#e6ab00; --accent-text:#7a5c00; --accent-soft:#fff6d4;
  --on-accent:#17181c; --logo-think:#f2b600; --focus:#17181c; color-scheme: light;
}
:root[data-theme="dark"] {
  --paper:#0e0f13; --panel:#16181e; --panel-2:#1c1f27; --ink:#edeef2; --ink-2:#c7cbd4;
  --muted:#9aa1ad; --line:#262a33; --line-strong:#737b8a;
  --accent:#f8c000; --accent-strong:#ffce33; --accent-text:#f8c000; --accent-soft:#2a2410;
  --on-accent:#17181c; --logo-think:#f8c000; --focus:#ffd23d; color-scheme: dark;
}

/* ---- Reset / base --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: clamp(1rem, 0.95rem + 0.28vw, 1.125rem);
  line-height: 1.6;
  font-feature-settings: "kern" 1;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.04;
  letter-spacing: -0.012em; color: var(--ink); margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(3rem, 1.45rem + 5.2vw, 5.75rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(2.1rem, 1.2rem + 3.2vw, 4rem); letter-spacing: -0.028em; }
h3 { font-size: clamp(1.3rem, 1rem + 1.1vw, 1.8rem); }
p { margin: 0 0 1.1em; }
p, li { max-width: var(--measure); }
a { color: var(--accent-text); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
strong { font-weight: 650; }
img, svg, video { max-width: 100%; height: auto; display: block; }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--section-y) 0; }

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

:where(a, button, input, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---- Layout helpers ------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto;
  padding-inline: clamp(1.1rem, 5vw, 2.5rem); }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section + .section { border-top: 0; }
.panel { background: var(--panel); }
.stack > * + * { margin-top: 1.1rem; }
.lede { font-size: clamp(1.15rem, 1rem + 0.9vw, 1.5rem); line-height: 1.5;
  color: var(--ink-2); max-width: 34rem; }
.measure { max-width: var(--measure); }
.center { text-align: center; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-text); margin: 0 0 1.1rem; font-weight: 600;
  display: inline-flex; align-items: center; gap: 0.6rem;
}
/* measurement motif: a little ruler-tick segment before every eyebrow */
.eyebrow::before { content: ""; width: 1.8rem; height: 10px; flex: none;
  background-image: repeating-linear-gradient(90deg, var(--accent) 0 2px, transparent 2px 6px);
  background-repeat: no-repeat; background-position: left bottom; }

/* Full ruler rule — a measured divider used to break the page */
.ticks { height: 14px; width: 100%;
  background-image: repeating-linear-gradient(90deg, var(--line-strong) 0 1px, transparent 1px 9px);
  background-position: left bottom; background-repeat: repeat-x;
  border-bottom: 1px solid var(--line-strong); }
.ticks--accent { background-image: repeating-linear-gradient(90deg, var(--accent) 0 2px, transparent 2px 11px);
  border-bottom-color: var(--accent); }

/* Big pulled statement — reduces prose walls, adds rhythm */
.statement { font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.3rem, 1.25rem + 3.5vw, 4.75rem); line-height: 1.02; letter-spacing: -0.035em;
  color: var(--ink); max-width: 20ch; text-wrap: balance; }
.statement .hl { background: var(--accent); color: var(--on-accent); padding: 0 0.18em;
  box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* ---- Skip link ------------------------------------------------------------ */
.skip { position: absolute; left: 0.75rem; top: -3rem; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 0.6rem 1rem;
  border-radius: 8px; transition: top 0.15s; }
.skip:focus { top: 0.75rem; color: var(--paper); }

/* ---- Private-review guardrail -------------------------------------------- */
.review-banner {
  background: #f8c000;
  color: #17181c;
  border-bottom: 2px solid #17181c;
  font-size: 0.92rem;
  line-height: 1.4;
  padding-block: 0.65rem;
}
.review-banner .wrap { max-width: var(--maxw); }

/* ---- Header / nav --------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; color: #f4f6f2;
  background: #101216;
  background: color-mix(in srgb, #101216 94%, transparent);
  backdrop-filter: saturate(1.25) blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.12); }
.site-header__inner { display: flex; align-items: center; gap: 1rem;
  min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none;
  color: #f4f6f2; }
.brand:hover { color: #fff; }
.brand__mark { width: 32px; height: 28px; color: #f4f6f2; flex: none; }
.brand__mark svg { width: 100%; height: 100%; display: block; }
.brand__wordmark { display: block; height: 19px; }
.brand__wordmark svg { height: 100%; width: auto; display: block; }
.mt-ink { fill: var(--ink); }
.mt-accent { fill: var(--logo-think); }
.site-header .mt-ink { fill: #f4f6f2; }
.site-header .mt-accent { fill: #f8c000; }

.nav-toggle { margin-left: auto; display: none; align-items: center;
  gap: 0.5rem; background: none; border: 1px solid rgba(255,255,255,0.38);
  color: #f4f6f2; font: inherit; font-size: 0.95rem; padding: 0.55rem 0.85rem;
  min-height: 44px; border-radius: var(--radius-sm); cursor: pointer; }
.nav-toggle:hover { border-color: #f4f6f2; }
.js .nav-toggle { display: inline-flex; }
.nav-toggle__bars { width: 16px; height: 10px; position: relative; display: inline-block; }
.nav-toggle__bars::before, .nav-toggle__bars::after,
.nav-toggle__bars span { content:""; position:absolute; left:0; right:0; height:2px;
  background: currentColor; border-radius: 2px; }
.nav-toggle__bars::before { top: 0; } .nav-toggle__bars span { top: 4px; }
.nav-toggle__bars::after { top: 8px; }

.nav { margin-left: auto; }
.nav ul { list-style: none; display: flex; flex-wrap: wrap; align-items: center;
  gap: 0.15rem; margin: 0; padding: 0; }
.nav a { display: inline-block; padding: 0.55rem 0.66rem; border-radius: var(--radius-sm);
  color: rgba(244,246,242,0.76); text-decoration: none; font-size: 0.92rem; }
.nav a:hover { color: #fff; background: rgba(255,255,255,0.08); }
.nav a[aria-current="page"] { color: #fff; font-weight: 650;
  box-shadow: inset 0 -3px 0 var(--accent); }
.nav .btn { color: var(--on-accent); }
.nav .btn:hover { color: var(--on-accent); background: var(--accent-strong); }

@media (max-width: 1160px) {
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; margin: 0;
    background: #101216; border-bottom: 1px solid rgba(255,255,255,0.14);
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h)); overflow: auto; display: block; }
  .js .nav { display: none; }
  .js .nav[data-open="true"] { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0;
    padding: 0.6rem clamp(1.1rem, 5vw, 2.5rem) 1.4rem; }
  .nav a { padding: 0.95rem 0.4rem; min-height: 48px; border-radius: 0;
    border-bottom: 1px solid rgba(255,255,255,0.12); color: rgba(244,246,242,0.82); }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--accent); padding-left: 0.7rem; }
  .nav .btn { margin-top: 0.8rem; text-align: center; }
}
@media (min-width: 1161px) { .nav-toggle, .js .nav-toggle { display: none; } }
/* lock background scroll while the mobile menu is open */
body.nav-open { overflow: hidden; }
@media (min-width: 1161px) { body.nav-open { overflow: auto; } }

/* ---- Buttons -------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; gap: 0.5rem;
  font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2;
  padding: 0.82rem 1.25rem; min-height: 48px; border-radius: var(--radius-sm); cursor: pointer;
  text-decoration: none; border: 1px solid transparent;
  transition: background .18s, border-color .18s, color .18s, transform .18s; }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--accent-strong); color: var(--on-accent); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); background: var(--panel); }
.btn__arrow { transition: transform .15s; }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

.textlink { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600;
  text-decoration: none; color: var(--accent-text);
  box-shadow: inset 0 -2px 0 var(--accent); border-radius: 1px; }
.textlink:hover { color: var(--ink); box-shadow: inset 0 -3px 0 var(--accent); }
.textlink:hover .btn__arrow { transform: translateX(3px); }

/* ---- Chalkboard hero ------------------------------------------------------
   A deliberate single-world element: the board stays slate in both themes.
   The idea is the bulb; the measurement is the chalk. Pure SVG/CSS, no image. */
.board { position: relative; background: #23282a; overflow: hidden;
  border-bottom: 1px solid #111415; }
/* chalk dust + smudges */
.board::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 45% at 18% 22%, rgba(255,255,255,0.05), transparent 70%),
    radial-gradient(50% 40% at 82% 70%, rgba(255,255,255,0.04), transparent 70%),
    radial-gradient(40% 60% at 60% 10%, rgba(255,255,255,0.03), transparent 70%); }
.board::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E"); }
.board > * { position: relative; z-index: 1; }
.board .eyebrow { color: var(--accent); }
.board .eyebrow::before {
  background-image: repeating-linear-gradient(90deg, var(--accent) 0 2px, transparent 2px 6px); }
.board h1 { color: #f4f6f2; }
.board .lede { color: rgba(240,243,238,0.80); }
.board .btn--ghost { color: #f4f6f2; border-color: rgba(240,243,238,0.42); }
.board .btn--ghost:hover { background: #f4f6f2; color: #23282a; border-color: #f4f6f2; }
.board-proof { margin-top: 1.6rem; font-family: var(--font-mono); font-size: 0.86rem;
  color: rgba(240,243,238,0.62); max-width: 34rem; line-height: 1.6; }
.board-proof a { color: var(--accent); text-decoration: none; font-weight: 600;
  box-shadow: inset 0 -1px 0 rgba(248,192,0,0.5); }
.board-proof a:hover { color: #ffd23d; }

.board-grid { display: grid; gap: clamp(2.5rem, 5vw, 5.5rem); align-items: center;
  grid-template-columns: 1fr; padding-block: clamp(4.5rem, 9vw, 8rem);
  min-height: min(800px, calc(100svh - var(--header-h))); }
@media (min-width: 1020px) { .board-grid { grid-template-columns: 1.08fr 0.92fr; } }
.board-copy h1 { max-width: 9ch; margin-bottom: 0.38em;
  font-size: clamp(4rem, 7.9vw, 7.5rem); line-height: 0.86; letter-spacing: -0.058em; }
.board-copy h1 span { color: var(--accent); }
.board-copy .lede { max-width: 38rem; font-size: clamp(1.15rem, 1rem + 0.75vw, 1.45rem); }
.board-copy .btn-row { margin-top: 2.2rem; }
.board-meta { display: flex; flex-wrap: wrap; gap: 0.6rem 2rem; margin-top: 2.6rem;
  padding-top: 1.1rem; border-top: 1px solid rgba(240,243,238,0.2);
  color: rgba(240,243,238,0.68); font-family: var(--font-mono); font-size: 0.75rem;
  letter-spacing: 0.08em; text-transform: uppercase; }
.board-meta b { color: var(--accent); font-weight: 650; }
.board-visual { position: relative; perspective: 1100px; isolation: isolate; }
.board-art { width: min(118%, 620px); max-width: none; margin-inline: -8%; }

/* ---- Measured-idea instrument --------------------------------------------
   The caliper stays inside normal page flow. Scrolling closes its jaws around
   the bulb; a fine pointer adds restrained depth. There are no simulated KPIs. */
.measure-stage {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --jaw-top: 0px;
  --jaw-bottom: 0px;
  --bulb-scale: 1;
  --glow-opacity: 0.58;
  --ray-opacity: 0.88;
  position: relative;
  width: 100%;
  aspect-ratio: 6 / 7;
  transform-style: preserve-3d;
  transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transform-origin: 50% 50%;
  transition: transform 160ms ease-out;
  will-change: transform;
}
.js .measure-stage {
  --jaw-top: -22px;
  --jaw-bottom: 22px;
  --bulb-scale: 0.94;
  --glow-opacity: 0.18;
  --ray-opacity: 0.25;
}
.measure-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
  pointer-events: none;
  transform-style: preserve-3d;
  transform-origin: center;
}
.measure-blueprint { transform: translateZ(0); }
.measure-beam, .measure-ticks, .measure-dimension, .measure-guide {
  fill: none;
  stroke: rgba(240,243,238,0.46);
  stroke-linecap: round;
  stroke-linejoin: round;
}
.measure-beam { stroke-width: 2; }
.measure-ticks { stroke-width: 1.35; opacity: 0.72; }
.measure-dimension { stroke: rgba(248,192,0,0.58); stroke-width: 1.5; fill: rgba(248,192,0,0.34); }
.measure-guide { stroke-width: 1; stroke-dasharray: 3 9; opacity: 0.22; }

.measure-bulb {
  transform: translateZ(52px) scale(var(--bulb-scale));
  transition: transform 110ms linear;
  will-change: transform;
}
.measure-glow {
  fill: #f8c000;
  opacity: var(--glow-opacity);
  transition: opacity 110ms linear;
}
.measure-bulb-stroke, .measure-rays {
  fill: rgba(248,192,0,0.08);
  stroke: #f8c000;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.measure-rays {
  fill: none;
  opacity: var(--ray-opacity);
  transition: opacity 110ms linear;
}
.measure-jaw {
  transition: transform 110ms linear;
  will-change: transform;
}
.measure-jaw--top { transform: translate3d(0, var(--jaw-top), 76px); }
.measure-jaw--bottom { transform: translate3d(0, var(--jaw-bottom), 76px); }
.measure-caliper {
  fill: none;
  stroke: rgba(240,243,238,0.72);
  stroke-width: 3;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
.measure-caliper-accent {
  fill: none;
  stroke: #f8c000;
  stroke-width: 3;
  stroke-linecap: square;
}
.measure-slider {
  fill: #23282a;
  stroke: rgba(240,243,238,0.7);
  stroke-width: 2;
}
.measure-readout {
  position: absolute;
  z-index: 4;
  left: 8%;
  right: 8%;
  top: 6%;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: rgba(240,243,238,0.62);
  font: 600 clamp(0.62rem, 0.52rem + 0.3vw, 0.78rem)/1 var(--font-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transform: translateZ(92px);
}
.measure-readout i { height: 1px; flex: 1; background: rgba(240,243,238,0.2); }
.measure-readout strong { color: #f8c000; font-weight: 650; }

/* ---- Hero (interior pages) ------------------------------------------------ */
.hero { padding-block: clamp(3.5rem, 9vw, 6.5rem) var(--section-y); }
.hero h1 { margin-bottom: 0.3em; }
.hero .lede { max-width: 34rem; }
.hero .btn-row { margin-top: 2rem; }
.hero-grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center;
  grid-template-columns: 1fr; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.15fr 0.85fr; } }

/* Proof stat — the hero's graphic focal point (a real, verified number) */
.hero-proof { position: relative; background: var(--ink); color: var(--paper);
  border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.2rem); overflow: hidden; }
.hero-proof__mark { position: absolute; top: 1.1rem; right: 1.2rem; width: 30px; height: 26px;
  color: var(--accent); opacity: 0.9; }
.hero-proof__label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: color-mix(in srgb, var(--paper) 68%, transparent); margin: 0 0 0.4rem; }
.hero-proof__num { font-family: var(--font-mono); font-weight: 600; letter-spacing: -0.03em;
  font-size: clamp(2.7rem, 1.8rem + 4vw, 4.4rem); line-height: 0.95; color: var(--accent); }
.hero-proof__sub { color: color-mix(in srgb, var(--paper) 82%, transparent); font-size: 0.98rem;
  margin: 0.8rem 0 0; max-width: 26ch; }
.hero-proof .ticks { margin: 1.3rem 0 0;
  background-image: repeating-linear-gradient(90deg, color-mix(in srgb, var(--paper) 34%, transparent) 0 1px, transparent 1px 9px);
  border-bottom-color: color-mix(in srgb, var(--paper) 34%, transparent); }
.hero-proof a { color: var(--accent); font-weight: 600; text-decoration: none;
  display: inline-flex; gap: 0.4rem; margin-top: 1.2rem; }
.hero-proof a:hover { color: var(--accent-strong); }

/* ---- Service tiles -------------------------------------------------------- */
.work-section { background: #f2efe5; color: #17181c; }
.work-section h2, .work-section h3 { color: #17181c; }
.section-intro { display: grid; gap: 2rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
@media (min-width: 820px) { .section-intro { grid-template-columns: 1.35fr 0.65fr; } }
.section-intro .statement { max-width: 16ch; margin-bottom: 0; }
.method-tiles { display: grid; gap: 0.55rem; }
@media (min-width: 560px) and (max-width: 819px) {
  .method-tiles { grid-template-columns: repeat(3, 1fr); }
}
.method-tile { display: grid; grid-template-columns: auto 1fr; gap: 0.8rem;
  align-items: start; min-height: 76px; padding: 0.9rem 1rem; background: #fcfbf7;
  border: 1px solid #d2cec2; border-radius: var(--radius-sm); }
.method-tile span { color: #8a6700; font-family: var(--font-mono); font-size: 0.72rem;
  line-height: 1.55; font-weight: 750; letter-spacing: 0.08em; }
.method-tile p { margin: 0; color: #3c3f47; font-size: 0.94rem; line-height: 1.42; }

.tiles { display: grid; gap: 1px; background: #17181c;
  border: 1px solid #17181c; border-radius: var(--radius-sm); overflow: hidden;
  grid-template-columns: 1fr; }
@media (min-width: 620px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .tiles { grid-template-columns: 1fr 1fr 1fr; } }
.tile { background: #fcfbf7; padding: clamp(1.7rem, 3.5vw, 2.4rem); text-decoration: none;
  color: #17181c; display: flex; flex-direction: column; gap: 0.7rem; min-height: 285px;
  position: relative; overflow: hidden;
  transition: background .18s ease, transform .18s ease; }
.tile::before { content:""; position:absolute; left:0; top:0; bottom:0; width:4px;
  background: var(--accent); transform: scaleY(0); transform-origin: top;
  transition: transform .22s cubic-bezier(.2,.8,.2,1); }
.tile:hover { background: #fff; color: #17181c; transform: translateY(-3px); }
.tile:hover::before { transform: scaleY(1); }
/* mono index, serif title, sans body — three voices per card */
.tile__num { font-family: var(--font-mono); font-size: clamp(2.2rem, 1.7rem + 1.6vw, 3.2rem);
  line-height: 1; color: #b48600; letter-spacing: -0.08em; font-weight: 700; }
.tile h3 { margin: 0; font-size: clamp(1.55rem, 1.05rem + 1.6vw, 2.3rem); letter-spacing: -0.035em;
  transition: color .18s ease; }
.tile p { margin: 0; color: #3c3f47; font-size: 1rem; max-width: 35ch; }
.tile__more { margin-top: auto; padding-top: 1rem; color: var(--accent-text);
  font-weight: 600; font-size: 0.9rem; display: inline-flex; gap: 0.35rem;
  font-family: var(--font-mono); letter-spacing: 0.04em;
  opacity: 0.75; transition: opacity .18s ease, gap .18s ease; }
.tile:hover .tile__more { opacity: 1; gap: 0.6rem; }
@media (prefers-reduced-motion: reduce) {
  .tile, .tile::before, .tile__more { transition: none; }
  .tile:hover { transform: none; }
}

/* Capstone tile — yellow, lands the thesis, fills the 6th grid slot */
.tile--cap { background: var(--accent); color: var(--on-accent); }
.tile--cap:hover { background: var(--accent-strong); color: var(--on-accent); }
.tile--cap::before { display: none; }
.tile--cap h3 { color: var(--on-accent); max-width: 15ch; }
.tile__mark { width: 68px; height: 58px; color: var(--on-accent); opacity: 0.92; }
.tile__more--cap { color: var(--on-accent); }

/* ---- Generic content grid ------------------------------------------------- */
.grid-2 { display: grid; gap: var(--gap); }
@media (min-width: 820px) { .grid-2 { grid-template-columns: 1fr 1fr; align-items: start; } }
.grid-2--lead { grid-template-columns: 1fr; }
@media (min-width: 820px) { .grid-2--lead { grid-template-columns: 0.9fr 1.1fr; } }

/* ---- Cards ---------------------------------------------------------------- */
.card { background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2rem); }
.card h3 { margin-top: 0; }
.card--accent { border-left: 4px solid var(--accent); }
.outcome h3 { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 0.7rem; }
.outcome p { color: var(--ink); font-size: 1.05rem; max-width: none; }

/* ---- Big numbers / results strip ----------------------------------------- */
.results { display: grid; gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .results { grid-template-columns: repeat(5, 1fr); } }
.result { background: var(--paper); padding: 1.5rem 1.1rem; text-align: center; }
.result__num { font-family: var(--font-mono); font-weight: 600; letter-spacing: -0.02em;
  font-size: clamp(1.8rem, 1.2rem + 2.6vw, 2.9rem); color: var(--ink); line-height: 1;
  display: inline-block;
  box-shadow: inset 0 -0.3em 0 color-mix(in srgb, var(--accent) 42%, transparent); }
.result__label { margin-top: 0.6rem; font-size: 0.82rem; color: var(--muted); line-height: 1.35; }
.result__label b { display:block; color: var(--ink-2); font-weight: 600; font-size: 0.9rem; }

/* ---- ROI ledger: all verified returns share one visual scale -------------- */
.proof-ledger-section, .proof-results-section { background: #f7f4eb; color: #17181c; }
.proof-ledger-section h2, .proof-results-section h2 { color: #17181c; }
.proof-ledger-section .eyebrow, .proof-results-section .eyebrow { color: #7a5c00; }
.proof-ledger-head { display: grid; gap: 2rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
@media (min-width: 850px) { .proof-ledger-head { grid-template-columns: 1fr 1fr; } }
.proof-ledger-head h2 { max-width: 14ch; margin-bottom: 0; }
.proof-ledger-range { margin: 0; max-width: none; display: flex; flex-direction: column;
  align-items: flex-start; font-family: var(--font-mono); text-transform: uppercase; }
@media (min-width: 850px) { .proof-ledger-range { align-items: flex-end; text-align: right; } }
.proof-ledger-range span, .proof-ledger-range small { color: #5e626c; font-size: 0.72rem;
  letter-spacing: 0.11em; }
.proof-ledger-range strong { color: #17181c; font-size: clamp(3.8rem, 1.7rem + 7vw, 7.5rem);
  line-height: 0.88; letter-spacing: -0.085em; font-weight: 750; }

.roi-ledger { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid #c8c4b8; }
.roi-row { display: grid; grid-template-columns: minmax(9rem, 13rem) minmax(12rem, 1fr) 6rem;
  align-items: center; gap: clamp(1rem, 3vw, 2rem); padding: 1.05rem 0;
  border-top: 1px solid #c8c4b8; max-width: none; }
.roi-row__name { min-width: 0; display: flex; flex-direction: column; color: #17181c; }
.roi-row__name b { font-size: 0.95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.roi-row__name span { color: #5e626c; font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.06em; text-transform: uppercase; }
.roi-row__track { position: relative; height: 22px; overflow: hidden; background-color: #dfdbcf;
  background-image: repeating-linear-gradient(90deg, rgba(23,24,28,0.18) 0 1px, transparent 1px 10%); }
.roi-row__track i { display: block; width: var(--roi); height: 100%; background: #f8c000;
  border-right: 4px solid #17181c; }
.roi-row__value { color: #17181c; font-family: var(--font-mono); font-size: 1.55rem;
  line-height: 1; letter-spacing: -0.06em; text-align: right; }
.proof-ledger-foot { display: grid; gap: 1.5rem; align-items: end; margin-top: 2.5rem;
  padding: clamp(1.4rem, 3vw, 2rem); background: #fcfbf7; border: 1px solid #c8c4b8;
  border-radius: var(--radius-sm); }
@media (min-width: 820px) { .proof-ledger-foot { grid-template-columns: 1fr auto; } }
.proof-ledger-foot .big-lead { color: #3c3f47; }
.proof-clients { margin-top: clamp(3.5rem, 7vw, 6rem); padding-top: 2.5rem;
  border-top: 1px solid #c8c4b8; }
.proof-ledger-section .logoband, .proof-results-section .logoband { background: #c8c4b8; border-color: #c8c4b8; }
.proof-ledger-section .logoband span, .proof-results-section .logoband span { background: #fcfbf7; color: #3c3f47; }
.proof-results-section .statement { max-width: 17ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.proof-note { margin-top: 1.2rem; color: #5e626c; font-size: 0.9rem; max-width: 54rem; }

/* Proof page: a dark evidence-first opening beat. */
.proof-hero { background: #17191d; color: #f4f6f2; padding-block: clamp(4rem, 9vw, 7.5rem); }
.proof-hero .crumbs, .proof-hero .crumbs a { color: rgba(244,246,242,0.68); }
.proof-hero .crumbs a:hover { color: #fff; }
.proof-hero .eyebrow { color: #f8c000; }
.proof-hero h1 { color: #f4f6f2; max-width: 12ch; }
.proof-hero .lede { color: rgba(244,246,242,0.78); max-width: 42rem; }
.proof-hero__grid { display: grid; gap: clamp(3rem, 7vw, 7rem); align-items: end; }
@media (min-width: 900px) { .proof-hero__grid { grid-template-columns: 1.15fr 0.85fr; } }
.proof-hero__range { display: flex; flex-direction: column; padding-left: 1.4rem;
  border-left: 4px solid #f8c000; font-family: var(--font-mono); }
.proof-hero__range span, .proof-hero__range small { color: rgba(244,246,242,0.7);
  font-size: 0.74rem; letter-spacing: 0.11em; text-transform: uppercase; }
.proof-hero__range strong { color: #f8c000; font-size: clamp(3.5rem, 2rem + 5vw, 6.6rem);
  line-height: 0.95; letter-spacing: -0.08em; }
.proof-hero__range .ticks { margin-top: 1.4rem; }

/* ---- Pull quote ----------------------------------------------------------- */
.pullquote { border-left: 4px solid var(--accent); padding-left: clamp(1rem, 3vw, 1.6rem); }
.pullquote p { font-family: var(--font-display); font-size: clamp(1.3rem, 1rem + 1.4vw, 2rem);
  line-height: 1.32; color: var(--ink); margin-bottom: 0.7rem; max-width: 28ch; }
.pullquote cite { font-style: normal; color: var(--muted); font-size: 0.95rem; }
.pullquote cite b { color: var(--ink-2); font-weight: 600; }

/* ---- Testimonials --------------------------------------------------------- */
.quotes { display: grid; gap: var(--gap); counter-reset: case-file; }
.quote { position: relative; counter-increment: case-file; background: var(--panel);
  border: 1px solid var(--line); border-top: 5px solid var(--accent);
  border-radius: var(--radius-sm); padding: clamp(2.2rem, 4vw, 3rem) clamp(1.4rem, 3vw, 2.2rem) clamp(1.5rem, 3vw, 2.2rem); }
.quote::before { content: "Case file " counter(case-file, decimal-leading-zero); position: absolute;
  left: clamp(1.4rem, 3vw, 2.2rem); top: 0.75rem; color: var(--muted);
  font-family: var(--font-mono); font-size: 0.67rem; letter-spacing: 0.11em; text-transform: uppercase; }
.quote blockquote { margin: 0; }
.quote blockquote p { font-size: 1.05rem; color: var(--ink); line-height: 1.55; }
.quote figcaption { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 0.95rem; display: flex; flex-wrap: wrap; gap: 0.4rem 0.6rem;
  align-items: baseline; }
.quote figcaption b { color: var(--ink); font-weight: 600; }
.quote figcaption .roi { margin-left: auto; font-family: var(--font-mono);
  color: var(--on-accent); background: var(--accent); font-weight: 600;
  padding: 0.18rem 0.55rem; border-radius: var(--radius-sm); font-size: 0.82rem; }

/* ---- Recommendation wall (LinkedIn) --------------------------------------- */
.reco-wall { columns: 1; column-gap: var(--gap); }
@media (min-width: 640px) { .reco-wall { columns: 2; } }
@media (min-width: 1060px) { .reco-wall { columns: 3; } }
.reco { break-inside: avoid; -webkit-column-break-inside: avoid;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.3rem 1.4rem; margin: 0 0 var(--gap); display: inline-block; width: 100%; }
.reco blockquote { margin: 0; }
.reco blockquote p { font-size: 0.97rem; color: var(--ink); line-height: 1.55; max-width: none; }
.reco blockquote p:last-child { margin-bottom: 0; }
.reco figcaption { margin-top: 1rem; padding-top: 0.9rem; border-top: 1px solid var(--line); }
.reco .who { font-weight: 650; color: var(--ink); }
.reco .role { display: block; color: var(--muted); font-size: 0.88rem; margin-top: 0.1rem; }
.reco .rel { display: inline-block; margin-top: 0.7rem; font-family: var(--font-mono);
  font-size: 0.66rem; letter-spacing: 0.11em; text-transform: uppercase;
  color: var(--on-accent); background: var(--accent); padding: 0.12rem 0.5rem; border-radius: 5px; }

/* ---- Client roster (typographic "logo wall", not pills) ------------------- */
.logoband { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-sm);
  overflow: hidden; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 560px) { .logoband { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .logoband { grid-template-columns: repeat(4, 1fr); } }
.logoband span { display: flex; align-items: center; justify-content: center; height: 100%;
  background: var(--paper); padding: 0.95rem 0.8rem; text-align: center;
  font-family: var(--font-sans); font-weight: 600; letter-spacing: 0.01em;
  font-size: 0.9rem; color: var(--ink-2); }

/* ---- UVP Sprint band ------------------------------------------------------ */
.uvp-band { background: var(--ink); color: var(--paper); border-radius: var(--radius);
  padding: clamp(1.8rem, 5vw, 3rem); }
.uvp-band h2, .uvp-band h3 { color: var(--paper); }
.uvp-band p { color: color-mix(in srgb, var(--paper) 82%, transparent); max-width: 46rem; }
.uvp-band .eyebrow { color: var(--accent); }
.uvp-band .eyebrow::before { background: var(--accent); }
.uvp-band .btn--ghost { color: var(--paper); border-color: color-mix(in srgb, var(--paper) 45%, transparent); }
.uvp-band .btn--ghost:hover { color: var(--ink); background: var(--paper); border-color: var(--paper); }
.uvp-band .btn--primary { background: var(--accent); color: var(--on-accent); }
.uvp-band .btn--primary:hover { background: var(--accent-strong); }

/* Full-field product spotlight — a poster beat, not an inset card. */
.product-spotlight { background: #f8c000; color: #17181c;
  padding-block: clamp(5rem, 10vw, 9rem); overflow: hidden; }
.product-spotlight__grid { display: grid; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
@media (min-width: 820px) { .product-spotlight__grid { grid-template-columns: 0.72fr 1.28fr; } }
.product-code { color: rgba(23,24,28,0.13); font-family: var(--font-mono); font-size: clamp(6rem, 18vw, 15rem);
  font-weight: 800; line-height: 0.72; letter-spacing: -0.13em; white-space: nowrap; }
.product-spotlight__copy { max-width: 48rem; }
.product-spotlight h2 { color: #17181c; max-width: 11ch; font-size: clamp(3rem, 1.6rem + 5vw, 6.5rem); }
.product-spotlight p { color: #2c2d31; max-width: 46rem; font-size: clamp(1.08rem, 1rem + 0.45vw, 1.28rem); }
.product-spotlight .eyebrow { color: #5c4600; font-size: 0.8rem; }
.product-spotlight .eyebrow::before { background-image: repeating-linear-gradient(90deg, #17181c 0 2px, transparent 2px 6px); }
.product-actions { margin-top: 2rem; }
.product-spotlight .btn--primary { background: #17181c; color: #f4f6f2; }
.product-spotlight .btn--primary:hover { background: #000; color: #fff; }
.product-spotlight .btn--ghost { color: #17181c; border-color: rgba(23,24,28,0.55); }
.product-spotlight .btn--ghost:hover { color: #17181c; border-color: #17181c; background: rgba(255,255,255,0.32); }

/* ---- Closing band --------------------------------------------------------- */
.closing p { font-family: var(--font-display); font-size: clamp(1.3rem, 1rem + 1.5vw, 2.05rem);
  line-height: 1.35; color: var(--ink); max-width: 30ch; }

/* Bold yellow closing — a graphic full-width beat to end on */
.closing--accent { background: var(--accent); }
.closing--accent p { color: var(--on-accent); max-width: 26ch; }
.closing--accent .btn--primary { background: var(--ink); color: var(--paper); }
.closing--accent .btn--primary:hover { background: color-mix(in srgb, var(--ink) 82%, black); }
.closing--accent .eyebrow { color: color-mix(in srgb, var(--on-accent) 78%, transparent); }
.closing--accent .eyebrow::before {
  background-image: repeating-linear-gradient(90deg, var(--on-accent) 0 2px, transparent 2px 6px); }

.closing--ink { position: relative; overflow: hidden; background: #111318; color: #f4f6f2; }
.closing-grid { display: grid; gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
@media (min-width: 800px) { .closing-grid { grid-template-columns: 0.55fr 1.45fr; } }
.closing--ink .statement { color: #f4f6f2; max-width: 18ch; margin: 0; }
.closing--ink .eyebrow { color: #f8c000; }
.closing-mark { color: #f8c000; opacity: 0.9; }
.closing-mark__svg { width: clamp(110px, 17vw, 230px); height: auto; }
.closing-actions { margin-top: 2.2rem; }
.closing--ink .btn--primary { background: #f8c000; color: #17181c; }
.closing--ink .btn--primary:hover { background: #ffd23d; color: #17181c; }

/* ---- Restrained motion system --------------------------------------------
   One-shot scroll reveals preserve normal document flow. Individual translate
   keeps hover transforms independent; reduced-motion users see static content. */
[data-reveal] { --reveal-x: 0px; --reveal-y: 28px; --reveal-delay: 0ms; }
[data-reveal="left"] { --reveal-x: -36px; --reveal-y: 0px; }
[data-reveal="right"] { --reveal-x: 36px; --reveal-y: 0px; }

.js.motion-ready [data-reveal] {
  opacity: 0;
  filter: blur(1.5px);
  translate: var(--reveal-x) var(--reveal-y);
}
.js.motion-ready [data-reveal].is-visible {
  animation: reveal-in 720ms cubic-bezier(.18,.78,.22,1) var(--reveal-delay) both;
}
@keyframes reveal-in {
  to { opacity: 1; filter: blur(0); translate: 0 0; }
}

.product-code, .closing-mark {
  transform: translate3d(0, var(--scroll-drift, 0px), 0);
  transition: transform 100ms linear;
  will-change: transform;
}

/* Evidence bars grow only after their row enters the viewport. */
.js.motion-ready .roi-row[data-reveal] .roi-row__track i {
  transform: scaleX(0);
  transform-origin: left center;
}
.js.motion-ready .roi-row[data-reveal].is-visible .roi-row__track i {
  transform: scaleX(1);
  transition: transform 850ms cubic-bezier(.18,.78,.22,1) calc(var(--reveal-delay) + 140ms);
}

@media (prefers-reduced-motion: reduce) {
  .js.motion-ready [data-reveal], .js.motion-ready [data-reveal].is-visible {
    opacity: 1; filter: none; translate: none; animation: none;
  }
  .js.motion-ready .roi-row[data-reveal] .roi-row__track i,
  .js.motion-ready .roi-row[data-reveal].is-visible .roi-row__track i {
    transform: none; transition: none;
  }
  .product-code, .closing-mark { transform: none; transition: none; }
}

/* ---- Indexed service-page system ----------------------------------------- */
.service-hero { background: #f3f0e7; color: #17181c; padding-block: clamp(3rem, 7vw, 6.5rem); }
.service-hero .crumbs, .service-hero .crumbs a { color: #686a70; }
.service-hero__grid { display: grid; gap: clamp(2.5rem, 7vw, 7rem); align-items: end; }
@media (min-width: 820px) { .service-hero__grid { grid-template-columns: 1.45fr 0.55fr; } }
.service-hero h1 { color: #17181c; max-width: 13ch; margin-bottom: 0; }
.service-index { justify-self: stretch; background: #17181c; color: #f4f6f2;
  border-radius: var(--radius-sm); padding: clamp(1.4rem, 3vw, 2.1rem); min-height: 220px;
  display: grid; grid-template-rows: auto 1fr auto; align-items: end; }
.service-index span { color: rgba(244,246,242,0.64); font-family: var(--font-mono);
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; }
.service-index strong { color: #f8c000; font-family: var(--font-mono); font-size: clamp(5rem, 9vw, 8.5rem);
  line-height: 0.82; letter-spacing: -0.12em; }
.service-index i { display: block; height: 16px; border-bottom: 2px solid #f8c000;
  background-image: repeating-linear-gradient(90deg, #f8c000 0 2px, transparent 2px 10px); }

.outcome-band { background: #f8c000; color: #17181c; padding-block: clamp(2.7rem, 6vw, 5rem); }
.outcome-band__grid { display: grid; gap: 1rem clamp(2rem, 7vw, 7rem); align-items: start; }
@media (min-width: 780px) { .outcome-band__grid { grid-template-columns: 0.42fr 1.58fr; } }
.outcome-band .eyebrow { color: #5c4600; margin-top: 0.35rem; }
.outcome-band .eyebrow::before { background-image: repeating-linear-gradient(90deg, #17181c 0 2px, transparent 2px 6px); }
.outcome-band__text { margin: 0; max-width: 35ch; color: #17181c; font-family: var(--font-display);
  font-size: clamp(1.8rem, 1.2rem + 2.2vw, 3.25rem); font-weight: 700; line-height: 1.12;
  letter-spacing: -0.025em; }

.service-body { gap: clamp(3rem, 8vw, 8rem); }
@media (min-width: 820px) { .service-body { grid-template-columns: 1.08fr 0.92fr; } }
.service-copy { font-size: clamp(1.08rem, 1rem + 0.35vw, 1.22rem); }
.service-copy p:first-child { font-family: var(--font-display); color: var(--ink);
  font-size: clamp(1.35rem, 1.05rem + 1vw, 1.75rem); line-height: 1.42; }
.service-aside { align-self: start; }
@media (min-width: 820px) { .service-aside { position: sticky; top: calc(var(--header-h) + 2rem); } }
.service-scale { display: grid; grid-template-columns: auto 1fr; gap: 0.7rem 1rem; align-items: center;
  background: #17181c; color: #f4f6f2; padding: 1.5rem; border-radius: var(--radius-sm); }
.service-scale span { color: #f8c000; font-family: var(--font-mono); font-size: 2.6rem;
  font-weight: 750; line-height: 1; letter-spacing: -0.1em; }
.service-scale i { height: 16px; border-bottom: 1px solid rgba(244,246,242,0.55);
  background-image: repeating-linear-gradient(90deg, rgba(244,246,242,0.65) 0 1px, transparent 1px 9px); }
.service-scale b { grid-column: 1 / -1; color: rgba(244,246,242,0.72); font-family: var(--font-mono);
  font-size: 0.7rem; letter-spacing: 0.11em; text-transform: uppercase; }
.service-actions { margin-top: 2rem; }

/* ---- Fractional leadership + agency capacity ----------------------------- */
.fractional-intro h2 { max-width: 16ch; margin: 0 0 1.6rem;
  font-size: clamp(2rem, 1.35rem + 2.2vw, 3.45rem); }
.fractional-proof { margin-top: 2rem; }

.fractional-paths-section { background: #f2efe5; color: #17181c; }
.fractional-paths-section h2, .fractional-paths-section h3 { color: #17181c; }
.fractional-paths-section .eyebrow { color: #755900; }
.fractional-paths-section .big-lead { color: #4c4f57; }
.engagement-paths { display: grid; gap: 1px; overflow: hidden;
  background: #17181c; border: 1px solid #17181c; border-radius: var(--radius-sm); }
@media (min-width: 820px) { .engagement-paths { grid-template-columns: 1fr 1fr; } }
.engagement-path { display: flex; flex-direction: column; min-height: 100%;
  padding: clamp(1.7rem, 4vw, 2.7rem); background: #fcfbf7; color: #17181c;
  border-top: 5px solid #f8c000; }
.engagement-path--agency { background: #fff; }
.engagement-path header { display: flex; justify-content: space-between; align-items: baseline;
  gap: 1rem; margin-bottom: 1.3rem; }
.engagement-path__num { color: #9a7200; font-family: var(--font-mono);
  font-size: 1.35rem; font-weight: 750; letter-spacing: -0.06em; }
.engagement-path__mode { color: #666971; font-family: var(--font-mono);
  font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; }
.engagement-path h3 { max-width: 16ch; margin: 0;
  font-size: clamp(1.8rem, 1.25rem + 1.8vw, 2.7rem); }
.engagement-path__lead { margin: 1.1rem 0 0; color: #3e4148;
  font-size: 1.05rem; line-height: 1.55; }
.engagement-path ul { margin: 1.6rem 0 0; padding: 1.4rem 0 0 1.2rem;
  border-top: 1px solid #d2cec2; color: #3e4148; }
.engagement-path li { margin: 0.55rem 0; padding-left: 0.2rem; }

.capacity-grid { display: grid; gap: 1px; overflow: hidden; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius-sm); }
@media (min-width: 700px) { .capacity-grid { grid-template-columns: 1fr 1fr; } }
.capacity-card { min-height: 240px; padding: clamp(1.5rem, 3.5vw, 2.3rem);
  background: var(--paper); display: flex; flex-direction: column; }
.capacity-card > span { color: var(--accent-text); font-family: var(--font-mono);
  font-size: 0.78rem; font-weight: 750; letter-spacing: 0.09em; }
.capacity-card h3 { margin: auto 0 0.75rem; font-size: clamp(1.65rem, 1.2rem + 1.4vw, 2.35rem); }
.capacity-card p { margin: 0; color: var(--ink-2); line-height: 1.55; }
.capacity-note { display: grid; gap: 0.8rem clamp(2rem, 6vw, 6rem); align-items: start;
  margin-top: clamp(2.5rem, 6vw, 4.5rem); padding: clamp(1.4rem, 3vw, 2rem);
  border-left: 5px solid var(--accent); background: var(--panel); }
@media (min-width: 780px) { .capacity-note { grid-template-columns: 0.42fr 1.58fr; } }
.capacity-note .eyebrow { margin: 0.2rem 0 0; }
.capacity-note > p:last-child { margin: 0; max-width: 52rem; color: var(--ink);
  font-family: var(--font-display); font-size: clamp(1.25rem, 1rem + 0.8vw, 1.65rem);
  line-height: 1.4; }
.fractional-closing .closing-grid { grid-template-columns: 1fr; }
.fractional-closing .statement { max-width: 24ch; }

/* ---- Video facade --------------------------------------------------------- */
.facade { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--line); background: var(--panel-2);
  width: 100%; padding: 0; display: block; }
.facade__trigger { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0;
  border: 0; background: transparent; color: inherit; cursor: pointer; }
.facade__label { position: absolute; inset: auto 0 0 0; padding: 1rem 1.2rem;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent); color: #fff;
  font-size: 0.95rem; text-align: left; }
.facade__play { position: absolute; inset: 0; margin: auto; width: 68px; height: 68px;
  background: var(--accent); color: var(--on-accent); border-radius: 999px;
  display: grid; place-items: center; }
.facade__play svg { width: 26px; height: 26px; margin-left: 3px; }
.facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---- About / person ------------------------------------------------------- */
.person { display: grid; gap: var(--gap); align-items: start; grid-template-columns: 1fr; }
@media (min-width: 780px) { .person { grid-template-columns: minmax(260px, 340px) 1fr; gap: clamp(3rem, 7vw, 6rem); } }
.person__portrait { width: min(320px, calc(100% - 16px)); position: relative; margin-bottom: 1rem; }
.person__photo { width: 320px; height: 320px; border-radius: var(--radius-sm);
  object-fit: cover; border: 1px solid var(--line); filter: grayscale(1) contrast(1.08);
  box-shadow: 14px 14px 0 var(--accent); }
.person__file { position: relative; margin: 0; width: calc(100% - 14px); background: #17181c;
  color: #f4f6f2; padding: 0.8rem 0.9rem; display: flex; flex-wrap: wrap; gap: 0.35rem 1rem;
  font-family: var(--font-mono); font-size: 0.69rem; letter-spacing: 0.08em; text-transform: uppercase; }
.person__file b { color: var(--accent); }

/* ---- Forms ---------------------------------------------------------------- */
.form { display: grid; gap: 1.1rem; max-width: 34rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 600; font-size: 0.95rem; }
.field input, .field textarea { font: inherit; color: var(--ink); background: var(--paper);
  border: 2px solid var(--line-strong); border-radius: var(--radius-sm); padding: 0.78rem 0.9rem;
  min-height: 48px; width: 100%; }
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--accent-strong); outline: none;
  box-shadow: 0 0 0 3px var(--accent-soft); }
.hp { display: none; }
.form__captcha { min-width: 0; }
.form__note { font-size: 0.9rem; color: var(--muted); }
.form__status { font-size: 0.95rem; font-weight: 500; margin: 0; padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm); border-left: 3px solid var(--line-strong); }
.form__status--pending { color: var(--muted); border-left-color: var(--muted); }
.form__status--ok { color: var(--ink); background: var(--accent-soft); border-left-color: var(--accent); }
.form__status--err { color: var(--ink); background: color-mix(in srgb, #d64545 12%, transparent);
  border-left-color: #d64545; }
.contact-direct { font-family: var(--font-mono); font-size: 0.98rem; color: var(--ink-2); }
.contact-direct a { color: var(--ink); }
.contact-grid { align-items: stretch; gap: 1.25rem; }
@media (min-width: 820px) { .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); } }
.contact-option { display: flex; flex-direction: column; min-width: 0; height: 100%;
  padding: clamp(1.5rem, 3.5vw, 2.4rem); }
.contact-option h2 { margin: 0.45rem 0 0.75rem; }
.contact-option__kind { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem 0.75rem;
  margin: 0; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em;
  line-height: 1.4; text-transform: uppercase; color: var(--muted); }
.contact-option__kind span { display: inline-flex; padding: 0.28rem 0.48rem;
  border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink); }
.contact-option__summary { margin: 0; max-width: 34rem; color: var(--ink-2); }
.contact-option__detail { margin: 1.2rem 0 0; max-width: 32rem; color: var(--muted); font-size: 0.95rem; }
.contact-option__action { margin-top: 0; padding-top: 1.6rem; }
.contact-option--message .form { max-width: none; margin-top: 1.55rem; }
.contact-direct--footer { margin: 1.5rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.contact-panel { background: #17181c; border: 0; border-top: 5px solid #f8c000; color: #f4f6f2;
  padding: clamp(1.7rem, 4vw, 2.7rem); }
.contact-panel h2 { color: #f4f6f2; }
.contact-panel .dim { color: rgba(244,246,242,0.74); }
.contact-option--meeting .contact-option__kind { color: rgba(244,246,242,0.66); }
.contact-option--meeting .contact-option__kind span { color: #17181c; background: #f8c000;
  border-color: #f8c000; }
.contact-option--meeting .contact-option__summary { color: rgba(244,246,242,0.9); }
.contact-option--meeting .contact-option__detail { color: rgba(244,246,242,0.68); }

/* ---- Insights listing ----------------------------------------------------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap;
  border: 0; }
.insights-collection { margin-top: clamp(4rem, 9vw, 7.5rem); }
.insights-collection__head { display: grid; gap: 1rem; align-items: end;
  margin-bottom: clamp(1.6rem, 4vw, 2.6rem); }
.insights-collection__head .eyebrow { margin-bottom: 0.65rem; }
.insights-collection__head h2 { margin: 0; max-width: 16ch;
  font-size: clamp(2rem, 1.35rem + 2.4vw, 3.6rem); }
.insights-collection__head > p { margin: 0; max-width: 37rem; color: var(--ink-2); }
@media (min-width: 820px) {
  .insights-collection__head { grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr); gap: 3rem; }
}
.archive-index-note { display: flex; flex-wrap: wrap; gap: 0.25rem 0.8rem;
  align-items: baseline; max-width: 48rem; margin: 0 0 1.6rem; padding: 0.9rem 1rem;
  background: var(--accent-soft); border-left: 4px solid var(--accent);
  color: var(--ink-2); font-size: 0.9rem; }
.archive-index-note strong { color: var(--ink); }

.article-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line);
  border-radius: var(--radius-sm); overflow: hidden; }
@media (min-width: 820px) { .article-list { grid-template-columns: repeat(2, 1fr); } }
.article-card { min-height: 285px; background: var(--paper); padding: clamp(1.4rem, 3vw, 2rem);
  text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 0.75rem;
  position: relative; overflow: hidden; transition: background .18s ease, transform .18s ease; }
.article-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px;
  background: var(--accent); transform: scaleY(0); transform-origin: top;
  transition: transform .22s cubic-bezier(.2,.8,.2,1); }
.article-card:hover { background: var(--panel); color: var(--ink); transform: translateY(-3px); }
.article-card:hover::before { transform: scaleY(1); }
.article-card__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem;
  color: var(--muted); font-family: var(--font-mono); font-size: 0.68rem;
  letter-spacing: 0.08em; text-transform: uppercase; }
.article-card__meta b { color: var(--on-accent); background: var(--accent);
  padding: 0.08rem 0.4rem; border-radius: var(--radius-sm); font-weight: 700; }
.article-card--external .article-card__meta b { color: var(--muted); background: transparent;
  border: 1px solid var(--line-strong); }
.article-card :is(h2, h3) { margin: 0; font-size: clamp(1.65rem, 1.25rem + 1.2vw, 2.35rem); }
.article-card p { margin: 0; color: var(--ink-2); font-size: 0.96rem; line-height: 1.5; }
.article-card__more { margin-top: auto; padding-top: 0.8rem; color: var(--accent-text);
  font-family: var(--font-mono); font-size: 0.78rem; font-weight: 650; }
.empty-note { color: var(--muted); }

/* ---- Preserved archive articles ------------------------------------------ */
.archive-article__head { max-width: 58rem; margin-top: clamp(2.5rem, 6vw, 5rem); }
.archive-article__head h1 { max-width: 18ch; font-size: clamp(3rem, 1.5rem + 5.3vw, 6.5rem); }
.article-byline { display: flex; flex-wrap: wrap; gap: 0.25rem 0.65rem; align-items: center;
  margin: 1.4rem 0 0; color: var(--muted); font-family: var(--font-mono);
  font-size: 0.78rem; letter-spacing: 0.05em; text-transform: uppercase; }
.archive-notice, .article-review-note { max-width: 48rem; margin-top: 2.5rem;
  padding: 1rem 1.15rem; border-left: 4px solid var(--accent); background: var(--accent-soft);
  color: var(--ink-2); font-size: 0.9rem; }
.archive-notice { display: grid; gap: 0.2rem; }
.archive-notice strong, .article-review-note strong { color: var(--ink); }
.article-review-note { border-left-color: #a33b3b;
  background: color-mix(in srgb, #a33b3b 9%, var(--paper)); }
.article-review-note ul { margin: 0.7rem 0 0; padding-left: 1.15rem; }
.article-review-note li { margin: 0.35rem 0; max-width: 44rem; }
.article-prose { max-width: 48rem; margin-top: clamp(3rem, 7vw, 5.5rem);
  font-size: clamp(1.05rem, 1rem + 0.22vw, 1.17rem); line-height: 1.72; }
.article-prose > p:first-child { color: var(--ink); font-family: var(--font-display);
  font-size: clamp(1.28rem, 1.08rem + 0.75vw, 1.6rem); line-height: 1.5; }
.article-prose p, .article-prose h2 { max-width: none; }
.article-prose h2 { font-size: clamp(1.65rem, 1.25rem + 1.3vw, 2.35rem); }
.article-footer { max-width: 48rem; margin-top: clamp(3rem, 7vw, 5.5rem);
  padding-top: 1.5rem; border-top: 1px solid var(--line); }

@media (prefers-reduced-motion: reduce) {
  .article-card, .article-card::before { transition: none; }
  .article-card:hover { transform: none; }
}

/* ---- Prose ---------------------------------------------------------------- */
.prose { max-width: var(--measure); }
.prose h2 { margin-top: 2em; } .prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; }
.prose a { color: var(--accent-text); box-shadow: inset 0 -2px 0 var(--accent); text-decoration: none; }
.prose a:hover { color: var(--ink); }

/* ---- Breadcrumb ----------------------------------------------------------- */
.crumbs { font-family: var(--font-mono); font-size: 0.8rem; color: var(--muted);
  margin-bottom: 1.4rem; letter-spacing: 0.02em; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-current] { color: var(--ink-2); }

/* ---- Footer --------------------------------------------------------------- */
.site-footer { position: relative; overflow: hidden; border-top: 0; background: #0e0f13; color: #f4f6f2;
  padding-block: clamp(3.5rem, 7vw, 6rem); margin-top: 0; }
.footer-callout { display: grid; gap: 2rem; align-items: center; padding-bottom: clamp(2.8rem, 6vw, 5rem);
  margin-bottom: clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid rgba(244,246,242,0.16); }
@media (min-width: 760px) { .footer-callout { grid-template-columns: 1.5fr 0.5fr; } }
.footer-callout p { margin: 0; max-width: 16ch; color: #f4f6f2; font-family: var(--font-display);
  font-size: clamp(2.4rem, 1.35rem + 3.8vw, 5.25rem); font-weight: 700;
  line-height: 0.98; letter-spacing: -0.04em; }
.footer-callout p span { color: #f8c000; }
.footer-callout > div { justify-self: start; color: #f8c000; opacity: 0.95; }
@media (min-width: 760px) { .footer-callout > div { justify-self: end; } }
.footer-callout__mark { width: clamp(90px, 13vw, 170px); height: auto; }
.site-footer .cols { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .site-footer .cols { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h2 { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(244,246,242,0.58); font-weight: 600; margin: 0 0 0.9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.site-footer a { color: rgba(244,246,242,0.76); text-decoration: none; font-size: 0.95rem; }
.site-footer a:hover { color: #fff; }
.footer-brand .brand { margin-bottom: 0.8rem; }
.site-footer .mt-ink { fill: #f4f6f2; }
.site-footer .mt-accent { fill: #f8c000; }
.footer-brand p { color: rgba(244,246,242,0.58); font-size: 0.95rem; max-width: 30rem; }
.footer-legal { margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid rgba(244,246,242,0.16);
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; align-items: center;
  color: rgba(244,246,242,0.5); font-size: 0.88rem; }
.footer-legal .uvp-note { font-weight: 500; color: rgba(244,246,242,0.7); }
.footer-legal a { color: rgba(244,246,242,0.7); }

/* ---- Utilities ------------------------------------------------------------ */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.vh { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden;
  clip:rect(0 0 0 0); white-space:nowrap; border:0; }
.dim { color: var(--muted); }
.big-lead { font-size: clamp(1.25rem,1rem+1vw,1.6rem); line-height:1.45; color:var(--ink-2);
  font-family: var(--font-display); max-width: 32rem; }
.mark-hl { background: var(--accent); color: var(--on-accent); padding: 0 0.2em;
  box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* ---- Responsive finishing ------------------------------------------------ */
@media (max-width: 720px) {
  :root { --section-y: clamp(3.75rem, 14vw, 5.5rem); }
  .wrap { padding-inline: 1.25rem; }
  .board-grid { min-height: auto; padding-block: 4.5rem 5rem; }
  .board-copy h1 { font-size: clamp(2.875rem, 13.8vw, 4.4rem); }
  .board-meta { display: grid; gap: 0.45rem; }
  .board-art { width: min(108%, 560px); max-width: none; margin-inline: -4%; }
  .measure-readout { left: 6%; right: 6%; }
  .tile { min-height: 240px; }
  .roi-row { grid-template-columns: 1fr auto; gap: 0.75rem 1rem; padding: 1.15rem 0; }
  .roi-row__track { grid-column: 1 / -1; grid-row: 2; height: 18px; }
  .roi-row__value { grid-column: 2; grid-row: 1; }
  .roi-row__name { grid-column: 1; grid-row: 1; }
  .product-code { font-size: clamp(6rem, 36vw, 9rem); }
  .service-index { min-height: 180px; }
  .closing-mark__svg { width: 100px; }
  .person__portrait { margin-inline: auto; }
}

@media (max-width: 520px) {
  .btn-row { align-items: stretch; }
  .btn-row .btn { width: 100%; justify-content: center; }
  .nav .btn { width: 100%; }
  .product-spotlight { padding-block: 4.5rem; }
  .footer-callout p { font-size: clamp(2.35rem, 12vw, 3.6rem); }
}

@media (prefers-reduced-motion: reduce) {
  .btn, .btn__arrow, .tile, .tile::before, .tile__more { transition: none; }
  .measure-stage {
    --tilt-x: 0deg !important;
    --tilt-y: 0deg !important;
    --jaw-top: 0px !important;
    --jaw-bottom: 0px !important;
    --bulb-scale: 1 !important;
    --glow-opacity: 0.58 !important;
    --ray-opacity: 0.88 !important;
    transition: none;
  }
  .measure-bulb, .measure-jaw, .measure-glow, .measure-rays {
    transition: none;
  }
}
