:root {
  --eggshell: #f4f1de;
  --burnt-peach: #e07a5f;
  --twilight-indigo: #3d405b;
  --muted-teal: #81b29a;
  --apricot-cream: #f2cc8f;

  --bg: var(--eggshell);
  --ink: var(--twilight-indigo);
  --ink-soft: color-mix(in srgb, var(--twilight-indigo) 85%, var(--eggshell));
  --ink-faint: color-mix(in srgb, var(--twilight-indigo) 78%, var(--eggshell));
  --accent: var(--twilight-indigo);
  --highlight: var(--apricot-cream);
  --button-bg: var(--burnt-peach);
  --button-hover: var(--apricot-cream);
  --button-ink: color-mix(in srgb, var(--twilight-indigo) 70%, black);
  --hero-bg: var(--twilight-indigo);
  --hero-ink: var(--eggshell);
  --on-dark-soft: color-mix(in srgb, var(--eggshell) 85%, var(--twilight-indigo));
  --on-dark-muted: color-mix(in srgb, var(--eggshell) 75%, var(--twilight-indigo));
  --border: color-mix(in srgb, var(--twilight-indigo) 18%, var(--eggshell));
  --card-bg: color-mix(in srgb, var(--eggshell) 55%, white);
  --surface-teal: color-mix(in srgb, var(--muted-teal) 18%, var(--eggshell));
  --surface-apricot: color-mix(in srgb, var(--apricot-cream) 26%, var(--eggshell));
  --shadow-soft: 0 14px 40px -18px rgb(61 64 91 / 22%);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --page-width: 920px;
  --prose-width: 780px;
  --header-h: 72px;
}

html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s ease;
}

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

a:hover {
  text-decoration: underline;
}

:focus-visible {
  outline: 3px solid var(--twilight-indigo);
  outline-offset: 4px;
}

.hero :focus-visible,
.dark-band :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--apricot-cream);
}

article.post p a,
article.post li a {
  text-decoration: underline;
  text-decoration-color: var(--burnt-peach);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

article.post p a:hover,
article.post li a:hover {
  text-decoration-color: var(--twilight-indigo);
}

.container {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 0 28px;
}

.prose-container {
  max-width: var(--prose-width);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Header ---------- */

header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(244 241 222 / 94%);
  backdrop-filter: blur(10px);
  border-top: 3px solid var(--burnt-peach);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.site-title {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.logo-mark {
  width: 30px;
  height: 30px;
  display: block;
  overflow: visible;
}

.lb {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), fill 0.25s ease;
}

.lb-a {
  transform: rotate(12deg);
}

.site-title:hover .lb-a {
  transform: rotate(26deg) translate(2px, -3px) scale(1.2);
}

.site-title:hover .lb-m {
  transform: translate(-2px, 2px) rotate(-14deg);
}

.site-title:hover .lb-1 {
  transform: translate(-1px, -2px) rotate(-6deg);
}

.site-title:hover .lb-2 {
  transform: translate(2px, -1px) rotate(8deg);
}

.site-title:hover .lb-3 {
  transform: translate(-2px, 1px) rotate(5deg);
}

.site-title:hover .lb-4 {
  transform: translate(1px, 2px) rotate(-7deg);
}


.site-title:hover {
  text-decoration: none;
}

.site-title span {
  color: var(--accent);
}

nav.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

nav.site-nav a {
  color: var(--ink-soft);
  font-size: 0.93rem;
}

nav.site-nav a:not(.nav-cta) {
  position: relative;
}

nav.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  width: 8px;
  height: 8px;
  border-radius: 2.5px;
  background: var(--highlight);
  transform: translateX(-50%) rotate(12deg) scale(0);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

nav.site-nav a:not(.nav-cta):hover::after {
  transform: translateX(-50%) rotate(12deg) scale(1);
}

nav.site-nav a:hover {
  color: var(--accent);
  text-decoration: none;
}

nav.site-nav a.nav-cta {
  background: var(--button-bg);
  color: var(--button-ink);
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  transition: background 0.15s ease, transform 0.15s ease;
}

nav.site-nav a.nav-cta {
  transition: background 0.15s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

nav.site-nav a.nav-cta:hover {
  background: var(--button-hover);
  color: var(--button-ink);
  transform: translateY(-2px) rotate(-2deg) scale(1.04);
  text-decoration: none;
}

main {
  padding: 88px 0 96px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: var(--hero-bg);
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 28px 88px;
  display: flex;
  align-items: center;
  gap: 56px;
}

.hero-copy {
  flex: 1 1 560px;
  min-width: 0;
}

.hero-media {
  flex: 0 1 410px;
  min-width: 0;
  position: relative;
}

.hero-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 58% 42% 55% 45% / 52% 48% 52% 48%;
  border: 8px solid rgb(244 241 222 / 16%);
  box-shadow: 0 30px 70px -28px rgb(43 45 64 / 55%);
}

.hero-badge {
  position: absolute;
  left: -16px;
  bottom: 26px;
  background: var(--card-bg);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 11px 20px;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}

.hero-kicker {
  color: var(--highlight);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 20px;
}

.hero h1 {
  color: var(--hero-ink);
  font-size: clamp(2.9rem, 5.8vw, 5rem);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin-bottom: 28px;
}

.hero h1 span {
  color: var(--highlight);
  font-style: italic;
  font-weight: 550;
}

.hero-sub {
  color: var(--on-dark-soft);
  font-size: 1.14rem;
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}

.btn {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: var(--button-bg);
  color: var(--button-ink);
}

.btn-primary:hover {
  background: var(--button-hover);
  color: var(--button-ink);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -14px rgb(43 45 64 / 40%);
  text-decoration: none;
}

.btn-ghost {
  border: 1.5px solid var(--on-dark-muted);
  color: var(--hero-ink);
}

.btn-ghost:hover {
  border-color: var(--hero-ink);
  background: rgb(244 241 222 / 8%);
  color: var(--hero-ink);
  text-decoration: none;
}

.hero-proof {
  color: var(--on-dark-muted);
  font-size: 0.9rem;
}

.hero-shape {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.shape-a {
  width: 680px;
  height: 680px;
  right: -200px;
  top: -160px;
  background: rgb(129 178 154 / 12%);
  border-radius: 58% 42% 55% 45% / 52% 48% 52% 48%;
}

.shape-b {
  width: 440px;
  height: 440px;
  right: 120px;
  bottom: -220px;
  background: rgb(242 204 143 / 12%);
  border-radius: 45% 55% 48% 52% / 55% 45% 55% 45%;
}

/* ---------- Category label (was pill) ---------- */

.pill {
  display: inline-block;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

a.pill:hover {
  text-decoration: underline;
}

.meta-line {
  font-size: 0.85rem;
  color: var(--ink-faint);
}

.meta-line .dot {
  margin: 0 6px;
}

/* ---------- Home: featured ---------- */

.featured {
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 44px;
}

.featured .pill {
  margin-bottom: 10px;
}

.featured h2 {
  font-size: 2rem;
  margin: 6px 0 14px;
}

.featured h2 a {
  color: var(--ink);
}

.featured h2 a:hover {
  color: var(--accent);
  text-decoration: none;
}

.featured p.excerpt {
  color: var(--ink-soft);
  font-size: 1.02rem;
  margin-bottom: 14px;
}

/* ---------- Home: quick answers (floating bar) ---------- */

.quick-answers {
  position: relative;
  z-index: 5;
  margin-top: -42px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 26px;
  box-shadow: var(--shadow-soft);
}

.quick-answers a {
  color: var(--accent);
}

.quick-answers p {
  font-weight: 700;
  font-size: 0.93rem;
}

.quick-answers a {
  font-weight: 600;
  font-size: 0.93rem;
}

/* ---------- Home: mission ---------- */

.mission {
  padding: 100px 0 88px;
  text-align: center;
}

.mission h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 780px;
  margin: 8px auto 0;
}

.mission h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  border-radius: 2px;
  background: var(--burnt-peach);
  margin: 22px auto 0;
}

.mission p:not(.eyebrow) {
  max-width: 680px;
  margin: 22px auto 0;
  color: var(--ink-soft);
  font-size: 1.04rem;
}

/* ---------- Home: stat band ---------- */

.stat-band {
  background: var(--surface-teal);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  padding-top: 46px;
  padding-bottom: 46px;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 4px;
}

.stat > span {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* ---------- Home: featured split ---------- */

.featured-split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: stretch;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: var(--shadow-soft);
}

.featured-img {
  display: block;
}

.featured-img img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.featured-body {
  padding: 38px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-body .pill {
  margin-bottom: 8px;
}

.featured-body h2 {
  font-size: 1.8rem;
  margin: 4px 0 14px;
}

.featured-body h2 a {
  color: var(--ink);
}

.featured-body h2 a:hover {
  color: var(--accent);
  text-decoration: none;
}

.featured-body .excerpt {
  color: var(--ink-soft);
  font-size: 1rem;
  margin-bottom: 14px;
}

.featured-body .meta-line {
  margin-bottom: 16px;
}

.read-link {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 600;
  transition: transform 0.15s ease;
}

.read-link:hover {
  transform: translateX(4px);
  text-decoration: none;
}

/* ---------- Home: card grid ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.card-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: var(--muted-teal);
}

.card > a {
  display: block;
  overflow: hidden;
}

.card > a img {
  display: block;
  width: 100%;
  height: 170px;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.card:hover > a img {
  transform: scale(1.04);
}

.card-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-body .pill {
  margin-bottom: 6px;
}

.card h3 {
  font-size: 1.15rem;
  line-height: 1.35;
  margin: 2px 0 10px;
}

.card h3 a {
  color: var(--ink);
}

.card h3 a:hover {
  color: var(--accent);
  text-decoration: none;
}

.card .excerpt {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-bottom: 12px;
}

.card .meta-line {
  margin-top: auto;
}

/* ---------- Home: quote band ---------- */

.quote-band {
  position: relative;
  padding: 116px 0 16px;
  text-align: center;
}

.quote-band::before {
  content: "\201C";
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 8rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.14;
  pointer-events: none;
}

.quote-band blockquote em,
.quote-band blockquote {
  color: var(--ink);
}

.quote-band blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  line-height: 1.45;
  color: var(--ink);
  max-width: 740px;
  margin: 0 auto 14px;
}

.quote-band .meta-line a {
  color: var(--accent);
}

/* ---------- Dark band ---------- */

.dark-band {
  background: var(--hero-bg);
  padding: 0 0 80px;
  text-align: center;
}

.ticker {
  overflow: hidden;
  white-space: nowrap;
  padding: 18px 0;
  border-bottom: 1px solid rgb(244 241 222 / 20%);
  margin-bottom: 64px;
}

.ticker-track {
  display: inline-flex;
}

.ticker-seq {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.08rem;
  color: var(--on-dark-muted);
  padding-right: 14px;
}

.dark-band .eyebrow {
  color: var(--highlight);
}

.dark-band h2 {
  color: var(--hero-ink);
  font-size: 2.4rem;
  margin: 6px 0 48px;
}

.band-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}

.band-cols h3 {
  color: var(--highlight);
  font-size: 1.15rem;
}

.band-cols h3::after {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  border-radius: 2px;
  background: var(--highlight);
  margin: 12px auto 14px;
}

.band-cols p {
  color: var(--on-dark-soft);
  font-size: 0.97rem;
}

.band-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ---------- Home: article list ---------- */

.section-head {
  margin-bottom: 38px;
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.section-head h2 {
  font-size: 2.3rem;
  margin-top: 4px;
}

.post-list {
  list-style: none;
}

.post-list li {
  padding: 30px 0;
  border-bottom: 1px solid var(--border);
}

.post-list li:last-child {
  border-bottom: none;
}

.post-list .pill {
  margin-bottom: 6px;
}

.post-list h3 {
  font-size: 1.35rem;
  margin: 2px 0 8px;
}

.post-list h3 a {
  color: var(--ink);
}

.post-list h3 a:hover {
  color: var(--accent);
  text-decoration: none;
}

.post-list p.excerpt {
  color: var(--ink-soft);
  font-size: 0.96rem;
  margin-bottom: 10px;
}

/* ---------- Article page ---------- */

.back-link {
  display: inline-block;
  margin-bottom: 36px;
  font-size: 0.9rem;
  color: var(--ink-faint);
}

article.post header.post-header {
  margin-bottom: 36px;
}

.post-lead-img {
  display: block;
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 36px;
}

article.post h1 {
  font-size: 2.05rem;
  margin: 10px 0 14px;
}

.byline {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--border);
}

.avatar {
  display: none;
}

.byline .who {
  font-size: 0.9rem;
}

.byline .who strong {
  font-weight: 600;
  color: var(--ink-soft);
}

.byline .who strong::after {
  content: " · ";
  color: var(--ink-faint);
  font-weight: 400;
}

.byline .who span {
  color: var(--ink-faint);
}

article.post h2 {
  font-size: 1.4rem;
  margin: 40px 0 16px;
}

article.post h3 {
  font-size: 1.1rem;
  margin: 28px 0 10px;
}

article.post p {
  margin-bottom: 20px;
}

article.post ul, article.post ol {
  margin: 0 0 20px 24px;
}

article.post li {
  margin-bottom: 8px;
}

.callout {
  border-left: 2px solid var(--burnt-peach);
  padding: 2px 0 2px 18px;
  margin: 32px 0;
  font-size: 0.9rem;
  font-style: italic;
  color: var(--ink-faint);
}

.tag-row {
  margin: 36px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--ink-faint);
}

.tag {
  color: var(--ink-faint);
}

.tag:not(:last-child)::after {
  content: " · ";
}

/* ---------- Key takeaways ---------- */

.takeaways {
  background: var(--surface-teal);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 26px;
  margin: 28px 0 8px;
}

article.post .takeaways h2 {
  font-size: 0.8rem;
  font-family: inherit;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--accent);
  margin: 0 0 10px;
}

article.post .takeaways ul {
  margin: 0 0 0 20px;
}

article.post .takeaways li {
  margin-bottom: 6px;
  font-size: 0.96rem;
}

/* ---------- Related posts ---------- */

.related {
  margin-top: 56px;
}

.related h2 {
  font-size: 0.8rem;
  font-family: inherit;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--ink-faint);
  margin-bottom: 4px;
}

.related-grid {
  display: block;
}

.related-card {
  display: block;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.related-card:last-child {
  border-bottom: none;
}

.related-card:hover {
  text-decoration: none;
}

.related-card .meta-line {
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--accent);
  margin-bottom: 2px;
}

.related-card strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}

.related-card:hover strong {
  color: var(--accent);
}

/* ---------- Footer ---------- */

footer.site-footer {
  background: var(--twilight-indigo);
  border-top: 1px solid rgb(244 241 222 / 15%);
  padding: 48px 0 28px;
  font-size: 0.9rem;
  overflow: hidden;
}

.footer-giant {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 5.6vw, 3.7rem);
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.05;
  white-space: nowrap;
  text-align: center;
  color: rgb(244 241 222 / 10%);
  margin: 40px 0 22px;
  pointer-events: none;
}

.footer-cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}

.footer-cols h3 {
  font-size: 0.78rem;
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--on-dark-muted);
  margin-bottom: 10px;
}

.footer-cols p {
  color: var(--on-dark-soft);
  font-size: 0.88rem;
}

.footer-cols ul {
  list-style: none;
}

.footer-cols li {
  margin-bottom: 7px;
}

.footer-cols a {
  color: var(--on-dark-soft);
}

.footer-cols a:hover {
  color: var(--highlight);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 24px;
  border-top: 1px solid rgb(244 241 222 / 20%);
  color: var(--on-dark-muted);
  font-size: 0.82rem;
}

.footer-bottom a {
  color: var(--highlight);
}

/* ---------- Page hero (About) ---------- */

.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--hero-bg);
  padding: 72px 0 80px;
  text-align: center;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero .eyebrow {
  color: var(--highlight);
}

.page-hero h1 {
  color: var(--hero-ink);
  font-size: clamp(2.3rem, 4.8vw, 3.5rem);
  max-width: 740px;
  margin: 10px auto 18px;
  line-height: 1.08;
}

.page-hero h1 span {
  color: var(--highlight);
}

.page-hero-sub {
  color: var(--on-dark-soft);
  font-size: 1.08rem;
  max-width: 640px;
  margin: 0 auto;
}

/* ---------- About: reader cards & builder panel ---------- */

.reader-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin: 34px 0 10px;
}

.reader-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px 28px;
}

article.post .reader-card h2 {
  font-size: 1.3rem;
  margin: 8px 0 10px;
}

article.post .reader-card p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin: 0;
}

.builder-panel {
  background: var(--surface-apricot);
  border: 1px solid var(--border);
  border-left: 4px solid var(--burnt-peach);
  border-radius: 12px;
  padding: 24px 28px;
  margin-top: 36px;
}

article.post .builder-panel h2 {
  font-size: 1.25rem;
  margin: 0 0 10px;
}

article.post .builder-panel p {
  margin: 0;
  font-size: 0.97rem;
}

/* ---------- Decorative blocks ---------- */

.mission,
main {
  position: relative;
}

.deco {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.deco-a {
  width: 120px;
  top: 48px;
  left: 4%;
}

.deco-b {
  width: 104px;
  bottom: 26px;
  right: 4.5%;
}

.deco-c {
  width: 116px;
  top: 64px;
  right: 3.5%;
}

.deco-d {
  width: 100px;
  bottom: 140px;
  left: 3.5%;
}

@media (max-width: 1080px) {
  .deco {
    display: none;
  }
}

/* ---------- Motion ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.card-grid .card.reveal:nth-child(2) {
  transition-delay: 0.1s;
}

.card-grid .card.reveal:nth-child(3) {
  transition-delay: 0.2s;
}

.stat-row .stat.reveal:nth-child(2) {
  transition-delay: 0.1s;
}

.stat-row .stat.reveal:nth-child(3) {
  transition-delay: 0.2s;
}

.band-cols div.reveal:nth-child(2) {
  transition-delay: 0.1s;
}

.band-cols div.reveal:nth-child(3) {
  transition-delay: 0.2s;
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(26px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }

  @keyframes bob {
    to {
      transform: translateY(-12px);
    }
  }

  @keyframes drift {
    to {
      transform: translate(26px, 18px) rotate(8deg);
    }
  }

  @keyframes ticker-scroll {
    to {
      transform: translateX(-50%);
    }
  }

  .hero-kicker { animation: rise 0.7s ease 0.05s both; }
  .hero h1 { animation: rise 0.7s ease 0.15s both; }
  .hero-sub { animation: rise 0.7s ease 0.25s both; }
  .hero-actions { animation: rise 0.7s ease 0.35s both; }
  .hero-proof { animation: rise 0.7s ease 0.45s both; }

  .hero-media {
    animation: rise 0.8s ease 0.3s both, bob 6s ease-in-out 1.4s infinite alternate;
  }

  .hero-shape {
    animation: drift 16s ease-in-out infinite alternate;
  }

  .deco {
    animation: bob 9s ease-in-out infinite alternate;
  }

  .deco-b,
  .deco-d {
    animation-delay: 2.5s;
  }

  @keyframes block-in {
    from {
      opacity: 0;
      transform: scale(0);
    }
    to {
      opacity: 1;
      transform: scale(1);
    }
  }

  @keyframes block-in-a {
    from {
      opacity: 0;
      transform: scale(0) rotate(12deg);
    }
    to {
      opacity: 1;
      transform: scale(1) rotate(12deg);
    }
  }

  @keyframes amber-idle {
    0%, 100% {
      transform: rotate(12deg);
    }
    50% {
      transform: rotate(22deg) translateY(-1.5px);
    }
  }

  .lb-m { animation: block-in 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) 0.05s both; }
  .lb-1 { animation: block-in 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) 0.14s both; }
  .lb-2 { animation: block-in 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) 0.23s both; }
  .lb-3 { animation: block-in 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) 0.32s both; }
  .lb-4 { animation: block-in 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) 0.41s both; }
  .lb-a {
    animation: block-in-a 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.55s both,
      amber-idle 5s ease-in-out 2s infinite;
  }

  .site-title:hover .lb-a {
    animation: none;
  }

  .ticker-track {
    animation: ticker-scroll 38s linear infinite;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 920px) {
  .hero-media {
    display: none;
  }

  .featured-split {
    grid-template-columns: 1fr;
  }

  .featured-img img {
    min-height: 0;
    height: 240px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .band-cols {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

@media (max-width: 600px) {
  .site-title {
    font-size: clamp(1rem, 4.5vw, 1.35rem);
    gap: clamp(6px, 1.8vw, 11px);
  }

  .site-header .container {
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    height: auto;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  nav.site-nav {
    gap: clamp(8px, 2.5vw, 16px);
  }

  nav.site-nav a {
    font-size: 0.84rem;
    white-space: nowrap;
  }

  nav.site-nav a.nav-cta {
    padding: 8px 12px;
    font-size: 0.78rem;
  }

  .hero {
    min-height: calc(100svh - 128px);
  }

  .hero-inner {
    padding: 56px 28px 72px;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  .post-lead-img {
    height: 220px;
  }

  .stat-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .reader-cards {
    grid-template-columns: 1fr;
  }

  .band-actions .btn {
    width: 100%;
    text-align: center;
  }

  .quick-answers {
    border-radius: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: -24px;
  }

  .mission {
    padding: 56px 0 48px;
  }

  .shape-b {
    display: none;
  }

  .featured h2 {
    font-size: 1.55rem;
  }

  article.post h1 {
    font-size: 1.6rem;
  }

  .footer-cols {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Parent and clinician editorial layout */
.hero { min-height: 0; }
.hero-inner { max-width: 1180px; padding: 92px 28px 100px; gap: 64px; }
.hero-copy { flex-basis: 650px; }
.hero h1 { font-size: clamp(2.65rem, 5.2vw, 4.9rem); max-width: 720px; }
.hero-sub { margin-bottom: 30px; }
.hero-media img { border-radius: 16px 100px 16px 100px; }
.hero-shape, .footer-giant, .ticker { display: none; }
.hero-kicker, .hero h1, .hero-sub, .hero-actions, .hero-proof, .hero-media, .lb { animation: none !important; }
.reveal, .reveal.in { opacity: 1; transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.search-form { display: flex; max-width: 590px; padding: 5px; background: var(--card-bg); border: 1px solid var(--border); border-radius: 10px; }
.search-form input { flex: 1; min-width: 0; padding: 14px 16px; border: 0; background: transparent; color: var(--ink); font: inherit; }
.search-form button { border: 0; border-radius: 7px; padding: 12px 24px; background: var(--burnt-peach); color: var(--button-ink); font: inherit; font-weight: 700; cursor: pointer; }
.search-form button:hover { background: var(--apricot-cream); }
.search-form :focus-visible { outline-color: var(--twilight-indigo); outline-offset: -3px; }
.home-main { padding: 0; }
.topic-strip { padding: 40px 0 0; }
.topic-strip .eyebrow { margin-bottom: 14px; }
.topic-chips { display: flex; flex-wrap: nowrap; gap: 10px; overflow-x: auto; padding: 4px 2px 12px; }
.topic-chips a { flex: 0 0 auto; white-space: nowrap; border: 1px solid var(--border); background: var(--card-bg); border-radius: 999px; padding: 9px 16px; color: var(--ink); font-size: .9rem; font-weight: 600; }
.topic-chips a:hover { background: var(--surface-teal); text-decoration: none; }
.topic-chips a[aria-current="true"],
.topic-chips a[aria-current="true"]:hover { background: var(--twilight-indigo); border-color: var(--twilight-indigo); color: var(--eggshell); }
.audience-section { padding: 76px 0 88px; }
.audience-section .section-head, .home-articles .section-head { max-width: 670px; }
.audience-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.audience-card { position: relative; display: block; padding: 32px; min-height: 208px; border: 1px solid var(--border); border-radius: 14px; background: var(--card-bg); color: var(--ink); }
.audience-card:nth-child(2) { background: var(--surface-teal); }
.audience-card:hover { text-decoration: none; border-color: var(--twilight-indigo); }
.audience-number { font-size: .75rem; font-weight: 700; letter-spacing: .1em; }
.audience-card h3 { font-size: 1.65rem; margin: 24px 0 8px; }
.audience-card p { color: var(--ink-soft); max-width: 330px; }
.audience-arrow { position: absolute; top: 26px; right: 30px; font-size: 1.5rem; }
.stat-row { text-align: center; padding-top: 78px; padding-bottom: 78px; }
.stat strong { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 12px; }
.stat a { display: inline-block; color: var(--ink); font-size: .875rem; text-decoration: underline; }
.home-articles { padding-top: 100px; padding-bottom: 90px; }
.card-grid, .card-grid-2 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card > a img { height: 190px; object-position: center top; }
.card h3 { font-size: 1.12rem; }
.card .meta-line { color: #4e5060; font-size: .875rem; }
.card .audience-tag { color: var(--ink-soft); font-size: .875rem; line-height: 1.4; margin-bottom: 10px; }
.card-accent { height: 108px; display: flex; align-items: flex-end; padding: 16px 22px; background: var(--surface-teal); color: var(--ink); font-family: var(--font-display); font-size: 2rem; }
.card:nth-child(3n+2) .card-accent { background: var(--surface-apricot); }
.card:nth-child(3n) .card-accent { background: color-mix(in srgb, var(--burnt-peach) 24%, var(--eggshell)); }
.card-body .read-link { margin-top: 18px; }
.all-articles-link { display: inline-block; margin-top: 32px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.quote-band blockquote { text-wrap: balance; }
.review-block { padding: 88px 0 100px; text-align: left; }
.review-block h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 8px 0 14px; }
.review-intro { max-width: 620px; color: var(--on-dark-soft); margin-bottom: 42px; }
.review-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.review-grid span { color: var(--apricot-cream); font-size: .8rem; font-weight: 700; }
.review-grid h3 { color: var(--hero-ink); font-size: 1.2rem; margin: 12px 0; }
.review-grid p { color: var(--on-dark-soft); font-size: .95rem; }
.standards-link { display: inline-block; margin-top: 42px; color: var(--apricot-cream); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.library-main { padding: 72px 0 100px; }
.library-topics { padding-bottom: 80px; }
.topic-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; }
.topic-item { background: var(--card-bg); border: 1px solid var(--border); border-radius: 10px; padding: 20px; scroll-margin-top: 145px; }
.topic-item h3 { font-size: 1.05rem; margin-bottom: 6px; }
.topic-item p { color: var(--ink-soft); font-size: .9rem; }
#topics, #library-articles { scroll-margin-top: 145px; }
#search-status { margin: 14px 0; font-size: .9rem; }
#search-status:empty { display: none; }
.library-main .search-form { margin-bottom: 28px; }
.archive-section { padding-top: 90px; }
@media (max-width: 920px) { .review-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .hero-inner { padding: 64px 28px 72px; }
  .hero h1 { font-size: clamp(2.4rem, 10vw, 3.2rem); }
  .audience-section { padding: 60px 0; }
  .audience-grid, .card-grid, .card-grid-2, .topic-list, .review-grid { grid-template-columns: 1fr; }
  .stat-row { gap: 36px; padding-top: 55px; padding-bottom: 55px; }
  .home-articles { padding-top: 72px; padding-bottom: 72px; }
  .library-main { padding-top: 58px; }
  .review-block { padding: 72px 0; }
}
@media (min-width: 601px) and (max-width: 760px) {
  .site-header .container { flex-direction: column; justify-content: center; gap: 10px; height: auto; padding-top: 14px; padding-bottom: 14px; }
  nav.site-nav a { white-space: nowrap; }
}
/* Optional outside expert quotation: populate the article template to display. */
.expert-insight { margin: 32px 0; padding: 24px 28px; background: var(--surface-teal); border-left: 4px solid var(--muted-teal); border-radius: 10px; }
article.post .expert-insight h2 { margin: 0 0 12px; }
.expert-insight blockquote { font-family: var(--font-display); font-size: 1.2rem; }
article.post .expert-insight p { margin: 12px 0 0; }
article.post .sources li { overflow-wrap: anywhere; }

/* Include this disclosure at the start of articles containing affiliate links. */
article.post .affiliate-disclosure {
  margin: 0 0 28px;
  padding: 16px 20px;
  border-left: 3px solid var(--burnt-peach);
  border-radius: 8px;
  background: var(--surface-apricot);
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.6;
}
.audience-tag { display: block; color: var(--ink-soft); font-size: .8rem; margin-top: 5px; }
article.post .audience-tag { margin: 4px 0 0; }
.topic-chips a[aria-current="true"] { background: var(--twilight-indigo); color: var(--eggshell); border-color: var(--twilight-indigo); }
.topic-chips a[aria-current="true"]:hover { background: var(--twilight-indigo); color: var(--eggshell); }
#sources { scroll-margin-top: 145px; }
.library-main #search-status + p { margin: 0 0 24px; }

/* Editorial design system */
:root {
  --ink:#1F2A37; --paper:#FBF8F3; --surface:#FFFFFF; --muted:#5B6472; --hairline:#E7E1D7;
  --teal:#0F4C5C; --coral:#E76F51; --autism:#5B7FD1; --aba:#2A9D8F; --speech:#E9A23B; --ot:#9B6BC2; --early:#E07A8B;
  --evidence-strong:#2A9D8F; --evidence-moderate:#E9A23B; --evidence-emerging:#9AA3AF;
  --font-display:'Fraunces',Georgia,serif; --font-body:'Inter',Arial,sans-serif; --font-mono:'IBM Plex Mono',monospace;
  --space-1:8px; --space-2:16px; --space-3:24px; --space-4:32px; --space-5:48px; --space-6:64px; --space-7:96px;
  --radius-card:14px; --radius-pill:999px; --editorial-shadow:0 1px 2px rgba(31,42,55,.06),0 8px 24px rgba(31,42,55,.06);
  --bg:var(--paper); --ink-soft:var(--muted); --ink-faint:var(--muted); --accent:var(--teal); --highlight:var(--teal); --button-bg:var(--coral); --button-ink:var(--ink); --hero-bg:var(--paper); --hero-ink:var(--ink); --border:var(--hairline); --card-bg:var(--surface); --surface-teal:#eaf4f2; --surface-apricot:#fbece7; --on-dark-soft:#eff6f4; --on-dark-muted:#eff6f4; --shadow-soft:var(--editorial-shadow);
  --page-width:1180px; --prose-width:68ch;
}
html { scroll-behavior:smooth; }
body { font-size:18px; line-height:1.65; background:var(--paper); color:var(--ink); }
h1,h2,h3 { font-family:var(--font-display); color:var(--ink); font-weight:600; line-height:1.17; }
h1 { font-size:clamp(2.5rem,4.4vw,3.5rem); letter-spacing:-.035em; }
h2 { font-size:clamp(2rem,3vw,2.25rem); letter-spacing:-.025em; }
h3 { font-size:1.5rem; letter-spacing:-.015em; }
h1 em,h2 em { font-style:italic; font-weight:500; }
a { color:var(--teal); }
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible { outline:2px solid var(--teal); outline-offset:4px; }
[hidden] { display:none !important; }
.wide-container,.container { width:100%; max-width:1180px; margin-inline:auto; padding-inline:28px; }
.prose-container { max-width:68ch; width:100%; margin-inline:auto; padding-inline:28px; }
.micro,.eyebrow,.pill,.meta-line,.audience-tag,.topic-article-type,.source-line { font-family:var(--font-mono); font-size:13px; letter-spacing:.06em; text-transform:uppercase; font-weight:500; }
.eyebrow,.pill { color:var(--teal); }
.micro,.meta-line,.audience-tag,.topic-article-type { color:var(--muted); }
.eyebrow-dot { display:inline-block; width:8px; height:8px; border-radius:50%; background:var(--early); vertical-align:middle; margin-right:7px; }
.button { display:inline-flex; align-items:center; justify-content:center; min-height:48px; padding:11px 22px; border:0; border-radius:var(--radius-pill); font:600 15px var(--font-body); cursor:pointer; }
.button-coral,.nav-cta { background:var(--coral); color:var(--ink); }
.button:disabled { cursor:not-allowed; opacity:.65; }
.button:not(:disabled):hover,.nav-cta:hover { background:#f19076; text-decoration:none; }
header.site-header { background:rgba(251,248,243,.97); border-top:0; border-bottom:1px solid var(--hairline); backdrop-filter:none; }
.site-header .container { max-width:1320px; height:76px; display:flex; flex-direction:row; justify-content:space-between; align-items:center; gap:24px; padding:0 28px; }
.site-title { font-size:1.14rem; line-height:1.1; gap:10px; color:var(--ink); flex-shrink:0; }
.site-title span { color:var(--teal); }
.logo-mark { width:30px; height:30px; }
nav.site-nav { display:flex; align-items:center; gap:25px; }
nav.site-nav a,nav.site-nav summary { color:var(--ink); font:500 14px var(--font-body); white-space:nowrap; }
nav.site-nav a:not(.nav-cta)::after { display:none; }
nav.site-nav a:hover { color:var(--teal); text-decoration:underline; text-underline-offset:5px; }
nav.site-nav a.nav-cta { font-weight:700; padding:12px 19px; background:var(--coral); color:var(--ink); transform:none; }
nav.site-nav a.nav-cta:hover { background:#f19076; transform:none; }
.nav-topics { position:relative; } .nav-topics summary { list-style:none; cursor:pointer; } .nav-topics summary::-webkit-details-marker { display:none; }
.nav-topics-menu { position:absolute; top:calc(100% + 14px); left:-20px; background:var(--surface); border:1px solid var(--hairline); border-radius:12px; box-shadow:var(--editorial-shadow); padding:10px; min-width:210px; z-index:60; }
.nav-topics-menu a { display:block; padding:10px 12px; }
.menu-toggle { border:1px solid var(--hairline); background:var(--surface); border-radius:var(--radius-pill); padding:10px 16px; color:var(--ink); font:600 14px var(--font-body); }
.nav-search { display:inline-flex; width:24px; height:24px; } .nav-search svg,.hero-search svg { width:22px; fill:none; stroke:currentColor; stroke-width:1.7; }
main { padding:0; } .home-editorial { overflow:hidden; }
.home-hero { background:var(--paper); border-bottom:1px solid var(--hairline); }
.hero-grid { display:grid; grid-template-columns:1.18fr .82fr; gap:64px; align-items:center; padding-block:84px 72px; }
.hero-editorial-copy h1 { margin:22px 0; max-width:740px; font-size:clamp(3rem,4.7vw,4.5rem); line-height:1.05; }
.hero-editorial-copy h1 em { color:var(--teal); }
.hero-deck { color:var(--muted); max-width:610px; font-size:1.1rem; margin-bottom:30px; }
.hero-search { display:flex; align-items:center; gap:12px; padding:6px 6px 6px 17px; background:var(--surface); border:1px solid var(--hairline); border-radius:var(--radius-pill); max-width:610px; box-shadow:var(--editorial-shadow); }
.hero-search svg { color:var(--teal); flex:none; } .hero-search input { border:0; background:transparent; min-width:0; flex:1; color:var(--ink); font:16px var(--font-body); }
.hero-search input:focus { outline:0; } .hero-search:focus-within { outline:2px solid var(--teal); outline-offset:3px; }
.search-hint { margin:13px 0 0; color:var(--muted); font-size:13px; }
.hero-art { background:#f6e6e6; border-radius:14px; padding:18px; transform:rotate(1deg); }
.hero-art img { display:block; width:100%; height:auto; border-radius:8px; }
.hero-art-label { display:flex; justify-content:space-between; padding:0 2px 12px; }
.hero-art p { font:italic 15px var(--font-display); color:var(--teal); padding:12px 2px 0; }
.hero-bottom { display:flex; align-items:center; gap:20px; padding-bottom:24px; } .hero-bottom .hero-line { flex:1; border-top:1px solid var(--hairline); }
.audience-editorial,.latest-editorial,.tools-editorial { padding-block:100px; }
.section-intro { display:flex; align-items:end; justify-content:space-between; gap:32px; margin-bottom:38px; }
.section-intro h2 { margin-top:12px; } .section-intro>p { max-width:400px; color:var(--muted); font-size:.93rem; }
.audience-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.audience-card { min-height:230px; padding:30px; background:var(--surface); border:1px solid var(--hairline); border-radius:var(--radius-card); position:relative; color:var(--ink); }
.audience-card:nth-child(2) { background:#eaf4f2; } .audience-card h3 { margin:18px 0 10px; } .audience-card p { max-width:410px; color:var(--muted); font-size:.91rem; }
.audience-icon { display:inline-grid; place-items:center; width:42px; height:42px; margin-right:12px; border:1px solid var(--teal); border-radius:50%; color:var(--teal); }
.audience-arrow { position:absolute; right:30px; top:28px; color:var(--teal); font-size:24px; }
.audience-card:hover,.topic-card:hover,.card:hover,.tool-preview:hover,.tool-card:hover { transform:translateY(-2px); box-shadow:var(--editorial-shadow); text-decoration:none; }
.audience-card,.topic-card,.card,.tool-preview,.tool-card { transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease; }
.topic-editorial { padding:100px 0; background:#f2ede5; } .topic-card-grid { display:grid; grid-template-columns:repeat(6,1fr); gap:18px; }
.topic-card { grid-column:span 2; border:1px solid var(--hairline); border-top:4px solid var(--topic-color); background:var(--surface); border-radius:var(--radius-card); overflow:hidden; }
.topic-card--autism { --topic-color:var(--autism); } .topic-card--aba-therapy { --topic-color:var(--aba); } .topic-card--speech-language { --topic-color:var(--speech); } .topic-card--ot-sensory { --topic-color:var(--ot); } .topic-card--early-development { --topic-color:var(--early); }
.topic-card-main { display:block; color:var(--ink); } .topic-card-main:hover { text-decoration:none; }
.topic-card-main img { display:block; width:100%; height:160px; object-fit:cover; }
.topic-card-copy { position:relative; padding:22px 24px 12px; } .topic-card-copy h3 { margin-top:8px; font-size:1.35rem; } .topic-card-arrow { position:absolute; right:24px; bottom:14px; font-size:22px; color:var(--teal); }
.topic-card ul { list-style:none; margin:0 24px 24px; } .topic-card li { padding:9px 0; border-bottom:1px solid var(--hairline); font-size:.8rem; } .topic-card li:last-child { border:0; } .topic-card li a { color:var(--ink); }
.card-grid,.card-grid-2,.topic-article-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.card { background:var(--surface); border:1px solid var(--hairline); border-top:4px solid var(--early); border-radius:var(--radius-card); overflow:hidden; display:flex; flex-direction:column; }
.card>a img { width:100%; height:185px; object-fit:cover; object-position:center top; }
.card:hover>a img { transform:none; }
.card-body { padding:24px; display:flex; flex-direction:column; flex:1; }
.card h3 { font-size:22px; line-height:1.25; margin:12px 0; } .card h3 a { color:var(--ink); }
.card .pill { display:inline-block; align-self:flex-start; background:#fbeef0; border-radius:var(--radius-pill); padding:5px 10px; font-size:11px; }
.card-summary,.card .excerpt { color:var(--muted); font-size:.85rem; line-height:1.5; margin:0 0 18px; }
.card .meta-line { font-size:11px; color:var(--muted); line-height:1.6; margin-top:auto; }
.card .audience-tag,.topic-article-type { display:block; margin-top:10px; font-size:10px; }
.evidence-unrated { color:var(--muted); font:500 11px var(--font-mono); margin-top:16px; }
.text-arrow,.read-link,.topic-all-articles { color:var(--teal); font-weight:700; font-size:15px; text-decoration:underline; text-underline-offset:5px; }
.card-body .read-link { margin-top:16px; }
.data-section { background:#eaf2f1; padding:100px 0 80px; }
.data-panel { display:grid; grid-template-columns:.9fr 1.1fr; gap:48px; align-items:center; padding:42px; background:var(--surface); border:1px solid var(--hairline); border-radius:var(--radius-card); }
.data-panel h3 { margin:16px 0; } .data-panel p:not(.micro):not(.source-line) { color:var(--muted); }
.data-panel svg { width:100%; height:auto; font:15px var(--font-mono); fill:var(--ink); } .source-line { margin-top:24px; color:var(--muted); font-size:11px; }
.stat-row { display:grid; grid-template-columns:repeat(3,1fr); gap:30px; text-align:center; padding:58px 0 0; } .stat strong { display:block; color:var(--ink); font:600 23px var(--font-display); margin-bottom:8px; } .stat a { font:13px var(--font-mono); text-decoration:underline; }
.tool-preview-grid,.tool-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; } .tool-preview,.tool-card { position:relative; display:block; color:var(--ink); padding:28px; border:1px solid var(--hairline); border-radius:var(--radius-card); background:var(--surface); }
.tool-preview h3,.tool-card h2 { font-size:1.3rem; margin:24px 0 10px; } .tool-preview p,.tool-card p { color:var(--muted); font-size:.85rem; } .tool-preview>span:last-child { position:absolute; top:25px; right:25px; color:var(--teal); }
.review-editorial { background:var(--teal); color:var(--paper); padding:100px 0; } .review-editorial h2,.review-editorial h3,.review-editorial a,.review-editorial .eyebrow { color:var(--paper); } .review-editorial .section-intro>p,.review-editorial p { color:#e6efed; }
.review-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:28px; margin:45px 0; } .review-grid>div>span { display:grid; place-items:center; width:40px; height:40px; border:1px solid #9dc1bc; border-radius:50%; color:var(--paper); }
.review-grid h3 { font-size:1.15rem; margin:22px 0 10px; } .review-grid p { font-size:.85rem; }



footer.site-footer { background:var(--ink); color:var(--paper); border:0; padding:68px 0 32px; } .footer-cols { grid-template-columns:2fr 1fr 1fr 1fr; gap:36px; } .footer-cols h3 { color:#d0dcda; font:600 12px var(--font-mono); } .footer-cols p,.footer-cols a,.footer-bottom { color:#eff3f1; font-size:14px; } .footer-cols a:hover { color:var(--paper); } .footer-bottom { border-top:1px solid #65706e; margin-top:40px; }
.page-hero { background:#eaf2f1; padding:75px 0; } .page-hero h1 { color:var(--ink); } .page-hero h1 span { color:var(--teal); } .page-hero .eyebrow { color:var(--teal); } .page-hero-sub { color:var(--muted); }
.library-main { padding:80px 0 100px; } .library-topics { padding-bottom:70px; } .topic-chips { gap:10px; } .topic-chips a { font-size:14px; background:var(--surface); border-color:var(--hairline); } .topic-chips a[aria-current="true"] { background:var(--teal); color:white; border-color:var(--teal); }
.topic-list { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; } .topic-item { background:var(--surface); border-color:var(--hairline); } .topic-item h3 { font-size:1.1rem; }
.search-form { background:var(--surface); border:1px solid var(--hairline); border-radius:var(--radius-pill); } .search-form button { border-radius:var(--radius-pill); background:var(--coral); color:var(--ink); } .search-form button:hover { background:#f19076; }
.topic-hero { background:color-mix(in srgb,var(--topic-color) 10%,var(--paper)); padding:70px 0; } .topic-hub--autism { --topic-color:var(--autism); } .topic-hub--aba-therapy { --topic-color:var(--aba); } .topic-hub--speech-language { --topic-color:var(--speech); } .topic-hub--ot-sensory { --topic-color:var(--ot); } .topic-hub--early-development { --topic-color:var(--early); }
.topic-hero-inner { display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:50px; } .topic-hero-inner h1 { margin:20px 0; } .topic-hero-inner p { color:var(--ink); max-width:580px; } .topic-hero-art { width:100%; max-height:320px; object-fit:contain; border-radius:var(--radius-card); }
.topic-back { display:inline-block; font-size:14px; margin-bottom:20px; } .topic-content { padding-block:80px; } .topic-start,.topic-questions,.topic-library { margin-bottom:70px; } .topic-start-card,.topic-empty { background:var(--surface); border:1px solid var(--hairline); border-radius:var(--radius-card); padding:28px; }
.topic-start h2,.topic-questions h2,.topic-library h2 { margin-bottom:20px; } .topic-questions ul,.topic-questions ol { margin-left:24px; } .topic-questions li { margin:12px 0; }
.topic-filters { display:flex; flex-wrap:wrap; gap:16px; align-items:end; margin:25px 0; } .topic-filters label,.milestone-panel label { display:block; font-size:14px; font-weight:600; } .topic-filters select,.milestone-panel select { display:block; margin-top:8px; padding:12px; border:1px solid var(--hairline); border-radius:8px; background:var(--surface); color:var(--ink); font:15px var(--font-body); } .topic-filters button { background:var(--teal); color:white; padding:13px 20px; border:0; border-radius:var(--radius-pill); }
.topic-filter-status { font-size:14px; margin-bottom:20px; } .topic-all-articles { display:inline-block; margin-top:26px; }
.tool-hero { padding:70px 0; background:#eaf2f1; } .tool-hero h1 { margin:15px 0; } .tool-content { padding-block:75px 100px; } .tool-intro { max-width:720px; margin-bottom:30px; } .tool-status { font:12px var(--font-mono); text-transform:uppercase; color:var(--teal); } .tool-notice { padding:20px; background:#fbece7; border-left:4px solid var(--coral); margin-bottom:28px; } .milestone-panel { max-width:780px; padding:32px; background:var(--surface); border:1px solid var(--hairline); border-radius:var(--radius-card); } .milestone-checklist { margin-top:32px; } .milestone-checklist h2 { font-size:1.5rem; }
.article-main { padding:0 0 90px; } .article-progress { position:sticky; top:76px; z-index:45; width:100%; height:4px; display:block; border:0; color:var(--teal); background:var(--hairline); } .article-progress::-webkit-progress-bar { background:var(--hairline); } .article-progress::-webkit-progress-value { background:var(--teal); } .article-progress::-moz-progress-bar { background:var(--teal); }
.article-layout { max-width:1300px; display:grid; grid-template-columns:230px minmax(0,1fr) 130px; gap:30px; margin:0 auto; padding:60px 28px 0; } .article-layout>.prose-container { max-width:68ch; padding:0; }
.article-toc { position:sticky; top:110px; align-self:start; font-size:13px; color:var(--muted); } .article-toc summary { font:600 12px var(--font-mono); text-transform:uppercase; letter-spacing:.06em; cursor:pointer; } .article-toc ol { list-style:none; margin:14px 0; } .article-toc li { margin:10px 0; } .article-toc a { color:var(--muted); }
.article-breadcrumb { font:12px var(--font-mono); color:var(--muted); margin-bottom:22px; } .article-breadcrumb a { color:var(--teal); } .back-link { margin:0 0 20px; color:var(--muted); }
article.post header.post-header { margin-bottom:30px; } article.post h1 { font-size:clamp(2.4rem,4vw,3.5rem); margin:18px 0 22px; }
.article-short-answer { font:500 1.2rem/1.5 var(--font-display); color:var(--ink); } .article-answer-label { display:block; font:600 12px var(--font-mono); text-transform:uppercase; letter-spacing:.06em; color:var(--teal); margin-bottom:8px; }
.byline { margin-top:25px; padding-bottom:25px; border-color:var(--hairline); } .byline .who { font:13px/1.6 var(--font-mono); color:var(--muted); }
.article-hero-illustration { background:#fbeef0; border-radius:var(--radius-card); margin-bottom:35px; overflow:hidden; } .article-hero-illustration img { display:block; width:100%; height:auto; aspect-ratio:16 / 9; object-fit:cover; object-position:center top; }
.article-view-switch { display:flex; gap:8px; align-items:center; flex-wrap:wrap; margin-bottom:20px; } .article-view-switch>span { font:12px var(--font-mono); color:var(--muted); margin-right:8px; } .article-view-switch button { border:1px solid var(--hairline); background:white; border-radius:var(--radius-pill); padding:10px 15px; color:var(--ink); } .article-view-switch button[aria-pressed="true"] { background:var(--teal); color:white; }
.article-reading-guide,.article-key-takeaways,.article-checklist { border:1px solid var(--hairline); border-radius:var(--radius-card); padding:25px; margin:28px 0; background:var(--surface); }
.article-key-takeaways { border-left:4px solid var(--early); } article.post .article-reading-guide h2,article.post .article-key-takeaways h2 { margin:0 0 14px; font-size:1.3rem; }
.article-rating-note { font:12px/1.5 var(--font-mono); color:var(--muted); }
article.post h2 { font-size:1.5rem; line-height:1.25; margin:48px 0 18px; scroll-margin-top:120px; } article.post h3 { font-size:1.2rem; } article.post p,article.post li { line-height:1.75; } article.post p { margin-bottom:22px; }
article.post p a,article.post li a { text-decoration:underline; text-decoration-color:var(--early); text-underline-offset:3px; }
.article-citation { position:relative; display:inline-flex; gap:1px; align-items:baseline; } .article-citation-trigger { border:0; background:transparent; color:var(--teal); cursor:pointer; font-size:12px; } .article-citation-popover { position:absolute; z-index:40; left:0; bottom:100%; width:min(320px,75vw); padding:12px; background:var(--ink); color:white; border-radius:8px; box-shadow:var(--editorial-shadow); font:13px/1.5 var(--font-body); }
.article-checklist { background:#eaf4f2; } .article-checklist ul { list-style:none; margin:0 !important; } .article-checklist li { margin:10px 0; } .article-checklist label { display:flex; gap:10px; align-items:baseline; } .article-print { border:1px solid var(--teal); background:transparent; border-radius:var(--radius-pill); padding:10px 16px; color:var(--teal); cursor:pointer; }
.callout { color:var(--ink); border-left:3px solid var(--teal); background:#eaf4f2; padding:18px; border-radius:6px; }
.sources { border-top:1px solid var(--hairline); margin-top:40px; } .sources li { overflow-wrap:anywhere; font-size:.85rem; }
.related { margin-top:55px; } .related h2 { font:600 14px var(--font-mono); color:var(--teal); } .related-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; } .related-card { border:1px solid var(--hairline); background:white; padding:18px; border-radius:12px; } .related-card:last-child { border-bottom:1px solid var(--hairline); } .related-card strong { font-size:1rem; } .related-card img { display:block; width:100%; height:auto; aspect-ratio:16 / 9; object-fit:cover; object-position:center top; border-radius:6px; margin-bottom:14px; }

.expert-insight { background:#eaf4f2; border-color:var(--teal); } .affiliate-disclosure { background:#fbece7; }
@media (max-width:1050px) { .site-header .container { gap:12px; } nav.site-nav { gap:14px; } .article-layout { grid-template-columns:180px minmax(0,1fr); } }
@media (max-width:850px) {
  .site-header .container { height:auto; min-height:72px; flex-wrap:wrap; padding:14px 20px; } .menu-toggle:not([hidden]) { display:block; margin-left:auto; } .site-header.menu-ready nav.site-nav { display:none; } .site-header.menu-ready.menu-open nav.site-nav { display:flex; } nav.site-nav { flex-basis:100%; align-items:stretch; flex-direction:column; gap:0; } nav.site-nav>a,nav.site-nav summary { display:block; padding:12px 0; } nav.site-nav a.nav-cta { align-self:flex-start; padding:12px 20px; margin-top:8px; } .nav-topics-menu { position:static; box-shadow:none; margin:8px 0; } .nav-search { width:auto; height:auto; }
  .hero-grid { grid-template-columns:1fr; gap:36px; padding-block:64px; } .hero-art { max-width:530px; } .topic-card-grid { grid-template-columns:repeat(2,1fr); } .topic-card { grid-column:auto; } .review-grid { grid-template-columns:repeat(2,1fr); } .article-layout { display:block; padding-top:30px; } .article-toc { position:static; margin:0 auto 30px; max-width:68ch; border:1px solid var(--hairline); border-radius:10px; padding:15px; } .article-toc details:not([open]) ol { display:none; } .footer-cols { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:600px) {
  body { font-size:17px; } .wide-container,.container { padding-inline:20px; } .hero-grid { padding-block:52px; } .hero-editorial-copy h1 { font-size:40px; } .hero-editorial-copy h1 br { display:none; } .hero-search { border-radius:16px; } .hero-search .button { padding-inline:16px; }
  .hero-bottom .micro:last-child { display:none; } .audience-editorial,.latest-editorial,.tools-editorial,.topic-editorial,.data-section,.review-editorial { padding-block:65px; } .section-intro { display:block; } .section-intro>p,.section-intro>.text-arrow { display:block; margin-top:16px; }
  .audience-grid,.topic-card-grid,.card-grid,.card-grid-2,.topic-article-grid,.tool-preview-grid,.tool-grid,.review-grid,.data-panel,.topic-hero-inner,.related-grid { grid-template-columns:1fr; }
  .topic-card-main img { height:160px; } .data-panel { padding:24px; gap:25px; } .stat-row { grid-template-columns:1fr; gap:30px; }
  .topic-list { grid-template-columns:1fr; } .topic-hero { padding:50px 0; } .topic-content { padding-block:55px; } .article-layout { padding-inline:20px; } .article-progress { top:72px; } article.post h1 { font-size:40px; } .footer-cols { grid-template-columns:1fr 1fr; gap:28px; } .footer-cols>div:first-child { grid-column:1/-1; }
}
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto !important; animation-duration:.01ms !important; transition-duration:.01ms !important; } }
@media print { .site-header,.article-progress,.article-toc,.article-view-switch,.article-print,.related,.site-footer { display:none !important; } .article-layout { display:block; padding:0; } }
@media (min-width:851px) { .menu-toggle { display:none !important; } }
.hero-editorial-copy h1 { font-size:clamp(40px,4vw,56px); line-height:1.14; }
.editorial-quote { font:italic 1.25rem/1.5 var(--font-display); margin:0 0 22px; color:var(--paper); }
.topic-article-grid .card { border-top-color:var(--topic-color,var(--early)); }
.topic-start-card { display:block; color:var(--ink); } .topic-start-card h3 { margin:12px 0; } .topic-start-card p { margin-bottom:15px; }
@media print {
  .article-layout > .prose-container > :not(article.post) { display:none !important; }
  article.post > :not(.article-checklist) { display:none !important; }
  .article-checklist { display:block; border:0; padding:0; margin:0; background:white; }
  .article-checklist::before { content:"Questions to ask your healthcare provider"; display:block; font:600 20pt Georgia,serif; margin-bottom:20px; }
}
.hero-editorial-copy,.hero-art { min-width:0; }
@media (max-width:850px) { .hero-grid { grid-template-columns:minmax(0,1fr); } }
@media (max-width:600px) { .site-header .site-title { font-size:clamp(12px,3.9vw,15px); gap:6px; } .site-header .logo-mark { width:25px; height:25px; } .menu-toggle { padding:10px 12px; } }
.evidence-badge { display:inline-flex; gap:6px; align-items:center; padding:4px 9px; border-radius:var(--radius-pill); color:var(--ink); font:600 12px var(--font-mono); }
.evidence-badge--strong { background:color-mix(in srgb,var(--evidence-strong) 15%,white); } .evidence-badge--moderate { background:color-mix(in srgb,var(--evidence-moderate) 17%,white); } .evidence-badge--emerging { background:color-mix(in srgb,var(--evidence-emerging) 20%,white); }
.article-key-takeaways li .evidence-unrated { display:inline-block; border:1px solid var(--hairline); border-radius:var(--radius-pill); padding:2px 8px; margin:4px 0 0 6px; vertical-align:middle; }
.article-citation-popover { left:auto; right:0; }
@media (max-width:600px) { .article-citation-popover { position:fixed; left:20px; right:20px; bottom:20px; width:auto; } }
.card-summary { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.review-editorial :focus-visible,.site-footer :focus-visible { outline-color:var(--paper); }
.menu-toggle { min-height:44px; }
nav.site-nav a,nav.site-nav summary,.topic-chips a { min-height:44px; }
.topic-chips a { display:inline-flex; align-items:center; }
.article-citation-trigger { position:relative; min-width:26px; min-height:26px; padding:0 4px; font-size:14px; }
.article-citation-trigger::before { content:""; position:absolute; inset:-6px; }
@media (min-width:851px) { nav.site-nav > a, nav.site-nav .nav-topics > summary { display:inline-flex; align-items:center; } nav.site-nav .nav-topics > summary { gap:4px; } }
.data-panel-example { margin-top:20px; }
.data-panel .chart-label { display:flex; justify-content:space-between; gap:12px; font-size:15px; color:var(--ink) !important; margin:0 0 10px; }
.data-panel .chart-detail { font:13px/1.6 var(--font-mono); color:var(--muted); margin-top:14px; }
.example-bars { display:grid; gap:16px; }
.bar-row { display:grid; grid-template-columns:24px minmax(0,1fr) 36px; gap:10px; align-items:center; font:14px var(--font-mono); color:var(--ink); }
.bar-row svg { display:block; width:100%; height:auto; }

.keep-reading-home { padding-block:100px; }
@media (max-width:600px) { .keep-reading-home { padding-block:65px; } }

/* Shared reading logo: outlined artwork keeps the wordmark consistent. */
.site-header .site-title { min-width:0; gap:0; }
.site-header .brand-logo { display:block; width:220px; max-width:100%; height:auto; flex-shrink:0; }
.footer-brand { display:inline-block; width:220px; max-width:100%; margin-bottom:20px; }
.footer-brand img { display:block; width:100%; height:auto; }
@media (max-width:850px) {
  .site-header .brand-logo { width:190px; }
  .site-header .container { padding-block:9px; }
}

/* Center incomplete homepage rows while retaining equal-width, stretched cards. */
.topic-card-grid, .latest-editorial .card-grid {
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:stretch;
}
.topic-card-grid > .topic-card { flex:0 0 calc((100% - 36px) / 3); min-width:0; }
.latest-editorial .card-grid > .card { flex:0 0 calc((100% - 44px) / 3); min-width:0; }

/* Topic metadata controls the border, including during hover. Hub cards can
   inherit their hub color until they receive per-article topic metadata. */
.card, .related-card { --card-topic-color:var(--topic-color, var(--early)); }
:is(.card, .related-card)[data-topics~="autism"] { --card-topic-color:var(--autism); }
:is(.card, .related-card)[data-topics~="aba-therapy"] { --card-topic-color:var(--aba); }
:is(.card, .related-card)[data-topics~="speech-language"] { --card-topic-color:var(--speech); }
:is(.card, .related-card)[data-topics~="ot-sensory"] { --card-topic-color:var(--ot); }
:is(.card, .related-card)[data-topics~="early-development"] { --card-topic-color:var(--early); }
.card, .card:hover, .topic-article-grid .card, .topic-article-grid .card:hover {
  border-top-color:var(--card-topic-color);
}
.related-card { border-top:4px solid var(--card-topic-color); }

.card-summary, .card .excerpt {
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  overflow:hidden;
  white-space:normal;
  text-overflow:clip;
}

@media (max-width:850px) {
  .topic-card-grid > .topic-card { flex-basis:calc((100% - 18px) / 2); }
  .latest-editorial .card-grid > .card { flex-basis:calc((100% - 22px) / 2); }
}
@media (max-width:600px) {
  .topic-card-grid > .topic-card, .latest-editorial .card-grid > .card { flex-basis:100%; }
}
