/* itsmicah.com v2 — shared stylesheet
   Sections: tokens · base · type · layout · header & menu · buttons · cards ·
   home · case pages · footer · motion · responsive */

/* ---------- Fonts ---------- */
/* One-glyph companion to BBH Hegarty: the same × with its center diamond filled
   (assets/fonts/OFL.txt). unicode-range limits it to U+00D7, so every other
   character falls through to BBH Hegarty. */
@font-face {
  font-family: "itsmicah Times";
  src: url("/assets/fonts/itsmicah-times.woff2") format("woff2");
  font-weight: 400;
  font-display: block;
  unicode-range: U+00D7;
}

/* ---------- Tokens ---------- */
:root {
  --charcoal: #2d3036;
  --charcoal-raised: #383c43;
  --rule: #4a4f57;
  --butter: #f2d091;
  --tangerine: #f08444;
  --aqua: #a3e0e0;
  --deep-teal: #123340;
  --mist: #dceae7;
  --slate: #a3aeae;
  --input-border: #6b737a;
  --aqua-before: #4a6f78;   /* struck-through figures on aqua */
  --aqua-strike: #c25e22;   /* arrows/strikes on aqua (decorative) */

  --font-display: "itsmicah Times", "BBH Hegarty", "BBH Sans Hegarty", sans-serif;
  --font-eyebrow: Poppins, system-ui, sans-serif;
  --font-body: "Space Grotesk", system-ui, sans-serif;

  --cta-clip: polygon(0 0, 100% 4%, 97.5% 92%, 1% 100%);
  --cta2-clip: polygon(1.5% 7%, 99% 0, 100% 100%, 0 93%);
  --card-clip: polygon(0 0, 100% 1.5%, 99% 100%, 0.5% 98.5%);

  --gutter: 48px;
  --section-y: 120px;
  --chapter-y: 96px;

  --fs-body: 19px;
  --fs-body-lg: 20px;
  --fs-card: 17px;
  --fs-eyebrow: 22px;
  --ease-out-150: 150ms ease-out;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--charcoal);
  color: var(--mist);
  font-family: var(--font-body);
  font-weight: 400;
}
.page { overflow: clip; }
img, svg { display: block; max-width: 100%; }
p, h1, h2, h3, ul, ol, dl, dd, figure, blockquote { margin: 0; }
a { color: var(--mist); transition: color var(--ease-out-150); }
a:hover { color: var(--aqua); }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; }
.on-aqua :focus-visible { outline-color: var(--deep-teal); }
[hidden] { display: none !important; }
main:focus { outline: none; }
.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;
}

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 12px 20px; background: var(--aqua); color: var(--deep-teal);
  font: 500 17px/1.2 var(--font-body); text-decoration: none;
}
.skip-link:focus { top: 16px; }
.skip-link:hover { color: var(--deep-teal); }
.skip-link:focus-visible { outline-color: var(--mist); }

/* ---------- Type ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
.eyebrow {
  font-family: var(--font-eyebrow); font-weight: 500;
  font-size: var(--fs-eyebrow); letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--aqua); margin-bottom: 12px;
}
.eyebrow--hero { font-size: clamp(18px, 2.4vw, 34px); margin-bottom: 16px; }
.eyebrow--case { font-size: clamp(15px, 1.6vw, 22px); margin-bottom: 16px; }

.label {
  font-family: var(--font-eyebrow); font-weight: 500; text-transform: uppercase;
  font-size: 15px; letter-spacing: 0.2em; color: var(--aqua);
}
.label--16 { font-size: 16px; letter-spacing: 0.22em; }
.label--14 { font-size: 14px; }
.label--13 { font-size: 13px; }
.label--muted { color: var(--slate); }

.h-hero {
  font-size: clamp(56px, 8.4vw, 124px); line-height: 0.82; letter-spacing: -0.02em; color: var(--butter);
}
.h-section {
  font-size: clamp(44px, 5.4vw, 80px); line-height: 0.9; letter-spacing: -0.02em; color: var(--butter);
}
.h-case {
  max-width: 1100px;
  font-size: clamp(44px, 6.2vw, 96px); line-height: 0.9; letter-spacing: -0.02em; color: var(--butter);
}
.h-chapter { font-size: clamp(32px, 3.4vw, 48px); line-height: 0.95; color: var(--mist); }

/* Tangerine BBH aside under a headline */
.aside { margin-top: 10px; font-size: clamp(22px, 2vw, 28px); color: var(--tangerine); }

/* Tangerine Space Grotesk lead line */
.lead {
  font-size: clamp(22px, 2vw, 28px); font-weight: 500; line-height: 1.35; color: var(--tangerine);
}

/* Tangerine on charcoal-raised is 4.27:1, so keep it at "large text" size (24px+) there */
.section--raised .lead { font-size: clamp(24px, 2vw, 28px); }

/* Butter BBH callout inside prose */
.callout {
  margin: 8px 0; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.08; color: var(--butter);
}
.callout--sm { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.1; }
.callout--lg { margin: 0; font-size: clamp(28px, 2.8vw, 40px); line-height: 1.05; }

.muted-line { font-size: var(--fs-body-lg); line-height: 1.5; color: var(--slate); }

.prose { display: flex; flex-direction: column; gap: 24px; font-size: var(--fs-body); line-height: 1.7; }
.prose--28 { gap: 28px; }
.prose--32 { gap: 32px; }

/* ---------- Layout ---------- */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; }
.section--raised { background: var(--charcoal-raised); }
.section--aqua { background: var(--aqua); color: var(--deep-teal); }
.section--aqua .eyebrow { color: var(--deep-teal); }

/* ---------- Header & mobile menu ---------- */
.site-header {
  display: flex; justify-content: space-between; align-items: center; height: 96px;
}
.logo { display: block; line-height: 0; position: relative; z-index: 31; }
.logo img { width: 168px; height: auto; }
.site-nav { display: flex; gap: 32px; align-items: center; }
.nav-link { text-decoration: none; font-size: 17px; font-weight: 500; }

.menu-btn {
  display: none; position: relative; z-index: 31;
  width: 48px; height: 48px; margin-right: -12px; padding: 0;
  align-items: center; justify-content: center;
  background: none; border: 0; color: var(--mist); cursor: pointer;
}
.menu-btn:hover { color: var(--aqua); }
.menu-btn__bars { position: relative; width: 28px; height: 20px; }
.menu-btn__bars span {
  position: absolute; left: 0; width: 28px; height: 2px; background: currentColor;
  transition: transform 200ms ease-out, opacity 150ms ease-out, top 200ms ease-out;
}
.menu-btn__bars span:nth-child(1) { top: 0; }
.menu-btn__bars span:nth-child(2) { top: 9px; left: 8px; width: 20px; }
.menu-btn__bars span:nth-child(3) { top: 18px; }
.is-open .menu-btn__bars span:nth-child(1) { top: 9px; transform: rotate(45deg); }
.is-open .menu-btn__bars span:nth-child(2) { opacity: 0; }
.is-open .menu-btn__bars span:nth-child(3) { top: 9px; transform: rotate(-45deg); }
html.menu-open { overflow: hidden; }

/* ---------- Buttons ---------- */
/* Primary CTA: aqua cut shape. The shape lives on ::before so focus outlines aren't clipped. */
.cta {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  padding: 12px 24px; border: 0; background: none; cursor: pointer;
  font-family: var(--font-display); font-weight: 400; font-size: 20px; line-height: 1.1;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  color: var(--deep-teal); text-decoration: none;
}
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--aqua); clip-path: var(--cta-clip);
}
.cta:hover, .cta:focus-visible { color: var(--deep-teal); }
.cta:focus-visible, .btn2:focus-visible { outline-color: var(--mist); outline-offset: 4px; }
.cta--hero { font-size: clamp(24px, 2.6vw, 36px); padding: 22px 56px; }
.cta--form { align-self: flex-start; font-size: 28px; padding: 18px 56px; }
.cta[disabled] { cursor: progress; opacity: 0.75; }

/* Secondary: hollow aqua outline with its own lean. Fills aqua on hover/focus. */
.btn2 {
  --btn2-bg: var(--charcoal);
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  align-self: flex-start; padding: 16px 36px;
  font: 500 19px/1.2 var(--font-body); color: var(--aqua); text-decoration: none;
  transition: color var(--ease-out-150);
}
.btn2::before, .btn2::after { content: ""; position: absolute; z-index: -1; clip-path: var(--cta2-clip); }
.btn2::before { inset: 0; background: var(--aqua); }
.btn2::after { inset: 2px; background: var(--btn2-bg); transition: opacity var(--ease-out-150); }
.btn2:hover, .btn2:focus-visible { color: var(--deep-teal); }
.btn2:hover::after, .btn2:focus-visible::after { opacity: 0; }
.btn2--hero { align-self: stretch; font-size: clamp(22px, 2.2vw, 30px); padding: 22px 56px; }
.section--raised .btn2 { --btn2-bg: var(--charcoal-raised); }

/* ---------- Cards ---------- */
.card { background: var(--charcoal-raised); clip-path: var(--card-clip); }
.card--ground { background: var(--charcoal); }

/* ---------- Home: hero ---------- */
.hero-section { overflow: hidden; padding: 48px 0 var(--section-y); }
.hero { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 48px; align-items: start; }
.hero-hand { position: relative; align-self: end; margin-bottom: calc(-1 * var(--section-y)); }
.hero-hand img { width: 240px; height: auto; }
.spark { position: absolute; left: 196px; top: -48px; width: 60px; height: 70px; }
.spark path { fill: var(--aqua); }
.hero-copy { display: flex; flex-direction: column; padding-top: 72px; }
.hero-aside {
  margin-top: 14px; padding-left: 11%;
  font-size: clamp(28px, 2.7vw, 40px); line-height: 1.05; letter-spacing: -0.02em; color: var(--tangerine);
}
.hero-intro { margin-top: 40px; max-width: 660px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.65; }
.hero-lead { margin-top: 28px; font-size: clamp(22px, 2.2vw, 32px); font-weight: 500; line-height: 1.3; color: var(--tangerine); }
.hero-ctas {
  display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 24px;
  align-items: stretch; align-self: flex-start; margin-top: 40px;
}

/* ---------- Home: stakeholder band ---------- */
.band-section { padding: 96px 0; }
.band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.band h2 { font-size: clamp(44px, 5.2vw, 76px); line-height: 0.9; letter-spacing: -0.02em; color: var(--butter); }
.band .aside { margin-top: 14px; font-size: clamp(22px, 2vw, 30px); }
.band-body { font-size: var(--fs-body-lg); line-height: 1.65; }
.band-note { margin-top: 24px; font-size: 18px; line-height: 1.6; color: var(--slate); }

/* ---------- Home: four asks ---------- */
.section-intro { margin: 32px 0 56px; max-width: 680px; font-size: var(--fs-body-lg); line-height: 1.65; }
.asks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.ask { padding: 44px 40px 48px; display: flex; flex-direction: column; gap: 14px; }
.ask h3 { font-size: 64px; line-height: 0.9; color: var(--butter); }
.ask--whatif h3 { color: var(--tangerine); }
.ask .label { letter-spacing: 0.18em; }
.ask p:last-child { margin-top: 6px; font-size: 18px; line-height: 1.65; }
.asks-close { margin-top: 56px; font-size: clamp(20px, 2vw, 28px); font-weight: 500; color: var(--tangerine); }

/* ---------- Home: selected work ---------- */
.work-section { padding: var(--section-y) 0 56px; }
.work-intro { margin-top: 32px; max-width: 680px; font-size: var(--fs-body-lg); line-height: 1.65; }
.work-intro + .work-intro { margin: 12px 0 56px; }
.case-row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px;
  padding: 64px 0; border-top: 1px solid var(--rule);
}
.case-row__head { display: flex; flex-direction: column; gap: 20px; }
.case-row__head h3 { font-size: clamp(30px, 3vw, 44px); line-height: 1; color: var(--mist); }
.case-row__head .btn2 { margin-top: 8px; }
.q-link { color: inherit; text-decoration: none; }
.q-link:hover, .q-link:focus-visible { color: var(--aqua); }
.case-row__body { display: flex; flex-direction: column; gap: 18px; font-size: 18px; line-height: 1.65; }
.case-row__body .label { margin-top: 12px; }
.case-row__result { font-size: clamp(22px, 2vw, 28px); font-weight: 500; line-height: 1.35; color: var(--butter); }
.case-cta-mobile { display: none !important; }

/* Before → after figure */
.ba { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 18px; }
.ba__before {
  font-size: clamp(36px, 3.6vw, 52px); line-height: 1; color: var(--slate);
  text-decoration: line-through; text-decoration-thickness: 5px; text-decoration-color: var(--tangerine);
}
.ba__arrow { font-size: 40px; color: var(--tangerine); }
.ba__after { font-size: clamp(48px, 5vw, 76px); line-height: 0.95; color: var(--butter); }

/* ---------- Home: about ---------- */
.about { position: relative; }
.about-text { max-width: 600px; position: relative; z-index: 1; }
.about h2 { font-size: clamp(44px, 5vw, 72px); line-height: 0.9; letter-spacing: -0.02em; color: var(--butter); }
.about .aside { margin-top: 12px; }
.about-body { display: flex; flex-direction: column; gap: 18px; margin-top: 36px; font-size: var(--fs-body); line-height: 1.65; }
.about-lead { margin-top: 32px; font-size: clamp(22px, 2.2vw, 30px); font-weight: 500; color: var(--tangerine); }
.resume-link { display: inline-block; margin-top: 28px; font-size: 18px; }
.about-photo { position: absolute; right: -40px; bottom: 0; width: 540px; height: auto; }

/* ---------- Home: testimonials ---------- */
.words h2 { max-width: 900px; font-size: clamp(40px, 4.8vw, 72px); line-height: 0.92; letter-spacing: -0.02em; color: var(--deep-teal); }
.words .section-intro { margin-top: 28px; }
.quote-feature { max-width: 960px; display: flex; flex-direction: column; gap: 24px; }
.quote-mark { font-size: 140px; line-height: 0; padding-top: 48px; color: var(--tangerine); }
.quote-feature blockquote { font-size: clamp(22px, 2.2vw, 30px); font-weight: 500; line-height: 1.45; }
.quote-feature figcaption { font-size: 17px; line-height: 1.5; }
.quote-feature strong, .quote strong { font-weight: 500; }
.quotes2 {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px;
  margin-top: 64px; padding-top: 48px; border-top: 2px solid var(--deep-teal);
}
.quote { display: flex; flex-direction: column; gap: 16px; }
.quote blockquote { font-size: 19px; line-height: 1.6; }
.quote figcaption { font-size: 15px; line-height: 1.5; }

/* ---------- Home: contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.contact-copy { display: flex; flex-direction: column; gap: 20px; }
.contact-copy .eyebrow { margin: 0; }
.contact h2 { font-size: clamp(48px, 6vw, 92px); line-height: 0.88; letter-spacing: -0.02em; color: var(--butter); }
.contact-copy > p:not(.eyebrow) { max-width: 520px; font-size: var(--fs-body); line-height: 1.65; }
.contact-copy p.contact-intro { margin-top: 16px; }
.contact-copy .contact-lead { font-size: 22px; font-weight: 500; line-height: 1.35; color: var(--tangerine); }
.contact-links { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 18px; }

.contact-form { padding: 40px; }
.form-fields { display: flex; flex-direction: column; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 16px; font-weight: 500; }
.field input, .field textarea {
  width: 100%; background: var(--charcoal); border: 1px solid var(--input-border); border-radius: 4px;
  color: var(--mist); font: 400 18px/1.4 var(--font-body); padding: 14px 16px;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus-visible, .field textarea:focus-visible,
.field input:focus, .field textarea:focus { outline: 3px solid var(--aqua); outline-offset: 2px; }
.form-note { font-size: 16px; color: var(--slate); }
.botcheck { display: none !important; }
.form-error {
  padding-left: 16px; border-left: 4px solid var(--tangerine);
  font-size: 17px; line-height: 1.55;
}
.form-sent { display: flex; flex-direction: column; gap: 16px; min-height: 360px; justify-content: center; }
.form-sent .form-sent__title { font-size: clamp(40px, 4vw, 56px); line-height: 0.95; color: var(--butter); }
.form-sent p { font-size: var(--fs-body); line-height: 1.65; }
.form-sent .lead { font-size: 22px; }
.form-sent:focus { outline: none; }

/* ---------- Case pages ---------- */
.case-hero { padding-top: 72px; padding-bottom: 96px; }
.back-link { display: inline-block; margin-bottom: 40px; font-size: 16px; color: var(--slate); }
.intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 64px; align-items: start; margin-top: 56px; }
.intro-copy { display: flex; flex-direction: column; gap: 20px; font-size: var(--fs-body); line-height: 1.7; }

.summary { padding: 36px 32px 40px; display: flex; flex-direction: column; gap: 28px; }
.summary .label { margin-bottom: 10px; }
.summary__before {
  font-size: 28px; line-height: 1; color: var(--slate);
  text-decoration: line-through; text-decoration-thickness: 4px; text-decoration-color: var(--tangerine);
}
.summary__after { margin-top: 6px; font-size: clamp(36px, 3.4vw, 48px); line-height: 0.95; color: var(--butter); }
.summary__result { font-size: 22px; font-weight: 500; line-height: 1.35; color: var(--butter); }
.summary dl { padding-top: 24px; border-top: 1px solid var(--rule); display: flex; flex-direction: column; gap: 20px; }
.summary dt { margin-bottom: 6px; }
.summary dd { font-size: 16px; line-height: 1.6; }

.chapter {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px;
  padding: var(--chapter-y) 0; border-top: 1px solid var(--rule);
}
.chapter--flush { border-top: 0; }
.chapter-head { position: sticky; top: 40px; align-self: start; }
.chapter-head .label { margin-bottom: 14px; }

.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.persp { padding: 32px 30px 36px; display: flex; flex-direction: column; gap: 12px; }
.persp p, .feature p { font-size: var(--fs-card); line-height: 1.65; }
.feature { padding: 32px 30px 36px; display: flex; flex-direction: column; gap: 10px; }
.feature h3 { font-size: 24px; line-height: 1.05; color: var(--mist); }

.numbered { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 32px; }
.numbered li { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 20px; }
.numbered__n { font-size: 48px; line-height: 0.9; color: var(--tangerine); }
.numbered h3 { margin-bottom: 8px; font-size: 26px; line-height: 1.05; color: var(--mist); }
.numbered p { font-size: 18px; line-height: 1.65; }
.numbered p + p { margin-top: 12px; }

.pull { margin-top: 16px; padding-top: 32px; border-top: 1px solid var(--rule); }
.pull .muted-line { line-height: 1.5; }
.pull .callout--lg { margin-top: 8px; }

.q-list { list-style: none; padding: 0; display: flex; flex-direction: column; border-bottom: 1px solid var(--rule); }
.q-list li {
  padding: 22px 0; border-top: 1px solid var(--rule);
  font-size: clamp(20px, 1.8vw, 24px); font-weight: 500; line-height: 1.4;
}

.stances { display: flex; flex-direction: column; border-bottom: 1px solid var(--rule); }
.stance {
  display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 20px;
  padding: 22px 0; border-top: 1px solid var(--rule);
}
.stance .label { line-height: 1.6; }
.stance p:last-child { font-size: 18px; line-height: 1.65; }

.sub-h { margin-top: 24px; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.05; color: var(--mist); }
.rule { margin: 24px 0 0; border: 0; border-top: 1px solid var(--rule); }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.stats.card { padding: 28px 30px; }
.stats--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 8px 0; max-width: 560px; }
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat__fig { font-size: clamp(40px, 4vw, 56px); line-height: 0.9; color: var(--butter); }
.stat__fig--aqua { color: var(--aqua); }
.stat__cap { font-size: 15px; line-height: 1.45; color: var(--slate); }

/* Outcome (aqua) */
.outcome h2 { max-width: 1000px; color: var(--deep-teal); }
.outcome-body { display: flex; flex-direction: column; gap: 20px; max-width: 760px; margin-top: 48px; font-size: var(--fs-body-lg); line-height: 1.65; }
.outcome-body--after { margin-top: 56px; }
.outcome-note { margin-top: 48px; max-width: 980px; font-size: clamp(24px, 2.2vw, 30px); font-weight: 500; line-height: 1.4; }
.outcome-close { margin-top: 48px; max-width: 980px; font-size: clamp(28px, 2.8vw, 40px); line-height: 1.1; color: var(--deep-teal); }
.outcome-close--wide { max-width: 960px; }
.ba--outcome { gap: 8px 24px; margin-top: 48px; }
.ba--outcome .ba__before {
  font-size: clamp(40px, 4.4vw, 64px); color: var(--aqua-before);
  text-decoration-thickness: 6px; text-decoration-color: var(--aqua-strike);
}
.ba--outcome .ba__arrow { font-size: 48px; color: var(--aqua-strike); }
.ba--outcome .ba__after { font-size: clamp(72px, 9vw, 140px); line-height: 0.85; color: var(--deep-teal); }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 48px; }
.contrast { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; border-top: 2px solid var(--deep-teal); }
.contrast p:first-child { font-size: 17px; line-height: 1.5; }
.contrast p:last-child { font-size: 19px; font-weight: 500; line-height: 1.45; }

/* Next question */
.next-section { padding: 96px 0; }
.next-link { display: block; text-decoration: none; color: var(--mist); }
.next-link:hover { color: var(--mist); }
.next-link .label { margin-bottom: 16px; }
.next-q {
  max-width: 1000px; font-size: clamp(40px, 5vw, 76px); line-height: 0.92; letter-spacing: -0.02em;
  transition: color var(--ease-out-150);
}
.next-link:hover .next-q, .next-link:focus-visible .next-q { color: var(--aqua); }
.next-arrow { color: var(--tangerine); }

/* 404 */
.notfound { padding: 72px 0 var(--section-y); }
.notfound .h-case { margin-top: 0; }
.notfound .hero-aside { padding-left: 0; }
.notfound p.notfound-body { margin-top: 32px; max-width: 620px; font-size: var(--fs-body-lg); line-height: 1.65; }
.notfound .cta { margin-top: 40px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--rule); }
.site-footer .wrap {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  padding-top: 40px; padding-bottom: 48px;
}
.site-footer img { width: 132px; height: auto; }
.site-footer p { font-size: 15px; color: var(--slate); }

/* ---------- Motion ---------- */
@keyframes hand-raise {
  0%   { transform: translateY(75%); animation-timing-function: linear; }
  35%  { transform: translateY(15%); animation-timing-function: cubic-bezier(.135, 1, .7, 1); }
  100% { transform: none; }
}
@keyframes spark-in {
  from { clip-path: inset(100% 0 0 0); }
  to   { clip-path: inset(0); }
}
.hand { animation: hand-raise 600ms both; }
.spark { animation: spark-in 200ms ease-out 520ms both; }

.js .about-photo {
  opacity: 0; transform: translateY(48px);
  transition: opacity 500ms cubic-bezier(.22, 1, .36, 1), transform 500ms cubic-bezier(.22, 1, .36, 1);
}
.js .about-photo.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .about-photo { width: 400px; }
  .about-text { max-width: 520px; }
}

@media (max-width: 900px) {
  :root {
    --gutter: 20px;
    --section-y: 64px;
    --chapter-y: 64px;
    --fs-body: 17px;
    --fs-body-lg: 17px;
    --fs-card: 17px;
    --fs-eyebrow: 16px;
  }
  .prose, .intro-copy, .about-body { line-height: 1.7; }

  /* Header → menu */
  .menu-btn { display: flex; }
  .site-nav {
    position: fixed; inset: 0; z-index: 30;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: var(--menu-top, 96px) 20px 40px;
    background: var(--charcoal); overflow-y: auto;
    visibility: hidden; opacity: 0;
    transition: opacity 200ms ease-out, visibility 0s linear 200ms;
  }
  .site-header.is-open .site-nav { visibility: visible; opacity: 1; transition: opacity 200ms ease-out; }
  .site-nav .nav-link {
    padding: 20px 0; border-bottom: 1px solid var(--rule);
    font-family: var(--font-display); font-weight: 400; font-size: 40px; line-height: 1;
    -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  }
  .site-nav .nav-link:first-child { border-top: 1px solid var(--rule); }
  .site-nav .cta { align-self: flex-start; margin-top: 40px; font-size: 28px; padding: 18px 48px; }

  /* Home */
  .hero { grid-template-columns: 1fr; }
  .hero-hand { display: none; }
  .hero-copy { padding-top: 24px; }
  .hero-aside { padding-left: 0; }
  .hero-ctas { grid-auto-flow: row; align-self: stretch; }
  .band-section { padding: var(--section-y) 0; }
  .band, .asks, .case-row, .contact { grid-template-columns: 1fr; gap: 24px; }
  .ask { padding: 36px 28px 40px; }
  .ask h3 { font-size: 56px; }
  .work-section { padding: var(--section-y) 0 24px; }
  .case-row { padding: 48px 0; }
  .case-cta-desktop { display: none !important; }
  .case-cta-mobile { display: inline-flex !important; }
  .about-text { max-width: none; }
  .about-photo { position: static; display: block; width: 80%; margin: 40px 0 0 auto; }
  .quotes2 { grid-template-columns: 1fr; gap: 40px; }
  .contact-form { padding: 32px 24px; }

  /* Case */
  .case-hero { padding-top: 40px; padding-bottom: var(--section-y); }
  .intro { grid-template-columns: 1fr; gap: 40px; margin-top: 40px; }
  .chapter { grid-template-columns: 1fr; gap: 24px; }
  .chapter-head { position: static; }
  .grid2 { grid-template-columns: 1fr; }
  .stats, .grid3 { grid-template-columns: 1fr; gap: 20px; }
  .stance { grid-template-columns: 1fr; gap: 6px; }
  .numbered li { grid-template-columns: 52px minmax(0, 1fr); gap: 16px; }
  .numbered__n { font-size: 40px; }
  .next-section { padding: var(--section-y) 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hand, .spark { animation: none; }
  .js .about-photo { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: 0s !important; }
}

/* Utility */
.mt-8 { margin-top: 8px; }
