/* ============================================================
   BING'S ACADEMY — Warm Parchment Design System
   ============================================================ */

/* --- Design Tokens --- */
:root {
  /* Backgrounds */
  --parchment:  #FAF6EE;
  --warm-white: #FFFEF9;
  --sand:       #EDE0C8;
  --linen:      #F8F4EC;

  /* Dark anchor — text, buttons, CTA/footer only */
  --ink:        #2E2318;
  --brown:      #5A4020;
  --tan:        #7A5A30;

  /* Pastel accents */
  --sage:       #C8DCC0;
  --lilac:      #D8D0E8;
  --biscuit:    #D4C4A0;
  --stone:      #C8B898;

  /* Text */
  --text-primary:   #2E2318;
  --text-secondary: #6A5A48;
  --text-muted:     #6E5E4C;
  --text-accent:    #5A4020;
  --text-reversed:  #FAF6EE;

  /* Borders */
  --border:      #DDD0B8;
  --border-card: #D4C4A0;

  /* Typography */
  --display: 'Plus Jakarta Sans', sans-serif;
  --body:    'Epilogue', sans-serif;

  /* Layout */
  --max:    1160px;
  --pad:    80px;

  /* Border radius */
  --r-sm:   6px;
  --r-md:   12px;
  --r-lg:   16px;
  --r-pill: 50px;
  --r-full: 9999px;

  --ease: 0.22s ease;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-size-adjust: 100%; overflow-x: hidden; background: var(--parchment); }
body { font-family: var(--body); color: var(--text-primary); background: var(--parchment); min-height: 100dvh; }
img  { max-width: 100%; display: block; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* --- Skip link (keyboard / screen reader) --- */
.skip-link {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus-visible {
  position: fixed; top: 0; left: 16px; z-index: 9999;
  width: auto; height: auto;
  padding: 10px 18px; margin: 0;
  overflow: visible; clip: auto; white-space: normal;
  background: var(--ink); color: var(--parchment);
  border-radius: 0 0 8px 8px;
  font-family: var(--body); font-size: 14px; font-weight: 700;
  text-decoration: none;
}

/* --- Focus visible — visible ring for keyboard users, invisible for mouse --- */
:focus { outline: none; }
:focus-visible {
  outline: 2.5px solid var(--tan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --- Base Type --- */
h1, h2, h3 { font-family: var(--display); line-height: 1.15; }
h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p  { line-height: 1.72; color: var(--text-secondary); font-family: var(--body); }

/* --- Utilities --- */
.container   { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.section-pad { padding: var(--pad) 0; }

.section-header { text-align: center; margin-bottom: 56px; }
.section-eyebrow {
  font-family: var(--body); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--text-accent); margin-bottom: 10px;
}
.section-eyebrow.light { color: rgba(250,246,238,0.65); }

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Hero entrance — fires on load, not scroll */
.hero-animate {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-animate.visible { opacity: 1; transform: translateY(0); }

/* Desktop only: photo slides in from the right */
@media (min-width: 768px) {
  .hero-photo.hero-animate { transform: translateX(40px); }
  .hero-photo.hero-animate.visible { transform: translateX(0); }
}

/* Directional scroll reveals — desktop only, mobile falls back to fade-up */
.reveal-left, .reveal-right {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-left.visible, .reveal-right.visible { opacity: 1; transform: translateY(0); }

@media (min-width: 768px) {
  .reveal-left { transform: translateX(-30px); }
  .reveal-left.visible { transform: translateX(0); }
  .reveal-right { transform: translateX(30px); }
  .reveal-right.visible { transform: translateX(0); }
}

@media (max-width: 767px) {
  .reveal-left, .reveal-right {
    transform: translateY(14px);
    transition-duration: 0.45s;
  }
}

/* Glance panels slide from right on desktop in hero context */
@media (min-width: 768px) {
  .sel-glance.hero-animate,
  .hast-glance.hero-animate,
  .oc-glance.hero-animate,
  .st-glance.hero-animate { transform: translateX(30px); }
  .sel-glance.hero-animate.visible,
  .hast-glance.hero-animate.visible,
  .oc-glance.hero-animate.visible,
  .st-glance.hero-animate.visible { transform: translateX(0); }
}

@media (max-width: 767px) {
  .reveal {
    transform: translateY(14px);
    transition-duration: 0.45s;
  }
  .hero-animate {
    transform: translateY(10px);
    transition-duration: 0.4s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .hero-animate { opacity: 1; transform: none; transition: none; }
  .squiggle-path { stroke-dashoffset: 0 !important; transition: none !important; }
}

/* --- Buttons (always pill) --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 26px; border-radius: var(--r-pill);
  font-family: var(--body); font-size: 14px; font-weight: 700;
  transition: opacity var(--ease), transform var(--ease);
  white-space: nowrap;
}
.btn:hover { opacity: 0.86; transform: translateY(-1px); }
.btn-primary  { background: var(--ink); color: var(--parchment); }
.btn-secondary { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-block { width: 100%; }

/* squiggle underline */
.sq-wrap { position: relative; display: inline; }
.sq-wrap svg {
  position: absolute; bottom: -5px; left: 0;
  width: 100%; overflow: visible; pointer-events: none;
}
.squiggle-path {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  transition: stroke-dashoffset 0.75s ease-out;
}
.sq-wrap.drawn .squiggle-path { stroke-dashoffset: 0; }


/* ============================================================
   NAVIGATION — Parchment, always visible
   ============================================================ */
.nav {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 900;
  background: var(--parchment);
  transition: box-shadow var(--ease), border-color var(--ease);
}
.nav-container {
  max-width: var(--max); margin: 0 auto; padding: 16px 28px;
  display: flex; align-items: center; justify-content: space-between;
  transition: padding var(--ease);
}
.nav.scrolled {
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(46,35,24,0.07);
}
.nav.scrolled .nav-container { padding-block: 12px; }

.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 40px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-family: var(--body); font-size: 14px; font-weight: 400;
  color: var(--text-secondary); transition: color var(--ease);
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links .nav-cta {
  background: var(--ink); color: var(--parchment) !important;
  padding: 9px 20px; border-radius: var(--r-pill); font-weight: 700;
  transition: opacity var(--ease);
}
.nav-links .nav-cta:hover { opacity: 0.82; }

/* ── Guides mega-menu ──────────────────────────────────────── */
.nav-dropdown { position: static; }
.nav-dropdown-toggle {
  display: flex; align-items: center; gap: 5px; cursor: pointer;
  font-family: var(--body); font-size: 14px; font-weight: 400;
  color: var(--text-secondary); transition: color var(--ease);
  background: none; border: none; padding: 8px 0; user-select: none;
  min-height: 44px;
}
.nav-dropdown-toggle:hover,
.nav-dropdown.open .nav-dropdown-toggle { color: var(--text-primary); }
.nav-dropdown-toggle svg { transition: transform 0.2s; flex-shrink: 0; }
.nav-dropdown:hover .nav-dropdown-toggle svg,
.nav-dropdown.open .nav-dropdown-toggle svg { transform: rotate(180deg); }

/* Mega-menu panel — full-width, pinned below the nav bar */
.nav-dropdown-menu {
  position: fixed;
  top: var(--mega-top, 64px);
  left: 0; right: 0;
  background: #FFFEF9;
  border-top: 2px solid #EDE0C8;
  border-bottom: 1px solid #EDE0C8;
  box-shadow: 0 8px 24px rgba(46,35,24,0.08);
  padding: 28px 40px 32px;
  opacity: 0; pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.18s, transform 0.18s;
  z-index: 200;
}
/* Bridge: hover buffer above panel so mouse travel doesn't flicker */
.nav-dropdown-menu::before {
  content: ''; position: absolute; bottom: 100%; left: 0;
  width: 100%; height: 16px;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1; pointer-events: auto;
  transform: translateY(0);
}

/* Inner layout */
.mega-inner {
  max-width: 860px; margin: 0 auto;
}
.mega-cols {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
}
.mega-col-heading {
  font-family: var(--display); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.09em; color: #5A4020;
  margin-bottom: 6px; padding-bottom: 8px;
  border-bottom: 1px solid #EDE0C8;
}
.mega-col-desc {
  font-family: var(--body); font-size: 12px; color: #8A7A68;
  margin-bottom: 14px; line-height: 1.5;
}
.mega-col a {
  display: block;
  font-family: var(--body); font-size: 13px; font-weight: 400;
  color: #2E2318 !important; text-decoration: none;
  line-height: 1.5; padding: 6px 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: color 0.12s;
}
.mega-col a:hover { color: #7A5A30 !important; text-decoration: underline; }
.mega-footer {
  text-align: center; margin-top: 20px;
}
.mega-footer a {
  font-family: var(--body); font-size: 12px; font-weight: 600;
  color: #5A4020 !important; text-decoration: none;
  transition: color 0.12s;
}
.mega-footer a:hover { color: #2E2318 !important; }

/* ── Mobile guides accordion ───────────────────────────────── */
.mobile-guides-toggle {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; background: none; border: none; cursor: pointer;
  font-family: var(--body); font-size: 16px; font-weight: 400;
  color: rgba(250,246,238,0.75); padding: 16px 0;
  transition: color 0.15s;
}
.mobile-guides-toggle:hover,
.mobile-guides-toggle.open { color: var(--parchment); }
.mobile-guides-toggle svg { transition: transform 0.2s; flex-shrink: 0; }
.mobile-guides-toggle.open svg { transform: rotate(180deg); }
.mobile-guides-panel {
  max-height: 0; overflow: hidden;
  transition: max-height 0.28s ease;
}
.mobile-guides-toggle[aria-expanded="true"] + .mobile-guides-panel {
  max-height: 600px;
}
.mobile-guides-panel[aria-hidden="false"] { max-height: 600px; }
.mobile-guides-category {
  font-family: var(--display); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.09em;
  color: rgba(250,246,238,0.4);
  padding: 12px 0 6px; margin-top: 4px;
}
.mobile-guides-panel a {
  display: block;
  font-family: var(--body); font-size: 14px; font-weight: 400;
  color: rgba(250,246,238,0.75) !important; text-decoration: none;
  padding: 9px 0; border-bottom: 1px solid rgba(250,246,238,0.08);
  transition: color 0.12s;
}
.mobile-guides-panel a:hover { color: var(--parchment) !important; }
.mobile-guides-item { border-bottom: 1px solid rgba(250,246,238,0.1); }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 10px; min-width: 44px; min-height: 44px; justify-content: center; }
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); border-radius: 2px; transition: var(--ease);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu — ink overlay per style guide */
.mobile-menu {
  position: fixed; inset-block: 0; inset-inline-end: 0;
  width: min(300px, 85vw); z-index: 1000;
  background: var(--ink); padding: 72px 32px 40px;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.34s cubic-bezier(0.32, 0, 0.67, 0), visibility 0s linear 0.34s;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  transition-timing-function: cubic-bezier(0.33, 1, 0.68, 1), linear;
  transition-delay: 0s;
}
.mobile-menu ul { display: flex; flex-direction: column; }
.mobile-menu li { border-bottom: 1px solid rgba(250,246,238,0.1); }
.mobile-menu a {
  display: block; padding: 17px 0;
  font-family: var(--body); font-size: 1rem; font-weight: 400;
  color: rgba(250,246,238,0.8); transition: color var(--ease);
}
.mobile-menu a:hover, .mobile-cta { color: var(--parchment) !important; font-weight: 700 !important; }
.mobile-menu-close {
  position: absolute; top: 14px; right: 14px;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(250,246,238,0.12); border-radius: 50%;
  color: rgba(250,246,238,0.85);
  font-size: 22px; line-height: 1;
  border: 1px solid rgba(250,246,238,0.18);
  transition: background 0.2s;
}
.mobile-menu-close:hover { background: rgba(250,246,238,0.2); }
.mobile-overlay {
  position: fixed; inset: 0; z-index: 950;
  background: rgba(46,35,24,0.5); opacity: 0; pointer-events: none;
  transition: opacity 0.34s ease;
}
.mobile-overlay.open { opacity: 1; pointer-events: all; }


/* ============================================================
   HERO — Parchment background, ink text
   ============================================================ */
.hero {
  background: var(--parchment);
  display: flex; align-items: center;
  padding: 120px 0 48px;
  position: relative; overflow: hidden;
}
.hero-container {
  max-width: var(--max); margin: 0 auto; padding: 0 28px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}

/* Text */
.hero-eyebrow {
  font-family: var(--body); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--text-accent); margin-bottom: 16px;
}
.hero-headline { color: var(--text-primary); margin-bottom: 20px; }
.hero-sub {
  font-family: var(--body); font-size: 1.05rem; line-height: 1.72;
  color: var(--text-secondary); margin-bottom: 36px; max-width: 460px;
}
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.trust-pill {
  display: inline-flex; align-items: center;
  background: #EDE0C8; color: #5A4020;
  font-family: var(--body); font-size: 12px; font-weight: 600;
  padding: 4px 12px; border-radius: 20px;
  white-space: nowrap; line-height: 1;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* Photo */
.hero-photo { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.hero-photo-wrap { position: relative; display: inline-block; }

/* Warm shape behind John — gives depth without clipping him */
.hero-photo-accent {
  position: absolute;
  width: 260px; height: 300px;
  background: var(--sand);
  border-radius: 55% 45% 60% 40% / 45% 55% 45% 55%;
  bottom: 0; right: -28px;
  z-index: 0;
}

/* No clip — mix-blend-mode makes white bg disappear into parchment */
.hero-photo-blob {
  position: relative; z-index: 1;
  width: 300px;
}
.hero-photo-img {
  width: 100%; height: auto;
  display: block;
  mix-blend-mode: multiply;
}

.hero-photo-info { text-align: center; }
.hero-photo-name {
  font-family: var(--display); font-size: 1.2rem; font-weight: 700;
  color: var(--text-primary); margin-bottom: 3px;
}
.hero-photo-title {
  font-family: var(--body); font-size: 13px;
  color: var(--text-muted); margin-bottom: 8px;
}
.hero-photo-credential {
  display: block;
  font-family: var(--body); font-size: 12px; font-weight: 400; font-style: italic;
  color: #5A4020; line-height: 1.5;
}


/* ============================================================
   WHY US — Deep Ink
   ============================================================ */
.why-us { background: #2E2318; }
.why-us .section-eyebrow { color: #C8B898; }
.why-us .section-heading, .why-us h2 { color: #FAF6EE; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.value-card {
  background: #3A2E24; border-radius: var(--r-md);
  border: 1px solid rgba(255,255,255,0.1); padding: 32px 24px;
  transition: transform var(--ease), box-shadow var(--ease);
}
.value-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.25);
}
.value-card h3 { color: #FAF6EE; margin-bottom: 8px; }
.value-card p  { font-size: 14px; color: #FAF6EE; }


/* ============================================================
   SERVICES — Sand background
   ============================================================ */
.services { background: var(--sand); }
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.service-card {
  background: var(--parchment); border-radius: var(--r-lg);
  border: 1px solid var(--border-card); padding: 40px 32px;
  display: flex; flex-direction: column;
  transition: transform var(--ease), box-shadow var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(46,35,24,0.1);
}
.service-badge {
  display: inline-block; align-self: flex-start;
  font-family: var(--body); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--brown); background: var(--sand);
  border: 1px solid var(--biscuit); padding: 4px 12px;
  border-radius: var(--r-pill); margin-bottom: 20px;
}
.service-icon { color: var(--brown); margin-bottom: 14px; }
.service-card h3 { color: var(--text-primary); font-size: 1.45rem; margin-bottom: 10px; }
.service-card > p { font-size: 14px; margin-bottom: 24px; }

.service-list { display: flex; flex-direction: column; gap: 10px; flex: 1; margin-bottom: 32px; }
.service-list li {
  font-family: var(--body); font-size: 14px; font-weight: 500;
  color: var(--text-secondary); padding-left: 20px; position: relative;
}
.service-list li a {
  color: inherit; text-decoration: underline; text-underline-offset: 3px;
  text-decoration-color: var(--biscuit);
  transition: color 0.15s, text-decoration-color 0.15s;
}
.service-list li a:hover { color: var(--brown); text-decoration-color: var(--brown); }
.service-list li::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 10px; height: 10px; border-radius: var(--r-full);
  background: var(--sand); border: 1.5px solid var(--biscuit);
}
.service-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--body); font-size: 13px; font-weight: 700;
  color: var(--brown); align-self: flex-start;
  transition: gap var(--ease);
}
.service-cta:hover { gap: 12px; }


/* ============================================================
   HOW IT WORKS — Parchment
   ============================================================ */
.how-it-works { background: var(--parchment); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.steps::before {
  content: ''; position: absolute; z-index: 0;
  top: 16px; left: calc(12.5% + 20px); right: calc(12.5% + 20px);
  border-top: 1px dashed #DDD0B8;
}
.step { text-align: center; padding: 0 14px; position: relative; z-index: 1; }
.step-num {
  width: 34px; height: 34px; border-radius: var(--r-full);
  font-family: var(--display); font-size: 14px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  position: relative; z-index: 2;
  box-shadow: 0 0 0 5px var(--parchment);
}
.step-num-1 { background: var(--sand);  color: var(--brown); }
.step-num-2 { background: var(--sage);  color: #2A5020; }
.step-num-3 { background: var(--lilac); color: #3A2870; }
.step-num-4 { background: var(--sand);  color: var(--brown); }

.step h3 { color: var(--text-primary); font-size: 14px; margin-bottom: 8px; }
.step p  { font-size: 13px; }


/* ============================================================
   TESTIMONIALS — Warm White, max 2 cards visible
   ============================================================ */
.testimonials { background: var(--warm-white); }

.carousel-outer { position: relative; padding: 0 52px; }
.carousel-viewport { overflow: hidden; }
.carousel-track {
  display: flex; gap: 20px;
  transition: transform 0.45s ease;
  user-select: none; will-change: transform;
}
.c-card {
  flex: none; border-radius: var(--r-md);
  overflow: hidden; display: flex; flex-direction: column;
}

/* Video card */
.video-card {
  background: var(--parchment);
  border: 1px solid var(--border-card); cursor: pointer;
}
.video-thumb {
  position: relative; padding-bottom: 58%;
  background: var(--ink); overflow: hidden; flex-shrink: 0;
}
.video-bg {
  position: absolute; inset: 0;
  background: linear-gradient(145deg, #3A2D1E 0%, var(--ink) 100%);
}
.video-bg::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 40%, rgba(122,90,48,0.15) 0%, transparent 65%);
}
.video-thumb-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; display: block;
  transform: scale(1.25);
}
.video-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(46,35,24,0.75) 0%, rgba(46,35,24,0.15) 60%, transparent 100%);
}
.play-btn {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2; transition: transform 0.2s ease;
}
.video-card:hover .play-btn { transform: translate(-50%, -50%) scale(1.1); }
.video-name {
  position: absolute; bottom: 14px; left: 16px; z-index: 2;
  font-family: var(--display); font-size: 1.3rem; font-weight: 700; color: var(--parchment);
}
.card-foot { padding: 16px 18px; }
.c-name  { font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--text-primary); margin-bottom: 2px; }
.c-label { font-family: var(--body); font-size: 12px; color: var(--text-muted); }
.c-school{ font-family: var(--body); font-size: 12px; color: var(--text-muted); }

/* Quote card */
.quote-card { background: var(--parchment); border: 1px solid var(--border); padding: 28px; }
.quote-mark {
  font-family: var(--display); font-size: 48px; line-height: 0.7;
  color: var(--stone); font-weight: 800; opacity: 0.6;
  display: block; margin-bottom: 14px;
}
.quote-text {
  font-family: var(--body); font-size: 14px; font-style: italic;
  line-height: 1.75; color: var(--text-primary); flex: 1; margin-bottom: 14px;
}
.stars { color: var(--brown); font-size: 13px; letter-spacing: 2px; margin-bottom: 18px; }
.c-footer { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.avatar {
  width: 36px; height: 36px; border-radius: var(--r-full); flex-shrink: 0;
  background: var(--sand); color: var(--brown);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 11px; font-weight: 700;
}
.quote-card .c-name { color: var(--text-primary); }

/* Carousel controls */
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: var(--r-full);
  background: var(--parchment); color: var(--brown);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); z-index: 10;
  transition: background var(--ease), box-shadow var(--ease);
}
.carousel-btn:hover { background: var(--sand); box-shadow: 0 2px 8px rgba(46,35,24,0.1); }
.carousel-prev { left: 0; }
.carousel-next { right: 0; }

.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 28px; }
.c-dot {
  width: 6px; height: 6px; border-radius: var(--r-full);
  background: var(--biscuit); border: none; cursor: pointer;
  transition: background var(--ease), width 0.25s ease;
}
.c-dot.active { background: var(--brown); width: 20px; border-radius: 3px; }

.t-disclaimer {
  text-align: center; margin-top: 16px;
  font-family: var(--body); font-size: 12px;
  color: var(--text-muted); font-style: italic;
}


/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.28s ease;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox-overlay { position: absolute; inset: 0; background: rgba(46,35,24,0.88); }
.lightbox-content { position: relative; z-index: 1; width: min(92vw, 900px); aspect-ratio: 16/9; }
.lightbox-content iframe { width: 100%; height: 100%; border-radius: var(--r-sm); }
.lightbox-close {
  position: absolute; top: -44px; right: 0;
  color: var(--parchment); padding: 8px 12px;
  background: rgba(250,246,238,0.12); border-radius: var(--r-sm);
  transition: background var(--ease);
}
.lightbox-close:hover { background: rgba(250,246,238,0.22); }


/* ============================================================
   CONTACT FORM — Parchment
   ============================================================ */
.contact { background: var(--parchment); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 72px; align-items: start; }

.contact-info .section-eyebrow { margin-bottom: 8px; }
.contact-info h2 { color: var(--text-primary); margin-bottom: 12px; }
.contact-desc { font-size: 15px; margin-bottom: 28px; }

.contact-trust { display: flex; flex-direction: column; gap: 11px; }
.contact-trust li {
  font-family: var(--body); font-size: 14px; font-weight: 500; color: var(--text-secondary);
  display: flex; align-items: center; gap: 10px;
}
.contact-trust li::before { content: '✓'; color: var(--brown); font-weight: 700; flex-shrink: 0; }

/* Contact John photo */
.contact-john-wrap { display: flex; align-items: center; gap: 16px; margin-top: 28px; }
.contact-john-img { height: 240px; width: auto; object-fit: contain; object-position: bottom; flex-shrink: 0; display: block; }
.contact-john-credit { font-family: var(--body); font-size: 13px; color: var(--text-secondary); line-height: 1.5; }
.contact-john-credit strong { color: var(--ink); font-weight: 700; display: block; }

/* Form card */
.contact-form {
  background: var(--warm-white); border-radius: var(--r-lg);
  border: 1px solid var(--border); padding: 36px;
  box-shadow: 0 4px 24px rgba(46,35,24,0.07);
}
.form-group { display: flex; flex-direction: column; gap: 5px; margin-bottom: 16px; }
.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

label { font-family: var(--body); font-size: 12px; font-weight: 700; color: var(--text-accent); }
.req      { color: var(--tan); }
.optional { font-weight: 400; color: var(--text-muted); }

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%; padding: 10px 14px;
  background: var(--warm-white); border: 1px solid var(--border-card);
  border-radius: 10px; font-family: var(--body); font-size: 16px;
  color: var(--text-primary); outline: none; appearance: none;
  transition: border-color var(--ease);
}
input:focus, select:focus, textarea:focus { border-color: var(--tan); }
input.invalid, select.invalid, textarea.invalid { border-color: #C85A40; }
textarea { resize: vertical; min-height: 90px; }

/* Select arrow */
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238A7A68' stroke-width='1.5' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px;
}

.field-err { font-family: var(--body); font-size: 12px; color: #C85A40; min-height: 14px; }

.btn-spinner {
  display: none; width: 15px; height: 15px; border-radius: var(--r-full);
  border: 2px solid rgba(250,246,238,0.3); border-top-color: var(--parchment);
  animation: spin 0.7s linear infinite;
}
.btn.loading .btn-text { display: none; }
.btn.loading .btn-spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-success {
  display: none; align-items: center; gap: 10px; justify-content: center;
  margin-top: 12px; padding: 12px;
  background: var(--sage); border-radius: var(--r-sm);
}
.form-success.visible { display: flex; }
.form-success p { font-family: var(--body); font-size: 14px; font-weight: 700; color: #2A5020; margin: 0; }


/* ============================================================
   FAQ — Warm White
   ============================================================ */
.faq { background: var(--warm-white); }
.faq-list {
  max-width: 720px; margin: 0 auto;
  background: var(--parchment); border: 1px solid var(--border);
  border-radius: 10px; overflow: hidden;
}
.faq-item { border-bottom: 1px solid var(--sand); }
.faq-item:last-child { border-bottom: none; }

.faq-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 18px 22px; text-align: left;
  font-family: var(--display); font-size: 14px; font-weight: 700;
  color: var(--text-primary); transition: color var(--ease);
}
.faq-btn:hover { color: var(--brown); }

/* Plain + / − icon per style guide */
.faq-icon {
  font-size: 20px; line-height: 1; color: var(--brown);
  flex-shrink: 0; font-family: var(--body); font-weight: 400;
  min-width: 20px; text-align: center;
}

.faq-panel {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s ease;
  background: var(--warm-white);
}
.faq-panel.open { max-height: 320px; }
.faq-panel p { padding: 0 22px 18px; font-size: 13px; line-height: 1.7; color: var(--text-secondary); }


/* ============================================================
   FOOTER — Deep Ink + paper texture (CTA strip treatment)
   ============================================================ */
.footer {
  background-color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  background-size: 180px;
  padding: 56px 0 36px;
}
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.footer-top {
  display: flex; align-items: flex-start; justify-content: space-between;
  flex-wrap: wrap; gap: 24px; margin-bottom: 24px;
}
.footer-logo img { height: 40px; width: auto; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 16px 28px; }
.footer-nav a {
  font-family: var(--body); font-size: 13px;
  color: rgba(250,246,238,0.55); transition: color var(--ease);
}
.footer-nav a:hover { color: var(--parchment); }
.footer-nav-wrap { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.footer-social { display: flex; gap: 10px; align-items: center; }
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 8px;
  background: rgba(250,246,238,0.08);
  color: rgba(250,246,238,0.55);
  transition: background var(--ease), color var(--ease);
}
.footer-social a:hover { background: rgba(250,246,238,0.16); color: var(--parchment); }
.footer-social svg { display: block; }
.footer-bottom {
  border-top: 1px solid rgba(250,246,238,0.1); padding-top: 24px;
  display: flex; flex-direction: column; gap: 8px;
}
.footer-copy { font-family: var(--body); font-size: 12px; color: #B8B2AA; }
.footer-disc { font-family: var(--body); font-size: 12px; color: #8C8880; line-height: 1.65; max-width: 680px; }


/* ============================================================
   ABOUT PAGE
   ============================================================ */

/* Nav active state */
.nav-active { color: var(--text-primary) !important; font-weight: 700; }
.mobile-active { color: #C8B898 !important; font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }

/* Section 1 — Founder */
.about-founder { background: var(--parchment); padding-top: 120px; }

.founder-grid {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 72px;
  align-items: start;
  margin-top: 36px;
}

.founder-heading {
  font-family: var(--display); font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  font-weight: 800; color: var(--text-primary);
  line-height: 1.18; margin-bottom: 24px;
}

.founder-copy p {
  font-size: 16px; line-height: 1.78;
  color: var(--text-secondary); margin-bottom: 20px;
}
.founder-copy p:last-child { margin-bottom: 0; }

.founder-photo-col {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}

.founder-portrait-wrap {
  width: 220px;
}

.founder-photo-img {
  width: 220px; height: 260px; object-fit: cover; object-position: top; display: block;
}

.about-cta-btn {
  display: inline-block; margin-top: 20px;
  background: var(--ink); color: var(--parchment);
  font-family: var(--display); font-size: 14px; font-weight: 700;
  padding: 12px 24px; border-radius: 100px; border: none; cursor: pointer;
  transition: opacity 0.15s;
}
.about-cta-btn:hover { opacity: 0.85; }

.founder-credential {
  font-family: var(--body); font-size: 12px;
  font-weight: 400; font-style: italic;
  color: #5A4020; text-align: center;
  line-height: 1.6; max-width: 180px;
}

/* Section 2+3 — Team */
.about-team { background: #FFFEF9; }

.team-intro {
  font-size: 15px; color: var(--text-secondary);
  max-width: 500px; margin: 12px auto 56px;
  text-align: center; line-height: 1.7;
}

.tutor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 44px 28px;
}

.tutor-card {
  display: flex; flex-direction: column;
  align-items: center;
}

.tutor-photo-wrap {
  width: 100%; aspect-ratio: 1 / 1;
  border-radius: 12px; overflow: hidden;
  border: 1.5px solid #C8B898;
  background: var(--sand);
  position: relative;
}

.tutor-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top; display: block;
}

.tutor-overlay {
  position: absolute; inset: 0;
  background: rgba(46,35,24,0.78);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 4px; opacity: 0;
  transition: opacity 0.2s ease;
  border-radius: 10px;
}
.tutor-photo-wrap:hover .tutor-overlay { opacity: 1; }

.tutor-overlay-name {
  font-family: var(--display); font-size: 13px; font-weight: 700;
  color: #FAF6EE; margin: 0; text-align: center; line-height: 1.3;
  padding: 0 8px;
}
.tutor-overlay-role {
  font-family: var(--body); font-size: 12px; font-weight: 400;
  color: rgba(250,246,238,0.7); margin: 0; text-align: center;
}

/* Section 4 — Soft close */
.about-close {
  background: var(--sand);
  padding: 60px 0;
}

.about-close-text {
  font-family: var(--body); font-size: 16px;
  color: var(--text-secondary); text-align: center;
  line-height: 1.75; margin: 0;
}

.about-close-text a {
  color: var(--brown);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--ease);
}

.about-close-text a:hover { color: var(--tan); }


/* ============================================================
   HAST PAGE
   ============================================================ */

/* Section 1 — Hero */
.hast-hero { background: var(--parchment); padding-top: 120px; }
.hast-differs, .hast-covers, .hast-story, .hast-testimonial, .hast-prepare { --pad: 56px; }
.hast-hero-grid { display: grid; grid-template-columns: 1fr 320px; gap: 64px; align-items: center; margin-top: 36px; }
.hast-hero-heading { font-family: var(--display); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; color: var(--text-primary); line-height: 1.15; margin-bottom: 20px; }
.hast-hero-copy p { font-family: var(--body); font-size: 15px; color: var(--text-secondary); line-height: 1.75; margin-bottom: 16px; }
.hast-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }

.hast-glance { background: var(--sand); border-radius: var(--r-lg); padding: 28px 24px; }
.hast-glance-title { font-family: var(--display); font-size: 12px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--brown); margin-bottom: 20px; }
.hast-glance-list { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.hast-glance-list li { display: flex; flex-direction: column; gap: 3px; }
.hast-glance-label { font-family: var(--body); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--tan); }
.hast-glance-value { font-family: var(--body); font-size: 13.5px; color: var(--text-primary); line-height: 1.6; }

/* Section 2 — Differs */
.hast-differs { background: #FFFEF9; }
.hast-differs-body { max-width: 680px; margin: 0 auto; }
.hast-differs-body p { font-family: var(--body); font-size: 15px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 16px; }

.hast-annotate { position: relative; display: inline-block; }
.hast-annotate svg { position: absolute; left: 0; bottom: -8px; width: 100%; height: 12px; pointer-events: none; }

/* Section 3 — Covers */
.hast-covers { background: var(--sand); }
.hast-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; }
.hast-card { border-radius: 12px; padding: 24px 20px; }
.hast-card:nth-child(1) { background: #EEF4EC; border: 1px solid #C8DCC0; }
.hast-card:nth-child(2) { background: #F0EEF5; border: 1px solid #D8D0E8; }
.hast-card:nth-child(3) { background: #F5F0E8; border: 1px solid #D4C4A0; }
.hast-card:nth-child(4) { background: #EEF4EC; border: 1px solid #C8DCC0; }
.hast-card-label { font-family: var(--body); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--tan); margin-bottom: 6px; }
.hast-card-meta { font-family: var(--body); font-size: 12px; color: var(--text-muted); margin-bottom: 10px; }
.hast-card-body { font-family: var(--body); font-size: 14px; color: var(--text-secondary); line-height: 1.75; }

/* Section 4 — Story */
.hast-story { background: var(--parchment); }
.hast-story-grid { display: grid; grid-template-columns: 220px 1fr; gap: 64px; align-items: start; position: relative; }
.hast-story-arrow { position: absolute; left: 200px; top: 48px; width: 88px; height: 70px; pointer-events: none; z-index: 1; }
.hast-story-photo { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.hast-portrait-wrap { width: 160px; height: 160px; }
.hast-blob-svg { width: 100%; height: 100%; display: block; overflow: visible; }
.hast-portrait-credential { font-family: var(--body); font-size: 13px; font-weight: 500; font-style: italic; color: #5A4020; text-align: center; line-height: 1.6; max-width: 180px; }
.hast-story-heading { font-family: var(--display); font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; color: var(--text-primary); line-height: 1.2; margin: 12px 0 20px; }
.hast-story-copy p { font-family: var(--body); font-size: 15px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 16px; }

/* Section 5 — Testimonial */
.hast-testimonial { background: var(--sand); }
.hast-testimonial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-top: 44px; }
.hast-video-thumb-wrap { border-radius: 14px; overflow: hidden; cursor: pointer; display: block; }
.hast-video-thumb-wrap .video-thumb { position: relative; padding-bottom: 56.25%; }
.hast-video-thumb-wrap .video-thumb-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.25); }
.hast-video-thumb-wrap .video-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(46,35,24,0.75) 0%, rgba(46,35,24,0.15) 60%, transparent 100%); transition: opacity 0.2s ease; }
.hast-video-thumb-wrap:hover .video-overlay { opacity: 0.7; }
.hast-video-thumb-wrap .play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.hast-testimonial-quote { display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.hast-quote-open { font-family: var(--display); font-size: 56px; font-weight: 800; color: var(--stone); line-height: 1; margin-bottom: -8px; display: block; }
.hast-quote-text { font-family: var(--display); font-size: clamp(1.3rem, 2.2vw, 1.7rem); font-weight: 700; color: var(--text-primary); line-height: 1.35; }
.hast-quote-name { font-family: var(--body); font-size: 13px; font-weight: 700; color: var(--brown); margin-bottom: 6px; }
.hast-quote-detail { font-family: var(--body); font-size: 13.5px; color: var(--text-secondary); line-height: 1.7; }

/* Section 6 — Prepare */
.hast-prepare { background: #FFFEF9; }
.hast-prepare-intro { font-family: var(--body); font-size: 15px; color: var(--text-secondary); max-width: 560px; margin: 12px auto 48px; text-align: center; line-height: 1.7; }
.hast-steps { display: flex; flex-direction: column; gap: 0; max-width: 680px; margin: 0 auto; }
.hast-step { display: flex; gap: 24px; align-items: flex-start; padding: 32px 0; }
.hast-step-num { width: 48px; height: 48px; border-radius: 50%; background: var(--sand); color: var(--brown); font-family: var(--display); font-size: 17px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hast-step-content h3 { font-family: var(--display); font-size: 15px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.hast-step-content p { font-family: var(--body); font-size: 14px; color: var(--text-secondary); line-height: 1.75; }
.hast-step-divider { border-top: 1px dashed #DDD0B8; }

/* Service card learn link */
.service-pill-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; margin-bottom: 14px; }
.service-pill {
  font-family: var(--body); font-size: 12px; font-weight: 600;
  padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--stone); color: var(--brown);
  background: var(--sand); text-decoration: none;
  display: inline-flex; align-items: center; gap: 5px;
  transition: background var(--ease), border-color var(--ease), color var(--ease);
}
.service-pill:hover { background: var(--stone); border-color: var(--tan); color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }

/* Section 7 — CTA */
.hast-cta { background: var(--ink); position: relative; padding: 80px 0; overflow: hidden; }
.hast-cta-texture { position: absolute; inset: 0; pointer-events: none; }
.hast-cta-inner { position: relative; z-index: 1; text-align: center; }
.hast-cta-heading { font-family: var(--display); font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 800; color: var(--parchment); line-height: 1.2; margin-bottom: 16px; }
.hast-cta-body { font-family: var(--body); font-size: 15px; color: rgba(250,246,238,0.72); line-height: 1.75; max-width: 500px; margin: 0 auto 36px; }
.hast-cta-btn { display: inline-block; background: var(--parchment); color: var(--ink); font-family: var(--body); font-size: 15px; font-weight: 700; padding: 14px 36px; border-radius: var(--r-pill); text-decoration: none; transition: opacity var(--ease); }
.hast-cta-btn:hover { opacity: 0.88; }

/* ============================================================
   SELECTIVE PAGE
   ============================================================ */

/* Section overrides */
.sel-hero { background: var(--parchment); padding-top: 120px; }
.sel-differs, .sel-covers, .sel-story, .sel-horizon, .sel-testimonial, .sel-prepare { --pad: 56px; }

/* Section 1 — Hero */
.sel-hero-grid { display: grid; grid-template-columns: 1fr 320px; gap: 64px; align-items: center; margin-top: 36px; }
.sel-hero-heading { font-family: var(--display); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; color: var(--text-primary); line-height: 1.15; margin-bottom: 20px; }
.sel-hero-copy p { font-family: var(--body); font-size: 15px; color: var(--text-secondary); line-height: 1.75; margin-bottom: 16px; }
.sel-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }

.sel-glance { background: var(--sand); border-radius: var(--r-lg); padding: 28px 24px; }
.sel-glance-title { font-family: var(--display); font-size: 12px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--brown); margin-bottom: 20px; }
.sel-glance-list { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.sel-glance-list li { display: flex; flex-direction: column; gap: 3px; }
.sel-glance-label { font-family: var(--body); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--tan); }
.sel-glance-value { font-family: var(--body); font-size: 13.5px; color: var(--text-primary); line-height: 1.6; }

/* Section 2 — Differs */
.sel-differs { background: #FFFEF9; }
.sel-differs-body { max-width: 680px; margin: 0 auto; }
.sel-differs-body p { font-family: var(--body); font-size: 15px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 16px; }
.sel-sign-intro { font-family: var(--body); font-size: 15px; font-weight: 600; color: var(--text-primary); margin-bottom: 12px; }
.sel-sign-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; }
.sel-sign-list li { font-family: var(--body); font-size: 14.5px; color: var(--text-secondary); line-height: 1.65; padding-left: 22px; position: relative; }
.sel-sign-list li::before { content: "—"; position: absolute; left: 0; color: var(--tan); font-weight: 700; }

/* Squiggle annotate */
.sel-annotate { position: relative; display: inline-block; }
.sel-annotate svg { position: absolute; left: 0; bottom: -8px; width: 100%; height: 12px; pointer-events: none; }

/* Section 3 — Covers */
.sel-covers { background: var(--sand); }
.sel-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; }
.sel-card { border-radius: 12px; padding: 24px 20px; }
.sel-card:nth-child(1) { background: #EEF4EC; border: 1px solid #C8DCC0; }
.sel-card:nth-child(2) { background: #F0EEF5; border: 1px solid #D8D0E8; }
.sel-card:nth-child(3) { background: #F5F0E8; border: 1px solid #D4C4A0; }
.sel-card:nth-child(4) { background: #EEF4EC; border: 1px solid #C8DCC0; }
.sel-card-label { font-family: var(--body); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--tan); margin-bottom: 6px; }
.sel-card-meta { font-family: var(--body); font-size: 12px; color: var(--text-muted); margin-bottom: 10px; }
.sel-card-body { font-family: var(--body); font-size: 14px; color: var(--text-secondary); line-height: 1.75; }

/* Section 4 — Story */
.sel-story { background: var(--parchment); }
.sel-story-grid { display: grid; grid-template-columns: 220px 1fr; gap: 64px; align-items: start; position: relative; }
.sel-story-arrow { position: absolute; left: 200px; top: 48px; width: 88px; height: 70px; pointer-events: none; z-index: 1; }
.sel-story-photo { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.sel-portrait-wrap { width: 160px; height: 160px; }
.sel-blob-svg { width: 100%; height: 100%; display: block; overflow: visible; }
.sel-portrait-credential { font-family: var(--body); font-size: 13px; font-weight: 500; font-style: italic; color: #5A4020; text-align: center; line-height: 1.6; max-width: 200px; }
.sel-story-heading { font-family: var(--display); font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; color: var(--text-primary); line-height: 1.2; margin: 12px 0 20px; }
.sel-story-copy p { font-family: var(--body); font-size: 15px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 16px; }

/* Section 4b — Horizon */
.sel-horizon { background: #FFFEF9; }
.sel-horizon-intro { font-family: var(--body); font-size: 15px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 16px; }
.sel-horizon-card { background: var(--sand); border-radius: 14px; padding: 28px 32px; margin-top: 40px; }
.sel-horizon-items { display: flex; flex-direction: column; gap: 28px; }
.sel-horizon-item-label { font-family: var(--body); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--tan); margin-bottom: 5px; }
.sel-horizon-item-body { font-family: var(--body); font-size: 14px; color: var(--text-secondary); line-height: 1.75; }
.sel-horizon-divider { border-top: 1px solid #D4C4A0; }
.sel-horizon-note { font-family: var(--body); font-size: 13.5px; color: var(--text-secondary); line-height: 1.7; margin-top: 24px; padding-top: 24px; border-top: 1px solid #D4C4A0; }
.sel-horizon-note a { color: var(--tan); font-weight: 600; text-decoration: none; }
.sel-horizon-note a:hover { color: var(--brown); }

/* Section 5 — Testimonial */
.sel-testimonial { background: var(--sand); }
.sel-testimonial-inner { max-width: 640px; margin: 0 auto; }
.sel-quote-card { background: var(--parchment); border: 1px solid #DDD0B8; border-radius: 12px; padding: 28px 32px; margin-bottom: 32px; }
.sel-quote-text { font-family: var(--body); font-size: 19px; font-weight: 400; font-style: italic; color: var(--text-primary); line-height: 1.6; margin-bottom: 16px; }
.sel-testimonial .video-thumb-img { transform: scale(2.2) translateY(-12%); image-rendering: high-quality; }
.sel-quote-attr { font-family: var(--body); font-size: 13px; font-weight: 600; color: var(--brown); }

/* Section 6 — Prepare */
.sel-prepare { background: #FFFEF9; }
.sel-prepare-intro { font-family: var(--body); font-size: 15px; color: var(--text-secondary); max-width: 560px; margin: 12px auto 48px; text-align: center; line-height: 1.7; }
.sel-steps { display: flex; flex-direction: column; gap: 0; max-width: 680px; margin: 0 auto; }
.sel-step { display: flex; gap: 24px; align-items: flex-start; padding: 32px 0; }
.sel-step-num { width: 48px; height: 48px; border-radius: 50%; font-family: var(--display); font-size: 17px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sel-step-num-1 { background: var(--sand);  color: #5A4020; }
.sel-step-num-2 { background: var(--sage);  color: #2A5020; }
.sel-step-num-3 { background: var(--lilac); color: #3A2870; }
.sel-step-num-4 { background: var(--sand);  color: #5A4020; }
.sel-step-content h3 { font-family: var(--display); font-size: 15px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.sel-step-content p { font-family: var(--body); font-size: 14px; color: var(--text-secondary); line-height: 1.75; }
.sel-step-divider { border-top: 1px dashed #DDD0B8; }

/* Section 7 — CTA */
.sel-cta { background: var(--ink); position: relative; padding: 80px 0; overflow: hidden; }
.sel-cta-texture { position: absolute; inset: 0; pointer-events: none; }
.sel-cta-inner { position: relative; z-index: 1; text-align: center; }
.sel-cta-heading { font-family: var(--display); font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 800; color: var(--parchment); line-height: 1.2; margin-bottom: 16px; }
.sel-cta-body { font-family: var(--body); font-size: 15px; color: rgba(250,246,238,0.72); line-height: 1.75; max-width: 500px; margin: 0 auto 36px; }
.sel-cta-btn { display: inline-block; background: var(--parchment); color: var(--ink); font-family: var(--body); font-size: 15px; font-weight: 700; padding: 14px 36px; border-radius: var(--r-pill); text-decoration: none; transition: opacity var(--ease); }
.sel-cta-btn:hover { opacity: 0.88; }

/* ============================================================
   OC PAGE
   ============================================================ */

.oc-hero { background: var(--parchment); padding-top: 120px; }
.oc-differs, .oc-covers, .oc-pathway, .oc-story, .oc-testimonial, .oc-prepare { --pad: 56px; }

/* Section 1 — Hero */
.oc-hero-grid { display: grid; grid-template-columns: 1fr 320px; gap: 64px; align-items: center; margin-top: 36px; }
.oc-hero-heading { font-family: var(--display); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; color: var(--text-primary); line-height: 1.15; margin-bottom: 20px; }
.oc-hero-copy p { font-family: var(--body); font-size: 15px; color: var(--text-secondary); line-height: 1.75; margin-bottom: 16px; }
.oc-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.oc-glance { background: var(--sand); border-radius: var(--r-lg); padding: 28px 24px; }
.oc-glance-title { font-family: var(--display); font-size: 12px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--brown); margin-bottom: 20px; }
.oc-glance-list { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.oc-glance-list li { display: flex; flex-direction: column; gap: 3px; }
.oc-glance-label { font-family: var(--body); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--tan); }
.oc-glance-value { font-family: var(--body); font-size: 13.5px; color: var(--text-primary); line-height: 1.6; }

/* Squiggle annotate */
.oc-annotate { position: relative; display: inline-block; }
.oc-annotate svg { position: absolute; left: 0; bottom: -8px; width: 100%; height: 12px; pointer-events: none; }

/* Section 2 — Differs */
.oc-differs { background: #FFFEF9; }
.oc-differs-body { max-width: 680px; margin: 0 auto; }
.oc-differs-body p { font-family: var(--body); font-size: 15px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 16px; }

/* Section 3 — Covers (3 cards) */
.oc-covers { background: var(--sand); }
.oc-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.oc-card { border-radius: 12px; padding: 24px 20px; }
.oc-card:nth-child(1) { background: #EEF4EC; border: 1px solid #C8DCC0; }
.oc-card:nth-child(2) { background: #F0EEF5; border: 1px solid #D8D0E8; }
.oc-card:nth-child(3) { background: #F5F0E8; border: 1px solid #D4C4A0; }
.oc-card-label { font-family: var(--body); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--tan); margin-bottom: 6px; }
.oc-card-meta { font-family: var(--body); font-size: 12px; color: var(--text-muted); margin-bottom: 10px; }
.oc-card-body { font-family: var(--body); font-size: 14px; color: var(--text-secondary); line-height: 1.75; }

/* Section 4 — Pathway */
.oc-pathway { background: var(--parchment); }
.oc-pathway-body { max-width: 720px; margin: 0 auto; }
.oc-pathway-body p { font-family: var(--body); font-size: 15px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 16px; }
.oc-pathway-card { background: var(--sand); border: 1px solid #D4C4A0; border-radius: 14px; padding: 28px 32px; max-width: 680px; margin: 36px auto 0; }
.oc-pathway-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 20px; }
.oc-pathway-item-label { font-family: var(--body); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--tan); margin-bottom: 8px; }
.oc-pathway-item-body { font-family: var(--body); font-size: 14px; color: var(--text-secondary); line-height: 1.75; }
.oc-pathway-tagline { font-family: var(--display); font-size: 14px; font-weight: 700; color: var(--text-primary); padding-top: 20px; border-top: 1px solid #D4C4A0; }

/* Section 5 — Story */
.oc-story { background: #FFFEF9; }
.oc-story-grid { display: grid; grid-template-columns: 220px 1fr; gap: 64px; align-items: start; position: relative; }
.oc-story-arrow { position: absolute; left: 200px; top: 48px; width: 88px; height: 70px; pointer-events: none; z-index: 1; }
.oc-story-photo { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.oc-portrait-wrap { width: 160px; height: 160px; }
.oc-blob-svg { width: 100%; height: 100%; display: block; overflow: visible; }
.oc-portrait-text { display: flex; flex-direction: column; gap: 2px; }
.oc-portrait-name { font-family: var(--display); font-size: 14px; font-weight: 700; font-style: normal; color: var(--text-primary); text-align: center; line-height: 1.4; }
.oc-portrait-credential { font-family: var(--body); font-size: 13px; font-weight: 500; font-style: italic; color: #5A4020; text-align: center; line-height: 1.5; max-width: 200px; }
.oc-story-heading { font-family: var(--display); font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; color: var(--text-primary); line-height: 1.2; margin: 12px 0 20px; }
.oc-story-copy p { font-family: var(--body); font-size: 15px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 16px; }

/* Section 6 — Text testimonial */
.oc-testimonial { background: var(--sand); }
.oc-testimonial-inner { max-width: 620px; margin: 44px auto 0; }
.oc-quote-card { background: var(--parchment); border: 1px solid #DDD0B8; border-radius: 12px; padding: 28px 32px; text-align: center; }
.oc-quote-open { font-family: var(--display); font-size: 56px; font-weight: 800; color: var(--stone); line-height: 1; margin-bottom: -8px; display: block; }
.oc-quote-text { font-family: var(--body); font-size: 19px; font-weight: 400; font-style: italic; color: var(--text-primary); line-height: 1.6; margin-bottom: 20px; }
.oc-quote-attr { font-family: var(--body); font-size: 13px; font-weight: 600; color: var(--brown); }

/* Section 7 — Prepare */
.oc-prepare { background: #FFFEF9; }
.oc-prepare-intro { font-family: var(--body); font-size: 15px; color: var(--text-secondary); max-width: 560px; margin: 12px auto 48px; text-align: center; line-height: 1.7; }
.oc-steps { display: flex; flex-direction: column; gap: 0; max-width: 680px; margin: 0 auto; }
.oc-step { display: flex; gap: 24px; align-items: flex-start; padding: 32px 0; }
.oc-step-num { width: 48px; height: 48px; border-radius: 50%; font-family: var(--display); font-size: 17px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.oc-step-num-1 { background: var(--sand);  color: #5A4020; }
.oc-step-num-2 { background: var(--sage);  color: #2A5020; }
.oc-step-num-3 { background: var(--lilac); color: #3A2870; }
.oc-step-content h3 { font-family: var(--display); font-size: 15px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.oc-step-content p { font-family: var(--body); font-size: 14px; color: var(--text-secondary); line-height: 1.75; }
.oc-step-divider { border-top: 1px dashed #DDD0B8; }

/* Section 8 — CTA */
.oc-cta { background: var(--ink); position: relative; padding: 80px 0; overflow: hidden; }
.oc-cta-texture { position: absolute; inset: 0; pointer-events: none; }
.oc-cta-inner { position: relative; z-index: 1; text-align: center; }
.oc-cta-heading { font-family: var(--display); font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 800; color: var(--parchment); line-height: 1.2; margin-bottom: 16px; }
.oc-cta-body { font-family: var(--body); font-size: 15px; color: rgba(250,246,238,0.72); line-height: 1.75; max-width: 500px; margin: 0 auto 36px; }
.oc-cta-btn { display: inline-block; background: var(--parchment); color: var(--ink); font-family: var(--body); font-size: 15px; font-weight: 700; padding: 14px 36px; border-radius: var(--r-pill); text-decoration: none; transition: opacity var(--ease); }
.oc-cta-btn:hover { opacity: 0.88; }

/* ============================================================
   RESPONSIVE — TABLET (≤1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .hamburger { display: flex; }
  .nav-links { display: none; }
}

/* ============================================================
   RESPONSIVE — MOBILE TYPOGRAPHY & PADDING (≤768px)
   ============================================================ */
@media (max-width: 768px) {
  :root { --pad: 56px; }

  body { font-size: 15px; }

  h2, .section-heading { font-size: 26px; }
  h1, .hero-heading, .hast-hero-heading, .sel-hero-heading, .oc-hero-heading { font-size: 32px; }

  .section-eyebrow { font-size: 12px; }
  .hast-card, .sel-card, .oc-card, .value-card { padding: 1.1rem; }
  .hast-card-body, .sel-card-body, .oc-card-body { font-size: 13px; }
  .hast-card-label, .sel-card-label, .oc-card-label { font-size: 12px; }
  .hast-card-meta, .sel-card-meta, .oc-card-meta { font-size: 13px; }

  .container { padding-inline: 20px; }
}

@media (max-width: 860px) {
  :root { --pad: 60px; }

  .hero-container { grid-template-columns: 1fr; text-align: center; gap: 28px; }
  .hero { padding-top: 90px; padding-bottom: 36px; }
  .hero-text { order: 2; }
  .hero-photo { order: 1; gap: 14px; }
  .hero-sub { max-width: 100%; }
  .hero-ctas { justify-content: center; }
  .hero-photo-blob { width: 190px; }
  .hero-photo-accent { width: 160px; height: 195px; }

  .value-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .services-grid { grid-template-columns: 1fr; max-width: 540px; margin-inline: auto; }
  .steps { grid-template-columns: 1fr 1fr; gap: 36px; }
  .steps::before { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-info { text-align: center; }
  .contact-trust { align-items: center; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-nav-wrap { flex-direction: row; align-items: flex-end; gap: 16px; width: 100%; }
  .footer-nav { flex: 1; }
  .footer-social a { width: 28px; height: 28px; }
  .footer-social svg { width: 14px; height: 14px; }

  /* About — tablet */
  .about-founder { padding-top: 100px; }
  .founder-grid { grid-template-columns: 1fr; gap: 48px; }
  .founder-photo-col { order: -1; flex-direction: row; align-items: center; justify-content: center; gap: 24px; }
  .founder-credential { text-align: left; max-width: 260px; }
  .tutor-grid { grid-template-columns: repeat(3, 1fr); gap: 36px 20px; }

  /* OC — tablet */
  .oc-hero { padding-top: 100px; }
  .oc-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .oc-story-grid { grid-template-columns: 1fr; gap: 40px; }
  .oc-story-arrow { display: none; }
  .oc-story-photo { flex-direction: row; align-items: center; gap: 24px; order: -1; }
  .oc-portrait-name { text-align: left; }
  .oc-portrait-credential { text-align: left; }
  .oc-card-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .oc-pathway-card { padding: 24px 20px; }

  /* Selective — tablet */
  .sel-hero { padding-top: 100px; }
  .sel-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .sel-story-arrow { display: none; }
  .sel-story-grid { grid-template-columns: 1fr; gap: 40px; }
  .sel-story-photo { flex-direction: row; align-items: center; gap: 24px; order: -1; }
  .sel-portrait-credential { text-align: left; }
  .sel-horizon-card { padding: 24px 20px; }

  /* HAST — tablet */
  .hast-story-arrow { display: none; }
  .hast-hero { padding-top: 100px; }
  .hast-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hast-story-grid { grid-template-columns: 1fr; gap: 40px; }
  .hast-story-photo { flex-direction: row; align-items: center; gap: 24px; order: -1; }
  .hast-portrait-credential { text-align: left; }
  .hast-testimonial-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤640px)
   ============================================================ */
@media (max-width: 640px) {
  :root { --pad: 48px; }

  .hamburger { display: flex; }
  .nav-links  { display: none; }
  .nav-container { padding-inline: 20px; }

  /* Hero: tighten vertically so CTAs appear above the fold */
  .hero { padding-top: 72px; padding-bottom: 40px; }
  .hero-photo { gap: 12px; }
  .hero-photo-blob { width: 150px; }
  .hero-photo-accent { width: 130px; height: 160px; }
  .hero-photo-name { font-size: 1rem; }
  .hero-photo-title, .hero-photo-credential { font-size: 12px; }
  .hero-sub { font-size: 15px; }
  .hero-trust { margin-bottom: 18px; justify-content: center; }
  .hero-ctas { gap: 10px; }
  .hero-ctas .btn { padding: 11px 20px; font-size: 13px; }

  /* Value cards: tighten */
  .value-card { padding: 20px; }

  /* Services: tighten card padding, reduce italic text size */
  .service-card { padding: 24px 20px; }

  /* Steps */
  .steps { grid-template-columns: 1fr; max-width: 300px; margin-inline: auto; gap: 24px; }
  .step { display: grid; grid-template-columns: 34px 1fr; column-gap: 16px; grid-template-rows: auto auto; text-align: left; }
  .step-num { margin: 0; grid-row: 1 / 3; }
  .step h3  { margin-bottom: 4px; }

  /* Carousel */
  .carousel-outer { padding: 0 28px; }

  /* Contact */
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 18px; }
  .contact-info h2 { font-size: 1.5rem; }

  /* Footer */
  .footer { padding: 36px 0 24px; }
  .footer-nav { gap: 8px 12px; }
  .footer-nav a { font-size: 12px; }
  .footer-bottom { padding-top: 14px; }

  /* About — mobile */
  .about-founder { padding-top: 88px; }
  .founder-photo-col { flex-direction: column; }
  .founder-credential { text-align: center; max-width: 200px; }
  .tutor-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .about-close { padding: 48px 0; }
  .about-close-text { font-size: 15px; }

  /* OC — mobile */
  .oc-hero { padding-top: 80px; }
  .oc-hero-ctas { flex-direction: column; }
  .oc-hero-ctas .btn { text-align: center; }
  .oc-card-grid { grid-template-columns: 1fr; }
  .oc-story-photo { flex-direction: column; align-items: center; }
  .oc-portrait-name { text-align: center; }
  .oc-portrait-credential { text-align: center; }
  .oc-pathway-grid { grid-template-columns: 1fr; gap: 16px; }
  .oc-quote-card { padding: 20px; }
  .oc-quote-text { font-size: 16px; }

  /* Selective — mobile */
  .sel-hero { padding-top: 80px; }
  .sel-card-grid { grid-template-columns: 1fr; }
  .sel-story-photo { flex-direction: column; align-items: center; }
  .sel-portrait-credential { text-align: center; }
  .sel-hero-ctas { flex-direction: column; }
  .sel-hero-ctas .btn { text-align: center; }
  .sel-quote-card { padding: 20px; }
  .sel-quote-text { font-size: 16px; }

  /* HAST — mobile */
  .hast-hero { padding-top: 80px; }
  .hast-card-grid { grid-template-columns: 1fr; }
  .hast-story-photo { flex-direction: column; align-items: center; }
  .hast-portrait-credential { text-align: center; }
  .hast-hero-ctas { flex-direction: column; }
  .hast-hero-ctas .btn { text-align: center; }
  .hast-video-wrap { max-width: 100%; }
}

/* ============================================================
   CONTACT MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(46, 35, 24, 0.7);
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}
.modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}
.modal-panel {
  background: #FAF6EE;
  border-radius: 16px;
  width: 100%;
  max-width: 520px;
  margin: auto;
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 32px;
  position: relative;
  will-change: transform;
  transform: translateY(20px);
  transition: transform 220ms ease;
  outline: none;
  flex-shrink: 0;
}
.modal-overlay.is-open .modal-panel {
  transform: translateY(0);
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(46,35,24,0.08);
  border: 1px solid rgba(46,35,24,0.12);
  cursor: pointer;
  font-size: 24px;
  color: var(--ink);
  line-height: 1;
  padding: 0;
  border-radius: 50%;
  transition: color var(--ease), background var(--ease);
}
.modal-close:hover { background: rgba(46,35,24,0.15); }
.modal-header { margin-bottom: 20px; padding-right: 32px; }
.modal-header h2 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 800;
  color: #2E2318;
  margin: 0 0 6px;
}
.modal-subtext {
  font-family: var(--body);
  font-size: 13px;
  color: #6A5A48;
  margin: 0;
}
.modal-form .form-group { margin-bottom: 14px; }
.modal-form label {
  display: block;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 600;
  color: #5A4020;
  margin-bottom: 5px;
}
.modal-form input,
.modal-form select,
.modal-form textarea {
  width: 100%;
  box-sizing: border-box;
  background: #FFFFFF;
  border: 1px solid #DDD0B8;
  border-radius: 8px;
  padding: 10px 14px;
  font-family: var(--body);
  font-size: 16px; /* prevents iOS auto-zoom */
  color: #2E2318;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.modal-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237A5A30' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 34px;
}
.modal-form input::placeholder,
.modal-form textarea::placeholder { color: #A89A88; }
.modal-form input:focus,
.modal-form select:focus,
.modal-form textarea:focus {
  outline: none;
  border-color: #7A5A30;
  box-shadow: 0 0 0 3px rgba(122, 90, 48, 0.15);
}
.modal-form input.invalid,
.modal-form select.invalid { border-color: #C0392B; }
.modal-form .field-err {
  display: block;
  font-family: var(--body);
  font-size: 12px;
  color: #C0392B;
  margin-top: 4px;
  min-height: 16px;
}
.modal-submit {
  width: 100%;
  background: #2E2318;
  color: #FAF6EE;
  border: none;
  border-radius: 50px;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 700;
  padding: 14px;
  min-height: 44px;
  cursor: pointer;
  margin-top: 6px;
  transition: opacity var(--ease);
}
.modal-submit:hover { opacity: 0.85; }
.modal-submit:disabled { opacity: 0.5; cursor: not-allowed; }
.modal-success {
  text-align: center;
  padding: 16px 0 8px;
}
.modal-success h3 {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  color: #2E2318;
  margin: 0 0 10px;
}
.modal-success p {
  font-family: var(--body);
  font-size: 14px;
  color: #6A5A48;
  margin: 0;
}

@media (max-width: 480px) {
  .modal-panel { padding: 20px 18px; }
  .modal-header { margin-bottom: 16px; }
  .modal-header h2 { font-size: 19px; }
  .modal-form .form-group { margin-bottom: 18px; }
  .modal-close { top: 12px; right: 12px; }
  .modal-form textarea { min-height: 56px; resize: none; }
}

@media (prefers-reduced-motion: reduce) {
  .modal-overlay, .modal-panel { transition: none; }
}
