/* ==========================================================================
   D-Insight — site stylesheet
   Every value traces to DESIGN.md (2026-07-05). Decision log: DESIGN.md §7.
   ========================================================================== */

/* ---- Fonts (self-hosted; DESIGN.md §3) ---- */
@font-face {
  font-family: 'Satoshi';
  src: url('/assets/fonts/Satoshi-Variable.woff2') format('woff2');
  font-weight: 300 700; /* 900 exists in the file but is banned by D6 */
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('/assets/fonts/Satoshi-VariableItalic.woff2') format('woff2');
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Pretendard Variable';
  src: url('/assets/fonts/PretendardVariable.woff2') format('woff2');
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
}

/* ---- Tokens (DESIGN.md §6, verbatim) ---- */
:root {
  --color-plum: #5E4388;
  --color-coral: #F7A7A6;
  --color-lavender: #CBCAE6;

  --color-plum-hover: #4B3570;
  --color-ink: #211D2E;
  --color-ink-muted: #5C5568;
  --color-ink-faint: #8E8899;
  --color-canvas: #FAF9FC;
  --surface-white: #FFFFFF;
  --surface-lavender: #EEEDF7;
  --surface-blush: #FBEFEE;
  --surface-dark: #282136;
  --border-hairline: rgba(33, 29, 46, 0.08);
  --gradient-bloom: linear-gradient(180deg, #F7A7A6 0%, #E9D8E4 40%, #FAF9FC 75%);

  --font-sans: 'Satoshi', 'Pretendard Variable', ui-sans-serif, system-ui, sans-serif;
  --text-display: clamp(44px, 5.5vw, 76px);  --leading-display: 1.0;  --tracking-display: -0.03em;
  --text-heading-lg: clamp(36px, 4vw, 52px); --leading-heading-lg: 1.1; --tracking-heading-lg: -0.025em;
  --text-heading: clamp(30px, 3.2vw, 40px);  --leading-heading: 1.15; --tracking-heading: -0.02em;
  --text-heading-sm: clamp(23px, 2.2vw, 28px); --leading-heading-sm: 1.25; --tracking-heading-sm: -0.015em;
  --text-subheading: 20px; --leading-subheading: 1.4;
  --text-body: 17px;     --leading-body: 1.6;
  --text-body-sm: 16px;  --leading-body-sm: 1.6;
  --text-ui: 14px;
  --text-eyebrow: 13px;  --tracking-eyebrow: 0.12em;

  --spacing-unit: 8px;
  --section-gap: 96px;
  --page-max-width: 1200px;
  --prose-max-width: 680px;
  --card-padding: 40px;
  --radius-pill: 9999px;
  --radius-card: 16px;
  --radius-input: 12px;

  --ease-placed: cubic-bezier(0.19, 1, 0.22, 1); /* mymind motion: placed, not dropped */
}

/* ---- Reset / base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  font-weight: 400;
  color: var(--color-ink);
  background: var(--color-canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }

/* Hangul: tracking must stay ≥ 0 (D5); never break inside a word */
:lang(ko), :lang(ko) * { letter-spacing: 0 !important; word-break: keep-all; overflow-wrap: break-word; }

img { max-width: 100%; display: block; }

::selection { background: var(--color-lavender); color: var(--color-ink); }

/* ---- Type roles (DESIGN.md §3) ---- */
.display {
  font-size: var(--text-display);
  line-height: var(--leading-display);
  letter-spacing: var(--tracking-display);
  font-weight: 500; /* D22: raised from 300 — Diana found the light display hard to read */
}
.heading-lg {
  font-size: var(--text-heading-lg);
  line-height: var(--leading-heading-lg);
  letter-spacing: var(--tracking-heading-lg);
  font-weight: 400;
}
.heading {
  font-size: var(--text-heading);
  line-height: var(--leading-heading);
  letter-spacing: var(--tracking-heading);
  font-weight: 400;
}
.heading-sm {
  font-size: var(--text-heading-sm);
  line-height: var(--leading-heading-sm);
  letter-spacing: var(--tracking-heading-sm);
  font-weight: 500;
}
.subheading {
  font-size: var(--text-subheading);
  line-height: var(--leading-subheading);
  letter-spacing: -0.01em;
  font-weight: 400;
  color: var(--color-ink-muted);
}
.body-sm { font-size: var(--text-body-sm); line-height: var(--leading-body-sm); }
.caption { font-size: 13px; line-height: 1.4; letter-spacing: 0.01em; color: var(--color-ink-muted); }

/* Section eyebrow: tracked caps + coral dot (DESIGN.md §5) */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-eyebrow);
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-ink-muted);
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: var(--radius-pill);
  background: var(--color-coral);
  flex: none;
}
.eyebrow--plain::before { display: none; }

/* ---- Links & buttons ---- */
a { color: var(--color-plum); text-decoration: none; }
p a:hover, li a:hover, .text-link:hover { text-decoration: underline; text-underline-offset: 3px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  padding: 14px 28px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.35s var(--ease-placed), border-color 0.35s var(--ease-placed),
              color 0.35s var(--ease-placed), transform 0.35s var(--ease-placed);
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn--primary { background: var(--color-plum); color: #fff; }
.btn--primary:hover { background: var(--color-plum-hover); color: #fff; }

.btn--ghost { background: transparent; border-color: var(--color-plum); color: var(--color-plum); }
.btn--ghost:hover { background: rgba(94, 67, 136, 0.06); }

.btn--quiet { background: transparent; border-color: var(--border-hairline); color: var(--color-ink-muted); }
.btn--quiet:hover { border-color: var(--color-ink-faint); }

.btn--sm { padding: 10px 20px; font-size: var(--text-ui); }

/* In-card "learn more" link styled as a clickable ghost button (D58) — one consistent plum across every card tint */
.card-more { align-self: flex-start; margin-top: 4px; padding: 9px 18px; font-size: var(--text-ui); }
.card-more svg { flex: none; transition: transform 0.3s var(--ease-placed); }
.card-more:hover svg { transform: translateX(3px); }

/* clickable email link (D59) — plum + underline so it reads as a link inside muted text */
.mail-link { color: var(--color-plum); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.mail-link:hover { color: var(--color-plum-hover); }

/* ---- Layout primitives ---- */
.container { max-width: var(--page-max-width); margin: 0 auto; padding: 0 32px; }
.prose { max-width: var(--prose-max-width); }
.section { padding: calc(var(--section-gap) / 2) 0; }
.section--first { padding-top: var(--section-gap); }
.section--last { padding-bottom: var(--section-gap); }
main > .section:last-of-type { padding-bottom: var(--section-gap); }

.section-head { display: grid; gap: 16px; margin-bottom: 48px; max-width: var(--prose-max-width); }
/* Section titles at display scale (D33) — replaces eyebrow labels on Home sections */
.section-title {
  font-size: var(--text-heading-lg);
  line-height: var(--leading-heading-lg);
  letter-spacing: var(--tracking-heading-lg);
  font-weight: 500;
}

.stack-sm > * + * { margin-top: 8px; }
.stack > * + * { margin-top: 16px; }
.stack-lg > * + * { margin-top: 24px; }

/* ---- Nav (DESIGN.md §5 · D12) ---- */
.nav {
  position: relative;
  z-index: 10;
}
.nav__inner {
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__wordmark {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--color-ink);
  margin-right: auto;
}
.nav__wordmark:hover { text-decoration: none; }
.nav__links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav__links a {
  font-size: var(--text-ui);
  font-weight: 500;
  color: var(--color-ink);
  transition: color 0.25s var(--ease-placed);
}
.nav__links a:hover { color: var(--color-plum); text-decoration: none; }
.nav__links a[aria-current="page"] { color: var(--color-plum); }

/* Services dropdown — CSS-only */
.nav__dd { position: relative; }
.nav__dd > a { display: inline-flex; align-items: center; gap: 5px; }
.nav__dd > a::after {
  content: '';
  width: 7px; height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.25s var(--ease-placed);
}
.nav__dd-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  padding-top: 12px;
  display: none;
  min-width: 240px;
  list-style: none;
}
.nav__dd:hover .nav__dd-menu,
.nav__dd:focus-within .nav__dd-menu { display: block; }
.nav__dd-card {
  background: var(--surface-white);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-card);
  padding: 8px;
  display: grid;
}
.nav__dd-card a {
  display: block;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: var(--text-ui);
  font-weight: 500;
  color: var(--color-ink);
}
.nav__dd-card a:hover { background: var(--surface-lavender); color: var(--color-plum); }

/* Mobile nav */
.nav__toggle { display: none; }
@media (max-width: 900px) {
  .nav__inner { flex-wrap: wrap; gap: 12px; padding: 20px 24px; }
  .nav__cta { padding: 9px 14px; font-size: 13px; }
  .nav__toggle { padding: 8px 14px; font-size: 13px; }
  .nav__toggle {
    display: inline-flex;
    align-items: center;
    order: 3;
    background: none;
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-pill);
    padding: 10px 18px;
    font-family: var(--font-sans);
    font-size: var(--text-ui);
    font-weight: 500;
    color: var(--color-ink);
    cursor: pointer;
  }
  .nav__cta { order: 2; margin-left: auto; }
  .nav__wordmark { margin-right: 0; order: 1; }
  .nav__links {
    display: none;
    order: 4;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 8px 0 16px;
  }
  .nav--open .nav__links { display: flex; }
  .nav__links a { display: block; padding: 10px 0; font-size: 16px; }
  .nav__dd-menu { position: static; display: block; padding: 0 0 0 16px; }
  .nav__dd-card { border: none; background: none; padding: 0; }
  .nav__dd > a::after { display: none; }
  .container { padding: 0 24px; }
}

/* ---- Hero (DESIGN.md §5 · D11) ---- */
.hero {
  position: relative;
  overflow: hidden;
}
.hero__bloom {
  position: absolute;
  inset: 0;
  background: var(--gradient-bloom);
  opacity: 0.55; /* coral light as atmosphere, not paint */
  pointer-events: none;
}
.hero__bloom::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 55% at 78% 8%, rgba(203, 202, 230, 0.55), transparent 70%);
}
.hero__art {
  /* D21: hero illustration sits in the right column, white box dissolved
     into the bloom via multiply — never behind the headline text */
  position: absolute;
  right: max(32px, calc((100% - var(--page-max-width)) / 2)); /* % not vw: vw includes the scrollbar and pushes the art off-screen */
  bottom: 0;
  width: min(440px, 31vw);
  mix-blend-mode: multiply;
  opacity: 0.92;
  pointer-events: none;
  user-select: none;
}
@media (max-width: 1180px) {
  .hero__art { display: none; }
}
.hero__inner {
  position: relative;
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: 96px 32px 128px; /* hero gets 128px breathing room below (§4) */
}
.hero__content { max-width: 760px; display: grid; gap: 28px; }
.hero__title { max-width: 720px; }
.hero__title em { font-style: italic; font-weight: inherit; }
.hero__sub { max-width: var(--prose-max-width); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; }
.hero__trust { margin-top: 12px; }
@media (max-width: 900px) {
  .hero__inner { padding: 56px 24px 88px; }
}

/* Interior page hero (no bloom, calmer) */
.page-hero { padding: 80px 0 0; }
.page-hero .section-head { margin-bottom: 0; max-width: 820px; }
/* D61: close the H1→content gap when a section immediately follows a page-hero (was 96px, felt like dead space on consulting) */
.page-hero + .section--first { padding-top: 40px; }

/* ---- Client / trust strip (DESIGN.md §5 · D13) ---- */
.strip {
  padding: 48px 0 24px;
}
/* D23: headline + white logo band (reference: UI donor screenshot 2026-07-05) */
.strip__headline {
  text-align: center;
  font-size: var(--text-heading-sm);
  line-height: var(--leading-heading-sm);
  letter-spacing: var(--tracking-heading-sm);
  font-weight: 500;
  margin-bottom: 28px;
}
.strip__headline em { font-style: italic; }
.strip-band {
  background: var(--surface-white);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-card);
  padding: 26px 44px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px 36px;
}
/* D66/D72: full-colour logo wall (Diana's supplied logos). Per-logo optical heights so emblems + wordmarks balance visual weight. */
.strip-logo { display: block; width: auto; flex: none; }
.strip-logo--drtail   { height: 34px; border-radius: 7px; }
.strip-logo--languageforest { height: 21px; }
.strip-logo--thetight { height: 30px; border-radius: 6px; }
.strip-logo--rbc      { height: 44px; }
.strip-logo--skip     { height: 42px; }
.strip-logo--qanda    { height: 23px; }
.strip-logo--urgently { height: 18px; }
.strip-logo--naver    { height: 24px; }
@media (max-width: 760px) {
  .strip-band { justify-content: center; gap: 20px 28px; padding: 22px 24px; }
}

/* ---- Cards (DESIGN.md §5 · D10) ---- */
.card {
  border-radius: var(--radius-card);
  padding: var(--card-padding);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
/* D68: icon chip for content cards — same anatomy as .service-door__chip; hairline so it also reads on white cards */
.card-icon {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background: var(--surface-white);
  border: 1px solid var(--border-hairline);
  border-radius: 9px;
  color: var(--color-plum);
}
.card-icon svg { width: 17px; height: 17px; }
.card--lavender { background: var(--surface-lavender); }
.card--blush { background: var(--surface-blush); }
.card--white { background: var(--surface-white); border: 1px solid var(--border-hairline); }
.card__cta { margin-top: auto; padding-top: 8px; font-weight: 500; }
.card__cta:hover { text-decoration: underline; text-underline-offset: 3px; }

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

/* ---- Clickable-card hover: surface shifts one tone so links announce themselves (D42) ---- */
a.card { transition: background-color 0.35s var(--ease-placed); }
a.card--lavender:hover { background: var(--color-lavender); }
a.card--white:hover { background: color-mix(in srgb, var(--surface-lavender) 45%, var(--color-lavender)); }
a.card--blush:hover { background: color-mix(in srgb, var(--surface-blush) 45%, var(--color-coral)); }

/* ---- Service doors — Home "What I do" (D41, Joshua donor: chip + airy card, name low) ---- */
.service-door {
  min-height: 460px;
  justify-content: space-between;
  color: var(--color-ink);
}
.service-door:hover { text-decoration: none; }
.service-door__top { display: flex; justify-content: space-between; align-items: flex-start; }
.service-door__chip {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  background: var(--surface-white);
  border-radius: var(--radius-input);
  color: var(--color-ink);
}
.service-door__go {
  font-size: 22px;
  color: var(--color-ink-muted);
  transition: transform 0.35s var(--ease-placed);
}
.service-door:hover .service-door__go { transform: translateX(4px); }
.service-door__body { display: grid; gap: 12px; }
.service-door__name {
  font-size: var(--text-heading); /* D44: was clamp(24,2.3vw,30) — Diana: not legible; on-token now */
  line-height: var(--leading-heading);
  letter-spacing: var(--tracking-heading);
  font-weight: 500;
  max-width: 12ch;
}
.service-door__body p {
  font-size: var(--text-body); /* D44: was body-sm 15px */
  line-height: var(--leading-body);
  color: var(--color-ink-muted);
  max-width: 34ch;
}
@media (max-width: 900px) { .service-door { min-height: 320px; } }

/* ---- Engagement ledger — consulting page (D36 rows · D37 bucket spines) ---- */
.ledger { display: grid; gap: 72px; }
.ledger-group { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: start; }
.ledger-group__side {
  position: sticky;
  top: 88px;
  border-radius: var(--radius-card);
  padding: 32px;
  display: grid;
  gap: 14px;
  justify-items: start;
}
.ledger-group--global .ledger-group__side { background: var(--surface-lavender); }
.ledger-group--ambiguity .ledger-group__side { background: var(--surface-blush); }
.ledger-group__icon { color: var(--color-ink); }
.ledger-group__name {
  font-size: clamp(28px, 2.8vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 500;
}
.ledger-group__sent {
  font-size: var(--text-body-sm);
  line-height: 1.5;
  color: var(--color-ink-muted);
  max-width: 24ch;
}
.ledger-group__rows { display: grid; }
.ledger-row {
  display: grid;
  gap: 14px;
  padding: 28px 0 32px;
  border-top: 1px solid var(--border-hairline);
}
.ledger-row:first-child { padding-top: 8px; border-top: 0; }
.ledger-row__name {
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 500;
}
.ledger-row__line {
  font-size: 17px;
  line-height: 1.5;
  color: var(--color-ink-muted);
  max-width: 56ch;
}
.method-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; max-width: 62ch; }
.method-list li { position: relative; padding-left: 22px; font-size: var(--text-body-sm); line-height: var(--leading-body); color: var(--color-ink-muted); }
.method-list li::before { content: ""; position: absolute; left: 0; top: 10px; width: 11px; height: 2px; border-radius: 2px; background: var(--color-plum); }
.method-list__name { display: block; font-weight: 600; color: var(--color-ink); margin-bottom: 3px; }
.ledger-cta { padding-top: 28px; }
.study-pills { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; }
.study-pills li {
  font-size: var(--text-body-sm);
  font-weight: 500;
  padding: 7px 14px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  color: var(--color-ink);
  background: var(--surface-white);
  border-color: var(--border-hairline);
}
.ledger-group--global .study-pills li { background: var(--surface-lavender); border-color: transparent; }
.ledger-group--ambiguity .study-pills li { background: var(--surface-blush); border-color: transparent; }
@media (max-width: 900px) {
  .ledger { gap: 56px; }
  .ledger-group { grid-template-columns: 1fr; gap: 24px; }
  .ledger-group__side { position: static; padding: 24px; }
  .ledger-group__sent { max-width: 40ch; }
  .ledger-row:first-child { border-top: 1px solid var(--border-hairline); padding-top: 28px; }
}

/* ---- Who I work with — compact band (D43, replaces the 2×2 card monument) ---- */
.audience-band { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.audience-item {
  border-top: 1px solid var(--border-hairline);
  padding-top: 16px;
  display: grid;
  gap: 8px;
  align-content: start;
}
.audience-item__name { font-size: 19px; font-weight: 500; letter-spacing: -0.01em; }

/* ---- Process steps ---- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.step { counter-increment: step; display: grid; gap: 12px; align-content: start; }
.step::before {
  content: counter(step, decimal-leading-zero);
  font-size: 52px;
  line-height: 1;
  font-weight: 300;
  letter-spacing: -0.025em;
  color: var(--color-lavender);
}
.step h3 { font-size: 19px; font-weight: 500; letter-spacing: -0.01em; }

/* D76: Home "How it works" vertical timeline — filled plum numbered nodes on a lavender rail */
.timeline { max-width: 720px; }
.timeline__step { position: relative; padding-left: 60px; padding-bottom: 34px; }
.timeline__step:last-child { padding-bottom: 0; }
.timeline__step:not(:last-child)::before { content: ""; position: absolute; left: 17px; top: 38px; bottom: -4px; width: 2px; background: var(--color-lavender); }
.timeline__num { position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--color-plum); color: #fff; display: grid; place-items: center; font-size: 14px; font-weight: 600; }
.timeline__title { font-size: var(--text-heading-sm); font-weight: 500; letter-spacing: var(--tracking-heading-sm); margin: 4px 0 6px; }
.timeline__body { color: var(--color-ink-muted); font-size: var(--text-body-sm); line-height: var(--leading-body-sm); max-width: 56ch; }
.step p { font-size: var(--text-body-sm); line-height: var(--leading-body-sm); color: var(--color-ink-muted); }

/* ---- Checklist (DESIGN.md §5) ---- */
.checklist { list-style: none; display: grid; gap: 8px; }
.checklist li {
  position: relative;
  padding-left: 30px;
  font-size: var(--text-body-sm);
  line-height: var(--leading-body-sm);
}
.checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-plum);
  font-weight: 500;
}

/* Feature list (bigger rows for service pages) */
.feature-list { list-style: none; display: grid; gap: 24px; }
.feature-list li { display: grid; gap: 4px; }
.feature-list strong { font-weight: 500; }

/* ---- Tags / chips ---- */
.chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-lavender);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  font-size: var(--text-eyebrow);
  font-weight: 500;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-ink-muted);
}
.chip--coral { border-color: var(--color-coral); }

/* ---- Why-research beats (D24/D26: one statement at a time, home) ---- */
/* D78 (impeccable): belief-ladder statements. Replaces the .why-* reading effect (coral side-stripe [banned] + opacity dim/lit gate that read as "four fonts"). One voice, hierarchy from size, one rationed plum accent, paper-flat, left reading axis. */
.beliefs { max-width: 860px; }
.beliefs__lead {
  font-size: clamp(26px, 3.3vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 500;
  color: var(--color-ink);
  max-width: 20ch;
  text-wrap: balance;
  margin-bottom: clamp(40px, 5.5vw, 68px);
}
.beliefs__item { margin-bottom: clamp(34px, 5vw, 58px); }
.beliefs__item:last-child { margin-bottom: 0; }
.beliefs__stmt {
  font-size: clamp(21px, 2.5vw, 30px);
  line-height: 1.22;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: var(--color-ink);
  max-width: 25ch;
  text-wrap: balance;
}
/* D79 (impeccable /animate): plum marker sweeps in behind the pivot phrase on enter — motion tied to meaning, enhancement-only (plum text is the visible default), reduced-motion safe */
.beliefs__hl { color: var(--color-plum); }
html.js .beliefs__hl { background: linear-gradient(rgba(94, 67, 136, 0.15), rgba(94, 67, 136, 0.15)) 0 86% / 0% 32% no-repeat; }
html.js .beliefs__hl.in { background-size: 100% 32%; transition: background-size 0.7s var(--ease-placed); }
@media (prefers-reduced-motion: reduce) { html.js .beliefs__hl { background-size: 100% 32%; transition: none; } }
.beliefs__sup {
  margin-top: 14px;
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--color-ink-muted);
  max-width: 56ch;
}
@media (max-width: 900px) {
  .beliefs__lead { margin-bottom: 40px; }
  .beliefs__item { margin-bottom: 34px; }
}

/* ---- Proof / teaser band ---- */
.teaser {
  border-radius: var(--radius-card);
  background: var(--surface-white);
  border: 1px solid var(--border-hairline);
  padding: 48px;
  display: grid;
  gap: 20px;
}
.teaser blockquote {
  font-size: var(--text-heading-sm);
  line-height: var(--leading-heading-sm);
  letter-spacing: var(--tracking-heading-sm);
  font-weight: 400;
  font-style: italic;
  max-width: 30ch;
}
@media (max-width: 900px) { .teaser { padding: 32px 24px; } }

/* ---- CTA band ---- */
.cta-band {
  background: var(--surface-lavender);
  border-radius: var(--radius-card);
  padding: 72px 48px;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 16px;
}
.cta-band .heading { max-width: 24ch; }
.cta-band .subheading { max-width: 44ch; }
.cta-band .btn { margin-top: 16px; }
@media (max-width: 900px) { .cta-band { padding: 48px 24px; } }

/* ---- FAQ accordion (DESIGN.md §5) ---- */
.faq-group { border-top: 1px solid var(--border-hairline); }
.faq-item { border-bottom: 1px solid var(--border-hairline); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.3;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  flex: none;
  width: 9px; height: 9px;
  border-right: 1.5px solid var(--color-plum);
  border-bottom: 1.5px solid var(--color-plum);
  transform: rotate(45deg);
  transition: transform 0.35s var(--ease-placed);
  margin-top: 6px;
}
.faq-item[open] summary::after { transform: rotate(225deg); }
.faq-item p { color: var(--color-ink-muted); padding: 0 0 28px; max-width: var(--prose-max-width); }

/* ---- Forms (DESIGN.md §5) ---- */
.form { display: grid; gap: 24px; }
.form label {
  display: grid;
  gap: 10px;
  font-size: var(--text-eyebrow);
  font-weight: 500;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-ink-muted);
}
.form input, .form textarea {
  font-family: var(--font-sans);
  font-size: var(--text-body);
  color: var(--color-ink);
  background: var(--surface-white);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-input);
  padding: 16px;
  width: 100%;
  transition: border-color 0.25s var(--ease-placed);
}
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--color-plum); }
.form ::placeholder { color: var(--color-ink-faint); letter-spacing: normal; text-transform: none; }
.form textarea { min-height: 96px; resize: vertical; }
.form select {
  font-family: var(--font-sans);
  font-size: var(--text-body);
  color: var(--color-ink);
  background: var(--surface-white);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-input);
  padding: 16px;
  width: 100%;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235E4388' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  transition: border-color 0.25s var(--ease-placed);
}
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 12px; }
.form legend {
  padding: 0;
  margin-bottom: 4px;
  font-size: var(--text-eyebrow);
  font-weight: 500;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-ink-muted);
}
.form .check {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--text-body-sm);
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  color: var(--color-ink);
  cursor: pointer;
}
.form .check input {
  width: 18px;
  height: 18px;
  accent-color: var(--color-plum);
  flex: none;
}
.form-optional { text-transform: none; letter-spacing: normal; color: var(--color-ink-faint); font-weight: 400; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.btn--block { width: 100%; }

/* Contact page (D28: reference-donor intake layout) */
.contact-hero { text-align: center; display: grid; gap: 12px; justify-items: center; }
.contact-hero .subheading { max-width: 52ch; }
.contact-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 16px; }
.contact-chip {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-pill);
  background: var(--surface-white);
  font-size: var(--text-ui);
  font-weight: 500;
  color: var(--color-ink);
  transition: border-color 0.25s var(--ease-placed);
}
.contact-chip:hover { border-color: var(--color-plum); color: var(--color-plum); text-decoration: none; }
.contact-form { max-width: 720px; margin: 0 auto; }
.contact-form__note { text-align: center; }
@media (max-width: 720px) { .form-row { grid-template-columns: 1fr; } }

/* ---- Media frame / photo placeholder ---- */
.media-frame {
  border-radius: var(--radius-input);
  border: 1px solid var(--border-hairline);
  overflow: hidden;
}
.photo-placeholder {
  aspect-ratio: 4 / 5;
  background: var(--surface-lavender);
  display: grid;
  place-items: center;
}
.photo-placeholder span {
  font-size: var(--text-eyebrow);
  font-weight: 500;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-ink-faint);
}
.photo-frame {
  aspect-ratio: 4 / 5;
  background: var(--surface-lavender);
}
.photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
}

/* ---- About page ---- */
.about-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 900px) {
  .about-layout { grid-template-columns: 1fr; gap: 40px; }
  .about-layout .photo-placeholder,
  .about-layout .photo-frame { max-width: 320px; }
}

.plain-list { list-style: none; display: grid; }
.plain-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border-hairline);
  font-size: var(--text-body-sm);
  line-height: var(--leading-body-sm);
}
.plain-list li:first-child { border-top: 1px solid var(--border-hairline); }
.plain-list strong { font-weight: 500; }

/* ---- Case study pages ---- */
.case-meta { display: flex; flex-wrap: wrap; gap: 12px; }
.case-body { display: grid; gap: 32px; max-width: var(--prose-max-width); }
.case-body h2 { font-size: 21px; font-weight: 500; letter-spacing: -0.01em; margin-bottom: -20px; }
.case-body p strong { font-weight: 500; }

/* Detail rows (expandable anonymized cases) */
.reveal-card { padding: 0; overflow: hidden; }
.reveal-card summary {
  list-style: none;
  cursor: pointer;
  padding: var(--card-padding);
  display: grid;
  gap: 12px;
}
.reveal-card summary::-webkit-details-marker { display: none; }
.reveal-card__hint { color: var(--color-plum); font-weight: 500; font-size: var(--text-body-sm); }
.reveal-card[open] .reveal-card__hint { display: none; }
.reveal-card__body { padding: 0 var(--card-padding) var(--card-padding); color: var(--color-ink-muted); max-width: 75ch; }

/* ---- Footer (DESIGN.md §5 · D14) ---- */
.footer {
  background: var(--surface-dark);
  color: #fff;
}
.footer__inner {
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: 64px 32px;
  display: grid;
  gap: 32px;
}
.footer__wordmark { font-size: 19px; font-weight: 500; color: #fff; }
.footer__signoff { color: var(--color-lavender); font-size: var(--text-body-sm); font-style: italic; }
.footer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: baseline;
  font-size: var(--text-ui);
  color: var(--color-lavender);
}
.footer__meta a { color: #fff; }
.footer__meta a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---- Feature grid (structural donor: 21st.dev hover feature section — D20) ----
   Hairline-separated cells (not cards) with a tint wash + coral accent bar on hover.
   Donor's neutral greys/blue-500/shadows translated to DESIGN.md tokens. */
.feature-grid {
  --feature-wash: var(--surface-lavender);
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
}
.feature-grid--blush { --feature-wash: var(--surface-blush); }
.feature-cell {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 40px 36px;
}
.feature-cell + .feature-cell { border-top: 1px solid var(--border-hairline); }
@media (min-width: 700px) and (max-width: 1049px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-cell + .feature-cell { border-top: none; }
  .feature-cell:nth-child(even) { border-left: 1px solid var(--border-hairline); }
  .feature-cell:nth-child(n + 3) { border-top: 1px solid var(--border-hairline); }
}
@media (min-width: 1050px) {
  .feature-grid { grid-template-columns: repeat(4, 1fr); }
  .feature-cell + .feature-cell { border-top: none; border-left: 1px solid var(--border-hairline); }
}
.feature-cell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--feature-wash), transparent);
  opacity: 0;
  transition: opacity 0.25s var(--ease-placed);
  pointer-events: none;
}
.feature-cell:hover::before { opacity: 1; }
.feature-cell > * { position: relative; z-index: 1; }
.feature-cell__titlewrap { position: relative; }
.feature-cell__bar {
  position: absolute;
  left: -36px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 24px;
  border-radius: 0 9999px 9999px 0;
  background: var(--color-lavender);
  transition: height 0.25s var(--ease-placed), background-color 0.25s var(--ease-placed);
}
.feature-cell:hover .feature-cell__bar { height: 34px; background: var(--color-coral); }
.feature-cell__title {
  display: inline-block;
  transition: transform 0.25s var(--ease-placed);
}
.feature-cell:hover .feature-cell__title { transform: translateX(6px); }
.feature-cell p { max-width: 36ch; }
@media (prefers-reduced-motion: reduce) {
  .feature-cell::before, .feature-cell__bar, .feature-cell__title { transition: none; }
}

/* ---- Reveal-on-scroll (default-visible; hidden state is opt-in under html.js — D39) ---- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease-placed), transform 0.7s var(--ease-placed);
}
.js .reveal.is-in { opacity: 1; transform: none; }
/* Grouped entrances stagger their children (D39): audience grid + steps */
.js .audience-grid .reveal.is-in:nth-child(2) { transition-delay: 0.08s; }
.js .audience-grid .reveal.is-in:nth-child(3) { transition-delay: 0.16s; }
.js .audience-grid .reveal.is-in:nth-child(4) { transition-delay: 0.24s; }
.js .steps .reveal.is-in:nth-child(2) { transition-delay: 0.08s; }
.js .steps .reveal.is-in:nth-child(3) { transition-delay: 0.16s; }
.js .steps .reveal.is-in:nth-child(4) { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
@media print {
  .js .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---- Utilities ---- */
.muted { color: var(--color-ink-muted); }
.center { text-align: center; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; } .mt-64 { margin-top: 64px; }
