/* =========================================================
   FetchIt International — site-level layout
   Builds on tokens.css (VI v1.2 · May 2026)
   ========================================================= */

@import url("./tokens.css");

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--color-paper);
  color: var(--color-slate);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
}

/* V2.0 fluid type scale */
:root {
  /* Type scale · global hierarchy ladder (V3.2)
     Tier A · Hero H1 ......... display 56–92 (set page-locally)
     Tier B · Section H2 ...... 30–46 · weight 600 (was 700)
     Tier C · CTA / Card H ... 22–28 · weight 600
     Tier D · Card title ..... 18–20 · weight 600
     Tier E · Quote/lede .... 18–21 · weight 400–500 */
  --text-display: clamp(50px, 7.5vw, 84px);
  --text-h1:      clamp(38px, 5.5vw, 64px);
  --text-h2:      clamp(30px, 3.2vw, 46px);   /* widened bottom, lowered top */
  --text-h2-tight: clamp(26px, 2.6vw, 36px);  /* for CTA / case heads */
  --text-h3:      clamp(20px, 2.2vw, 26px);
  --text-h4:      18px;
  --text-lead:    clamp(18px, 1.45vw, 21px);  /* slightly softer */
  --text-body:    16px;
  --text-small:   15px;
  --text-caption: 14px;
  --text-eyebrow: 11px;
  --text-meta:    11px;
  --text-btn:     14px;
  --text-nav:     14px;
  --text-metric:  clamp(36px, 5.5vw, 54px);
  --text-stat:    clamp(22px, 3vw, 30px);
  --text-quote:   clamp(20px, 2.8vw, 27px);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible { outline: var(--focus-ring); outline-offset: var(--focus-offset); border-radius: 2px; }
button { font: inherit; cursor: pointer; }
button:focus-visible { outline: var(--focus-ring); outline-offset: var(--focus-offset); }
::selection { background: var(--color-coral); color: var(--color-paper); }

/* ---------- Skip link (a11y) ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 12px 24px;
  background: var(--color-charcoal);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border-radius: var(--radius-button);
  transition: top 200ms ease;
}
.skip-link:focus { top: 16px; outline: var(--focus-ring); outline-offset: var(--focus-offset); }

/* ---------- Visually hidden (a11y) ---------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Container + Section ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: var(--page-pad-desktop);
  padding-right: var(--page-pad-desktop);
}
.container--narrow { max-width: 920px; }
.container--wide   { max-width: 1320px; }
@media (max-width: 1023px) { .container { padding-left: var(--page-pad-tablet); padding-right: var(--page-pad-tablet); } }
@media (max-width: 767px)  { .container { padding-left: var(--page-pad-mobile);  padding-right: var(--page-pad-mobile);  } }

.section { padding-block: var(--section-py-desktop); position: relative; }
.section--compact { padding-block: 64px; }
.section--white  { background: var(--color-white); }
.section--alt    { background: var(--color-paper); }   /* v2.1 · was var(--color-sand) — sand dropped as a section surface, July 2026 rhythm update */
.section--linen  { background: var(--color-cream-edge); }
.section--ink    { background: var(--color-ink); color: var(--on-dark-heading); }
.section--charcoal { background: var(--color-charcoal); color: var(--on-dark-heading); }
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4,
.section--charcoal h1, .section--charcoal h2, .section--charcoal h3, .section--charcoal h4 { color: var(--on-dark-heading); }
.section--ink p, .section--charcoal p { color: var(--on-dark-body); }
.section--ink .eyebrow, .section--charcoal .eyebrow { color: var(--color-coral); }
.section--ink .eyebrow::before, .section--charcoal .eyebrow::before { background: var(--color-coral); }
@media (max-width: 767px) { .section { padding-block: var(--section-py-mobile); } }

/* ---------- Nav (V2.0) ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 243, 238, 0.92);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--color-rule);
}
.nav__inner {
  display: flex; align-items: center; gap: 32px;
  height: 72px;
  max-width: 1320px; margin: 0 auto;
  padding-left: var(--page-pad-desktop);
  padding-right: var(--page-pad-desktop);
}
@media (max-width: 1023px) { .nav__inner { padding-left: var(--page-pad-tablet); padding-right: var(--page-pad-tablet); } }
@media (max-width: 767px)  { .nav__inner { padding-left: var(--page-pad-mobile);  padding-right: var(--page-pad-mobile);  height: 64px; } }
/* Brand · locked logo lockup (FetchIt wordmark + INTERNATIONAL) */
.nav__brand {
  display: inline-flex; align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity 200ms ease;
  line-height: 0;
}
.nav__brand-img {
  display: block;
  height: 40px;
  width: auto;
  user-select: none;
}
.nav__brand:hover { opacity: 0.78; }
.nav__brand-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 767px) {
  .nav__brand-img { height: 32px; }
}
.nav__links {
  display: flex; align-items: center; gap: 28px;
  margin-left: auto;
}
.nav__link {
  font-family: var(--font-display);
  font-weight: 500; font-size: 14px;
  letter-spacing: -0.005em;
  color: var(--color-slate);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--transition);
  position: relative;
}
.nav__link:hover { color: var(--color-coral-accessible); }
.nav__link:focus-visible { outline: var(--focus-ring); outline-offset: var(--focus-offset); border-radius: 2px; }
.nav__link.is-active { color: var(--color-coral-accessible); font-weight: 600; }
.nav__link.is-active::after {
  content: ""; position: absolute;
  left: 0; right: 0; bottom: -26px; height: 2px;
  background: var(--color-coral-accessible);
}
.nav__cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--color-coral-accessible);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600; font-size: 14px;
  letter-spacing: -0.005em;
  padding: 10px 18px;
  border-radius: var(--radius-button);
  border: none;
  text-decoration: none;
  transition: background-color 200ms ease, box-shadow 200ms ease;
  white-space: nowrap;
}
.nav__cta:hover { background-color: var(--color-coral-hover); box-shadow: 0 4px 20px var(--color-coral-glow); }
.nav__hamburger {
  display: none; background: none; border: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  color: var(--color-charcoal);
  margin-left: auto;
}
.nav__hamburger span,
.nav__hamburger span::before,
.nav__hamburger span::after {
  display: block; width: 22px; height: 1.5px; background: currentColor; position: relative;
}
.nav__hamburger span::before { content: ""; position: absolute; top: -7px; }
.nav__hamburger span::after  { content: ""; position: absolute; top:  7px; }
@media (max-width: 1099px) {
  .nav__links { display: none; }
  .nav__hamburger { display: inline-flex; }
}
.mobile-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: var(--color-paper);
  display: none;
  flex-direction: column;
  padding: 24px;
}
.mobile-overlay.is-open { display: flex; }
.mobile-overlay__top { display: flex; justify-content: space-between; align-items: center; height: 48px; }
.mobile-overlay__close {
  background: none; border: none; color: var(--color-charcoal);
  font-size: 24px; line-height: 1; cursor: pointer;
}
.mobile-overlay__links {
  display: flex; flex-direction: column;
  gap: 0; margin-top: 32px;
}
.mobile-overlay__links a {
  font-family: var(--font-display);
  font-weight: 600; font-size: 28px;
  color: var(--color-charcoal);
  text-decoration: none;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-rule);
  letter-spacing: -0.015em;
}
.mobile-overlay__cta { margin-top: 32px; }

/* ---------- Buttons ---------- */
/* Buttons (V2.0 colors, original dimensions per Tanya) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 600; font-size: var(--text-btn);
  letter-spacing: -0.005em;
  padding: 14px 24px;
  border-radius: var(--radius-button);
  border: 1.5px solid transparent;
  cursor: pointer;
  min-height: 48px;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}
.btn:focus-visible { outline: 2px solid var(--color-coral-accessible); outline-offset: 4px; }
.btn--primary { background: var(--color-coral-accessible); color: #fff; border-color: var(--color-coral-accessible); }
.btn--primary:hover { background: var(--color-coral-hover); border-color: var(--color-coral-hover); box-shadow: 0 4px 20px var(--color-coral-glow); }
.btn--dark { background: var(--color-charcoal); color: #fff; border-color: var(--color-charcoal); }
.btn--dark:hover { opacity: 0.85; }
.btn--ghost { background: transparent; color: var(--color-charcoal); border-color: var(--color-charcoal); }
.btn--ghost:hover { background: var(--color-charcoal); color: #fff; }
.btn--ghost-light { background: transparent; color: rgba(255,255,255,0.7); border-color: rgba(255,255,255,0.2); }
.btn--ghost-light:hover { border-color: rgba(255,255,255,0.5); color: #fff; background: transparent; }
.btn--block { width: 100%; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-weight: 600; font-size: 15px;
  color: var(--color-charcoal);
  text-decoration: none;
  letter-spacing: -0.005em;
  padding-bottom: 4px;
  border-bottom: 1.5px solid var(--color-charcoal);
  transition: gap 200ms ease, color 200ms ease, border-color 200ms ease;
}
.text-link:hover { gap: 12px; color: var(--color-coral-accessible); border-bottom-color: var(--color-coral-accessible); }
.text-link--coral { color: var(--color-coral-accessible); border-bottom-color: var(--color-coral-accessible); }
.text-link--light { color: #fff; border-bottom-color: #fff; }
.text-link--light:hover { color: var(--color-coral); border-bottom-color: var(--color-coral); }

.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- Eyebrows + headings utilities ---------- */
/* V2.0 eyebrow — 12px coral rule + tracked uppercase, locked at 12px globally */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-accent);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-coral-accessible);
  margin: 0;
  line-height: 1.0;
}
.eyebrow::before {
  content: ""; display: block;
  width: 28px; height: 1.5px;
  background: var(--color-coral-accessible);
  flex-shrink: 0;
}
.eyebrow--centered { justify-content: center; }
.eyebrow--stone { color: var(--color-stone); }
.eyebrow--stone::before { background: var(--color-stone); }
.eyebrow--ink { color: var(--color-coral); }

.tag {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: var(--fs-tag);
  font-weight: 500;
  letter-spacing: var(--tracking-tag);
  text-transform: uppercase;
  color: var(--color-stone);
  padding: 4px 10px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
}
.tag--coral { color: var(--color-coral-accessible); border-color: rgba(192, 64, 32, 0.25); background: var(--color-coral-wash); }
.tag--ink   { color: var(--color-charcoal); border-color: var(--rule); }

.eyebrow-block { display: flex; flex-direction: column; gap: 20px; max-width: 720px; }
.eyebrow-block .lead { color: var(--color-slate); font-size: var(--fs-lead); line-height: 1.55; margin: 0; max-width: 56ch; }
.section--ink .eyebrow-block .lead { color: rgba(243, 241, 236, 0.72); }

/* ---------- Hero shells ----------
   V2.0 · CENTER-STACKED per rule 6. Text stack on the central axis;
   abstract graphic lives BELOW as a wide visual band (no embedded text). */
.hero {
  padding-block: var(--space-hero-top) 80px;
  position: relative;
  overflow: hidden;
}
.hero__stack {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 24px;
  max-width: 880px;
  margin: 0 auto;
}
.hero__h1 {
  font-family: var(--font-display);
  font-weight: 600;                         /* V3.1 · 600 not 700 */
  font-size: var(--v31-hero-h1-size);       /* V3.1 · clamp(48,5.6vw,76) */
  line-height: 1.0;
  letter-spacing: -0.045em;
  color: var(--color-charcoal);
  margin: 0;
  text-wrap: balance;
  max-width: var(--v31-w-hero-title);       /* V3.1 · 860px */
}
.hero__h1 .accent { color: var(--color-coral); font-style: normal; }
.hero__sub {
  font-family: var(--font-body);
  font-size: var(--text-lead);
  font-weight: 400;
  line-height: 1.55;
  color: var(--color-slate);
  margin: 0;
  max-width: var(--width-narrow);
  text-wrap: pretty;
}
.hero__ctas {
  display: flex; flex-wrap: wrap; gap: 20px;
  justify-content: center; margin-top: 16px;
}
.hero__ctas .btn {                           /* V3.1 · paired hero CTAs */
  min-width: var(--v31-cta-min-width);       /* 232px */
  min-height: var(--v31-cta-height);         /* 62px */
  padding-inline: 28px;
  justify-content: center;
}
@media (max-width: 559px) {
  .hero__ctas .btn { min-width: 0; min-height: 56px; }
}
.hero__art {
  position: relative;
  margin: 72px auto 0;
  max-width: 1040px;
  display: flex; align-items: center; justify-content: center;
}
.hero__art svg { width: 100%; max-width: 720px; height: auto; }
@media (max-width: 767px) {
  .hero { padding-block: var(--space-hero-top-m) 56px; }
  .hero__art { margin-top: 48px; }
  .hero__ctas { width: 100%; flex-direction: column; align-items: stretch; }
  .hero__ctas .btn { width: 100%; }
}

/* ---------- Section heads (V3.2 · consolidated) ----------
   Centered stack is the canonical treatment. Asymmetric and
   sticky-left variants are opt-in modifiers, never overrides. */
.section-head {
  display: flex; flex-direction: column; align-items: center;
  gap: 20px; text-align: center;
  max-width: 960px;            /* widened so titles breathe */
  margin: 0 auto 72px;
}
.section-head .eyebrow { margin-bottom: 4px; }
.section-head__h2 {
  font-family: var(--font-display);
  font-weight: 600;            /* less pressured than 700 */
  font-size: var(--text-h2);
  line-height: 1.15;
  letter-spacing: -0.022em;
  color: var(--color-charcoal);
  margin: 0;
  text-wrap: balance;
  max-width: 28ch;             /* widened from 18ch */
}
.section--ink .section-head__h2,
.section--charcoal .section-head__h2 { color: var(--on-dark-heading); }
.section-head__lede {
  font-family: var(--font-body);
  font-size: var(--text-lead);
  line-height: 1.6;
  color: var(--color-slate);
  max-width: 62ch;
  margin: 8px 0 0;   /* V3.3 · --rhythm-h-to-lead 28px = gap(20) + margin-top(8) */
}
.section--ink .section-head__lede,
.section--charcoal .section-head__lede { color: var(--on-dark-body); }
.section-head__ctas {
  display: flex; flex-wrap: wrap; gap: 16px;
  justify-content: center;
  margin-top: 12px;
}

/* MODIFIER · wide · V3.1 · for long strategic headlines */
.section-head--wide {
  max-width: var(--v31-w-section-header-wide);   /* 960px */
}
.section-head--wide .section-head__h2 { max-width: 32ch; }

/* MODIFIER · compact · V3.1 · for short punchy headlines */
.section-head--compact {
  max-width: var(--v31-w-section-header-compact); /* 720px */
}
.section-head--compact .section-head__h2 {
  font-size: var(--v31-compact-h2-size);
  max-width: 22ch;
}

/* MODIFIER · asymmetric · two-col, copy-led intro for grid sections */
.section-head--asym {
  display: grid; grid-template-columns: 5fr 7fr; gap: 64px;
  align-items: start;
  max-width: none; text-align: left;
  margin-bottom: 64px;
}
.section-head--asym .section-head__left { display: flex; flex-direction: column; gap: 12px; }
.section-head--asym .section-head__h2 { max-width: 16ch; }
.section-head--asym .section-head__lede { max-width: 56ch; }
.section-head--asym .section-head__ctas { justify-content: flex-start; }
@media (max-width: 1023px) {
  .section-head--asym { grid-template-columns: 1fr; gap: 28px; }
}

/* MODIFIER · sticky left column (legacy --orig, opt-in) */
.section-head--sticky {
  display: grid; grid-template-columns: 280px 1fr; gap: 64px;
  align-items: start;
  max-width: none; text-align: left;
  margin-bottom: 64px;
}
.section-head--sticky .section-head__left {
  display: flex; flex-direction: column; gap: 12px;
  position: sticky; top: 96px;
}
.section-head--sticky .section-head__h2 { max-width: 18ch; }
.section-head--sticky .section-head__lede { max-width: 56ch; }
@media (max-width: 1023px) {
  .section-head--sticky { grid-template-columns: 1fr; gap: 28px; }
  .section-head--sticky .section-head__left { position: static; }
}

/* Legacy modifier aliases · no-op on flex base */
.section-head--orig    { /* deprecated · alias of base */ }
.section-head--center  { /* deprecated · base is already centered */ }
.section-head--stacked { /* deprecated · alias of base */ }

@media (max-width: 1023px) {
  .section-head { margin-bottom: 48px; }
}

/* ---------- Cards (V2.0) ---------- */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius-card);
  padding: 32px;
  display: flex; flex-direction: column; gap: 16px;
  box-shadow: var(--shadow-rest);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-border-hover);
}
.card__num {
  font-family: var(--font-accent);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--color-coral-accessible);
}
.card__h {
  font-family: var(--font-display);
  font-weight: 600; font-size: 22px;
  line-height: 1.25; letter-spacing: -0.01em;
  color: var(--color-charcoal);
  margin: 0;
}
.card__b {
  font-family: var(--font-body);
  font-size: 15px; line-height: 1.6;
  color: var(--color-slate);
  margin: 0;
}
.card__link { margin-top: auto; }
.card--ink {
  background: var(--color-ink-surface);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--on-dark-heading);
}
.card--ink .card__h { color: var(--on-dark-heading); }
.card--ink .card__b { color: var(--on-dark-body); }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 1023px) {
  .cards-3, .cards-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .cards-2, .cards-3, .cards-4 { grid-template-columns: 1fr; }
}

/* ---------- Path-card dark-section protection ----------
   .path-card is a white elevated card that can live inside
   .section--ink / .section--charcoal. The generic
   `.section--ink h3 { color: on-dark-heading }` and
   `.section--ink p  { color: on-dark-body }` rules (0,1,1)
   must not bleed onto the card surface. These class-pair
   selectors (0,2,0) beat the element rules and lock text
   to the correct light-surface colours. */
.section--ink .path-card,
.section--charcoal .path-card        { background: var(--color-surface); }
.section--ink .path-card__h,
.section--charcoal .path-card__h     { color: var(--color-charcoal); }
.section--ink .path-card__b,
.section--charcoal .path-card__b     { color: var(--color-slate); }
.section--ink .path-card__cta,
.section--charcoal .path-card__cta   { color: var(--color-charcoal); }
.section--ink .path-card__focus li,
.section--charcoal .path-card__focus li { color: var(--color-stone); }

/* ---------- Metric / proof ---------- */
.metrics {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1.5px solid var(--color-charcoal);
  border-bottom: 1.5px solid var(--color-charcoal);
}
.metric {
  padding: 32px 24px 32px 0;
  border-right: 1px solid var(--hairline);
  display: flex; flex-direction: column; gap: 12px;
}
.metric:last-child { border-right: none; padding-right: 0; }
.metric__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.0; letter-spacing: -0.03em;
  color: var(--color-charcoal);
  font-variant-numeric: tabular-nums;
}
.metric__num--coral { color: var(--color-coral); }
.metric__label {
  font-family: var(--font-accent);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--color-stone);
}
.metric__note {
  font-family: var(--font-body);
  font-size: 13px; line-height: 1.5;
  color: var(--color-slate);
  margin-top: auto;
}
.section--ink .metrics, .section--charcoal .metrics {
  border-top-color: rgba(255, 255, 255, 0.18);
  border-bottom-color: rgba(255, 255, 255, 0.18);
}
.section--ink .metric, .section--charcoal .metric { border-right-color: var(--color-rule-on-dark); padding-left: 24px; }
.section--ink .metric:first-child, .section--charcoal .metric:first-child { padding-left: 0; }
.section--ink .metric__num, .section--charcoal .metric__num { color: var(--on-dark-heading); }
.section--ink .metric__num--coral, .section--charcoal .metric__num--coral { color: var(--color-coral); }
.section--ink .metric__label, .section--charcoal .metric__label { color: var(--on-dark-tertiary); }
.section--ink .metric__note, .section--charcoal .metric__note { color: var(--on-dark-body); }
@media (max-width: 767px) {
  .metrics { grid-template-columns: 1fr; border: none; gap: 0; }
  .metric { border-right: none; border-bottom: 1px solid var(--hairline); padding: 24px 0; }
  .section--ink .metric, .section--charcoal .metric { border-bottom-color: var(--color-rule-on-dark); padding-left: 0 !important; }
  .metric:last-child { border-bottom: none; }
}

/* ---------- Pull quote (V2.0) ---------- */
.pull {
  position: relative;
  padding: 0 0 0 24px;
  background: transparent;
  border-left: 3px solid var(--color-coral-accessible);
  border-radius: 0;
  max-width: 720px;
}
.pull--washed {
  padding: 56px 64px;
  background: var(--color-coral-wash);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
}
.pull__q {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-quote);
  line-height: 1.3; letter-spacing: -0.015em;
  color: var(--color-charcoal);
  margin: 0;
  text-wrap: balance;
}
.pull__attr {
  font-family: var(--font-accent);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--color-stone);
  margin-top: 20px;
}
@media (max-width: 767px) { .pull--washed { padding: 32px 24px; } }

/* ---------- Footer (V3.2 dark · 5-col rebuild) ---------- */
.footer {
  background: var(--color-charcoal);
  color: var(--on-dark-heading);
  padding: 96px 0 32px;
  position: relative;
}
.footer::before {
  /* Single hairline architectural break above the top edge of the footer */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: var(--color-rule-on-dark);
}
.footer__inner {
  display: grid;
  /* Brand column + 3 link columns */
  grid-template-columns: 1.8fr repeat(3, 1fr);
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--color-rule-on-dark);
}
.footer__brand {
  display: flex; flex-direction: column; gap: 20px;
  max-width: 360px;
}

/* Footer brand · locked logo (coral wordmark + white INTERNATIONAL) */
.footer__logo {
  text-decoration: none;
  display: inline-flex; align-items: center;
  line-height: 0;
  transition: opacity 200ms ease;
}
.footer__logo-img {
  display: block;
  height: 52px;
  width: auto;
  user-select: none;
}
.footer__logo:hover { opacity: 0.85; }
.footer__logo-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.footer__tagline {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--on-dark-body);
  margin: 0;
  max-width: 36ch;
}
.footer__cta {
  align-self: flex-start;
  margin-top: 4px;
}
.footer__brand-row {
  display: flex; align-items: center; gap: 16px;
}
.footer__hello {
  font-family: var(--font-display);
  font-weight: 600; font-size: 16px;
  color: var(--on-dark-heading);
  letter-spacing: -0.005em;
  display: inline-flex; align-items: center; gap: 12px;
}
.footer__hello .dot {
  width: 5px; height: 5px;
  background: var(--color-coral);
  border-radius: 50%;
  display: inline-block;
}
.footer__lang {
  font-family: var(--font-body);
  font-size: 13px; font-weight: 500;
  color: var(--on-dark-tertiary);
  text-decoration: none;
  transition: color var(--transition);
}
.footer__lang:hover { color: var(--on-dark-heading); }

.footer__col-head {
  font-family: var(--font-accent);
  font-weight: 600; font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--on-dark-tertiary);
  margin: 0 0 20px;
}
.footer__col ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.footer__col a {
  font-family: var(--font-body); font-size: 14px;
  color: var(--on-dark-body);
  text-decoration: none;
  transition: color 200ms ease;
  display: inline-flex; align-items: center; gap: 8px;
}
.footer__col a:hover { color: var(--color-coral); }
.footer__col a .ic { width: 14px; height: 14px; color: var(--on-dark-tertiary); transition: color 200ms ease; }
.footer__col a:hover .ic { color: var(--color-coral); }

.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px; gap: 24px; flex-wrap: wrap;
  /* Keep the corner clear for the fixed .fi-backtotop button (44px + 24px inset). */
  padding-right: 80px;
}
.footer__legal {
  font-family: var(--font-body); font-size: 12px;
  color: var(--on-dark-tertiary);
  margin: 0;
}
.footer__legal-links {
  display: flex; align-items: center; gap: 24px;
  list-style: none; padding: 0; margin: 0;
}
.footer__legal-links a {
  font-family: var(--font-body); font-size: 12px;
  color: var(--on-dark-tertiary);
  text-decoration: none;
  transition: color 200ms ease;
}
.footer__legal-links a:hover { color: var(--color-coral); }

/* ---------- Floating back-to-top (fixed, fades in when footer is in view) ---------- */
.fi-backtotop {
  appearance: none;
  position: fixed; right: 24px; bottom: 24px; z-index: 60;
  background: var(--color-coral-accessible);
  border: none;
  color: var(--color-paper);
  width: 44px; height: 44px;
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  padding: 0;
  box-shadow: 0 2px 10px rgba(26,29,36,0.25);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(8px);
  transition: opacity 200ms ease, transform 200ms ease, visibility 200ms ease,
    background 200ms ease, border-color 200ms ease, color 200ms ease;
}
.fi-backtotop.is-visible { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.fi-backtotop:hover { background: var(--color-coral-hover); color: var(--color-paper); }
.fi-backtotop:focus-visible { outline: 2px solid var(--color-coral); outline-offset: 2px; }
.fi-backtotop svg { width: 16px; height: 16px; stroke: currentColor; display: block; }
@media (prefers-reduced-motion: reduce) {
  .fi-backtotop { transform: none; transition: opacity 200ms ease, visibility 200ms ease; }
}

@media (max-width: 1199px) {
  .footer__inner { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px 40px; }
}
@media (max-width: 1023px) {
  .footer__inner { grid-template-columns: 1fr 1fr 1fr; gap: 48px 40px; }
  .footer__brand { grid-column: 1 / -1; max-width: 520px; }
}
@media (max-width: 767px) {
  .footer { padding: 64px 0 32px; }
  .footer__inner { grid-template-columns: 1fr; gap: 40px; padding-bottom: 40px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer__logo-img { height: 44px; }
}

/* ---------- Icon system ---------- */
.ic {
  display: inline-flex; vertical-align: middle;
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: currentColor;
}
.ic--lg { width: 28px; height: 28px; }
.ic--xl { width: 40px; height: 40px; }
.ic--xxl { width: 56px; height: 56px; }
.ic--coral { color: var(--color-coral); }
.ic--stone { color: var(--color-stone); }
.ic svg { width: 100%; height: 100%; display: block; stroke: currentColor; fill: none; }

/* ---------- Reveal animation (V2.0 · 420ms expo-out) ----------
   Default visible so no-JS / pre-IO state still shows content.
   JS adds html.js-armed once IO is wired; only then do reveals start hidden.
   Stagger handled in JS via inline transition-delay. */
.fi-reveal {
  opacity: 1; transform: none;
  transition: opacity 420ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.fi-reveal[data-delay="1"] { transition-delay: 90ms; }
.fi-reveal[data-delay="2"] { transition-delay: 180ms; }
.fi-reveal[data-delay="3"] { transition-delay: 270ms; }
.fi-reveal[data-delay="4"] { transition-delay: 360ms; }
.fi-reveal[data-delay="5"] { transition-delay: 450ms; }
.fi-reveal[data-delay="6"] { transition-delay: 540ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }}

/* ---------- Subtle grid texture (V2.0 · dark sections only at 2.5%) ---------- */
.grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(28,32,40,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(28,32,40,0.03) 1px, transparent 1px);
  background-size: 96px 96px;
  background-position: center center;
  opacity: 0.6;
  z-index: 0;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, black 30%, black 70%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, black 30%, black 70%, transparent 100%);
}
.section--ink .grid-bg, .section--charcoal .grid-bg {
  opacity: 0.55;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
}
@media (max-width: 767px) { .grid-bg { display: none; } }
.section > .container, .hero > .container { position: relative; z-index: 1; }

/* ---------- Process steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--hairline);
}
.step {
  padding: 32px 24px 32px 0;
  border-right: 1px solid var(--hairline);
  position: relative;
  display: flex; flex-direction: column; gap: 16px;
}
.step:last-child { border-right: none; padding-right: 0; }
.step__num {
  font-family: var(--font-accent);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--color-coral-accessible);
  display: flex; align-items: center; gap: 12px;
}
.step__num::after {
  content: ""; flex: 1; height: 1px; background: var(--color-coral-accessible);
  max-width: 32px;
}
.step__title {
  font-family: var(--font-display);
  font-weight: 600; font-size: 22px;
  line-height: 1.2; letter-spacing: -0.01em;
  color: var(--color-charcoal);
  margin: 0;
}
.step__body {
  font-family: var(--font-body);
  font-size: 14px; line-height: 1.6;
  color: var(--color-slate);
  margin: 0;
}
@media (max-width: 1023px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2) { border-right: none; }
  .step:nth-child(-n+2) { border-bottom: 1px solid var(--hairline); }
}
@media (max-width: 767px) {
  .steps { grid-template-columns: 1fr; }
  .step { border-right: none !important; border-bottom: 1px solid var(--hairline); padding: 24px 0; }
  .step:last-child { border-bottom: none; }
}

/* Section anchor offset for sticky nav */
section[id] { scroll-margin-top: 96px; }

/* Generic responsive video/iframe block (case study reuse) */
.media-block {
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--color-sand);
  aspect-ratio: 16/9;
}

/* Underline accent */
.coral-underline {
  background-image: linear-gradient(transparent calc(100% - 8px), var(--color-coral-wash) calc(100% - 8px));
  background-repeat: no-repeat;
  padding: 0 4px;
  border-bottom: 2px solid var(--color-coral);
}

/* ---------- Case Study Hero (shared template) ---------- */
.cs-hero {
  padding-block: var(--space-hero-top) 80px;
  position: relative;
}
.cs-hero__inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.cs-hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 4.4vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--color-charcoal);
  margin: 18px 0 0;
  max-width: 20ch;
  text-wrap: balance;
  display: inline-block;
}
.cs-hero__title .accent { color: var(--color-coral); font-style: normal; }
.cs-hero__sub {
  font-family: var(--font-body);
  font-size: var(--text-lead);
  font-weight: 400;
  line-height: 1.55;
  color: var(--color-slate);
  margin: 20px 0 0;
  max-width: 62ch;
  display: inline-block;
  text-wrap: pretty;
}
.cs-hero__meta {
  font-family: var(--font-accent);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-stone);
  margin: 24px 0 0;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0;
}
.cs-hero__meta > span { padding: 6px 0; }
.cs-hero__meta > span + span { padding-left: 14px; }
.cs-hero__meta > span + span::before { content: "·"; padding-right: 14px; }
@media (max-width: 767px) {
  .cs-hero { padding-block: var(--space-hero-top-m) 56px; }
  .cs-hero__title { max-width: none; }
  .cs-hero__meta { font-size: 10.5px; }
}

/* ---------- Case-anchor responsive containment ---------- */
@media (max-width: 559px) {
  .case-anchor__plot { min-width: 0; overflow: hidden; }
  .case-anchor__plot-chart { min-width: 0; }
  .case-anchor__plot-chart svg { min-width: 0; }
}

/* ---------- Local tier mobile padding ---------- */
@media (max-width: 374px) {
  .local-tier { padding: 28px 20px; }
}

/* ============================================================
   CJK · Chinese heading line-heights  html[lang="zh-CN"]
   ──────────────────────────────────────────────────────────
   Every heading level renders at 1.2× its EN base line-height.
   CJK glyphs are visually denser; the multiplier preserves the
   same open rhythm in Chinese as the EN values deliver in Latin.

   Selector specificity: html[lang] (0,1,0) + class (0,1,0)
   = 0,2,0 — beats a bare class selector (0,1,0) page-locally
   without needing !important.

   EN base → ×1.2 → CN target
   .hero__h1 / .cs-hero__title    1.04 → 1.25
   .section-head__h2              1.15 → 1.38
   .cs-block__h                   1.15 → 1.38
   .closing__h                    1.05 → 1.26
   .founder__h                    1.08 → 1.30
   .problem__h                    1.08 → 1.30
   .framework__statement          1.10 → 1.32
   .path-card__h / .card__h       1.25 → 1.50
   .step__title / .process-step__h 1.20 → 1.44
   .case-anchor__h                1.18 → 1.42
   .channel-row__name             1.20 → 1.44
   .pq__q                         1.45 → 1.74
   ============================================================ */
html[lang="zh-CN"] .hero__h1             { line-height: 1.25; }
html[lang="zh-CN"] .cs-hero__title       { line-height: 1.25; }
html[lang="zh-CN"] .section-head__h2     { line-height: 1.38; }
html[lang="zh-CN"] .cs-block__h          { line-height: 1.38; }
html[lang="zh-CN"] .closing__h           { line-height: 1.26; }
html[lang="zh-CN"] .founder__h           { line-height: 1.30; }
html[lang="zh-CN"] .problem__h           { line-height: 1.30; }
html[lang="zh-CN"] .framework__statement { line-height: 1.32; }
html[lang="zh-CN"] .path-card__h         { line-height: 1.50; }
html[lang="zh-CN"] .card__h              { line-height: 1.50; }
html[lang="zh-CN"] .step__title          { line-height: 1.44; }
html[lang="zh-CN"] .process-step__h      { line-height: 1.44; }
html[lang="zh-CN"] .case-anchor__h       { line-height: 1.42; }
html[lang="zh-CN"] .channel-row__name    { line-height: 1.44; }
html[lang="zh-CN"] .pq__q                { line-height: 1.74; }
