/* ==========================================================================
   Neurodiversity Published — site styles
   Mobile-first. One stylesheet, no build step.
   Design tokens live in :root. Everything else reads from them.
   ========================================================================== */

:root {
  /* Surfaces */
  --cream: #fdf9f2;
  --paper: #ffffff;
  --sand: #f6efe3;
  --line: #eae2d4;

  /* Ink */
  --ink: #23253a;
  --ink-2: #454a63;
  --muted: #5f6478;

  /* Brand accents (from the logo: red book, blue lettering, yellow stars) */
  --poppy: #bd3520;          /* text-safe red, 4.7:1+ on every light surface */
  --poppy-deep: #9a2a18;
  --poppy-bright: #e2472f;   /* decorative only */
  --blue: #3563ad;
  --blue-deep: #2a4f8c;
  --butter: #f8c94b;

  /* The infinity ribbon, left to right */
  --r-pink: #f08ba3;
  --r-orange: #f6a45a;
  --r-yellow: #f6d35f;
  --r-green: #8fd097;
  --r-teal: #66c3c6;
  --r-blue: #6f9fe0;
  --r-purple: #b58bda;

  /* Soft tints for cards and photo frames */
  --t-rose: #fbe5ec;
  --t-peach: #fde8dc;
  --t-butter: #fdf2cc;
  --t-mint: #e3f4e8;
  --t-sky: #e4edf9;
  --t-lilac: #ede4f8;

  --rainbow: linear-gradient(90deg, var(--r-pink) 0%, var(--r-orange) 17%, var(--r-yellow) 34%, var(--r-green) 51%, var(--r-teal) 68%, var(--r-blue) 84%, var(--r-purple) 100%);
  --rainbow-deep: linear-gradient(90deg, #d84f7c, #dd7426, #c99a12, #3f9e5a, #2b8f9b, #3d6ec4, #8756c2);

  --font-display: "Fredoka", "Trebuchet MS", "Avenir Next", sans-serif;
  --font-body: "Nunito", "Nunito Sans", "Segoe UI", system-ui, sans-serif;

  --radius-lg: 28px;
  --radius: 20px;
  --radius-sm: 14px;
  --container: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(64px, 9vw, 120px);
  --shadow-sm: 0 8px 20px -10px rgba(35, 37, 58, 0.22);
  --shadow: 0 24px 48px -24px rgba(35, 37, 58, 0.35);
  --shadow-lg: 0 40px 80px -32px rgba(35, 37, 58, 0.42);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Reset & base ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
main { flex: 1 0 auto; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--poppy); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 7vw, 4.75rem); font-weight: 700; line-height: 1; }
h2 { font-size: clamp(2rem, 4.6vw, 3.1rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
.lead { font-size: clamp(1.1rem, 1.9vw, 1.3rem); color: var(--ink-2); line-height: 1.6; }
.muted { color: var(--muted); }
.small { font-size: 0.92rem; }
strong { font-weight: 800; }
::selection { background: var(--butter); color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -64px; z-index: 100;
  background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 999px;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 16px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* Layout ---------------------------------------------------------------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section); position: relative; }
.section--sand { background: var(--sand); }
.section--paper { background: var(--paper); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }
.section-head .lead { margin-top: 4px; }
.grid { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) {
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.grid > *, .split > *, .contact-cards > *, .profile > *, .book > * { min-width: 0; }
.split { display: grid; gap: 40px; align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } }

/* Wavy top edge: set --wave-fill to the section's own background. */
.section--wave { --wave-fill: var(--sand); }
.section--wave::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 44px;
  transform: translateY(-99%); background: var(--wave-fill); pointer-events: none;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 44' preserveAspectRatio='none'><path d='M0,30 C180,0 360,0 540,18 C720,36 900,44 1080,26 C1260,8 1350,10 1440,22 L1440,44 L0,44 Z' fill='black'/></svg>") center bottom / 100% 100% no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 44' preserveAspectRatio='none'><path d='M0,30 C180,0 360,0 540,18 C720,36 900,44 1080,26 C1260,8 1350,10 1440,22 L1440,44 L0,44 Z' fill='black'/></svg>") center bottom / 100% 100% no-repeat;
}

/* Small type ------------------------------------------------------------ */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.85rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--poppy);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 4px; border-radius: 4px; background: var(--rainbow); }
.ribbon { height: 6px; background: var(--rainbow); }

/* Rainbow squiggle under a word */
.hl { position: relative; white-space: nowrap; }
.hl::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: -0.4em; height: 0.28em;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'><defs><linearGradient id='g' x1='0' x2='1'><stop offset='0' stop-color='%23f08ba3'/><stop offset='.2' stop-color='%23f6a45a'/><stop offset='.4' stop-color='%23f6d35f'/><stop offset='.6' stop-color='%238fd097'/><stop offset='.8' stop-color='%236f9fe0'/><stop offset='1' stop-color='%23b58bda'/></linearGradient></defs><path d='M3 14 C30 4 50 20 80 10 S130 4 160 12 S190 14 197 8' fill='none' stroke='url(%23g)' stroke-width='6' stroke-linecap='round'/></svg>") center / 100% 100% no-repeat;
  pointer-events: none;
}
/* Butter marker highlight */
.hl--butter::after { display: none; }
.hl--butter {
  background: linear-gradient(transparent 60%, var(--butter) 60%, var(--butter) 92%, transparent 92%);
  padding: 0 0.1em; margin: 0 -0.1em; white-space: normal;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 13px 26px;
  border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; line-height: 1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.2s var(--ease), background 0.2s, color 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform 0.2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--poppy); color: #fff; box-shadow: 0 12px 24px -12px rgba(189, 53, 32, 0.75); }
.btn--primary:hover { background: var(--poppy-deep); color: #fff; }
.btn--ink { background: var(--ink); color: var(--cream); }
.btn--ink:hover { background: #12132a; color: #fff; }
.btn--ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--cream); }
.btn--butter { background: var(--butter); color: var(--ink); }
.btn--butter:hover { background: #ffd76a; color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--butter); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-weight: 600; color: var(--ink); text-decoration: none;
}
.link-arrow:hover { color: var(--poppy); }
.link-arrow svg { width: 18px; height: 18px; transition: transform 0.2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* Header ---------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253, 249, 242, 0.88);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  transition: box-shadow 0.25s;
}
.site-header.is-scrolled { box-shadow: 0 12px 32px -24px rgba(35, 37, 58, 0.45); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 80px; }
.site-header__actions { display: flex; align-items: center; gap: 8px; }
@media (min-width: 900px) {
  .site-header__inner { justify-content: flex-start; }
  .site-nav { margin-left: auto; }
  .site-header__actions { order: 3; margin-left: 4px; }
}
.font-toggle {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 10px;
  border-radius: 999px; border: 2px solid var(--line); background: var(--paper); color: var(--ink);
  font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; cursor: pointer; white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.font-toggle:hover { border-color: var(--ink); }
.font-toggle__glyph { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--t-butter); font-weight: 700; font-size: 0.82rem; letter-spacing: -0.02em; }
.font-toggle__label { display: none; }
.font-toggle[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.font-toggle[aria-pressed="true"] .font-toggle__glyph { background: var(--butter); color: var(--ink); }
@media (min-width: 1100px) { .font-toggle { padding-right: 14px; } .font-toggle__label { display: inline; } }
@media (min-width: 900px) and (max-width: 1099px) { .site-nav ul a { padding: 10px 10px; } .site-nav ul a::after { left: 10px; right: 10px; } }
.brand, .site-header__actions { flex-shrink: 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { mix-blend-mode: multiply; }
.brand__mark { width: 62px; height: 40px; object-fit: contain; }
.brand__wordmark { height: 28px; width: auto; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border: 0; border-radius: 14px; background: var(--sand); color: var(--ink); cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.site-nav {
  display: none;
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--paper); border-bottom: 1px solid var(--line);
  padding: 8px var(--gutter) 20px; box-shadow: var(--shadow);
}
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.site-nav ul a {
  display: block; padding: 14px 10px; border-radius: 12px; white-space: nowrap;
  font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; color: var(--ink); text-decoration: none;
}
.site-nav ul a:hover { background: var(--sand); color: var(--ink); }
.site-nav ul a[aria-current="page"] { color: var(--poppy); }
.site-nav .nav-cta { margin-top: 12px; }
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex; position: static; padding: 0; border: 0; background: transparent; box-shadow: none; align-items: center; gap: 20px; }
  .site-nav ul { flex-direction: row; gap: 2px; }
  .site-nav ul a { position: relative; padding: 10px 14px; font-size: 1rem; }
  .site-nav ul a::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px; border-radius: 3px;
    background: var(--rainbow); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease);
  }
  .site-nav ul a:hover { background: transparent; }
  .site-nav ul a:hover::after, .site-nav ul a[aria-current="page"]::after { transform: scaleX(1); }
  .site-nav .nav-cta { margin: 0; }
  .site-nav .nav-cta .btn { min-height: 44px; padding: 10px 20px; font-size: 1rem; }
}

/* Decorations ----------------------------------------------------------- */
.sparkle { position: absolute; width: 28px; height: 28px; pointer-events: none; }
.sparkle--pink { color: var(--r-pink); }
.sparkle--orange { color: var(--r-orange); }
.sparkle--yellow { color: var(--butter); }
.sparkle--teal { color: var(--r-teal); }
.sparkle--blue { color: var(--r-blue); }
.sparkle--purple { color: var(--r-purple); }
.sparkle--float { animation: float 5s ease-in-out infinite; }
.sparkle--float-late { animation: float 6s ease-in-out 1.2s infinite; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-8px) rotate(12deg); } }
.sticker {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  background: var(--paper); color: var(--ink);
  font-family: var(--font-display); font-weight: 600; font-size: 0.9rem;
  padding: 10px 16px; border-radius: 999px; box-shadow: var(--shadow); white-space: nowrap;
}
.sticker svg { width: 16px; height: 16px; color: var(--poppy); }
.loop { display: block; pointer-events: none; }

/* Marquee band ---------------------------------------------------------- */
.marquee { overflow: hidden; background: var(--butter); padding: 14px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee__group {
  display: flex; align-items: center; gap: 36px; padding-right: 36px;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink);
}
.marquee__group span { display: inline-flex; align-items: center; gap: 36px; white-space: nowrap; }
.marquee__group span::after { content: ""; width: 9px; height: 9px; background: var(--ink); transform: rotate(45deg); border-radius: 2px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Home hero ------------------------------------------------------------- */
.hero { position: relative; padding-block: clamp(48px, 7vw, 104px) clamp(48px, 7vw, 96px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(35, 37, 58, 0.11) 1.2px, transparent 1.3px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse at 72% 45%, #000 15%, transparent 65%);
  mask-image: radial-gradient(ellipse at 72% 45%, #000 15%, transparent 65%);
}
.hero .container { position: relative; display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .hero .container { grid-template-columns: 1.05fr 0.95fr; gap: 56px; } }
.hero__copy { max-width: 620px; }
.hero__copy h1 { margin-bottom: 0.45em; }
.hero__copy .lead { max-width: 540px; margin-bottom: 32px; }
.hero__facts { list-style: none; margin: 36px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--ink-2); font-weight: 700; font-size: 0.95rem; }
.hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero__facts svg { width: 16px; height: 16px; color: var(--poppy); flex-shrink: 0; }
.hero__art { position: relative; width: min(100%, 540px); aspect-ratio: 1 / 0.98; margin-inline: auto; }
.hero__loop { position: absolute; left: -8%; right: -8%; bottom: -6%; width: 116%; opacity: 0.85; }
.hero__blob {
  position: absolute; inset: 10% 8%;
  background: var(--butter); border-radius: 48% 52% 42% 58% / 55% 45% 55% 45%;
  transform: rotate(-8deg);
}
.hero__cover { position: absolute; border-radius: 6px 12px 12px 6px; box-shadow: var(--shadow-lg), inset 6px 0 8px -6px rgba(0, 0, 0, 0.35); transition: transform 0.5s var(--ease); }
.hero__cover--a { width: 50%; left: 5%; top: 8%; transform: rotate(-7deg); }
.hero__cover--b { width: 54%; right: 3%; bottom: 8%; transform: rotate(5deg); }
.hero__art:hover .hero__cover--a { transform: rotate(-9deg) translateY(-8px); }
.hero__art:hover .hero__cover--b { transform: rotate(7deg) translateY(-8px); }
.hero__sticker { right: 2%; top: 3%; transform: rotate(6deg); }
.hero .sparkle--1 { left: 0; top: 14%; width: 34px; height: 34px; }
.hero .sparkle--2 { right: 8%; top: 40%; width: 22px; height: 22px; }
.hero .sparkle--3 { left: 12%; bottom: 2%; width: 26px; height: 26px; }

/* Inner page hero ------------------------------------------------------- */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(40px, 6vw, 88px) clamp(40px, 6vw, 72px); }
.page-hero__loop { position: absolute; right: -8%; top: -12%; width: min(560px, 70vw); opacity: 0.32; pointer-events: none; }
.page-hero .container { position: relative; }
.page-hero .lead { max-width: 640px; }
.page-hero__copy { max-width: 640px; }
.page-hero .btn-row { margin-top: 28px; }
.page-hero--split .container { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .page-hero--split .container { grid-template-columns: 1fr 1fr; gap: 64px; } }
.page-hero__art { position: relative; }
.frame { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--t-sky); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--tilt { transform: rotate(-2deg); transition: transform 0.5s var(--ease); }
.frame--tilt:hover { transform: rotate(0); }
.page-hero__sticker { left: -4px; bottom: -14px; transform: rotate(-4deg); }
.page-hero .sparkle--1 { right: 4%; top: -10px; width: 34px; height: 34px; }
.page-hero .sparkle--2 { right: -6px; bottom: 26%; width: 22px; height: 22px; }

/* Cards ----------------------------------------------------------------- */
.card {
  position: relative; background: var(--paper); border-radius: var(--radius); padding: clamp(24px, 3vw, 32px);
  display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card__icon { width: 56px; height: 56px; border-radius: 18px; background: var(--t-butter); display: grid; place-items: center; color: var(--ink); }
.card__icon svg { width: 26px; height: 26px; }
.card__num { position: absolute; top: 24px; right: 26px; font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.12em; color: var(--muted); }
.card h3 { margin: 6px 0 0; }
.card p { color: var(--muted); }
.card--rose .card__icon { background: var(--t-rose); }
.card--peach .card__icon { background: var(--t-peach); }
.card--butter .card__icon { background: var(--t-butter); }
.card--mint .card__icon { background: var(--t-mint); }
.card--sky .card__icon { background: var(--t-sky); }
.card--lilac .card__icon { background: var(--t-lilac); }

/* Pillars (compact icon rows) */
.pillars { list-style: none; margin: clamp(32px, 5vw, 56px) 0 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 760px) { .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pillar { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line); }
.pillar__icon { width: 48px; height: 48px; flex-shrink: 0; border-radius: 14px; display: grid; place-items: center; color: var(--ink); }
.pillar__icon svg { width: 24px; height: 24px; }
.pillar strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; margin-bottom: 4px; }
.pillar span { color: var(--muted); font-size: 0.95rem; }
.pillar--rose .pillar__icon { background: var(--t-rose); }
.pillar--butter .pillar__icon { background: var(--t-butter); }
.pillar--sky .pillar__icon { background: var(--t-sky); }
.pillar--mint .pillar__icon { background: var(--t-mint); }

/* Belief block (About) */
.belief { display: grid; gap: 28px; align-items: start; }
@media (min-width: 900px) { .belief { grid-template-columns: 1.1fr 0.9fr; gap: 64px; } .belief__body { padding-top: 48px; } }
.belief__statement h2 { font-size: clamp(2rem, 4.2vw, 2.9rem); line-height: 1.12; }
.belief__body p { font-size: 1.08rem; color: var(--ink-2); }

/* Stats ----------------------------------------------------------------- */
.stats { display: grid; gap: 20px; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.stat {
  position: relative; overflow: hidden; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 28px 28px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stat::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: var(--stat-accent, var(--rainbow)); }
.stat--rose { --stat-accent: var(--r-pink); }
.stat--butter { --stat-accent: var(--r-yellow); }
.stat--sky { --stat-accent: var(--r-blue); }
.stat--mint { --stat-accent: var(--r-green); }
.stat--lilac { --stat-accent: var(--r-purple); }
.stats--2 { max-width: 760px; }
@media (min-width: 560px) { .stats--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stats--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 719px) { .stats--5 .stat:last-child { grid-column: 1 / -1; } }
@media (min-width: 720px) { .stats--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .stats--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } .stats--5 .stat { padding: 30px 22px 24px; } .stats--5 .stat__value { font-size: clamp(2.4rem, 3.4vw, 3.2rem); } }

/* Impact page ----------------------------------------------------------- */
.chapter__list { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; }
.chapter__list li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.chapter__list li:first-child { border-top: 0; padding-top: 0; }
.chapter__list strong { font-weight: 800; }
.chapter__list span { color: var(--muted); font-size: 0.9rem; text-align: right; flex-shrink: 0; }
.chapter__badge { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; background: var(--t-butter); border-radius: 999px; padding: 5px 12px; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.card--hq { background: var(--ink); color: var(--cream); }
.card--hq h3, .card--hq strong { color: #fff; }
.card--hq p, .card--hq .chapter__list span { color: #c9cbd8; }
.card--hq .chapter__list li { border-color: rgba(255, 255, 255, 0.14); }
.card--hq .card__icon { background: rgba(255, 255, 255, 0.1); color: var(--butter); }
.card--hq .card__num { color: #c9cbd8; }
.card--hq a { color: var(--butter); }
.card--hq a:hover { color: #fff; }
.card__group { margin-top: 10px; }
.card__group h4 { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.card__bullets { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; font-size: 0.95rem; }
.card__bullets li { position: relative; padding-left: 18px; color: var(--ink-2); line-height: 1.5; }
.card__bullets li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 7px; height: 7px; border-radius: 50%; background: var(--poppy); }
.card__bullets strong { color: var(--ink); font-weight: 800; }
.card__bullets .sub { color: var(--muted); }
.card--hq .card__group h4 { color: #c9cbd8; }
.card--hq .card__bullets li { color: #d5d7e2; }
.card--hq .card__bullets strong { color: #fff; }
.card--hq .card__bullets .sub { color: #c9cbd8; }
.card--hq .card__bullets li::before { background: var(--butter); }

/* Route maps */
.map { margin: 0 0 clamp(28px, 4vw, 44px); background: var(--paper); border-radius: var(--radius-lg); padding: clamp(10px, 2vw, 22px); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.map svg { display: block; width: 100%; height: auto; overflow: hidden; }
.map__scroll { border-radius: var(--radius-sm); overflow: hidden; }
/* Small screens: the map simply scales down. Labels would be unreadable, so they hide and the dots get bolder. */
@media (max-width: 719px) {
  .map .lbl, .map .callout-group { display: none; }
  .map .pin { r: 12; stroke-width: 3.5; }
  .map .pin--origin { r: 14; }
  .map .pulse { r: 16; stroke-width: 3; }
  .map .route { stroke-width: 4.5; stroke-dasharray: 0.1 11; }
  .map--us .pin { r: 10; }
  .map--us .pin--origin { r: 12; }
  .map--us .route { stroke-width: 3.5; stroke-dasharray: 0.1 9; }
}
.map text { letter-spacing: 0; word-spacing: 0; }
html[data-font="dyslexic"] .map .lbl { font-size: 11.5px; }
html[data-font="dyslexic"] .map .lbl--big { font-size: 13.5px; }
html[data-font="dyslexic"] .map .lbl--muted { font-size: 10.5px; }
.map figcaption { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.88rem; font-weight: 700; }
.map__key { display: inline-flex; align-items: center; gap: 8px; }
.map__key::before { content: ""; width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.map__key--origin::before { background: var(--poppy); box-shadow: 0 0 0 3px rgba(189, 53, 32, 0.25); }
.map__key--pin::before { background: var(--ink); }
.map__key--land::before { background: var(--t-butter); border: 1px solid #e6cf7a; border-radius: 3px; }
.map .land { fill: #efe7d8; stroke: #fff; stroke-width: 0.7; stroke-linejoin: round; }
.map .land--hit { fill: var(--t-butter); stroke: #e6cf7a; }
.map .route { fill: none; stroke: var(--poppy); stroke-width: 2.4; stroke-dasharray: 0.1 6.5; stroke-linecap: round; animation: route-march 24s linear infinite; }
.map .pin { fill: var(--ink); stroke: #fff; stroke-width: 2.2; }
.map .pin--origin { fill: var(--poppy); }
.map .pulse { fill: none; stroke: var(--poppy); stroke-width: 2; opacity: 0.6; transform-box: fill-box; transform-origin: center; animation: route-pulse 2.6s ease-out infinite; }
.map .lbl { font-family: var(--font-display); font-weight: 600; font-size: 14px; fill: var(--ink); paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
.map .lbl--muted { fill: var(--muted); font-size: 12px; font-weight: 500; }
.map .callout { fill: var(--paper); stroke: var(--line); }
.map .lbl--big { font-size: 16px; }
@keyframes route-march { to { stroke-dashoffset: -132; } }
@keyframes route-pulse { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(2.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .map .route, .map .pulse { animation: none; } .map .pulse { display: none; } }

.state-chips { list-style: none; margin: 0 0 clamp(28px, 4vw, 40px); padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.state-chips li { display: inline-flex; align-items: center; gap: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 6px 6px 6px 14px; font-weight: 800; font-size: 0.92rem; }
.state-chips b { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 8px; border-radius: 999px; background: var(--ink); color: var(--cream); font-family: var(--font-display); font-weight: 600; font-size: 0.85rem; }
.library-list { columns: 3 240px; column-gap: 32px; }
.library-list section { break-inside: avoid; margin-bottom: 24px; }
.library-list h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 1rem; }
.library-list h4::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--rainbow); }
.library-list ul { list-style: none; margin: 0; padding: 0; }
.library-list li { padding: 6px 0; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 0.98rem; }
.library-list li:first-child { border-top: 0; }
.stat__value { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.6rem, 5.5vw, 3.8rem); line-height: 1; letter-spacing: -0.02em; margin-bottom: 12px; }
.stat__label { color: var(--muted); }
.stats-note { margin-top: 22px; color: var(--muted); font-size: 0.95rem; }

/* Books ----------------------------------------------------------------- */
.book {
  background: var(--paper); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 28px);
  display: grid; gap: 24px; box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.book:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.book__cover { position: relative; border-radius: var(--radius); padding: clamp(20px, 3vw, 28px); display: grid; place-items: center; overflow: hidden; }
.book__cover img {
  width: min(100%, 260px); border-radius: 4px 10px 10px 4px;
  box-shadow: 0 30px 40px -22px rgba(35, 37, 58, 0.55), inset 6px 0 8px -6px rgba(0, 0, 0, 0.35);
  transform: perspective(900px) rotateY(-10deg); transition: transform 0.5s var(--ease);
}
.book:hover .book__cover img { transform: perspective(900px) rotateY(-3deg) translateY(-4px); }
.book__cover--butter { background: var(--t-butter); }
.book__cover--sky { background: var(--t-sky); }
.book__cover--rose { background: var(--t-rose); }
.book__cover--mint { background: var(--t-mint); }
.book__body { display: flex; flex-direction: column; gap: 12px; }
.book__by { color: var(--muted); font-size: 0.95rem; font-weight: 700; }
.book__topic {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px; background: var(--t-butter); color: var(--ink);
  font-family: var(--font-display); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase;
}
.book__topic::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--poppy); }
.book__topic--butter { background: var(--t-butter); }
.book__topic--sky { background: var(--t-sky); }
.book--feature h2 { margin-bottom: 0.1em; }
.book__tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.book__tags li { background: var(--sand); border-radius: 999px; padding: 6px 12px; font-size: 0.85rem; font-weight: 700; }
.book__actions { margin-top: 8px; }
.book__note { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-weight: 800; font-size: 0.95rem; margin-top: 4px; }
.book__note svg { width: 18px; height: 18px; color: var(--poppy); flex-shrink: 0; }
@media (min-width: 640px) { .book { grid-template-columns: 280px 1fr; } }
.book--feature { gap: 32px; padding: clamp(20px, 3vw, 40px); }
.book--feature:hover { transform: none; box-shadow: var(--shadow-sm); }
@media (min-width: 900px) {
  .book--feature { grid-template-columns: 380px 1fr; align-items: start; }
  .book--feature.book--reverse { grid-template-columns: 1fr 380px; }
  .book--feature.book--reverse > :first-child { order: 2; }
}
.book--feature .book__cover img { width: min(100%, 320px); }
.book__previews { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.book__previews img { border-radius: 12px; aspect-ratio: 1 / 1; object-fit: cover; object-position: top; width: 100%; box-shadow: var(--shadow-sm); }
.book__previews figcaption { grid-column: 1 / -1; color: var(--muted); font-size: 0.88rem; font-weight: 700; }
.book__previews figure { margin: 0; display: contents; }
.book__body h4 { margin: 8px 0 2px; }

/* Comparison table */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.compare th, .compare td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; background: var(--sand); }
.compare tbody th { font-weight: 800; color: var(--ink-2); width: 30%; }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: 0; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Team ------------------------------------------------------------------ */
.faces { display: flex; padding-left: 14px; }
.faces img {
  width: clamp(64px, 9vw, 100px); aspect-ratio: 1; height: auto; border-radius: 50%; object-fit: cover; object-position: center top;
  border: 4px solid var(--paper); margin-left: -14px; position: relative;
  box-shadow: 0 0 0 3px var(--ring, var(--r-pink)), var(--shadow-sm);
  transition: transform 0.25s var(--ease);
}
.faces img:nth-child(1) { --ring: var(--r-pink); }
.faces img:nth-child(2) { --ring: var(--r-blue); }
.faces img:nth-child(3) { --ring: var(--r-purple); }
.faces img:nth-child(4) { --ring: var(--r-yellow); }
.faces img:nth-child(5) { --ring: var(--r-green); }
.faces img:hover { transform: translateY(-6px) scale(1.06); z-index: 1; }
.cities { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cities li { display: inline-flex; align-items: center; gap: 6px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px 6px 10px; font-size: 0.88rem; font-weight: 700; }
.cities svg { width: 14px; height: 14px; color: var(--poppy); }

.team { display: grid; gap: 24px; }
@media (min-width: 620px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .team { grid-template-columns: repeat(3, minmax(0, 1fr)); } .team--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 800px; margin-inline: auto; } }

/* Per-person crop positions so every face sits in the middle of its frame */
.photo--nicole { object-position: 50% 50% !important; }
.photo--eleanor { object-position: 56% 42% !important; }
.photo--valery { object-position: 50% 22% !important; }
.photo--michelle { object-position: 50% 15% !important; }
.photo--tola { object-position: 50% 45% !important; }
.member {
  background: var(--paper); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.member:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.member__photo { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--t-butter); }
.member__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 0.6s var(--ease); }
.member:hover .member__photo img { transform: scale(1.04); }
.member__place {
  position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255, 255, 255, 0.94); border-radius: 999px; padding: 6px 12px 6px 10px; font-size: 0.85rem; font-weight: 800;
}
.member__place svg { width: 14px; height: 14px; color: var(--poppy); }
.member__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 4px; }
.member__body h3 { margin: 0; }
.member__role { font-family: var(--font-display); font-weight: 600; color: var(--poppy); font-size: 0.95rem; }
.member__bio { color: var(--muted); font-size: 0.98rem; margin-top: 8px; }
.member--rose .member__photo { background: var(--t-rose); }
.member--sky .member__photo { background: var(--t-sky); }
.member--lilac .member__photo { background: var(--t-lilac); }
.member--butter .member__photo { background: var(--t-butter); }
.member--mint .member__photo { background: var(--t-mint); }

/* Featured founder profiles */
.profiles { display: grid; gap: 18px; margin-bottom: 18px; }
.profile {
  display: grid; gap: 18px; background: var(--paper); border-radius: var(--radius);
  padding: clamp(16px, 2vw, 22px); box-shadow: var(--shadow-sm);
}
@media (min-width: 800px) { .profile { grid-template-columns: 190px 1fr; align-items: start; gap: 26px; } }
.profile__photo { position: relative; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1 / 1; background: var(--t-rose); max-width: 240px; }
.profile__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.profile__photo .member__place { left: 10px; bottom: 10px; font-size: 0.78rem; padding: 4px 9px 4px 8px; }
.profile__body h3 { font-size: clamp(1.3rem, 2.2vw, 1.55rem); margin: 0 0 2px; }
.profile__role { font-family: var(--font-display); font-weight: 600; color: var(--poppy); font-size: 0.9rem; display: block; margin-bottom: 10px; }
.profile__body p { color: var(--ink-2); font-size: 0.95rem; line-height: 1.55; margin-bottom: 0.8em; }
.profile__facts { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.profile__facts li { display: inline-flex; align-items: center; gap: 6px; background: var(--sand); border-radius: 999px; padding: 4px 10px; font-size: 0.78rem; font-weight: 700; }
.profile__facts svg { width: 14px; height: 14px; color: var(--blue); }
.profile--rose .profile__photo { background: var(--t-rose); }
.profile--sky .profile__photo { background: var(--t-sky); }
.profile--lilac .profile__photo { background: var(--t-lilac); }
.profile--butter .profile__photo { background: var(--t-butter); }
.profile--mint .profile__photo { background: var(--t-mint); }

/* Resources ------------------------------------------------------------- */
.post {
  position: relative;
  background: var(--paper); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
/* The whole card is clickable: the arrow link stretches over it. */
.post .link-arrow::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.post .link-arrow:focus-visible { outline: none; }
.post:focus-within { outline: 3px solid var(--blue); outline-offset: 3px; }
.post:hover .link-arrow { color: var(--poppy); }
.post:hover .link-arrow svg { transform: translateX(4px); }
.post:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post__thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); }
.post__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.6s var(--ease); }
.post:hover .post__thumb img { transform: scale(1.04); }
.post__body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 8px; flex-grow: 1; }
.post__meta { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; font-size: 0.9rem; color: var(--muted); font-weight: 700; }
.post__tag { background: var(--t-sky); color: var(--ink); border-radius: 999px; padding: 4px 11px; font-weight: 800; font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; }
.post__tag--butter { background: var(--t-butter); }
.post__body h3 { margin: 4px 0; }
.post__body p { color: var(--muted); }
.post__body .link-arrow { margin-top: auto; padding-top: 10px; }

.infographic { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .infographic { grid-template-columns: 1fr minmax(0, 420px); gap: 64px; } .infographic__image { position: sticky; top: 100px; } }
.infographic__image { margin: 0; }
.infographic__image img { border-radius: var(--radius); box-shadow: var(--shadow); }
.infographic__image figcaption { margin-top: 14px; color: var(--muted); font-size: 0.92rem; }
.figures { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.figure { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; align-items: baseline; padding: 20px 22px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.figure__value { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.7rem, 3.5vw, 2.3rem); line-height: 1; letter-spacing: -0.02em; color: var(--figure-color, var(--ink)); }
.figure__text { color: var(--ink-2); }
.figure--rose { --figure-color: #c6486e; }
.figure--butter { --figure-color: #b07d00; }
.figure--sky { --figure-color: var(--blue); }
.figure--mint { --figure-color: #2a7f4a; }

/* Article --------------------------------------------------------------- */
.container--narrow { max-width: 760px; }
.article__head { padding-block: clamp(32px, 5vw, 64px) 0; }
.article__head h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 16px 0 12px; }
.article__meta { color: var(--muted); font-weight: 700; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.article__meta .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--muted); }
.link-arrow--back { margin-bottom: 24px; }
.link-arrow--back svg { transform: rotate(180deg); }
.link-arrow--back:hover svg { transform: rotate(180deg) translateX(4px); }
.article__hero { margin: clamp(24px, 4vw, 40px) 0 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--t-rose); }
.article__hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article__body { padding-block: clamp(32px, 5vw, 56px) var(--section); font-size: 1.12rem; line-height: 1.75; }
.article__body p { margin-bottom: 1.4em; color: var(--ink-2); }
.article__body > p:first-of-type::first-letter {
  font-family: var(--font-display); font-weight: 700; font-size: 3.6em; line-height: 0.8;
  float: left; margin: 0.06em 0.14em 0 0; color: var(--poppy);
}
.article__body h2 { font-size: 1.5rem; margin: 2.2em 0 0.8em; padding-top: 1.4em; border-top: 1px solid var(--line); }
.article__refs { margin: 0; padding-left: 1.3em; font-size: 0.95rem; color: var(--muted); display: grid; gap: 12px; line-height: 1.6; }
.article__refs a { overflow-wrap: anywhere; }
.article__foot { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.article__byline { display: flex; align-items: center; gap: 14px; }
.article__byline img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--t-rose); }
.article__byline strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.article__byline span { color: var(--muted); font-size: 0.92rem; }

/* Contact --------------------------------------------------------------- */
.contact-cards { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
.contact-card__name { overflow-wrap: anywhere; }
@media (min-width: 720px) { .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.contact-card {
  display: flex; gap: 18px; align-items: center; background: var(--paper); border-radius: var(--radius-lg); padding: 24px;
  box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.contact-card img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; object-position: center top; flex-shrink: 0; box-shadow: 0 0 0 4px var(--ring, var(--t-rose)); }
.contact-card--rose img { --ring: var(--t-rose); }
.contact-card--sky img { --ring: var(--t-sky); }
.contact-card--lilac img { --ring: var(--t-lilac); }
@media (min-width: 1000px) {
  .contact-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-card { flex-direction: column; align-items: flex-start; padding: 22px; }
  .contact-card__body a { font-size: 0.9rem; }
}
.contact-card__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.contact-card__name { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; }
.contact-card__role { color: var(--muted); font-size: 0.95rem; }
.contact-card__body a { font-weight: 800; margin-top: 8px; overflow-wrap: anywhere; display: inline-flex; align-items: center; gap: 8px; }
.contact-card__body a svg { width: 18px; height: 18px; flex-shrink: 0; }

.audience { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 560px) { .audience { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .audience { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.audience a {
  display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 24px; border-radius: var(--radius);
  background: var(--paper); border: 1px solid var(--line); color: var(--ink); text-decoration: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.audience a:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink); }
.audience__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; }
.audience__icon svg { width: 24px; height: 24px; }
.audience strong { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; }
.audience span { color: var(--muted); font-size: 0.95rem; }
.audience .link-arrow { margin-top: auto; padding-top: 6px; font-size: 0.95rem; }
.audience--rose .audience__icon { background: var(--t-rose); }
.audience--butter .audience__icon { background: var(--t-butter); }
.audience--sky .audience__icon { background: var(--t-sky); }
.audience--mint .audience__icon { background: var(--t-mint); }

/* CTA band -------------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; background: var(--ink); color: var(--cream); }
.cta-band::before, .cta-band::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; filter: blur(10px); }
.cta-band::before { width: 46vw; max-width: 620px; aspect-ratio: 1; right: -12%; top: -50%; background: radial-gradient(closest-side, rgba(181, 139, 218, 0.45), transparent 72%); }
.cta-band::after { width: 40vw; max-width: 520px; aspect-ratio: 1; left: -10%; bottom: -55%; background: radial-gradient(closest-side, rgba(240, 139, 163, 0.4), transparent 72%); }
.cta-band .container { position: relative; display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .cta-band .container { grid-template-columns: 1.2fr 0.8fr; gap: 72px; } }
.cta-band .eyebrow { color: var(--butter); }
.cta-band h2 { color: #fff; }
.cta-band p { color: #c9cbd8; }
.email-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.email-list a {
  display: flex; align-items: center; gap: 12px; padding: 16px 20px;
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px; color: #fff; text-decoration: none; font-weight: 700; overflow-wrap: anywhere;
  transition: background 0.2s, transform 0.2s var(--ease), border-color 0.2s;
}
.email-list a:hover { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.4); color: #fff; transform: translateX(4px); }
.email-list svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--butter); }
.email-list small { display: block; font-weight: 600; color: #c9cbd8; font-size: 0.82rem; }

/* Footer ---------------------------------------------------------------- */
.site-footer { background: var(--paper); padding-block: 56px 28px; }
.motto {
  text-align: center; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.9rem, 4.6vw, 3.2rem); line-height: 1.12; letter-spacing: -0.01em; text-wrap: balance;
  margin: 0 auto clamp(36px, 5vw, 56px); padding-bottom: clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--line); max-width: 900px;
}
.motto::before { content: ""; display: block; width: 56px; height: 6px; border-radius: 6px; background: var(--rainbow); margin: 0 auto 20px; }
.motto .hl::after { bottom: -0.34em; height: 0.26em; }
.site-footer__grid { display: grid; gap: 36px; grid-template-columns: minmax(0, 1fr); }
.site-footer__grid > * { min-width: 0; }
@media (min-width: 800px) { .site-footer__grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; } }
.site-footer .brand { margin-bottom: 14px; }
.site-footer .brand__mark { width: 68px; height: 44px; }
.site-footer .brand__wordmark { height: 31px; }
.site-footer__blurb { color: var(--muted); max-width: 380px; font-size: 0.98rem; }
.site-footer h4 { font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 6px 0 14px; font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer li a { color: var(--ink); text-decoration: none; font-weight: 700; overflow-wrap: anywhere; }
.site-footer li a:hover { color: var(--poppy); }
.site-footer li a.is-external::after { content: " ↗"; color: var(--muted); }
.footer-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: var(--muted); font-size: 0.92rem; border-top: 1px solid var(--line); padding-top: 22px; margin-top: 44px; }
.footer-meta a { color: var(--muted); }
.footer-meta a:hover { color: var(--poppy); }

/* Reveal on scroll ------------------------------------------------------ */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal:nth-child(2) { transition-delay: 0.08s; }
.js .reveal:nth-child(3) { transition-delay: 0.16s; }
.js .reveal:nth-child(4) { transition-delay: 0.24s; }
.js .reveal:nth-child(5) { transition-delay: 0.32s; }

/* Dyslexia-friendly font ------------------------------------------------ */
/* OpenDyslexic by Abbie Gonzalez, SIL Open Font License. Only downloaded once the toggle is on. */
@font-face { font-family: "OpenDyslexic"; src: url("../fonts/OpenDyslexic-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "OpenDyslexic"; src: url("../fonts/OpenDyslexic-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "OpenDyslexic"; src: url("../fonts/OpenDyslexic-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "OpenDyslexic"; src: url("../fonts/OpenDyslexic-Bold-Italic.woff2") format("woff2"); font-weight: 700; font-style: italic; font-display: swap; }
html[data-font="dyslexic"] {
  --font-display: "OpenDyslexic", "Comic Sans MS", sans-serif;
  --font-body: "OpenDyslexic", "Comic Sans MS", sans-serif;
}
/* OpenDyslexic runs wide and tall, so sizes come down a step and spacing opens up. */
html[data-font="dyslexic"] body { font-size: 16px; line-height: 1.8; letter-spacing: 0.015em; word-spacing: 0.06em; }
html[data-font="dyslexic"] h1, html[data-font="dyslexic"] h2, html[data-font="dyslexic"] h3, html[data-font="dyslexic"] h4 { letter-spacing: 0; line-height: 1.15; text-wrap: balance; }
html[data-font="dyslexic"] h1 { font-size: clamp(1.9rem, 5vw, 3.3rem); }
html[data-font="dyslexic"] h2 { font-size: clamp(1.5rem, 3.4vw, 2.3rem); }
html[data-font="dyslexic"] h3 { font-size: clamp(1.1rem, 1.9vw, 1.35rem); }
html[data-font="dyslexic"] .lead { font-size: clamp(1rem, 1.6vw, 1.15rem); }
html[data-font="dyslexic"] .eyebrow { font-size: 0.75rem; letter-spacing: 0.08em; }
html[data-font="dyslexic"] .btn { font-size: 0.92rem; }
html[data-font="dyslexic"] .site-nav ul a { font-size: 0.82rem; white-space: nowrap; }
html[data-font="dyslexic"] .font-toggle { font-size: 0.8rem; }
html[data-font="dyslexic"] .motto { font-size: clamp(1.4rem, 3.2vw, 2.2rem); }
html[data-font="dyslexic"] .stat__value { font-size: clamp(2rem, 4vw, 2.8rem); }
html[data-font="dyslexic"] .marquee__group { font-size: 0.82rem; letter-spacing: 0.06em; }
html[data-font="dyslexic"] .hl::after { bottom: 0; height: 0.24em; }
html[data-font="dyslexic"] .hl--butter { background: linear-gradient(transparent 42%, var(--butter) 42%, var(--butter) 74%, transparent 74%); }
@media (min-width: 900px) {
  html[data-font="dyslexic"] .site-nav ul a { padding: 10px 10px; }
  html[data-font="dyslexic"] .site-nav ul a::after { left: 10px; right: 10px; }
  html[data-font="dyslexic"] .site-nav .nav-cta .btn { padding: 10px 16px; font-size: 0.85rem; }
}
@media (min-width: 900px) and (max-width: 1260px) { html[data-font="dyslexic"] .font-toggle__label { display: none; } html[data-font="dyslexic"] .font-toggle { padding-right: 10px; } }
@media (min-width: 900px) and (max-width: 1060px) { html[data-font="dyslexic"] .brand__wordmark { display: none; } }
@media (max-width: 359px) { .brand__wordmark { display: none; } }
html[data-font="dyslexic"] .article__body { font-size: 1.02rem; line-height: 1.9; }
/* Side-by-side book cards get too narrow for the wide font: stack the cover above the text. */
html[data-font="dyslexic"] .book:not(.book--feature) { grid-template-columns: 1fr; }
html[data-font="dyslexic"] .book:not(.book--feature) .book__cover img { width: min(100%, 200px); }
html[data-font="dyslexic"] .book__body { font-size: 0.95rem; }
html[data-font="dyslexic"] .book__by { font-size: 0.85rem; }
html[data-font="dyslexic"] .book__tags li { font-size: 0.78rem; }
html[data-font="dyslexic"] .card p, html[data-font="dyslexic"] .post__body p, html[data-font="dyslexic"] .stat__label { font-size: 0.92rem; }
html[data-font="dyslexic"] .figure { grid-template-columns: 1fr; gap: 4px; }
html[data-font="dyslexic"] .figure__value { font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
html[data-font="dyslexic"] .figure__text { font-size: 0.95rem; }
html[data-font="dyslexic"] .article__body > p:first-of-type::first-letter { font-size: 3em; }

/* Motion ---------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}
