/* =============================================================================
   Eindhoven Toastmasters Business Club — ETBC2
   TM-palette-strict editorial system
   ————————————————————————————————————————————————————————————
   Palette officielle TM uniquement :
     TM Red        #772432   accent, CTA, signets
     Royal Blue    #004165   sections d'autorité
     Marlin Blue   #A9B2B1   surfaces, dividers
     Cool Grey     #939598   captions discrètes uniquement
     Blanc cassé   #FAF8F3   fond dominant
     TM Black      #1A1A1A   texte principal
   Aucun fond noir profond (#0B0B0B, #0F0F0F) sur section.
   Typo : Source Serif 4 (recommandée TM) + Inter
   ============================================================================= */

:root {
  /* --- Toastmasters official palette --- */
  --tm-red:    #772432;
  --tm-royal:  #004165;
  --tm-marlin: #a9b2b1;
  --tm-grey:   #939598;

  /* --- Working palette derived around brand --- */
  --paper:       #faf8f3;
  --paper-2:     #f0ede6;
  --ink:         #1a1a1a;   /* TM black, texte principal */
  --ink-soft:    #2e2b28;   /* texte secondaire — sombre enough pour WCAG AA */
  --ink-faint:   #6b6560;   /* captions, eyebrows uniquement */
  --hair:        #e0d9ce;
  --hair-royal:  rgba(255,255,255,0.14);
  --cream:       #f4f0e8;
  --cream-soft:  #c0b9ad;
  --accent:      var(--tm-red);
  --accent-on-royal: #d4687a;

  /* --- Type --- */
  --serif: 'Source Serif 4', Spectral, Lora, Georgia, 'Times New Roman', serif;
  --sans:  'Inter', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;

  /* --- Fluid type scale --- */
  --step--1: clamp(0.82rem, 0.78rem + 0.18vw, 0.92rem);
  --step-0:  clamp(1rem, 0.95rem + 0.25vw, 1.15rem);
  --step-1:  clamp(1.25rem, 1.12rem + 0.6vw, 1.6rem);
  --step-2:  clamp(1.6rem, 1.35rem + 1.2vw, 2.4rem);
  --step-3:  clamp(2.1rem, 1.6rem + 2.4vw, 3.6rem);
  --step-4:  clamp(2.6rem, 1.7rem + 4.4vw, 5.4rem);

  /* --- Spacing --- */
  --space-section: clamp(4.5rem, 3rem + 7vw, 9rem);
  --gutter: clamp(1.25rem, 0.8rem + 2.2vw, 3rem);
  --measure: 64ch;

  --radius: 2px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.6;
  font-feature-settings: "kern" 1, "liga" 1;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible {
  outline: 2px solid var(--tm-royal);
  outline-offset: 3px;
}

/* --- Typographic primitives --- */
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-optical-sizing: auto;
  line-height: 1.06;
  letter-spacing: -0.014em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0 0 1.1em; max-width: var(--measure); }
.eyebrow {
  font-family: var(--sans);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 1.4rem;
}
/* Lede text: dark on light, cream-soft on royal */
.lede {
  font-size: var(--step-1);
  line-height: 1.45;
  color: var(--ink);
}

/* --- Layout shell --- */
.wrap { width: min(100% - calc(var(--gutter) * 2), 1240px); margin-inline: auto; }
.section { padding-block: var(--space-section); position: relative; }

/* Royal Blue authority sections */
.section--royal {
  background: var(--tm-royal);
  color: var(--cream);
}
.section--royal h1,
.section--royal h2,
.section--royal h3 { color: #fff; }
.section--royal p { color: var(--cream); }
.section--royal .eyebrow { color: var(--tm-marlin); }
.section--royal .lede { color: var(--cream-soft); }
.section--royal .section__index { color: var(--accent-on-royal); }

/* --- Section marker (no numbering) --- */
.section__index {
  font-family: var(--sans);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-block;
  margin-bottom: 1rem;
}

/* =============================================================================
   Navigation
   ============================================================================= */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem var(--gutter);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--hair); }
.nav__brand {
  display: flex; align-items: center; gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}
.nav__logo { height: 36px; width: auto; flex-shrink: 0; }
.nav__brand-text {
  display: flex; align-items: baseline; gap: 0.55rem;
  font-family: var(--serif);
  font-size: var(--step-1);
  letter-spacing: -0.01em;
}
.nav__brand b { font-weight: 600; }
.nav__brand-text span {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.nav__brand-sub {
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  display: block;
  margin-top: -0.2rem;
}
.nav__brand-wrapper {
  display: flex; flex-direction: column; justify-content: center;
}
.nav__right { display: flex; align-items: center; gap: clamp(0.75rem, 2vw, 1.5rem); }
.nav__cta {
  font-family: var(--sans);
  font-size: var(--step--1);
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  background: var(--accent);
  padding: 0.6rem 1.05rem;
  border-radius: var(--radius);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.nav__cta:hover { background: var(--tm-royal); transform: translateY(-1px); }
@media (max-width: 640px) { .nav__cta { display: none; } }

/* Language toggle */
.lang {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--hair);
  border-radius: 999px;
  padding: 2px;
  background: var(--paper-2);
  position: relative;
  font-family: var(--sans);
}
.lang__thumb {
  position: absolute;
  top: 2px; left: 2px;
  width: calc(50% - 2px);
  height: calc(100% - 4px);
  background: var(--tm-royal);
  border-radius: 999px;
  transition: transform 0.42s var(--ease);
  z-index: 0;
}
.lang[data-lang="nl"] .lang__thumb { transform: translateX(100%); }
.lang__btn {
  position: relative;
  z-index: 1;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.34rem 0.7rem;
  color: var(--ink-soft);
  transition: color 0.3s var(--ease);
}
.lang__btn[aria-pressed="true"] { color: #fff; }

/* =============================================================================
   1 · Hero — autoplay loop, 100svh, NO sticky, NO scrub
   ============================================================================= */
.hero {
  position: relative;
  height: 100svh;
  overflow: hidden;
}
.hero__media {
  position: relative;   /* NOT sticky — content scrolls normally from pixel 1 */
  width: 100%;
  height: 100%;
  background: var(--tm-royal);
  overflow: hidden;
}
.hero__video, .hero__poster {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__poster { z-index: 1; transition: opacity 1s var(--ease); }
.hero__video  { z-index: 2; opacity: 0; transition: opacity 1s var(--ease); }
.hero.is-ready .hero__video  { opacity: 1; }
.hero.is-ready .hero__poster { opacity: 0; }

/* Scrim: stronger gradient — H1 always readable regardless of video frame */
.hero__media::after {
  content: "";
  position: absolute; inset: 0; z-index: 3;
  background:
    linear-gradient(
      180deg,
      rgba(0,20,40,0.55) 0%,
      rgba(0,20,40,0.18) 35%,
      rgba(0,20,40,0.28) 60%,
      rgba(0,20,40,0.82) 100%
    );
}
.hero__content {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 4;
  padding: var(--gutter);
  padding-bottom: clamp(2.5rem, 6vh, 5rem);
}
.hero__eyebrow {
  color: var(--tm-marlin);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
  display: flex; align-items: center; gap: 0.7rem;
}
.hero__eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--tm-red);
}
.hero__title {
  color: #fff;
  font-size: clamp(2rem, 1.4rem + 3vw, 4.8rem);
  max-width: 16ch;
  margin-bottom: 1.1rem;
  text-shadow: 0 2px 40px rgba(0,0,0,0.3);
}
.hero__sub {
  color: var(--cream);
  max-width: 46ch;
  font-size: var(--step-1);
  line-height: 1.42;
  margin-bottom: 1.8rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem 1.4rem; align-items: center; }
.hero__scrollcue {
  position: absolute; left: 50%; bottom: 1.1rem; z-index: 5;
  transform: translateX(-50%);
  color: var(--cream-soft);
  font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
}
.hero__scrollcue::after {
  content: ""; width: 1px; height: 34px;
  background: linear-gradient(var(--cream-soft), transparent);
  animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue {
  0%,100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; }
  50%      { opacity: 1;   transform: scaleY(1); }
}
@media (max-width: 700px) {
  .hero__scrollcue { display: none; }
}

/* =============================================================================
   Buttons
   ============================================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--sans); font-size: var(--step-0); font-weight: 600;
  text-decoration: none; cursor: pointer;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
              color 0.25s var(--ease), border-color 0.25s var(--ease);
  min-height: 44px;
}
.btn--primary { background: var(--tm-red); color: #fff; }
.btn--primary:hover { background: #8f2c3c; transform: translateY(-2px); }
.btn--ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(244,240,232,0.4);
}
.btn--ghost:hover { border-color: var(--cream); transform: translateY(-2px); }
.btn--royal {
  background: var(--tm-royal);
  color: #fff;
  border-color: transparent;
}
.btn--royal:hover { background: #00354f; transform: translateY(-2px); }
.btn--outline {
  background: transparent;
  color: var(--tm-royal);
  border-color: var(--tm-marlin);
}
.btn--outline:hover { border-color: var(--tm-royal); transform: translateY(-2px); }

/* =============================================================================
   Reveal on scroll (IntersectionObserver)
   ============================================================================= */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* =============================================================================
   2 · Problem
   ============================================================================= */
.problem__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  grid-template-columns: 1fr;
}
@media (min-width: 880px) {
  .problem__grid { grid-template-columns: 1.1fr 0.9fr; align-items: start; }
}
.problem__head h2 { font-size: var(--step-3); max-width: 18ch; }
.problem__aside {
  border-left: 2px solid var(--tm-red);
  padding-left: clamp(1.2rem, 3vw, 2rem);
}
.problem__aside p { font-size: var(--step-1); line-height: 1.45; color: var(--ink); }
.problem__pull {
  font-family: var(--serif);
  font-size: var(--step-2);
  line-height: 1.18;
  color: var(--ink);
  margin-top: 2.5rem;
}

/* =============================================================================
   3 · What ETBC changes (section--royal)
   ============================================================================= */
.promise { text-align: left; }
.promise__big {
  font-size: var(--step-3);
  max-width: 20ch;
  margin-bottom: 1.6rem;
}
.promise__big em { font-style: normal; color: var(--accent-on-royal); }
.promise__cols {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: 1fr;
  margin-top: 3.5rem;
}
@media (min-width: 760px) {
  .promise__cols { grid-template-columns: repeat(3, 1fr); }
}
.promise__col {
  padding-top: 1.2rem;
  border-top: 1px solid var(--hair-royal);
}
.promise__col h3 { font-size: var(--step-1); margin-bottom: 0.7rem; color: #fff; }
.promise__col p  { color: var(--cream-soft); margin: 0; }

/* =============================================================================
   4 · Method / Agenda
   ============================================================================= */
.method__head { display: grid; gap: 1.2rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.method__head h2 { font-size: var(--step-3); max-width: 16ch; }
.method__head .lede { color: var(--ink); }
.agenda { display: grid; gap: 0; border-top: 1px solid var(--hair); }
.agenda__row {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: clamp(1.4rem, 3vw, 2.2rem) 0;
  border-bottom: 1px solid var(--hair);
  align-items: start;
}
@media (min-width: 720px) {
  .agenda__row { grid-template-columns: 6rem 14rem 1fr; }
}
.agenda__time {
  font-family: var(--sans); font-weight: 700; font-size: var(--step-0);
  color: var(--tm-red); white-space: nowrap;
}
.agenda__name { font-family: var(--serif); font-size: var(--step-1); color: var(--ink); }
.agenda__desc  { color: var(--ink); margin: 0; }
@media (max-width: 719px) {
  .agenda__name { grid-column: 2; }
  .agenda__desc { grid-column: 2; margin-top: 0.4rem; }
}

/* =============================================================================
   5 · Who runs it — two leaders grid
   ============================================================================= */
#coach { overflow: hidden; }
#coach h2 {
  font-size: var(--step-3);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  max-width: 24ch;
}

.leaders {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  grid-template-columns: 1fr;
}
@media (min-width: 860px) {
  .leaders { grid-template-columns: 1fr 1fr; align-items: start; }
}

.leader {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  background: var(--paper);
}
.leader--primary {
  background: var(--tm-royal);
  border-color: var(--tm-royal);
  color: var(--cream);
}
.leader--primary .leader__bio { color: var(--cream-soft); }
.leader--primary .leader__creds li { color: var(--cream-soft); }
.leader--primary .leader__creds li::before { background: var(--accent-on-royal); }
.leader--primary .leader__name { color: #fff; }
.leader--primary .leader__role { color: var(--tm-marlin); }

/* Leader portrait — both leaders use .leader__photo.
   A generous 4/5 frame lets faces breathe: full face, shoulders, a hint of the
   European Parliament behind. object-position holds the eyes in the upper third
   so no forehead is clipped. */
.leader__photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper-2);
}
.leader__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
}
/* On royal-blue card, photo frame gets a subtle top-light */
.leader--primary .leader__photo {
  background: rgba(255,255,255,0.08);
  box-shadow: 0 1px 0 rgba(255,255,255,0.14) inset;
}
/* Panda's portrait is a near-square environmental shot at the European
   Parliament. A gentle zoom lifts his face to match Amol's headshot
   prominence and trims the empty ceiling, while the europarl.eu backdrop
   stays visible to honour the credential. */
.leader:not(.leader--primary) .leader__photo img {
  transform: scale(1.32) translateY(-4%);
  transform-origin: center center;
}

.leader__id {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.leader__name {
  font-family: var(--serif);
  font-size: var(--step-1);
  font-weight: 500;
  color: var(--ink);
}
.leader__role {
  font-family: var(--sans);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--tm-red);
}
.leader__bio {
  font-size: var(--step-0);
  line-height: 1.55;
  color: var(--ink);
  margin: 0;
  max-width: none;
}
.leader__creds {
  list-style: none; padding: 0;
  margin: 0;
  display: grid; gap: 0.6rem;
  padding-top: 1rem;
  border-top: 1px solid var(--hair);
}
.leader--primary .leader__creds { border-top-color: var(--hair-royal); }
.leader__creds li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: baseline;
  color: var(--ink-soft);
  font-size: var(--step--1);
}
.leader__creds li::before {
  content: "";
  width: 5px; height: 5px;
  margin-top: 0.55em;
  background: var(--tm-red);
  border-radius: 50%;
  flex-shrink: 0;
}

/* =============================================================================
   6 · Founding members gate (section--royal)
   ============================================================================= */
.gate {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1fr;
}
@media (min-width: 820px) {
  .gate { grid-template-columns: 1fr 1fr; }
}
.gate__list {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 1.2rem;
}
.gate__list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 0.9rem;
  align-items: start;
  font-size: var(--step-1);
  line-height: 1.4;
}
/* SVG mark icons */
.gate__list .mark {
  margin-top: 0.2em;
  flex-shrink: 0;
}
.gate__no  .mark { color: rgba(255,255,255,0.5); }
.gate__yes .mark { color: var(--accent-on-royal); }
.gate__col h3 {
  font-size: var(--step-1);
  margin-bottom: 1.4rem;
  color: #fff;
}
.gate__col--no h3 { color: var(--cream-soft); }

/* =============================================================================
   7 · Membership (at cost, no tiers)
   ============================================================================= */
.pricing__head {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.pricing__head h2 { font-size: var(--step-3); margin-bottom: 1rem; }
.pricing__head .lede { margin-inline: auto; color: var(--ink); }
/* Shared "+" list (also used by join__list and powered__difflist) */
.tier__list {
  list-style: none; padding: 0;
  margin: 0 0 1.8rem;
  display: grid; gap: 0.7rem;
}
.tier__list li {
  display: grid;
  grid-template-columns: 1.1rem 1fr;
  gap: 0.6rem;
  font-size: var(--step--1);
  color: var(--ink-soft);
  line-height: 1.45;
}
.tier__list li::before { content: "+"; color: var(--tm-red); font-weight: 700; }
.membership__list {
  margin: 0 auto 2.4rem;
  max-width: 56ch;
}
.membership__list li { font-size: var(--step-0); }
.membership__cta { text-align: center; }

/* Adjacent light sections share one rhythm unit instead of stacking two
   full paddings (gap fix between Who should join and Membership, and
   between The problem and Powered by Toastmasters). */
#problem, #who { padding-bottom: calc(var(--space-section) / 2); }
#powered, #pricing { padding-top: calc(var(--space-section) / 2); }

/* =============================================================================
   8 · FAQ (section--royal)
   ============================================================================= */
.faq__head h2 {
  font-size: var(--step-3);
  margin-bottom: clamp(2rem, 4vw, 3rem);
  max-width: 16ch;
}
.faq__item { border-bottom: 1px solid var(--hair-royal); }
.faq__q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  background: transparent; border: 0; cursor: pointer;
  text-align: left;
  padding: clamp(1.2rem, 3vw, 1.7rem) 0;
  font-family: var(--serif); font-size: var(--step-1);
  color: #fff;
  min-height: 44px;
}
.faq__icon { flex: none; width: 22px; height: 22px; position: relative; }
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  background: var(--accent-on-royal);
  transition: transform 0.35s var(--ease);
}
.faq__icon::before { top: 50%; left: 0; width: 100%; height: 2px; transform: translateY(-50%); }
.faq__icon::after  { left: 50%; top: 0; width: 2px; height: 100%; transform: translateX(-50%); }
.faq__q[aria-expanded="true"] .faq__icon::after { transform: translateX(-50%) scaleY(0); }
.faq__a { overflow: hidden; height: 0; transition: height 0.4s var(--ease); }
.faq__a-inner {
  padding: 0 0 1.6rem;
  color: var(--cream-soft);
  max-width: var(--measure);
}

/* =============================================================================
   9 · Apply
   ============================================================================= */
.apply {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .apply { grid-template-columns: 0.9fr 1.1fr; align-items: start; }
}
.apply h2 { font-size: var(--step-3); max-width: 14ch; margin-bottom: 1.2rem; }
.apply .lede { color: var(--ink); }
.apply__form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.4rem; }
.field label {
  font-family: var(--sans);
  font-size: var(--step--1); font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.field input,
.field select,
.field textarea {
  font-family: var(--sans); font-size: var(--step-0);
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  background: #fff; color: var(--ink);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  min-height: 44px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--tm-royal);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--tm-royal) 18%, transparent);
}
.field textarea { resize: vertical; min-height: 96px; }
.apply__row { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 520px) {
  .apply__row { grid-template-columns: 1fr 1fr; }
}
.apply__note {
  font-size: var(--step--1);
  color: var(--ink-faint);
  margin: 0;
}
.apply__success {
  display: none;
  padding: 1.2rem 1.4rem;
  border: 1px solid var(--tm-royal);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--tm-royal) 8%, var(--paper));
  color: var(--tm-royal);
}
.is-sent .apply__success { display: block; }
.is-sent .apply__form { display: none; }

/* =============================================================================
   10 · Where & when (section--royal)
   ============================================================================= */
.where {
  display: grid; gap: clamp(2rem, 5vw, 3.5rem);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .where { grid-template-columns: 1fr 1.2fr; align-items: stretch; }
}
.where h2 { font-size: var(--step-3); margin-bottom: 1.4rem; max-width: 12ch; }
.where__facts {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 1.4rem;
}
.where__facts li { display: grid; gap: 0.2rem; }
.where__facts .k {
  font-family: var(--sans);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--tm-marlin);
}
.where__facts .v {
  font-family: var(--serif);
  font-size: var(--step-1);
  color: #fff;
}
.where__facts .v small {
  font-family: var(--sans);
  font-size: var(--step--1);
  color: var(--cream-soft);
  display: block;
  letter-spacing: 0;
}
.where__map {
  min-height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--hair-royal);
  background: rgba(255,255,255,0.06);
}
.where__map iframe {
  width: 100%; height: 100%; min-height: 320px;
  border: 0;
  filter: grayscale(0.3) contrast(1.02) brightness(0.92);
}

/* =============================================================================
   Footer (TM Royal Blue)
   ============================================================================= */
.foot {
  background: var(--tm-royal);
  color: var(--cream-soft);
  padding-block: clamp(3rem, 5vw, 4.5rem);
}
.foot__top {
  display: grid; gap: 2rem;
  grid-template-columns: 1fr;
  align-items: start;
  margin-bottom: 2.5rem;
}
@media (min-width: 720px) {
  .foot__top { grid-template-columns: 1.4fr 1fr 1fr; }
}
.foot__brand {
  font-family: var(--serif);
  font-size: var(--step-2);
  color: #fff;
  margin-bottom: 0.8rem;
}
.foot__brand span {
  display: block;
  font-family: var(--sans);
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--tm-marlin);
  margin-top: 0.4rem;
}
.foot__col h4 {
  font-family: var(--sans);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: #fff;
  margin: 0 0 1rem;
}
.foot__col a {
  display: block;
  color: var(--cream-soft);
  text-decoration: none;
  padding: 0.25rem 0;
  transition: color 0.2s var(--ease);
  min-height: 44px; line-height: 44px;
}
.foot__col a:hover { color: #fff; }
.foot__disclaimer {
  border-top: 1px solid var(--hair-royal);
  padding-top: 1.8rem;
  display: grid; gap: 1.2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .foot__disclaimer { grid-template-columns: auto 1fr; align-items: center; gap: 2.8rem; }
}
.foot__tm { display: flex; align-items: center; gap: 0.8rem; }
.foot__legal {
  font-size: var(--step--1);
  line-height: 1.55;
  color: var(--cream-soft);
  margin: 0;
  max-width: 56ch;
}
.foot__copy {
  font-size: var(--step--1);
  color: rgba(255,255,255,0.35);
  margin-top: 1.5rem;
}
.foot__made {
  margin-top: 0.5rem;
  font-size: 11px;
  letter-spacing: 0.04em;
  opacity: 0.18;
  color: var(--cream-soft);
}

/* =============================================================================
   Who should join
   ============================================================================= */
.join__head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.join__head h2 { font-size: var(--step-3); max-width: 16ch; margin-bottom: 1rem; }
.join__head .lede { color: var(--ink); }
.join__list {
  margin: 0;
  max-width: 60ch;
}
@media (min-width: 720px) {
  .join__list {
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem clamp(1.5rem, 4vw, 3rem);
    max-width: none;
  }
}
.join__list li { font-size: var(--step-0); }

/* =============================================================================
   Powered by Toastmasters
   ============================================================================= */
.powered__head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.powered__head h2 { font-size: var(--step-3); max-width: 18ch; margin-bottom: 1rem; }
.powered__head .lede { color: var(--ink); margin-bottom: 1.2rem; }
.powered__head p { color: var(--ink); max-width: var(--measure); }

/* Community size — three big official figures */
.powered__stats {
  display: grid;
  gap: clamp(1.4rem, 4vw, 3rem);
  grid-template-columns: 1fr;
  padding-block: clamp(1.6rem, 4vw, 2.4rem);
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  margin-bottom: clamp(1.6rem, 4vw, 2.4rem);
}
@media (min-width: 640px) {
  .powered__stats { grid-template-columns: repeat(3, 1fr); }
}
.powered__stat { display: grid; gap: 0.35rem; }
.powered__stat-num {
  font-family: var(--serif);
  font-size: var(--step-3);
  line-height: 1;
  color: var(--tm-royal);
}
.powered__stat-label {
  font-family: var(--sans);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.powered__belong {
  font-family: var(--serif);
  font-size: var(--step-1);
  line-height: 1.4;
  color: var(--ink);
  max-width: 52ch;
  margin: 0 0 clamp(2.5rem, 5vw, 3.5rem);
}

.powered__links {
  display: grid;
  gap: 1px;
  grid-template-columns: 1fr;
  background: var(--hair);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
@media (min-width: 640px) {
  .powered__links { grid-template-columns: 1fr 1fr; }
}
.powered__link {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: clamp(1.1rem, 3vw, 1.6rem);
  background: var(--paper);
  text-decoration: none;
  color: var(--ink);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.powered__link:hover { background: var(--tm-royal); color: #fff; }
.powered__link-name {
  font-family: var(--serif);
  font-size: var(--step-1);
  line-height: 1.15;
}
.powered__link-url {
  font-family: var(--sans);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--tm-red);
  transition: color 0.25s var(--ease);
}
.powered__link:hover .powered__link-url { color: var(--accent-on-royal); }

.powered__diff { margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.powered__diff h3 {
  font-family: var(--serif);
  font-size: var(--step-2);
  margin-bottom: 1.4rem;
  max-width: 22ch;
}
.powered__difflist {
  margin: 0;
  max-width: 60ch;
}
@media (min-width: 720px) {
  .powered__difflist {
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem clamp(1.5rem, 4vw, 3rem);
    max-width: none;
  }
}
.powered__difflist li { font-size: var(--step-0); }

.powered__values {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 1rem;
  padding: clamp(1.2rem, 3vw, 1.8rem) clamp(1.4rem, 3vw, 2rem);
  background: var(--paper-2);
  border-left: 3px solid var(--tm-red);
  border-radius: var(--radius);
}
.powered__values-label {
  font-family: var(--sans);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--tm-red);
}
.powered__values-list {
  font-family: var(--serif);
  font-size: var(--step-1);
  color: var(--ink);
  margin: 0;
}

/* =============================================================================
   Placeholder plates
   ============================================================================= */
.is-placeholder {
  background:
    repeating-linear-gradient(135deg, var(--paper-2) 0 14px, var(--paper) 14px 28px) !important;
  object-fit: contain !important;
}
.ph-tag {
  font-family: var(--sans);
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
}

/* =============================================================================
   Mobile — exhaustive 375/390 audit
   ============================================================================= */
@media (max-width: 480px) {
  /* Hero: title scales down on small screens */
  .hero__title { font-size: clamp(1.7rem, 7vw, 2.8rem); }
  .hero__sub { font-size: var(--step-0); }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .hero__actions .btn { width: 100%; justify-content: center; }

  /* Nav: tighten, keep TM logo visible */
  .nav { padding-inline: 1rem; }
  .nav__logo { height: 30px; }
  .nav__brand { gap: 0.55rem; }

  /* Problem: single column, border-left still works */
  .problem__head h2 { font-size: var(--step-2); }
  .problem__pull { font-size: var(--step-1); }

  /* Promise cols: stack cleanly */
  .promise__big { font-size: var(--step-2); }

  /* Method: time column tighter */
  .agenda__row { grid-template-columns: 3.5rem 1fr; }
  .agenda__time { font-size: 0.85rem; }

  /* Leaders: full width, spacing. Photo keeps the 4/5 frame (height:100%);
     no fixed height override, or the aspect-ratio frame breaks. */
  .leader { padding: 1.4rem; }

  /* Gate: stack cleanly */
  .gate__list li { font-size: var(--step-0); }

  /* FAQ */
  .faq__q { font-size: var(--step-0); }

  /* Apply form: single column always */
  .apply__row { grid-template-columns: 1fr; }

  /* Where: iframe min-height */
  .where__map { min-height: 240px; }
  .where__map iframe { min-height: 240px; }

  /* Footer columns: stack */
  .foot__top { gap: 1.5rem; }
  .foot__brand { font-size: var(--step-1); }
}

@media (max-width: 375px) {
  :root { --gutter: 1rem; }
  .hero__title { font-size: clamp(1.55rem, 8vw, 2rem); }
  .section { padding-block: clamp(3rem, 10vw, 5rem); }
  .promise__cols { gap: 1.2rem; }
  .pricing__head h2 { font-size: var(--step-2); }
}
