/* =====================================================================
   The Maple Academy — "join." landing page
   Design tokens & component classes ported verbatim from the main site's
   app.css so the aesthetic matches 1:1. Plain CSS, no build step.
   ===================================================================== */

/* ----- Design tokens (from app.css :root) ----- */
:root {
  --radius: 0.375rem;
  --header-h: 4.5rem;

  /* Brand palette — Maple Academy */
  --paper: #fdd3a0;
  --paper-dark: #eabd80;
  --espresso: #471812;
  --maple: #f2bf68;
  --gold: #f2bf68;
  --burgundy: #94301f;

  --background: var(--paper);
  --foreground: var(--espresso);
  --card: #ffe4c0;
  --muted-foreground: #6e4127;
  --border: rgb(71 24 18 / 0.25);

  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Lora", Georgia, serif;
  --font-script: "Great Vibes", cursive;

  /* Layout */
  --maxw: 72rem;   /* 1152px, matches max-w-6xl */
  --maxw-lg: 64rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h); /* keep anchor targets clear of the fixed navbar */
}

body {
  margin: 0;
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  /* Paper texture (from app.css) */
  background-image:
    radial-gradient(oklch(0.85 0.04 65 / 0.25) 1px, transparent 1px),
    radial-gradient(oklch(0.65 0.05 50 / 0.08) 1px, transparent 1px);
  background-size: 3px 3px, 17px 17px;
  background-position: 0 0, 1px 1px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--espresso);
  margin: 0;
}

p { margin: 0; }

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

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* ----- Layout helpers ----- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 1rem;
}
.container-lg { max-width: var(--maxw-lg); }
/* Mobile-first vertical rhythm — tighter on phones, roomier on larger screens */
.section { padding-block: 2.75rem; }
@media (min-width: 700px) { .section { padding-block: 4rem; } }
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }

/* Color utilities */
.text-gold { color: var(--gold); }
.text-burgundy { color: var(--burgundy); }
.text-espresso { color: var(--espresso); }
.text-paper { color: var(--paper); }
.text-muted { color: var(--muted-foreground); }
.italic { font-style: italic; }
.font-display { font-family: var(--font-display); }
.font-script { font-family: var(--font-script); }

/* ----- Component classes (ported from app.css @layer components) ----- */
.label-caps {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 600;
}

.vintage-frame {
  border: 1px solid var(--espresso);
  box-shadow:
    inset 0 0 0 4px var(--paper),
    inset 0 0 0 5px var(--espresso);
  background-color: var(--card);
}

.corner-frame { position: relative; }
.corner-frame::after {
  content: "";
  position: absolute;
  inset: 12px;
  pointer-events: none;
  background-image:
    linear-gradient(var(--gold), var(--gold)), linear-gradient(var(--gold), var(--gold)),
    linear-gradient(var(--gold), var(--gold)), linear-gradient(var(--gold), var(--gold)),
    linear-gradient(var(--gold), var(--gold)), linear-gradient(var(--gold), var(--gold)),
    linear-gradient(var(--gold), var(--gold)), linear-gradient(var(--gold), var(--gold));
  background-repeat: no-repeat;
  background-position:
    left top, left top, right top, right top,
    left bottom, left bottom, right bottom, right bottom;
  background-size:
    14px 1.5px, 1.5px 14px, 14px 1.5px, 1.5px 14px,
    14px 1.5px, 1.5px 14px, 14px 1.5px, 1.5px 14px;
}

.ribbon {
  display: inline-block;
  background: linear-gradient(180deg, var(--burgundy), oklch(0.36 0.13 28));
  color: var(--paper);
  padding: 0.5rem 2.25rem;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  clip-path: polygon(0 0, 100% 0, calc(100% - 0.85rem) 50%, 100% 100%, 0 100%, 0.85rem 50%);
  filter: drop-shadow(0 2px 4px color-mix(in srgb, var(--espresso) 40%, transparent));
}
.ribbon-gold { position: relative; background: var(--gold) 40%; }
.ribbon-gold::before {
  content: "";
  position: absolute;
  inset: 1.5px;
  z-index: -1;
  background: linear-gradient(180deg, var(--burgundy), oklch(0.36 0.13 28));
  clip-path: polygon(0 0, 100% 0, calc(100% - 0.85rem) 50%, 100% 100%, 0 100%, 0.85rem 50%);
}

.ribbon-tag {
  display: inline-block;
  background: linear-gradient(180deg, var(--gold), color-mix(in srgb, var(--gold), var(--paper)));
  color: var(--espresso);
  padding: 0.45rem 1.4rem 0.45rem 1.7rem;
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.8rem;
  clip-path: polygon(0.75rem 0, 100% 0, 100% 100%, 0.75rem 100%, 0 50%);
  filter: drop-shadow(0 2px 5px color-mix(in srgb, var(--espresso) 45%, transparent));
}

.ornament {
  color: var(--gold);
  font-family: var(--font-display);
  letter-spacing: 0.5em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-block: 1.5rem;
  color: var(--espresso);
}
.ornament .rule { height: 1px; width: 4rem; background: currentColor; }
.ornament .rule.dim { opacity: 0.6; }
.ornament .mark { color: var(--gold); font-size: 1rem; letter-spacing: 0.5em; }

/* Pastry / recipe-card (from app.css) */
.pastry-card {
  --frame-inset: 14px;
  position: relative;
  background-color: var(--card);
  border: 1.5px solid var(--espresso);
  border-radius: 18px;
  box-shadow:
    0 1px 0 color-mix(in srgb, var(--paper) 85%, white) inset,
    0 16px 32px -20px color-mix(in srgb, var(--espresso) 55%, transparent);
}
.pastry-card::before {
  content: "";
  position: absolute;
  inset: var(--frame-inset);
  border: 1px dashed color-mix(in srgb, var(--gold) 78%, var(--espresso));
  border-radius: 5px;
  pointer-events: none;
}
.pastry-card.is-popular {
  border-color: color-mix(in srgb, var(--gold) 70%, var(--espresso));
  background-image: linear-gradient(180deg, color-mix(in srgb, var(--gold) 14%, var(--card)), var(--card) 55%);
  box-shadow:
    0 1px 0 color-mix(in srgb, var(--paper) 90%, white) inset,
    0 22px 42px -20px color-mix(in srgb, var(--espresso) 60%, transparent);
}
.pastry-card.is-popular::before { border-color: color-mix(in srgb, var(--gold) 90%, transparent); }

.pastry-corner {
  --corner-size: 9px;
  position: absolute;
  width: var(--corner-size);
  height: var(--corner-size);
  background: var(--gold);
  transform: rotate(45deg);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--espresso) 45%, transparent);
  pointer-events: none;
}
.pastry-corner.tl { top: calc(var(--frame-inset) - var(--corner-size)/2); left: calc(var(--frame-inset) - var(--corner-size)/2); }
.pastry-corner.tr { top: calc(var(--frame-inset) - var(--corner-size)/2); right: calc(var(--frame-inset) - var(--corner-size)/2); }
.pastry-corner.bl { bottom: calc(var(--frame-inset) - var(--corner-size)/2); left: calc(var(--frame-inset) - var(--corner-size)/2); }
.pastry-corner.br { bottom: calc(var(--frame-inset) - var(--corner-size)/2); right: calc(var(--frame-inset) - var(--corner-size)/2); }

/* Mounted-photograph frame */
.photo-frame {
  --frame-inset: 10px;
  position: relative;
  align-self: start; /* frame hugs its image instead of stretching to the row height */
  background-color: var(--card);
  border: 1.5px solid var(--espresso);
  border-radius: 12px;
  padding: 15px;
  box-shadow:
    0 1px 0 color-mix(in srgb, var(--paper) 85%, white) inset,
    0 18px 34px -20px color-mix(in srgb, var(--espresso) 55%, transparent);
}
.photo-frame img { border-radius: 4px; }
/* Academy gallery: uniform landscape cards, cropped to fill each frame */
.frame-img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; }
.frame-img.eq-img { object-position: center 15%; } /* bias up to keep the chef in the landscape crop */
/* Founder: upright portrait box (taller than wide), cropped in on the subject */
.frame-img.founder-img { aspect-ratio: 4 / 5; object-position: 64% center; }
/* Academy gallery: stacked single column on mobile/tablet, 4-up on desktop */
.academy-gallery .grid-4 { gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .academy-gallery .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
/* Enlarge the gallery so the photos read larger on desktop */
@media (min-width: 1000px) {
  .academy-gallery > .container { max-width: 88rem; }
}
.photo-frame::after {
  content: "";
  position: absolute;
  inset: var(--frame-inset);
  border: 1px solid color-mix(in srgb, var(--gold) 70%, transparent);
  border-radius: 4px;
  pointer-events: none;
}

.week-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(180deg, var(--burgundy), oklch(0.36 0.13 28));
  color: var(--paper);
  font-family: var(--font-display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.32rem 1rem;
  border-radius: 9999px;
  box-shadow: 0 3px 8px -3px color-mix(in srgb, var(--espresso) 50%, transparent);
}

.week-item {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  padding: 0.3rem 0;
  color: color-mix(in srgb, var(--espresso) 88%, transparent);
  transition: color 0.2s ease;
}
.week-item .week-bullet { flex: none; color: var(--gold); transition: color 0.2s ease, transform 0.25s ease; }
.week-item:hover { color: var(--burgundy); }
.week-item:hover .week-bullet { color: var(--burgundy); transform: rotate(90deg) scale(1.15); }

/* =====================================================================
   Buttons
   ===================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.15s ease, border-color 0.25s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--gold); color: var(--espresso); }
.btn-primary:hover { background: var(--espresso); color: var(--paper); }
.btn-solid { background: var(--espresso); color: var(--paper); }
.btn-solid:hover { background: var(--burgundy); color: var(--paper); }
.btn-outline-paper { border-color: var(--paper); color: var(--paper); background: transparent; }
.btn-outline-paper:hover { background: var(--paper); color: var(--espresso); }
.btn-outline-espresso { border-color: color-mix(in srgb, var(--espresso) 50%, transparent); color: var(--espresso); background: transparent; }
.btn-outline-espresso:hover { background: var(--espresso); color: var(--paper); }
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.9rem; }
/* Full-width, stacked CTAs on phones for comfortable tap targets */
@media (max-width: 479px) {
  .final-cta .flex .btn,
  .pastry-card .btn { width: 100%; }
  .final-cta .flex { flex-direction: column; }
  .btn { padding-inline: 1.5rem; }
}

/* =====================================================================
   Header
   ===================================================================== */
/* Transparent over the hero by default; fills in once scrolled (.scrolled added by JS) */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  border-bottom: 1px solid transparent;
  background: transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}
.site-header.scrolled {
  border-bottom-color: rgb(71 24 18 / 0.3);
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 28px -20px color-mix(in srgb, var(--espresso) 75%, transparent);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.75rem; }
.brand img { height: 2.75rem; width: 2.75rem; }
/* Light text while transparent over the hero video */
.brand .brand-name { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: 0.02em; line-height: 1.1; color: var(--paper); transition: color 0.3s ease; }
.brand .brand-sub { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.18em; color: color-mix(in srgb, var(--paper) 75%, transparent); transition: color 0.3s ease; }
.header-nav { display: none; align-items: center; gap: 1.6rem; }
.header-nav a { font-size: 0.9rem; font-weight: 500; color: color-mix(in srgb, var(--paper) 90%, transparent); transition: color 0.2s; }
.header-nav a:hover { color: var(--gold); }
/* Dark text once the bar is filled */
.site-header.scrolled .brand .brand-name { color: var(--espresso); }
.site-header.scrolled .brand .brand-sub { color: var(--muted-foreground); }
.site-header.scrolled .header-nav a { color: color-mix(in srgb, var(--espresso) 80%, transparent); }
.site-header.scrolled .header-nav a:hover { color: var(--burgundy); }
/* Legibility for brand + nav over the video before the bar fills */
.site-header:not(.scrolled) .brand-name,
.site-header:not(.scrolled) .brand-sub,
.site-header:not(.scrolled) .header-nav a {
  text-shadow: 0 1px 4px color-mix(in srgb, var(--espresso) 70%, transparent);
}
/* Primary action stays reachable on mobile; full nav appears on larger screens */
.header-cta { display: inline-flex; }
@media (min-width: 900px) {
  .header-nav { display: flex; }
}
/* Keep the header compact on small screens */
@media (max-width: 480px) {
  .brand img { height: 2.25rem; width: 2.25rem; }
  .brand .brand-name { font-size: 0.95rem; }
  .brand .brand-sub { font-size: 0.62rem; letter-spacing: 0.14em; }
  .header-inner { gap: 0.5rem; }
}

/* =====================================================================
   Hero — full-bleed background video with overlaid content
   ===================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding-top: var(--header-h); /* reserve space so content clears the fixed navbar */
  border-bottom: 2px solid rgb(71 24 18 / 0.7);
}

/* Background video + legibility overlay */
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--espresso); }
.hero-bg video { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--espresso) 55%, transparent) 0%,
    color-mix(in srgb, var(--espresso) 46%, transparent) 45%,
    color-mix(in srgb, var(--espresso) 70%, transparent) 100%
  );
}

.hero-inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 3rem 1rem 3.5rem;
  color: var(--paper);
  text-shadow:
    0 1px 3px color-mix(in srgb, var(--espresso) 70%, transparent),
    0 6px 30px color-mix(in srgb, var(--espresso) 60%, transparent);
}
@media (min-width: 640px) { .hero-inner { padding: 4rem 1.5rem; } }
@media (min-width: 960px) { .hero-inner { padding-inline: 2rem; } }

.hero-eyebrow {
  display: inline-block;
  background: color-mix(in srgb, var(--espresso) 45%, transparent);
  border: 1px solid color-mix(in srgb, var(--paper) 55%, transparent);
  color: var(--paper);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-shadow: none;
  backdrop-filter: blur(2px);
}
@media (min-width: 640px) { .hero-eyebrow { font-size: 0.72rem; letter-spacing: 0.18em; margin-bottom: 1.25rem; } }

.hero h1 {
  font-size: clamp(2.6rem, 8vw, 4.5rem);
  line-height: 1.02;
  margin-bottom: 1.1rem;
  color: var(--paper);
  max-width: 16ch;
}
.hero h1 .accent { font-style: italic; color: var(--gold); }

.hero-sub {
  font-size: 1.02rem;
  color: color-mix(in srgb, var(--paper) 92%, transparent);
  max-width: 36rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 640px) { .hero-sub { font-size: 1.12rem; margin-bottom: 1.75rem; } }

/* CTAs — equal width: stacked full-width on phones, side-by-side on wider screens */
.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  max-width: 30rem;
}
.hero-ctas .btn { width: 100%; justify-content: center; text-shadow: none; }
@media (min-width: 520px) {
  .hero-ctas { flex-direction: row; max-width: 34rem; }
  .hero-ctas .btn { flex: 1 1 0; }
}

.hero-stats { display: flex; flex-wrap: wrap; gap: 1rem 1.75rem; }
@media (min-width: 640px) { .hero-stats { gap: 1.5rem 2.75rem; } }
.hero-stat { flex: 0 1 auto; min-width: 6rem; }
.hero-stat .num { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; color: var(--gold); line-height: 1; }
@media (min-width: 640px) { .hero-stat .num { font-size: 2rem; } }
.hero-stat .cap { font-size: 0.78rem; color: color-mix(in srgb, var(--paper) 82%, transparent); margin-top: 0.25rem; }

/* Marquee strip of quick benefits */
.benefit-strip {
  background: var(--espresso);
  color: var(--paper);
  border-block: 1px solid rgb(0 0 0 / 0.25);
}
.benefit-strip .row {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 0.9rem 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 2rem;
  font-size: 0.85rem;
}
.benefit-strip .row span { display: inline-flex; align-items: center; gap: 0.5rem; }
.benefit-strip .row .tick { color: var(--gold); }

/* =====================================================================
   Section heading
   ===================================================================== */
.eyebrow { font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.72rem; font-weight: 600; color: var(--burgundy); }
.section-title { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-top: 0.5rem; }
.section-lead { max-width: 42rem; margin: 0.75rem auto 0; color: color-mix(in srgb, var(--espresso) 80%, transparent); }

/* =====================================================================
   Generic grids
   ===================================================================== */
.grid { display: grid; gap: 0.85rem; }
@media (min-width: 700px) { .grid { gap: 1.5rem; } }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr 1fr; }
@media (min-width: 700px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* Audience cards ("Built for three kinds of baker") */
.audience-card { background: var(--card); border: 1.5px solid rgb(71 24 18 / 0.35); border-radius: 12px; padding: 1.75rem; height: 100%; display: flex; flex-direction: column; }
.audience-card .icon { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border-radius: 10px; background: color-mix(in srgb, var(--burgundy) 12%, var(--card)); color: var(--burgundy); margin-bottom: 1rem; }
.audience-card .icon i { font-size: 1.4rem; line-height: 1; color: currentColor; }
/* Font Awesome icons inherit the theme via currentColor */
.btn i { font-size: 0.9em; transition: transform 0.2s ease; }
.btn:hover i.fa-arrow-right-long { transform: translateX(3px); }
.pill i { color: var(--burgundy); }
/* Reserve two lines for the title so every card's body starts on the same line */
.audience-card h3 { font-size: 1.25rem; line-height: 1.2; min-height: 2.4em; margin-bottom: 0.5rem; }
.audience-card p { color: color-mix(in srgb, var(--espresso) 80%, transparent); font-size: 0.95rem; }
/* Bottom-anchor the quote (and the pill after it) so they line up across all cards */
.audience-card .quote { margin-top: auto; padding-top: 1rem; font-style: italic; font-family: var(--font-display); color: var(--burgundy); }
.audience-card .pill { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.9rem; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--espresso); background: color-mix(in srgb, var(--gold) 30%, var(--card)); padding: 0.3rem 0.75rem; border-radius: 9999px; }

/* Instructor */
.instructor { background: var(--card); }
.instructor-grid { display: grid; gap: 2.5rem; align-items: center; }
/* Mobile: stack and center everything */
.instructor-copy { text-align: center; }
@media (min-width: 800px) {
  .instructor-grid { grid-template-columns: auto 1fr; }
  /* Desktop: photo left, copy left-aligned beside it */
  .instructor-copy { text-align: left; }
  .instructor-copy .ornament { justify-content: flex-start; }
}
.instructor .photo-frame { max-width: 360px; justify-self: center; align-self: center; }

/* Placeholder blocks (mockup uses these; swap for real photos later) */
.ph {
  display: grid;
  place-items: center;
  text-align: center;
  aspect-ratio: 4 / 3;
  background:
    repeating-linear-gradient(45deg, color-mix(in srgb, var(--espresso) 6%, transparent) 0 10px, transparent 10px 20px),
    color-mix(in srgb, var(--paper-dark) 55%, var(--card));
  border: 1px dashed color-mix(in srgb, var(--espresso) 40%, transparent);
  border-radius: 6px;
  color: color-mix(in srgb, var(--espresso) 60%, transparent);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 1rem;
}
.ph.portrait { aspect-ratio: 3 / 4; }

/* Curriculum (dark section) */
.curriculum { position: relative; overflow: hidden; background: var(--espresso); color: var(--paper); }
.curriculum .section-title, .curriculum .eyebrow { color: var(--paper); }
.curriculum .eyebrow { color: var(--gold); }
.leaf-wm {
  pointer-events: none; position: absolute; right: -6rem; top: 50%; transform: translateY(-50%) rotate(12deg);
  height: 22rem; width: 22rem; background: var(--gold); opacity: 0.08;
  -webkit-mask: url("assets/leaf.png") center / contain no-repeat;
  mask: url("assets/leaf.png") center / contain no-repeat;
}
@media (min-width: 700px) { .leaf-wm { right: -8rem; height: 46rem; width: 46rem; opacity: 0.1; } }
.week-card { background: var(--paper); color: var(--espresso); display: flex; flex-direction: column; height: 100%; padding: 1rem; }
.week-card .head { border-bottom: 1px solid rgb(71 24 18 / 0.3); padding-bottom: 0.6rem; text-align: center; }
.week-card .wk { font-size: 0.65rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--burgundy); font-weight: 700; }
.week-card h3 { font-size: 1.05rem; margin-top: 0.25rem; min-height: 2.4rem; display: flex; align-items: center; justify-content: center; }
.week-card ul { list-style: none; margin: 1rem 0 0; padding: 0; text-align: center; font-size: 0.82rem; display: flex; flex-direction: column; gap: 0.35rem; }
.week-card .more { margin-top: auto; padding-top: 0.75rem; }
.week-card .more span { display: inline-block; font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.08em; color: color-mix(in srgb, var(--espresso) 70%, transparent); border: 1px solid rgb(71 24 18 / 0.2); border-radius: 9999px; padding: 0.25rem 0.7rem; }
.curriculum .note { text-align: center; margin-top: 2rem; color: color-mix(in srgb, var(--paper) 85%, transparent); font-style: italic; }

/* Pricing */
.price-head { font-size: 1.5rem; font-family: var(--font-display); color: var(--espresso); }
.price-amount { font-family: var(--font-display); font-size: 3rem; color: var(--burgundy); margin: 0.75rem 0 0.25rem; }
.price-list { list-style: none; margin: 1.25rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; text-align: left; font-size: 0.9rem; }
.price-list li { display: flex; gap: 0.5rem; align-items: flex-start; }
.price-list .tick { color: var(--burgundy); flex: none; margin-top: 0.15rem; }
.price-meta { font-size: 0.78rem; color: var(--muted-foreground); }

/* Steps */
/* 2-up grid on phones for a compact, scannable view; 4-up on desktop */
.steps { display: grid; gap: 1.75rem 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 960px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { text-align: center; }
.step .num { width: 3.25rem; height: 3.25rem; border: 2px solid var(--gold); color: var(--burgundy); border-radius: 9999px; display: grid; place-items: center; font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; margin: 0 auto 1rem; }
.step h3 { font-size: 1.15rem; margin-bottom: 0.35rem; }
.step p { font-size: 0.9rem; color: color-mix(in srgb, var(--espresso) 78%, transparent); }

/* Testimonials (dark, coming soon) */
.testimonials { background: var(--espresso); color: var(--paper); }
.testimonials .eyebrow, .testimonials .section-title { color: var(--paper); }
.testimonials .eyebrow { color: var(--gold); }
.t-card { border: 1px solid rgb(242 191 104 / 0.3); border-radius: 10px; padding: 1.5rem; background: color-mix(in srgb, var(--paper) 5%, transparent); }
.t-card .mark { font-family: var(--font-display); font-size: 2.5rem; color: var(--gold); line-height: 0.5; }
.t-card .body { color: color-mix(in srgb, var(--paper) 80%, transparent); font-style: italic; margin: 1rem 0; }
.t-card .who { font-size: 0.8rem; color: color-mix(in srgb, var(--paper) 65%, transparent); }

/* FAQ (native <details>) */
.faq-list { max-width: 46rem; margin-inline: auto; }
.faq-item { border-bottom: 1px solid rgb(71 24 18 / 0.2); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.15rem 0.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-family: var(--font-display); font-size: 1.1rem; color: var(--espresso);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus { flex: none; font-size: 1.4rem; color: var(--burgundy); transition: transform 0.2s ease; line-height: 1; }
.faq-item[open] summary .plus { transform: rotate(45deg); }
.faq-item .answer { padding: 0 0.25rem 1.25rem; color: color-mix(in srgb, var(--espresso) 80%, transparent); }

/* Final CTA */
.final-cta { background: var(--card); }
.final-cta .box { text-align: center; }
.final-cta h2 { font-size: clamp(2rem, 5vw, 3rem); }

/* Footer */
.site-footer { margin-top: 0; border-top: 1px solid rgb(71 24 18 / 0.3); background: var(--espresso); color: var(--paper); }
.footer-grid { display: grid; gap: 2.5rem; max-width: var(--maxw); margin-inline: auto; padding: 3rem 1rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.site-footer h3 { color: var(--paper); font-size: 1.25rem; margin-bottom: 0.5rem; }
.site-footer .heading { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--gold); font-weight: 600; margin-bottom: 0.75rem; }
.site-footer a:hover { color: var(--gold); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.9rem; }
.site-footer .muted { color: color-mix(in srgb, var(--paper) 75%, transparent); font-size: 0.85rem; }
.footer-bar { border-top: 1px solid rgb(253 211 160 / 0.15); text-align: center; padding: 1rem; font-size: 0.75rem; color: color-mix(in srgb, var(--paper) 70%, transparent); }

/* Utility spacing */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.gap { gap: 0.75rem; }
.justify-center { justify-content: center; }
.items-center { align-items: center; }
