/* =========================================================
   CrossFit Fortius — base, components, sections
   ========================================================= */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text-body);
  background: var(--surface-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
p, li { text-wrap: pretty; } /* avoids one-word last lines without hand-placed breaks */
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--brand-sky-dark); outline-offset: 3px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 12px 20px; border-radius: var(--radius-pill);
  background: var(--brand-cta); color: var(--neutral-black);
  font: 600 var(--fs-button)/var(--lh-button) var(--font-display); text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: calc(var(--content-width) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Text styles (mirror Figma text styles) ---------- */
.t-display { font: italic 800 var(--fs-display)/var(--lh-display) var(--font-display); letter-spacing: -0.02em; color: var(--text-ink); }
.t-h1      { font: italic 800 var(--fs-h1)/var(--lh-h1) var(--font-display); letter-spacing: -0.015em; color: var(--text-ink); }
.t-h2      { font: italic 700 var(--fs-h2)/var(--lh-h2) var(--font-display); letter-spacing: -0.01em; color: var(--text-ink); }
.t-h3      { font: italic 700 var(--fs-h3)/var(--lh-h3) var(--font-display); color: var(--text-ink); }
.t-h4      { font: italic 600 var(--fs-h4)/var(--lh-h4) var(--font-display); color: var(--text-ink); }
.t-body-l  { font: 400 var(--fs-body-l)/var(--lh-body-l) var(--font-body); }
.t-body    { font: 400 var(--fs-body)/var(--lh-body) var(--font-body); }
.t-body-s  { font: 400 var(--fs-body-s)/var(--lh-body-s) var(--font-body); }
.t-label   { font: 600 var(--fs-label)/var(--lh-label) var(--font-display); letter-spacing: 0.08em; text-transform: uppercase; }
.t-numeral { font: italic 800 var(--fs-numeral)/var(--lh-numeral) var(--font-display); letter-spacing: -0.01em; }

/* ---------- Button (Figma component 6:18) ----------
   Orange pill, black label, black arrow in a 1.5px black ring. */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 8px 8px 24px;
  border: 0; border-radius: var(--radius-pill);
  background: var(--brand-cta); color: var(--neutral-black);
  font: 600 var(--fs-button)/var(--lh-button) var(--font-display);
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .15s ease;
}
.btn:hover { background: var(--brand-cta-hover); }
.btn__arrow {
  display: grid; place-items: center; flex: none;
  width: 36px; height: 36px; border-radius: var(--radius-pill);
  border: 1.5px solid var(--neutral-black);
}
.btn__arrow svg { width: 18px; height: 18px; transition: transform .15s ease; }
.btn:hover .btn__arrow svg { transform: translateX(2px); }

/* ---------- Image placeholder (until exports arrive) ---------- */
.img-slot {
  display: grid; place-items: center; text-align: center;
  background: repeating-linear-gradient(135deg, var(--brand-blue-50) 0 12px, #dfe8f3 12px 24px);
  color: var(--brand-blue-700);
  font: 600 12px/16px var(--font-display); letter-spacing: .04em;
}

/* ---------- Black Friday switch ----------
   Everything Black Friday is marked .bf-only. Its post-sale replacement is .bf-after.
   A small script in <head> adds .bf-ended to <html> after Dec 15, 2026 11:59 PM PT,
   so the sale content retires itself even if nobody redeploys. */
.bf-after, .bf-ended .bf-only { display: none !important; }
.bf-ended .bf-after { display: revert !important; }
.bf-ended .final__copy.bf-after { display: flex !important; }

/* =========================================================
   Announcement bar (BLACK FRIDAY — retires after Dec 15)
   ========================================================= */
.announce {
  background: var(--surface-navy);
  color: var(--text-on-dark);
  font: 600 16px/20px var(--font-display);
}
.announce__inner {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; padding-block: 14px; text-align: center;
}
.announce__inner p { text-wrap: balance; }
.announce__link { color: var(--brand-sky); text-underline-offset: 3px; white-space: nowrap; }
.announce__link:hover { color: var(--brand-sky-light); }
.announce__short { display: none; }

@media (max-width: 1024px) {
  .announce__inner { flex-wrap: wrap; gap: 4px 16px; }
}
@media (max-width: 600px) {
  .announce { font-size: 15px; }
  .announce__inner { flex-direction: column; align-items: flex-start; text-align: left; gap: 2px; padding-block: 10px; }
  .announce__long { display: none; }
  .announce__short { display: inline; }
}

/* =========================================================
   Header
   ========================================================= */
.site-header {
  background: var(--surface-white);
  border-bottom: 1px solid var(--neutral-line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 14px;
}
.site-header__logo { display: block; width: 176px; height: 64px; text-decoration: none; }
.site-header__logo .img-slot,
.site-header__logo img { width: 100%; height: 100%; object-fit: contain; }
.site-header__actions { display: flex; align-items: center; gap: 28px; }

.call-link {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 16px/20px var(--font-display); color: var(--text-ink);
  text-decoration: none; white-space: nowrap;
}
.call-link svg { width: 20px; height: 20px; color: var(--brand-blue); flex: none; }
.call-link:hover span { text-decoration: underline; text-underline-offset: 3px; }
.call-link__short { display: none; }

@media (max-width: 600px) {
  .site-header__inner { padding-block: 10px; }
  .site-header__logo { width: 132px; height: 48px; }
  .site-header__actions .btn { display: none; }
  .call-link__long { display: none; }
  .call-link__short { display: inline; }
}

/* ---------- Eyebrow (dot + label) ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.eyebrow--blue { color: var(--brand-blue); }
.eyebrow--sky  { color: var(--brand-sky); }

/* ---------- Check list ---------- */
.checks { display: grid; gap: 12px; }
.checks li {
  display: flex; align-items: center; gap: 10px;
  font: 400 var(--fs-body-s)/var(--lh-body-s) var(--font-body); color: var(--text-ink);
}
.checks svg {
  flex: none; width: 22px; height: 22px; padding: 4px;
  border-radius: 50%; background: var(--brand-blue-50); color: var(--brand-blue);
}

/* =========================================================
   1 · Offer and opening (hero)
   ========================================================= */
.hero { background: var(--surface-navy); color: var(--text-on-dark); }
.hero__inner {
  display: grid; grid-template-columns: minmax(0, 1fr) 600px;
  gap: 64px; align-items: stretch;
  padding-top: 72px; padding-bottom: 96px;
}
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.hero__address { display: inline-flex; align-items: center; gap: 10px; color: var(--text-on-dark); }
.hero__address svg { width: 20px; height: 20px; color: var(--brand-sky); flex: none; }
.hero__title { color: var(--text-on-dark); }
.hero__sub { color: var(--text-on-dark); }
.hero__fine { color: var(--text-on-dark-muted); }

.hero__media { min-height: 100%; }
.hero__img {
  width: 100%; height: 100%; min-height: 560px;
  border-radius: var(--radius-panel); object-fit: cover;
}

/* Free Week Pass ticket */
.pass {
  --notch: 28px;
  position: relative; display: flex; width: 100%;
  background: var(--surface-white); border-radius: 24px;
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, .35);
}
.pass__stub {
  flex: none; width: 168px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  padding: 28px; border-radius: 24px 0 0 24px;
  background: var(--brand-blue); color: var(--text-on-dark);
}
.pass__price { font: italic 800 88px/84px var(--font-display); letter-spacing: -0.01em; }
.pass__stub-label { color: var(--brand-sky); }
.pass__details {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  padding: 24px 12px 24px 28px; border-left: 2px dashed var(--neutral-line);
}
.pass__details .btn { margin-top: 16px; }
/* Ticket notches: navy circles punched out over the perforation */
.pass::before, .pass::after {
  content: ""; position: absolute; left: calc(168px + 1px - var(--notch) / 2);
  width: var(--notch); height: var(--notch); border-radius: 50%;
  background: var(--surface-navy);
}
.pass::before { top: calc(var(--notch) / -2); }
.pass::after  { bottom: calc(var(--notch) / -2); }

@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; padding-top: 56px; padding-bottom: 72px; }
  .hero__img { min-height: 0; aspect-ratio: 688 / 440; }
}

@media (max-width: 600px) {
  .hero__inner { gap: 32px; padding-top: 40px; padding-bottom: 48px; }
  .hero__copy { gap: 20px; }
  .hero__img { aspect-ratio: 350 / 280; }

  .pass { flex-direction: column; overflow: hidden; }
  .pass::before, .pass::after { display: none; }
  .pass__stub {
    width: 100%; flex-direction: row; gap: 12px;
    padding: 20px 24px; border-radius: 0;
  }
  .pass__details { padding: 24px 16px 24px 24px; border-left: 0; }
  .checks li { font-size: var(--fs-body-s); line-height: var(--lh-body-s); }
}

/* ---------- Text link (blue, with arrow) ---------- */
.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 16px/20px var(--font-display); color: var(--brand-blue); text-decoration: none;
}
.text-link svg { width: 18px; height: 18px; transition: transform .15s ease; }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.text-link:hover svg { transform: translateX(2px); }

/* =========================================================
   2 · Value statements (panel overlaps the hero)
   ========================================================= */
.values {
  --split: 172px; /* height of the navy band behind the panel */
  background: linear-gradient(var(--surface-navy) 0 var(--split), var(--surface-white) var(--split));
  padding-bottom: 56px;
}
.values__panel {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-radius: var(--radius-panel); overflow: hidden;
  background: var(--surface-white);
  box-shadow: 0 24px 56px -8px rgba(0, 11, 39, .18);
}
.value {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  padding: 44px;
}
.value + .value { border-left: 1px solid var(--neutral-line); }
.value--blue { background: var(--brand-blue); border-left: 0 !important; }

.value__place { display: inline-flex; align-items: center; gap: 12px; letter-spacing: -0.01em; }
.value__place svg { width: 40px; height: 40px; color: var(--brand-blue); flex: none; }
.value__text { color: var(--text-body); margin-top: 16px; }
.value .text-link { margin-top: 8px; }

.value__big { font: italic 800 80px/80px var(--font-display); letter-spacing: -0.01em; color: var(--brand-blue); }
.value__price { display: flex; align-items: flex-end; gap: 12px; color: var(--text-on-dark); }
.value__price .value__big { color: var(--text-on-dark); }
.value__unit { font: 600 16px/20px var(--font-display); }
.value--blue .value__text { color: var(--text-on-dark-muted); margin-top: 0; }
.value:not(:first-child) .value__text { margin-top: 0; }

@media (max-width: 1024px) {
  .values { --split: 200px; padding-bottom: 48px; }
  .values__panel { grid-template-columns: 1fr; }
  .value { padding: 32px; }
  .value + .value { border-left: 0; }
}
@media (max-width: 600px) {
  .values { --split: 380px; padding-bottom: 32px; }
  .value { padding: 28px 24px; }
}

/* ---------- Generic section + header ---------- */
.section { padding-block: var(--section-pad); }
.section-head { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.section-head .t-body-l { color: var(--text-body); max-width: 720px; }
.accent { color: var(--brand-blue); }

/* =========================================================
   3 · Program choices
   ========================================================= */
.programs { background: var(--surface-white); }
.programs__head {
  display: grid; grid-template-columns: minmax(0, 1fr) 383px;
  gap: 64px; align-items: end; margin-bottom: 56px;
}
.callout {
  display: flex; flex-direction: column; gap: 10px;
  padding: 24px 28px; border-radius: var(--radius-card);
  background: var(--brand-blue-50); color: var(--text-body);
}
.callout__title { display: flex; align-items: center; gap: 12px; }
.callout__icon {
  display: grid; place-items: center; flex: none;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--brand-blue); color: var(--text-on-dark);
}
.callout__icon svg { width: 18px; height: 18px; }
.callout__phone { font: 600 16px/20px var(--font-display); color: var(--text-ink); text-decoration: none; }
.callout__phone:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Level cards: subgrid keeps tops, photos and bodies aligned and heights equal */
.levels {
  display: grid; grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto 1fr; column-gap: 24px;
}
.level {
  display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0;
  border-radius: 24px; overflow: hidden;
}
.level__top { display: flex; flex-direction: column; gap: 14px; padding: 32px 32px 28px; }
.level__meter { display: flex; align-items: center; gap: 10px; }
.meter { display: inline-flex; gap: 4px; }
.meter i { width: 24px; height: 6px; border-radius: 3px; background: currentColor; opacity: .25; }
.meter i.on { opacity: 1; }
.level__name { font: italic 800 var(--fs-h1)/var(--lh-h1) var(--font-display); letter-spacing: -0.015em; }
.level__img { width: 100%; height: 260px; object-fit: cover; }
.level__body { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 28px 32px 32px; }
.level__body .btn { margin-top: auto; }
.level__body .tags { margin-bottom: 14px; }
/* Figma lets the Advanced tag row run into the card's right padding; do the same where it fits */
@media (min-width: 1280px) { .level__body .tags { flex-wrap: nowrap; margin-right: -24px; } }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 6px 12px; border-radius: var(--radius-pill); white-space: nowrap; }

/* Level 1: light blue */
.level--1 { background: var(--brand-blue-50); outline: 1px solid var(--neutral-line); outline-offset: -1px; }
.level--1 .level__meter, .level--1 .level__name { color: var(--brand-blue); }
.level--1 .t-body-l, .level--1 .t-h4 { color: var(--text-ink); }
.level--1 .t-body-s { color: var(--text-body); }
.level--1 .tags li { background: var(--surface-white); color: var(--brand-blue); }
/* Level 2: brand blue */
.level--2 { background: var(--brand-blue); }
.level--2 .tags li { background: var(--brand-blue-700); }
/* Level 3: navy */
.level--3 { background: var(--surface-navy); }
.level--3 .tags li { background: var(--surface-navy-800); }
/* Shared dark-card text */
.level--2 .level__meter, .level--3 .level__meter,
.level--2 .tags li, .level--3 .tags li { color: var(--brand-sky); }
.level--2 .level__name, .level--3 .level__name,
.level--2 .t-body-l, .level--3 .t-body-l,
.level--2 .t-h4, .level--3 .t-h4 { color: var(--text-on-dark); }
.level--2 .t-body-s, .level--3 .t-body-s { color: var(--text-on-dark-muted); }

@media (max-width: 1024px) {
  .programs__head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; align-items: start; }
  .levels { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 24px; }
  .level { display: flex; flex-direction: column; grid-row: auto; }
  .level__img { height: 320px; }
  .level__body .btn { margin-top: 0; }
}
@media (max-width: 600px) {
  .programs__head { margin-bottom: 40px; }
  .callout { padding: 24px 20px; }
  .levels { row-gap: 16px; }
  .level__top { padding: 32px 24px 28px; }
  .level__body { padding: 28px 24px 32px; }
  .level__img { height: 220px; }
}

/* =========================================================
   4 · Location and getting started
   ========================================================= */
.start { background: var(--surface-navy); color: var(--text-on-dark); }
.start__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

.location-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 24px;
  padding: 40px; border-radius: var(--radius-card);
  background: var(--surface-white); border: 1px solid var(--neutral-line);
}
.location-card__map {
  width: 100%; height: 240px; border-radius: var(--radius-image); overflow: hidden;
  background: var(--brand-blue-50);
}
.location-card__map iframe { display: block; width: 100%; height: 100%; border: 0; }
.location-card__addr { color: var(--text-ink); text-decoration: none; }
.location-card__addr:hover { text-decoration: underline; text-underline-offset: 3px; }

.steps-wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 40px; }
.steps-wrap .t-h2 { color: var(--text-on-dark); }
.accent-sky { color: var(--brand-sky); }
.steps { display: grid; gap: 40px; }
.step { display: grid; grid-template-columns: 76px 1fr; gap: 24px; align-items: start; }
.step__num { font: italic 800 var(--fs-numeral)/var(--lh-numeral) var(--font-display); letter-spacing: -0.01em; color: var(--brand-sky); }
.step .t-h4 { color: var(--text-on-dark); margin-bottom: 6px; }
.step .t-body { color: var(--text-on-dark); }

@media (max-width: 1024px) {
  .start__inner { grid-template-columns: 1fr; gap: 56px; }
  .location-card { padding: 32px; }
  .location-card__map { height: 280px; }
}
@media (max-width: 600px) {
  .start__inner { gap: 40px; }
  .location-card { padding: 24px; }
  .location-card__map { height: 200px; }
  .step { grid-template-columns: 60px 1fr; gap: 16px; }
}
/* Desktop-only headline line break (Figma: "Three Steps to / Your First Class.") */
@media (min-width: 1025px) {
  .start__inner { grid-template-columns: 609fr 527fr; }
  .line-d { display: block; }
}

/* =========================================================
   5 · Common questions
   ========================================================= */
.faq { background: var(--surface-white); }
.faq__inner { display: grid; grid-template-columns: 440px minmax(0, 1fr); gap: 80px; align-items: start; }
.faq__left { display: flex; flex-direction: column; gap: 40px; }

.coach-card { border-radius: 24px; overflow: hidden; background: var(--surface-navy); }
.coach-card__img { width: 100%; height: 240px; object-fit: cover; }
.coach-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 28px 32px 32px; }
.coach-card__body .t-h3 { color: var(--text-on-dark); }
.coach-card__body .t-body-s { color: var(--text-on-dark-muted); }
.coach-card__body .btn { margin-top: 8px; }

/* Accordion (native <details>, one open at a time via name="faq") */
.faq__list { display: grid; gap: 12px; }
.faq-item {
  border-radius: var(--radius-card); background: var(--surface-paper);
  border-left: 5px solid transparent; padding: 24px 28px 24px 23px;
  transition: background-color .15s ease;
}
.faq-item[open] { background: var(--brand-blue-50); border-left-color: var(--brand-blue); }
.faq-item summary {
  display: flex; align-items: center; gap: 16px;
  list-style: none; cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .t-h4 { flex: 1; }
.faq-item > p { color: var(--text-body); margin-top: 12px; padding-right: 52px; }
.faq-item__icon {
  position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%;
  background: var(--surface-white); color: var(--brand-blue);
}
.faq-item__icon::before, .faq-item__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 12px; height: 1.6px; border-radius: 1px; background: currentColor;
  transform: translate(-50%, -50%);
}
.faq-item__icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .15s ease; }
.faq-item[open] .faq-item__icon { background: var(--brand-blue); color: var(--text-on-dark); }
.faq-item[open] .faq-item__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-item summary:hover .faq-item__icon { box-shadow: 0 0 0 2px var(--brand-blue-50); }

@media (max-width: 1024px) {
  .faq__inner { grid-template-columns: 1fr; gap: 48px; }
  .coach-card__img { height: 280px; }
}
@media (max-width: 600px) {
  .faq__left { gap: 40px; }
  .coach-card__img { height: 220px; }
  .coach-card__body { padding: 24px; }
  .faq-item { padding: 20px 20px 20px 15px; }
  .faq-item > p { padding-right: 0; }
}

/* ---------- Utilities ---------- */
.show-sm { display: none; }
@media (max-width: 600px) { .show-sm { display: inline; } .hide-sm { display: none; } }
.accent-cta { color: var(--brand-cta); }
.btn--block { width: 100%; justify-content: space-between; }

/* =========================================================
   6 · Final invitation (Black Friday panel + lead form)
   ========================================================= */
.final {
  position: relative; color: var(--text-on-dark);
  /* TODO: add the background photo: url("../img/final-bg.webp") center / cover, under the gradient */
  background:
    linear-gradient(90deg, rgba(0,11,39,.97) 0%, rgba(0,11,39,.9) 50%, rgba(0,11,39,.72) 100%),
    var(--surface-navy-800);
}
.final__inner { display: grid; grid-template-columns: minmax(0, 1fr) 520px; gap: 80px; align-items: center; }
.final__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.final__title { color: var(--text-on-dark); }
.final__sub { color: var(--text-on-dark); }
.final__copy.bf-after { gap: 32px; }

.bf-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px 7px 12px; border-radius: var(--radius-pill);
  background: rgba(229,148,49,.14); border: 1px solid rgba(229,148,49,.5); color: var(--brand-cta);
}
.bf-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }

/* Deal card */
.deals {
  width: 100%; padding: 22px 24px 18px; border-radius: var(--radius-image);
  background: rgba(0,11,39,.55); border: 1px solid rgba(255,255,255,.14);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.deals__head { display: flex; align-items: center; gap: 8px; padding-bottom: 6px; color: rgba(255,255,255,.7); }
.deals__head svg, .deals__note svg { width: 16px; height: 16px; flex: none; color: var(--brand-cta); }
.deal { display: flex; align-items: center; gap: 16px; padding-block: 14px; }
.deal + .deal { border-top: 1px solid rgba(255,255,255,.12); }
.deal__info { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.deal__name { font: italic 600 var(--fs-h4)/var(--lh-h4) var(--font-display); color: var(--text-on-dark); }
.deal__meta { font: 400 var(--fs-body-s)/var(--lh-body-s) var(--font-body); color: rgba(255,255,255,.6); }
.deal__buy {
  display: inline-flex; align-items: center; gap: 6px; padding-top: 2px;
  font: 600 14px/20px var(--font-display); color: var(--brand-sky); text-underline-offset: 3px;
}
.deal__buy svg { width: 14px; height: 14px; }
.deal__buy:hover { color: var(--brand-sky-light); }
.deal__price { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex: none; }
.deal__price p { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.deal__price s { font: 400 var(--fs-body-s)/var(--lh-body-s) var(--font-body); color: rgba(255,255,255,.5); }
.deal__price strong { font: italic 700 28px/36px var(--font-display); color: var(--text-on-dark); }
.save { padding: 3px 9px; border-radius: var(--radius-pill); background: var(--brand-cta); color: var(--surface-navy); white-space: nowrap; }
.new-only {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px 4px 9px;
  border-radius: var(--radius-pill); background: var(--brand-sky); color: var(--surface-navy);
}
.new-only svg { width: 11px; height: 11px; }
.deals__note {
  display: flex; align-items: flex-start; gap: 8px; padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.12);
  font: 400 var(--fs-body-s)/var(--lh-body-s) var(--font-body); color: rgba(255,255,255,.75);
}
.deals__note svg { margin-top: 4px; }
.deals__terms {
  display: inline-block; margin-top: 16px;
  font: 600 14px/20px var(--font-display); color: rgba(255,255,255,.7); text-decoration: none;
}
.deals__terms:hover { color: var(--text-on-dark); text-decoration: underline; text-underline-offset: 3px; }

/* Lead form */
.lead-form {
  display: flex; flex-direction: column; gap: 20px;
  padding: 36px; border-radius: 24px; background: var(--surface-white); color: var(--text-ink);
  box-shadow: 0 24px 56px -12px rgba(0,0,0,.3);
}
.lead-form__title { font: italic 700 38px/52px var(--font-display); letter-spacing: -0.01em; color: var(--text-ink); }
.lead-form__title span { color: var(--brand-blue-700); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field label, .field legend { color: var(--text-ink); padding: 0; }
.field legend { margin-bottom: 8px; }
.field input, .select select {
  width: 100%; height: 52px; padding: 0 16px;
  border: 1.5px solid var(--neutral-line); border-radius: 12px; background: var(--surface-white);
  font: 400 17px/28px var(--font-body); color: var(--text-ink);
  transition: border-color .15s ease;
}
.field input:focus, .select select:focus { outline: none; border-color: var(--brand-blue); box-shadow: 0 0 0 3px var(--brand-blue-50); }
.field input:user-invalid { border-color: #C0392B; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.select select:has(option[value=""]:checked) { color: var(--text-muted); }
.select::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; pointer-events: none;
  border-right: 1.5px solid var(--text-muted); border-bottom: 1.5px solid var(--text-muted);
  transform: translateY(-70%) rotate(45deg);
}

/* Start-time pills (replace Figma's textarea; see handoff open items) */
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { position: relative; cursor: pointer; }
.pills input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pills span {
  display: inline-block; padding: 12px 18px; border-radius: var(--radius-pill);
  border: 1.5px solid var(--neutral-line); background: var(--surface-white);
  font: 600 15px/20px var(--font-display); color: var(--text-body);
  transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.pills label:hover span { border-color: var(--brand-blue); }
.pills input:checked + span { background: var(--brand-blue); border-color: var(--brand-blue); color: var(--text-on-dark); }
.pills input:focus-visible + span { outline: 3px solid var(--brand-sky-dark); outline-offset: 2px; }

.bf-check {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; cursor: pointer;
  border-radius: 10px; background: rgba(229,148,49,.08); border: 1px solid rgba(229,148,49,.45);
  font: 400 15px/24px var(--font-body); color: #111827;
}
.bf-check input { width: 20px; height: 20px; margin: 0; accent-color: var(--brand-cta); flex: none; }
.lead-form__consent { font: 400 12px/18px var(--font-body); color: var(--text-muted); }

@media (max-width: 1024px) {
  .final {
    background:
      linear-gradient(180deg, rgba(0,11,39,.8) 0%, rgba(0,11,39,.93) 45%, rgba(0,11,39,.98) 100%),
      var(--surface-navy-800);
  }
  .final__inner { grid-template-columns: 1fr; gap: 48px; }
  .lead-form { max-width: 600px; }
}
@media (max-width: 600px) {
  .final__inner { gap: 40px; }
  .final__copy { gap: 24px; }
  .deals { padding: 18px 18px 16px; }
  .deal__name { font-size: 18px; line-height: 26px; }
  .deal__meta { font-size: 14px; line-height: 22px; }
  .deal__price s { font-size: 14px; }
  .deal__price strong { font-size: 22px; line-height: 28px; }
  .deals__note { font-size: 14px; line-height: 22px; }
  .lead-form { padding: 24px; }
  .lead-form__title { font-size: 22px; line-height: 28px; }
  .field-row { grid-template-columns: 1fr; gap: 20px; }
  .bf-check { font-size: 14px; line-height: 22px; }
  .pills label { flex: 1 1 auto; }
  .pills span { display: block; text-align: center; padding: 12px 14px; }
}

/* =========================================================
   7 · Footer
   ========================================================= */
.site-footer { background: var(--surface-paper); border-top: 1px solid var(--neutral-line); padding-top: 88px; }
.footer-cols { display: grid; grid-template-columns: 380px repeat(3, minmax(0, 1fr)); gap: 64px; }
.footer-brand { display: flex; flex-direction: column; gap: 20px; }
.footer-brand__logo { width: 198px; height: 72px; }
.footer-brand .t-body { color: var(--text-body); }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.footer-col > .t-label { color: var(--brand-blue); }
.footer-link {
  display: inline-flex; align-items: flex-start; gap: 10px;
  font: 400 var(--fs-body)/var(--lh-body) var(--font-body); color: var(--text-ink); text-decoration: none;
}
.footer-link svg { width: 20px; height: 20px; flex: none; margin-top: 4px; color: var(--brand-blue); }
.footer-link address { font-style: normal; }
.footer-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.socials { display: flex; gap: 12px; }
.socials a {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--surface-white); border: 1px solid var(--neutral-line); color: var(--text-ink);
  transition: border-color .15s ease, color .15s ease;
}
.socials a:hover { border-color: var(--brand-blue); color: var(--brand-blue); }
.socials svg { width: 22px; height: 22px; }
.footer-handle { color: var(--text-body); }

/* Giant cropped wordmark: scales with the container width */
.wordmark { container-type: inline-size; overflow: hidden; }
.wordmark span {
  display: block; height: 15.75cqw; margin-top: 1.4cqw; padding-left: .4cqw;
  font: italic 800 23.9cqw/1 var(--font-display); letter-spacing: -0.02em;
  color: var(--brand-blue-50); white-space: nowrap; user-select: none;
}

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 24px 0 28px; border-top: 1px solid var(--neutral-line);
  font: 400 13px/24px var(--font-body); color: var(--text-muted);
}
.credit { display: inline-flex; align-items: center; gap: 10px; }
.credit a { display: block; text-decoration: none; }

@media (max-width: 1024px) {
  .site-footer { padding-top: 64px; }
  .footer-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
  .footer-brand { grid-column: 1 / -1; max-width: 420px; }
}
@media (max-width: 600px) {
  .site-footer { padding-top: 48px; }
  .footer-cols { grid-template-columns: 1fr; gap: 32px; }
  .footer-link, .footer-brand .t-body, .footer-handle { font-size: 16px; line-height: 26px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* =========================================================
   Mobile sticky CTA
   ========================================================= */
.sticky-cta { display: none; }
@media (max-width: 600px) {
  .sticky-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    display: flex; align-items: center; gap: 12px;
    padding: 12px 20px calc(20px + env(safe-area-inset-bottom));
    background: var(--surface-white); border-top: 1px solid var(--neutral-line);
    box-shadow: 0 -8px 24px rgba(0, 10, 38, .12);
    transition: transform .25s ease;
  }
  .sticky-cta.is-hidden { transform: translateY(110%); }
  .sticky-cta .btn { flex: 1; min-width: 0; }
  .sticky-cta__text {
    display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 50%;
    background: var(--surface-navy); color: var(--text-on-dark);
  }
  .sticky-cta__text svg { width: 22px; height: 22px; }
  body { padding-bottom: calc(85px + env(safe-area-inset-bottom)); } /* keep footer clear of the bar */
}
@media (prefers-reduced-motion: reduce) { .sticky-cta, .btn__arrow svg, .text-link svg { transition: none; } }

/* ---------- Contrast fixes on brand-blue backgrounds (WCAG AA, small text) ----------
   sky #8FDAED on blue = 4.29:1 → sky-light 4.90:1; on-dark-muted 4.45:1 → #E3EEF8 5.70:1 */
.value--blue .eyebrow--sky, .level--2 .level__meter, .level--2 .tags li, .pass__stub-label { color: var(--brand-sky-light); }
.value--blue .value__text, .level--2 .t-body-s { color: #E3EEF8; }

/* ---------- Real images ---------- */
.site-header__logo img { display: block; }
.hero__img { display: block; object-position: 50% 40%; }
.level__img { display: block; }
.level__img--advanced { object-position: 50% 30%; }
.coach-card__img { display: block; object-position: 50% 45%; }
.footer-brand__logo { object-fit: contain; object-position: left center; mix-blend-mode: multiply; } /* JPG logo: white box blends into paper */
.credit .credit__logo { display: block; width: auto; height: 20px; }
.credit a { transition: opacity .15s ease; }
.credit a:hover { opacity: .75; }
.final {
  background:
    linear-gradient(90deg, rgba(0,11,39,.97) 0%, rgba(0,11,39,.9) 50%, rgba(0,11,39,.72) 100%),
    url("../img/final-bg.webp") center / cover no-repeat,
    var(--surface-navy);
}
@media (max-width: 1024px) {
  .final {
    background:
      linear-gradient(180deg, rgba(0,11,39,.8) 0%, rgba(0,11,39,.93) 45%, rgba(0,11,39,.98) 100%),
      url("../img/final-bg.webp") center top / cover no-repeat,
      var(--surface-navy);
  }
}

/* Tablet header: keep logo and actions from touching */
@media (min-width: 601px) and (max-width: 1024px) {
  .site-header__inner { gap: 24px; }
  .site-header__logo { width: 150px; height: 55px; }
  .site-header__actions { gap: 20px; }
}
.footer-legal { color: inherit; text-decoration: none; }
.footer-legal:hover { color: var(--text-ink); text-decoration: underline; text-underline-offset: 3px; }
