/* ============================================================
   South Bay Peak Learning — Private Elementary Tutoring
   Design system: ink navy / bright paper / marigold highlighter
   ============================================================ */
:root {
  --ink: #22385C;
  --ink-soft: #43597e;
  --paper: #F7F9FC;
  --white: #FFFFFF;
  --marigold: #F5B841;
  --marigold-soft: rgba(245, 184, 65, 0.42);
  --sky: #DCEBFA;
  --sky-deep: #B9D7F2;
  --leaf: #5FA97C;
  --leaf-soft: #E3F1E9;
  --line: #E3E9F2;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 10px 30px -12px rgba(34, 56, 92, 0.18);
  --shadow-soft: 0 6px 18px -10px rgba(34, 56, 92, 0.14);
  --font-display: "Domine", "Iowan Old Style", Georgia, serif;
  --font-body: "Nunito Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--ink-soft); }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.18; margin: 0 0 0.6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.55rem, 3.4vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.22rem; font-weight: 700; font-family: var(--font-body); letter-spacing: 0; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul { padding-left: 1.2em; }

/* Teacher's highlighter — the signature mark */
.hl {
  background-image: linear-gradient(103deg,
    transparent 1%, var(--marigold-soft) 3.2%,
    rgba(245,184,65,0.30) 48%, var(--marigold-soft) 94%, transparent 97%);
  border-radius: 0.35em 0.6em 0.45em 0.5em;
  padding: 0.04em 0.22em;
  margin: -0.04em -0.22em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.9rem;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 22px; height: 3px;
  background: var(--marigold);
  border-radius: 2px;
  margin-right: 0.55rem;
  vertical-align: 0.22em;
}

.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 46em; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
.section { padding: clamp(3rem, 7vw, 5rem) 0; }
.section-tint { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-sky { background: linear-gradient(180deg, var(--sky) 0%, var(--paper) 100%); }
.section-head { max-width: 46em; margin-bottom: 2.2rem; }
.center { text-align: center; }
.center .section-head { margin-left: auto; margin-right: auto; }

/* ---------- Skip link & focus ---------- */
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 0.7rem 1.1rem; border-radius: 0 0 12px 0; z-index: 200; }
.skip:focus { left: 0; }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 2px; border-radius: 4px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-in { display: flex; align-items: center; gap: 1rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; margin-right: auto; }
.brand img { width: 42px; height: 42px; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; line-height: 1.15; }
.brand-sub { display: block; font-family: var(--font-body); font-weight: 700; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.nav { display: flex; align-items: center; gap: 1.4rem; }
.nav a { text-decoration: none; font-weight: 700; font-size: 0.97rem; padding: 0.3rem 0; border-bottom: 2.5px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--marigold); }
.nav .btn { border-bottom: none; }
.nav-toggle { display: none; background: none; border: 2px solid var(--line); border-radius: 10px; padding: 0.5rem 0.6rem; cursor: pointer; }
.nav-toggle .bars { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }
.nav-toggle .bars::before { top: -6px; } .nav-toggle .bars::after { top: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--marigold);
  color: var(--ink);
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  border: 2px solid var(--marigold);
  box-shadow: var(--shadow-soft);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.btn-ghost { background: transparent; border-color: var(--ink); box-shadow: none; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--sky) 0%, var(--paper) 88%); overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; padding: clamp(3rem, 7vw, 5.5rem) 0; }
.hero .lede { margin: 1.1rem 0 1.7rem; }
.hero-points { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: 0.55rem; font-weight: 700; font-size: 0.98rem; }
.hero-points li { display: flex; gap: 0.6rem; align-items: flex-start; }
.hero-points svg { flex: none; margin-top: 0.18rem; }

.portrait-card { position: relative; justify-self: center; }
.portrait-card img {
  width: min(340px, 78vw);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 6px solid var(--white);
}
.portrait-badge {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  padding: 0.55rem 0.9rem;
  font-size: 0.83rem;
  font-weight: 800;
  line-height: 1.25;
  display: flex; align-items: center; gap: 0.5rem;
}
.portrait-badge small { display: block; font-weight: 700; color: var(--ink-soft); font-size: 0.72rem; }
.badge-a { top: 8%; left: -10%; }
.badge-b { bottom: 6%; right: -8%; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 1.2rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}
a.card { text-decoration: none; display: block; transition: transform 0.15s ease, box-shadow 0.15s ease; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card h3 { margin: 0.85rem 0 0.4rem; }
.card p { color: var(--ink-soft); font-size: 0.97rem; margin-bottom: 0; }
.card .more { display: inline-block; margin-top: 0.7rem; font-weight: 800; font-size: 0.9rem; color: var(--ink); }
.icon-chip {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: var(--sky);
  border-radius: 13px;
}
.icon-chip.gold { background: rgba(245,184,65,0.28); }
.icon-chip.leaf { background: var(--leaf-soft); }

/* ---------- Checklist ---------- */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; }
.checklist li { display: flex; gap: 0.7rem; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 0.85rem 1rem; }
.checklist svg { flex: none; margin-top: 0.2rem; }

/* ---------- Split (text + aside) ---------- */
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.split .portrait-card img { width: min(300px, 74vw); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 1.2rem; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.5rem 1.5rem 4.4rem; position: relative; box-shadow: var(--shadow-soft); }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; left: 1.2rem; top: 1.35rem;
  width: 2.15rem; height: 2.15rem;
  display: grid; place-items: center;
  background: var(--marigold);
  border-radius: 50%;
  font-weight: 800;
  font-family: var(--font-display);
}
.step h3 { margin-top: 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0.9rem; max-width: 52em; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.faq summary {
  cursor: pointer; list-style: none;
  font-weight: 800; font-size: 1.05rem;
  padding: 1.1rem 3rem 1.1rem 1.3rem;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 1.2rem; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display); font-size: 1.5rem; color: var(--ink-soft);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .faq-a { padding: 0 1.3rem 1.2rem; color: var(--ink-soft); }

/* ---------- Breadcrumbs ---------- */
.crumbs { font-size: 0.86rem; padding: 0.9rem 0 0; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.35rem; color: var(--ink-soft); }
.crumbs li + li::before { content: "›"; margin-right: 0.35rem; color: var(--sky-deep); }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { font-weight: 700; }

/* ---------- Page header ---------- */
.page-head { padding: clamp(2rem, 5vw, 3.4rem) 0 clamp(2rem, 4vw, 2.8rem); }
.page-head .lede { margin-top: 0.9rem; }

/* ---------- Prose ---------- */
.prose { max-width: 46em; }
.prose h2 { margin-top: 1.9em; }
.prose h2:first-child { margin-top: 0; }
.prose ul li { margin-bottom: 0.45em; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: #fff; }
.cta-band .wrap { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center; padding-top: clamp(2.6rem, 5vw, 3.6rem); padding-bottom: clamp(2.6rem, 5vw, 3.6rem); }
.cta-band h2 { color: #fff; margin-bottom: 0.4rem; }
.cta-band p { color: var(--sky-deep); margin: 0; max-width: 38em; }
.cta-band .btn { border-color: var(--marigold); }

/* ---------- Footer ---------- */
.site-footer { background: var(--white); border-top: 1px solid var(--line); padding: 3rem 0 1.4rem; font-size: 0.94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-grid h3 { font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.45rem; }
.footer-grid a { text-decoration: none; color: var(--ink); }
.footer-grid a:hover { text-decoration: underline; }
.footer-about p { color: var(--ink-soft); }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 2.4rem; padding-top: 1.3rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; color: var(--ink-soft); font-size: 0.86rem; }
.footer-bottom a { color: var(--ink-soft); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1rem; max-width: 34em; }
.form label { font-weight: 800; font-size: 0.95rem; display: grid; gap: 0.4rem; }
.form input, .form select, .form textarea {
  font: inherit; color: var(--ink);
  border: 2px solid var(--line); border-radius: 12px;
  padding: 0.75rem 0.9rem; background: var(--white); width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--marigold); outline: none; }
.form button { justify-self: start; cursor: pointer; font-family: inherit; }

/* ---------- Blog ---------- */
.post-meta { color: var(--ink-soft); font-size: 0.9rem; font-weight: 700; }
.article-body { max-width: 44em; }
.article-body h2 { margin-top: 2em; }
.article-body blockquote { border-left: 4px solid var(--marigold); margin: 1.5em 0; padding: 0.3em 0 0.3em 1.2em; color: var(--ink-soft); font-style: italic; }

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; }
table.nice { border-collapse: collapse; width: 100%; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); }
table.nice th, table.nice td { text-align: left; padding: 0.8rem 1rem; border-bottom: 1px solid var(--line); font-size: 0.97rem; }
table.nice th { background: var(--sky); font-weight: 800; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, a.card { transition: none; }
}


/* ============================================================
   Extended design components (v2)
   ============================================================ */

/* Decorative educational shapes */
.hero { position: relative; }
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
}
.hero::before {
  width: 340px; height: 340px; right: -120px; top: -120px;
  background: radial-gradient(circle at 30% 30%, rgba(245,184,65,0.25), rgba(245,184,65,0) 70%);
}
.hero::after {
  width: 260px; height: 260px; left: -110px; bottom: -110px;
  background: radial-gradient(circle at 70% 70%, rgba(95,169,124,0.18), rgba(95,169,124,0) 70%);
}
.hero .wrap { position: relative; z-index: 1; }
.dotted { background-image: url("../images/backgrounds/paper-dots.svg"); background-size: 340px; }

/* Header refinements */
.site-header.scrolled { box-shadow: 0 6px 24px -14px rgba(34,56,92,0.35); }
.btn-phone { display: inline-flex; align-items: center; gap: 0.45rem; background: var(--white); border-color: var(--line); box-shadow: none; }
.btn-phone:hover { border-color: var(--marigold); transform: none; box-shadow: var(--shadow-soft); }
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.92rem; }

/* Illustration blocks */
.illus { border-radius: var(--radius-lg); overflow: hidden; background: var(--sky); box-shadow: var(--shadow-soft); border: 1px solid var(--line); }
.illus img { width: 100%; height: auto; display: block; }
.card .illus { margin: -1.5rem -1.5rem 1.1rem; border-radius: var(--radius) var(--radius) 0 0; border: none; box-shadow: none; }
.media-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.media-split .illus { max-width: 480px; }

/* Testimonial / expectation cards */
.quote-card { position: relative; padding-top: 2.4rem; }
.quote-card::before {
  content: "\201C"; position: absolute; top: 0.4rem; left: 1.3rem;
  font-family: var(--font-display); font-size: 3.2rem; line-height: 1; color: var(--marigold);
}

/* Service-area chips */
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; padding: 0; margin: 0; list-style: none; }
.chips li a, .chips li span {
  display: inline-block; background: var(--white); border: 1.5px solid var(--line);
  border-radius: 999px; padding: 0.45rem 1rem; font-weight: 700; font-size: 0.93rem;
  text-decoration: none; color: var(--ink);
}
.chips li a:hover { border-color: var(--marigold); box-shadow: var(--shadow-soft); }

/* Stat / trust strip */
.trust-strip { display: flex; flex-wrap: wrap; gap: 1rem 2.2rem; align-items: center; padding: 1rem 0 0; }
.trust-item { display: flex; align-items: center; gap: 0.55rem; font-weight: 800; font-size: 0.93rem; color: var(--ink-soft); }
.trust-item svg { color: var(--leaf); }

/* Cream alternating section */
.section-cream { background: #FBF7EF; border-top: 1px solid #F0E8D8; border-bottom: 1px solid #F0E8D8; }

/* Forms: validation states */
.form input:invalid:not(:placeholder-shown), .form select.touched:invalid, .form textarea:invalid:not(:placeholder-shown) { border-color: #D9714E; }
.form .field-error { color: #B3462A; font-size: 0.85rem; font-weight: 700; display: none; }
.form .invalid + .field-error, .form .invalid ~ .field-error { display: block; }
.form-status { font-weight: 800; }

/* Location pages */
.local-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.tutor-profile-band { display: grid; grid-template-columns: auto 1fr; gap: 1.8rem; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.8rem; box-shadow: var(--shadow-soft); }
.tutor-profile-band img { width: 130px; height: 130px; object-fit: cover; border-radius: 50%; border: 5px solid var(--sky); }

/* Page-header variants so templates don't look identical */
.page-head-sky { background: linear-gradient(180deg, var(--sky), var(--paper)); }
.page-head-cream { background: linear-gradient(180deg, #FBF1DC, var(--paper)); }
.page-head-leaf { background: linear-gradient(180deg, var(--leaf-soft), var(--paper)); }

/* Brand-configuration header contacts (added with the South Bay Peak Learning
   branding update; values injected from assets/data/site-config.json).
   Desktop: slim utility topbar carries the full phone + email.
   ≤1024px: topbar hides; the same links render inside the mobile menu. */
.topbar { background: var(--ink); color: var(--paper); font-size: 0.85rem; font-weight: 700; }
.topbar .wrap { display: flex; justify-content: flex-end; align-items: center; gap: 1.8rem; padding-top: 0.45rem; padding-bottom: 0.45rem; }
.topbar a { color: var(--paper); text-decoration: none; }
.topbar a:hover { color: var(--marigold); }
.nav-email { font-weight: 700; font-size: 0.9rem; color: var(--ink-soft); text-decoration: none; }
.nav-email:hover { color: var(--ink); text-decoration: underline; }
/* Phase 3 delta: breakpoints follow the burger threshold (1024 → 1119),
   and desktop nav links no longer wrap internally now that "Academy" is in
   the row — nowrap makes any future overflow visible instead of silent. */
@media (max-width: 1119px) { .topbar { display: none; } }
@media (min-width: 1120px) { .nav-email, .nav .btn-phone { display: none; }
                             .nav a { white-space: nowrap; } }
@media (min-width: 1120px) and (max-width: 1180px) { .nav { gap: 0.9rem; } }

/* ==================================================================
   Phase 3 additive block — Elementary Learning Academy components.
   Required for new content only; no existing selectors modified.
   ================================================================== */
/* Callouts */
.callout { border-left: 4px solid var(--sky-deep); background: var(--white);
  border-radius: 0 var(--radius, 14px) var(--radius, 14px) 0;
  padding: 1rem 1.2rem; margin: 1.6rem 0; box-shadow: var(--shadow-soft); }
.callout p { margin: 0; }
.callout p + p { margin-top: 0.35rem; }
.callout-label { display: flex; align-items: center; gap: 0.5rem;
  font-weight: 800; font-size: 0.95rem; color: var(--ink); }
.callout-label svg { flex: none; }
.callout-tip { border-left-color: var(--marigold); background: rgba(245,184,65,0.10); }
.callout-practice, .callout-win { border-left-color: var(--leaf); background: var(--leaf-soft); }
.callout-know, .callout-challenge { border-left-color: var(--sky-deep); background: var(--sky); }
.callout-tutoring { border-left-color: var(--ink); background: rgba(34,56,92,0.06); }
/* In-this-guide box */
.learn-box { margin: 0 0 1.8rem; }
.learn-list { list-style: none; padding: 0; margin: 0.4rem 0 0; display: grid; gap: 0.45rem; }
.learn-list li { display: flex; gap: 0.55rem; align-items: flex-start; }
.learn-list svg { flex: none; margin-top: 0.15rem; color: var(--leaf); }
/* Tables */
.table-wrap { overflow-x: auto; margin: 1.6rem 0; border: 1px solid var(--line);
  border-radius: var(--radius, 14px); background: var(--white); }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 560px; }
.prose caption { caption-side: bottom; text-align: left; padding: 0.7rem 0.9rem;
  font-size: 0.86rem; color: var(--ink-soft); border-top: 1px solid var(--line); }
.prose th { background: var(--sky); text-align: left; padding: 0.65rem 0.9rem;
  font-weight: 800; border-bottom: 2px solid var(--sky-deep); }
.prose td { padding: 0.65rem 0.9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose tbody tr:last-child td { border-bottom: none; }

/* ==================================================================
   Phase 4 additive block — conversion & trust components.
   ================================================================== */
/* CTA band: secondary action (ghost inverts for the dark band) */
.cta-band .cta-actions { justify-content: flex-end; }
.cta-band .btn-ghost { color: #fff; border-color: var(--sky-deep); }
.cta-band .btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
@media (max-width: 700px) { .cta-band .cta-actions { justify-content: flex-start; } }
/* Journey diagram (how-tutoring-works) */
.journey { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.9rem; margin: 1.4rem 0 0.4rem; }
.journey-step { text-align: center; padding: 1rem 0.6rem; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); position: relative; }
.journey-step .num { display: inline-grid; place-items: center; width: 40px; height: 40px;
  border-radius: 50%; background: var(--sky); color: var(--ink); font-weight: 800;
  border: 2px solid var(--sky-deep); margin-bottom: 0.5rem; }
.journey-step strong { display: block; font-size: 0.95rem; }
.journey-step em { display: block; font-style: normal; font-size: 0.84rem; color: var(--ink-soft); margin-top: 0.25rem; }
.journey-step::after { content: "→"; position: absolute; right: -0.85rem; top: 50%;
  transform: translateY(-50%); color: var(--sky-deep); font-weight: 800; }
.journey-step:last-child::after { content: none; }
@media (max-width: 920px) { .journey { grid-template-columns: 1fr 1fr; }
  .journey-step::after { content: none; } }
@media (max-width: 430px) { .journey { grid-template-columns: 1fr; } }
/* Professional timeline (meet-your-tutor) */
.timeline { list-style: none; margin: 1.4rem 0 0; padding: 0 0 0 1.35rem; border-left: 3px solid var(--sky-deep); display: grid; gap: 1.15rem; }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -1.35rem; top: 0.3rem;
  width: 13px; height: 13px; border-radius: 50%; background: var(--marigold);
  border: 2.5px solid var(--white); box-shadow: 0 0 0 2.5px var(--sky-deep); transform: translateX(-58%); }
.timeline .tl-when { display: block; font-size: 0.8rem; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.timeline strong { display: block; margin: 0.1rem 0 0.15rem; }
.timeline p { margin: 0; font-size: 0.95rem; }
/* Testimonial framework */
.t-card { background: var(--white); border: 1px dashed var(--sky-deep); border-radius: var(--radius);
  padding: 1.3rem 1.3rem 1.1rem; position: relative; }
.t-card .t-mark { font-family: var(--font-display); font-size: 2.4rem; line-height: 1;
  color: var(--sky-deep); display: block; margin-bottom: 0.3rem; }
.t-card .t-slot { color: var(--ink-soft); font-style: italic; }
.t-card .t-who { display: block; margin-top: 0.8rem; font-size: 0.85rem; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
/* FAQ hub category chips + anchors */
.faq-cats { margin: 0 0 0.6rem; }
.faq .faq-cat { margin: 2rem 0 0.6rem; padding-bottom: 0.35rem; border-bottom: 2px solid var(--sky-deep);
  font-size: 1.22rem; font-weight: 700; font-family: var(--font-body); letter-spacing: 0; }
.faq .faq-cat:first-of-type { margin-top: 0.4rem; }

/* ==================================================================
   Final-audit additive block (pre-launch).
   ================================================================== */
/* WCAG 2.2 target size: the burger measured 43×22px — below the 24px
   minimum for the site's primary mobile control. Enlarged hit area,
   icon unchanged. */
.nav-toggle { min-width: 44px; min-height: 40px; display: grid; place-items: center; }
/* Visually-hidden utility for semantic headings that need no visual slot */
.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; }
/* 320px overflow fixes (final audit): grid items default to min-width:auto,
   letting the inputs' intrinsic width blow out the form column on the
   narrowest phones; long mailto strings did the same on /thank-you/. */
.form label, .form input, .form select, .form textarea { min-width: 0; }
a[href^="mailto:"] { overflow-wrap: anywhere; }
