/* Hallmark · macrostructure: Photographic · tone: playful · anchor hue: rose (340)
 * pre-emit critique: P4 H4 E4 S4 R4 V4 · nav: N5 floating pill · footer: Ft6 letter close
 * contrast: pass (40–41) · honest: pass (46) · chrome: pass (47) · tokens: pass (48)
 * responsive: pass (49) · icons: pass (30) · mobile: pass (34, 50–57)
 * ==========================================================================
 * Anatera Play & Learn — design system (mirror tokens register.anatera.co)
 * ========================================================================== */

/* ---------- Self-hosted fonts ---------- */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/fonts/jakarta-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/fonts/jakarta-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/fraunces-italic.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  --background: hsl(340 45% 99.3%);        /* paper: pink-tinted white */
  --foreground: hsl(215 25% 27%);          /* ink: navy #344256 */
  --card: hsl(340 50% 99.6%);
  --card-foreground: hsl(215 25% 27%);

  --color-white: hsl(0 0% 100%);

  --primary: hsl(340 100% 84%);            /* brand pink #ffadc9 */
  --primary-foreground: hsl(340 60% 30%);  /* dark rose #7a1f3d */
  --primary-soft: hsl(340 100% 92%);
  --primary-strong: hsl(340 70% 72%);

  --secondary: hsl(188 89% 60%);           /* brand cyan #3edcf4 */
  --secondary-foreground: hsl(188 60% 20%);
  --secondary-soft: hsl(188 100% 90%);

  --accent: hsl(188 90% 94%);
  --accent-foreground: hsl(188 60% 20%);

  --muted: hsl(340 40% 96%);
  --muted-foreground: hsl(215 16% 47%);

  --border: hsl(340 30% 92%);
  --input: hsl(340 30% 92%);
  --ring: hsl(340 65% 45%);

  --success: hsl(145 60% 32%);
  --success-soft: hsl(145 70% 93%);

  --tint-amber: hsl(45 95% 88%);
  --tint-amber-ink: hsl(40 70% 30%);
  --tint-mint: hsl(150 70% 91%);
  --tint-mint-ink: hsl(150 55% 24%);
  --tint-violet: hsl(262 80% 92%);
  --tint-violet-ink: hsl(262 55% 38%);
  --tint-coral: hsl(12 90% 91%);
  --tint-coral-ink: hsl(12 70% 35%);

  --border-strong: hsl(340 40% 84%);
  --primary-wash: hsl(340 100% 95%);
  --secondary-hover: hsl(188 95% 64%);

  --radius: 1rem;
  --radius-sm: 0.875rem;
  --radius-lg: 1.5rem;
  --radius-pill: 9999px;

  --shadow-sm: 0 1px 2px hsl(340 30% 60% / .08), 0 1px 4px hsl(340 30% 60% / .06);
  --shadow-md: 0 4px 14px hsl(340 30% 55% / .10), 0 2px 6px hsl(188 60% 50% / .06);
  --shadow-lg: 0 16px 40px hsl(340 35% 55% / .16), 0 6px 16px hsl(188 60% 45% / .10);

  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Fraunces", "Iowan Old Style", Georgia, serif;

  --header-h: 76px;
  --container: 1160px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--foreground);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-optical-sizing: auto;
  font-synthesis: none;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 {
  margin: 0;
  font-weight: 800;
  font-style: normal;
  letter-spacing: -0.022em;
  line-height: 1.12;
  color: var(--foreground);
  overflow-wrap: anywhere;
  min-width: 0;
}
p { margin: 0; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--primary); color: var(--primary-foreground); }

:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding-block: clamp(64px, 9vw, 112px); }

.section-head {
  max-width: 660px;
  margin: 0 0 clamp(36px, 5vw, 56px);
  text-align: left;
}

.section-title {
  font-size: clamp(1.75rem, 3.4vw, 2.6rem);
  letter-spacing: -0.024em;
  line-height: 1.15;
  text-wrap: balance;
  margin-bottom: 14px;
}

.section-lead { font-size: 1.0625rem; color: var(--muted-foreground); max-width: 62ch; text-wrap: pretty; }
.section-lead strong { color: var(--foreground); }

/* Accent word — roman, solid ink (emphasis by colour, never gradient/italic) */
.grad-text {
  font-family: var(--font);
  font-style: normal;
  font-weight: 800;
  letter-spacing: inherit;
  font-size: inherit;
  color: var(--primary-foreground);
}

/* Hero location line */
.hero-location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}
.hero-location-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--primary-strong);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: background-color .18s ease-out, color .18s ease-out, border-color .18s ease-out;
}
.btn svg { flex-shrink: 0; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; pointer-events: none; }

.btn-sm { padding: 8px 16px; font-size: 0.875rem; border-radius: 14px; }
.btn-lg { padding: 15px 30px; font-size: 1rem; }

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 6px 18px hsl(340 80% 75% / .4);
}
.btn-primary:hover { background: var(--primary-strong); }

.btn-secondary {
  background: var(--secondary);
  color: var(--secondary-foreground);
  box-shadow: 0 6px 18px hsl(188 80% 55% / .3);
}
.btn-secondary:hover { background: var(--secondary-hover); }

.btn-ghost {
  background: var(--secondary-soft);
  color: var(--secondary-foreground);
  border-color: hsl(188 80% 82%);
}
.btn-ghost:hover { background: hsl(188 95% 86%); }

.btn-link {
  padding: 8px 4px;
  color: var(--secondary-foreground);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: underline;
  text-decoration-color: hsl(188 80% 75%);
  text-underline-offset: 4px;
  border-radius: 8px;
}
.btn-link:hover { color: hsl(188 70% 16%); text-decoration-color: hsl(188 80% 55%); }

.btn-white {
  background: var(--color-white);
  color: var(--primary-foreground);
}
.btn-white:hover { background: var(--primary-wash); }

.btn-outline-white {
  background: transparent;
  color: var(--primary-foreground);
  border-color: hsl(340 60% 42% / .55);
}
.btn-outline-white:hover { border-color: var(--primary-foreground); }

/* ---------- Skip link ---------- */
.skip-link {
  position: fixed;
  top: 10px; left: 10px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--foreground);
  color: var(--color-white);
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform .2s ease-out;
}
.skip-link:focus { transform: none; }

/* ---------- Header (N5 floating pill) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--background);
  transition: box-shadow .25s ease-out;
}
.site-header.scrolled {
  box-shadow: 0 6px 24px hsl(340 30% 60% / .12);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand:hover .brand-logo { transform: rotate(-6deg) scale(1.05); }
.brand-logo { width: 48px; height: 48px; border-radius: 14px; transition: transform .25s ease-out; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.015em; color: var(--primary-foreground); }
.brand-tagline { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.09em; color: hsl(188 70% 38%); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  padding: 5px;
  background: var(--color-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}
.main-nav a {
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color .15s ease-out, background-color .15s ease-out;
}
.main-nav a:hover { color: var(--foreground); background: var(--muted); }
.main-nav a.active { color: var(--primary-foreground); background: var(--primary-soft); }
.main-nav .nav-cta { box-shadow: none; margin-left: 2px; }
.main-nav .nav-cta:hover { background: var(--primary-strong); color: var(--primary-foreground); }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-cta-mobile { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--color-white);
}
.nav-toggle span {
  display: block;
  height: 2.5px;
  border-radius: 2px;
  background: var(--foreground);
  transition: transform .25s ease-out, opacity .2s ease-out;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-nav {
  position: absolute;
  inset-inline: 0;
  top: var(--header-h);
  background: var(--background);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 24px 40px hsl(340 30% 55% / .16);
  padding: 16px 24px 24px;
  animation: slideDown .28s ease-out both;
}
.mobile-nav nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a {
  padding: 13px 14px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  color: var(--foreground);
}
.mobile-nav a:hover { background: var(--muted); }
.mobile-nav .btn { margin-top: 10px; }

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(48px, 7vw, 84px) clamp(64px, 8vw, 100px);
  background:
    radial-gradient(52rem 32rem at 108% -14%, hsl(340 100% 94% / .9), transparent 62%),
    var(--background);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}

.hero-title {
  font-size: clamp(2.35rem, 5.2vw, 3.9rem);
  line-height: 1.07;
  letter-spacing: -0.028em;
  text-wrap: balance;
  margin-bottom: 22px;
  max-width: 20ch;
}

.hero-sub {
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
  color: var(--muted-foreground);
  max-width: 52ch;
  margin-bottom: 30px;
  text-wrap: pretty;
}
.hero-sub strong { color: var(--foreground); font-weight: 700; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  padding-top: 26px;
  border-top: 1px dashed var(--border);
}
.hero-trust li { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--foreground); }
.hero-trust strong { font-weight: 800; font-variant-numeric: tabular-nums; }
.trust-icon {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary-foreground);
  flex-shrink: 0;
}
.trust-icon svg { width: 19px; height: 19px; }
.hero-trust li:nth-child(2) .trust-icon { background: var(--secondary-soft); color: var(--secondary-foreground); }
.hero-trust li:nth-child(3) .trust-icon { background: var(--tint-amber); color: var(--tint-amber-ink); }
.trust-muted { color: var(--muted-foreground); font-weight: 500; }

/* Hero visual — real photo in organic frame */
.hero-visual { display: grid; place-items: center; }
.hero-stage { position: relative; width: min(100%, 480px); aspect-ratio: 1 / 1.02; }

.hero-photo-frame {
  position: absolute;
  inset: 9% 4% 6% 4%;
  overflow: hidden;
  border-radius: 46% 54% 52% 48% / 52% 48% 54% 46%;
  background: var(--primary-soft);
  box-shadow: inset 0 0 0 6px color-mix(in srgb, var(--color-white) 90%, transparent), var(--shadow-lg);
}
.hero-photo-frame img { width: 100%; height: 100%; object-fit: cover; }

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: color-mix(in srgb, var(--color-white) 94%, transparent);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  animation: bob 7s ease-in-out infinite;
  z-index: 2;
}
.float-emoji {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary-foreground);
  flex-shrink: 0;
}
.float-emoji svg { width: 20px; height: 20px; }
.fc-2 .float-emoji { background: var(--secondary-soft); color: var(--secondary-foreground); }
.fc-3 .float-emoji { background: var(--tint-mint); color: var(--tint-mint-ink); }
.float-text { display: flex; flex-direction: column; line-height: 1.25; }
.float-text strong { font-size: 0.85rem; font-weight: 800; letter-spacing: -0.005em; }
.float-text small { font-size: 0.72rem; color: var(--muted-foreground); }

.fc-1 { top: 6%; left: -7%; animation-delay: .4s; }
.fc-2 { top: 33%; right: -9%; animation-delay: 1.6s; }
.fc-3 { bottom: 8%; left: -10%; animation-delay: 2.6s; }

.float-badge {
  position: absolute;
  padding: 9px 15px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  animation: bob 8s ease-in-out infinite;
  z-index: 2;
}
.fb-1 {
  bottom: 18%; right: -4%;
  background: var(--secondary);
  color: var(--secondary-foreground);
  animation-delay: .9s;
}
.fb-2 {
  top: 2%; right: 16%;
  background: var(--tint-amber);
  color: var(--tint-amber-ink);
  animation-delay: 2.1s;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  background: var(--foreground);
  padding-block: 14px;
  border-block: 1px solid hsl(215 25% 22%);
}
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; }
.marquee-group span {
  padding-inline: 22px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-white);
}
.marquee-group span:nth-child(4n+1) { color: var(--primary); }
.marquee-group span:nth-child(4n+3) { color: var(--secondary); }
.marquee-group i { font-style: normal; color: hsl(340 100% 84% / .7); font-size: 0.72rem; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- About ---------- */
.about { background: var(--background); }
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.about-visual { position: relative; }
.about-card {
  position: relative;
  aspect-ratio: 4 / 4.6;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--primary-soft);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--color-white) 75%, transparent), var(--shadow-lg);
}
.about-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease-out;
}
.about-card:hover .about-photo { transform: scale(1.04); }
.about-pill {
  position: absolute;
  bottom: 22px; left: 50%;
  translate: -50% 0;
  padding: 9px 18px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--foreground);
  background: color-mix(in srgb, var(--color-white) 92%, transparent);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  z-index: 2;
}
.about-note {
  position: absolute;
  top: -18px;
  left: -18px;
  max-width: 250px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  background: color-mix(in srgb, var(--color-white) 94%, transparent);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2;
}
.note-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: 2.3rem;
  line-height: 0.8;
  color: var(--primary-strong);
  flex-shrink: 0;
  margin-top: 8px;
}
.about-note p {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: 0;
}
.about-note small {
  font-family: var(--font);
  font-style: normal;
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.03em;
  color: var(--muted-foreground);
}

.about-list { display: grid; gap: 12px; margin: 26px 0 30px; }
.about-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.about-list span {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  margin-top: 2px;
  color: var(--secondary-foreground);
  background: var(--secondary-soft);
  border-radius: 50%;
}
.about-list span svg { width: 12px; height: 12px; }
.about-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }

/* ---------- Programs ---------- */
.programs {
  background:
    radial-gradient(50rem 24rem at 115% 0%, hsl(188 100% 92% / .5), transparent 60%),
    var(--muted);
}
.program-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.program-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--card);
  color: var(--card-foreground);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.program-media {
  position: relative;
  height: 148px;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--primary-soft);
}
.program-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease-out;
}
.program-card:hover .program-photo { transform: scale(1.07); }
.age-pill {
  position: absolute;
  top: 12px; right: 12px;
  padding: 6px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--foreground);
  background: color-mix(in srgb, var(--color-white) 90%, transparent);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  z-index: 2;
}

.program-body { display: flex; flex-direction: column; flex: 1; padding: 20px 20px 22px; }
.program-body h3 { font-size: 1.16rem; font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; margin-bottom: 8px; }
.program-body p { font-size: 0.92rem; color: var(--muted-foreground); margin-bottom: 14px; text-wrap: pretty; }

.program-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.program-tags li {
  padding: 4px 11px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--primary-foreground);
  background: var(--primary-soft);
  border-radius: var(--radius-pill);
}
.program-card:nth-child(2) .program-tags li { color: var(--secondary-foreground); background: var(--secondary-soft); }
.program-card:nth-child(3) .program-tags li { color: var(--tint-mint-ink); background: var(--tint-mint); }
.program-card:nth-child(4) .program-tags li { color: var(--tint-amber-ink); background: var(--tint-amber); }

.card-link {
  margin-top: auto;
  align-self: flex-start;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--primary-foreground);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.card-link::after { content: "→"; transition: translate .2s ease-out; }
.card-link:hover { gap: 8px; }

.program-note {
  margin-top: 34px;
  color: var(--muted-foreground);
  font-size: 0.95rem;
}
.program-note a { color: var(--secondary-foreground); font-weight: 700; }

/* ---------- Schedule ---------- */
.schedule { background: var(--background); }
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.schedule-card {
  position: relative;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.schedule-media {
  position: relative;
  height: 130px;
  overflow: hidden;
  background: var(--secondary-soft);
}
.schedule-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease-out;
}
.schedule-card:hover .schedule-photo { transform: scale(1.08); }

.schedule-body { padding: 18px 20px 20px; }

.schedule-date {
  position: absolute;
  top: 12px; right: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 56px;
  padding: 8px 10px 10px;
  background: color-mix(in srgb, var(--color-white) 92%, transparent);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  line-height: 1.1;
  z-index: 2;
}
.schedule-date .dow { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--primary-foreground); }
.schedule-date .dom { font-size: 1.3rem; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--foreground); }
.schedule-date .mon { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-foreground); }

.type-pill {
  display: inline-block;
  padding: 5px 12px;
  margin-bottom: 10px;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--secondary-foreground);
  background: var(--secondary);
  border-radius: var(--radius-pill);
}
.type-pill-indoor {
  background: var(--primary);
  color: var(--primary-foreground);
}
.schedule-body h3 { font-size: 1.06rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; margin-bottom: 6px; }
.schedule-body p { font-size: 0.875rem; color: var(--muted-foreground); }
.schedule-body .venue { margin-top: 2px; font-size: 0.82rem; }
.venue-pin {
  display: inline;
  width: 12px;
  height: 12px;
  margin-right: 3px;
  vertical-align: -1.5px;
  color: var(--primary-strong);
}

.schedule-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
}
.slots {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--success);
}
.slots::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px var(--success-soft);
}

.schedule-more {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.schedule-more p { color: var(--muted-foreground); font-size: 0.95rem; }

/* ---------- Features (typographic list, no card tiles) ---------- */
.features { background: var(--muted); }
.features-layout {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 72px);
  align-items: start;
}
.features-intro .section-title { margin-bottom: 16px; }
.features-intro .section-lead { margin-bottom: 24px; }

.features-list { border-top: 1px solid var(--border); }
.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 4px;
  border-bottom: 1px solid var(--border);
}
.feature-icon {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  flex-shrink: 0;
  border-radius: 12px;
}
.feature-icon svg { width: 20px; height: 20px; }
.fi-1 { background: var(--primary-soft); color: var(--primary-foreground); }
.fi-2 { background: var(--secondary-soft); color: var(--secondary-foreground); }
.fi-3 { background: var(--tint-amber); color: var(--tint-amber-ink); }
.fi-4 { background: var(--tint-mint); color: var(--tint-mint-ink); }
.fi-5 { background: var(--tint-violet); color: var(--tint-violet-ink); }
.fi-6 { background: var(--tint-coral); color: var(--tint-coral-ink); }
.feature-item h3 { font-size: 1.02rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 3px; }
.feature-item p { font-size: 0.9rem; color: var(--muted-foreground); max-width: 56ch; text-wrap: pretty; }

/* ---------- Testimonials (proof, honest data only) ---------- */
.testimonials { background: var(--background); }
.proof-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px 56px;
  border-top: 1px solid var(--border);
  padding-top: 36px;
}
.proof-score {
  font-size: clamp(2.8rem, 5vw, 3.8rem);
  font-weight: 800;
  font-style: normal;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--primary-foreground);
  font-variant-numeric: tabular-nums;
}
.proof-note { margin-top: 8px; font-size: 0.88rem; color: var(--muted-foreground); line-height: 1.5; }
.proof-chips { display: flex; flex-wrap: wrap; gap: 14px; }
.proof-chips li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.proof-chips strong { font-size: 1.05rem; font-weight: 800; color: var(--foreground); font-variant-numeric: tabular-nums; }
.proof-chips span { font-size: 0.82rem; color: var(--muted-foreground); }
.proof-ask { margin-top: 22px; font-size: 0.9rem; color: var(--muted-foreground); }
.proof-ask a { color: var(--secondary-foreground); font-weight: 700; }

/* ---------- FAQ ---------- */
.faq { background: var(--muted); }
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.faq-intro { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-intro .btn { margin-top: 22px; }
.faq-intro .btn svg { width: 16px; height: 16px; }

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow .25s ease-out, border-color .25s ease-out;
}
.faq-item + .faq-item { margin-top: 12px; }
.faq-item.open { border-color: var(--border-strong); box-shadow: var(--shadow-md); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px 20px;
  text-align: left;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--foreground);
}
.faq-question:hover { color: var(--primary-foreground); }

.faq-icon { position: relative; flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--primary-soft); }
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  translate: -50% -50%;
  background: var(--primary-foreground);
  border-radius: 2px;
  transition: transform .25s ease-out;
}
.faq-icon::before { width: 11px; height: 2px; }
.faq-icon::after { width: 2px; height: 11px; }
.faq-item.open .faq-icon::after { transform: rotate(90deg); }

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .32s ease-out;
}
.faq-answer > p {
  overflow: hidden;
  padding: 0 20px;
  font-size: 0.94rem;
  color: var(--muted-foreground);
  text-wrap: pretty;
}
.faq-item.open .faq-answer { grid-template-rows: 1fr; }
.faq-item.open .faq-answer > p { padding-bottom: 20px; }
.faq-answer a { color: var(--secondary-foreground); font-weight: 700; }

/* ---------- CTA band (solid brand pink, no gradient) ---------- */
.cta-band { background: var(--background); padding-block: clamp(48px, 7vw, 88px); }
.cta-inner {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 7vw, 72px) clamp(24px, 6vw, 64px);
  text-align: left;
  border-radius: var(--radius-lg);
  background: var(--primary);
  box-shadow: var(--shadow-lg);
}
.cta-inner h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  letter-spacing: -0.024em;
  color: var(--primary-foreground);
  margin-bottom: 10px;
  text-wrap: balance;
  max-width: 22ch;
}
.cta-inner p { color: hsl(340 45% 30%); font-size: 1.05rem; margin-bottom: 26px; max-width: 52ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Contact ---------- */
.contact { background: var(--background); }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.contact-card {
  padding: 22px 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .2s ease-out;
}
.contact-card:hover { border-color: var(--border-strong); }
.contact-row { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.contact-icon {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  flex-shrink: 0;
  background: var(--primary-soft);
  color: var(--primary-foreground);
  border-radius: 12px;
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-card:nth-child(2) .contact-icon { background: var(--tint-mint); color: var(--tint-mint-ink); }
.contact-card:nth-child(3) .contact-icon { background: var(--secondary-soft); color: var(--secondary-foreground); }
.contact-card:nth-child(4) .contact-icon { background: var(--tint-violet); color: var(--tint-violet-ink); }
.contact-card h3 { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; }
.contact-card p { font-size: 0.92rem; color: var(--muted-foreground); }
.contact-card p a { color: var(--foreground); font-weight: 700; text-decoration: none; }
.contact-card p a:hover { color: var(--primary-foreground); text-decoration: underline; }
.contact-sub { margin-top: 6px; font-size: 0.82rem !important; }
.contact-card .btn-link { margin-top: 12px; font-size: 0.88rem; }

/* ---------- Footer (Ft6 letter close) ---------- */
.site-footer {
  background: var(--foreground);
  color: hsl(215 20% 80%);
  padding-top: clamp(56px, 8vw, 88px);
}
.footer-statement {
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-weight: 800;
  font-style: normal;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--primary);
  max-width: 20ch;
  margin-bottom: 30px;
  overflow-wrap: anywhere;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-bottom: 26px; }
.footer-links a {
  font-size: 0.92rem;
  font-weight: 600;
  color: hsl(215 20% 78%);
  text-decoration: none;
  border-bottom: 1px solid hsl(215 20% 40%);
  padding-bottom: 2px;
  transition: color .15s ease-out, border-color .15s ease-out;
}
.footer-links a:hover { color: var(--primary); border-color: var(--primary); }
.footer-sign {
  max-width: 46ch;
  font-size: 0.92rem;
  line-height: 1.7;
  color: hsl(215 15% 62%);
}
.footer-sign a { color: hsl(215 20% 80%); text-decoration: none; }
.footer-sign a:hover { color: var(--primary); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 40px;
  padding-block: 20px;
  border-top: 1px solid hsl(215 25% 34%);
  font-size: 0.8rem;
  color: hsl(215 15% 58%);
}

/* ---------- Reveal on scroll (hero entrance only) ---------- */
.js .hero .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
}
.js .hero .reveal.in-view { opacity: 1; transform: none; }
.js .hero .reveal:nth-child(2) { transition-delay: .08s; }
.js .hero .reveal:nth-child(3) { transition-delay: .16s; }
.js .hero .reveal:nth-child(4) { transition-delay: .24s; }
.js .hero .reveal:nth-child(5) { transition-delay: .32s; }
.js .hero .reveal:nth-child(6) { transition-delay: .4s; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .program-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features-layout { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 920px) {
  .main-nav { display: none; }
  .header-cta-mobile { display: inline-flex; }
  .nav-toggle { display: flex; }
  .header-actions { margin-left: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-title { max-width: 18ch; }
  .hero-visual { margin-top: 8px; }
  .hero-stage { width: min(100%, 420px); }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { max-width: 420px; margin-inline: auto; width: 100%; }
  .schedule-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-intro { position: static; }
}

@media (max-width: 600px) {
  .container { padding-inline: 18px; }
  .program-grid,
  .schedule-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .hero-trust { flex-direction: column; gap: 12px; }
  .fc-1 { left: -2%; }
  .fc-2 { right: -2%; }
  .fc-3 { left: -2%; }
  .fb-1 { right: 0; }
  .about-note { top: 12px; left: 12px; max-width: 225px; }
  .header-inner { gap: 8px; }
  .brand-logo { width: 42px; height: 42px; }
  .proof-row { flex-direction: column; align-items: flex-start; gap: 24px; }
  .proof-chips { flex-direction: column; width: 100%; }
}

@media (max-width: 374px) {
  .header-cta-mobile { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001s !important;
  }
  .reveal { opacity: 1; transform: none; }
}
