/* ============================================================
   Russian Storytellers — site stylesheet · v2
   Fairy-tale palette drawn from the hero illustration:
   lake turquoise, meadow green, bark brown, firebird orange.
   Bigger type, colored story-bands with wavy dividers,
   and "creature vignettes" cropped live from images/hero.jpg.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400&family=Fredoka:wght@500;600;700&display=swap');

/* Palette taken from the artwork itself:
   white tunic & clouds, cape red, wood/tree brown, sky & lake blue, ink-black outlines. */
:root {
  --parchment: #fdf6ec;          /* white-cream, like the tunic */
  --parchment-deep: #f5e9d7;
  --ink: #2c2620;                /* near-black, like the outlines */
  --ink-soft: #6b6053;
  --forest: #3f6f8e;             /* deep lake blue (was green) */
  --forest-deep: #27485e;        /* dark navy */
  --meadow: #6fa8c9;             /* light blue */
  --meadow-pale: #e2eef5;
  --sky: #a5dce8;
  --sky-pale: #dff2f7;
  --lake: #6fc7d9;
  --lake-deep: #3a7ca5;
  --bark: #7a5238;               /* wood brown */
  --bark-deep: #4a3020;
  --firebird: #d1453a;           /* cape red — bright vermillion */
  --firebird-deep: #a83228;      /* deeper cape red */
  --gold: #c98a3d;               /* warm wood-gold accent */
  --gold-pale: #f3e2c8;
  --white: #fffdf8;
  --shadow: 0 10px 32px rgba(44, 38, 32, 0.16);
  --shadow-soft: 0 4px 16px rgba(44, 38, 32, 0.10);
  --radius: 18px;
  --font-display: 'Fredoka', 'Rubik', 'Helvetica Neue', sans-serif;
  --font-body: 'Rubik', 'Helvetica Neue', sans-serif;
  --font-ui: 'Rubik', 'Helvetica Neue', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.68;
  color: var(--ink);
  background: var(--parchment);
}

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

a { color: var(--firebird-deep); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.14;
  color: var(--ink);
}

h1 { font-size: clamp(2.6rem, 5.8vw, 4.2rem); font-weight: 600; }
h2 { font-size: clamp(2rem, 3.8vw, 2.8rem); }
h3 { font-size: 1.5rem; font-weight: 600; }

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

section { padding: 90px 0; position: relative; }

.section-intro {
  max-width: 700px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-intro p { color: var(--ink-soft); margin-top: 14px; font-size: 1.08rem; }

/* Ornamental divider under section headings */
.ornament {
  display: block;
  width: 190px;
  margin: 20px auto 0;
  color: var(--gold);
}

/* ---------- Wavy band dividers ---------- */
.wave {
  display: block;
  width: 100%;
  height: 70px;
  margin-bottom: -1px;
}

/* ---------- Creatures (transparent cutouts from the artwork,
     exported from the PSD into images/creatures/*.png).
     They float decoratively at the edges of sections. ---------- */
.creature {
  position: absolute;
  z-index: 0;              /* always BEHIND the text */
  pointer-events: none;
  filter: drop-shadow(0 10px 16px rgba(59, 47, 30, 0.2));
  animation: bob 7s ease-in-out infinite;
}

/* Text always paints above the creatures */
section > .container { position: relative; z-index: 1; }

.creature.alt { animation-delay: 3.5s; }

@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(-1.5deg); }
}

/* Per-creature sizes */
.creature-firebird { width: 200px; }
.creature-dragon   { width: 210px; }
.creature-cat      { width: 120px; }
.creature-mermaid  { width: 230px; }   /* the vodyanoy in the lake */
.creature-rusalka  { width: 130px; }
.creature-gnome1   { width: 130px; }
.creature-gnome2   { width: 140px; }
.creature-devil    { width: 170px; }
.creature-kikimora { width: 230px; }
.creature-bard     { width: 220px; }

/* Position utilities */
.pos-tr { top: 36px;  right: 2.5%; }
.pos-tl { top: 36px;  left: 2.5%; }
.pos-br { bottom: 28px; right: 3%; }
.pos-bl { bottom: 28px; left: 3%; }
.pos-mr { top: 38%; right: 1.5%; }
.pos-ml { top: 38%; left: 1.5%; }

/* ---------- Promo announcement bar (shown only when a discount is active) ---------- */
.promo-bar {
  display: block;
  background: linear-gradient(135deg, var(--firebird), var(--firebird-deep));
  color: var(--white);
  text-align: center;
  font-family: var(--font-ui);
  font-size: 0.98rem;
  padding: 10px 16px;
  text-decoration: none;
}

.promo-bar b { font-weight: 800; }
.promo-bar:hover { filter: brightness(1.06); }

.price-old { opacity: 0.45; font-size: 0.55em; margin-right: 6px; }

.promo-price-note {
  font-family: var(--font-ui);
  font-weight: 800;
  color: var(--firebird-deep);
  margin-top: 6px;
}

.discount-card.promo-live {
  background: var(--white);
  border: 3px solid var(--firebird);
  box-shadow: var(--shadow-soft);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(253, 242, 227, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(122, 82, 56, 0.15);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--bark-deep);
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.1;
}

.logo svg { width: 40px; height: 40px; flex: none; }

.logo span em {
  display: block;
  font-family: var(--font-ui);
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--forest);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: var(--font-ui);
  font-size: 1.02rem;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.site-nav a:hover { color: var(--firebird-deep); }

.site-nav a.active {
  color: var(--firebird-deep);
  border-bottom-color: var(--gold);
}

/* The nav CTA button: always white text, roomy, never underlined */
.site-nav a.btn {
  color: var(--white);
  border-bottom: none;
  padding: 12px 26px;
  font-size: 1rem;
  white-space: nowrap;
}
.site-nav a.btn:hover { color: var(--white); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--bark-deep);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  text-align: center;
  padding: 16px 34px;
  border-radius: 999px;
  border: 2.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }

.btn-primary {
  background: linear-gradient(135deg, var(--firebird), var(--firebird-deep));
  color: var(--white);
  box-shadow: 0 6px 0 rgba(90, 22, 16, 0.4);
}

.btn-primary:hover { box-shadow: 0 8px 0 rgba(90, 22, 16, 0.4), var(--shadow-soft); }

.btn-secondary {
  background: transparent;
  border-color: var(--bark);
  color: var(--bark-deep);
}

.btn-secondary:hover { background: var(--parchment-deep); }

.btn-small { padding: 11px 24px; font-size: 1rem; }

.btn-xl {
  padding: 21px 48px;
  font-size: 1.28rem;
  border-radius: 999px;
}

/* ---------- Hero ----------
   Sky gradient + cloud and lake layers taken straight from the artwork. */
.hero {
  position: relative;
  background: linear-gradient(180deg, #9fd9e8 0%, var(--sky) 55%, var(--lake) 130%);
  padding: 80px 0 0;
  overflow: hidden;
}

.hero-clouds {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: max(120%, 1400px);
  opacity: 0.95;
  pointer-events: none;
  z-index: 0;
}

.hero-sea {
  position: absolute;
  bottom: 26px;
  left: 0;
  width: 100%;
  min-height: 120px;
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
}

.hero .container { position: relative; z-index: 1; }

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  text-align: left;
  align-items: center;
}

.hero-inner.hero-center { grid-template-columns: 1fr; text-align: center; }
.hero-inner.hero-center h1, .hero-inner.hero-center .tagline { margin-left: auto; margin-right: auto; }
.hero-inner.hero-center .hero-ctas { justify-content: center; }

/* Readable panel behind the hero text.
   (No backdrop-filter — it triggers rendering glitches in Safari.) */
.hero-text {
  background: rgba(253, 246, 236, 0.94);
  border-radius: 26px;
  padding: 38px 42px;
  box-shadow: var(--shadow-soft);
}

.hero h1 { max-width: 16ch; }

.hero .tagline {
  font-size: 1.22rem;
  color: var(--ink);
  max-width: 54ch;
  margin: 20px 0 0;
}

.hero-ctas {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 36px;
}

.hero-note {
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 700;
  color: var(--bark-deep);
  margin-top: 16px;
}

/* The bard standing in the hero */
.hero-bard {
  justify-self: center;
  max-height: 460px;
  width: auto;
  filter: drop-shadow(0 14px 22px rgba(59, 47, 30, 0.25));
  animation: bob 8s ease-in-out infinite;
}

/* wave at the bottom of a colored band into parchment */
.hero .wave, .band .wave { position: relative; z-index: 1; margin-top: 56px; }

/* ---------- Colored story bands ---------- */
.band-cream { background: var(--white); }
.band-deep {
  background:
    radial-gradient(ellipse at 15% 110%, rgba(242, 165, 65, 0.18) 0%, transparent 55%),
    linear-gradient(150deg, var(--forest-deep), #223720);
  color: var(--parchment);
}
.band-deep h2, .band-deep h3 { color: var(--gold-pale); }
.band-deep .section-intro p { color: rgba(253, 242, 227, 0.8); }

/* ---------- Feature cards (how it works) ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}

.card {
  background: var(--white);
  border: 1px solid rgba(122, 82, 56, 0.12);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow-soft);
}

.card .step-num {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--firebird);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card h3 { margin: 10px 0 12px; }
.card p { color: var(--ink-soft); font-size: 1.05rem; }

/* ---------- Quote band ---------- */
.quote-band {
  background: linear-gradient(135deg, var(--bark-deep), var(--bark));
  color: var(--parchment);
  text-align: center;
}

.quote-band blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  max-width: 30ch;
  margin: 0 auto;
}

.quote-band cite {
  display: block;
  margin-top: 20px;
  font-family: var(--font-ui);
  font-style: normal;
  font-size: 1.05rem;
  color: var(--gold);
}

/* ---------- Level badges ---------- */
.badge {
  display: inline-block;
  font-family: var(--font-ui);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  padding: 5px 15px;
  border-radius: 999px;
  color: var(--white);
}

.badge-a0 { background: var(--forest); }
.badge-a1 { background: var(--meadow); color: #14314a; }
.badge-a2 { background: var(--gold); color: #4a2e10; }
.badge-b1 { background: var(--firebird); }
.badge-soon { background: var(--ink-soft); }

/* ---------- Levels grid ---------- */
.levels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.level-card {
  display: block;
  background: var(--white);
  border-radius: var(--radius);
  border-top: 6px solid var(--forest);
  padding: 28px 26px;
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s, box-shadow 0.15s;
}

a.level-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.level-link {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--firebird-deep);
}

.level-card.l-a1 { border-top-color: var(--meadow); }
.level-card.l-a2 { border-top-color: var(--gold); }
.level-card.l-b1 { border-top-color: var(--firebird); opacity: 0.78; }

.level-card h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.level-card p { font-size: 1.02rem; color: var(--ink-soft); }

/* ---------- Class calendar ---------- */
/* Level filter chips on the classes page */
.filter-chips {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.filter-chip {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 9px 22px;
  border-radius: 999px;
  border: 2px solid var(--bark);
  background: transparent;
  color: var(--bark-deep);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.filter-chip:hover { background: var(--parchment-deep); }

.filter-chip.active {
  background: var(--firebird);
  border-color: var(--firebird);
  color: var(--white);
}

.course-run {
  font-family: var(--font-ui);
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-top: 6px;
}

.tz-note {
  text-align: center;
  font-family: var(--font-ui);
  font-size: 1.05rem;
  font-weight: 700;
  background: var(--sky-pale);
  border: 1.5px solid rgba(55, 157, 182, 0.45);
  border-radius: 999px;
  display: table;
  margin: 0 auto 42px;
  padding: 10px 26px;
  color: #1f6273;
}

.class-list { display: grid; gap: 22px; }

.class-card {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 24px;
  align-items: center;
  background: var(--white);
  border: 1px solid rgba(122, 82, 56, 0.12);
  border-left: 7px solid var(--forest);
  border-radius: var(--radius);
  padding: 26px 30px;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.class-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.class-card.l-a1 { border-left-color: var(--meadow); }
.class-card.l-a2 { border-left-color: var(--gold); }
.class-card.l-b1 { border-left-color: var(--firebird); }

.class-date {
  text-align: center;
  font-family: var(--font-ui);
  border-right: 1.5px dashed rgba(122, 82, 56, 0.25);
  padding-right: 18px;
}

.class-date .day {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--bark-deep);
  line-height: 1;
}

.class-date .month { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); }
.class-date .time { margin-top: 8px; font-weight: 800; color: var(--firebird-deep); font-size: 1.1rem; }

.class-info h3 { margin-bottom: 8px; font-size: 1.75rem; }
.class-info .meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-family: var(--font-ui);
  font-size: 1rem;
  color: var(--ink-soft);
}

/* Teacher chip: round photo + name, links to teacher page */
.teacher-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: var(--font-ui);
  font-weight: 700;
  color: var(--bark-deep);
  background: var(--parchment-deep);
  border-radius: 999px;
  padding: 4px 14px 4px 4px;
  transition: background 0.15s;
}

.teacher-chip:hover { background: var(--gold-pale); }

.teacher-chip .avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--white);
  background: var(--meadow-pale);
}

.teacher-chip .avatar-fallback {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--white);
  background: var(--forest);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.modal .teacher-chip { margin: 4px 0 16px; }
.modal .teacher-chip .avatar, .modal .teacher-chip .avatar-fallback { width: 46px; height: 46px; }

.class-cta { text-align: right; }
.seats { display: block; font-family: var(--font-ui); font-size: 0.95rem; color: var(--ink-soft); margin-top: 10px; }
.seats.few { color: var(--firebird-deep); font-weight: 800; }
.seats.full-note { color: var(--ink-soft); font-weight: 700; }

/* ---------- A class whose group is full ---------- */
.class-card.is-full {
  background: #f4efe6;
  border-left-color: #b3a89a !important;
  box-shadow: none;
}

.class-card.is-full:hover { transform: none; box-shadow: var(--shadow-soft); }

/* Everything except the FULL tag and the waitlist button is dimmed */
.class-card.is-full .class-date,
.class-card.is-full .meta,
.class-card.is-full .course-run { opacity: 0.55; }

.class-card.is-full .class-info h3 { color: var(--ink-soft); }

/* The unmissable part */
.full-tag {
  display: inline-block;
  vertical-align: middle;
  margin-left: 10px;
  background: var(--firebird);
  color: var(--white);
  font-family: var(--font-ui);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  padding: 5px 13px;
  border-radius: 8px;
  transform: rotate(-3deg);
  box-shadow: 0 2px 0 rgba(90, 22, 16, 0.35);
}

.btn-waitlist {
  background: transparent;
  border-color: var(--firebird);
  color: var(--firebird-deep);
  font-weight: 800;
}

.btn-waitlist:hover { background: var(--firebird); color: var(--white); }

/* A group that has already started but still accepts joiners */
.running-note {
  font-family: var(--font-ui);
  font-size: 0.92rem;
  font-weight: 500;
  color: #1f6273;
  background: var(--sky-pale);
  border-left: 3px solid var(--lake-deep);
  border-radius: 0 8px 8px 0;
  padding: 7px 12px;
  margin-top: 10px;
}

.running-banner {
  background: var(--sky-pale);
  border: 2px solid var(--lake-deep);
  border-radius: 12px;
  padding: 14px 18px;
  margin: 12px 0 16px;
  font-family: var(--font-ui);
  font-size: 0.98rem;
  color: #1f6273;
}

/* Notice inside the class details popup */
.full-banner {
  background: #fbe9e6;
  border: 2px solid var(--firebird);
  border-radius: 12px;
  padding: 14px 18px;
  margin: 12px 0 16px;
  font-family: var(--font-ui);
  font-size: 0.98rem;
  color: var(--firebird-deep);
  font-weight: 500;
}

.classes-empty {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 56px 28px;
  color: var(--ink-soft);
}

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(43, 34, 22, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 20px;
}

.modal-overlay.open { display: flex; }

.modal {
  background: var(--parchment);
  border-radius: var(--radius);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 42px;
  position: relative;
  box-shadow: var(--shadow);
  border-top: 8px solid var(--gold);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.9rem;
  color: var(--ink-soft);
  cursor: pointer;
  line-height: 1;
}

.modal h3 { font-size: 2rem; margin: 12px 0 6px; }
.modal .modal-when { font-family: var(--font-ui); font-weight: 800; font-size: 1.1rem; color: var(--firebird-deep); margin-bottom: 8px; }
.modal .modal-meta { font-family: var(--font-ui); font-size: 1rem; color: var(--ink-soft); margin-bottom: 8px; }
.modal p.story { margin-bottom: 24px; }
.modal .btn { width: 100%; }
.modal .modal-fineprint { font-family: var(--font-ui); font-size: 0.92rem; color: var(--ink-soft); text-align: center; margin-top: 14px; }

/* ---------- Forms ---------- */
.form-panel {
  background: var(--white);
  border: 1px solid rgba(122, 82, 56, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 42px;
  max-width: 680px;
  margin: 0 auto;
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }

label {
  display: block;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 7px;
  color: var(--bark-deep);
}

input, select, textarea {
  width: 100%;
  font-family: var(--font-ui);
  font-size: 1.05rem;
  padding: 13px 16px;
  border: 1.5px solid rgba(122, 82, 56, 0.3);
  border-radius: 12px;
  background: var(--parchment);
  color: var(--ink);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--firebird);
}

textarea { resize: vertical; min-height: 120px; }

.form-panel .btn { margin-top: 26px; width: 100%; }
.form-hint { font-family: var(--font-ui); font-size: 0.92rem; color: var(--ink-soft); margin-top: 7px; }

/* ---------- Teachers ---------- */
.teacher-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  background: var(--white);
  border: 1px solid rgba(122, 82, 56, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 38px;
  margin-bottom: 32px;
  align-items: start;
  scroll-margin-top: 110px;
}

.teacher-photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  border: 7px solid var(--gold-pale);
  background: var(--meadow-pale);
}

.teacher-photo-placeholder {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 7px solid var(--gold-pale);
  background: var(--meadow-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--forest);
}

.teacher-card .role {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--firebird-deep);
  margin-bottom: 8px;
}

.teacher-card h3 { font-size: 2.2rem; margin-bottom: 12px; }
.teacher-card .levels-taught { margin: 16px 0; }
.teacher-card .levels-taught .badge { margin-right: 8px; }

/* ---------- Testimonials ---------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 26px;
}

.testimonial {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(122, 82, 56, 0.12);
  box-shadow: var(--shadow-soft);
  padding: 30px;
  position: relative;
}

.testimonial::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: -10px;
}

.testimonial p { font-style: italic; color: var(--ink-soft); font-size: 1.05rem; }

.testimonial .who {
  margin-top: 16px;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1rem;
  color: var(--bark-deep);
}

.video-testimonial {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bark-deep);
  box-shadow: var(--shadow-soft);
}

.video-testimonial iframe { width: 100%; height: 100%; border: 0; }

.video-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--gold-pale);
  font-family: var(--font-ui);
  font-size: 1rem;
  gap: 10px;
}

/* ---------- Pricing ---------- */
.price-card {
  max-width: 500px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  border-top: 8px solid var(--firebird);
  box-shadow: var(--shadow);
  padding: 46px 42px;
  text-align: center;
}

.price-card .price {
  font-family: var(--font-display);
  font-size: 4.4rem;
  color: var(--bark-deep);
  line-height: 1;
}

.price-card .price small { font-size: 1.25rem; color: var(--ink-soft); }

.price-card ul {
  list-style: none;
  text-align: left;
  margin: 30px 0;
}

.price-card li {
  padding: 11px 0 11px 36px;
  position: relative;
  border-bottom: 1px dashed rgba(122, 82, 56, 0.18);
  font-size: 1.05rem;
}

.price-card li:last-child { border-bottom: none; }

.price-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15px;
  width: 21px;
  height: 21px;
  background: var(--meadow-pale);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233f6f8e' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}

.discount-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; margin-top: 48px; }

.discount-card {
  background: var(--gold-pale);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}

.discount-card h3 { margin-bottom: 8px; }
.discount-card p { font-size: 1rem; color: var(--ink-soft); }

/* A discount card that links somewhere (e.g. Patreon) */
a.discount-card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s, box-shadow 0.15s;
}

a.discount-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }

.card-link {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--firebird-deep);
}

/* ---------- Method page ---------- */
.timeline { max-width: 760px; margin: 0 auto; }

.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 28px;
  padding: 26px 0;
  border-bottom: 1.5px dashed rgba(122, 82, 56, 0.2);
}

.timeline-item:last-child { border-bottom: none; }

.timeline-item .when {
  font-family: var(--font-display);
  color: var(--firebird-deep);
  font-size: 1.25rem;
  text-align: right;
}

.timeline-item h3 { margin-bottom: 8px; }
.timeline-item p { color: var(--ink-soft); font-size: 1.05rem; }

.dont-list { max-width: 760px; margin: 0 auto; display: grid; gap: 16px; }

.dont-item {
  background: var(--white);
  border-left: 5px solid var(--firebird);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 26px;
  box-shadow: var(--shadow-soft);
}

.dont-item strong { font-family: var(--font-ui); font-size: 1.1rem; color: var(--bark-deep); }
.dont-item p { font-size: 1.02rem; color: var(--ink-soft); margin-top: 4px; }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 780px; margin: 0 auto; display: grid; gap: 14px; }

.faq-item {
  background: var(--white);
  border: 1px solid rgba(122, 82, 56, 0.14);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 0 26px;
}

.faq-item summary {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 36px;
  color: var(--ink);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--firebird);
  transition: transform 0.2s;
}

.faq-item[open] summary::after { content: '−'; }

.faq-item p { padding: 0 0 20px; color: var(--ink-soft); font-size: 1.02rem; }

/* Per-teacher quote on a teacher card */
.teacher-quote {
  margin-top: 18px;
  background: var(--parchment);
  border-left: 4px solid var(--gold);
  border-radius: 0 12px 12px 0;
  padding: 14px 18px;
}

.teacher-quote p { font-style: italic; color: var(--ink-soft); font-size: 0.98rem; margin: 0; }
.teacher-quote .who { font-family: var(--font-ui); font-weight: 700; font-size: 0.88rem; margin-top: 6px; color: var(--bark-deep); }

/* ---------- CTA band ---------- */
/* Light lake-blue band, like the sea in the artwork */
.cta-band {
  background:
    radial-gradient(ellipse at 20% 120%, rgba(255, 255, 255, 0.28) 0%, transparent 55%),
    linear-gradient(135deg, #79cbdc, #4a9dbb);
  color: var(--white);
  text-align: center;
  border-radius: calc(var(--radius) * 1.5);
  padding: 68px 40px;
  position: relative;
  overflow: visible;
}

.cta-band h2 { color: var(--white); text-shadow: 0 2px 8px rgba(30, 80, 100, 0.3); }
.cta-band p { color: #f0fafc; max-width: 52ch; margin: 14px auto 32px; font-size: 1.12rem;
              text-shadow: 0 1px 4px rgba(30, 80, 100, 0.25); }

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(180deg, var(--bark-deep), #3a2412);
  color: var(--parchment);
  padding: 56px 0 30px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 44px;
  margin-bottom: 36px;
}

.site-footer h4 { color: var(--gold); margin-bottom: 14px; font-size: 1.3rem; }
.site-footer a { color: var(--parchment); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 9px; font-family: var(--font-ui); font-size: 1rem; }
.site-footer .tagline-footer { font-size: 1.02rem; color: rgba(253, 242, 227, 0.75); max-width: 36ch; }

.footer-bottom {
  border-top: 1px solid rgba(253, 242, 227, 0.2);
  padding-top: 22px;
  font-family: var(--font-ui);
  font-size: 0.92rem;
  color: rgba(253, 242, 227, 0.6);
  text-align: center;
}

/* ---------- Responsive ---------- */
/* Creatures only appear on wide screens where they never cover text */
@media (max-width: 1280px) {
  .creature { display: none; }
}

/* ---------- Booking page (embedded Calendly) ---------- */
.booking-embed {
  background: var(--white);
  border: 1px solid rgba(122, 82, 56, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}

.booking-embed .calendly-inline-widget { min-width: 320px; height: 760px; }

@media (max-width: 860px) {
  body { font-size: 18px; }
  .creature-float { display: none; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero h1, .hero .tagline { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-bard { max-height: 300px; }

  .nav-toggle { display: block; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--parchment);
    padding: 22px 5%;
    gap: 18px;
    border-bottom: 1px solid rgba(122, 82, 56, 0.15);
    box-shadow: var(--shadow);
  }

  .site-nav.open { display: flex; }

  .class-card { grid-template-columns: 1fr; text-align: left; }
  .class-date { border-right: none; border-bottom: 1.5px dashed rgba(122, 82, 56, 0.25); padding: 0 0 14px; text-align: left; display: flex; gap: 14px; align-items: baseline; }
  .class-cta { text-align: left; }
  .teacher-card { grid-template-columns: 1fr; }
  .teacher-photo, .teacher-photo-placeholder { max-width: 200px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .form-grid { grid-template-columns: 1fr; }
  .timeline-item { grid-template-columns: 1fr; gap: 6px; }
  .timeline-item .when { text-align: left; }
  .btn-xl { padding: 18px 36px; font-size: 1.15rem; }
}
