/* ==========================================================================
   Gautam Varma — Performance Marketing Specialist
   Design system: Warm Ivory / Deep Charcoal / Muted Blue
   Manrope for reading, JetBrains Mono for every figure — the one place
   this site allows itself a second typeface, reserved entirely for the
   thing the whole portfolio is built to be honest about: numbers.
   ========================================================================== */

/* ---- Fallback metric matching, to reduce font-swap layout shift.
   Values computed via Fontaine's real generateFontFace() algorithm against
   verified Capsize metrics for Manrope, JetBrains Mono, Arial, and Courier
   New — not estimated. These fallbacks render as the same system fonts
   already in the stack; only their reported metrics are adjusted so the
   swap to the real webfont doesn't reflow the page. ---- */
@font-face {
  font-family: 'Manrope Fallback';
  src: local('Arial');
  size-adjust: 103.1851%;
  ascent-override: 103.3095%;
  descent-override: 29.074%;
  line-gap-override: 0%;
}
/* Headings render at weight 700, which has a meaningfully wider average
   character width than regular — using the 700-specific override here
   rather than reusing the regular one above, since this is the element
   most likely to be the LCP candidate and most worth getting precisely
   right. */
@font-face {
  font-family: 'Manrope Bold Fallback';
  src: local('Arial');
  size-adjust: 108.9051%;
  ascent-override: 97.8833%;
  descent-override: 27.5469%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'JetBrains Mono Fallback';
  src: local('Courier New');
  size-adjust: 99.9837%;
  ascent-override: 102.0166%;
  descent-override: 30.0049%;
  line-gap-override: 0%;
}

:root {
  --ivory: #F7F6F1;
  --charcoal: #171918;
  --blue: #BBDCE5;

  --text: var(--charcoal);
  --text-muted: rgba(23, 25, 24, 0.62);
  --text-faint: rgba(23, 25, 24, 0.62);
  --border: rgba(23, 25, 24, 0.13);
  --border-strong: rgba(23, 25, 24, 0.5);
  --surface: rgba(23, 25, 24, 0.035);
  --blue-wash: rgba(187, 220, 229, 0.35);

  --font-sans: 'Manrope', 'Manrope Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'JetBrains Mono Fallback', ui-monospace, SFMono-Regular, Menlo, monospace;

  --max: 1180px;
  --gutter: clamp(24px, 5vw, 64px);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
body { overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
body {
  background: var(--ivory);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--charcoal);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---- Type scale ---- */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.08; letter-spacing: -0.015em; font-family: 'Manrope', 'Manrope Bold Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
.h-sub { font-size: 1.05rem; font-weight: 600; line-height: 1.3; letter-spacing: normal; }
p { color: var(--text-muted); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.6; color: var(--text-muted); max-width: 62ch; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
/* Selective device, not a default — applied only to genuine hero moments,
   one per page at most. Everything else earns its hierarchy from spacing
   and scale instead of repeating this. */
.eyebrow--dash { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow--dash::before { content: ''; width: 16px; height: 1px; background: var(--charcoal); display: inline-block; }

/* Breadcrumbs are navigation, not editorial labels — they get their own
   quieter treatment rather than borrowing the eyebrow's voice. */
.breadcrumb { font-size: 0.82rem; font-weight: 500; letter-spacing: 0.01em; color: var(--text-faint); }
.breadcrumb a { color: var(--text-muted); border-bottom: 1px solid transparent; transition: border-color 0.2s var(--ease); }
.breadcrumb a:hover { border-color: var(--text-muted); }

/* ---- Numerals: the signature ---- */
.figure {
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

/* ---- Evidence tags ----
   Every metric on this site carries one of these. It is the whole point:
   what actually happened is never typographically indistinguishable from
   what was planned, projected, or hoped for. */
.tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px 4px;
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  color: var(--text-muted);
  line-height: 1;
  white-space: nowrap;
}
.tag::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: 0.55; }
.tag--actual { border-color: var(--charcoal); color: var(--charcoal); }
.tag--actual::before { background: var(--charcoal); opacity: 1; }
.tag--progress { border-color: var(--charcoal); color: var(--charcoal); background: var(--blue-wash); }
.tag--progress::before { background: var(--charcoal); opacity: 1; }
.tag--strategy { color: var(--text-muted); }

/* ---- Layout ---- */
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 10vw, 140px); }
/* Three deliberate tiers, used to communicate importance, not applied uniformly */
.section--minor { padding-block: clamp(40px, 6vw, 72px); }
.section--tight { padding-block: clamp(48px, 7vw, 96px); }
.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .eyebrow { margin-bottom: 18px; }
.rule { border: none; border-top: 1px solid var(--border); }
.band { background: var(--charcoal); color: var(--ivory); }
.band p { color: rgba(247, 246, 241, 0.68); }
.band .eyebrow { color: rgba(247, 246, 241, 0.68); }
.band-blue { background: var(--blue-wash); }
.band-blue p { color: var(--text); }
.band-blue .btn-secondary { border-color: var(--charcoal); }

/* ---- Nav ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 246, 241, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 20px;
}
.nav-mark {
  font-weight: 800; font-size: 0.95rem; letter-spacing: 0.02em;
}
.nav-links { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); }
.nav-links a:not(.btn) {
  font-size: 0.92rem; color: var(--text-muted); position: relative; padding-bottom: 2px;
}
.nav-links a:not(.btn)::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1px;
  background: var(--charcoal); transition: right 0.25s var(--ease);
}
.nav-links a:not(.btn):hover::after,
.nav-links a:not(.btn).is-active::after { right: 0; }
.nav-links a.is-active { color: var(--charcoal); }
.nav-toggle { display: none; }

@media (max-width: 760px) {
  .nav-links {
    position: fixed; top: 0; right: 0; bottom: auto; height: 100vh; height: 100dvh; width: min(78vw, 340px); z-index: 41;
    background: var(--ivory); flex-direction: column; align-items: flex-start;
    padding: 100px 32px 40px; gap: 28px; transform: translateX(100%);
    transition: transform 0.32s var(--ease); border-left: 1px solid var(--border);
  }
  .nav-links.is-open { transform: translateX(0); }
  .nav-links a:not(.btn) { font-size: 1.1rem; }
  .nav-toggle {
    display: flex; flex-direction: column; gap: 5px; width: 26px; z-index: 60;
    position: relative;
  }
  .nav-toggle span { height: 1.5px; background: var(--charcoal); width: 100%; transition: transform 0.25s var(--ease), opacity 0.25s var(--ease); }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .nav-scrim {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: auto; height: 100vh; height: 100dvh; background: rgba(23,25,24,0.25); z-index: 40;
  }
  .nav-scrim.is-open { display: block; }
  body.nav-open { overflow: hidden; }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.92rem; font-weight: 600; padding: 15px 26px; min-height: 46px;
  border-radius: 3px; border: 1px solid var(--charcoal);
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn-primary { background: var(--charcoal); color: var(--ivory); }
.btn-primary:hover { background: #33362f; transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--charcoal); }
.btn-secondary:hover { background: var(--charcoal); color: var(--ivory); }
.band .btn-secondary { border-color: rgba(247,246,241,0.5); color: var(--ivory); }
.band .btn-secondary:hover { background: var(--ivory); color: var(--charcoal); }
.band .btn-primary { background: var(--ivory); color: var(--charcoal); border-color: var(--ivory); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* ---- Hero ---- */
.hero { padding-top: clamp(56px, 9vw, 96px); padding-bottom: clamp(64px, 9vw, 120px); }
.hero .eyebrow { margin-bottom: 24px; }
.hero h1 { max-width: 16ch; margin-bottom: 24px; }
.hero-xl { font-size: clamp(2.8rem, 6.2vw, 5rem); max-width: 17ch; }
@media (max-width: 760px) {
  .hero-xl { font-size: clamp(2rem, 7.5vw, 2.75rem); }
}
.hero .lede { margin-bottom: 36px; }
.capability-line {
  margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--border);
  font-family: var(--font-sans); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.01em;
  color: var(--text-muted); display: flex; flex-wrap: wrap; gap: 10px 0;
}

/* ---- Metric strip (Selected Results) — one continuous band with
   dividers between figures, not a grid of individually-boxed cells. ---- */
.metric-strip {
  display: flex; flex-wrap: wrap;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.metric-strip .stat {
  flex: 1 1 190px; padding: clamp(24px, 3vw, 36px) clamp(20px, 2.4vw, 30px);
  border-right: 1px solid var(--border);
}
.metric-strip .stat:last-child { border-right: none; }
.metric-strip .result-label { min-height: 2.7em; }
@media (max-width: 1060px) {
  .metric-strip .stat { flex: 1 1 50%; border-right: 1px solid var(--border); }
  .metric-strip .stat:nth-child(2n) { border-right: none; }
}
.results-note { margin-top: 24px; font-size: 0.85rem; color: var(--text-faint); max-width: 60ch; }

/* ---- Cards ---- */
.cat {
  font-family: var(--font-sans); font-weight: 600; font-size: 0.7rem; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--text-muted); border: 1px solid var(--border); padding: 4px 9px; border-radius: 100px;
}
.arrow span { display: inline-block; transition: transform 0.2s var(--ease); }

/* ---- Featured case. Distinct only through position and a rule above
   and below it — same background, same type scale as everything else.
   The content is what makes it the featured one, not the styling. ---- */
.featured {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding-block: clamp(64px, 9vw, 128px);
  display: grid; grid-template-columns: 2fr 3fr; gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.featured .cats { display: flex; gap: 8px; margin-bottom: 22px; flex-wrap: wrap; }
.featured .tag { margin-bottom: 20px; }
.featured h2 { margin-block: 0 20px; max-width: 14ch; }
.featured-lede { margin-bottom: 28px; }
/* ---- Shared stat component: one pattern (figure + label), sized by
   context instead of redefined per context. ---- */
.stat .figure { display: block; line-height: 1; }
.stat .result-label { font-size: 0.82rem; color: var(--text-muted); margin-top: 10px; line-height: 1.35; }
.stat--xl .figure { font-size: clamp(2rem, 3.4vw, 2.75rem); }
.stat--lg .figure { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
.stat--md .figure { font-size: clamp(1.5rem, 2.4vw, 1.85rem); }
.stat--md .result-label { font-size: 0.78rem; margin-top: 6px; }

.featured-stats { display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 44px); margin-top: 8px; }

.metric-row { display: flex; flex-wrap: wrap; gap: clamp(28px, 4vw, 56px); margin-block: 28px; }
.metric { min-width: 140px; }
.metric .tag { margin-top: 10px; }
@media (max-width: 860px) { .featured { grid-template-columns: 1fr; } }

/* ---- Numbered steps ---- */
.steps { display: flex; flex-direction: column; }
.step {
  display: grid; grid-template-columns: 64px 1fr; gap: clamp(16px, 3vw, 32px);
  padding-block: clamp(24px, 3vw, 36px); border-top: 1px solid var(--border);
}
.steps .step:last-child { border-bottom: 1px solid var(--border); }
.step .num { font-family: var(--font-mono); font-size: 0.8rem; font-weight: 500; color: var(--text-faint); padding-top: 4px; }
.step .h-sub { margin-bottom: 8px; }
.step p { max-width: 58ch; font-size: 0.94rem; }

/* ---- Timeline (case study) ---- */
.timeline { display: flex; flex-wrap: wrap; align-items: center; gap: 0; margin-block: clamp(32px, 5vw, 56px); }
.timeline-step {
  font-family: var(--font-sans); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 9px 16px; border: 1px solid var(--border-strong); border-radius: 100px; color: var(--text-muted);
}
.timeline-step.is-current { background: var(--charcoal); color: var(--ivory); border-color: var(--charcoal); }
.timeline-arrow { font-family: var(--font-sans); color: var(--text-faint); padding-inline: 10px; font-size: 0.85rem; }
@media (max-width: 700px) { .timeline { flex-direction: column; align-items: flex-start; } .timeline-arrow { transform: rotate(90deg); padding-block: 4px; padding-inline: 0; margin-left: 10px; } }

/* ---- Case study body ---- */
.case-block { padding-block: clamp(40px, 6vw, 72px); border-top: 1px solid var(--border); }
.case-block--emphasis { padding-block: clamp(52px, 8vw, 100px); }
.case-block:first-of-type { border-top: none; }
.case-block-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 24px; flex-wrap: wrap; }
.case-block-head .num { font-family: var(--font-mono); font-weight: 500; color: var(--text-faint); font-size: 0.9rem; }
.case-block p { max-width: 68ch; margin-bottom: 16px; font-size: 1rem; }
.case-block p:last-child { margin-bottom: 0; }
.metric-row { display: flex; flex-wrap: wrap; gap: clamp(28px, 4vw, 56px); margin-block: 28px; }
.metric { min-width: 140px; }
.metric .figure { font-size: clamp(1.7rem, 2.6vw, 2.3rem); display: block; margin-bottom: 8px; }
.metric .result-label { font-size: 0.82rem; color: var(--text-muted); }
.metric .tag { margin-top: 10px; }
.callout {
  border-left: 2px solid var(--charcoal); padding: 4px 0 4px 24px; margin-block: 28px;
  max-width: 62ch; font-size: 0.98rem; color: var(--text);
}
.callout p { color: var(--text); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }
.creative-panel { border: 1px solid var(--border); padding: clamp(22px, 3vw, 30px); border-radius: 4px; }
.creative-panel .h-sub { margin-bottom: 6px; }
.creative-panel .eyebrow { margin-bottom: 14px; }
.creative-panel p { font-size: 0.94rem; }
.hooks-list { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.hooks-list li { font-size: 0.92rem; padding-left: 18px; position: relative; color: var(--text); }
.hooks-list li::before { content: '"'; position: absolute; left: 0; color: var(--text-faint); font-family: var(--font-sans); font-weight: 700; }

/* ---- Status banner (in-progress / pre-launch) ---- */
.status-banner {
  display: flex; align-items: center; gap: 14px; padding: 16px 22px;
  border: 1px solid var(--border-strong); border-radius: 4px; background: var(--blue-wash);
  margin-bottom: 40px; font-size: 0.9rem;
}
.status-banner strong { font-weight: 700; }

/* ---- Skills / list chips ---- */
.chip-group { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font-size: 0.85rem; padding: 9px 16px; border: 1px solid var(--border); border-radius: 100px; color: var(--text);
}

/* ---- Table-ish rows (services, skills) ---- */
.list-rows { border-top: 1px solid var(--border); }
.list-row { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding-block: 28px; border-bottom: 1px solid var(--border); }
@media (max-width: 700px) { .list-row { grid-template-columns: 1fr; gap: 8px; } }
.list-row .h-sub { font-weight: 600; }
.list-row p { font-size: 0.94rem; margin: 0; }

/* ---- Forms ---- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.02em; }
.field input, .field textarea, .field select {
  background: transparent; border: none; border-bottom: 1px solid var(--border-strong);
  padding: 10px 2px; font-size: 1rem; transition: border-color 0.2s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--charcoal); outline: none; }
.field textarea { resize: vertical; min-height: 110px; }
.form-status { font-size: 0.9rem; margin-top: 16px; display: none; }
.form-status.is-visible { display: block; }

/* ---- Contact direct links ---- */
.contact-links { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }
.contact-links a { font-size: 1.15rem; font-weight: 600; padding-block: 6px; width: fit-content; border-bottom: 1px solid transparent; transition: border-color 0.2s var(--ease); }
.contact-links a:hover { border-color: var(--charcoal); }

/* ---- Footer ---- */
.site-footer { border-top: 1px solid var(--border); padding-block: 56px; }
.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; }
.footer-mark { font-weight: 800; margin-bottom: 6px; }
.footer-role { font-size: 0.88rem; color: var(--text-muted); }
.footer-cols { display: flex; gap: clamp(32px, 6vw, 80px); flex-wrap: wrap; }
.footer-col h5 { font-family: var(--font-sans); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 0.9rem; color: var(--text-muted); padding-block: 5px; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 0.8rem; color: var(--text-faint); }

/* ---- Reveal-on-scroll ---- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---- Utility ---- */
.text-faint { color: var(--text-faint); }
.center { text-align: center; }

/* Spacing scale — replaces one-off inline style="margin-*" attributes */
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 20px; }
.mb-4 { margin-bottom: 24px; }
.mb-5 { margin-bottom: 28px; }
.mb-6 { margin-bottom: 32px; }
.mt-3 { margin-top: 20px; }
.mt-4 { margin-top: 24px; }
.mt-5 { margin-top: 28px; }

/* Text-size scale — replaces one-off inline style="font-size:" attributes */
.text-xs { font-size: 0.85rem; }

/* Measure control — replaces one-off inline style="max-width:" attributes */
.measure { max-width: 56ch; }
.fit { width: fit-content; }

/* Section on/off tint — used sparingly to break up long same-background runs */
.section-tint { background: var(--surface); }

/* ---- Next case study ---- */
.next-case {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding-block: clamp(28px, 4vw, 40px); display: flex; align-items: center;
  justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.next-case-label { display: flex; flex-direction: column; gap: 4px; }
.next-case-label .eyebrow { margin: 0; }
.next-case-label .h-sub { font-size: 1.15rem; }
.next-case-label p { margin: 0; }
.next-case .arrow { font-family: var(--font-sans); font-weight: 700; font-size: 0.95rem; display: inline-flex; align-items: center; gap: 8px; }
.next-case:hover .arrow span { transform: translateX(4px); }

/* ---- Trust line before final CTA ---- */
.trust-line { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(247,246,241,0.16); }
.trust-line span { font-size: 0.85rem; color: rgba(247,246,241,0.6); }
.trust-line strong { color: var(--ivory); font-weight: 700; }

/* ---- Case study hero variant (no bottom padding, timeline/banner follow directly) ---- */
.hero--tight { padding-bottom: 0; }
.case-block--first { border-top: none; }
.role-tag { font-weight: 400; color: var(--text-muted); font-size: 0.9rem; }
.case-title { margin-top: 20px; max-width: 22ch; }
.case-title-sm { margin-top: 20px; max-width: 20ch; }
.mt-4-sm { margin-top: 24px; font-size: 0.9rem; }

/* ---- Asymmetric intro split (About page) — same 40/60 editorial logic
   as the featured section: narrow headline column, wide prose column.
   Used in exactly these two places on the site, deliberately. ---- */
.intro-split { display: grid; grid-template-columns: 2fr 3fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.intro-split h1 { max-width: none; }
.intro-split .lede + .lede { margin-top: 20px; }
@media (max-width: 760px) { .intro-split { grid-template-columns: 1fr; } }

/* ---- Editorial list (Strategy Projects) — deliberately not a card grid.
   No border box, no fixed-height cell. Reads as a features list, not a
   product grid: this is where thinking gets more room than a stat would. ---- */
.editorial-list { border-top: 1px solid var(--border); }
.editorial-item {
  display: block; padding-block: clamp(36px, 5vw, 56px);
  border-bottom: 1px solid var(--border);
  transition: opacity 0.2s var(--ease);
}
.editorial-item:hover { opacity: 0.72; }
.editorial-item .cats { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; align-items: center; }
.editorial-item h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); max-width: 20ch; margin-bottom: 16px; }
.editorial-item p { max-width: 62ch; font-size: 1rem; margin-bottom: 18px; }
.editorial-item .arrow { font-family: var(--font-sans); font-weight: 700; font-size: 0.92rem; display: inline-flex; align-items: center; gap: 8px; }
.editorial-item:hover .arrow span { transform: translateX(4px); }

.hero-stat {
  display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap;
  margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--border); max-width: 46ch;
}
.stat--hero .figure { font-size: clamp(1.9rem, 3vw, 2.4rem); }
.stat--hero .result-label { font-size: 0.85rem; margin-top: 0; line-height: 1.4; }

/* ---- Result list (Performance Campaigns, full listing) — metric-forward,
   not boxed. Distinct from editorial-list by having a real stat; distinct
   from card-grid by being a list, not a bordered grid cell. ---- */
.result-list { border-top: 1px solid var(--border); }
.result-item {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
  gap: 24px; padding-block: clamp(28px, 4vw, 40px); border-bottom: 1px solid var(--border);
  transition: opacity 0.2s var(--ease);
}
.result-item:hover { opacity: 0.72; }
.result-item-main { max-width: 56ch; }
.result-item .cats { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; align-items: center; }
.result-item h3 { font-size: clamp(1.2rem, 1.8vw, 1.4rem); margin-bottom: 8px; }
.result-item p { font-size: 0.92rem; margin: 0; }
.result-item-aside { display: flex; align-items: center; gap: 28px; flex-shrink: 0; }
.result-item .arrow { font-family: var(--font-sans); font-weight: 700; font-size: 0.85rem; color: var(--text-muted); }

/* ---- Index list (homepage teaser of the same campaigns) — deliberately
   the lightest-weight pattern on the site: no stat, no box, one line. ---- */
.index-list { border-top: 1px solid var(--border); }
.index-item {
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap;
  padding-block: 20px; border-bottom: 1px solid var(--border);
}
.index-item:hover .arrow span { transform: translateX(4px); }
.index-item-text { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.index-item h3 { font-size: 1.05rem; font-weight: 600; }
.index-item p { font-size: 0.85rem; margin: 0; color: var(--text-faint); }

.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--charcoal); color: var(--ivory);
  padding: 12px 20px; z-index: 100;
}
.skip-link:focus { left: 16px; top: 16px; }

/* ---- About portrait — narrow column of the existing intro-split,
   directly below the H1. Editorial 4:5 crop, not a circular avatar. ---- */
.about-portrait { margin-top: 32px; }
.about-portrait img {
  display: block;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 14px;
}

/* ---- Analytics consent banner. Positioning/layout only — colors and
   button contrast come from the existing .band class, reused as-is
   rather than duplicated. Sits below every nav z-index (35 < scrim's 40,
   nav-links' 41) so an open mobile menu always covers it automatically,
   with zero extra JS coordination needed. ---- */
.consent-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 35;
  display: flex; align-items: center; justify-content: space-between;
  gap: clamp(16px, 3vw, 28px); flex-wrap: wrap;
  padding: 18px clamp(20px, 4vw, 32px);
  border-top: 1px solid rgba(247, 246, 241, 0.15);
}
.consent-banner p { font-size: 0.85rem; max-width: 56ch; margin: 0; }
.consent-banner a { color: inherit; text-decoration: underline; }
.consent-banner-actions { display: flex; gap: 10px; flex-shrink: 0; }
@media (max-width: 480px) {
  .consent-banner { flex-direction: column; align-items: stretch; }
  .consent-banner-actions { flex-direction: column; }
  .consent-banner .btn { justify-content: center; }
}
