/* ==========================================================================
   CRYSTAL MATH — Design System
   Understand • Think • Achieve
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Colour */
  --navy: #0D1B2A;
  --navy-soft: #13253A;
  --teal: #14B8A6;
  --teal-dark: #0E9384;
  --sky: #7DD3FC;
  --gold: #FBBF24;
  --bg: #FFFFFF;
  --bg-section: #F8FAFC;
  --text: #475569;
  --text-strong: #0D1B2A;
  --text-muted: #94A3B8;
  --line: #E8EEF5;

  /* Type */
  --font-display: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-math: 'STIX Two Math', 'STIX Two Text', serif;

  /* Shape & depth */
  --radius: 20px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --shadow-soft: 0 6px 24px -8px rgba(13, 27, 42, 0.08);
  --shadow-hover: 0 18px 44px -12px rgba(13, 27, 42, 0.14);
  --shadow-glow-teal: 0 0 32px rgba(20, 184, 166, 0.35);

  /* Rhythm */
  --section-y: clamp(4.5rem, 9vw, 8rem);
  --container: 1180px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.5s;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-strong);
  line-height: 1.18;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }

a { color: inherit; text-decoration: none; }

.math { font-family: var(--font-math); }

.container {
  width: min(var(--container), 100% - 3rem);
  margin-inline: auto;
}

section { padding-block: var(--section-y); }

.section-alt { background: var(--bg-section); }

/* Section intro pattern */
.section-head { max-width: 620px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: '';
  width: 22px; height: 2px;
  background: var(--teal);
  border-radius: 2px;
}

.section-head p { margin-top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.7rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), background var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
  will-change: transform;
}
.btn:hover { transform: translateY(-3px); }
.btn:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }

.btn-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 8px 20px -6px rgba(20, 184, 166, 0.45);
}
.btn-primary:hover { background: var(--teal-dark); box-shadow: 0 14px 30px -8px rgba(20, 184, 166, 0.5); }

.btn-ghost {
  background: transparent;
  color: var(--text-strong);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-dark); background: rgba(20, 184, 166, 0.05); }

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 8px 20px -6px rgba(251, 191, 36, 0.5);
}
.btn-gold:hover { box-shadow: 0 14px 30px -8px rgba(251, 191, 36, 0.55); }

.btn-white {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 10px 26px -8px rgba(0, 0, 0, 0.35);
}

.btn-lg { padding: 1.05rem 2.2rem; font-size: 1.02rem; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  transition: background var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), padding var(--dur) var(--ease-out);
  padding-block: 1.15rem;
  background: transparent;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 8px 24px -16px rgba(13, 27, 42, 0.12);
  padding-block: 0.65rem;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.18rem;
  color: var(--navy);
}
.logo-mark {
  width: 38px; height: 38px;
  flex: none;
  display: grid;
  place-items: center;
}
.logo span em { font-style: normal; color: var(--teal); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.9rem;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-strong);
  position: relative;
  padding-block: 0.3rem;
  transition: color 0.3s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--teal);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.nav-links a:hover { color: var(--teal-dark); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav .btn { padding: 0.65rem 1.4rem; font-size: 0.88rem; }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  place-items: center;
}
.nav-toggle:focus-visible { outline: 3px solid var(--sky); }
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.35s var(--ease-out), opacity 0.25s;
}
.nav-toggle span + span { margin-top: 5px; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 99;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 6rem 2rem 2.5rem;
  border-bottom: 1px solid var(--line);
  transform: translateY(-105%);
  transition: transform 0.5s var(--ease-out);
  box-shadow: 0 30px 60px -30px rgba(13, 27, 42, 0.25);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu ul { list-style: none; display: grid; gap: 0.35rem; }
.mobile-menu a {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--navy);
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  transition: background 0.3s, color 0.3s, transform 0.3s;
}
.mobile-menu a:hover { background: var(--bg-section); color: var(--teal-dark); transform: translateX(6px); }
.mobile-menu .btn { margin-top: 1.2rem; width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(7rem, 14vw, 10.5rem);
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 82% -10%, rgba(125, 211, 252, 0.18), transparent 65%),
    radial-gradient(700px 420px at -8% 30%, rgba(20, 184, 166, 0.10), transparent 60%),
    var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: clamp(2.5rem, 5vw, 5rem);
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-pill);
  padding: 0.4rem 1rem 0.4rem 0.55rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  box-shadow: var(--shadow-soft);
  margin-bottom: 1.6rem;
}
.hero-badge i {
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--sky));
  color: #fff;
  font-size: 0.75rem;
  font-style: normal;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--teal) 10%, var(--sky) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy p {
  margin-top: 1.4rem;
  max-width: 500px;
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.2rem;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 2.4rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.hero-meta .stars { color: var(--gold); letter-spacing: 2px; font-size: 0.85rem; }

/* Hero illustration */
.hero-art { position: relative; }
.hero-art-card {
  position: relative;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: calc(var(--radius) + 8px);
  box-shadow: var(--shadow-hover);
  padding: clamp(1rem, 2vw, 1.6rem);
}
.hero-art svg { width: 100%; height: auto; }

/* floating facets */
.facet {
  position: absolute;
  z-index: 1;
  opacity: 0.55;
  animation: float 12s ease-in-out infinite;
  pointer-events: none;
}
.facet-1 { top: 14%; left: 4%; animation-delay: 0s; }
.facet-2 { top: 62%; left: 44%; animation-delay: -4s; animation-duration: 15s; }
.facet-3 { top: 22%; right: 3%; animation-delay: -8s; animation-duration: 18s; }
.facet-4 { bottom: 6%; left: 12%; animation-delay: -6s; animation-duration: 14s; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-22px) rotate(8deg); }
}

/* SVG graph animation */
.draw-curve {
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: draw 2.6s var(--ease-out) forwards;
}
.draw-curve.delay-1 { animation-delay: 0.7s; }
.draw-curve.delay-2 { animation-delay: 1.3s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.graph-point {
  opacity: 0;
  transform-origin: center;
  animation: pop 0.6s var(--ease-out) forwards;
}
.graph-point.p1 { animation-delay: 2s; }
.graph-point.p2 { animation-delay: 2.3s; }
.graph-point.p3 { animation-delay: 2.6s; }
@keyframes pop {
  0% { opacity: 0; transform: scale(0); }
  70% { transform: scale(1.35); }
  100% { opacity: 1; transform: scale(1); }
}

.glow-pulse { animation: glowPulse 4s ease-in-out infinite 3s; }
@keyframes glowPulse {
  0%, 100% { filter: drop-shadow(0 0 2px rgba(20, 184, 166, 0.4)); }
  50% { filter: drop-shadow(0 0 10px rgba(20, 184, 166, 0.8)); }
}

.crystal-emerge {
  opacity: 0;
  transform-origin: center;
  animation: emerge 1.2s var(--ease-out) forwards 2.9s;
}
@keyframes emerge {
  0% { opacity: 0; transform: scale(0.4) translateY(16px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* ---------- Trust bar ---------- */
.trust {
  border-block: 1px solid var(--line);
  background: var(--bg-section);
  padding-block: 1.4rem;
}
.trust ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
}
.trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
}
.trust li svg { width: 20px; height: 20px; flex: none; }

/* ---------- Cards (shared) ---------- */
.card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(20, 184, 166, 0.35);
}

/* ---------- Why Crystal Math ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.pillar { padding: 2.4rem 2.1rem; position: relative; overflow: hidden; }
.pillar::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--sky));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
.pillar:hover::after { transform: scaleX(1); }

.pillar-icon {
  width: 60px; height: 60px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  margin-bottom: 1.5rem;
  transition: transform 0.5s var(--ease-out);
}
.pillar:hover .pillar-icon { transform: translateY(-4px) rotate(-4deg); }
.pillar-icon.teal { background: rgba(20, 184, 166, 0.12); color: var(--teal-dark); }
.pillar-icon.sky { background: rgba(125, 211, 252, 0.22); color: #0284C7; }
.pillar-icon.gold { background: rgba(251, 191, 36, 0.18); color: #B45309; }
.pillar-icon svg { width: 28px; height: 28px; }

.pillar h3 { margin-bottom: 0.6rem; font-size: 1.35rem; }

/* ---------- Statistics ---------- */
.stats-band {
  background:
    radial-gradient(700px 300px at 15% 0%, rgba(20, 184, 166, 0.25), transparent 60%),
    radial-gradient(700px 300px at 90% 100%, rgba(125, 211, 252, 0.18), transparent 60%),
    var(--navy);
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(2.6rem, 5vw, 4rem) clamp(1.6rem, 4vw, 3.5rem);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.stat { text-align: center; }
.stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: #fff;
  line-height: 1;
}
.stat-num .suffix { color: var(--teal); }
.stat-label {
  margin-top: 0.6rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
}

/* ---------- Courses ---------- */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.course-card { overflow: hidden; display: flex; flex-direction: column; }
.course-visual {
  height: 150px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.course-visual .math {
  font-size: 2.1rem;
  color: rgba(255, 255, 255, 0.95);
  z-index: 1;
  transition: transform 0.5s var(--ease-out);
}
.course-card:hover .course-visual .math { transform: scale(1.12); }
.course-visual::before {
  content: '';
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle at 70% 20%, rgba(255,255,255,0.28), transparent 55%);
}
.cv-9  { background: linear-gradient(135deg, #14B8A6, #0E9384); }
.cv-10 { background: linear-gradient(135deg, #38BDF8, #0284C7); }
.cv-11 { background: linear-gradient(135deg, #0D1B2A, #16344F); }
.cv-12 { background: linear-gradient(135deg, #F59E0B, #FBBF24); }
.cv-nbt { background: linear-gradient(135deg, #14B8A6 0%, #7DD3FC 100%); }

.course-body { padding: 1.7rem 1.7rem 1.9rem; display: flex; flex-direction: column; flex: 1; }
.course-tag {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 0.4rem;
}
.course-body h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.course-body p { font-size: 0.96rem; flex: 1; }
.course-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.2rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--teal-dark);
}
.course-link svg { width: 16px; height: 16px; transition: transform 0.35s var(--ease-out); }
.course-card:hover .course-link svg { transform: translateX(5px); }

/* ---------- Learning journey ---------- */
.journey {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  position: relative;
  counter-reset: step;
}
.journey::before {
  content: '';
  position: absolute;
  top: 44px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--sky), var(--gold));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.4s var(--ease-out) 0.2s;
  z-index: 0;
}
.journey.in-view::before { transform: scaleX(1); }

.journey-step { text-align: center; position: relative; z-index: 1; }
.journey-node {
  width: 88px; height: 88px;
  margin-inline: auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.journey-step:hover .journey-node { transform: translateY(-6px) scale(1.05); box-shadow: var(--shadow-hover); }
.journey-node svg { width: 34px; height: 34px; }
.journey-step h3 { margin-top: 1.2rem; font-size: 1.1rem; }
.journey-step p { font-size: 0.92rem; margin-top: 0.35rem; max-width: 220px; margin-inline: auto; }

/* ---------- Workbook ---------- */
.workbook-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.book {
  width: min(330px, 78%);
  aspect-ratio: 3 / 4;
  margin-inline: auto;
  position: relative;
  border-radius: 8px 16px 16px 8px;
  background: linear-gradient(150deg, #13253A 0%, #0D1B2A 55%, #16344F 100%);
  box-shadow:
    -14px 0 0 -6px #0A1420,
    0 34px 70px -20px rgba(13, 27, 42, 0.5);
  transform: rotate(-3deg);
  transition: transform 0.6s var(--ease-out);
  overflow: hidden;
  padding: 2.2rem 1.9rem;
  display: flex;
  flex-direction: column;
}
.book:hover { transform: rotate(0deg) translateY(-8px); }
.book::before {
  content: '';
  position: absolute;
  left: 14px; top: 0; bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.12);
}
.book::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 260px at 90% -10%, rgba(125, 211, 252, 0.22), transparent 60%);
}
.book-brand {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sky);
}
.book-title {
  margin-top: auto;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.7rem;
  line-height: 1.25;
  color: #fff;
}
.book-title em { font-style: normal; color: var(--gold); }
.book-sub {
  margin-top: 0.6rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}
.book-math {
  position: absolute;
  top: 18%;
  right: 10%;
  font-family: var(--font-math);
  font-size: 2.6rem;
  color: rgba(125, 211, 252, 0.35);
  transform: rotate(6deg);
}
.book-seal {
  position: absolute;
  bottom: 1.6rem;
  right: 1.6rem;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 0.5rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.25;
  letter-spacing: 0.06em;
  box-shadow: 0 8px 18px -6px rgba(251, 191, 36, 0.6);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(251, 191, 36, 0.15);
  color: #92400E;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  padding: 0.4rem 1rem;
  margin-bottom: 1.2rem;
}
.workbook-copy ul {
  list-style: none;
  margin-block: 1.6rem;
  display: grid;
  gap: 0.75rem;
}
.workbook-copy li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 1rem;
}
.workbook-copy li svg { width: 20px; height: 20px; flex: none; margin-top: 4px; color: var(--teal); }

/* ---------- Resources ---------- */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.resource-card {
  padding: 1.9rem 1.7rem;
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
}
.resource-icon {
  width: 48px; height: 48px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--bg-section);
  color: var(--teal-dark);
  transition: background 0.4s, color 0.4s, transform 0.5s var(--ease-out);
}
.resource-card:hover .resource-icon {
  background: var(--teal);
  color: #fff;
  transform: rotate(-6deg) scale(1.06);
}
.resource-icon svg { width: 22px; height: 22px; }
.resource-card h3 { font-size: 1.06rem; margin-bottom: 0.25rem; }
.resource-card p { font-size: 0.9rem; }

/* ---------- Daily challenge ---------- */
.challenge-card {
  max-width: 760px;
  margin-inline: auto;
  padding: clamp(2.2rem, 5vw, 3.2rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.challenge-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--teal), var(--sky), var(--gold));
}
.challenge-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 1.4rem;
}
.challenge-q {
  font-family: var(--font-math);
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  color: var(--text-strong);
  margin-block: 0.5rem 1.8rem;
}
.challenge-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.7s var(--ease-out), opacity 0.6s var(--ease-out), margin 0.6s var(--ease-out);
}
.challenge-answer.revealed {
  max-height: 400px;
  opacity: 1;
  margin-top: 1.6rem;
}
.challenge-answer-inner {
  background: var(--bg-section);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.5rem 1.7rem;
  text-align: left;
}
.challenge-answer-inner .math { font-size: 1.15rem; color: var(--text-strong); }
.challenge-answer-inner p { font-size: 0.95rem; margin-top: 0.5rem; }

/* ---------- YouTube ---------- */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.video-card { overflow: hidden; cursor: pointer; }
.video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.vt-1 { background: linear-gradient(130deg, #0D1B2A, #14B8A6); }
.vt-2 { background: linear-gradient(130deg, #0D1B2A, #0284C7); }
.vt-3 { background: linear-gradient(130deg, #13253A, #B45309); }
.video-thumb .math {
  font-size: 2.4rem;
  color: rgba(255, 255, 255, 0.85);
}
.video-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(13, 27, 42, 0);
  transition: background 0.4s;
}
.video-card:hover .video-thumb::after { background: rgba(13, 27, 42, 0.25); }
.play-btn {
  position: absolute;
  z-index: 2;
  width: 62px; height: 62px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.4);
  transition: transform 0.45s var(--ease-out), background 0.4s;
}
.play-btn svg { width: 20px; height: 20px; color: var(--navy); margin-left: 3px; }
.video-card:hover .play-btn { transform: scale(1.14); background: var(--teal); }
.video-card:hover .play-btn svg { color: #fff; }
.video-body { padding: 1.4rem 1.6rem 1.6rem; }
.video-body h3 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.video-body span { font-size: 0.85rem; color: var(--text-muted); }

/* ---------- Testimonials ---------- */
.testimonials { position: relative; }
.testi-viewport { overflow: hidden; }
.testi-track {
  display: flex;
  transition: transform 0.7s var(--ease-out);
}
.testi-slide {
  flex: 0 0 100%;
  padding-inline: 0.5rem;
  display: grid;
  place-items: center;
}
.bubble {
  max-width: 720px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 2.4rem 2.6rem 2.2rem;
  position: relative;
  text-align: center;
}
.bubble::after {
  content: '';
  position: absolute;
  bottom: -11px;
  left: 50%;
  width: 22px; height: 22px;
  background: #fff;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transform: translateX(-50%) rotate(45deg);
}
.bubble .stars { color: var(--gold); letter-spacing: 3px; font-size: 1rem; margin-bottom: 1rem; }
.bubble blockquote {
  font-size: 1.12rem;
  color: var(--text-strong);
  line-height: 1.65;
}
.testi-author {
  margin-top: 2rem;
  text-align: center;
}
.testi-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  margin-inline: auto;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--sky));
  margin-bottom: 0.6rem;
}
.testi-author strong { font-family: var(--font-display); color: var(--text-strong); font-size: 0.98rem; display: block; }
.testi-author span { font-size: 0.85rem; color: var(--text-muted); }

.testi-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 2.4rem;
}
.testi-arrow {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--navy);
  transition: border-color 0.35s, background 0.35s, color 0.35s, transform 0.35s var(--ease-out);
}
.testi-arrow:hover { border-color: var(--teal); background: var(--teal); color: #fff; transform: translateY(-2px); }
.testi-arrow:focus-visible { outline: 3px solid var(--sky); }
.testi-arrow svg { width: 18px; height: 18px; }
.testi-dots { display: flex; gap: 0.5rem; }
.testi-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: none;
  background: var(--line);
  cursor: pointer;
  transition: background 0.35s, transform 0.35s;
  padding: 0;
}
.testi-dot.active { background: var(--teal); transform: scale(1.35); }

/* ---------- Final CTA ---------- */
.cta-final {
  background:
    radial-gradient(800px 400px at 20% 10%, rgba(20, 184, 166, 0.35), transparent 60%),
    radial-gradient(700px 380px at 85% 90%, rgba(125, 211, 252, 0.28), transparent 55%),
    linear-gradient(135deg, #0D1B2A, #12385A);
  border-radius: calc(var(--radius) + 10px);
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.6rem, 5vw, 4rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-final h2 { color: #fff; max-width: 620px; margin-inline: auto; }
.cta-final p {
  color: rgba(255, 255, 255, 0.72);
  max-width: 480px;
  margin: 1.2rem auto 2.2rem;
}
.cta-facet {
  position: absolute;
  opacity: 0.35;
  animation: float 16s ease-in-out infinite;
}
.cta-facet.a { top: 12%; left: 6%; }
.cta-facet.b { bottom: 10%; right: 7%; animation-delay: -7s; }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.68);
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
  margin-top: var(--section-y);
  font-size: 0.94rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer .logo { color: #fff; margin-bottom: 1rem; }
.footer h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 1.1rem;
  letter-spacing: 0.02em;
}
.footer ul { list-style: none; display: grid; gap: 0.55rem; }
.footer ul a { transition: color 0.3s, padding-left 0.3s; }
.footer ul a:hover { color: var(--sky); padding-left: 4px; }

.footer-tagline { font-size: 0.9rem; max-width: 260px; }
.socials { display: flex; gap: 0.7rem; margin-top: 1.4rem; }
.socials a {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.07);
  transition: background 0.35s, transform 0.35s var(--ease-out);
}
.socials a:hover { background: var(--teal); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; color: #fff; }

.newsletter { display: flex; gap: 0.5rem; margin-top: 0.4rem; }
.newsletter input {
  flex: 1;
  min-width: 0;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-pill);
  padding: 0.7rem 1.2rem;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color 0.3s, background 0.3s;
}
.newsletter input::placeholder { color: rgba(255, 255, 255, 0.4); }
.newsletter input:focus { outline: none; border-color: var(--teal); background: rgba(255, 255, 255, 0.1); }
.newsletter .btn { padding: 0.7rem 1.3rem; font-size: 0.86rem; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem 2rem;
  font-size: 0.85rem;
}
.footer-bottom nav { display: flex; gap: 1.6rem; }
.footer-bottom a:hover { color: var(--sky); }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.in-view { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }
.reveal.d4 { transition-delay: 0.4s; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .draw-curve { stroke-dashoffset: 0; }
  .graph-point, .crystal-emerge { opacity: 1; }
  .reveal { opacity: 1; transform: none; }
  .journey::before { transform: scaleX(1); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .pillars, .courses-grid, .videos-grid, .resources-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .journey { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1.4rem; }
  .journey::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-links, .nav-cta-desktop { display: none; }
  .nav-toggle { display: grid; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-copy p { margin-inline: auto; }
  .hero-actions, .hero-meta { justify-content: center; }
  .workbook-grid { grid-template-columns: 1fr; }
  .trust ul { justify-content: center; }
}

@media (max-width: 620px) {
  .pillars, .courses-grid, .videos-grid, .resources-grid { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
  .journey { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .bubble { padding: 1.8rem 1.5rem; }
  .footer-bottom { justify-content: center; text-align: center; }
}

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

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  padding-top: clamp(7.5rem, 14vw, 11rem);
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
  overflow: hidden;
  background:
    radial-gradient(800px 420px at 85% -10%, rgba(125, 211, 252, 0.18), transparent 65%),
    radial-gradient(600px 380px at -5% 60%, rgba(20, 184, 166, 0.1), transparent 60%),
    var(--bg);
  text-align: center;
}
.page-hero h1 { max-width: 760px; margin-inline: auto; }
.page-hero p { max-width: 560px; margin: 1.3rem auto 0; font-size: 1.1rem; }

/* Founder profile */
.founder-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.portrait-frame {
  position: relative;
  width: min(400px, 100%);
  margin-inline: auto;
}
.portrait-card {
  aspect-ratio: 4 / 5;
  border-radius: calc(var(--radius) + 6px);
  background:
    radial-gradient(340px 260px at 80% 8%, rgba(125, 211, 252, 0.3), transparent 60%),
    radial-gradient(300px 280px at 10% 95%, rgba(20, 184, 166, 0.28), transparent 60%),
    linear-gradient(160deg, #13253A, #0D1B2A);
  box-shadow: var(--shadow-hover);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.portrait-card .monogram {
  width: 118px; height: 118px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--teal), var(--sky));
  color: #fff;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  box-shadow: var(--shadow-glow-teal);
}
.portrait-card .portrait-note {
  position: absolute;
  bottom: 1.2rem;
  inset-inline: 1.2rem;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
}
.portrait-card .facet-bg {
  position: absolute;
  opacity: 0.25;
}
.portrait-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  padding: 0.7rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  animation: float 10s ease-in-out infinite;
}
.portrait-badge svg { width: 20px; height: 20px; flex: none; color: var(--teal-dark); }
.pb-1 { top: 8%; right: -6%; }
.pb-2 { bottom: 12%; left: -8%; animation-delay: -5s; }

.founder-copy .eyebrow { margin-bottom: 0.8rem; }
.founder-copy h2 { margin-bottom: 0.4rem; }
.founder-role {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--teal-dark);
  margin-bottom: 1.3rem;
}
.founder-copy > p { margin-bottom: 1.1rem; }

.cred-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-top: 1.8rem;
}
.cred-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  background: var(--bg-section);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-strong);
  transition: border-color 0.35s, transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}
.cred-list li:hover { border-color: rgba(20, 184, 166, 0.4); transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.cred-list svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--teal-dark); }

/* Philosophy */
.philosophy-quote {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}
.philosophy-quote .qmark {
  font-family: var(--font-math);
  font-size: 4.5rem;
  line-height: 1;
  color: var(--teal);
  display: block;
  margin-bottom: 0.4rem;
}
.philosophy-quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.8vw, 1.8rem);
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-strong);
  letter-spacing: -0.01em;
}
.philosophy-quote cite {
  display: block;
  margin-top: 1.4rem;
  font-style: normal;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.philosophy-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.philosophy-points .card { padding: 1.9rem 1.8rem; }
.philosophy-points h3 { font-size: 1.1rem; margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.6rem; }
.philosophy-points h3 svg { width: 22px; height: 22px; color: var(--teal-dark); }
.philosophy-points p { font-size: 0.95rem; }

/* Mission / Vision / Values */
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.mvv-card { padding: 2.3rem 2rem; position: relative; overflow: hidden; }
.mvv-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
}
.mvv-card.m::before { background: var(--teal); }
.mvv-card.v::before { background: var(--sky); }
.mvv-card.va::before { background: var(--gold); }
.mvv-label {
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
  display: block;
}
.mvv-card.m .mvv-label { color: var(--teal-dark); }
.mvv-card.v .mvv-label { color: #0284C7; }
.mvv-card.va .mvv-label { color: #B45309; }
.mvv-card h3 { font-size: 1.25rem; margin-bottom: 0.7rem; }
.mvv-card ul { list-style: none; display: grid; gap: 0.55rem; margin-top: 0.4rem; }
.mvv-card li { display: flex; gap: 0.55rem; font-size: 0.95rem; }
.mvv-card li::before { content: '✦'; color: var(--gold); flex: none; }

/* Timeline */
.timeline {
  position: relative;
  max-width: 720px;
  margin-inline: auto;
  padding-left: 2.4rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--teal), var(--sky), var(--gold));
  border-radius: 2px;
}
.timeline-item { position: relative; padding-bottom: 2.4rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.4rem;
  top: 6px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--teal);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.12);
}
.timeline-item:nth-child(3n+2)::before { border-color: var(--sky); box-shadow: 0 0 0 4px rgba(125, 211, 252, 0.18); }
.timeline-item:nth-child(3n)::before { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.16); }
.timeline-tag {
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-dark);
}
.timeline-item h3 { font-size: 1.15rem; margin-block: 0.25rem 0.4rem; }
.timeline-item p { font-size: 0.97rem; max-width: 560px; }

/* Photo strip */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.photo-card { overflow: hidden; }
.photo-ph {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  position: relative;
  color: rgba(255, 255, 255, 0.85);
}
.photo-ph svg { width: 44px; height: 44px; opacity: 0.9; }
.ph-1 { background: linear-gradient(140deg, #14B8A6, #0E9384); }
.ph-2 { background: linear-gradient(140deg, #0D1B2A, #16344F); }
.ph-3 { background: linear-gradient(140deg, #38BDF8, #0284C7); }
.photo-card figcaption {
  padding: 1rem 1.3rem 1.2rem;
  font-size: 0.9rem;
}
.photo-card figcaption strong {
  display: block;
  font-family: var(--font-display);
  color: var(--text-strong);
  font-size: 0.98rem;
}

/* Why band (about) */
.why-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.why-band ul { list-style: none; display: grid; gap: 0.9rem; margin-top: 1.4rem; }
.why-band li { display: flex; gap: 0.75rem; align-items: flex-start; }
.why-band li svg { width: 22px; height: 22px; flex: none; margin-top: 3px; color: var(--teal); }
.why-band li strong { color: var(--text-strong); font-family: var(--font-display); font-weight: 600; }

.stat-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.stat-mini {
  padding: 1.8rem 1.6rem;
  text-align: center;
}
.stat-mini .n {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--navy);
  line-height: 1;
}
.stat-mini .n em { font-style: normal; color: var(--teal); }
.stat-mini .l { margin-top: 0.5rem; font-size: 0.86rem; }

@media (max-width: 900px) {
  .founder-grid { grid-template-columns: 1fr; }
  .pb-1 { right: 2%; }
  .pb-2 { left: 2%; }
  .why-band { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .philosophy-points, .mvv-grid, .photo-strip { grid-template-columns: 1fr; }
  .cred-list { grid-template-columns: 1fr; }
}

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */

.contact-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

/* Form */
.form-card { padding: clamp(1.8rem, 4vw, 2.8rem); }
.form-card h2 { font-size: 1.5rem; margin-bottom: 0.4rem; }
.form-card > p { font-size: 0.97rem; margin-bottom: 1.8rem; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
.field { display: grid; gap: 0.4rem; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-strong);
}
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-strong);
  background: var(--bg-section);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
  width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: var(--text-muted); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.12);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.6rem;
  cursor: pointer;
}

/* Mode toggle (radio pills) */
.mode-toggle { display: flex; gap: 0.7rem; }
.mode-toggle label {
  flex: 1;
  position: relative;
  cursor: pointer;
}
.mode-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.mode-toggle span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-section);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  transition: border-color 0.3s, background 0.3s, color 0.3s, box-shadow 0.3s;
}
.mode-toggle svg { width: 18px; height: 18px; }
.mode-toggle input:checked + span {
  border-color: var(--teal);
  background: rgba(20, 184, 166, 0.08);
  color: var(--teal-dark);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.1);
}
.mode-toggle input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }

.form-actions { margin-top: 1.6rem; display: grid; gap: 0.8rem; }
.form-note { font-size: 0.82rem; color: var(--text-muted); text-align: center; }

.form-success {
  display: none;
  text-align: center;
  padding: 3rem 1.5rem;
}
.form-success.show { display: block; }
.form-success .tick {
  width: 72px; height: 72px;
  margin: 0 auto 1.4rem;
  border-radius: 50%;
  background: rgba(20, 184, 166, 0.12);
  display: grid;
  place-items: center;
  color: var(--teal-dark);
  animation: pop 0.6s var(--ease-out);
}
.form-success .tick svg { width: 34px; height: 34px; }
.form-success h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }

/* Contact methods column */
.contact-aside { display: grid; gap: 1.3rem; }
.method-card {
  padding: 1.5rem 1.6rem;
  display: flex;
  align-items: center;
  gap: 1.1rem;
}
.method-icon {
  width: 52px; height: 52px;
  flex: none;
  border-radius: 16px;
  display: grid;
  place-items: center;
  transition: transform 0.5s var(--ease-out);
}
.method-card:hover .method-icon { transform: rotate(-6deg) scale(1.08); }
.method-icon svg { width: 24px; height: 24px; }
.mi-wa { background: rgba(20, 184, 166, 0.12); color: #0E9384; }
.mi-em { background: rgba(125, 211, 252, 0.22); color: #0284C7; }
.mi-ph { background: rgba(251, 191, 36, 0.18); color: #B45309; }
.method-card h3 { font-size: 1.02rem; margin-bottom: 0.15rem; }
.method-card p { font-size: 0.88rem; }
.method-card .method-value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--teal-dark);
}

/* Hours */
.hours-card { padding: 1.7rem 1.8rem; }
.hours-card h3 {
  font-size: 1.05rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.hours-card h3 svg { width: 20px; height: 20px; color: var(--teal-dark); }
.hours-card table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.hours-card td { padding: 0.5rem 0; border-bottom: 1px solid var(--line); }
.hours-card tr:last-child td { border-bottom: none; }
.hours-card td:first-child { font-weight: 500; color: var(--text-strong); }
.hours-card td:last-child { text-align: right; }
.hours-card .closed { color: var(--text-muted); }
.hours-note {
  margin-top: 0.9rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}
.hours-note svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--gold); }

/* Map */
.map-card {
  overflow: hidden;
  padding: 0;
}
.map-card iframe {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
  filter: saturate(0.85);
}
.map-caption {
  padding: 1.2rem 1.6rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.92rem;
}
.map-caption svg { width: 20px; height: 20px; flex: none; color: var(--teal-dark); }
.map-caption strong { font-family: var(--font-display); color: var(--text-strong); }

/* FAQ accordion */
.faq-list {
  max-width: 760px;
  margin-inline: auto;
  display: grid;
  gap: 0.9rem;
}
.faq-item { overflow: hidden; }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  padding: 1.3rem 1.6rem;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-strong);
  transition: color 0.3s;
}
.faq-q:hover { color: var(--teal-dark); }
.faq-q:focus-visible { outline: 3px solid var(--sky); outline-offset: -3px; border-radius: var(--radius); }
.faq-q .chev {
  flex: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg-section);
  display: grid;
  place-items: center;
  transition: transform 0.45s var(--ease-out), background 0.35s, color 0.35s;
}
.faq-q .chev svg { width: 16px; height: 16px; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); background: var(--teal); color: #fff; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-out);
}
.faq-a-inner {
  padding: 0 1.6rem 1.4rem;
  font-size: 0.96rem;
}

@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
  .mode-toggle { flex-direction: column; }
}
