/* ═══════════════════════════════════════════
   FLOW DESIGN SYSTEM — Berleaf Education
   Font: General Sans (Fontshare)
   Palette: Renewaber warm/rose-led
   ═══════════════════════════════════════════ */
:root {
  /* Fixed main-nav height. The nav overlays page content; the first
     section of a page pads its top by this so content clears the nav
     while the section's own background fills behind the (transparent)
     nav — so the nav background never needs per-page control. */
  --nav-h: 64px;
  --porcelain: #F5F5F4;
  --charcoal: #2A2A2A;
  --white: #FFFFFF;
  --mid: #8A8A86;
  --border: #E5E2DE;
  --taupe: #C8BEB4;
  --rose: #CFA79F;
  --rose-light: #F5EDED;
  --rose-bg: #FBF7F6;
  --petal: #e9dcd6;
  --teal: #6A8E92;
  --teal-light: #E4EDEF;
  --teal-dark: #4A5859;
  --sage: #A3B9A4;
  --sage-light: #E8F0E8;
  --gold: #F4B942;
  --dusk-purple: #2d2438;
  --blue-grey: #2d3440;

  /* ================================
     SUNSET SERIES — FINAL
     ================================ */

  --sunset-teal: #96ADAD;
  --sunset-rose: #BF9F92;
  --sunset-deep-sky: #2d3440;
  --sunset-dusk: #5a6a7a;
  --sunset-blush: #e9dcd6;

  --sunset-gradient-accent: linear-gradient(
    90deg, #96ADAD, #BF9F92
  );

  --sunset-gradient-banner: linear-gradient(
    168deg, #96ADAD 16%, #BF9F92 80%
  );
  --font: 'General Sans', -apple-system, sans-serif;
  --container: 1080px;
  --radius: 16px;
  --radius-sm: 12px;
  --radius-pill: 40px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.1);
  --gradient-cta: linear-gradient(to bottom right, #A3B9A4, #C8BEB4, #CFA79F);
  --gradient-close: linear-gradient(135deg, #E4EDEF 0%, #F5F5F4 40%, #F5EDED 100%);
  --transition: 0.3s ease;
  --nav-btm-border: #002b3133;
  --mega-featured-bg: #e9dcd6;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 140px; overflow-x: hidden; overflow-x: clip; }
body { font-family: var(--font); color: #1d1d1f; background: var(--white); -webkit-font-smoothing: antialiased; line-height: 1.8; font-size: 1em; overflow-x: hidden; overflow-x: clip; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: var(--font); border: none; background: none; }
img { max-width: 100%; display: block; }

/* Scroll reveal — Apple-style fade up / fade back */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s cubic-bezier(0.25, 0.1, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Container */
.container { max-width: var(--container); margin: 0 auto; padding: 0 40px; }

/* Section heading pattern — centred tag + heading + subtitle (Apple-inspired) */
.sec-tag { font-size: 1.15em; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); margin-bottom: 0.75em; text-align: center; }
.sec-title { font-size: 2.4em; font-weight: 600; color: #1d1d1f; letter-spacing: -0.03em; text-align: center; line-height: 1.07; margin-bottom: 0.5em; }
.sec-sub { font-size: 1.1em; color: #424245; text-align: center; max-width: 35em; margin: 0 auto 2.5em; line-height: 1.6; }

/* Buttons */
.btn-gradient { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--gradient-cta); color: #fff; border-radius: var(--radius-pill); padding: 14px 28px; font-size: 15px; font-weight: 500; text-shadow: 0 1px 3px rgba(0,0,0,0.25); transition: opacity var(--transition); }
.btn-gradient:hover { opacity: 0.9; }
.btn-outline { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1.5px solid var(--border); color: var(--charcoal); border-radius: var(--radius-pill); padding: 14px 28px; font-size: 15px; font-weight: 500; transition: all var(--transition); }
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }
.btn-gradient-sm { display: inline-flex; align-items: center; justify-content: center; background: var(--gradient-cta); color: #fff; border-radius: var(--radius-pill); padding: 10px 20px; font-size: 13px; font-weight: 600; text-shadow: 0 1px 3px rgba(0,0,0,0.25); transition: opacity var(--transition); letter-spacing: 0.04em; }
.btn-gradient-sm:hover { opacity: 0.9; }

/* ── Announcement bar (FLOW → Header) ─────────────────────────────────────
   Fixed at the very top, above the nav. When present, body.has-flow-topbar
   sets --flow-topbar-h, which BOTH pushes the fixed nav down and pads the body
   top (so the first page section clears the bar). When absent, the var is unset
   and everything falls back to 0 — i.e. no layout change at all. */
body.has-flow-topbar { --flow-topbar-h: 40px; padding-top: var(--flow-topbar-h); }
.flow-topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 201;
  height: var(--flow-topbar-h, 40px);
  display: flex; align-items: center; justify-content: center; gap: 14px;
  padding: 0 48px; box-sizing: border-box;
  background: var(--charcoal, #2A2A2A); color: var(--white, #fff);
  font-size: 13px; letter-spacing: 0.02em; text-align: center;
}
.flow-topbar-msg {
  color: inherit; text-decoration: none; font-weight: 500;
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
a.flow-topbar-msg:hover { text-decoration: underline; }
.flow-topbar-close {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  background: none; border: 0; color: inherit; cursor: pointer;
  opacity: 0.7; padding: 6px; line-height: 0; display: inline-flex;
}
.flow-topbar-close:hover { opacity: 1; }
@media (max-width: 600px) {
  .flow-topbar { padding: 0 40px; font-size: 12px; }
}

/* ═══════ MAIN NAV ═══════ */
.main-nav { position: fixed; top: var(--flow-topbar-h, 0px); left: 0; right: 0; z-index: 200; background: transparent; box-shadow: none; transition: box-shadow 0.4s ease, background 0.3s ease; }
.main-nav.scrolled { box-shadow: 0 1px 12px rgba(0,0,0,0.06); background: var(--white); border-bottom: 1px solid transparent;}
.main-nav.mega-open { box-shadow: none; }
.main-nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 0 58px; height: 64px; max-width: 100%; margin: 0 auto; position: relative; }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo-text { font-weight: 600; font-size: 0.9em; color: #1d1d1f; letter-spacing: 0.15em; text-transform: uppercase; }
/* Nav links pill — transparent by default; a per-page ACF color_picker sets
   --flow-nav-links-bg (header.php / inc/acf/nav-links-bg.php) to override it. */
.nav-links { display: flex; align-items: center; gap: 0; height: 80%; background: var(--flow-nav-links-bg, transparent);  padding: 0px 10px; border-radius: 50px;}
.nav-link { padding: 0 16px; font-size: 0.88em; font-weight: 500; color: #1d1d1f; letter-spacing: 0.06em; text-transform: uppercase; border-bottom: 2px solid transparent; transition: all var(--transition); display: flex; align-items: center; gap: 4px; background: transparent; height: 80%; border-radius: 25px; }
.nav-link svg { width: 1em; height: 1em;}
.nav-link:hover { color:var(--white); background: var(--sunset-gradient-accent); border-radius: 50px; height: 80%;}
.nav-link.active { border-bottom-color: var(--rose); }
/* .mega-active = mega menu is OPEN (toggled by flow-scripts.js only). Never apply
   it server-side to the current page's section — the lit pill then looks like a
   nav button stuck in hover/focus after the page loads. The walker marks the
   current section with .mega-current instead, which is intentionally unstyled. */
.nav-link.mega-active { color: var(--white); background: var(--sunset-gradient-accent); border-radius: 50px; height: 80%; }
.nav-sep { width: 1px; height: 20px; background: var(--border); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-signin { font-size: 13px; font-weight: 500; color: var(--charcoal); }
.nav-cta { background: var(--charcoal); color: #fff; border-radius: var(--radius-pill); padding: 9px 20px; font-size: 13px; font-weight: 500; transition: background var(--transition); }
.nav-cta:hover { background: #444; }

/* Mega menu — animated grow/fade, rounded all corners */
.mega-trigger { position: static; height: 100%; display: flex; align-items: center; }
.mega-menu { position: absolute; top: calc(4em + 0.5em); left: 0; right: 0; margin: 0 auto; width: max-content; min-width: 280px; max-width: min(900px, calc(100vw - 2rem)); background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 2em 2.5em; box-shadow: var(--shadow-lg); z-index: 300; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 240px); gap: 2em; opacity: 0; transform: scaleY(0.92) translateY(-0.5em); transform-origin: top center; pointer-events: none; transition: opacity 0.25s ease, transform 0.25s ease; }
.mega-menu.open { opacity: 1; transform: scaleY(1) translateY(0); pointer-events: auto; }
.mega-menu::before { content: ''; position: absolute; top: -0.5em; left: 0; right: 0; height: 0.5em; }
@keyframes slideLeft { 0% { opacity: 0; transform: translateX(20px); } 100% { opacity: 1; transform: translateX(0); } }
@keyframes slideRight { 0% { opacity: 0; transform: translateX(-20px); } 100% { opacity: 1; transform: translateX(0); } }
.mega-col-title { font-size: 0.8em; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mid); margin-bottom: 14px; }
.mega-link { display: block; padding: 8px 0; font-size: 1.1em; font-weight: 500; color: var(--charcoal); transition: color var(--transition); }
.mega-link:hover { color: var(--teal); }
.mega-link-desc { display: block; margin-top: 2px; font-size: 0.8em; font-weight: 400; color: var(--mid); line-height: 1.4; }
a.mega-featured { display: block; text-decoration: none; color: inherit; }
.mega-featured { background: var(--mega-featured-bg); border-radius: var(--radius-sm); padding: 20px; }
.mega-featured-body { display: block; }
.mega-featured-title{ font-size: 0.83em; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px;color: var(--charcoal)}
.mega-featured-desc { font-size: 12px; color: var(--charcoal); line-height: 1.5; margin-top: 10px; }
.mega-featured-img { background: var(--teal-light); border-radius: 10px; height: 80px; display: flex; align-items: center; justify-content: center; font-size: 10px; color: var(--teal); font-weight: 500; }
.mega-featured-rose .mega-featured-img { background: var(--rose-light); color: var(--rose); }
.mega-featured-img--photo { background: transparent; overflow: hidden; padding: 0; display: block; height: auto; aspect-ratio: 16 / 9; }
.mega-featured-img-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.mega-featured-hover-zoom .mega-featured-img { overflow: hidden; }
.mega-featured-hover-zoom .mega-featured-img-photo { transition: transform 0.4s ease; }
@media (hover: hover) { .mega-featured-hover-zoom:hover .mega-featured-img-photo { transform: scale(1.05); } }
.mega-link + .mega-col-title { margin-top: 20px; }

/* Hide main nav shadow when subnav is stuck to it (toggled by FLOW Sub Nav plugin on the primary instance) */
.main-nav.subnav-attached { box-shadow: none !important; }

/* Mobile nav */
.mobile-hamburger { display: none; cursor: pointer; background: none; border: none; padding: 4px; }
.mobile-search { display: none; }

/* Mobile menu panel — slide right */
.mobile-menu { position: fixed; top: 0; right: 0; bottom: 0; width: 100%; background: var(--white); z-index: 500; transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.25, 0.1, 0.25, 1); overflow-y: auto; display: flex; flex-direction: column; }
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-header { display: flex; align-items: center; justify-content: space-between; padding: 0 16px; height: 64px; border-bottom: 1px solid var(--border); }
.mobile-menu-close { background: none; border: none; padding: 4px; cursor: pointer; }
.mobile-menu-items { padding: 8px 0; flex: 1 0 auto; }
.mobile-menu-item { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; font-size: 16px; font-weight: 500; color: #1d1d1f; border-bottom: 1px solid var(--porcelain); cursor: pointer; }
.mobile-menu-item svg { color: var(--mid); }
.mobile-menu-signin { display: flex; align-items: center; gap: 10px; padding: 18px 20px; font-size: 16px; font-weight: 500; color: #1d1d1f; border-top: 1px solid var(--porcelain); }
.mobile-menu-signin svg { flex-shrink: 0; }
.mobile-menu-cta { padding: 16px 20px; }
.mobile-menu-cta a { display: block; text-align: center; }

/* Mobile menu level 2 — slide right */
.mobile-menu-l2 { position: fixed; top: 0; right: 0; bottom: 0; width: 100%; background: var(--white); z-index: 510; transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.25, 0.1, 0.25, 1); overflow-y: auto; }
.mobile-menu-l2.open { transform: translateX(0); }
.mobile-menu-back { display: flex; align-items: center; gap: 6px; padding: 0 16px; height: 64px; border-bottom: 1px solid var(--border); font-size: 14px; font-weight: 500; color: #1d1d1f; cursor: pointer; }
.mobile-menu-l2-section { padding: 10px 20px 6px; font-size: 0.7em; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mid); background: var(--porcelain); }
.mobile-menu-l2-link { display: block; padding: 16px 20px; font-size: 16px; font-weight: 500; color: #1d1d1f; border-bottom: 1px solid var(--porcelain); }

/* Footer mobile accordion */
.footer-col-toggle { display: none; }

/* Sub-nav styling is provided by the FLOW Sub Nav plugin (scoped under [data-flow-subnav]). */

/* ═══════ SECTION 1: HERO ═══════ */
.hero { padding: 80px 0 0;}
.hero-grid { display: grid; grid-template-columns: 5fr 4fr; gap: 48px; align-items: center; padding-bottom: 0; }
.hero-tag { font-size: 0.85em; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); margin-bottom: 1em; }
.hero-intro { font-size: 0.95em; color: #424245; font-weight: 400; margin-bottom: 0.5em; font-style: italic; }
.hero h1 { font-size: 3.2em; font-weight: 500; line-height: 1.05; color: #1d1d1f; letter-spacing: -0.03em; margin-bottom: 0.5em; }
.hero h1 em { font-style: italic; color: var(--rose); }
.hero-body { font-size: 1.1em; line-height: 1.6; color: #424245; margin-bottom: 1em; max-width: 30em; }
.hero-bold { font-size: 1.1em; font-weight: 500; color: #1d1d1f; margin-bottom: 1.5em; }
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-photo { border-radius: 1.25em 1.25em 0 0; overflow: hidden; background:transparent; aspect-ratio: 4/5; max-height: 32.5em; display: flex; align-items: flex-end; justify-content: center; position: relative; }
.hero-photo-placeholder { font-size: 12px; color: var(--teal); font-weight: 500; margin-bottom: 40%; text-align: center; }

/* ═══════ SECTION 3: TEACHING PEDAGOGY ═══════ */
.pedagogy { padding: 80px 0; background: var(--porcelain); }
.accordion { margin-top: 8px; border: 1px solid #B0ADA6; border-radius: var(--radius); overflow: hidden; }
.accordion-card { background: var(--white); overflow: hidden; border-radius: 0; }
.accordion-card:first-child { border-radius: 0; }
.accordion-card:last-child { border-radius: 0; }
.accordion-divider { height: 0; border-top: 1px solid var(--border); margin: 0; }
.accordion-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; cursor: pointer; user-select: none; }
.accordion-left { display: flex; align-items: center; gap: 14px; }
.accordion-circle { position: relative; }
.accordion-num { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; background: var(--white); font-size: 12px; font-weight: 600; color: var(--mid); transition: all var(--transition); }
.accordion-card.open .accordion-num { border-color: var(--teal); color: var(--teal); }
.accordion-title { font-size: 18px; font-weight: 500; color: #1d1d1f; }
.accordion-teaser { font-size: 13px; color: #424245; margin-top: 3px; }
.accordion-card.open .accordion-teaser { color: var(--teal); }
.accordion-chevron { width: 18px; height: 18px; color: var(--mid); transition: transform var(--transition); flex-shrink: 0; }
.accordion-card.open .accordion-chevron { transform: rotate(180deg); color: var(--teal); }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.accordion-card.open .accordion-body { max-height: 500px; }
.accordion-content { padding: 0 24px 24px 74px; }
.accordion-content p { font-size: 16px; line-height: 1.9; color: #424245; margin-bottom: 16px; }
.accordion-content p:last-child { margin-bottom: 0; }
.accordion-content strong { color: #1d1d1f; font-weight: 500; }
.accordion-divider { border-top: 1px solid var(--border); }

/* ═══════ SECTION 4: WHAT IS SM ═══════ */
.what-sm { padding: 80px 0; }
.venn-container { position: relative; height: 280px; max-width: 500px; margin: 0 auto 32px; }
.venn-circle { position: absolute; width: 240px; height: 240px; border-radius: 50%; top: 50%; transform: translateY(-50%); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; color: #fff; letter-spacing: 0.04em; text-align: center; line-height: 1.3; opacity: 0; transition: opacity 0.8s ease, transform 0.8s ease; }
.venn-left { background: #7A9EA2; left: 30px; transform: translateY(-50%) translateX(-30px); opacity: 0; }
.venn-right { background: #BBA594; right: 30px; transform: translateY(-50%) translateX(30px); opacity: 0; }
.venn-container.visible .venn-left { opacity: 0.75; transform: translateY(-50%) translateX(0); }
.venn-container.visible .venn-right { opacity: 0.75; transform: translateY(-50%) translateX(0); }
.venn-label { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 16px; font-weight: 600; color: #424245; opacity: 0; transition: opacity 0.6s ease 0.6s; }
.venn-container.visible .venn-label { opacity: 1; }
.highlight-cards { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.highlight-card { background: var(--porcelain); border-radius: 10px; padding: 14px 20px; text-align: center; font-size: 13px; font-weight: 600; color: var(--charcoal); }

/* ═══════ SECTION 5: STUDENT JOURNEY (DARK) ═══════ */
.student-journey { padding: 80px 0; background: var(--charcoal); }
.student-journey .sec-tag { color: var(--taupe); }
.student-journey .sec-title { color: var(--porcelain); }
.student-journey .sec-sub { color: var(--taupe); }
.journey-carousel { position: relative; margin-top: 8px; }
.journey-nav { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 20px; }
.journey-chevron { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all var(--transition); }
.journey-chevron:hover { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.05); }
.journey-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.journey-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius); padding: 0; overflow: hidden; }
.journey-stars { padding: 20px 20px 12px; display: flex; gap: 2px; }
.journey-text-wrap { height: 140px; overflow-y: auto; padding: 0 20px; margin-bottom: 12px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.15) transparent; }
.journey-text-wrap::-webkit-scrollbar { width: 4px; }
.journey-text-wrap::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 2px; }
.journey-text { font-size: 14px; line-height: 1.8; color: var(--taupe); font-style: italic; }
.journey-author { padding: 16px 20px; border-top: 1px solid rgba(255,255,255,0.08); }
.journey-name { font-size: 14px; font-weight: 600; color: var(--porcelain); }
.journey-role { font-size: 12px; color: var(--mid); margin-top: 2px; }
.journey-dots { display: flex; justify-content: center; gap: 6px; margin-top: 18px; }
.journey-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.2); cursor: pointer; transition: background var(--transition); }
.journey-dot.active { background: var(--taupe); }

/* ═══════ SECTION 7b: REVIEWS (Editorial carousel — Direction D) ═══════ */
.reviews-ed {
  --red-peek: 80px;
  --red-gap: 24px;
  --red-card-scale: 0.75;
  --red-card-max: 880px;
  --red-ink: #2F3B3C;
  --red-c-rose: #B88478;
  --red-c-teal: #3F5D60;
  --red-c-sage: #6B8A6E;
  --red-c-clay: #A47A6C;
  --red-c-ink:  #2F3B3C;
  padding: 100px 0 88px;
  background: var(--porcelain);
}
.reviews-ed .red-top { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 48px; margin-bottom: 40px; }
.reviews-ed .red-intro { max-width: 42em; }
.reviews-ed .red-eyebrow { font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal); margin: 0 0 14px; }
.reviews-ed .red-headline { font-size: clamp(2rem, 3.2vw, 2.75rem); font-weight: 500; color: #1d1d1f; letter-spacing: -0.025em; line-height: 1.1; margin: 0; }
.reviews-ed .red-headline em { font-style: italic; font-weight: 500; color: var(--red-c-rose); }

.reviews-ed .red-summary { display: grid; grid-template-columns: auto 1fr; column-gap: 20px; row-gap: 2px; align-items: center; padding-left: 32px; border-left: 1px solid var(--border); }
.reviews-ed .red-summary-num { grid-row: 1 / span 3; font-size: clamp(2.6rem, 4.2vw, 3.4rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1; color: #1d1d1f; font-feature-settings: "tnum" 1, "lnum" 1; }
.reviews-ed .red-summary-num sub { font-size: 0.35em; font-weight: 500; color: var(--mid); letter-spacing: 0; margin-left: 2px; vertical-align: baseline; }
.reviews-ed .red-summary-label { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mid); font-weight: 500; }
.reviews-ed .red-summary-label .red-g-logo { width: 12px; height: 12px; }
.reviews-ed .red-summary-stars { display: inline-flex; gap: 2px; }
.reviews-ed .red-summary-stars svg { width: 12px; height: 12px; }
.reviews-ed .red-summary-meta { font-size: 12px; color: var(--mid); line-height: 1.2; }
.reviews-ed .red-summary-meta strong { color: #1d1d1f; font-weight: 500; }
.reviews-ed .red-summary-link { font-size: 12px; color: #1d1d1f; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(29,29,31,0.3); transition: text-decoration-color 0.2s ease; letter-spacing: 0.01em; }
.reviews-ed .red-summary-link:hover { text-decoration-color: rgba(29,29,31,0.9); }
.reviews-ed .red-summary-col { display: flex; flex-direction: column; gap: 4px; }

.reviews-ed .red-viewport { overflow: hidden; padding: 0 var(--red-peek); width: 100%; }
.reviews-ed .red-track { display: flex; gap: var(--red-gap); transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1); will-change: transform; }

.reviews-ed .red-card { flex: 0 0 auto; min-width: 260px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.22); padding: 42px 44px 36px; display: grid; grid-template-columns: 1fr 220px; column-gap: 36px; color: #fff; transition: transform 0.4s ease; }
.reviews-ed .red-card.c-rose { background: var(--red-c-rose); }
.reviews-ed .red-card.c-teal { background: var(--red-c-teal); }
.reviews-ed .red-card.c-sage { background: var(--red-c-sage); }
.reviews-ed .red-card.c-clay { background: var(--red-c-clay); }
.reviews-ed .red-card.c-ink  { background: var(--red-c-ink); }
.reviews-ed .red-card.no-context { grid-template-columns: 1fr; }

.reviews-ed .red-main { display: flex; flex-direction: column; min-width: 0; }
.reviews-ed .red-stars { display: inline-flex; gap: 4px; margin-bottom: 22px; }
.reviews-ed .red-stars svg { width: 14px; height: 14px; }
.reviews-ed .red-scroll { max-height: 220px; overflow-y: auto; padding-right: 10px; margin-bottom: 28px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.45) transparent; }
.reviews-ed .red-scroll::-webkit-scrollbar { width: 3px; }
.reviews-ed .red-scroll::-webkit-scrollbar-track { background: transparent; }
.reviews-ed .red-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.45); border-radius: 2px; }
.reviews-ed .red-quote { font-size: clamp(1.2rem, 1.55vw, 1.5rem); font-weight: 400; line-height: 1.5; color: #fff; letter-spacing: -0.005em; margin: 0; }
.reviews-ed .red-quote em { font-style: italic; font-weight: 400; border-bottom: 1px solid rgba(255,255,255,0.6); padding-bottom: 1px; }

.reviews-ed .red-auth { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.22); margin-top: auto; }
.reviews-ed .red-avatar { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.18); display: inline-flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 500; color: #fff; letter-spacing: 0.01em; flex-shrink: 0; }
.reviews-ed .red-auth-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.reviews-ed .red-name { font-size: 15px; font-weight: 500; letter-spacing: -0.005em; color: #fff; }
.reviews-ed .red-role { font-size: 12px; color: rgba(255,255,255,0.72); letter-spacing: 0.02em; }

.reviews-ed .red-card-r { padding-left: 28px; border-left: 1px solid rgba(255,255,255,0.18); display: flex; flex-direction: column; gap: 18px; }
.reviews-ed .red-ctx-head { font-size: 10.5px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.72); }
.reviews-ed .red-ctx-row { display: flex; flex-direction: column; gap: 4px; }
.reviews-ed .red-ctx-key { font-size: 10px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.reviews-ed .red-ctx-val { font-size: 14px; font-weight: 400; color: #fff; letter-spacing: 0.005em; line-height: 1.35; }
.reviews-ed .red-ctx-row.is-highlight .red-ctx-val { font-style: italic; font-size: 15px; line-height: 1.4; }

.reviews-ed .red-foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 28px; }
.reviews-ed .red-dots { display: inline-flex; align-items: center; gap: 7px; }
.reviews-ed .red-dot { width: 5px; height: 5px; border-radius: 3px; background: rgba(29,29,31,0.22); cursor: pointer; transition: width 0.35s cubic-bezier(0.25, 0.1, 0.25, 1), background 0.35s ease; padding: 0; border: 0; }
.reviews-ed .red-dot.is-active { width: 22px; background: var(--red-ink); }
.reviews-ed .red-nav { display: inline-flex; align-items: center; gap: 10px; }
.reviews-ed .red-counter { font-size: 12px; font-weight: 500; letter-spacing: 0.08em; color: var(--mid); font-variant-numeric: tabular-nums; margin-right: 6px; }
.reviews-ed .red-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); background: var(--white); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: border-color 0.2s ease, color 0.2s ease; color: var(--red-ink); padding: 0; }
.reviews-ed .red-btn:hover { border-color: var(--red-ink); }
.reviews-ed .red-btn svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 1100px) {
  .reviews-ed .red-top { grid-template-columns: 1fr; gap: 24px; }
  .reviews-ed .red-summary { padding-left: 0; padding-top: 24px; border-left: 0; border-top: 0; }
  .reviews-ed .red-card { grid-template-columns: 1fr; row-gap: 24px; }
  .reviews-ed .red-card-r { padding-left: 0; padding-top: 22px; border-left: 0; border-top: 1px solid rgba(255,255,255,0.22); }
}

/* ═══════ SECTION 6: SUBJECTS (INTERACTIVE PATHWAY) ═══════ */
.subjects { padding: 80px 0; background: var(--porcelain); }
.pathway { display: flex; flex-direction: column; align-items: center; gap: 0; padding: 8px 0; }
.pathway-level { font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mid); margin-bottom: 10px; }
.pathway-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 4px; }
.pathway-pill { padding: 12px 24px; border-radius: 10px; font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.3s cubic-bezier(0.25,0.1,0.25,1); border: 2px solid transparent; color: #fff; }
.pathway-pill.dimmed { opacity: 0.2; transform: scale(0.96); }
.pathway-pill.highlighted { transform: scale(1.06); box-shadow: 0 4px 16px rgba(0,0,0,0.15); }
.pathway-connector { width: 3px; height: 22px; margin: 4px auto 0; border-radius: 2px; }
.pathway-branch { display: flex; justify-content: center; gap: 0; margin-top: -2px; }
.pathway-arm-l { border-top: 3px solid; border-left: 3px solid; width: 44px; height: 18px; border-radius: 10px 0 0 0; }
.pathway-arm-r { border-top: 3px solid; border-right: 3px solid; width: 44px; height: 18px; border-radius: 0 10px 0 0; }
.pathway-standalone { margin-top: 16px; display: flex; justify-content: center; }
.pathway-solo-label { font-size: 10px; color: var(--mid); text-align: center; margin-top: 4px; }

/* ═══════ FAQ SECTION ═══════ */
.faq { padding: 80px 0; background: var(--porcelain); }
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #B0ADA6; }
.faq-question { display: flex; align-items: center; justify-content: space-between; padding: 24px 0; cursor: pointer; user-select: none; }
.faq-question-text { font-size: 17px; font-weight: 500; color: #1d1d1f; padding-right: 20px; }
.faq-plus { width: 20px; height: 20px; color: var(--mid); flex-shrink: 0; transition: transform var(--transition); }
.faq-item.open .faq-plus { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer-content { padding: 0 0 24px; font-size: 15px; line-height: 1.8; color: #424245; }

/* FAQ — editorial 2-column layout */
.faq.layout-editorial { padding: 100px 0; }
.faq.layout-editorial .faq-grid { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(0, 1.7fr); gap: 80px; align-items: start; }
.faq.layout-editorial .faq-intro { position: sticky; top: 120px; }
.faq.layout-editorial .faq-intro .sec-tag { text-align: left; margin: 0 0 14px; }
.faq.layout-editorial .faq-intro .sec-title { text-align: left; margin: 0 0 18px; font-size: clamp(2rem, 3.2vw, 2.6rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; }
.faq.layout-editorial .faq-intro .sec-sub { text-align: left; margin: 0; max-width: 26em; font-size: 15px; line-height: 1.7; color: var(--mid); }
.faq.layout-editorial .faq-list { max-width: none; margin: 0; position: relative; }
.faq.layout-editorial .faq-list::before { content: ''; position: absolute; top: 0; left: 0; right: min(0px, calc(540px - 50vw)); height: 1px; background: #B0ADA6; }
.faq.layout-editorial .faq-item { border-bottom: 0; position: relative; }
.faq.layout-editorial .faq-item::after { content: ''; position: absolute; bottom: 0; left: 0; right: min(0px, calc(540px - 50vw)); height: 1px; background: #B0ADA6; }
.faq.layout-editorial .faq-question { padding: 26px 0; }
.faq.layout-editorial .faq-question-text { font-size: 18px; }
.faq.layout-editorial .faq-answer-content { padding: 0 0 26px; max-width: 60ch; }

/* ═══════ SECTION 6: PRICING ═══════ */
.pricing { padding: 100px 0 96px; }

/* Segmented pill control — flat, centered, with a sliding teal thumb */
.toggle-wrap { position: relative; display: flex; background: var(--porcelain); border-radius: 999px; padding: 4px; width: fit-content; margin: 0 auto 48px; box-shadow: none; border: 1px solid rgba(0,0,0,0.06); }
.toggle-thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); background: var(--teal); border-radius: 999px; transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); z-index: 0; pointer-events: none; display: block; box-shadow: none; }
.toggle-wrap.is-group .toggle-thumb { transform: translateX(100%); }
.toggle-label { position: relative; z-index: 1; flex: 1 1 0; min-width: 150px; text-align: center; padding: 11px 26px; font-size: 14px; font-weight: 500; color: var(--mid); cursor: pointer; transition: color 0.25s ease; letter-spacing: 0.01em; user-select: none; line-height: 1; display: inline-flex; align-items: center; justify-content: center; }
.toggle-label:hover { color: var(--charcoal); }
.toggle-label.active { color: #fff; font-weight: 600; }
.toggle-label.active:hover { color: #fff; }
.toggle-track { display: none; }

/* Sliding panel rail — pull/slide between Private and Group, matching Reviews */
.pricing-viewport { width: 100%; overflow: hidden; }
.pricing-rail { display: flex; width: 100%; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); align-items: flex-start; }
.pricing-rail.is-group { transform: translateX(-100%); }
.pricing-pane { flex: 0 0 100%; min-width: 0; box-sizing: border-box; padding: 16px 40px; }

/* Cards grid */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1040px; margin: 0 auto; }
.pricing-grid.group { grid-template-columns: repeat(2, 1fr); max-width: 720px; }

/* Individual card */
.pricing-card { background: var(--white); border: 1px solid var(--border); border-radius: 20px; padding: 44px 32px 36px; display: flex; flex-direction: column; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); cursor: pointer; position: relative; }
.pricing-card:hover { transform: translateY(-4px); box-shadow: 0 14px 40px -18px rgba(0,0,0,0.14); border-color: rgba(0,0,0,0.14); }
.pricing-card a.card-link { position: absolute; inset: 0; z-index: 1; }
.pricing-card.recommended { border: 1.5px solid var(--teal); }
.pricing-card.recommended::after { content: "RECOMMENDED"; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--teal); color: #fff; font-size: 10px; font-weight: 600; letter-spacing: 0.14em; padding: 6px 14px; border-radius: 999px; white-space: nowrap; }
.pricing-name { font-size: 20px; font-weight: 600; color: var(--charcoal); margin-bottom: 14px; letter-spacing: -0.005em; }
.pricing-features { font-size: 14.5px; color: #424245; line-height: 1.75; margin-bottom: 28px; flex: 1; list-style: none; padding: 0; }
.pricing-features li { padding: 4px 0; display: flex; align-items: flex-start; gap: 10px; }
.pricing-features li::before { content: "·"; color: var(--sage); font-weight: 700; font-size: 18px; line-height: 1; }
.pricing-amount { font-size: 34px; font-weight: 500; color: var(--charcoal); margin-bottom: 4px; letter-spacing: -0.025em; font-feature-settings: "tnum" 1, "lnum" 1; line-height: 1.05; }
.pricing-unit { font-size: 13px; color: var(--mid); margin-bottom: 22px; letter-spacing: 0.01em; }

/* ═══════ SECTION 7: LEARNING RESOURCES ═══════ */
.resources { padding: 80px 0; background: var(--porcelain); }
.resources-masonry { display: flex; align-items: center; gap: 16px; justify-content: center; margin-top: 8px; }
.resource-video { background: #1a1a1a; border-radius: var(--radius); overflow: hidden; width: 58%; max-width: 440px; }
.resource-video-area { height: 220px; display: flex; align-items: center; justify-content: center; position: relative; }
.resource-video-play { width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center; }
.resource-video-info { position: absolute; bottom: 16px; left: 16px; }
.resource-video-info h3 { font-size: 16px; font-weight: 600; color: #fff; margin-bottom: 2px; }
.resource-video-info p { font-size: 12px; color: rgba(255,255,255,0.6); }
.resource-video-bar { padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(255,255,255,0.08); }
.resource-video-bar span { font-size: 12px; color: rgba(255,255,255,0.5); }
.resource-video-bar a { font-size: 12px; font-weight: 500; color: #fff; background: rgba(255,255,255,0.12); padding: 6px 16px; border-radius: var(--radius-pill); }
.resource-card { background: var(--white); border: 1px solid #B0ADA6; border-radius: var(--radius); padding: 28px 22px; width: 38%; max-width: 300px; }
.resource-icon { width: 48px; height: 48px; border-radius: var(--radius-sm); background: var(--teal-light); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.resource-card h3 { font-size: 17px; font-weight: 600; color: var(--charcoal); margin-bottom: 8px; }
.resource-card p { font-size: 15px; color: #424245; line-height: 1.8; margin-bottom: 18px; }

/* ═══════ SECTION 8: COMMUNITY ═══════ */
.community { padding: 80px 0; }
.community-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 640px; margin: 0 auto; }
.community-card { background: var(--porcelain); border-radius: var(--radius-sm); padding: 20px 14px; text-align: center; transition: transform var(--transition); }
.community-card:hover { transform: translateY(-2px); }
.community-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--teal-light); display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; }
.community-name { font-size: 13px; font-weight: 600; color: var(--charcoal); margin-bottom: 4px; }
.community-desc { font-size: 11px; color: #424245; line-height: 1.5; }

/* ═══════ SECTION 9: REVIEWS ═══════ */
.reviews { padding: 80px 0; }
.reviews-aggregate { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 14px; color: var(--mid); margin-bottom: 8px; }
.reviews-stars { display: flex; gap: 2px; }
.reviews-carousel-wrap { position: relative; margin-top: 8px; }
.reviews-track { display: flex; align-items: center; gap: 0; }
.review-chevron { flex-shrink: 0; width: 40px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--mid); transition: color var(--transition); }
.review-chevron:hover { color: var(--charcoal); }
.reviews-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; flex: 1; padding: 0 4px; max-width: 780px; margin: 0 auto; }
.review-card { background: var(--porcelain); border-radius: var(--radius); padding: 28px 24px; display: flex; flex-direction: column; position: relative; }
.review-quote-mark { position: absolute; top: 24px; right: 22px; opacity: 0.07; }
.review-stars { display: flex; gap: 2px; margin-bottom: 16px; }
.review-text { font-size: 15px; color: #1d1d1f; line-height: 1.8; flex: 1; }
.review-author { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); }
.review-avatar { width: 34px; height: 34px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--teal-light); }
.review-name { font-size: 12px; font-weight: 600; color: var(--charcoal); }
.review-date { font-size: 11px; color: #424245; }
.reviews-dots { display: flex; justify-content: center; gap: 6px; margin-top: 18px; }
.reviews-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); cursor: pointer; transition: background var(--transition); }
.reviews-dot.active { background: var(--teal); }
.reviews-google-link { text-align: center; margin-top: 16px; font-size: 13px; font-weight: 500; color: var(--teal); }

/* ═══════ SECTION 10: EXPERIENCE IT ═══════ */
.experience { padding: 80px 0; background: var(--porcelain); }
.experience-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 560px; margin: 0 auto 0; }
.exp-btn { border: 1.5px solid #B0ADA6; border-radius: var(--radius); padding: 24px 20px; text-align: center; cursor: pointer; transition: all var(--transition); }
.exp-btn.selected { border-color: var(--teal); border-width: 2px; background: var(--teal-light); }
.exp-btn.dimmed { opacity: 0.45; }
.exp-btn-title { font-size: 17px; font-weight: 600; color: var(--charcoal); margin-bottom: 6px; }
.exp-btn-meta { font-size: 13px; color: var(--mid); margin-bottom: 12px; }
.exp-btn.selected .exp-btn-meta { color: var(--teal); }
.exp-btn-price { display: inline-block; padding: 4px 14px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.exp-panel { display: none; background: var(--porcelain); border-radius: var(--radius); padding: 28px 24px; margin-top: 16px; max-width: 560px; margin-left: auto; margin-right: auto; }
.exp-panel.visible { display: block; }
.exp-panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.exp-panel h3 { font-size: 17px; font-weight: 600; color: var(--charcoal); margin-bottom: 12px; }
.exp-panel p { font-size: 15px; color: #424245; line-height: 1.8; }
.exp-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.exp-tag { background: var(--white); padding: 4px 12px; border-radius: 20px; font-size: 11px; font-weight: 500; color: var(--mid); border: 1px solid var(--border); }
.tidycal-placeholder { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 20px; text-align: center; font-size: 12px; color: var(--mid); }
.tidycal-placeholder-box { background: var(--porcelain); border-radius: 8px; height: 160px; display: flex; align-items: center; justify-content: center; margin-top: 8px; font-size: 11px; }

/* Experience It — Learning Diagnostic (single-card CTA) */
.experience .exp-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 32px; max-width: 1040px; margin: 0 auto; align-items: stretch; }
.experience .exp-grid-single { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
.experience .exp-pitch { background: var(--white); border: 1px solid var(--border); border-radius: 20px; padding: 44px 40px 36px; display: flex; flex-direction: column; gap: 24px; }
.experience .exp-pitch-body { font-size: 15.5px; line-height: 1.8; color: #424245; margin: 0; }
.experience .exp-meta-row { display: flex; align-items: baseline; gap: 16px; padding-top: 20px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.experience .exp-price { font-size: 34px; font-weight: 500; color: var(--charcoal); letter-spacing: -0.025em; line-height: 1; font-feature-settings: "tnum" 1, "lnum" 1; }
.experience .exp-duration { font-size: 13px; color: var(--mid); letter-spacing: 0.01em; }
.experience .exp-cta { align-self: flex-start; border: 0; cursor: pointer; font-family: inherit; padding: 14px 28px; font-size: 15px; font-weight: 500; letter-spacing: 0.01em; margin-top: 4px; }
.experience .exp-cta:hover { transform: translateY(-1px); }

/* Fullscreen booking modal */
.exp-modal { position: fixed; inset: 0; z-index: 1000; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.25s ease, visibility 0s linear 0.25s; }
.exp-modal.open { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity 0.25s ease, visibility 0s linear 0s; }
.exp-modal-backdrop { position: absolute; inset: 0; background: rgba(16, 20, 24, 0.58); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); cursor: pointer; }
.exp-modal-panel { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -48%); width: min(1060px, 92vw); height: min(760px, 92vh); background: var(--white); border-radius: 20px; overflow: hidden; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.45); display: flex; flex-direction: column; transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.exp-modal.open .exp-modal-panel { transform: translate(-50%, -50%); }
.exp-modal-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 36px; height: 36px; border: 0; border-radius: 999px; background: rgba(0, 0, 0, 0.06); color: var(--charcoal); font-size: 22px; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background 0.2s ease; font-family: inherit; }
.exp-modal-close:hover { background: rgba(0, 0, 0, 0.12); }
.exp-modal-embed { width: 100%; height: 100%; overflow: auto; padding: 24px 20px; -webkit-overflow-scrolling: touch; }
.exp-modal-embed .tidycal-embed { width: 100%; }

/* ═══════ SECTION 11: CTA BANNER ═══════ */
.cta-banner { padding: 80px 0; }
.cta-banner-inner { background: var(--gradient-close); border-radius: var(--radius); padding: 60px 48px; text-align: center; }
.cta-banner-tag { font-size: 1em; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); margin-bottom: 8px; }
.cta-banner-title { font-size: 40px; font-weight: 500; color: var(--charcoal); margin-bottom: 12px; letter-spacing: -0.025em; }
.cta-banner-body { font-size: 17px; color: #424245; margin-bottom: 32px; max-width: 440px; margin-left: auto; margin-right: auto; line-height: 1.8; }
.cta-banner-buttons { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ═══════ FOOTER ═══════ */
.site-footer { background: var(--charcoal); padding: 3em 2em 0; }
.footer-inner { max-width: 1000px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2em; margin-bottom: 2em; align-items: start; }
.footer-brand p { font-size: 0.85em; line-height: 1.7; color: var(--taupe); max-width: 18em; margin-bottom: 1em; }
.footer-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 1em; }
.footer-col-title { font-size: 0.65em; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mid); margin-bottom: 0.6em; }
.footer-link { font-size: 0.85em; color: var(--taupe); padding: 0.25em 0; display: block; transition: color var(--transition); }
.footer-link:hover { color: #fff; }
.footer-bottom { background: var(--charcoal); margin: 0 -2em; padding: 1.25em 2em; border-top: 1px solid rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: space-between; }
.footer-copy { font-size: 0.75em; color: var(--mid); }
.footer-socials { display: flex; gap: 0.6em; }
.footer-social { width: 1.875em; height: 1.875em; border-radius: 0.375em; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; transition: background var(--transition); }
.footer-social:hover { background: rgba(255,255,255,0.15); }

/* ── Pure-white footer (Lewis Howes style, menu-driven, full-bleed) ──
   Width matches the widest Home V2 box: fluid, inset by the same gutters
   as the nav (58px desktop / 24px ≤1024 / 16px ≤767). */
.site-footer--light { background: #fff; padding: 5em 0 3.5em; }
.site-footer--light .footer-inner { max-width: 100%; margin: 0; padding: 0 58px; }

/* Top grid: brand block (logo, legal, copyright, socials) left, menu columns right */
.site-footer--light .footer-grid { grid-template-columns: minmax(180px, 1fr) 2.6fr; gap: 3em; margin-bottom: 0; align-items: start; }
.site-footer--light .footer-brand { display: flex; flex-direction: column; align-items: flex-start; }
.site-footer--light .footer-brand-lockup { display: flex; align-items: center; gap: 0.6em; margin-bottom: 2.5em; }
.site-footer--light .footer-logo { height: 2.4em; width: auto; display: block; }
.site-footer--light .footer-brand-label { font-weight: 600; font-size: 0.8em; letter-spacing: 0.08em; text-transform: uppercase; color: var(--charcoal); }

/* Columns adapt to any number of menu-driven sections */
.site-footer--light .footer-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 2.5em; }
.site-footer--light .footer-col-title { font-size: 1em; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--charcoal); margin-bottom: 1em; }
.site-footer--light .footer-link { font-size: 0.95em; color: #6b6b6b; padding: 0.4em 0; }
.site-footer--light .footer-link:hover { color: var(--charcoal); }

/* Left brand column: legal links → copyright → socials, stacked under the logo */
.site-footer--light .footer-legal { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 1.25em; margin: 0 0 0.9em; padding: 0; font-size: 0.95em; }
.site-footer--light .footer-legal a { color: var(--charcoal); text-decoration: underline; text-underline-offset: 3px; }
.site-footer--light .footer-legal a:hover { color: var(--mid); }
.site-footer--light .footer-legal li:not(:last-child)::after { content: "/"; margin-left: 1.25em; color: var(--mid); }
.site-footer--light .footer-copy { font-size: 0.95em; color: #6b6b6b; margin-bottom: 2em; }
.site-footer--light .footer-socials { gap: 0.9em; }
.site-footer--light .footer-social { background: rgba(0,0,0,0.05); color: var(--mid); }
.site-footer--light .footer-social:hover { background: rgba(0,0,0,0.10); color: var(--charcoal); }

/* Footer width gutters — mirror the Home V2 / nav responsive gutters */
@media (max-width: 1024px) { .site-footer--light .footer-inner { padding: 0 24px; } }

/* ═══════ RESPONSIVE ═══════ */
/* Tablet / iPad (portrait + landscape up to 1024px): the desktop nav is
   unusable on touch — its mega-menu is hover-gated and never opens, and the
   links crowd at these widths. Switch to the mobile hamburger drawer, whose
   markup + toggle JS are already rendered globally (header.php /
   flow-scripts.js) and whose own cart button preserves cart access. Placed
   BEFORE the ≤767px block so the phone-specific overrides there still win. */
@media (max-width: 1024px) {
  .main-nav-inner { padding: 0 24px; }
  .nav-links, .nav-right, .mobile-search { display: none !important; }
  .mobile-hamburger { display: flex; }
  .mega-menu { display: none !important; }
  .nav-logo-text { font-size: 14px; }
}
@media (max-width: 767px) {
  html { scroll-padding-top: 160px; }
  .container { padding: 0 20px; }
  .main-nav-inner { padding: 0 16px; justify-content: space-between; }
  .nav-links, .nav-right, .mobile-search { display: none !important; }
  .mobile-hamburger { display: flex; }
  .nav-logo-text { font-size: 12px; }
  .mega-menu { display: none !important; }
  
  .sec-title { font-size: 32px; }
  .sec-sub { font-size: 15px; }
  
  .hero { padding: 40px 0 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .hero h1 { font-size: 36px; }
  .hero-body, .hero-bold { max-width: 100%; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons a { width: 100%; justify-content: center; }
  .hero-photo { max-height: 320px; border-radius: 20px 20px 0 0; order: -1; }

  .pedagogy, .what-sm, .student-journey, .reviews-ed, .subjects, .pricing, .resources, .community, .reviews, .experience, .faq, .cta-banner { padding: 48px 0; }

  .reviews-ed { --red-peek: 20px; --red-gap: 14px; --red-card-scale: 1; --red-card-max: none; }
  .reviews-ed .red-card { padding: 28px 24px 24px; }
  .reviews-ed .red-quote { font-size: 1.05rem; line-height: 1.55; }
  .reviews-ed .red-scroll { max-height: 180px; }
  .reviews-ed .red-foot { flex-wrap: wrap; gap: 14px; }
  
  .accordion-content { padding: 0 20px 20px 20px; }
  
  .venn-container { height: 180px; max-width: 300px; }
  .venn-circle { width: 150px; height: 150px; font-size: 11px; }
  .venn-left { left: 10px; }
  .venn-right { right: 10px; }
  
  .journey-cards { grid-template-columns: 1fr; }
  .pathway-row { gap: 8px; }
  .pathway-pill { padding: 10px 18px; font-size: 13px; }
  
  .pricing-grid, .pricing-grid.group { grid-template-columns: 1fr; max-width: 100%; gap: 14px; }
  .pricing-card { padding: 32px 24px 28px; border-radius: 18px; }
  .pricing-name { font-size: 18px; }
  .pricing-amount { font-size: 30px; }
  .pricing-pane { padding: 12px 20px; }
  .toggle-wrap { margin: 0 auto 32px; }
  .toggle-label { padding: 10px 22px; font-size: 13px; min-width: 130px; }
  
  .resources-masonry { flex-direction: column; }
  .resource-video, .resource-card { width: 100%; max-width: 100%; }
  
  .community-grid { grid-template-columns: 1fr 1fr; }
  
  .reviews-cards { grid-template-columns: 1fr; max-width: 100%; }
  
  .experience-buttons { grid-template-columns: 1fr; }
  .exp-panel-grid { grid-template-columns: 1fr; }
  .experience .exp-grid { grid-template-columns: 1fr; gap: 18px; }
  .experience .exp-grid-single { max-width: 100%; }
  .experience .exp-pitch { padding: 28px 22px 24px; gap: 18px; }
  .experience .exp-price { font-size: 28px; }
  .experience .exp-cta { align-self: stretch; width: 100%; }
  .exp-modal-panel { width: 100vw; height: 100vh; height: 100dvh; max-width: 100%; border-radius: 0; top: 0; left: 0; transform: none; }
  .exp-modal.open .exp-modal-panel { transform: none; }
  .exp-modal-embed { padding: 52px 12px 16px; }
  .exp-modal-close { top: 10px; right: 10px; }
  .faq.layout-editorial { padding: 56px 0; }
  .faq.layout-editorial .faq-grid { grid-template-columns: 1fr; gap: 28px; }
  .faq.layout-editorial .faq-intro { position: static; top: auto; }
  .faq.layout-editorial .faq-list::before,
  .faq.layout-editorial .faq-item::after { right: 0; }
  .faq.layout-editorial .faq-question { padding: 22px 0; }
  .faq.layout-editorial .faq-question-text { font-size: 16px; }
  
  .cta-banner-inner { padding: 40px 24px; border-radius: var(--radius); }
  .cta-banner-title { font-size: 24px; }
  .cta-banner-buttons { flex-direction: column; }
  .cta-banner-buttons a { width: 100%; }
  
  /* Footer mobile — accordion columns */
  .footer-grid { grid-template-columns: 1fr; }
  .footer-columns { grid-template-columns: 1fr; gap: 0; }
  .footer-col-toggle { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.08); cursor: pointer; width: 100%; background: none; border-left: none; border-right: none; border-top: none; color: var(--mid); font-family: var(--font); font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
  .footer-col-toggle svg { transition: transform 0.3s ease; }
  .footer-col-toggle.open svg { transform: rotate(180deg); }
  .footer-col-title { display: none; }
  .footer-col-links { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
  .footer-col-links.open { max-height: 200px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  /* Light footer variant — keep accordion single-column, lighten borders */
  .site-footer--light .footer-inner { padding: 0 16px; }
  .site-footer--light .footer-grid { grid-template-columns: 1fr; }
  .site-footer--light .footer-columns { grid-template-columns: 1fr; gap: 0; }
  .site-footer--light .footer-col-toggle { border-bottom-color: var(--border); color: var(--mid); }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .hero-grid { gap: 32px; }
  .hero h1 { font-size: 42px; }
  .sec-title { font-size: 40px; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-cards { grid-template-columns: repeat(2, 1fr); }
}
