/* ============================================================
   Dance with Lisa — Stylesheet
   Design system: Joyful Pop (direction 03)
   Fonts: Bricolage Grotesque · Manrope · Caveat
   ============================================================ */


/* ------------------------------------------------------------
   1. DESIGN TOKENS
   Exact values from joyful-pop-spec.md
   ------------------------------------------------------------ */

:root {
  /* Colour palette */
  --cream:        #FDF3DF;  /* Page background — 70% of the space */
  --white:        #FFFFFF;  /* Cards, schedule day blocks */
  --ink:          #1C2A2C;  /* Body text, headlines on light bg */
  --ink-muted:    #54625F;  /* Secondary text, captions */
  --ink-light:    rgba(253, 243, 223, 0.8);
  --teal:         #1F5C63;  /* Primary — hero accent, About panel, Find panel, CTA */
  --teal-mid:     #2A7D85;  /* Hover / secondary teal */
  --coral:        #E85A4F;  /* Hero accent word, CTAs, pills, time labels — use sparingly */
  --mustard:      #E8B54A;  /* Tea dance bg, sticker, badges, accent words */
  --pink:         #F3A9A3;  /* Kids cards, secondary photo accents */
  --pink-ink:     #7A2A26;  /* Text on pink */

  /* Typography */
  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body:    'Manrope', system-ui, sans-serif;
  --font-hand:    'Caveat', cursive;

  /* Type scale */
  --text-xs:   0.75rem;    /*  12px */
  --text-sm:   0.8125rem;  /*  13px */
  --text-base: 16px;       /*  16px */
  --text-lg:   1.125rem;   /*  18px */
  --text-xl:   1.375rem;   /*  22px */
  --text-2xl:  1.75rem;    /*  28px */
  --text-3xl:  2.25rem;    /*  36px */
  --text-4xl:  3rem;       /*  48px */
  --text-5xl:  4rem;       /*  64px */
  --text-hero: 7rem;       /* 128px — spec exactly */

  /* Spacing */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  /* Layout */
  --page-width:  1280px;   /* Spec: 1280px desktop reference */
  --page-pad:    48px;     /* Spec: section horizontal padding */
  --panel-margin: 24px;   /* Spec: floating panel outer margin */
  --panel-radius: 48px;   /* Spec: floating panel border-radius */
  --card-radius:  24px;   /* Spec: inner cards 20–32px */
  --pill-radius:  99px;   /* Spec: pills 99px */

  /* Shadows */
  --shadow-soft: 0 16px 40px rgba(0, 0, 0, 0.15);
  --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.08);
}


/* ------------------------------------------------------------
   2. RESET & BASE
   ------------------------------------------------------------ */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.55;    /* Spec: body 16px / 1.55 */
  color: var(--ink);
  background-color: var(--cream);  /* Cream is the page background */
  -webkit-font-smoothing: antialiased;
}

img, figure {
  max-width: 100%;
  height: auto;
  display: block;
}

ul { list-style: none; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }

/* Focus — accessibility */
:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
  border-radius: 4px;
}


/* ------------------------------------------------------------
   3. TYPOGRAPHY
   ------------------------------------------------------------ */

/* Display headings — Bricolage Grotesque */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 0.92;
  color: var(--ink);
}

/* Body / nav / pills — Manrope */
p, li, label, input, textarea, button, th, td, dt, dd, caption {
  font-family: var(--font-body);
}

/* Handwritten accent — Caveat */
.caveat {
  font-family: var(--font-hand);
  font-weight: 500;
  /* Specific usage will set size and rotation */
}

/* Colour accent word — italic coral (one or two per headline) */
em.coral {
  color: var(--coral);
  font-style: italic;
}
em.mustard {
  color: var(--mustard);
  font-style: italic;
}
span.teal {
  color: var(--teal-mid);
}

/* Section label — Manrope 700 uppercase small */
.section-label {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: var(--sp-4);
}


/* ------------------------------------------------------------
   4. BUTTONS
   Spec: pills 99px radius, Manrope 600, 13px, sentence-case.
   Minimum tap target 44px — 14px vertical padding used.
   ------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 14px 24px;
  border-radius: var(--pill-radius);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease,
              box-shadow 180ms ease;
  border: 2px solid transparent;
}

.btn--teal {
  background-color: var(--teal);
  color: var(--cream);   /* Spec: cream not white on teal */
  border-color: var(--teal);
}
.btn--teal:hover {
  background-color: var(--teal-mid);
  border-color: var(--teal-mid);
  box-shadow: var(--shadow-card);
}

.btn--coral {
  background-color: var(--coral);
  color: var(--cream);
  border-color: var(--coral);
}
.btn--coral:hover {
  background-color: #c94940;
}

.btn--outline {
  background-color: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--outline:hover {
  background-color: var(--ink);
  color: var(--cream);
}

/* Nav CTA — coral pill */
.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background-color: var(--coral);
  color: var(--cream);
  border-radius: var(--pill-radius);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  white-space: nowrap;
  transition: background-color 180ms ease;
}
.nav-cta:hover { background-color: #c94940; }


/* ------------------------------------------------------------
   5. PILLS
   Spec: Manrope 600, 13px, ● dot prefix, 99px radius,
   14px vertical padding for 44px tap target.
   ------------------------------------------------------------ */

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  list-style: none;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 16px;
  border-radius: var(--pill-radius);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1;
}

.pill-dot {
  font-size: 8px;
  line-height: 1;
}

.pill--teal    { background-color: var(--teal);    color: var(--cream); }
.pill--coral   { background-color: var(--coral);   color: var(--cream); }
.pill--mustard { background-color: var(--mustard); color: var(--ink);   }
.pill--pink    { background-color: var(--pink);    color: var(--pink-ink); }
.pill--cream   { background-color: var(--cream);   color: var(--ink); border: 1.5px solid rgba(28,42,44,.15); }


/* ------------------------------------------------------------
   6. FLOATING SECTION PANELS
   Spec: "sit inside a rounded rectangle with 24px outer margin
   to the page edges — they float on the cream background".
   Hero and gallery sit flat on cream.
   ------------------------------------------------------------ */

.section-panel {
  margin: var(--panel-margin);
  border-radius: var(--panel-radius);
  padding: 80px var(--page-pad);
  overflow: hidden;
  position: relative;
}

.section-panel--teal {
  background-color: var(--teal);
  color: var(--cream);
}
.section-panel--teal .section-label  { color: rgba(253, 243, 223, 0.6); }
.section-panel--teal h2,
.section-panel--teal h3,
.section-panel--teal h4              { color: var(--cream); }
.section-panel--teal p,
.section-panel--teal dd              { color: rgba(253, 243, 223, 0.8); }
.section-panel--teal strong          { color: var(--cream); }
.section-panel--teal dt              { color: var(--mustard); font-family: var(--font-body); font-weight: 700; }
.section-panel--teal a               { color: var(--mustard); text-decoration: underline; text-underline-offset: 3px; }
.section-panel--teal a:hover         { color: var(--cream); }
.section-panel--teal address         { color: rgba(253, 243, 223, 0.85); }

.section-panel--cream {
  background-color: var(--white);
}

.section-panel--mustard {
  background-color: var(--mustard);
}


/* ------------------------------------------------------------
   7. SECTION INTRO BLOCK — shared across sections
   ------------------------------------------------------------ */

.section-intro {
  max-width: var(--page-width);
  margin-inline: auto;
  margin-bottom: var(--sp-12);
}

.section-intro h2 {
  font-size: clamp(var(--text-4xl), 5vw, var(--text-5xl));
  margin-bottom: var(--sp-6);
  line-height: 0.92;
}

.section-intro p {
  font-size: var(--text-lg);
  color: var(--ink-muted);
  max-width: 600px;
  line-height: 1.65;
}

/* Caveat inside heading — the "swoop" word */
.section-intro h2 .caveat {
  font-size: 0.85em;
  display: inline-block;
  transform: rotate(-3deg);
  color: var(--coral);
}


/* ------------------------------------------------------------
   8. SITE HEADER & NAVIGATION
   ------------------------------------------------------------ */

.site-header__inner {
  max-width: var(--page-width);
  margin-inline: auto;
  padding-inline: var(--page-pad);
  height: 68px;
  display: flex;
  align-items: center;
  gap: var(--sp-8);
}

.site-header__brand a {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.site-header__brand .pill {
  font-size: 1.5rem;
  color: var(--coral);
  padding: 0 0.5rem 0 0;
}

.site-nav {
  flex: 1;
}
.site-nav ul {
  display: flex;
  gap: var(--sp-4);
  justify-content: center;
}
.site-nav a {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  transition: color 180ms ease;
  padding: 9px 14px;
}
.site-nav .btn:hover { 
  background-color: var(--teal);
  background-color: var(--white);
}


/* ------------------------------------------------------------
   9. HERO SECTION
   Spec: two-column 1.1fr / 0.9fr. Headline at 128px on 3 lines.
   Hero sits flat on cream (no panel margin/radius).
   ------------------------------------------------------------ */

#welcome {
  padding: 80px var(--page-pad);
  background-color: var(--cream);
  overflow: hidden;
}

.hero-inner {
  max-width: var(--page-width);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--sp-16);
  align-items: center;
}

/* --- Hero text --- */

.hero-text h1 {
  font-family: var(--font-display);
  font-size: clamp(var(--text-5xl), 9vw, var(--text-hero));
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: var(--sp-6);
}

.hero-tagline {
  margin-bottom: var(--sp-8);
}

.hero-tagline .caveat {
  font-size: clamp(var(--text-3xl), 3.5vw, var(--text-4xl));
  color: var(--mustard);
  display: inline-block;
  transform: rotate(-3deg);
  transform-origin: left center;
}

.hero-body {
  font-size: var(--text-lg);
  max-width: 500px;
  line-height: 1.65;
  margin-bottom: var(--sp-8);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-8);
}

/* --- Photo cluster --- */
/* Spec: wide rectangle top (+2°), circle bottom-left (-6°), small rectangle bottom-right (+5°) */

.hero-photo-cluster {
  position: relative;
  height: 540px;
}

.photo-slot {
  position: absolute;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(28, 42, 44, 0.4);
  background-color: var(--white);
  /* Will be replaced with <img> */
}

/* Wide rectangle — top, tilted +2° */
.photo-slot--wide {
  width: 100%;
  height: 300px;
  top: 0;
  left: 0;
  border-radius: 28px;
  transform: rotate(2deg);
  background-color: var(--teal);
  opacity: 0.15;
}

/* Circle — bottom-left, tilted -6° (border-radius 50%) */
.photo-slot--circle {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  bottom: 0;
  left: 0;
  transform: rotate(-6deg);
  background-color: var(--mustard);
  opacity: 0.25;
}

/* Small rectangle — bottom-right, tilted +5° */
.photo-slot--small {
  width: 180px;
  height: 160px;
  bottom: 20px;
  right: 0;
  border-radius: var(--card-radius);
  transform: rotate(5deg);
  background-color: var(--pink);
  opacity: 0.4;
}

/* When real photos are swapped in, remove opacity and set object-fit */
.photo-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}


/* ------------------------------------------------------------
   10. ABOUT SECTION
   ------------------------------------------------------------ */

.about-inner {
  max-width: var(--page-width);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: start;
}

/* Left — stat + blockquote */
.about-left {
  position: sticky;
  top: 90px;
}

.about-stat {
  font-family: var(--font-display);
  font-size: clamp(var(--text-4xl), 5vw, var(--text-5xl));
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-8);
}

.about-quote {
  border-left: 4px solid var(--coral);
  padding-left: var(--sp-6);
}

.about-quote p {
  font-size: var(--text-lg);
  font-style: italic;
  color: rgba(253, 243, 223, 0.85) !important; /* override panel rule */
  line-height: 1.65;
  margin-bottom: var(--sp-3);
}

.about-quote footer {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--mustard) !important;
}

/* Right — photo + body text */
.about-right {
  position: relative;
}

.about-photo-placeholder {
  width: 100%;
  height: 280px;
  background-color: rgba(253, 243, 223, 0.1);
  border-radius: var(--card-radius);
  margin-bottom: var(--sp-8);
  display: flex;
  align-items: flex-end;
  padding: var(--sp-4);
  transform: rotate(-2deg);
  position: relative;
  box-shadow: var(--shadow-soft);
}

.about-photo-placeholder .caveat {
  font-size: 1.75rem;
  color: var(--mustard);
  transform: rotate(3deg);
  display: inline-block;
}

.about-right h2 {
  font-size: var(--text-3xl);
  margin-bottom: var(--sp-6);
}

.about-right p {
  margin-bottom: var(--sp-4);
  line-height: 1.7;
}

.about-right strong { color: var(--cream); }


/* ------------------------------------------------------------
   11. CLASSES SECTION
   ------------------------------------------------------------ */

/* --- Level cards --- */
/* Spec: 4 equal cards — mustard, pink, teal, coral.
   Big numeral bottom-right (Bricolage 800), tag+title+body top-left */

.levels-grid {
  max-width: var(--page-width);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;   /* Spec: inner card gaps 14–18px */
  margin-bottom: var(--sp-16);
}

.level-card {
  border-radius: var(--card-radius);
  padding: var(--sp-8);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
  position: relative;
  overflow: hidden;
}

.level-card__top {
  flex: 1;
}

.level-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
  opacity: 0.7;
}

.level-card h3 {
  font-size: var(--text-xl);
  line-height: 1.05;
  margin-bottom: var(--sp-4);
}

.level-card p {
  font-size: var(--text-sm);
  line-height: 1.6;
  opacity: 0.85;
}

/* Big numeral — bottom-right, Bricolage 800 */
.level-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 4rem;
  line-height: 1;
  letter-spacing: -0.04em;
  align-self: flex-end;
  margin-top: var(--sp-4);
  opacity: 0.25;
}

/* Card colour variants */
.level-card--mustard {
  background-color: var(--mustard);
  color: var(--ink);
}
.level-card--pink {
  background-color: var(--pink);
  color: var(--pink-ink);
}
.level-card--teal {
  background-color: var(--teal);
  color: var(--cream);
}
.level-card--teal h3 { color: var(--cream); }
.level-card--coral {
  background-color: var(--coral);
  color: var(--cream);
}
.level-card--coral h3 { color: var(--cream); }

/* --- Schedule grid --- */
#schedule .section-intro h2 {
  text-align: center;
}

p.section-note {
  font-size: var(--text-sm);
  color: var(--ink-muted);
  line-height: 1.6;
  text-align: center;
  width: 100%;
  max-width: none;
  display: block;
}

p.section-note a {
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-left: var(--sp-3);
}
.section-note a:hover { color: var(--teal-mid); }

.schedule-wrap {
  max-width: var(--page-width);
  margin-inline: auto;
}

/* Accessible table — shown on mobile, visually hidden on desktop */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--sp-8);
}

@media (min-width: 769px) {
  .schedule-table { display: none; }
}

.schedule-table caption {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--ink-muted);
  text-align: left;
  padding-bottom: var(--sp-3);
}

.schedule-table th {
  background-color: var(--teal);
  color: var(--cream);
  padding: var(--sp-3) var(--sp-4);
  text-align: left;
  font-size: var(--text-sm);
}

.schedule-table td {
  padding: var(--sp-3) var(--sp-4);
  border-bottom: 1px solid rgba(28, 42, 44, 0.1);
  font-size: var(--text-sm);
  vertical-align: top;
}

.schedule-table tr:hover td { background-color: rgba(31, 92, 99, 0.04); }

/* Visual schedule grid — columns by day, hidden on mobile */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: var(--sp-8);
}

@media (max-width: 768px) {
  .schedule-grid { display: none; }
}

.schedule-day {
  background-color: rgba(253, 243, 223, 0.6);
  border-radius: var(--card-radius);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.schedule-day__label {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--ink);
  padding-bottom: var(--sp-3);
  border-bottom: 2px solid rgba(28, 42, 44, 0.1);
  margin-bottom: var(--sp-2);
}

/* Inner class cards — white on cream-tinted day block */
.schedule-card {
  background-color: var(--white);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  box-shadow: var(--shadow-card);
  padding: var(--sp-3);
}

.schedule-card strong {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
}

.schedule-card__time {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.schedule-card__level {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--ink-muted);
}
.kids .schedule-card__level {
  color: var(--ink-light);
}

.schedule-card.beginner {
  background-color: var(--mustard);
}
.schedule-card.intermediate {
  background-color: var(--pink);
}
.schedule-card.mixed {
  background-color: var(--teal);
  color: var(--cream);
}
.schedule-card.kids {
  background-color: var(--coral);
  color: var(--cream);
}

/* Section wrapper — classes section needs its own max-width wrapper */
#classes .section-intro,
#classes .schedule-wrap,
#classes .levels-grid {
  max-width: var(--page-width);
  margin-inline: auto;
}


/* ------------------------------------------------------------
   12. TEA DANCE SECTION
   ------------------------------------------------------------ */

/* Tea sticker — Spec: circular mustard, 120px, rotated -12°, Bricolage 800 */
.tea-sticker {
  position: absolute;
  top: var(--sp-8);
  right: var(--sp-8);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-color: var(--ink);
  color: var(--mustard);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.875rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  transform: rotate(-12deg);
  z-index: 10;
  user-select: none;
}

/* Two-column top: headline + photo */
.tea-top {
  max-width: var(--page-width);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  align-items: start;
  margin-bottom: var(--sp-12);
}

.tea-headline .section-label {
  color: rgba(28, 42, 44, 0.55);
}

.tea-headline h2 {
  font-family: var(--font-display);
  font-size: clamp(var(--text-4xl), 6vw, 5.5rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: var(--sp-6);
}

.tea-headline p {
  font-size: var(--text-lg);
  color: var(--ink);
  opacity: 0.85;
  max-width: 460px;
  line-height: 1.65;
  margin-bottom: var(--sp-4);
}

.tea-headline strong { opacity: 1; }

p.tea-tagline {
  font-size: 4rem;
  color: var(--ink);
  display: inline-block;
  transform: rotate(-4deg);
  transform-origin: left center;
  margin-top: var(--sp-4);
}

/* Tea dance photo placeholder */
.tea-photo-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-color: rgba(28, 42, 44, 0.1);
  border-radius: var(--card-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: rgba(28, 42, 44, 0.4);
  transform: rotate(2deg);
  box-shadow: var(--shadow-soft);
}

/* Ticket strip — four-column, cream rounded rectangles */
/* Spec: "four-column ticket strip below" */
.ticket-strip {
  max-width: var(--page-width);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.ticket {
  background-color: var(--cream);
  border-radius: 20px;
  padding: var(--sp-6) var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.ticket__day {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.ticket__date {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
}

.ticket__time {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink);
}

.ticket__note {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--teal);
  margin-top: auto;
  padding-top: var(--sp-3);
  border-top: 1px solid rgba(28, 42, 44, 0.1);
}


/* ------------------------------------------------------------
   13. DANCE STYLES
   ------------------------------------------------------------ */

#dance-styles {
  padding: 80px var(--page-pad);
  background-color: var(--cream);
}

.styles-grid {
  max-width: var(--page-width);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.style-card {
  background-color: var(--white);
  border-radius: var(--card-radius);
  padding: var(--sp-8);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

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

/* Colour top stripe — rotating through the palette */
.style-card:nth-child(1) { border-top: 5px solid var(--teal); }
.style-card:nth-child(2) { border-top: 5px solid var(--mustard); }
.style-card:nth-child(3) { border-top: 5px solid var(--coral); }
.style-card:nth-child(4) { border-top: 5px solid var(--pink); }
.style-card:nth-child(5) { border-top: 5px solid var(--teal-mid); }
.style-card:nth-child(6) { border-top: 5px solid var(--mustard); }

.style-card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--sp-3);
}

.style-card p {
  font-size: var(--text-sm);
  color: var(--ink-muted);
  line-height: 1.65;
}

#dance-styles .section-intro {
  max-width: var(--page-width);
  margin-inline: auto;
  margin-bottom: var(--sp-10);
}


/* ------------------------------------------------------------
   14. YOUR FIRST CLASS
   ------------------------------------------------------------ */

#first-class .section-intro { margin-bottom: var(--sp-10); }

.first-class-grid {
  max-width: var(--page-width);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: var(--sp-10);
}

.first-class-card {
  background-color: var(--cream);
  border-radius: var(--card-radius);
  padding: var(--sp-8);
}

.first-class-card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--sp-4);
  color: var(--teal);
}

.first-class-card p,
.first-class-card dd {
  font-size: var(--text-sm);
  color: var(--ink-muted);
  line-height: 1.65;
}

.first-class-card dt {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--ink);
  margin-top: var(--sp-4);
  margin-bottom: var(--sp-1);
}

.first-class-card dd {
  margin-left: 0;
  padding-left: var(--sp-4);
  border-left: 3px solid rgba(31, 92, 99, 0.2);
}

.first-class-pricing {
  max-width: var(--page-width);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  flex-wrap: wrap;
  padding-top: var(--sp-8);
  border-top: 1px solid rgba(28, 42, 44, 0.1);
}

.first-class-pricing p {
  font-size: var(--text-base);
  color: var(--ink-muted);
}

.first-class-pricing strong { color: var(--ink); }


/* ------------------------------------------------------------
   15. CHILDREN'S CLASSES
   ------------------------------------------------------------ */

#childrens-classes {
  padding: 80px var(--page-pad);
  background-color: var(--cream);
}

#childrens-classes .section-intro {
  max-width: var(--page-width);
  margin-inline: auto;
  margin-bottom: var(--sp-10);
}

.childrens-grid {
  max-width: var(--page-width);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
}

.childrens-body p {
  font-size: var(--text-base);
  color: var(--ink-muted);
  line-height: 1.7;
  margin-bottom: var(--sp-4);
}

.childrens-dbs {
  background-color: var(--white);
  border-radius: var(--card-radius);
  padding: var(--sp-8);
  border-top: 5px solid var(--pink);
}

.childrens-dbs h3 {
  font-size: var(--text-xl);
  color: var(--pink-ink);
  margin-bottom: var(--sp-4);
}

.childrens-dbs p {
  font-size: var(--text-sm);
  color: var(--ink-muted);
  line-height: 1.7;
  margin-bottom: var(--sp-3);
}

.childrens-dbs strong { color: var(--ink); }


/* ------------------------------------------------------------
   16. TESTIMONIALS
   ------------------------------------------------------------ */

#testimonials .section-intro { margin-bottom: var(--sp-8); }

/* Spec: "↓ a few of our favourites" as Caveat annotation on heading */
#testimonials h2 {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

#testimonials h2 .caveat {
  font-size: var(--text-2xl);
  color: var(--ink-muted);
  display: inline-block;
  transform: rotate(-3deg);
  transform-origin: left center;
}

.testimonials-grid {
  max-width: var(--page-width);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.testimonial {
  background-color: var(--cream);
  border-radius: var(--card-radius);
  padding: var(--sp-8);
}

.testimonial:nth-child(1) { border-top: 5px solid var(--mustard); }
.testimonial:nth-child(2) { border-top: 5px solid var(--pink); }
.testimonial:nth-child(3) { border-top: 5px solid var(--teal); }

.testimonial p {
  font-size: var(--text-base);
  font-style: italic;
  color: var(--ink);
  line-height: 1.65;
  margin-bottom: var(--sp-4);
}

.testimonial footer {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--ink-muted);
}

.testimonials-placeholder {
  max-width: var(--page-width);
  margin-inline: auto;
  color: var(--ink-muted);
  font-style: italic;
}


/* ------------------------------------------------------------
   17. AREA / LOCAL SEO
   ------------------------------------------------------------ */

#area {
  padding: var(--sp-16) var(--page-pad);
  background-color: var(--cream);
}

.area-inner {
  max-width: var(--page-width);
  margin-inline: auto;
  max-width: 720px;
  text-align: center;
}

.area-inner h2 {
  font-size: clamp(var(--text-3xl), 4vw, var(--text-4xl));
  margin-bottom: var(--sp-6);
}

.area-inner p {
  font-size: var(--text-base);
  color: var(--ink-muted);
  line-height: 1.7;
  margin-bottom: var(--sp-4);
}


/* ------------------------------------------------------------
   18. VENUE SECTION
   ------------------------------------------------------------ */
#venue h2 {
  font-size: clamp(var(--text-4xl), 5vw, var(--text-5xl));
}
#venue .section-intro p {
  color: var(--ink-light);
}

.venues .venue-classes,
.venues .venue-teadance {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
}
.venues .venue-classes {
  margin-bottom: var(--sp-4);
}

.venue-classes address,
.venue-teadance address {
  font-size: var(--text-base);
  line-height: 1.8;
  margin-bottom: var(--sp-6);
}

.venue-teadance h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--sp-4);
}

.venue-teadance p {
  margin-top: var(--sp-4);
}

/* Map placeholder — full width below the two columns */
.venue-map-placeholder {
  height: 260px;
  background-color: rgba(253, 243, 223, 0.12);
  border-radius: var(--card-radius);
  display: grid;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: rgba(253, 243, 223, 0.4);
  transform: rotate(-2deg);
  box-shadow: var(--shadow-soft);
  margin-top: var(--sp-8);
}

#venue iframe,
.venue-map {
  width: 100%;
  height: 260px;
  border: none;
  border-radius: var(--card-radius);
  margin-top: var(--sp-8);
  transform: rotate(-2deg);
  box-shadow: var(--shadow-soft);
}


/* ------------------------------------------------------------
   19. CONTACT
   ------------------------------------------------------------ */

#contact {
  padding: 80px var(--page-pad);
  background-color: var(--cream);
}

.contact-inner {
  max-width: var(--page-width);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: start;
}

#contact .section-label { margin-bottom: var(--sp-3); }

.contact-details h2 {
  font-size: clamp(var(--text-4xl), 5vw, var(--text-5xl));
  margin-bottom: var(--sp-6);
  line-height: 0.92;
}

.contact-details > p {
  font-size: var(--text-lg);
  color: var(--ink-muted);
  line-height: 1.65;
  margin-bottom: var(--sp-8);
  max-width: 400px;
}

.contact-phone {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--teal);
  text-decoration: none;
  margin-bottom: var(--sp-3);
  line-height: 1;
}
.contact-phone:hover { color: var(--teal-mid); }

.contact-email {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-bottom: var(--sp-4);
}
.contact-email:hover { color: var(--teal); }

.contact-note {
  font-size: var(--text-sm);
  color: var(--ink-muted);
  line-height: 1.6;
}

/* ------------------------------------------------------------
   20. FOOTER
   ------------------------------------------------------------ */

.site-footer {
  background-color: var(--ink);
  padding: var(--sp-16) var(--page-pad) var(--sp-8);
}

.site-footer__inner {
  max-width: var(--page-width);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  padding-bottom: var(--sp-8);
  border-bottom: 1px solid rgba(253, 243, 223, 0.1);
  margin-bottom: var(--sp-8);
}

.footer-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--cream);
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-4);
}

.site-footer__brand address {
  font-size: var(--text-sm);
  color: rgba(253, 243, 223, 0.6);
  line-height: 1.8;
}

.site-footer__brand address a {
  color: rgba(253, 243, 223, 0.7);
  text-decoration: none;
}
.site-footer__brand address a:hover { color: var(--cream); }

.footer-dbs {
  font-size: var(--text-xs);
  color: rgba(253, 243, 223, 0.45);
  margin-top: var(--sp-4);
}

.site-footer nav ul {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.site-footer nav a {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(253, 243, 223, 0.65);
  transition: color 180ms ease;
}
.site-footer nav a:hover { color: var(--cream); }

.site-footer__base {
  max-width: var(--page-width);
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

.footer-area {
  font-size: var(--text-xs);
  color: rgba(253, 243, 223, 0.35);
}

.footer-copy {
  font-size: var(--text-xs);
  color: rgba(253, 243, 223, 0.35);
}


/* ------------------------------------------------------------
   21. RESPONSIVE — TABLET (≤ 1024px)
   ------------------------------------------------------------ */

@media (max-width: 1024px) {
  :root {
    --page-pad:    32px;
    --panel-margin: 16px;
  }

  .levels-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: var(--sp-12);
  }

  .hero-photo-cluster {
    height: 320px;
    order: -1;
  }

  .about-inner {
    grid-template-columns: 1fr;
  }

  .about-left { position: static; }

  .tea-top {
    grid-template-columns: 1fr;
  }

  .ticket-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .styles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .first-class-grid {
    grid-template-columns: 1fr;
  }

  .childrens-grid {
    grid-template-columns: 1fr;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: var(--sp-10);
  }

  .venue-inner {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }
}


/* ------------------------------------------------------------
   22. RESPONSIVE — MOBILE (≤ 640px)
   ------------------------------------------------------------ */

@media (max-width: 640px) {
  :root {
    --page-pad:     20px;
    --panel-margin: 10px;
    --panel-radius: 28px;
    --card-radius:  16px;
  }

  .section-panel {
    padding: var(--sp-12) var(--sp-6);
  }

  /* Header */
  .site-header__inner { height: 58px; gap: var(--sp-4); }
  .site-nav { display: none; }

  /* Hero */
  #welcome { padding: var(--sp-12) var(--sp-6); }
  .hero-photo-cluster { height: 220px; }
  .photo-slot--wide { height: 180px; }
  .photo-slot--circle { width: 130px; height: 130px; }
  .photo-slot--small { width: 120px; height: 100px; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }

  /* Level cards */
  .levels-grid { grid-template-columns: 1fr; }

  /* Schedule */
  .schedule-grid { display: none; }
  .schedule-table { display: table; }

  /* Tea dance */
  .tea-sticker { width: 90px; height: 90px; font-size: 0.75rem; top: var(--sp-4); right: var(--sp-4); }
  .ticket-strip { grid-template-columns: repeat(2, 1fr); }

  /* Styles */
  .styles-grid { grid-template-columns: 1fr; }
  
  /* venues */
  .venues .venue-classes,
  .venues .venue-teadance {
    display: block;
  }
  .venues .venue-classes {
    margin-bottom: var(--sp-4);
  }


  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr; }

  /* Footer */
  .site-footer__base { flex-direction: column; align-items: flex-start; }
}
