/*
Theme Name: Stapoo
Theme URI: https://stapoo.in
Author: Built for Prachi Srivastava
Description: Bespoke theme for Stapoo, a child, teen and parent counselling
  practice in Noida. Marketing pages are page templates so the approved design
  stays intact; blog posts are ordinary WordPress posts.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
License: Proprietary - commissioned work
Text Domain: stapoo
*/

/* ============================================================
   Stapoo — Motion preview
   Warm Sky tokens + Framer Motion-style animation system
   ============================================================ */

:root {
  /* Palette (May 2026 v2): sand removed.
     Structure now comes from white surfaces + neutral borders + the
     two dark/coral bands (.about, .workshops, .takeaways, .newsletter, .test--featured). */
  --primary:      #2F6FE5;
  --primary-dark:  #1E4FB8;
  --accent:       #F26C4F;
  --accent-soft:  #FFE3D8;   /* tint of accent, kept for accent cards */
  --ink:          #1A1F2C;
  --slate:        #5A6478;
  --line:         #ECECEC;   /* neutral light gray (was sand-tinted #E6E2D8) */
  --white:        #FFFFFF;

  --font-h: "Vollkorn", Georgia, serif;
  --font-b: "Albert Sans", system-ui, sans-serif;

  --r-sm: 6px; --r-md: 12px; --r-lg: 20px; --r-xl: 28px; --r-pill: 9999px;
  --sh-sm: 0 1px 2px rgba(26,31,44,0.06);
  --sh-md: 0 6px 16px rgba(26,31,44,0.08);
  --sh-lg: 0 24px 48px rgba(26,31,44,0.12);

  /* Spring easing — approximation of Framer Motion spring(1, 80, 10) */
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --max-w: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1,h2,h3,h4 { font-family: var(--font-h); font-weight: 500; line-height: 1.12; margin: 0; }
p { margin: 0; }
ul,ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
img { max-width: 100%; display: block; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: var(--white);
  padding: 12px 24px; border-radius: 0 0 var(--r-md) var(--r-md);
  font-size: 0.875rem;
}
.skip:focus { left: 16px; }

/* ---- Focus visible ---- */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
[role="button"]:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* ---- Shared ---- */
.eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 12px;
}
.eyebrow--light { color: var(--accent-soft); }
.eyebrow--coral { color: var(--accent); }
.eyebrow--on-accent { color: rgba(255,255,255,0.85); }

.section-head { margin-bottom: 48px; max-width: 640px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-sub { font-size: 1.0625rem; color: var(--slate); margin-top: 8px; }

/* ============================================================
   BUTTONS — min 44px touch, spring hover
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 12px 24px;
  border-radius: var(--r-pill);
  font-weight: 500; font-size: 0.9375rem;
  cursor: pointer; border: none;
  transition: transform 0.35s var(--spring), box-shadow 0.3s var(--smooth), background 0.2s;
  will-change: transform;
}
.btn:active { transform: scale(0.96); transition-duration: 0.1s; }
.btn--primary { background: var(--primary); color: var(--white); box-shadow: var(--sh-sm); }
.btn--primary:hover { background: var(--primary-dark); transform: translateY(-2px) scale(1.02); box-shadow: var(--sh-md); }
.btn--secondary { background: var(--accent-soft); color: var(--accent); }
.btn--secondary:hover { background: var(--accent); color: var(--white); transform: translateY(-2px); }
.btn--ghost-light { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.3); min-height: 44px; }
.btn--ghost-light:hover { background: rgba(255,255,255,0.1); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: #000; transform: translateY(-2px); }
.btn--lg { padding: 16px 32px; font-size: 1.0625rem; min-height: 52px; }
.btn--nav { padding: 8px 20px; font-size: 0.8125rem; min-height: 40px; }

/* ============================================================
   ANIMATION SYSTEM — Framer Motion-style
   ============================================================ */

/* --- Scroll reveal (fade + spring translateY) --- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s var(--smooth), transform 0.7s var(--spring);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Image reveal (clip-path wipe) --- */
.reveal-image {
  overflow: hidden;
  border-radius: var(--r-xl);
}
.reveal-image img {
  opacity: 0;
  transform: scale(1.15);
  transition: opacity 0.8s var(--smooth), transform 1.2s var(--smooth);
  will-change: opacity, transform;
}
.reveal-image.is-visible img {
  opacity: 1;
  transform: scale(1);
}

/* --- Stagger children (set by JS via --stagger-i) --- */
.stagger > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.5s var(--smooth), transform 0.65s var(--spring);
  will-change: opacity, transform;
}
.stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}
.stagger.is-visible > *:nth-child(1) { transition-delay: 0ms; }
.stagger.is-visible > *:nth-child(2) { transition-delay: 80ms; }
.stagger.is-visible > *:nth-child(3) { transition-delay: 160ms; }
.stagger.is-visible > *:nth-child(4) { transition-delay: 240ms; }
.stagger.is-visible > *:nth-child(5) { transition-delay: 320ms; }

/* --- Hover lift (spring scale + shadow) --- */
.hover-lift {
  transition: transform 0.4s var(--spring), box-shadow 0.3s var(--smooth);
  will-change: transform;
}
.hover-lift:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--sh-lg);
}
.hover-lift:active {
  transform: translateY(-2px) scale(0.99);
  transition-duration: 0.15s;
}

/* --- Parallax (set by JS via --parallax) --- */
.parallax-target {
  will-change: transform;
  transition: transform 0.05s linear;
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  .reveal, .stagger > *, .reveal-image img, .hover-lift, .parallax-target {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ============================================================
   NAV — sticky glass, spring transition
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 24px;
  padding: 12px var(--gutter);
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--smooth), border-color 0.4s var(--smooth), box-shadow 0.4s var(--smooth);
}
.nav.is-scrolled {
  background: rgba(255,255,255,0.92);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 8px rgba(26,31,44,0.05);
}
.nav__brand {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-h); font-size: 1.25rem; font-weight: 500;
  min-height: 44px;
}
.nav__links {
  display: flex; gap: 24px; margin-right: auto;
  font-size: 0.875rem; color: var(--slate);
}
.nav__links a {
  min-height: 44px; display: inline-flex; align-items: center;
  position: relative;
  transition: color 0.2s;
}
.nav__links a::after {
  content: "";
  position: absolute; bottom: 8px; left: 0; right: 0;
  height: 2px; border-radius: 1px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.35s var(--spring);
}
.nav__links a:hover { color: var(--primary); }
.nav__links a:hover::after { transform: scaleX(1); }

/* Mobile menu — button is hidden on desktop, revealed at 960px */
.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: none; border: 1px solid var(--line);
  border-radius: var(--r-md);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.nav__toggle:hover { border-color: var(--ink); }
.nav__toggle-bars {
  position: relative;
  width: 18px; height: 12px;
}
.nav__toggle-bars span {
  position: absolute; left: 0;
  display: block; width: 100%; height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s var(--spring), opacity 0.2s var(--smooth);
}
.nav__toggle-bars span:nth-child(1) { top: 0; }
.nav__toggle-bars span:nth-child(2) { top: 5px; }
.nav__toggle-bars span:nth-child(3) { top: 10px; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bars span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.nav__drawer { display: none; }
.nav__scrim { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  padding: 80px var(--gutter) 96px;
  max-width: var(--max-w);
  margin: 0 auto;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  letter-spacing: -0.025em;
  margin: 8px 0 24px;
}
.hero h1 em { font-style: italic; color: var(--primary); }
.split-line { display: block; }
.hero__lede {
  font-size: 1.0625rem; max-width: 48ch;
  margin-bottom: 32px; color: var(--slate); line-height: 1.7;
}
.hero__micro { font-size: 0.8125rem; color: var(--slate); margin-top: 12px; }
.hero__media { position: relative; }
.hero__img-wrap {
  background: var(--white);
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 3/4; /* matches portrait photo (e.g. winter-fog 1200x1600) */
}
.hero__media > .hero__img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: var(--r-xl);
}
.hero__trust {
  display: flex; align-items: center; gap: 16px;
  padding-top: 24px; border-top: 1px solid var(--line); margin-top: 32px;
}
.hero__trust p { font-size: 0.875rem; color: var(--slate); }
.hero__trust strong { color: var(--ink); }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust {
  background: var(--white);
  padding: 24px var(--gutter);
  display: flex; align-items: baseline; gap: 20px 48px;
  flex-wrap: wrap;
  justify-content: center;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.trust > p { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--slate); white-space: nowrap; }
.trust ul { display: flex; gap: 20px 32px; flex-wrap: wrap; justify-content: center; max-width: var(--max-w); font-family: var(--font-h); font-size: 1rem; color: var(--ink); opacity: 0.6; }

/* ============================================================
   BENTO PAIN POINTS
   ============================================================ */
.pain {
  padding: 96px var(--gutter);
  max-width: var(--max-w);
  margin: 0 auto;
}
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;       /* every row equal height — kills dead space */
  gap: 20px;
}
.bento__card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--sh-sm);  /* subtle lift on white sections */
}
.bento__card h3 {
  font-size: 1.0625rem;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.bento__card p {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--slate);
  /* Text hugs its heading; leftover space pools uniformly at the card bottom.
     (margin-top:auto here pushed copy to the bottom edge, opening uneven gaps
     mid-card whenever a heading ran one line shorter than its neighbours.) */
}

.bento__icon {
  width: 44px; height: 44px;
  background: rgba(47,111,229,0.06); /* soft tinted bg replaces the border-only chip */
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.bento__card:nth-child(even) .bento__icon { background: rgba(242,108,79,0.08); }

/* Legacy variants kept for components that may still use them; pain section no longer does. */
.bento__card--wide { grid-column: span 2; }
.bento__card--wide .bento__img-wrap {
  border-radius: var(--r-md);
  margin-bottom: 16px;
  overflow: hidden;
  background: var(--white);
  aspect-ratio: 32/15;
}
.bento__card--wide img { width: 100%; height: 100%; object-fit: cover; }
.bento__card--accent {
  background: var(--accent-soft);
  border-color: transparent;
}
.bento__card--accent h3 { color: var(--accent); }

/* ============================================================
   PROCESS
   ============================================================ */
.process {
  background: var(--white);
  padding: 96px var(--gutter);
}
.process .section-head, .process .steps {
  max-width: var(--max-w);
  margin-left: auto; margin-right: auto;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.steps li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--sh-sm);
}
.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  font-family: var(--font-h); font-size: 0.875rem; font-weight: 600;
  color: var(--accent); background: var(--accent-soft);
  border-radius: 50%; margin-bottom: 16px;
}
.steps h3 { margin-bottom: 8px; }
.steps p { font-size: 0.875rem; color: var(--slate); max-width: 30ch; }

/* ============================================================
   ABOUT (dark)
   ============================================================ */
.about {
  background: var(--ink); color: var(--white);
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 48px; padding: 96px var(--gutter);
  align-items: center;
}
.about__media .reveal-image {
  background: rgba(255,255,255,0.05);
  aspect-ratio: 4/3; /* landscape for tea-garden, portrait-indoor (1600x1200) */
}
.about__media img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: var(--r-xl);
}
.about h2 { color: var(--white); margin-bottom: 24px; }
.about p { color: rgba(255,255,255,0.75); margin-bottom: 16px; max-width: 52ch; }
.about__stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; padding: 32px 0;
  margin: 16px 0 24px;
  border-top: 1px solid rgba(255,255,255,0.15);
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.about__stats strong {
  display: inline;
  font-family: var(--font-h); font-size: 2.5rem;
  color: var(--accent); font-weight: 500; line-height: 1;
}
.about__stats span { font-family: var(--font-h); font-size: 2.5rem; color: var(--accent); font-weight: 500; }
.about__stats p { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.55); margin-top: 8px; }

/* ============================================================
   PARENT COACHING
   ============================================================ */
.parent {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; padding: 96px var(--gutter);
  max-width: var(--max-w); margin: 0 auto;
  align-items: center;
}
.parent h2 { margin-bottom: 16px; }
.parent > div > p { margin-bottom: 24px; max-width: 48ch; color: var(--slate); }
.checks { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.checks li { display: flex; align-items: center; gap: 12px; font-size: 0.9375rem; color: var(--ink); }
.checks svg { flex-shrink: 0; }
.parent__media {
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--white);
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.parent__media img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  background: var(--white);
  padding: 96px var(--gutter);
}
.test-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 24px; max-width: var(--max-w); margin: 0 auto;
}
.test {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 32px;
  margin: 0; display: flex; flex-direction: column;
  box-shadow: var(--sh-sm);
}
.test blockquote {
  margin: 0 0 24px;
  font-family: var(--font-h); font-size: 1.125rem;
  line-height: 1.45; color: var(--ink); font-style: italic; flex: 1;
}
.test figcaption {
  display: flex; align-items: center; gap: 12px;
  padding-top: 16px; border-top: 1px solid var(--line);
}
.test figcaption img {
  width: 44px; height: 44px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--line);
}
.test figcaption strong { display: block; font-family: var(--font-h); font-size: 0.9375rem; color: var(--ink); }
.test figcaption span { font-size: 0.75rem; color: var(--slate); }

/* ============================================================
   WORKSHOPS (Coral)
   ============================================================ */
.workshops {
  background: var(--accent); color: var(--white);
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 48px;
  padding: 64px var(--gutter);
}
.workshops h2 { color: var(--white); margin-bottom: 16px; }
.workshops p { color: rgba(255,255,255,0.85); max-width: 48ch; margin-bottom: 24px; }
.workshops > .reveal-image {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: rgba(255,255,255,0.15);
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.workshops img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--r-md);
}

/* ============================================================
   FAQ — smooth height animation (Framer Motion layoutId feel)
   ============================================================ */
.faq {
  padding: 96px var(--gutter);
  max-width: var(--max-w); margin: 0 auto;
}
.faq__list { display: flex; flex-direction: column; gap: 12px; max-width: 720px; }
.faq__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: box-shadow 0.3s var(--smooth);
}
.faq__item[open] { box-shadow: var(--sh-sm); }
.faq__item summary {
  font-family: var(--font-h); font-size: 1.0625rem;
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  color: var(--ink); min-height: 56px;
  padding: 16px 24px;
  transition: color 0.2s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  width: 20px; height: 20px; flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none'%3E%3Cpath d='M10 4v12M4 10h12' stroke='%232F6FE5' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform 0.4s var(--spring);
}
.faq__item[open] summary::after {
  transform: rotate(45deg);
}
/* Smooth height via grid trick */
.faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--smooth);
}
.faq__item[open] .faq__answer {
  grid-template-rows: 1fr;
}
.faq__answer > p {
  overflow: hidden;
  padding: 0 24px;
  font-size: 0.9375rem; color: var(--slate);
  max-width: 56ch;
  transition: padding 0.4s var(--smooth);
}
.faq__item[open] .faq__answer > p {
  padding: 0 24px 20px;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.final {
  background: var(--white);
  padding: 96px var(--gutter);
  text-align: center;
  border-top: 1px solid var(--line);
}
.final h2 { margin-bottom: 16px; }
.final p { max-width: 40ch; margin: 0 auto 32px; color: var(--slate); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink); color: var(--white);
  padding: 64px var(--gutter) 32px;
}
.footer__top {
  display: grid; grid-template-columns: 1fr 2fr;
  gap: 48px; margin-bottom: 48px;
}
.footer__brand span {
  display: block; font-family: var(--font-h);
  font-size: 1.5rem; margin: 12px 0 8px; color: var(--white);
}
.footer__brand p { font-size: 0.875rem; color: rgba(255,255,255,0.6); font-style: italic; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer__cols h4 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.4); margin-bottom: 16px; font-family: var(--font-b); font-weight: 600; }
.footer__cols ul { display: flex; flex-direction: column; gap: 8px; }
.footer__cols a { font-size: 0.875rem; color: rgba(255,255,255,0.8); min-height: 44px; display: inline-flex; align-items: center; transition: color 0.2s; }
.footer__cols a:hover { color: var(--accent); }
.footer__bottom {
  padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}
.footer__bottom p { font-size: 0.75rem; color: rgba(255,255,255,0.45); }

/* ============================================================
   FLOATING CTA
   ============================================================ */
.float-cta {
  position: fixed; bottom: 28px; right: 28px;
  width: 56px; height: 56px;
  background: var(--accent); color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(242,108,79,0.35);
  z-index: 50;
  transition: transform 0.4s var(--spring), box-shadow 0.3s var(--smooth);
}
.float-cta:hover { transform: scale(1.12); box-shadow: 0 8px 32px rgba(242,108,79,0.45); }
/* The WhatsApp button sits above the scrim; hide it while the mobile menu is open */
body.nav-open .float-cta { opacity: 0; pointer-events: none; transition: opacity 0.2s var(--smooth); }
.float-cta:active { transform: scale(0.95); }

/* ============================================================
   CURSOR GLOW (desktop only, for magnetic effect)
   ============================================================ */
.cursor-glow {
  position: fixed;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47,111,229,0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s;
  transform: translate(-50%, -50%);
}
.cursor-glow.is-active { opacity: 1; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .hero, .about, .parent, .workshops, .footer__top { grid-template-columns: 1fr; }
  .test-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__card--wide { grid-column: span 2; }
  .about__stats { grid-template-columns: repeat(3, 1fr); }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
  .cursor-glow { display: none; }

  /* Desktop links out, hamburger + drawer in */
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav { gap: 12px; }
  .nav__brand { margin-right: auto; }

  .nav__drawer {
    display: block;
    position: absolute;
    top: 100%; left: 0; right: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 32px rgba(26,31,44,0.10);
    max-height: calc(100vh - 100%);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.25s var(--smooth), transform 0.3s var(--smooth), visibility 0.25s;
  }
  .nav.is-open .nav__drawer { opacity: 1; visibility: visible; transform: translateY(0); }

  .nav__drawer ul { display: flex; flex-direction: column; }
  .nav__drawer li + li { border-top: 1px solid var(--line); }
  .nav__drawer a {
    display: flex; align-items: center;
    min-height: 52px;
    font-family: var(--font-h);
    font-size: 1.0625rem;
    color: var(--ink);
    transition: color 0.2s;
  }
  .nav__drawer a:hover, .nav__drawer a[aria-current="page"] { color: var(--primary); }
  .nav__drawer-foot {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    font-size: 0.875rem;
    color: var(--slate);
  }
  .nav__drawer-foot a { display: inline; min-height: 0; font-family: var(--font-b); font-size: 0.875rem; color: var(--primary); }

  .nav__scrim {
    display: block;
    position: fixed; inset: 0;
    z-index: 39;
    background: rgba(26,31,44,0.35);
    opacity: 0; visibility: hidden;
    transition: opacity 0.25s var(--smooth), visibility 0.25s;
  }
  body.nav-open .nav__scrim { opacity: 1; visibility: visible; }
  body.nav-open { overflow: hidden; }
  /* The bar is glass, so the scrim behind it would tint it grey against the white drawer */
  body.nav-open .nav { background: var(--white); }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; }
  .bento__card--wide { grid-column: span 1; }
  .steps { grid-template-columns: 1fr; }
  .about__stats { grid-template-columns: 1fr; gap: 16px; }
  .trust { gap: 16px; }
  .trust ul { gap: 16px; font-size: 0.875rem; }
  .btn--nav { padding: 8px 14px; font-size: 0.75rem; }
}
@media (max-width: 380px) {
  .btn--nav span { display: none; }
}

@media print { .float-cta, .cursor-glow, .nav__toggle { display: none !important; } }

/* ============================================================
   INNER-PAGE LAYOUT
   Used by /about, /services/*, /therapies/*, /how-it-works, etc.
   ============================================================ */

/* --- Page header (eyebrow + h1 + lede) --- */
.page-head {
  padding: 96px var(--gutter) 48px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.page-head--center { text-align: center; }
.page-head--center .page-head__lede { margin-left: auto; margin-right: auto; }
.page-head h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  letter-spacing: -0.025em;
  margin: 8px 0 24px;
  max-width: 22ch;
}
.page-head--center h1 { margin-left: auto; margin-right: auto; }
.page-head h1 em { font-style: italic; color: var(--primary); }
.page-head__lede {
  font-size: 1.125rem;
  color: var(--slate);
  max-width: 60ch;
  line-height: 1.7;
}
/* Resources index is the only page-head with no lede, and its .prose holds only a heading;
   trim the stacked whitespace so the H1 sits close to the blog list it introduces. */
.page-head:not(:has(.page-head__lede)) { padding-bottom: 24px; }
.prose:has(> h2:only-child) { padding-bottom: 0; }
.prose > h2:only-child { margin-top: 0; }

/* --- Breadcrumbs --- */
.crumbs {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 24px var(--gutter) 0;
  font-size: 0.8125rem;
  color: var(--slate);
}
.crumbs a { color: var(--slate); transition: color 0.2s; }
.crumbs a:hover { color: var(--primary); }
.crumbs span[aria-current] { color: var(--ink); }
.crumbs > * + *::before { content: "  /  "; color: var(--line); margin: 0 4px; }

/* --- Prose: long-form article body --- */
.prose {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--gutter) 96px;
}
.prose > * + * { margin-top: 24px; }
.prose h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-top: 56px;
  letter-spacing: -0.02em;
}
.prose h3 {
  font-size: 1.25rem;
  margin-top: 40px;
  color: var(--ink);
}
.prose h4 {
  font-size: 1.0625rem;
  font-family: var(--font-b);
  font-weight: 600;
  margin-top: 32px;
  color: var(--ink);
}
.prose p, .prose li { font-size: 1rem; line-height: 1.75; color: var(--ink); }
.prose ul, .prose ol { padding-left: 24px; }
.prose ul li { list-style: disc; margin-bottom: 8px; }
.prose ol li { list-style: decimal; margin-bottom: 8px; }
.prose blockquote {
  border-left: 3px solid var(--accent);
  padding: 8px 0 8px 24px;
  font-family: var(--font-h);
  font-size: 1.125rem;
  font-style: italic;
  color: var(--slate);
  margin: 32px 0;
}
.prose blockquote p { font-family: var(--font-h); font-style: italic; color: var(--slate); }
.prose blockquote cite {
  display: block;
  font-family: var(--font-b);
  font-style: normal;
  font-size: 0.875rem;
  color: var(--slate);
  margin-top: 12px;
}
.prose strong { font-weight: 600; }
.prose a { color: var(--primary); text-decoration: underline; text-decoration-color: rgba(47,111,229,0.3); text-underline-offset: 3px; transition: text-decoration-color 0.2s; }
.prose a:hover { text-decoration-color: var(--primary); }
.prose hr { border: none; height: 1px; background: var(--line); margin: 48px 0; }
.prose figure {
  margin: 40px 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 0;
  overflow: hidden;
}
.prose figure img {
  border-radius: var(--r-lg);
  display: block;
  width: 100%;
  max-height: 560px;
  object-fit: cover;
}
.prose figure.figure--portrait {
  background: transparent;
  text-align: center;
}
.prose figure.figure--portrait img {
  max-width: 360px;
  max-height: 640px;
  margin-inline: auto;
  object-fit: contain;
  border-radius: var(--r-lg);
}
.prose figure.figure--contain {
  background: var(--white);
  padding: 24px;
}
.prose figure.figure--contain img {
  max-height: 720px;
  object-fit: contain;
  background: var(--white);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
}
.prose figcaption {
  font-size: 0.8125rem;
  color: var(--slate);
  margin: 0;
  padding: 12px 20px 16px;
  text-align: center;
}

/* Photo band (schools page) — figures read as one row */
.prose .photo-band {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 40px 0;
}
@media (min-width: 720px) {
  .prose .photo-band { grid-template-columns: 1fr 1fr; align-items: start; }
}
.prose .photo-band figure {
  margin: 0;
  display: flex;
  flex-direction: column;
}
.prose .photo-band figure img {
  max-width: 100%;
  max-height: 320px;
  width: auto;
  margin-inline: auto;
  object-fit: contain;
}
.prose .photo-band figcaption { margin-top: auto; }

/* Three-up variant: real photos, so crop to a uniform tile for a clean gallery row */
@media (min-width: 720px) {
  .prose .photo-band--three { grid-template-columns: repeat(3, 1fr); }
}
.prose .photo-band--three figure {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.prose .photo-band--three figure img {
  width: 100%;
  max-width: none;
  height: auto;
  max-height: none;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0;
}
.prose .photo-band--three figcaption { padding: 12px 16px 16px; }

/* Definition callout — bold first paragraph that AI loves */
.callout-def {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--primary);
  border-radius: var(--r-lg);
  padding: 28px 32px;
  margin: 32px 0;
}
.callout-def strong { color: var(--primary); }
.callout-def p { font-size: 1.0625rem; line-height: 1.7; }

/* Three-takeaway closer */
.takeaways {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--r-xl);
  padding: 40px;
  margin: 56px 0 0;
}
.takeaways h3 {
  color: var(--white);
  font-size: 1.125rem;
  margin-bottom: 20px;
  font-family: var(--font-b);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
}
.takeaways ul { padding: 0; list-style: none; }
.takeaways ul li {
  list-style: none;
  font-family: var(--font-h);
  font-size: 1.125rem;
  line-height: 1.5;
  margin-bottom: 16px;
  padding-left: 28px;
  position: relative;
  color: rgba(255,255,255,0.92);
}
.takeaways ul li::before {
  content: "—";
  position: absolute; left: 0;
  color: var(--accent);
  font-weight: 600;
}

/* Comparison table */
/* Wide comparison table scrolls inside its own box so the page body never scrolls sideways */
.table-scroll {
  overflow-x: auto;
  margin: 32px 0;
}
.table-scroll .comparison { margin: 0; }
.comparison {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  margin: 32px 0;
  font-size: 0.9375rem;
}
.comparison th, .comparison td {
  text-align: left;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.comparison th {
  font-family: var(--font-b);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate);
  background: var(--white);
  border-bottom: 2px solid var(--ink);
}
.comparison tr:hover td { background: rgba(47,111,229,0.04); }
.comparison strong { color: var(--ink); font-weight: 600; }

/* CTA block at end of page */
.page-cta {
  background: var(--white);
  text-align: center;
  padding: 80px var(--gutter);
  border-top: 1px solid var(--line);
}
.page-cta h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  margin-bottom: 16px;
  max-width: 24ch;
  margin-inline: auto;
}
.page-cta p {
  color: var(--slate);
  margin-bottom: 32px;
  max-width: 44ch;
  margin-inline: auto;
}
.page-cta__micro { font-size: 0.8125rem; color: var(--slate); margin-top: 16px; }

/* --- Card grid (services index, therapies index, posts) --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 32px var(--gutter) 96px;
}
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--spring), box-shadow 0.3s var(--smooth);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
  border-color: var(--primary);
}
.card__eyebrow {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
}
.card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.card p {
  font-size: 0.9375rem;
  color: var(--slate);
  margin-bottom: 24px;
  flex: 1;
  line-height: 1.6;
}
.card__more {
  font-size: 0.875rem;
  color: var(--primary);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s var(--spring);
}
.card:hover .card__more { gap: 8px; }

@media (max-width: 960px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); padding-bottom: 64px; }
}
@media (max-width: 600px) {
  .card-grid { grid-template-columns: 1fr; }
}

/* --- Forms --- */
.form-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--gutter) 96px;
}
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 48px;
  box-shadow: var(--sh-md);
}
.form-card h2 { font-size: 1.5rem; margin-bottom: 8px; }
.form-card > p { color: var(--slate); margin-bottom: 32px; font-size: 0.9375rem; }
/* When an intro <p> is followed by the direct-contact line, tighten the gap between them */
.form-card > p:has(+ .form-card__direct) { margin-bottom: 8px; }
.form-card__direct a { color: var(--primary); font-weight: 500; }
.form-row { margin-bottom: 24px; }
.form-row--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-row label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 8px;
}
.form-row .field-help {
  font-size: 0.8125rem;
  color: var(--slate);
  margin-top: 6px;
  font-weight: 400;
}
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row input[type="number"],
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font: inherit;
  font-size: 0.9375rem;
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(47,111,229,0.15);
}
.form-row textarea { resize: vertical; min-height: 100px; }
.form-row input[type="file"] { font-size: 0.875rem; color: var(--slate); }
.radio-group, .checkbox-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.radio-group label, .checkbox-group label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  cursor: pointer;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  transition: all 0.2s;
  margin-bottom: 0;
}
.radio-group input, .checkbox-group input { accent-color: var(--primary); }
.radio-group label:has(input:checked),
.checkbox-group label:has(input:checked) {
  border-color: var(--primary);
  background: rgba(47,111,229,0.06);
}
.consent {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 16px;
  border-radius: var(--r-md);
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--slate);
  margin: 24px 0;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.consent input[type="checkbox"] { margin-top: 2px; flex-shrink: 0; }
.form-submit { display: flex; justify-content: flex-end; margin-top: 32px; }

/* Reassurance strip above form */
.reassure {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 720px;
  margin: 0 auto 32px;
  padding: 0 var(--gutter);
}
.reassure__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 16px;
  font-size: 0.875rem;
  box-shadow: var(--sh-sm);
}
.reassure__item strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 0.875rem;
}
.reassure__item span { color: var(--slate); font-size: 0.8125rem; line-height: 1.55; }

@media (max-width: 600px) {
  .form-card { padding: 24px; }
  .form-row--split { grid-template-columns: 1fr; }
  .reassure { grid-template-columns: 1fr; }
}

/* --- Two-column with sidebar (about, services, etc.) --- */
.two-col {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 64px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter) 96px;
}
.two-col__aside {
  position: sticky;
  top: 96px;
  align-self: start;
}
.aside-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  margin-bottom: 16px;
}
.aside-card h4 {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--slate);
  margin-bottom: 12px;
  font-family: var(--font-b);
  font-weight: 600;
}
.aside-card p, .aside-card li {
  font-size: 0.875rem;
  color: var(--ink);
  line-height: 1.6;
}
.aside-card ul { display: flex; flex-direction: column; gap: 8px; }
.aside-card a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: rgba(47,111,229,0.3);
  text-underline-offset: 3px;
}

@media (max-width: 960px) {
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .two-col__aside { position: static; }
}

/* --- About page hero (image + text side by side) --- */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 64px var(--gutter) 80px;
  align-items: center;
}
.about-hero__media,
.about-hero > .reveal-image {
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--white);
  aspect-ratio: 4/3; /* landscape — matches tea-garden / portrait-indoor */
}
.about-hero__media img,
.about-hero > .reveal-image img {
  width: 100%; height: 100%; object-fit: cover;
}
.about-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  margin: 12px 0 24px;
}
.about-hero h1 em { font-style: italic; color: var(--primary); }

@media (max-width: 960px) {
  .about-hero { grid-template-columns: 1fr; padding: 32px var(--gutter) 48px; }
}

/* --- Drawing callout (the kid's drawing of Prachi) --- */
.drawing-callout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 32px;
  margin: 56px 0;
}
.drawing-callout img {
  border: 1px solid var(--line);
}
.drawing-callout img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: var(--white);
  border-radius: var(--r-md);
  padding: 12px;
}
.drawing-callout p {
  font-family: var(--font-h);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--ink);
}
.drawing-callout cite {
  display: block;
  font-family: var(--font-b);
  font-style: normal;
  font-size: 0.875rem;
  color: var(--slate);
  margin-top: 12px;
}

@media (max-width: 600px) {
  .drawing-callout { grid-template-columns: 1fr; padding: 20px; }
  .drawing-callout img { max-width: 200px; margin: 0 auto; }
}

/* --- Service / therapy index card with image --- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 32px var(--gutter) 96px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--spring), box-shadow 0.3s var(--smooth), border-color 0.3s;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
  border-color: var(--primary);
}
.feature-card__media {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Default: contain — every photo shows in full, white letterbox if aspect doesn't match.
   Cards opt into 'cover' via .feature-card__media--cover for photos that fit the slot. */
.feature-card__media img {
  width: 100%; height: 100%;
  object-fit: contain;
  transition: transform 0.6s var(--smooth);
}
.feature-card__media--cover img { object-fit: cover; }
.feature-card:hover .feature-card__media img { transform: scale(1.03); }
.feature-card__body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.feature-card__body h3 { font-size: 1.375rem; margin-bottom: 8px; }
.feature-card__body p { font-size: 0.9375rem; color: var(--slate); margin-bottom: 20px; flex: 1; line-height: 1.6; }

@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }

/* --- Inline CTA inside long pages --- */
.inline-cta {
  background: linear-gradient(135deg, rgba(47,111,229,0.06), rgba(242,108,79,0.06));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  text-align: center;
  margin: 48px 0;
}
.inline-cta h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.inline-cta p { color: var(--slate); margin-bottom: 24px; font-size: 0.9375rem; }

/* --- Pricing / fee block --- */
.fees {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 32px 0;
}
.fee-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
}
.fee-card__label {
  font-size: 0.8125rem;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.fee-card__amount {
  font-family: var(--font-h);
  font-size: 1.5rem;
  color: var(--ink);
  font-weight: 500;
}
.fee-card__note { font-size: 0.8125rem; color: var(--slate); margin-top: 4px; }

@media (max-width: 600px) { .fees { grid-template-columns: 1fr; } }

/* --- Post list (blog) --- */
.post-list {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 32px var(--gutter) 96px;
}
.post {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.post__media {
  aspect-ratio: 4/3;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.post__media img { width: 100%; height: 100%; object-fit: cover; }
.post__media--contain img { object-fit: contain; }
.post__meta {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
}
.post h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.post p { color: var(--slate); font-size: 0.9375rem; line-height: 1.6; margin-bottom: 12px; }
.post a { color: var(--primary); font-size: 0.875rem; font-weight: 500; }

@media (max-width: 600px) { .post { grid-template-columns: 1fr; } }

/* --- Newsletter compact form --- */
.newsletter {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--r-xl);
  padding: 48px;
  text-align: center;
  margin: 64px 0;
}
.newsletter h2 { color: var(--white); margin-bottom: 12px; }
.newsletter p { color: rgba(255,255,255,0.7); max-width: 44ch; margin: 0 auto 24px; }
.newsletter form {
  display: flex;
  gap: 12px;
  max-width: 460px;
  margin: 0 auto;
}
.newsletter input[type="email"] {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.05);
  color: var(--white);
  font: inherit;
  font-size: 0.9375rem;
}
.newsletter input[type="email"]::placeholder { color: rgba(255,255,255,0.5); }
.newsletter input[type="email"]:focus { outline: none; border-color: var(--accent); }
.newsletter small { display: block; margin-top: 16px; color: rgba(255,255,255,0.4); font-size: 0.75rem; }

@media (max-width: 600px) {
  .newsletter { padding: 28px; }
  .newsletter form { flex-direction: column; }
}

/* --- 404 --- */
.notfound {
  text-align: center;
  padding: 120px var(--gutter);
  max-width: 640px;
  margin: 0 auto;
}
.notfound__num {
  font-family: var(--font-h);
  font-size: clamp(5rem, 14vw, 8rem);
  color: var(--primary);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
}
.notfound h1 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 16px; }
.notfound p { color: var(--slate); margin-bottom: 32px; }
.notfound ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  max-width: 360px;
  margin: 0 auto 32px;
}
.notfound ul li { padding: 8px 0; }
.notfound ul a { color: var(--primary); text-decoration: underline; text-decoration-color: rgba(47,111,229,0.3); text-underline-offset: 3px; }

/* --- Section divider --- */
.divider-section {
  background: var(--white);
  padding: 64px var(--gutter);
  text-align: center;
}
.divider-section h2 { font-size: 1.75rem; margin-bottom: 12px; }
.divider-section p { color: var(--slate); max-width: 48ch; margin: 0 auto; }


/* Anti-spam honeypot. Bots fill it in; nobody else ever sees it. */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
