/* ==========================================================================
   The Ready for School Experience — Manners on Point School of Etiquette
   Palette sampled directly from inspo.jpeg. See README.md.
   ========================================================================== */

:root {
  /* Brand */
  --burgundy:       #6B1029;
  --burgundy-dark:  #55081C;
  --burgundy-light: #8A2338;
  --gold:           #C9A469;   /* crest, rules, borders — decorative only, never text */
  --gold-deep:      #8E6420;   /* gold TEXT. #B4842F matches the mockup more closely but is
                                  only 3.17:1 on cream and fails AA at these sizes; this is 4.7:1 */
  --gold-btn:       #D6A24A;
  --gold-line:      #E6D3B4;
  --gold-pale:      #F6EADA;

  /* Neutrals */
  --white:    #FFFFFF;
  --cream:    #FDF8F3;
  --cream-2:  #F8F2EA;
  --cream-3:  #F6F5F1;
  --ink:      #2E2A2B;
  --ink-soft: #5C5457;
  --hairline: #ECE3DA;

  /* Type */
  --font-display: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Rhythm */
  --shell: 1200px;
  --gutter: clamp(16px, 3vw, 32px);
  --section-y: clamp(20px, 2.2vw, 28px);

  /* Radii */
  --r-card: 14px;
  --r-tile: 10px;
  --r-img: 12px;
  --r-btn: 4px;

  --shadow-card: 0 18px 46px -24px rgba(107, 16, 41, .30), 0 2px 6px rgba(0, 0, 0, .035);
  --shadow-soft: 0 12px 30px -20px rgba(107, 16, 41, .26);
}

/* --------------------------------------------------------------- Reset */

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, ul, ol, blockquote, figure { margin: 0; padding: 0; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* Icons: one stroke system across the whole page. */
svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sprite { display: none; }
.glyph { fill: currentColor; fill-rule: evenodd; stroke: none; }

/* Fallback if an image ever fails to load (see main.js). */
.img-missing {
  background:
    linear-gradient(135deg, rgba(107, 16, 41, .10), rgba(201, 164, 105, .18)),
    var(--cream-2);
  border: 1px solid var(--gold-line);
  min-height: 120px;
}

.sr-only, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.skip-link:focus {
  position: fixed; z-index: 200; inset: 12px auto auto 12px;
  background: var(--burgundy); color: #fff; padding: 10px 16px;
  border-radius: var(--r-btn); font-size: 13px; text-decoration: none;
}

:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
  border-radius: 3px;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* --------------------------------------------------------- Typography */

.heading {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(19px, 2.05vw, 26px);
  line-height: 1.25;
  letter-spacing: -.01em;
  color: var(--burgundy);
}

.heading--flanked {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 26px);
  text-align: center;
  margin-bottom: clamp(12px, 1.4vw, 18px);
}
.heading--flanked::before,
.heading--flanked::after {
  content: "";
  height: 1px;
  flex: 0 1 clamp(40px, 9vw, 118px);
  background: linear-gradient(to right, transparent, var(--gold-line), transparent);
}

.heading--left { text-align: left; }

.rule {
  border: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold) 18%, var(--gold) 82%, transparent);
  margin: 17px auto;
  width: 100%;
  max-width: 268px;
}
.rule--tight { margin: 12px 0 18px; max-width: 74px; background: var(--gold-line); }

/* ------------------------------------------------------------ Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .095em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 28px;
  border-radius: var(--r-btn);
  transition: background-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.btn__arrow { width: 16px; height: 16px; flex: none; }

.btn--primary { background: var(--burgundy); color: #fff; }
.btn--primary:hover { background: var(--burgundy-light); transform: translateY(-1px); box-shadow: var(--shadow-soft); }

/* Dark text on gold: white would be ~2.1:1 and fail AA. See README.md. */
.btn--gold { background: var(--gold-btn); color: var(--burgundy-dark); }
.btn--gold:hover { background: #e0b25f; transform: translateY(-1px); }

/* Secondary action — payment, which follows registration. */
.btn--outline {
  background: transparent;
  color: var(--burgundy);
  box-shadow: inset 0 0 0 1px var(--burgundy);
}
.btn--outline:hover { background: var(--burgundy); color: #fff; }

/* Secondary action on the burgundy band. */
.btn--onDark {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55);
}
.btn--onDark:hover { background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px #fff; }

.btn--sm { padding: 10px 18px; font-size: 10.5px; }
.btn--xs { padding: 9px 14px; font-size: 10px; letter-spacing: .07em; width: 100%; }
.btn--wide { padding-inline: 44px; }

/* ------------------------------------------------------------- Header */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  transition: background-color .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled {
  background: rgba(253, 248, 243, .93);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(107, 16, 41, .07), 0 10px 26px -22px rgba(0, 0, 0, .3);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-block: 13px;
}

.brand { display: flex; align-items: center; text-decoration: none; flex: none; }

/* Official lockup (assets/img/logo-lockup.png) — 1427x431, ratio 3.311:1.
   Height drives the size; width: auto keeps the ratio. */
.brand__logo { height: 48px; width: auto; }
.brand__logo--footer { height: 52px; }

.primary-nav { margin-left: auto; display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.primary-nav__list { display: flex; gap: clamp(13px, 1.9vw, 27px); }
.primary-nav__list a {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--burgundy);
  text-decoration: none;
  transition: color .2s ease;
}
.primary-nav__list a:hover { color: var(--gold-deep); }

.nav-toggle { display: none; width: 42px; height: 38px; margin-left: auto; padding: 8px; }
.nav-toggle__bar {
  display: block; height: 1.8px; background: var(--burgundy);
  border-radius: 2px; transition: transform .3s ease, opacity .2s ease;
}
.nav-toggle__bar + .nav-toggle__bar { margin-top: 5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(6.8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-6.8px) rotate(-45deg); }

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

.hero {
  position: relative;
  background: var(--cream);
  overflow: hidden;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 430px) 1fr;
  align-items: center;
  min-height: 500px;
  /* Bottom padding must clear the snapshot card's negative margin below. */
  padding-block: 90px 62px;
}
.hero__copy { position: relative; z-index: 2; text-align: center; }

.hero__eyebrow {
  font-family: var(--font-display);
  font-size: clamp(13px, 1.25vw, 16px);
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 4px;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 3.15vw, 39px);
  line-height: 1.12;
  letter-spacing: -.015em;
  text-transform: uppercase;
  color: var(--burgundy);
}
.hero__subtitle {
  font-size: clamp(13.5px, 1.2vw, 15px);
  line-height: 1.5;
  color: var(--ink);
  margin-top: 16px;
}
.hero__byline {
  font-size: 13.5px;
  color: var(--burgundy);
  margin-top: 6px;
}
.hero__byline em { font-style: italic; }
.hero__tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(16px, 1.55vw, 20px);
  line-height: 1.4;
  color: var(--burgundy);
}
.hero__lede {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-top: 14px;
  max-width: 34ch;
  margin-inline: auto;
}

/* Top inset keeps the nav sitting on cream, not on the photo — as in the mockup.
   Matches header height: 48px logo + 13px padding top and bottom. */
.hero__media {
  position: absolute;
  inset-block: 74px 0;
  right: 0;
  width: min(62%, 860px);
  z-index: 1;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 20%);
          mask-image: linear-gradient(to right, transparent 0, #000 20%);
}

/* ---------------------------------------------------- Snapshot card */

.snapshot-wrap {
  background: var(--cream);
  padding-bottom: clamp(30px, 3.4vw, 48px);
}
.snapshot {
  position: relative;
  z-index: 3;
  margin-top: -22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 236px;
  background: var(--white);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.snapshot__main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 22px 24px;
}
.facts {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: 100%;
}
.fact {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding-inline: clamp(8px, 1.1vw, 15px);
}
.fact + .fact { border-left: 1px solid var(--hairline); }
.fact__icon { width: 26px; height: 26px; flex: none; color: var(--burgundy); margin-top: 1px; }
.fact__label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 3px;
}
.fact__value { display: block; font-size: 12px; line-height: 1.5; font-weight: 500; color: var(--ink); }

.invest {
  border-left: 1px solid var(--hairline);
  background: linear-gradient(160deg, #fffdfc, var(--cream-2));
  padding: 20px 18px;
  text-align: center;
}
.invest__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--burgundy);
}
.invest__price {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: .01em;
  color: #fff;
  background: var(--burgundy);
  border-radius: var(--r-btn);
  padding: 9px 8px;
  margin: 10px 0 12px;
}
.invest__note { font-size: 11px; line-height: 1.55; color: var(--ink-soft); text-align: left; }
.invest .btn--xs { margin-top: 12px; }

/* Two-step path: register, then pay. */
.steps {
  display: flex;
  gap: clamp(14px, 2vw, 26px);
  flex-wrap: wrap;
  justify-content: center;
}
.steps__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--ink-soft);
}
.steps__n {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex: none;
  border-radius: 50%;
  background: var(--gold-pale);
  color: var(--burgundy); /* gold-deep here is 4.43:1 — just under AA */
  font-size: 10px;
  font-weight: 700;
}

/* ----------------------------------------------------------- Sections */

.section { padding-block: var(--section-y); }
.section--white   { background: var(--white); }
.section--cream   { background: var(--cream); }
.section--cream-2 { background: var(--cream-2); }

/* ---------------------------------------------------------------- Why */

.why {
  display: grid;
  grid-template-columns: 258px minmax(0, 1fr) minmax(0, 330px);
  gap: clamp(24px, 3.2vw, 46px);
  align-items: start;
}
.why__media img { width: 100%; height: auto; border-radius: var(--r-img); box-shadow: var(--shadow-soft); }
.why__copy p { font-size: 13.5px; line-height: 1.72; color: var(--ink-soft); }
.why__copy p + p { margin-top: 13px; }
.why__list-intro {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 14px;
}

.checklist { display: grid; gap: 9px; }
.checklist li {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--ink);
}
.checklist svg { width: 16px; height: 16px; color: var(--gold-deep); margin-top: 1px; }
.checklist--tight { gap: 7px; }

/* -------------------------------------------------------------- Tiles */

.tiles { display: grid; gap: clamp(8px, .95vw, 12px); }
.tiles--8 { grid-template-columns: repeat(8, minmax(0, 1fr)); }
.tiles--7 { grid-template-columns: repeat(7, minmax(0, 1fr)); }

.tile {
  background: var(--white);
  border: 1px solid var(--gold-line);
  border-radius: var(--r-tile);
  padding: 14px 8px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.tile:hover {
  transform: translateY(-3px);
  border-color: var(--burgundy);
  box-shadow: var(--shadow-soft);
}
.tile__icon { width: 26px; height: 26px; color: var(--burgundy); flex: none; }
.tile__label {
  font-size: 9.6px;
  font-weight: 700;
  letter-spacing: .05em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--ink);
}

.pledge {
  text-align: center;
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: clamp(14px, 1.6vw, 19px);
}

/* ------------------------------------------------------------ Journey */

.journey {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(88px, 11vw, 132px) minmax(0, 1fr);
  align-items: stretch;
}
.jcard {
  background: var(--white);
  border: 1px solid var(--gold-line);
  border-radius: var(--r-tile);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.jcard__day {
  background: var(--burgundy);
  color: #fff;
  text-align: center;
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  padding: 10px 8px;
}
.jcard__body { padding: 13px clamp(16px, 2vw, 24px) 24px; }
.jcard__theme {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--gold-deep);
  margin-bottom: 12px;
}

.journey__spine {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 34px;
}
.journey__node {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--burgundy);
  display: grid;
  place-items: center;
  flex: none;
}
.journey__node svg { width: 23px; height: 23px; color: #fff; }
.journey__line { width: 1px; flex: 0 0 44px; background: var(--gold-line); }

.journey__cta {
  display: flex;
  justify-content: center;
  margin-top: -21px;
  position: relative;
  z-index: 4;
}

/* ------------------------------------------------------------ Trainer */

.trainer {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr) minmax(0, 258px);
  gap: clamp(24px, 3vw, 40px);
  align-items: start;
}
.trainer__media img { width: 100%; height: auto; border-radius: var(--r-img); box-shadow: var(--shadow-soft); }

.trainer__kicker {
  font-family: var(--font-display);
  font-size: clamp(14px, 1.35vw, 17px);
  font-weight: 500;
  color: var(--burgundy);
}
.trainer__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(19px, 1.95vw, 25px);
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--burgundy);
  margin-bottom: 8px;
}
.trainer__role {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--gold-deep);
  margin-bottom: 14px;
}
.trainer__copy p:not(.trainer__kicker):not(.trainer__role) {
  font-size: 12.8px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.trainer__copy p + p { margin-top: 9px; }

.stats {
  background: var(--white);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  padding: 6px 22px;
}
.stat { display: flex; align-items: center; gap: 15px; padding: 15px 0; }
.stat + .stat { border-top: 1px solid var(--hairline); }
.stat__icon { width: 34px; height: 34px; flex: none; color: var(--gold-deep); }
.stat__figure {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 25px;
  line-height: 1.05;
  color: var(--burgundy);
}
.stat__label { font-size: 12px; line-height: 1.45; color: var(--ink-soft); margin-top: 2px; }
.stat__figure--split span {
  display: block;
  font-size: 15px;
  letter-spacing: .07em;
  text-transform: uppercase;
}

/* -------------------------------------------------------- Note strip */

.note-strip {
  margin-top: clamp(14px, 1.6vw, 19px);
  background: var(--gold-pale);
  border-radius: var(--r-tile);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 14px clamp(18px, 2.4vw, 30px);
  gap: clamp(18px, 2.6vw, 34px);
}
.note-strip__item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink);
}
.note-strip__icon { width: 30px; height: 30px; flex: none; color: var(--burgundy); }
.note-strip__item--plain { border-left: 1px solid var(--gold-line); padding-left: clamp(18px, 2.6vw, 34px); }

/* --------------------------------------------------------- Quotes */

.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 22px); }
.quote {
  background: var(--cream-2);
  border-radius: var(--r-tile);
  padding: 14px clamp(15px, 1.7vw, 20px) 13px;
}
.quote blockquote p { font-size: 12.8px; line-height: 1.65; color: var(--ink); }
.quote blockquote p::before {
  content: "\201C";
  float: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  line-height: .82;
  margin: 2px 7px 0 0;
  color: var(--burgundy);
}
.quote__by { font-size: 12px; font-weight: 700; color: var(--ink); margin-top: 11px; }

/* -------------------------------------------------------------- Gallery */

.gallery { background: var(--cream); padding-bottom: 0; }
.gallery__strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  padding-inline: 6px;
}
.gallery__strip img {
  width: 100%;
  height: clamp(92px, 9.4vw, 116px);
  object-fit: cover;
  border-radius: 6px;
}

/* ------------------------------------------------------------ CTA band */

.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--burgundy-dark);
  color: #fff;
  padding-block: clamp(22px, 2.5vw, 34px);
}
/* Watermark: the logo's "m" mark, knocked back to a white silhouette so it reads
   as texture on the burgundy rather than as a second logo. */
.cta-band__crest {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  width: clamp(110px, 14vw, 180px);
  aspect-ratio: 647 / 346;
  opacity: .09;
  background: no-repeat center / contain url("../img/logo-mark.png");
  filter: brightness(0) invert(1);
}
.cta-band__crest--l { left: clamp(-34px, -2vw, 8px); }
.cta-band__crest--r { right: clamp(-34px, -2vw, 8px); }

.cta-band__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(22px, 3.4vw, 52px);
  align-items: center;
}
.cta-band__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(20px, 2.3vw, 27px);
  line-height: 1.22;
  letter-spacing: -.015em;
}
.cta-band__copy {
  font-size: 12.5px;
  line-height: 1.62;
  color: rgba(255, 255, 255, .9);
  margin-bottom: 13px;
  max-width: 70ch;
}
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cta-band__note {
  font-size: 11.5px;
  color: rgba(255, 255, 255, .72);
  margin-top: 10px;
}

/* ---------------------------------------------------- Register & pay */

.register__lede {
  text-align: center;
  font-size: 13px;
  color: var(--ink-soft);
  max-width: 62ch;
  margin: -6px auto clamp(18px, 2.2vw, 26px);
}
.register__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
  gap: clamp(18px, 2.4vw, 30px);
  align-items: start;
}

.step-head {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 14px;
}
.step-head__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -.005em;
  color: var(--burgundy);
}
.steps__n--lg { width: 24px; height: 24px; font-size: 12px; }

/* The embedded JotForm. Its own styling lives inside a cross-origin iframe and
   cannot be reached from here — see README.md for the CSS to paste into JotForm. */
.embed {
  background: var(--white);
  border: 1px solid var(--gold-line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.embed__frame {
  display: block;
  width: 100%;
  height: 1180px; /* JS trims this to the form's real height once it reports in */
  border: 0;
}
.embed__fallback {
  margin-top: 10px;
  font-size: 11.5px;
  color: var(--ink-soft);
  text-align: center;
}
.embed__fallback a { color: var(--burgundy); font-weight: 600; }

.pay-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gold-line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  padding: clamp(18px, 2vw, 24px);
}
.pay-card__price {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  color: #fff;
  background: var(--burgundy);
  border-radius: var(--r-btn);
  text-align: center;
  padding: 12px 8px;
  margin-bottom: 16px;
}
.pay-card__list { display: grid; gap: 10px; margin-bottom: 18px; }
.pay-card__list li {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--ink);
}
.pay-card__list svg { width: 16px; height: 16px; color: var(--gold-deep); margin-top: 1px; }
.btn--block { width: 100%; }
.pay-card__secure {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 11px;
  line-height: 1.45;
  color: var(--ink-soft);
}
.pay-card__lock { width: 14px; height: 14px; flex: none; color: var(--gold-deep); }

/* ---- "or send directly" — MTN Mobile Money ---- */

.pay-or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0 14px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.pay-or::before,
.pay-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--gold-line);
}

.momo {
  display: grid;
  gap: 9px;
  background: var(--cream);
  border: 1px solid var(--gold-line);
  border-radius: var(--r-tile);
  padding: 13px 14px;
}
.momo__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 10px;
}
.momo__row + .momo__row { border-top: 1px solid var(--gold-line); padding-top: 9px; }

.momo__label {
  grid-column: 1 / -1;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.momo__value {
  margin: 0;
  display: contents;
}
.momo__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: .04em;
  color: var(--burgundy);
}
.momo__value--name {
  display: block;
  grid-column: 1 / -1;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}

.copy-btn {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  color: var(--burgundy);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--gold-line);
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.copy-btn:hover { background: var(--burgundy); color: #fff; box-shadow: inset 0 0 0 1px var(--burgundy); }
.copy-btn svg { width: 15px; height: 15px; grid-area: 1 / 1; }
.copy-btn__tick { opacity: 0; }
.copy-btn.is-copied { background: var(--burgundy); color: #fff; box-shadow: inset 0 0 0 1px var(--burgundy); }
.copy-btn.is-copied .copy-btn__icon { opacity: 0; }
.copy-btn.is-copied .copy-btn__tick { opacity: 1; }

.momo__note {
  margin-top: 10px;
  font-size: 11px;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* ------------------------------------------------------------- Footer */

.site-footer { background: var(--cream-3); padding-top: clamp(14px, 1.5vw, 18px); }
.site-footer__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(14px, 1.8vw, 26px);
  align-items: center;
}
.site-footer__brand {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 4px 11px;
}
.site-footer__motto {
  grid-column: 1 / -1;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 12px;
  color: var(--burgundy);
}

.contact-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(14px, 2.4vw, 36px);
}
.contact-list li { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--ink); }
.contact-list svg { width: 16px; height: 16px; flex: none; color: var(--burgundy); }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--burgundy); text-decoration: underline; }

.socials { display: flex; gap: 9px; }
.socials a {
  width: 31px; height: 31px;
  border-radius: 50%;
  background: var(--burgundy);
  color: #fff;
  display: grid;
  place-items: center;
  transition: background-color .25s ease, transform .25s ease;
}
.socials a:hover { background: var(--burgundy-light); transform: translateY(-2px); }
.socials svg { width: 17px; height: 17px; }

.site-footer__legal {
  text-align: center;
  font-size: 12px;
  color: var(--ink-soft);
  padding: clamp(10px, 1.2vw, 13px) var(--gutter);
}

/* -------------------------------------------------------- Mobile CTA */

.mobile-cta {
  display: none;
  position: fixed;
  inset: auto 0 0 0;
  z-index: 55;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(253, 248, 243, .96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 -1px 0 var(--hairline);
}
.mobile-cta .btn { width: 100%; }
/* Slides away once the register section is on screen (see main.js). */
.mobile-cta {
  transition: transform .3s ease, opacity .3s ease;
}
.mobile-cta.is-hidden {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}

/* ---------------------------------------------------------- Reveal */

.js-reveal .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1180px) {
  .tiles--8 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tiles--7 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .why { grid-template-columns: 220px minmax(0, 1fr) minmax(0, 290px); }
  .trainer { grid-template-columns: 210px minmax(0, 1fr) minmax(0, 230px); }
}

@media (max-width: 1080px) {
  .snapshot { grid-template-columns: minmax(0, 1fr); }
  .invest { border-left: 0; border-top: 1px solid var(--hairline); }
  .invest__note { text-align: center; max-width: 52ch; margin-inline: auto; }
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 0; }
  .fact:nth-child(4) { border-left: 0; }
}

@media (max-width: 960px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    padding-block: 92px 0;
    gap: 26px;
  }
  .hero__copy { order: 2; padding-bottom: 4px; }
  .hero__media {
    position: relative;
    order: 1;
    width: 100%;
    inset: auto;
    aspect-ratio: 16 / 9;
    border-radius: var(--r-img);
    overflow: hidden;
  }
  .hero__media img {
    -webkit-mask-image: none;
            mask-image: none;
    object-position: 55% 30%;
  }
  .snapshot { margin-top: 28px; }
  .snapshot-wrap { padding-top: 0; }

  .why { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .why__media { max-width: 320px; }
  .why__list { max-width: 560px; }

  .trainer { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .trainer__media { max-width: 300px; }

  .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery__strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  /* Stack in reading order — step 1 must stay above step 2, or the numbered
     instructions contradict themselves. The price is already in the snapshot
     card at the top of the page and in the closing band. */
  .register__grid { grid-template-columns: minmax(0, 1fr); }
  .cta-band__inner { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .cta-band__copy { margin-inline: auto; }
  .cta-band__right { display: flex; flex-direction: column; align-items: center; }
  .cta-band__actions { justify-content: center; }

  .site-footer__inner { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .site-footer__brand { justify-items: center; }
  .site-footer__motto { text-align: center; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .primary-nav {
    position: fixed;
    inset: 0 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 90px 22px 26px;
    background: var(--cream);
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .3);
    transform: translateY(-100%);
    transition: transform .35s cubic-bezier(.4, 0, .2, 1);
    visibility: hidden;
  }
  .primary-nav.is-open { transform: none; visibility: visible; }
  .primary-nav__list { flex-direction: column; gap: 0; }
  .primary-nav__list a {
    display: block;
    padding: 14px 2px;
    font-size: 12.5px;
    border-bottom: 1px solid var(--hairline);
  }
  .nav-cta { margin-top: 18px; width: 100%; }

  .journey { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .journey__spine { flex-direction: row; padding: 18px 0; justify-content: center; }
  .journey__line { width: 44px; height: 1px; flex: 0 0 44px; }
  .journey__cta { margin-top: 22px; }

  .note-strip { grid-template-columns: minmax(0, 1fr); }
  .note-strip__item--plain { border-left: 0; padding-left: 0; border-top: 1px solid var(--gold-line); padding-top: 16px; }

  .mobile-cta { display: block; }
  .site-footer { padding-bottom: 74px; }
}

@media (max-width: 680px) {
  .tiles--8, .tiles--7 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quotes { grid-template-columns: minmax(0, 1fr); }
  .gallery__strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 0; }
  .fact { border-left: 0 !important; }
  .fact:nth-child(odd) { padding-left: 0; }
  .snapshot__main { padding: 22px 20px; }
  .btn--wide { padding-inline: 26px; width: 100%; }
  .hero__lede { max-width: none; }
  .brand__logo { height: 40px; }
}

@media (max-width: 420px) {
  .tiles--8, .tiles--7 { gap: 8px; }
  .tile { padding: 14px 8px 12px; }
  .contact-list { flex-direction: column; align-items: center; gap: 11px; }
}

/* Two fact columns still fit at 414; only go single-column on the narrowest phones. */
@media (max-width: 370px) {
  .facts { grid-template-columns: minmax(0, 1fr); }
  .steps { flex-direction: column; align-items: center; gap: 8px; }
}

/* ------------------------------------------------------- Preferences */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .js-reveal .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .mobile-cta, .nav-toggle { display: none; }
  .hero__media { position: relative; width: 100%; }
  body { background: #fff; }
}
