/* ==========================================================================
   FONTS
   Note: .woff files (no woff2 yet). Using ./:fonts/ prefix so the colon in
   the folder name isn't misread as a URL scheme by CSS parsers.
   ========================================================================== */

@font-face {
  font-family: 'Basis Grotesque Pro';
  src: url('./:fonts/BasisGrotesquePro-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Basis Grotesque Pro';
  src: url('./:fonts/BasisGrotesquePro-Italic.woff') format('woff');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Basis Grotesque Pro';
  src: url('./:fonts/BasisGrotesquePro-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Basis Grotesque Pro';
  src: url('./:fonts/BasisGrotesquePro-BoldItalic.woff') format('woff');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Cambon';
  src: url('./:fonts/Cambon-LightItalic.woff') format('woff');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}


/* ==========================================================================
   DESIGN TOKENS — pulled from Figma via get_variable_defs
   ========================================================================== */

:root {

  /* --- Color palette --- */

  /* Cream scale */
  --color-cream-100: #f7efe3;
  --color-cream-120: #f4e9d9;
  --color-cream-140: #e1d8c2;

  /* Brown / Neutral */
  --color-brown-100: #261710;
  --color-black:     #000000;
  --color-white:     #ffffff;

  /* Gold scale */
  --color-gold-40:   #e8d4ae;
  --color-gold-80:   #e5c07f;
  --color-gold-100:  #dba74d;
  --color-gold-200:  #86652c;
  --color-gold-text: #a9771f;

  /* Suede scale */
  --color-suede-100:       #67543e;
  --color-suede-80:        #908373;
  --color-suede-40-alpha:  #90837366;  /* 40% opacity */

  /* Green */
  --color-green-light: #eafedc;
  --color-green-med:   #d2f7b6;

  /* Blue */
  --color-blue-light: #e1f3fe;
  --color-blue-med:   #a0d9fb;

  /* Other accents */
  --color-pink-med: #df99f9;
  --color-forest:   #004449;
  --color-burgundy: #581825;
  --color-red-120:  #cb4b39;

  /* --- Semantic aliases --- */
  --color-bg:           #f3f3eb; /* actual page bg from Figma, distinct from cream-100 */
  --color-bg-alt:       var(--color-cream-120);
  --color-bg-green:     var(--color-green-light);
  --color-text:         var(--color-brown-100);
  --color-text-muted:   var(--color-suede-80);
  --color-accent:       var(--color-gold-100);
  --color-accent-dark:  var(--color-gold-200);
  --color-accent-text:  var(--color-gold-text);
  --color-border:       var(--color-cream-140);


  /* --- Typography --- */
  /* TODO: replace with Figma type tokens once available */
  --font-primary:   'Cambon', Georgia, serif;
  --font-secondary: 'Basis Grotesque Pro', system-ui, sans-serif;

  --text-xs:   0.75rem;    /* 12px */
  --text-sm:   0.875rem;   /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-md:   1.125rem;   /* 18px */
  --text-lg:   1.25rem;    /* 20px */
  --text-xl:   1.5rem;     /* 24px */
  --text-2xl:  2rem;       /* 32px */
  --text-3xl:  2.5rem;     /* 40px */
  --text-4xl:  3rem;       /* 48px */
  --text-5xl:  3.75rem;    /* 60px */

  --font-weight-regular: 400;
  --font-weight-medium:  500;
  --font-weight-bold:    700;

  --leading-tight:  1.1;
  --leading-snug:   1.25;
  --leading-normal: 1.5;
  --leading-loose:  1.75;

  --tracking-tight:  -0.02em;
  --tracking-normal:  0em;
  --tracking-wide:    0.05em;
  --tracking-widest:  0.15em;


  /* --- Spacing scale --- */
  --space-2xs: 0.25rem;   /* 4px */
  --space-xs:  0.5rem;    /* 8px */
  --space-sm:  0.75rem;   /* 12px */
  --space-md:  1rem;      /* 16px */
  --space-lg:  1.5rem;    /* 24px */
  --space-xl:  2rem;      /* 32px */
  --space-2xl: 3rem;      /* 48px */
  --space-3xl: 4rem;      /* 64px */
  --space-4xl: 6rem;      /* 96px */
  --space-5xl: 8rem;      /* 128px */


  /* --- Layout --- */
  --max-width:      1280px;
  --content-width:  1100px;
  --gutter:         var(--space-xl);


  /* --- Border radius --- */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-full: 9999px;


  /* --- Transitions --- */
  --transition-fast:   150ms ease;
  --transition-base:   250ms ease;
  --transition-slow:   400ms ease;

}


/* ==========================================================================
   RESET
   ========================================================================== */

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

html,
body {
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

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

ul, ol {
  list-style: none;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
}

/* ==========================================================================
   BASE
   ========================================================================== */

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-secondary);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
}

.container {
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: 6rem; /* 96px — matches Figma left gutter */
}

/* Shared button */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  padding-inline: 3rem;   /* 48px */
  height: 4.5rem;         /* 72px */
  border: 2px solid var(--color-black);
  border-radius: var(--radius-full);
  font-family: var(--font-secondary);
  font-size: 1.25rem;     /* 20px */
  font-weight: var(--font-weight-medium);
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--transition-base);
}

.btn-primary {
  background-color: var(--color-blue-med);
  color: var(--color-black);
}

.btn-primary:hover {
  background-color: var(--color-blue-light);
}

/* Arrow inside button — uses arrow.svg */
.btn-arrow {
  display: block;
  height: 1rem; /* 80% of original 1.25rem */
  width: auto;
  flex-shrink: 0;
}


/* ==========================================================================
   HEADER / NAV
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-bg);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 2rem;     /* 32px top/bottom — keeps nav ~104px tall */
  padding-inline: 6rem;    /* 96px — matches Figma logo left position */
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  color: var(--color-black);
  text-decoration: none;
}

.nav-logo-img {
  height: 2.5rem; /* 40px — keeps logo ~340px wide, fits alongside nav links */
  width: auto;
  display: block;
}

.nav-logo-email,
.nav-logo-ecomm {
  font-family: var(--font-secondary);
  font-weight: var(--font-weight-regular);
}

.nav-logo-for {
  font-family: var(--font-primary);
  font-weight: 300;
  font-style: italic;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.nav-link {
  font-family: var(--font-secondary);
  font-size: 1.375rem;
  font-weight: var(--font-weight-regular);
  color: var(--color-black);
  line-height: 1.2;
}

.nav-link:hover,
.nav-link:active,
.nav-cta:hover,
.nav-cta:active {
  font-family: var(--font-primary);
  font-weight: 300;
  font-style: italic;
  font-size: 1.5rem;
}

.nav-cta {
  font-family: var(--font-secondary);
  font-size: 1.375rem;
  font-weight: var(--font-weight-regular);
  color: var(--color-black);
}


/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  padding-block: 3rem 5rem;
}

.hero-inner {
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: 6rem;
  display: flex;
  align-items: stretch;
  gap: 2rem;
}

/* Left column — email preview card */
.hero-image-col {
  flex: 0 0 52%;
  display: flex;
  flex-direction: column;
}

.hero-email-preview {
  background: white;
  border: 2px solid var(--color-black);
  border-radius: 1.875rem;  /* 30px */
  overflow: hidden;
  flex: 1;                  /* fills height of the content col */
}

.hero-video {
  width: 100%;
  height: 100%;
  min-height: 600px;        /* 840×600 reference height */
  object-fit: cover;
  display: block;
}

/* Right column — three levels of nesting from Figma */
.hero-content-col {
  flex: 1;
  min-width: 0;            /* prevents eyebrow nowrap from forcing overflow */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8.75rem;
}

/* Level 2: eyebrow + (heading+CTA), gap-[90px] */
.hero-content-top {
  display: flex;
  flex-direction: column;
  gap: 5rem;               /* 90px → ~80px scaled */
}

/* Eyebrow pill with thick green underline */
.hero-eyebrow {
  display: inline-block;
}

.eyebrow-label {
  display: inline;
  padding: 0.25rem 0.5rem;
  background: linear-gradient(transparent 45%, var(--color-green-med) 45%);
  font-family: var(--font-secondary);
  font-size: 1.125rem;
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  line-height: 1.2;
  white-space: nowrap;
}

.eyebrow-label--blue {
  background: linear-gradient(transparent 45%, var(--color-blue-med) 45%);
}

/* Level 3: heading + CTA, gap-[36px] */
.hero-content-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2.25rem;            /* 36px */
}

.hero-heading {
  font-family: var(--font-secondary);
  font-size: 2rem;         /* 36px → ~32px scaled */
  font-weight: var(--font-weight-regular);
  line-height: 1.2;
  color: var(--color-black);
}

/* "without" is Cambon Light Italic in Figma */
.hero-heading em {
  font-family: var(--font-primary);
  font-weight: 300;
  font-style: italic;
}

/* Hero badges — border-top, gap-[50px] */
.hero-badges {
  display: flex;
  align-items: center;
  gap: 3.125rem;           /* 50px */
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 1.25rem;            /* 20px */
  padding-top: 1.25rem;    /* 20px */
  padding-inline: 0.5rem;  /* 8px */
  border-top: 2px solid var(--color-black);
}

.hero-badge-icon img {
  display: block;
  flex-shrink: 0;
}

.hero-badge-text {
  font-family: var(--font-secondary);
  font-size: 1rem;         /* 18px → scaled */
  font-weight: var(--font-weight-medium);
  color: var(--color-black);
  line-height: 1.2;
  max-width: 9rem;         /* ~137px */
}


/* ==========================================================================
   HERO ENTRANCE ANIMATION
   Respects prefers-reduced-motion (reset block in the reset section handles
   disabling all animations when the user prefers reduced motion).
   ========================================================================== */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(1.5rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-email-preview {
  animation: fadeUp 0.5s ease both;
  animation-delay: 0.05s;
}

.hero-eyebrow {
  animation: fadeUp 0.5s ease both;
  animation-delay: 0.1s;
}

.hero-heading {
  animation: fadeUp 0.5s ease both;
  animation-delay: 0.2s;
}

.hero .btn-primary {
  animation: fadeUp 0.5s ease both;
  animation-delay: 0.3s;
}

.hero-badges {
  animation: fadeUp 0.5s ease both;
  animation-delay: 0.4s;
}


/* ==========================================================================
   SECTION RHYTHM
   All main sections sit inside a flex-col gap-[120px] container in Figma.
   ========================================================================== */

main > section {
  padding-block: 5rem;  /* fallback breathing room between sections */
}


/* ==========================================================================
   PAIN POINT SECTION
   flex gap-[71px] items-center — text col (637px) + image col (696px)
   ========================================================================== */

.pain-point {
  padding-block: 5rem 7.5rem;
}

.pain-point-inner {
  display: flex;
  align-items: center;
  gap: 4.5rem;          /* 71px */
}

.pain-point-content {
  flex: 0 0 45.5%;      /* ~637/1400 */
  display: flex;
  flex-direction: column;
  gap: 3.125rem;        /* 50px */
}

.pain-point-icon {
  display: block;
}

.pain-point-heading {
  font-family: var(--font-secondary);
  font-size: 2rem;
  font-weight: var(--font-weight-regular);
  line-height: 1.2;
  color: var(--color-black);
}

.pain-point-heading em {
  font-family: var(--font-primary);
  font-weight: 300;
  font-style: italic;
}

.pain-point-body {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  font-size: 1.125rem;  /* 18px */
  line-height: 1.4;
}

.pain-point-body em {
  font-style: italic;
}

.pain-point-body strong em {
  font-style: italic;
  font-weight: var(--font-weight-bold);
}

.pain-point-image-col {
  flex: 1;
}

.pain-point-image-col img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
}


/* ==========================================================================
   COURSE INTRO
   flex gap-[71px] items-center — slides card (725px) + text col
   ========================================================================== */

.course-intro {
  padding-block: 5rem 7.5rem;
}

.course-intro-inner {
  display: flex;
  align-items: center;
  gap: 4.5rem;
}

.course-intro-slides-col {
  flex: 0 0 51.8%;        /* ~725/1400 */
}

.course-intro-slides-card {
  background: var(--color-green-med);
  border: 2px solid var(--color-black);
  border-radius: 2.25rem;
  overflow: hidden;
  aspect-ratio: 725 / 514;
}

.course-intro-slides-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.course-intro-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2.25rem;           /* 36px */
}

.course-intro-icon {
  display: block;
  width: 2.75rem;
  height: auto;
}

.course-intro-heading {
  font-family: var(--font-secondary);
  font-size: 1.875rem;    /* slightly reduced from Figma 36px to prevent overflow */
  font-weight: var(--font-weight-regular);
  line-height: 1.2;
  color: var(--color-black);
}

.course-intro-heading em {
  font-family: var(--font-primary);
  font-weight: 300;
  font-style: italic;
  font-size: 1em; /* match parent Basis Grotesque size */
}

.course-intro-btn {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--color-green-med);
  border: 2px solid var(--color-black);
  border-radius: 2.25rem;
  padding: 1.1875rem 3rem;
  font-family: var(--font-secondary);
  font-size: 1.25rem;     /* 20px */
  font-weight: var(--font-weight-medium);
  color: var(--color-black);
  text-decoration: none;
  white-space: nowrap;
  transition: var(--transition-base);
}

.course-intro-btn:hover {
  background: var(--color-green-light);
}


/* ==========================================================================
   ABOUT / INSTRUCTOR
   flex gap-[120px] items-center — text col + photo col
   Heading has blue-med 12px bottom border (Figma pattern)
   ========================================================================== */

.about {
  padding-block: 5rem;
}

.about-inner {
  display: flex;
  align-items: center;
  gap: 7.5rem;          /* 120px */
}

.about-content {
  flex: 0 0 44%;
  display: flex;
  flex-direction: column;
  gap: 3.125rem;        /* 50px outer gap */
}

.about-heading-group {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;          /* 24px — matches Figma gap-[24px] */
}

.about-eyebrow {
  display: inline-block;
}

.about-heading {
  font-family: var(--font-secondary);
  font-size: 2rem;
  font-weight: var(--font-weight-regular);
  line-height: 1.2;
}

.about-heading em {
  font-family: var(--font-primary);
  font-weight: 300;
  font-style: italic;
  font-size: 2.25rem;   /* 40px — Cambon is larger in Figma */
}

.about-studio-link {
  text-decoration: underline;
  text-decoration-skip-ink: none;
}

.about-studio-link:hover {
  opacity: 0.7;
}

.about-bio {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  font-size: 1.125rem;
  line-height: 1.4;
}

.about-image-col {
  flex: 1;
}

/* Photo/video clipped in a white rounded card */
.about-image-col .about-video {
  width: 100%;
  aspect-ratio: 715 / 494;
  object-fit: cover;
  display: block;
  border-radius: 2.25rem;
  border: 2px solid var(--color-black);
  overflow: hidden;
  background: white;
}


/* ==========================================================================
   WHAT YOU GET / PRICING
   Heading with blue underline. Large deliverables card + narrow pricing col.
   ========================================================================== */

.what-you-get {
  padding-block: 5rem;
}

.wyg-heading {
  display: inline-block;
  font-family: var(--font-secondary);
  font-size: 2rem;
  font-weight: var(--font-weight-regular);
  line-height: 1.2;
  margin-bottom: 3rem;
}

.wyg-heading em {
  font-family: var(--font-primary);
  font-weight: 300;
  font-style: italic;
  font-size: 2.25rem;   /* 40px Cambon */
}

.wyg-inner {
  display: flex;
  align-items: stretch;
  gap: 1.5rem;          /* 24px */
}

/* Deliverables card — white, bordered, rounded */
.wyg-deliverables {
  flex: 1;
  background: white;
  border: 2px solid var(--color-black);
  border-radius: 2.25rem;
  padding: 3.75rem 5.625rem;  /* 60px 90px */
}

.deliverables-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;            /* 48px */
}

/* Two items per row */
.deliverables-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem 2.375rem;   /* 48px 38px */
}

.deliverable-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;          /* ~24px */
}

.deliverable-icon {
  flex-shrink: 0;
  width: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.deliverable-title {
  font-size: 1rem;
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.deliverable-desc {
  font-size: 1.125rem;
  line-height: 1.4;
}

.deliverable-desc em {
  font-style: italic;
}

/* Pricing column — narrow, two stacked cards */
.wyg-pricing-col {
  flex: 0 0 18.4rem;    /* ~295px */
  display: flex;
  flex-direction: column;
  gap: 1.5rem;          /* 24px */
}

.pricing-card {
  border: 2px solid var(--color-black);
  border-radius: 2.25rem;
  padding: 2.25rem 3rem; /* 36px 48px */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pricing-card--early-bird {
  background-color: var(--color-blue-light);
  flex: 0 0 auto;
}

.pricing-card--dates {
  background-color: #ace0ff;  /* Figma exact value */
  flex: 1;
}

.pricing-card-label {
  font-size: 1rem;
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.pricing-amount {
  font-size: 3rem;      /* 48px */
  font-weight: var(--font-weight-regular);
  line-height: 1;
}

.pricing-full-price {
  font-family: var(--font-primary);
  font-weight: 300;
  font-style: italic;
  font-size: 1rem;
  margin-top: 0.25rem;
}

.pricing-season {
  font-family: var(--font-primary);
  font-weight: 300;
  font-style: italic;
  font-size: 1.5rem;    /* 24px */
  line-height: 1;
  margin-bottom: 1rem;
}

.pricing-dates-note {
  font-size: 0.9375rem; /* 15px */
  line-height: 1.4;
}


/* ==========================================================================
   TESTIMONIAL FEATURED (green section)
   Outer: flex justify-between items-center
   Arrow buttons (72px) + large green rounded box
   ========================================================================== */

.testimonial-featured {
  padding-block: 5rem;
}

.testimonial-featured .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
}

.carousel-btn {
  flex-shrink: 0;
  width: 4.5rem;        /* 72px */
  height: 4.5rem;
  border: 2px solid var(--color-black);
  border-radius: var(--radius-full);
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.carousel-btn:hover {
  background-color: var(--color-cream-120);
}

.carousel-arrow {
  height: 1.25rem;
  width: auto;
  display: block;
}

.carousel-arrow--prev {
  transform: rotate(180deg);
}

/* The featured quote box */
.testimonial-featured-inner {
  flex: 1;
  margin-inline: 1.5rem;
  background-color: var(--color-green-light);
  border: 2px solid var(--color-black);
  border-radius: 2.25rem;
  padding: 7.0625rem 10.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.25rem;
  text-align: center;
  transition: opacity 0.2s ease;
}

.testimonial-source-label {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.5rem;
  background: linear-gradient(transparent 45%, var(--color-green-med) 45%);
  font-family: var(--font-secondary);
  font-size: 1rem;
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  line-height: 1.2;
}

.testimonial-featured-quote {
  font-family: var(--font-secondary);
  font-size: 2rem;      /* 24pt = 32px */
  font-weight: var(--font-weight-regular);
  line-height: 1.2;
  color: var(--color-black);
}

.testimonial-featured-attribution {
  font-family: var(--font-secondary);
  font-style: italic;
  font-size: 1.125rem;  /* 20px → scaled */
  line-height: 1.6;
}


/* ==========================================================================
   CURRICULUM / MODULE LIST
   Header (centered, 683px) + modules (flex-col gap-63px)
   Each module: white card 525px tall, content left / image right
   ========================================================================== */

.curriculum {
  padding-block: 5rem;
}

.curriculum-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;         /* 12px */
  text-align: center;
  max-width: 42.6875rem; /* 683px */
  margin-inline: auto;
  margin-bottom: 5.1875rem; /* 83px */
}

.curriculum-heading {
  font-family: var(--font-secondary);
  font-size: 2rem;
  font-weight: var(--font-weight-regular);
  line-height: 1.2;
}

.curriculum-heading em {
  font-family: var(--font-primary);
  font-weight: 300;
  font-style: italic;
  font-size: 2.25rem;
}

.curriculum-subhead {
  font-size: 1.125rem;  /* 20px → scaled */
  line-height: 1.2;
  max-width: 36.125rem; /* 578px */
}

/* Module list */
.modules-list {
  display: flex;
  flex-direction: column;
  gap: 3.9375rem;       /* 63px */
}

/* Individual module card */
.module-card {
  position: sticky;
  top: 6.5rem;          /* clears the sticky nav (~104px) */
  background: white;
  border: 2px solid var(--color-black);
  border-radius: 2.25rem;
  height: 32.8125rem;   /* 525px */
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Stacking z-index: each card sits on top of the one before it */
.module-card:nth-child(1) { z-index: 1; }
.module-card:nth-child(2) { z-index: 2; }
.module-card:nth-child(3) { z-index: 3; }
.module-card:nth-child(4) { z-index: 4; }
.module-card:nth-child(5) { z-index: 5; }
.module-card:nth-child(6) { z-index: 6; }
.module-card:nth-child(7) { z-index: 7; }

.module-card-content {
  position: absolute;
  z-index: 1;
  left: 4.625rem;       /* 74px — matches Figma left-[74px] */
  top: 6rem;            /* 96px — matches Figma top-[96px] */
  width: 32rem;         /* wide enough for longest bullet on one line */
  display: flex;
  flex-direction: column;
  gap: 1.5rem;          /* 24px */
}

.module-label {
  display: inline;
  align-self: flex-start;   /* prevents flex-column stretch so bg clings to text width */
  padding: 0.25rem 0.5rem;
  background: linear-gradient(transparent 45%, var(--color-blue-med) 45%);
  font-family: var(--font-secondary);
  font-size: 1.125rem;
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  line-height: 1.2;
}

.module-title {
  font-size: 1.875rem; /* 6pt smaller than original 2.25rem/36px */
  font-weight: var(--font-weight-regular);
  line-height: 1.2;
}

.module-lessons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--color-text);
}

.module-lessons li::before {
  content: "– ";
  color: var(--color-suede-80);
}

/* Image panel — flush right, matching the text's left inset */
.module-card-image {
  position: absolute;
  right: 4.625rem;      /* 74px — mirrors text left: 4.625rem for equal card padding */
  top: 50%;
  transform: translateY(-50%);
  width: 35%;           /* reduced from 42% to give content column room */
  height: 80%;
  overflow: hidden;
}

.module-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* ==========================================================================
   WAITLIST CTA
   Centered column (515px), heading + form card
   ========================================================================== */

.waitlist-cta {
  padding-block: 5rem;
  text-align: center;
}

.waitlist-cta .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.75rem;         /* 44px */
}

.waitlist-text {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;        /* 2px — Figma gap between heading and sub */
  max-width: 31rem;     /* ~496px */
}

.waitlist-heading {
  font-family: var(--font-secondary);
  font-size: 2rem;
  font-weight: var(--font-weight-regular);
  line-height: 1.2;
}

.waitlist-subtext {
  font-size: 1.125rem;
  line-height: 1.4;
}

/* Form card */
.waitlist-form {
  width: 100%;
  max-width: 32.1875rem; /* 515px */
  background: white;
  border: 2px solid var(--color-black);
  border-radius: 2.25rem;
  padding: 2.25rem 3rem;
  text-align: left;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group:last-of-type {
  margin-bottom: 0;
}

.form-label,
.form-legend {
  display: block;
  font-size: 0.9375rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-black);
  margin-bottom: 0.75rem;
}

.form-fieldset {
  border: none;
  padding: 0;
}

.form-input {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--color-black);
  border-radius: var(--radius-full);
  font-family: var(--font-secondary);
  font-size: 0.9375rem;
  color: var(--color-black);
  background: white;
  outline: none;
  appearance: none;
  transition: border-color var(--transition-fast);
}

.form-input:focus {
  border-color: var(--color-suede-80);
}

.form-radio-list,
.form-checkbox-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-radio-list li,
.form-checkbox-list li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.form-radio-list input,
.form-checkbox-list input {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  accent-color: var(--color-black);
  cursor: pointer;
}

.form-radio-list label,
.form-checkbox-list label {
  font-size: 0.9375rem;
  line-height: 1.4;
  cursor: pointer;
}

.form-response {
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

.form-response--error  { color: var(--color-red-120); }
.form-response--success { color: var(--color-forest); }

.form-submit {
  margin-top: 2rem;
}

/* Override <input type=submit> to look like our .btn */
#mc-embedded-subscribe {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 4.5rem;
  padding-inline: 3rem;
  background-color: var(--color-green-light);
  border: 2px solid var(--color-black);
  border-radius: var(--radius-full);
  font-family: var(--font-secondary);
  font-size: 1.125rem;
  font-weight: var(--font-weight-medium);
  color: var(--color-black);
  cursor: pointer;
  transition: background-color var(--transition-base);
  width: 100%;
}

#mc-embedded-subscribe:hover {
  background-color: var(--color-green-med);
}


/* ==========================================================================
   FAQ
   Light green card (same container width as modules), two-column desktop layout
   ========================================================================== */

.faq {
  padding-block: 5rem;
}

.faq-card {
  background: var(--color-green-light);
  border: 2px solid var(--color-black);
  border-radius: 2.25rem;
  padding: 5rem 6rem;
  display: flex;
  gap: 4.5rem;
  align-items: flex-start;
}

.faq-heading {
  font-family: var(--font-primary);
  font-weight: 300;
  font-style: italic;
  font-size: 5.625rem; /* 90pt = 90px */
  line-height: 1;
  flex: 0 0 auto;
  width: 14rem;
}

.faq-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.faq-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-question {
  font-family: var(--font-secondary);
  font-size: 1.125rem; /* 18pt */
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  line-height: 1.2;
}

.faq-answer {
  font-family: var(--font-secondary);
  font-size: 1.125rem; /* 18pt */
  font-weight: var(--font-weight-regular);
  line-height: 1.5;
}

.faq-answer + .faq-answer {
  margin-top: 0.75rem;
}


/* ==========================================================================
   FOOTER
   Full-width image strip + copyright line
   ========================================================================== */

.site-footer {
  margin-top: 5rem;
}

.footer-images {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.footer-images img {
  width: 100%;
  height: auto;
  display: block;
}

.footer-copyright {
  text-align: center;
  padding-block: 1.5rem;
  font-size: 0.875rem;
  color: var(--color-suede-80);
}

.footer-link {
  color: inherit;
  text-decoration: underline;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-black);
}


/* ==========================================================================
   SCROLL-INTO-VIEW FADE
   Sections below the fold fade up when they enter the viewport.
   JS in script.js adds .is-visible via IntersectionObserver.
   ========================================================================== */

.fade-section {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-section.is-visible {
  opacity: 1;
  transform: none;
}


/* ==========================================================================
   MOBILE — max-width: 768px
   Desktop-first site; this block handles hero layout for small screens.
   ========================================================================== */

@media (max-width: 768px) {

  /* --- NAV --- */
  .nav {
    padding-inline: 1.5rem;
    padding-block: 1.25rem;
    justify-content: space-between; /* logo left, CTA pinned right */
  }

  .nav-inner {
    justify-content: space-between;
  }

  .nav-logo-img {
    height: 1.5rem; /* smaller on mobile */
  }

  .nav-logo-email,
  .nav-logo-ecomm,
  .nav-logo-for {
    font-size: 1rem;
  }

  /* Hide all nav links except the last one (Join Waitlist CTA) */
  .nav-links li:not(:last-child) {
    display: none;
  }

  .nav-cta {
    font-size: 1rem;
    white-space: nowrap;
  }

  /* --- HERO --- */
  .hero {
    padding-block: 0 2rem;
  }

  .hero-inner {
    flex-direction: column;
    padding-inline: 1.5rem;
    gap: 1.5rem; /* 24px: image → content */
  }

  .hero-image-col {
    flex: none;
    width: 100%;
  }

  .hero-email-preview {
    border-radius: 1.5rem; /* 24px */
    flex: none;
    aspect-ratio: 3 / 4;
    min-height: 0;
  }

  .hero-video {
    min-height: 0;
  }

  .hero-content-col {
    flex: none;
    width: 100%;
    min-width: 0;
    gap: 3.375rem; /* 54px: button → badges */
  }

  .hero-content-top {
    gap: 1.5rem;
  }

  .hero-content-main {
    gap: 1.5rem;
    align-items: stretch;
  }

  .eyebrow-label {
    font-size: 0.75rem; /* 12pt */
    letter-spacing: 0.06em;
  }

  /* Eyebrow in about section: 14pt (+2pt from base 12pt) */
  .about-eyebrow .eyebrow-label {
    font-size: 0.875rem;
  }

  /* Hide course-intro hand icon on mobile */
  .course-intro-icon {
    display: none;
  }

  /* Button arrows: 80% of 1.25rem desktop size */
  .btn-arrow {
    height: 1rem;
  }

  .hero-heading {
    font-size: 1.5rem; /* 24pt = 24px */
    white-space: normal;
  }

  /* Full-width hero button — 20pt text, 60px height */
  .hero .btn {
    width: 100%;
    justify-content: center;
    height: 3.75rem; /* 60px */
    font-size: 1.25rem; /* 18pt + 2pt = 20px */
    padding-inline: 1.5rem;
  }

  /* Badges: equal-width, icon + text pinned to top, tighter gap */
  .hero-badges {
    gap: 1rem;
  }

  .hero-badge {
    flex: 1;
    align-items: flex-start;
    padding-inline: 0;
    gap: 0.75rem;
  }

  .hero-badge-text {
    max-width: none;
  }

  /* All imagery: 24px corner radius */
  .hero-email-preview,
  .module-card-image,
  .about-image,
  .wyg-image {
    border-radius: 1.5rem;
  }

  /* --- CONTAINER — 12px gutters on mobile --- */
  .container {
    padding-inline: 0.75rem;
  }

  /* --- PAIN-POINT --- */
  .pain-point {
    padding-block: 2.5rem;
  }

  .pain-point-inner {
    flex-direction: column;
    gap: 2.25rem; /* 36px: image → headline */
  }

  /* Move image above the text */
  .pain-point-image-col {
    order: -1;
    width: calc(100% + 1.5rem);
    margin-inline: -0.75rem;
  }

  .pain-point-image-col img {
    border-radius: 1.5rem;
  }

  .pain-point-content {
    flex: none;
    gap: 1.5rem; /* 24px: headline → body */
  }

  /* Hide money icon on mobile */
  .pain-point-icon {
    display: none;
  }

  .pain-point-heading {
    font-size: 1.5rem;
  }

  .pain-point-body {
    font-size: 1rem; /* 16px */
    line-height: 1.6; /* 160% */
  }

  /* --- COURSE INTRO --- */
  .course-intro {
    padding-block: 2.5rem;
  }

  .course-intro-inner {
    flex-direction: column;
    gap: 2.25rem; /* 36px: image → heading */
  }

  .course-intro-slides-col {
    flex: none;
    width: 100%;
    margin-inline: 0;
  }

  .course-intro-slides-card {
    border-radius: 1.5rem;
    border-width: 1px;
  }

  .course-intro-content {
    flex: none;
    width: 100%;
    gap: 1.5rem; /* 24px: heading → button */
  }

  .course-intro-heading {
    font-size: 1.5rem;
    line-height: 1.3;
  }

  .course-intro-heading em {
    font-size: 1.5rem;
  }

  .course-intro-btn {
    width: 100%;
    justify-content: center;
    height: 3.75rem; /* 60px */
    font-size: 1.25rem; /* 18pt + 2pt = 20px */
    padding-inline: 1.5rem;
  }

  /* --- ABOUT --- */
  .about {
    padding-block: 2.5rem;
  }

  .about-inner {
    flex-direction: column;
    gap: 2.25rem; /* 36px: video → content */
  }

  /* Move video above content — 12px side spacing from container */
  .about-image-col {
    order: -1;
    flex: none;
    width: 100%;
    margin-inline: 0;
  }

  .about-image-col .about-video {
    border-radius: 1.5rem;
    border-width: 1px;
    aspect-ratio: 4 / 3;
  }

  .about-content {
    flex: none;
    width: 100%;
    gap: 1.5rem; /* 24px: heading-group → bio */
  }

  .about-heading {
    font-size: 1.5rem;
  }

  .about-heading em {
    font-size: 1.5rem;
  }

  .about-bio {
    font-size: 1rem; /* 16px */
    line-height: 1.6; /* 160% */
  }

  /* --- WHAT YOU'LL GET --- */
  .wyg-heading {
    font-size: 2rem; /* 32pt */
    margin-bottom: 1.5rem;
  }

  .wyg-heading em {
    font-size: 2rem;
  }

  .wyg-inner {
    flex-direction: column;
    gap: 0.75rem; /* 12px between all 3 cards */
  }

  /* White deliverables card */
  .wyg-deliverables {
    border-radius: 1.5rem; /* 24px */
    padding: 2.25rem 1.5rem; /* 36px top/bottom, 24px left/right */
  }

  /* Stack icons vertically */
  .deliverables-list {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .deliverable-title {
    font-size: 0.875rem; /* 14pt */
  }

  .deliverable-desc {
    font-size: 0.875rem; /* 14px */
    line-height: 1.5;
  }

  /* Pricing column — stack below, full width, 12px gap between cards */
  .wyg-pricing-col {
    flex: none;
    width: 100%;
    gap: 0.75rem; /* 12px between blue cards */
  }

  .pricing-card {
    border-radius: 1.5rem; /* 24px */
    padding: 2.25rem 1.5rem; /* 36px top/bottom, 24px left/right */
  }

  /* Full Price sits to the right of $599 on the same baseline */
  .pricing-amount-group {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
  }

  .pricing-full-price {
    margin-top: 0;
  }

  .pricing-season {
    font-size: 2rem; /* larger italic date on mobile */
  }

  /* --- CURRICULUM --- */
  .curriculum {
    padding-block: 2.5rem;
  }

  /* Centered header above module cards */
  .curriculum-header {
    max-width: none;
    margin-bottom: 2rem;
    align-items: center;
    text-align: center;
  }

  .curriculum-heading {
    font-size: 2rem; /* 32pt */
  }

  .curriculum-heading em {
    font-size: 2rem;
  }

  .curriculum-subhead {
    font-size: 1.125rem; /* 18pt */
    max-width: none;
  }

  .modules-list {
    gap: 1rem;
  }

  /* Vertical card: image padded inside, more bottom breathing room */
  .module-card {
    position: sticky;
    top: 4rem;
    height: auto;
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem 1.5rem 2.5rem; /* extra bottom padding */
    border-radius: 1.5rem;
    gap: 1.25rem; /* space between image and content */
  }

  /* Image stays within card padding, no rounded corners */
  .module-card-image {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: 100%;
    margin-inline: 0;
    margin-top: 0;
    height: auto;
    aspect-ratio: 16 / 9;
    order: -1;
    border-radius: 0;
    overflow: hidden;
  }

  /* Content flows below image */
  .module-card-content {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    margin-top: 0;
  }

  .module-label {
    font-size: 0.875rem; /* 14pt */
  }

  .module-title {
    font-size: 1.875rem; /* 28pt + 2pt = 30px */
  }

  .module-lessons {
    font-size: 1rem; /* 16pt */
    gap: 0.5rem;
    line-height: 1.5;
  }

  /* --- TESTIMONIAL --- */
  .testimonial-featured {
    padding-block: 2.5rem;
  }

  /* Stack: green box full row, then arrows centered below */
  .testimonial-featured .container {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
  }

  /* Green box takes full row, arrows fall to next row */
  .testimonial-featured-inner {
    order: 1;
    flex: 0 0 100%; /* override desktop flex:1 — force own row */
    margin-inline: 0;
    padding: 1rem; /* 16px all around */
    border-radius: 1.5rem; /* 24px */
    border-width: 1px;
  }

  /* Arrows stay in default order (2) so they appear below — 60% size, 1px border */
  .carousel-btn--prev,
  .carousel-btn--next {
    order: 2;
    width: 2.7rem;  /* 60% of 4.5rem */
    height: 2.7rem;
    border-width: 1px;
  }

  .testimonial-featured .carousel-arrow {
    height: 0.75rem; /* 60% of 1.25rem */
  }

  /* Subheader: 12pt */
  .testimonial-source-label {
    font-size: 0.75rem;
    letter-spacing: 0.06em;
  }

  /* Quote: 18pt, 120% line-height */
  .testimonial-featured-quote {
    font-size: 1.125rem;
    line-height: 1.2;
  }

  /* Attribution: 16pt */
  .testimonial-featured-attribution {
    font-size: 1rem;
  }

  /* --- FAQ — no card on mobile, plain on background --- */
  .faq {
    padding-block: 2.5rem;
  }

  .faq-card {
    background: none;
    border: none;
    border-radius: 0;
    padding: 0;
    flex-direction: column;
    gap: 2rem;
  }

  .faq-heading {
    font-size: 3.5rem;
    width: auto;
  }

  .faq-list {
    gap: 2rem;
  }

  .faq-question {
    font-size: 0.875rem; /* 14pt on mobile */
  }

  .faq-answer {
    font-size: 1rem; /* 16pt on mobile */
  }

}
