/* ============================================================
   Greeklik — shared site styles
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --aegean: #1763B5;
  --aegean-bright: #1A6FC4;
  --deepsea: #0E2A47;
  --marble: #FAF6EE;
  --honey: #E8A53B;
  --stone: #5A6A7E;
  --mist: #8A9AAE;

  --max: 1080px;
  --pad-x: clamp(20px, 5vw, 48px);
  --section-y: clamp(72px, 12vw, 120px);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--deepsea);
  background: var(--marble);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ---------- Layout helpers ---------- */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

/* ---------- Typography ---------- */
.eyebrow {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--honey);
  margin: 0 0 20px 0;
}
.h-display {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0;
  color: var(--deepsea);
}
.hero h1 { font-size: clamp(36px, 6vw, 56px); }
.section-title { font-size: clamp(28px, 4.2vw, 36px); }
.lead {
  font-size: 18px;
  color: var(--stone);
  max-width: 600px;
  margin: 20px 0 0 0;
}
.muted { color: var(--stone); }

/* ---------- Buttons / links (liquid glass — faithful to designali liquid-glass-button) ---------- */
.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  padding: 17px 32px;
  border-radius: 16px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  color: var(--deepsea);
  background: rgba(14, 42, 71, 0.04);
  -webkit-backdrop-filter: blur(1px);
  backdrop-filter: url(#liquid-glass) blur(0.4px);
  transition: transform 300ms ease, box-shadow 300ms ease;
  /* exact refractive rim from the component (light variant) */
  box-shadow:
    0 0 6px rgba(0, 0, 0, 0.03),
    0 2px 6px rgba(0, 0, 0, 0.08),
    inset 3px 3px 0.5px -3px rgba(0, 0, 0, 0.9),
    inset -3px -3px 0.5px -3px rgba(0, 0, 0, 0.85),
    inset 1px 1px 1px -0.5px rgba(0, 0, 0, 0.6),
    inset -1px -1px 1px -0.5px rgba(0, 0, 0, 0.6),
    inset 0 0 6px 6px rgba(0, 0, 0, 0.12),
    inset 0 0 2px 2px rgba(0, 0, 0, 0.06),
    0 0 12px rgba(255, 255, 255, 0.15);
}
.btn:hover { transform: scale(1.05); }
.btn:active { transform: scale(0.98); }
.btn:focus-visible { outline: 2px solid var(--honey); outline-offset: 3px; }

/* Primary glass on light (marble) surfaces — dark text */
.btn-primary {
  color: var(--deepsea);
  background: rgba(14, 42, 71, 0.05);
}

/* Bright glass on dark (deepsea) surfaces — light text + light refractive rim */
.btn-primary-bright {
  color: var(--marble);
  background: rgba(255, 255, 255, 0.06);
  box-shadow:
    0 0 8px rgba(0, 0, 0, 0.03),
    0 2px 6px rgba(0, 0, 0, 0.08),
    inset 3px 3px 0.5px -3.5px rgba(255, 255, 255, 0.6),
    inset -3px -3px 0.5px -3.5px rgba(255, 255, 255, 0.85),
    inset 1px 1px 1px -0.5px rgba(255, 255, 255, 0.6),
    inset -1px -1px 1px -0.5px rgba(255, 255, 255, 0.6),
    inset 0 0 6px 6px rgba(255, 255, 255, 0.12),
    inset 0 0 2px 2px rgba(255, 255, 255, 0.06),
    0 0 12px rgba(0, 0, 0, 0.15);
}

.btn-sm {
  padding: 12px 22px;
  font-size: 15px;
  border-radius: 13px;
}
.btn .arrow {
  transition: transform 200ms ease;
  display: inline-block;
}
.btn:hover .arrow { transform: translateX(3px); }

@media (prefers-reduced-motion: reduce) {
  .btn { transition: box-shadow 300ms ease; }
  .btn:hover, .btn:active { transform: none; }
}

.text-link {
  color: var(--stone);
  font-size: 14px;
  font-weight: 400;
  position: relative;
  padding-bottom: 2px;
}
.text-link:hover {
  box-shadow: inset 0 -1px 0 0 var(--honey);
}

/* ---------- Header ---------- */
.site-header {
  background: var(--marble);
  padding: 24px 0;
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
  background-color: rgba(250, 246, 238, 0.92);
  border-bottom: 1px solid rgba(14, 42, 71, 0.05);
}
.site-header .wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}
.site-header .header-nav { justify-self: center; }
/* split layout — logo left, actions hugging the top-right corner */
.site-header--split .wrap { grid-template-columns: 1fr auto; }
.site-header--split .header-nav { justify-self: end; }
.logo-link img { width: 140px; height: auto; }
.header-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 28px);
}
.nav-link {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--deepsea);
  padding-bottom: 2px;
}
.nav-link:hover { box-shadow: inset 0 -1px 0 0 var(--honey); }
.nav-link.is-current { box-shadow: inset 0 -1px 0 0 var(--honey); }

/* ---------- Hero ---------- */
.hero {
  background: var(--marble);
  padding: var(--section-y) 0;
  position: relative;
  overflow: hidden;
}
.hero > .wrap {
  position: relative;
  z-index: 1;
  pointer-events: none;          /* let the boxes behind receive hover */
}
.hero > .wrap a,
.hero > .wrap button {
  pointer-events: auto;          /* keep CTAs clickable */
}
.hero .cta-row { margin-top: 36px; }

/* ---------- Hero rotating headline ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.hero-headline {
  display: block;
}
.hr-static {
  display: block;
  color: var(--deepsea);
}
.hr-rotate {
  position: relative;
  display: block;
  height: 1.32em;
  margin-top: 0.04em;
  overflow: hidden;
  font-family: 'Caveat', 'Segoe Script', cursive;
  font-weight: 700;
  font-size: 1.18em;
  line-height: 1.32em;
  letter-spacing: 0.01em;
  color: var(--honey);
}
.hr-word {
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(120%);
  transition: transform 0.7s cubic-bezier(0.34, 1.42, 0.64, 1),
              opacity 0.5s ease;
}
.hr-word.is-active { opacity: 1; transform: translateY(0); }
.hr-word.is-prev   { opacity: 0; transform: translateY(-130%); }
.hr-word.is-next   { opacity: 0; transform: translateY(130%); }

.hr-paren {
  font-size: 0.62em;
  font-weight: 600;
  color: var(--stone);
  margin-left: 0.06em;
  vertical-align: 0.18em;
}

/* "hard" struck through by a single hand-drawn line, then "easy" */
.hr-strike {
  position: relative;
  color: var(--stone);
  margin-right: 0.12em;
}
.hr-strike::after {
  content: '';
  position: absolute;
  left: -4%;
  right: -4%;
  top: 56%;
  height: 0.07em;
  min-height: 2px;
  background: var(--honey);
  border-radius: 2px;
  transform: rotate(-3deg);
}

@media (prefers-reduced-motion: reduce) {
  .hr-word { transition: none; }
}

/* ---------- Animated boxes background ---------- */
.boxes {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  display: flex;
  transform: translate(-50%, -50%) skewX(-48deg) skewY(14deg) scale(0.72);
  transform-origin: center;
}
.box-col {
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(14, 42, 71, 0.08);
}
.box-cell {
  position: relative;
  width: 64px;
  height: 32px;
  border-right: 1px solid rgba(14, 42, 71, 0.08);
  border-top: 1px solid rgba(14, 42, 71, 0.08);
  background-color: transparent;
}
/* graph-paper plus marks at every other intersection */
.box-cell.plus::before,
.box-cell.plus::after {
  content: '';
  position: absolute;
  background: rgba(14, 42, 71, 0.16);
  pointer-events: none;
}
.box-cell.plus::before { width: 11px; height: 1px; top: -1px; left: -5px; }
.box-cell.plus::after  { width: 1px; height: 11px; top: -5px; left: -1px; }

@media (max-width: 600px) {
  .boxes { transform: translate(-50%, -50%) skewX(-48deg) skewY(14deg) scale(0.95); }
}

/* ---------- Stats band ---------- */
.stats {
  background: var(--aegean);
  color: var(--marble);
  padding: clamp(64px, 9vw, 96px) 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 6vw, 64px);
  text-align: center;
}
.stat .stat-num {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
  font-size: clamp(52px, 8vw, 88px);
  color: var(--marble);
}
.stat .stat-label {
  margin-top: 14px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: clamp(15px, 1.6vw, 18px);
  color: rgba(250, 246, 238, 0.82);
}

/* ---------- Booking ---------- */
.booking {
  background: var(--marble);
  padding: var(--section-y) 0;
}
.booking-card {
  max-width: 960px;
  margin: 40px auto 0;
  background: #ffffff;
  border: 1px solid rgba(14, 42, 71, 0.08);
  border-radius: 12px;
  padding: 24px;
}
/* Booking page: give the calendar widget more horizontal room than the
   default 1080px content wrap so it isn't clipped / side-scrolled. */
.booking-wrap {
  max-width: 1320px;
}
.booking-container {
  max-width: 100%;         /* full width of the (wider) booking wrap */
  margin: 40px auto 0;
  background: transparent; /* no white frame */
  border: 0;
  padding: 0;
  overflow: visible;       /* critical — let the widget breathe */
  /* No fixed height — let the widget size itself */
}
.zcal-inline-widget {
  width: 100%;
  min-height: 720px;       /* prevents flash of empty space while loading */
}
.zcal-inline-widget iframe {
  width: 100% !important;
  border: none !important;
}
.booking-placeholder {
  min-height: 360px;
  border: 1.5px dashed rgba(90, 106, 126, 0.4);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--stone);
  font-size: 15px;
  text-align: center;
  padding: 24px;
}

/* ---------- Testimonials ---------- */
.testimonials {
  background: var(--marble);
  padding: var(--section-y) 0;
}
.t-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.t-card {
  background: #ffffff;
  border: 1px solid rgba(14, 42, 71, 0.08);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.t-card-text .quote {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
  color: var(--deepsea);
  margin: 0 0 16px 0;
}
.t-card-text .who {
  font-size: 13px;
  color: var(--stone);
}
.t-card-image {
  min-height: 220px;
  padding: 0;
}
.t-card-image .shot {
  flex: 1;
  margin: 16px;
  border: 1.5px dashed var(--mist);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mist);
  font-size: 13px;
  letter-spacing: 0.04em;
}

/* ---------- Featured story ---------- */
.story {
  background: var(--marble);
  padding: var(--section-y) 0;
}
.story .header-block { text-align: center; }
.story .lead { margin-left: auto; margin-right: auto; }
.video-wrap {
  max-width: 360px;
  margin: 48px auto 0;
}
.video-placeholder {
  aspect-ratio: 9 / 16;
  background: var(--deepsea);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.play-btn {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--honey);
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(232, 165, 59, 0.35);
}
.play-btn::before {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 14px 0 14px 22px;
  border-color: transparent transparent transparent var(--deepsea);
  margin-left: 6px;
}
.video-caption {
  margin-top: 16px;
  text-align: center;
  font-size: 14px;
  color: var(--stone);
}

/* ---------- Secondary CTA strip ---------- */
.cta-strip {
  background: var(--deepsea);
  padding: 60px 0;
  text-align: center;
}
.cta-strip p {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 400;
  color: var(--marble);
  margin: 0 0 24px 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--deepsea);
  padding: 32px 0;
  color: var(--mist);
  font-size: 14px;
  border-top: 1px solid rgba(250, 246, 238, 0.06);
}
.site-footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.site-footer .logo-link img { width: 110px; height: auto; }
.footer-links {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--mist);
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--mist);
  font-weight: 400;
  padding-bottom: 2px;
}
.footer-links a:hover { box-shadow: inset 0 -1px 0 0 var(--honey); }
.footer-links .dot { color: rgba(138, 154, 174, 0.5); }

/* ---------- Page header block (sub-pages) ---------- */
.page-head {
  background: var(--marble);
  padding: clamp(56px, 9vw, 96px) 0 0;
}
.page-head .lead { max-width: 640px; }

/* ---------- Legal pages (Privacy / Terms) ---------- */
.legal-head {
  background: var(--marble);
  padding: clamp(56px, 9vw, 92px) 0 clamp(24px, 4vw, 38px);
}
.legal-head .wrap { max-width: 760px; }
.legal-head h1 {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--deepsea);
  font-size: clamp(36px, 5.4vw, 52px);
  margin: 0;
}
.legal-updated {
  margin: 16px 0 0;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--stone);
}

.legal-body { background: var(--marble); padding: clamp(8px, 2vw, 20px) 0 var(--section-y); }
.legal-body .wrap { max-width: 760px; }

.legal-block { padding: clamp(28px, 4vw, 40px) 0; border-top: 1px solid rgba(14, 42, 71, 0.1); }
.legal-block:first-child { border-top: 0; padding-top: 0; }
.legal-block:last-child { padding-bottom: 0; }

.legal-h {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin: 0 0 14px;
}
.legal-num {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1;
  color: var(--honey);
  flex: none;
  min-width: 1.4em;
}
.legal-h h2 {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--deepsea);
  font-size: clamp(22px, 2.8vw, 28px);
  margin: 0;
}
.legal-block p {
  margin: 0 0 14px;
  font-size: 16.5px;
  line-height: 1.72;
  color: var(--stone);
  text-wrap: pretty;
}
.legal-block p:last-child { margin-bottom: 0; }
.legal-block p { padding-left: calc(1.4em + 16px); }
.legal-block--lead p { padding-left: 0; font-size: 17.5px; color: var(--deepsea); }

.legal-block a {
  color: var(--deepsea);
  font-weight: 500;
  box-shadow: inset 0 -1px 0 0 var(--honey);
  transition: box-shadow 160ms ease;
}
.legal-block a:hover { box-shadow: inset 0 -2px 0 0 var(--honey); }

.legal-fill {
  background: rgba(232, 165, 59, 0.18);
  color: #9a6212;
  font-weight: 500;
  border-radius: 4px;
  padding: 1px 7px;
  white-space: nowrap;
}

@media (max-width: 560px) {
  .legal-block p { padding-left: 0; }
  .legal-h { gap: 10px; }
}

/* ---------- Storytime: vertical timeline ---------- */
.timeline-section {
  background: var(--marble);
  padding: clamp(48px, 7vw, 80px) 0 var(--section-y);
}
.timeline {
  margin-top: 8px;
}
.milestone {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: clamp(20px, 4vw, 44px);
}
.milestone:last-child .milestone-body { border-image: linear-gradient(to bottom, rgba(14,42,71,0.12) 60%, transparent) 1; }
.milestone-marker {
  text-align: right;
  padding-top: 2px;
}
.m-year {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  letter-spacing: -0.02em;
  font-size: clamp(30px, 3.4vw, 38px);
  line-height: 1;
  color: var(--deepsea);
}
.m-month {
  display: block;
  margin-top: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--honey);
}
.milestone-body {
  position: relative;
  padding-left: clamp(24px, 4vw, 40px);
  padding-bottom: clamp(48px, 6vw, 72px);
  border-left: 2px solid rgba(14, 42, 71, 0.12);
}
.milestone:last-child .milestone-body { padding-bottom: 8px; }
.milestone-body::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--aegean);
  border: 3px solid var(--marble);
}
.milestone-title {
  font-size: clamp(22px, 2.8vw, 28px);
  margin: 0 0 12px 0;
}
.milestone-text {
  font-size: 16px;
  color: var(--stone);
  margin: 0;
  max-width: 60ch;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
  max-width: 560px;
}
.gallery .photo {
  aspect-ratio: 4 / 5;
  border: 1.5px dashed var(--mist);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mist);
  font-size: 12px;
  letter-spacing: 0.04em;
  background: rgba(138, 154, 174, 0.04);
}
.gallery.gallery-wide { max-width: 100%; grid-template-columns: repeat(4, 1fr); }
.gallery.gallery-2 { grid-template-columns: repeat(2, 1fr); max-width: 620px; }
.gallery .photo-img {
  margin: 0;
  padding: 0;
  border: 0;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(14, 42, 71, 0.06);
}
.gallery .photo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 620px) {
  .milestone {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .milestone-marker {
    text-align: left;
    padding-left: 26px;
  }
  .m-month { display: inline-block; margin-top: 0; margin-left: 10px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery.gallery-wide { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Levels ---------- */
.levels {
  background: var(--marble);
  padding: var(--section-y) 0;
  overflow: hidden;
}
.levels .header-block { max-width: 640px; }

/* Scroll-tilt "device" frame holding the level cards */
.cs-stage {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
  perspective: 1200px;
}
.cs-header {
  text-align: center;
  margin-bottom: clamp(26px, 4vw, 52px);
  will-change: transform;
}
.cs-header .section-title { margin: 0; }
.cs-card {
  position: relative;
  margin: 0 auto;
  border: 4px solid #20436c;
  background: var(--deepsea);
  border-radius: 30px;
  padding: clamp(8px, 1.6vw, 18px);
  box-shadow:
    0 0 #0000004d,
    0 9px 20px #0000004a,
    0 37px 37px #00000042,
    0 84px 50px #00000026,
    0 149px 60px #0000000a,
    0 233px 65px #00000003;
  transform: rotateX(20deg) scale(1.03);
  will-change: transform;
}
.cs-screen {
  border-radius: 20px;
  overflow: hidden;
  background: var(--marble);
  padding: clamp(18px, 3vw, 36px);
}
.cs-screen .levels-grid { margin-top: 0; }

.levels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 48px;
}
.level-card {
  background: #ffffff;
  border: 1px solid rgba(14, 42, 71, 0.08);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.level-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(14, 42, 71, 0.08);
  border-color: rgba(232, 165, 59, 0.45);
}
.level-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.level-code {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  font-size: 38px;
  line-height: 1;
  color: var(--deepsea);
}
.level-dots {
  display: flex;
  gap: 6px;
}
.level-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(138, 154, 174, 0.28);
}
.level-dots span.on { background: var(--honey); }
.level-title {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: var(--deepsea);
  margin: 4px 0 0 0;
  line-height: 1.3;
}
.level-text {
  font-size: 15px;
  line-height: 1.55;
  color: var(--stone);
  margin: 0;
}
.levels-note {
  margin: 28px 0 0 0;
  font-size: 16px;
  color: var(--stone);
  text-align: center;
}
.levels-note strong {
  color: var(--deepsea);
  font-weight: 500;
}

/* ---------- Tailored lessons ---------- */
.tailored {
  background: var(--marble);
  padding: var(--section-y) 0;
  border-top: 1px solid rgba(14, 42, 71, 0.06);
}
.tailored-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 72px);
  align-items: start;
}
.tailored-intro .lead { max-width: 520px; }
.reasons { display: flex; flex-direction: column; gap: 1.1em; }
.reasons p { margin: 0; }
.reasons strong { color: var(--deepsea); font-weight: 600; }
/* ---------- Polaroid flick-through ---------- */
.polaroid-stack {
  position: relative;
  width: 100%;
  min-height: 510px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1100px;
}
.polaroid {
  position: absolute;
  width: 325px;
  background: #ffffff;
  padding: 16px 16px 0;
  border-radius: 3px;
  box-shadow:
    0 14px 34px rgba(14, 42, 71, 0.2),
    0 3px 8px rgba(14, 42, 71, 0.12);
  will-change: transform, opacity;
  transition: transform 0.6s cubic-bezier(0.5, 0, 0.2, 1), opacity 0.5s ease;
  transform-origin: center bottom;
  backface-visibility: hidden;
}
.polaroid-photo {
  width: 293px;
  height: 282px;
  overflow: hidden;
  background: var(--marble);
}
.polaroid-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.polaroid figcaption {
  font-family: 'Caveat', 'Segoe Script', cursive;
  font-weight: 700;
  font-size: 28px;
  line-height: 1;
  color: var(--deepsea);
  text-align: center;
  padding: 11px 6px 18px;
}
.polaroid-shuffle {
  position: absolute;
  right: 0;
  bottom: 6px;
  z-index: 300;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--marble);
  background: rgba(14, 42, 71, 0.88);
  box-shadow: 0 6px 16px rgba(14, 42, 71, 0.28);
  transition: transform 0.25s ease, background-color 0.2s ease;
}
.polaroid-shuffle:hover { transform: scale(1.08) rotate(-30deg); }
.polaroid-shuffle:active { transform: scale(0.94); }
.polaroid-shuffle:focus-visible { outline: 2px solid var(--honey); outline-offset: 3px; }

@media (max-width: 860px) {
  .polaroid-stack { min-height: 430px; margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .polaroid { transition: none; }
}

/* ---------- FAQs ---------- */
.faqs {
  background: var(--marble);
  padding: var(--section-y) 0;
  border-top: 1px solid rgba(14, 42, 71, 0.06);
}

.faqs .header-block { text-align: center; max-width: 560px; margin: 0 auto; }
.faq-list {
  max-width: 760px;
  margin: 44px auto 0;
}

/* tabbed FAQ */
.faq-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}
.faq-tab {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(14, 42, 71, 0.18);
  background: transparent;
  border-radius: 9px;
  padding: 10px 20px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--stone);
  white-space: nowrap;
  transition: color 0.4s ease, border-color 0.4s ease;
}
.faq-tab .tab-fill {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--deepsea);
  transform: translateY(101%);
  transition: transform 0.45s cubic-bezier(0.6, 0, 0.3, 1.25);
}
.faq-tab .tab-label { position: relative; z-index: 1; }
.faq-tab:hover { color: var(--deepsea); }
.faq-tab.is-active {
  color: var(--marble);
  border-color: var(--deepsea);
}
.faq-tab.is-active:hover { color: var(--marble); }
.faq-tab.is-active .tab-fill { transform: translateY(0); }
.faq-tab:focus-visible { outline: 2px solid var(--honey); outline-offset: 2px; }

.faq-panels {
  max-width: 760px;
  margin: 36px auto 0;
}
.faq-panel { display: none; }
.faq-panel.is-active { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .faq-panel.is-active { animation: faq-fade 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
}
@keyframes faq-fade {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.faq-item {
  border-bottom: 1px solid rgba(14, 42, 71, 0.1);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: var(--deepsea);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--aegean); }
.faq-icon {
  flex: none;
  position: relative;
  width: 18px;
  height: 18px;
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--honey);
  border-radius: 2px;
  transition: transform 220ms ease, opacity 220ms ease;
}
.faq-icon::before { left: 0; top: 8px; width: 18px; height: 2px; }
.faq-icon::after { left: 8px; top: 0; width: 2px; height: 18px; }
.faq-item[open] .faq-icon::after { transform: scaleY(0); opacity: 0; }
.faq-answer {
  padding: 0 4px 24px 4px;
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--stone);
  max-width: 64ch;
}
.ph {
  color: var(--deepsea);
  background: rgba(232, 165, 59, 0.14);
  border: 1px dashed rgba(232, 165, 59, 0.6);
  border-radius: 4px;
  padding: 1px 7px;
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 0.86em;
  letter-spacing: 0.01em;
}

@media (max-width: 860px) {
  .tailored-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 760px) {
  .levels-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .levels-grid { grid-template-columns: 1fr; }
  .faq-item summary { font-size: 16px; }
}

/* ---------- 3D testimonial marquee ---------- */
.tm-stage {
  position: relative;
  height: clamp(440px, 64vh, 580px);
  margin-top: 48px;
  overflow: hidden;
  perspective: 360px;
}
.tm-inner {
  display: flex;
  gap: 16px;
  height: 100%;
  align-items: flex-start;
  justify-content: center;
  transform-style: preserve-3d;
  transform: translateX(-30px) translateZ(-70px) rotateX(16deg) rotateY(-9deg) rotateZ(15deg);
}
.tm-col {
  display: flex;
  flex-direction: column;
  flex: none;
  width: 212px;
  will-change: transform;
  animation: tm-scroll var(--tm-dur, 42s) linear infinite;
}
.tm-col[data-dir="down"] { animation-direction: reverse; }
.tm-stage:hover .tm-col { animation-play-state: paused; }

@keyframes tm-scroll {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}

.tm-card {
  background: #ffffff;
  border: 1px solid rgba(14, 42, 71, 0.08);
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 16px;
  box-shadow: 0 2px 10px rgba(14, 42, 71, 0.06);
}
.tm-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tm-avatar {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Serif Display', serif;
  font-size: 18px;
  line-height: 1;
}
.tm-meta { display: flex; flex-direction: column; min-width: 0; }
.tm-name {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--deepsea);
  display: flex;
  align-items: center;
  gap: 6px;
}
.tm-flag { font-size: 13px; }
.tm-user {
  font-size: 12px;
  font-weight: 400;
  color: var(--stone);
}
.tm-body {
  margin: 12px 0 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--deepsea);
}

/* Edge fades — blend marquee into the marble page */
.tm-fade {
  position: absolute;
  pointer-events: none;
  z-index: 2;
}
.tm-fade-top    { inset: 0 0 auto 0; height: 28%; background: linear-gradient(to bottom, var(--marble), transparent); }
.tm-fade-bottom { inset: auto 0 0 0; height: 28%; background: linear-gradient(to top, var(--marble), transparent); }
.tm-fade-left   { inset: 0 auto 0 0; width: clamp(60px, 9vw, 160px); background: linear-gradient(to right, var(--marble), transparent); }
.tm-fade-right  { inset: 0 0 0 auto; width: clamp(60px, 9vw, 160px); background: linear-gradient(to left, var(--marble), transparent); }

@media (prefers-reduced-motion: reduce) {
  .tm-col { animation: none; }
}
@media (max-width: 760px) {
  .tm-inner { transform: translateZ(-50px) rotateX(12deg) rotateY(-6deg) rotateZ(10deg); }
  .tm-col:nth-child(n+3) { display: none; }
  .tm-col { width: 200px; }
}

/* ---------- Floating ambient-music toggle ---------- */
.sound-fab {
  position: fixed;
  left: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(14px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.45s ease,
              transform 0.45s cubic-bezier(0.34, 1.3, 0.64, 1);
}
.sound-fab.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.sound-btn {
  position: relative;
  isolation: isolate;
  flex: none;
  width: 60px;
  height: 60px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--honey);
  background: rgba(14, 42, 71, 0.86);
  -webkit-backdrop-filter: blur(3px) saturate(1.4);
  backdrop-filter: url(#liquid-glass) blur(2px) saturate(1.4);
  transition: transform 0.25s ease;
  box-shadow:
    0 8px 22px rgba(14, 42, 71, 0.28),
    inset 3px 3px 0.5px -3.5px rgba(255, 255, 255, 0.6),
    inset -3px -3px 0.5px -3.5px rgba(255, 255, 255, 0.85),
    inset 1px 1px 1px -0.5px rgba(255, 255, 255, 0.6),
    inset -1px -1px 1px -0.5px rgba(255, 255, 255, 0.6),
    inset 0 0 6px 6px rgba(255, 255, 255, 0.1),
    inset 0 0 2px 2px rgba(255, 255, 255, 0.06);
}
.sound-btn:hover { transform: scale(1.06); }
.sound-btn:active { transform: scale(0.95); }
.sound-btn:focus-visible { outline: 2px solid var(--honey); outline-offset: 3px; }

/* equalizer icon */
.eq {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 22px;
}
.eq span {
  width: 3px;
  height: 8px;
  border-radius: 2px;
  background: var(--honey);
  opacity: 0.55;
  transform-origin: center bottom;
}
.eq span:nth-child(1) { height: 9px; }
.eq span:nth-child(2) { height: 16px; }
.eq span:nth-child(3) { height: 11px; }
.eq span:nth-child(4) { height: 18px; }
.sound-btn.is-playing .eq span {
  opacity: 1;
  animation: eq-bounce 0.9s ease-in-out infinite;
}
.sound-btn.is-playing .eq span:nth-child(2) { animation-delay: 0.18s; }
.sound-btn.is-playing .eq span:nth-child(3) { animation-delay: 0.36s; }
.sound-btn.is-playing .eq span:nth-child(4) { animation-delay: 0.12s; }
@keyframes eq-bounce {
  0%, 100% { height: 6px; }
  50% { height: 22px; }
}

.sound-cap {
  font-family: 'Caveat', 'Segoe Script', cursive;
  font-weight: 700;
  font-size: 21px;
  line-height: 1;
  color: var(--deepsea);
  white-space: nowrap;
  padding: 9px 17px;
  border-radius: 999px;
  background: rgba(250, 246, 238, 0.82);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(14, 42, 71, 0.08);
  box-shadow: 0 6px 18px rgba(14, 42, 71, 0.1);
}

@media (max-width: 520px) {
  .sound-cap { font-size: 19px; padding: 8px 14px; }
  .sound-btn { width: 54px; height: 54px; }
}
@media (prefers-reduced-motion: reduce) {
  .sound-btn.is-playing .eq span { animation: none; }
}

/* ---------- Reveal on scroll ---------- */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 400ms ease-out, transform 400ms ease-out;
}
.js-reveal .reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .t-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .booking-container {
    max-width: 100%;
    padding: 16px;
  }
}
@media (max-width: 600px) {
  .t-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; gap: 40px; }
  .site-header { padding: 18px 0; }
  .site-header .wrap { grid-template-columns: 1fr auto; }
  .logo-link img { width: 120px; }
  .cta-strip p { font-size: 20px; }
  .btn { padding: 14px 24px; font-size: 15px; }
  .header-nav { gap: 14px; }
  .nav-link { font-size: 14px; }
}

/* ============================================================
   Testimonials top — intro band + lively photo wall
   ============================================================ */

/* ---------- Intro band ---------- */
.intro-band {
  background: var(--marble);
  padding: calc(var(--section-y) * 0.92) 0 calc(var(--section-y) * 0.5);
  text-align: center;
}
.intro-band .eyebrow { margin: 0 0 14px 0; }
.intro-title {
  font-size: clamp(40px, 6.4vw, 66px);
  margin: 0;
}
.intro-sub {
  font-size: clamp(18px, 2.1vw, 21px);
  color: var(--stone);
  max-width: 640px;
  margin: 18px auto 0;
  text-wrap: balance;
}
.intro-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(26px, 6vw, 76px);
  margin-top: clamp(40px, 6vw, 66px);
}
.istat { display: flex; flex-direction: column; align-items: center; }
.istat-num {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
  font-size: clamp(54px, 8.4vw, 94px);
  color: var(--deepsea);
  font-variant-numeric: tabular-nums;
}
.istat:nth-child(3) .istat-num { color: var(--aegean); }
.istat:nth-child(5) .istat-num { color: var(--honey); }
.istat-label {
  margin-top: 14px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: clamp(12px, 1.4vw, 15px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
}
.istat-div {
  flex: none;
  width: 1px;
  height: clamp(56px, 8vw, 86px);
  background: linear-gradient(to bottom, transparent, rgba(14, 42, 71, 0.16), transparent);
}
.intro-note {
  margin: clamp(28px, 4vw, 40px) 0 0 0;
  font-family: 'Caveat', 'Segoe Script', cursive;
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.1;
  color: var(--honey);
}

/* ---------- Lively photo wall ---------- */
.photo-wall {
  background: var(--marble);
  padding: calc(var(--section-y) * 0.5) 0 var(--section-y);
  overflow: hidden;
}
.photo-wall .header-block {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.pw-title { font-size: clamp(28px, 4.2vw, 36px); margin: 0; }
.pw-sub { margin: 16px auto 0; }

.pw-marquee {
  position: relative;
  margin-top: clamp(38px, 5vw, 60px);
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.6vw, 20px);
}
.pw-track {
  display: flex;
  flex: none;
  width: max-content;
  gap: clamp(14px, 1.6vw, 20px);
  animation: pw-scroll var(--pw-dur, 64s) linear infinite;
  will-change: transform;
}
.pw-track--rev { animation-direction: reverse; }
.pw-marquee:hover .pw-track { animation-play-state: paused; }

@keyframes pw-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.pw-tile {
  position: relative;
  flex: none;
  height: clamp(168px, 21vw, 228px);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(14, 42, 71, 0.06);
  box-shadow: 0 3px 14px rgba(14, 42, 71, 0.08);
}
.pw-tile.is-portrait { aspect-ratio: 4 / 5; }
.pw-tile.is-square   { aspect-ratio: 1 / 1; }
.pw-tile.is-land     { aspect-ratio: 4 / 3; }
.pw-tile.is-wide     { aspect-ratio: 3 / 2; }

/* subtle diagonal texture on placeholder tiles only — never over a real photo */
.pw-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05) 0 11px,
    transparent 11px 22px
  );
  pointer-events: none;
}
.pw-tile:has(> img)::after { display: none; }
.pw-ph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px;
}
.pw-scene {
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.03em;
  line-height: 1.45;
  text-transform: lowercase;
}
.pw-tag {
  position: absolute;
  left: 11px;
  bottom: 11px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(250, 246, 238, 0.93);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(14, 42, 71, 0.06);
  box-shadow: 0 4px 12px rgba(14, 42, 71, 0.14);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 13px;
  line-height: 1;
  color: var(--deepsea);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pw-tile:hover .pw-tag {
  transform: scale(1.06);
  box-shadow: 0 6px 18px rgba(14, 42, 71, 0.2);
}
.pw-flag { font-size: 15px; line-height: 1; }

/* edge fades blend the marquee into the marble page */
.pw-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(50px, 8vw, 130px);
  z-index: 3;
  pointer-events: none;
}
.pw-fade-left  { left: 0;  background: linear-gradient(to right, var(--marble), transparent); }
.pw-fade-right { right: 0; background: linear-gradient(to left,  var(--marble), transparent); }

@media (prefers-reduced-motion: reduce) {
  .pw-track { animation: none; }
}
@media (max-width: 600px) {
  .intro-stats { gap: 18px; }
  .istat-num { font-size: clamp(40px, 13vw, 60px); }
  .istat-label { letter-spacing: 0.1em; }
}

/* ============================================================
   "In their words" — featured video testimonials
   ============================================================ */
.in-words {
  background: var(--marble);
  padding: var(--section-y) 0;
  border-top: 1px solid rgba(14, 42, 71, 0.06);
}
.in-words .header-block {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.iw-title { font-size: clamp(28px, 4.2vw, 36px); margin: 0; }
.iw-sub { margin: 16px auto 0; }

.iw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(22px, 3vw, 34px);
  margin-top: clamp(48px, 7vw, 72px);
}

.iw-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.iw-card:focus-visible { outline: 2px solid var(--honey); outline-offset: 6px; border-radius: 16px; }

.iw-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: var(--deepsea);
  border: 1px solid rgba(14, 42, 71, 0.1);
  box-shadow: 0 6px 22px rgba(14, 42, 71, 0.12);
  transition: transform 240ms ease, box-shadow 240ms ease;
}
.iw-card:hover .iw-thumb {
  transform: translateY(-4px);
  box-shadow: 0 16px 38px rgba(14, 42, 71, 0.2);
}
.iw-thumb-fill {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* film-strip texture so the placeholder unmistakably reads as video */
.iw-thumb-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    115deg,
    rgba(255, 255, 255, 0.045) 0 13px,
    transparent 13px 26px
  );
  pointer-events: none;
}
.iw-scene {
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(250, 246, 238, 0.45);
}

/* play affordance — same language as the story section play button */
.iw-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--honey);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 22px rgba(232, 165, 59, 0.4);
  transition: transform 240ms cubic-bezier(0.34, 1.3, 0.64, 1), box-shadow 240ms ease;
}
.iw-play::before {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent var(--deepsea);
  margin-left: 5px;
}
.iw-card:hover .iw-play {
  transform: translate(-50%, -50%) scale(1.12);
  box-shadow: 0 10px 30px rgba(232, 165, 59, 0.5);
}
/* soft pulse ring */
.iw-play::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1.5px solid rgba(232, 165, 59, 0.5);
  opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .iw-card:hover .iw-play::after { animation: iw-ring 1.4s ease-out infinite; }
}
@keyframes iw-ring {
  0%   { opacity: 0.6; transform: scale(1); }
  100% { opacity: 0;   transform: scale(1.5); }
}

.iw-duration {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 4px 9px;
  border-radius: 7px;
  background: rgba(14, 42, 71, 0.62);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--marble);
}
.iw-thumb-tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(250, 246, 238, 0.93);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 13px;
  line-height: 1;
  color: var(--deepsea);
}
.iw-thumb-tag .iw-flag { font-size: 15px; }

.iw-quote {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: clamp(19px, 1.9vw, 22px);
  line-height: 1.32;
  letter-spacing: -0.01em;
  color: var(--deepsea);
  margin: 0;
  text-wrap: pretty;
}
.iw-who {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--stone);
}
.iw-who .iw-flag { font-size: 15px; }

/* ---------- Lightbox ---------- */
.iw-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 5vw, 56px);
  background: rgba(14, 42, 71, 0.86);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.32s ease, visibility 0.32s ease;
}
.iw-lightbox.is-open { opacity: 1; visibility: visible; }
.iw-modal {
  width: min(880px, 100%);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.iw-lightbox.is-open .iw-modal { transform: translateY(0) scale(1); }
.iw-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: var(--deepsea);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.iw-stage-fill {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}
.iw-stage-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    115deg,
    rgba(255, 255, 255, 0.04) 0 16px,
    transparent 16px 32px
  );
  pointer-events: none;
}
.iw-stage-note {
  position: relative;
  z-index: 1;
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(250, 246, 238, 0.5);
  max-width: 30ch;
  line-height: 1.6;
}
.iw-stage .iw-play { cursor: default; }
.iw-caption {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-top: 22px;
  color: var(--marble);
}
.iw-caption .iw-quote { color: var(--marble); flex: 1; }
.iw-caption .iw-who { color: rgba(250, 246, 238, 0.72); white-space: nowrap; padding-top: 6px; }
.iw-close {
  position: absolute;
  top: clamp(16px, 4vw, 28px);
  right: clamp(16px, 4vw, 28px);
  z-index: 2;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  background: rgba(250, 246, 238, 0.12);
  color: var(--marble);
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.iw-close:hover { background: rgba(250, 246, 238, 0.24); transform: rotate(90deg); }
.iw-close:focus-visible { outline: 2px solid var(--honey); outline-offset: 3px; }

@media (max-width: 760px) {
  .iw-grid { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
}
/* portrait (IG 9:16) lightbox variant — used by the special-student spotlight */
.iw-lightbox.is-portrait .iw-modal { width: min(420px, 100%); }
.iw-lightbox.is-portrait .iw-stage { aspect-ratio: 9 / 16; }
.iw-lightbox.is-portrait .iw-caption { flex-direction: column; align-items: flex-start; gap: 8px; }
.iw-lightbox.is-portrait .iw-caption .iw-who { padding-top: 0; }

/* ============================================================
   "Inside the lessons" — warm online video-call grid
   ============================================================ */
.inside-lessons {
  background: var(--marble);
  padding: var(--section-y) 0;
  border-top: 1px solid rgba(14, 42, 71, 0.06);
}
.inside-lessons .header-block {
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}
.il-title { font-size: clamp(28px, 4.2vw, 36px); margin: 0; }
.il-sub { margin: 16px auto 0; }

.il-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(8px, 1.1vw, 13px);
  margin-top: clamp(44px, 6vw, 64px);
}
.il-tile {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: var(--deepsea);
  border: 1px solid rgba(14, 42, 71, 0.1);
  box-shadow: 0 4px 18px rgba(14, 42, 71, 0.1);
  transition: transform 240ms ease, box-shadow 240ms ease;
}
.il-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(14, 42, 71, 0.16);
}
.il-fill {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.il-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    115deg,
    rgba(255, 255, 255, 0.045) 0 12px,
    transparent 12px 24px
  );
  pointer-events: none;
}
.il-scene {
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(250, 246, 238, 0.42);
}
/* "live" pill, top-right — reads as a video call */
.il-live {
  position: absolute;
  top: 11px;
  right: 11px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 8px;
  border-radius: 999px;
  background: rgba(14, 42, 71, 0.6);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--marble);
}
.il-live::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ec57a;
  box-shadow: 0 0 0 0 rgba(78, 197, 122, 0.6);
}
@media (prefers-reduced-motion: no-preference) {
  .il-live::before { animation: il-pulse 1.8s ease-out infinite; }
}
@keyframes il-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(78, 197, 122, 0.55); }
  100% { box-shadow: 0 0 0 7px rgba(78, 197, 122, 0); }
}
/* name label, bottom-left — like a video-call participant tag */
.il-name {
  position: absolute;
  left: 11px;
  bottom: 11px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 9px;
  background: rgba(14, 42, 71, 0.66);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 13px;
  line-height: 1;
  color: var(--marble);
}
.il-name .il-flag { font-size: 15px; }
/* shift the tag to the right when the subject's face sits on the left */
.il-name--right { left: auto; right: 11px; }

/* real-photo tiles — drop a screenshot straight into the 16:9 frame */
.il-tile--img .il-fill { padding: 0; }
.il-tile--img .il-fill::after { display: none; }
.il-tile--img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.il-tile--img .il-name {
  background: rgba(14, 42, 71, 0.72);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

/* ============================================================
   "The little ones" — playful, brighter kids section
   ============================================================ */
.little-ones {
  background: #F7ECD7;            /* warm honey wash — visually distinct */
  padding: var(--section-y) 0;
}
.little-ones .header-block {
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}
.lo-heart {
  width: 40px;
  height: auto;
  margin: 0 auto 14px;
  color: var(--honey);
  display: block;
}
@media (prefers-reduced-motion: no-preference) {
  .lo-heart { animation: lo-beat 2.4s ease-in-out infinite; transform-origin: center; }
}
@keyframes lo-beat {
  0%, 70%, 100% { transform: scale(1); }
  20%           { transform: scale(1.16); }
  40%           { transform: scale(1.04); }
}
.lo-title { font-size: clamp(30px, 4.6vw, 40px); margin: 0; }
.lo-sub {
  margin: 16px auto 0;
  color: #8a6d34;                /* warm brown-gold, readable on the wash */
}
.lo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.6vw, 30px);
  margin-top: clamp(46px, 6vw, 66px);
}
.lo-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 12px 12px 16px;
  box-shadow: 0 8px 22px rgba(180, 130, 40, 0.18);
  transition: transform 360ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 360ms ease;
  will-change: transform;
}
/* scattered, hand-pinned feel */
.lo-card:nth-child(4n+1) { transform: rotate(-2.4deg); }
.lo-card:nth-child(4n+2) { transform: rotate(1.6deg); }
.lo-card:nth-child(4n+3) { transform: rotate(-1.2deg); }
.lo-card:nth-child(4n)   { transform: rotate(2.2deg); }
.lo-card:hover {
  transform: rotate(0deg) translateY(-8px) scale(1.04);
  box-shadow: 0 18px 38px rgba(180, 130, 40, 0.26);
}
.lo-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lo-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.12) 0 11px,
    transparent 11px 22px
  );
  pointer-events: none;
}
.lo-scene {
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: lowercase;
}
.lo-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
}
.lo-tag .lo-flag { font-size: 15px; }

/* real-photo card (fits the image's 4:3 ratio, no polaroid frame) */
.lo-card--wide {
  grid-column: span 1;
  background: transparent;
  box-shadow: none;
  padding: 0;
}
.lo-card--wide:hover { box-shadow: none; }
.lo-photo--img {
  aspect-ratio: 4 / 3;
  background: rgba(14, 42, 71, 0.06);
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(180, 130, 40, 0.18);
  transition: box-shadow 360ms ease;
}
.lo-card--wide:hover .lo-photo--img { box-shadow: 0 18px 38px rgba(180, 130, 40, 0.26); }
.lo-photo--img::after { display: none; }
.lo-photo--img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lo-cap {
  margin-top: 12px;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  color: #9a6212;
}
@media (max-width: 860px) {
  .lo-card--wide { grid-column: span 2; }
}

@media (max-width: 860px) {
  .il-grid { grid-template-columns: repeat(2, 1fr); }
  .lo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .il-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
}

/* ============================================================
   Closing call-to-action band
   ============================================================ */
.closing-cta {
  background: #F7ECD7;            /* warm wash — inviting, on-brand */
  padding: clamp(78px, 11vw, 124px) 0;
  text-align: center;
}
.closing-cta .wrap { max-width: 720px; }
/* little-ones and closing-cta share the same wash; drop the doubled seam padding */
.little-ones + .closing-cta { padding-top: 0; }
.cc-note {
  font-family: 'Caveat', 'Segoe Script', cursive;
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1;
  color: var(--honey);
  margin: 0 0 14px 0;
}
.cc-title {
  font-size: clamp(32px, 5vw, 48px);
  margin: 0;
}
.cc-line {
  margin: 18px auto 0;
  max-width: 540px;
  color: #8a6d34;
}
.cc-actions {
  margin-top: clamp(28px, 4vw, 38px);
  display: flex;
  justify-content: center;
}

/* ============================================================
   Special-student spotlight — IG (9:16) video frame
   ============================================================ */
.spotlight {
  background: var(--marble);
  padding: var(--section-y) 0;
  border-top: 1px solid rgba(14, 42, 71, 0.06);
}
.sp-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
}
.sp-frame {
  position: relative;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
}
/* 9:16 IG-reel video frame */
.sp-video {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 22px;
  overflow: hidden;
  background: var(--deepsea);
  border: 0;
  padding: 0;
  width: 100%;
  cursor: pointer;
  box-shadow: 0 18px 44px rgba(14, 42, 71, 0.26);
  transition: transform 260ms ease, box-shadow 260ms ease;
}
.sp-video:hover { transform: translateY(-4px); box-shadow: 0 26px 56px rgba(14, 42, 71, 0.32); }
.sp-video:focus-visible { outline: 2px solid var(--honey); outline-offset: 4px; }
.sp-fill {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sp-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    115deg,
    rgba(255, 255, 255, 0.045) 0 14px,
    transparent 14px 28px
  );
  pointer-events: none;
}
.sp-scene {
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(250, 246, 238, 0.42);
}
/* play affordance — same language as the story / video sections */
.sp-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--honey);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(232, 165, 59, 0.42);
  transition: transform 240ms cubic-bezier(0.34, 1.3, 0.64, 1);
}
.sp-play::before {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 13px 0 13px 21px;
  border-color: transparent transparent transparent var(--deepsea);
  margin-left: 5px;
}
.sp-video:hover .sp-play { transform: translate(-50%, -50%) scale(1.1); }
.sp-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 5px 11px;
  border-radius: 8px;
  background: rgba(14, 42, 71, 0.58);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--marble);
}
.sp-tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(250, 246, 238, 0.93);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 13px;
  line-height: 1;
  color: var(--deepsea);
}
.sp-tag .sp-flag { font-size: 15px; }
/* inline reel video */
.sp-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
  z-index: 0;
}
.sp-play-btn {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  cursor: pointer;
  z-index: 2;
}
.sp-video .sp-play, .sp-video .sp-badge, .sp-video .sp-tag { z-index: 3; }
.sp-video.is-playing .sp-play-btn { display: none; }
.sp-video.is-playing .sp-play,
.sp-video.is-playing .sp-badge,
.sp-video.is-playing .sp-tag {
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}
.sp-video.is-playing .sp-media { z-index: 1; }
.sp-copy .eyebrow { margin-bottom: 14px; }
.sp-quote {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--deepsea);
  margin: 0;
  text-wrap: pretty;
}
.sp-byline {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 20px 0 0 0;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--stone);
}
.sp-byline .sp-flag { font-size: 16px; }

@media (max-width: 760px) {
  .sp-grid { grid-template-columns: 1fr; gap: 32px; }
  .sp-copy { text-align: center; }
  .sp-byline { justify-content: center; }
}

/* ============================================================
   "What's included in your lessons?" — compact perks + tailoring
   ============================================================ */
.included {
  background: var(--marble);
  padding: clamp(54px, 8vw, 88px) 0;
}
.included .header-block { max-width: 640px; margin-bottom: clamp(26px, 3.6vw, 38px); }
.inc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 900px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 36px;
}
.inc-item {
  display: flex;
  align-items: center;
  gap: 15px;
}
.inc-ic {
  flex: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: rgba(232, 165, 59, 0.15);
  color: #c0801c;
}
.inc-ic svg { width: 22px; height: 22px; display: block; }
/* give a little lively variety to the chips */
.inc-item:nth-child(3n+2) .inc-ic { background: rgba(23, 99, 181, 0.12); color: var(--aegean); }
.inc-item p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--stone);
  text-wrap: pretty;
}
.inc-item p strong { color: var(--deepsea); font-weight: 600; }

.inc-tailor {
  margin-top: clamp(28px, 4vw, 44px);
  max-width: 900px;
  background: rgba(232, 165, 59, 0.11);
  border-left: 5px solid var(--honey);
  border-radius: 0 18px 18px 0;
  padding: clamp(22px, 3.2vw, 34px) clamp(24px, 3.6vw, 40px);
}
.inc-tailor-h {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--deepsea);
  font-size: clamp(25px, 3.2vw, 34px);
  margin: 0;
}
.inc-tailor-sub {
  margin: 13px 0 0;
  font-size: 16.5px;
  line-height: 1.62;
  color: var(--stone);
  max-width: 660px;
  text-wrap: pretty;
}
@media (max-width: 680px) {
  .inc-list { grid-template-columns: 1fr; }
}

/* ============================================================
   Meet the Head Tutor — portrait + comic speech bubble
   ============================================================ */
.head-tutor {
  background: var(--marble);
  padding: clamp(54px, 8vw, 90px) 0;
  overflow: hidden;
}
.head-tutor .header-block { max-width: 640px; margin-bottom: clamp(28px, 4vw, 44px); }
.tut-brand { color: var(--honey); }
.head-tutor-grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}

/* --- portrait side --- */
.tutor-figure { display: flex; flex-direction: column; align-items: center; gap: 20px; }
/* a playful pair of frames */
.tutor-frames {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.tutor-photo-frame {
  position: relative;
  flex: 0 0 auto;
  width: 232px;
  padding: 12px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 20px 44px rgba(14, 42, 71, 0.16);
  transition: transform 320ms ease;
}
.frame-a { transform: rotate(-3deg); z-index: 1; }
.frame-b { transform: rotate(3deg); margin-left: -30px; margin-top: 30px; z-index: 2; }
.head-tutor:hover .frame-a { transform: rotate(-1.5deg); }
.head-tutor:hover .frame-b { transform: rotate(1.5deg); }
/* single enlarged frame */
.frame-solo { width: clamp(300px, 30vw, 396px); transform: rotate(-2.5deg); }
.head-tutor:hover .frame-solo { transform: rotate(0deg); }
.tutor-photo-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  border: 2px solid rgba(14, 42, 71, 0.06);
  pointer-events: none;
}
.tutor-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  overflow: hidden;
}
.tutor-photo--img { object-fit: cover; height: auto; }
.tutor-id { text-align: center; }
.tutor-ig {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--stone);
  text-decoration: none;
  transition: color 220ms ease;
}
.tutor-ig-icon { width: 18px; height: 18px; display: block; }
.tutor-ig:hover { color: var(--honey); }
.tutor-name {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  font-size: clamp(22px, 2.6vw, 27px);
  color: var(--deepsea);
  margin: 0;
}
.tutor-role {
  display: inline-block;
  margin: 10px 0 0;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(232, 165, 59, 0.18);
  color: #a96d12;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* --- comic speech bubble --- */
.tutor-speak { display: flex; }
.tutor-bubble {
  position: relative;
  max-width: 580px;
  background: #fff;
  border: 3px solid var(--deepsea);
  border-radius: 32px;
  padding: clamp(24px, 3vw, 38px) clamp(26px, 3.4vw, 44px);
  box-shadow: 7px 9px 0 rgba(14, 42, 71, 0.12);
}
/* tail — points left, toward Vasia's face */
.tutor-bubble::before,
.tutor-bubble::after {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
}
.tutor-bubble::before {
  left: -27px;
  top: 58%;
  border-width: 15px;
  border-color: transparent var(--deepsea) transparent transparent;
}
.tutor-bubble::after {
  left: -20px;
  top: 60%;
  border-width: 11px;
  border-color: transparent #fff transparent transparent;
}
.tutor-bubble-text {
  margin: 0;
  font-family: 'Caveat', 'Inter', cursive;
  font-weight: 600;
  font-size: clamp(21px, 2.3vw, 28px);
  line-height: 1.4;
  color: var(--deepsea);
  text-wrap: pretty;
}
.tutor-bubble-text .gr {
  font-family: 'Inter', sans-serif;
  font-style: italic;
  font-weight: 500;
  font-size: 0.78em;
  color: var(--aegean);
}

/* pop-in from the tail when scrolled into view */
.js-reveal .tutor-bubble {
  opacity: 0;
  transform: scale(0.4);
  transform-origin: 2% 60%;
  transition: opacity 340ms cubic-bezier(0.34, 1.56, 0.64, 1),
              transform 440ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.js-reveal .tutor-bubble.is-in { opacity: 1; transform: scale(1); }

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

/* professional bio card — clean, credible counterpoint to the bubble */
.tutor-bio {
  margin-top: clamp(36px, 5vw, 60px);
  max-width: 900px;
  background: #fff;
  border: 1px solid rgba(14, 42, 71, 0.10);
  border-left: 5px solid var(--aegean);
  border-radius: 0 18px 18px 0;
  padding: clamp(24px, 3.4vw, 38px) clamp(26px, 3.6vw, 44px);
  box-shadow: 0 12px 32px rgba(14, 42, 71, 0.07);
}
.tutor-bio-label { color: var(--aegean); margin-bottom: 12px; }
.tutor-bio-text {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--stone);
  text-wrap: pretty;
}
/* "bubble text" hover on the tutor's name — proximity-based scale + brand-yellow */
.bubble-name { cursor: default; }
.bubble-name .ch {
  display: inline-block;
  transform-origin: center bottom;
  color: var(--deepsea);
  transition: transform 300ms ease, color 300ms ease;
}
.bubble-name .ch.t0 { color: #e8a53c; transform: scale(1.45); }
.bubble-name .ch.t1 { color: #e8a53c; transform: scale(1.22); }
.bubble-name .ch.t2 { color: var(--deepsea); transform: scale(1.08); }
@media (prefers-reduced-motion: reduce) {
  .bubble-name .ch { transition: color 300ms ease; transform: none !important; }
}

@media (max-width: 820px) {
  .head-tutor-grid { grid-template-columns: 1fr; justify-items: center; gap: 36px; }
  .tutor-figure { order: 0; }
  .tutor-speak { order: 1; justify-content: center; }
  .tutor-bubble { max-width: 540px; }
  /* tail flips to the top, pointing up toward her */
  .tutor-bubble::before {
    left: 50%;
    top: -27px;
    transform: translateX(-50%);
    border-width: 15px;
    border-color: transparent transparent var(--deepsea) transparent;
  }
  .tutor-bubble::after {
    left: 50%;
    top: -19px;
    transform: translateX(-50%);
    border-width: 11px;
    border-color: transparent transparent #fff transparent;
  }
  .js-reveal .tutor-bubble { transform-origin: 50% -8%; }
}
