/* ==========================================================================
   Animus Coaching — Landing Page Styles
   Palette:
     --navy    #171c26  (primary dark / header / footer)
     --mauve   #593f3b  (secondary dark / cards / text accents)
     --cream   #ecdcc8  (light neutral / section backgrounds)
     --clay    #b5693e  (accent / buttons / highlights)
   Font: Montserrat
   ========================================================================== */

:root {
  --navy: #171c26;
  --navy-soft: #212736;
  --mauve: #593f3b;
  --cream: #ecdcc8;
  --cream-soft: #f5ede0;
  --clay: #b5693e;
  --clay-dark: #9c5633;
  --white: #ffffff;

  --font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-width: 1180px;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(23, 28, 38, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

html, body {
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font);
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 14px;
}

.section-heading {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: #55596a;
  max-width: 620px;
}

.section-intro {
  margin-bottom: 48px;
}

.section-intro.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.section-intro.center .section-sub {
  margin-left: auto;
  margin-right: auto;
}

/* Results, About and Offer intros are just the label now — need far less space below them. */
#results .section-intro,
#about .section-intro,
#offer .section-intro {
  margin-bottom: 24px;
}

@media (max-width: 700px) {
  #results .section-intro,
  #about .section-intro,
  #offer .section-intro {
    margin-bottom: 16px;
  }
}

/* "Client Results" sits right on top of the transformation cards. */
#results .section-intro {
  margin-bottom: 0;
}

#results .section-intro .section-label {
  margin-bottom: 2px;
}

/* "Client Results", "About Coach Rob" and "What We Offer" are the only heading
   text in their sections, so they read like headings, not small eyebrow labels. */
#results .section-label,
#about .section-label,
#offer .section-label {
  font-size: clamp(22px, 3.5vw, 30px);
  letter-spacing: 0.5px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.3px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-clay {
  background: var(--clay);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(181, 105, 62, 0.35);
}
.btn-clay:hover {
  background: var(--clay-dark);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn-outline-dark {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline-dark:hover {
  background: var(--navy);
  color: var(--white);
}

.coach-select {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
}

.coach-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 28px 14px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(236, 220, 200, 0.35);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--white);
  font-family: var(--font);
}

.coach-btn:hover {
  background: var(--clay);
  border-color: var(--clay);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(181, 105, 62, 0.35);
}

.coach-btn .coach-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
  overflow: hidden;
}
.coach-btn .coach-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.coach-btn-text {
  text-align: left;
}

@media (max-width: 560px) {
  .coach-select {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .coach-btn {
    width: 100%;
    padding: 14px 20px;
  }
}

.coach-btn-text .label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: 0.75;
  display: block;
}

.coach-btn-text .name {
  font-size: 16px;
  font-weight: 700;
}

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

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

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
}

.nav-logo img {
  height: 56px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--cream);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--clay);
}

.nav-cta {
  display: none;
}

@media (min-width: 860px) {
  .nav-cta {
    display: inline-flex;
  }
}

/* ---- Mobile nav toggle (hamburger) ---- */

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 210;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  margin: 0 auto;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 859px) {
  .nav-toggle {
    display: flex;
  }
}

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

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  min-height: 760px;
  display: flex;
  align-items: center;
  padding: 48px 0 90px;
  background: var(--navy); /* fallback while the photo loads */
}

/* Banner photo — swap the URL in index.html to change the image;
   adjust background-position here if a new photo needs re-framing. */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center 27%;
  background-repeat: no-repeat;
}

/* Navy tint over the photo so the headline stays readable.
   Darkest on the left/bottom where the text sits, lighter toward
   the right so Rob & Brin are still visible. */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(100deg, rgba(23, 28, 38, 0.97) 0%, rgba(23, 28, 38, 0.93) 24%, rgba(23, 28, 38, 0.6) 42%, rgba(23, 28, 38, 0.22) 58%, rgba(23, 28, 38, 0.12) 100%),
    linear-gradient(0deg, rgba(23, 28, 38, 0.55) 0%, rgba(23, 28, 38, 0) 35%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(181, 105, 62, 0.25) 0%, rgba(181, 105, 62, 0) 70%);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%; /* keeps the text column pinned left now that there's only one card */
}

@media (max-width: 700px) {
  .hero {
    min-height: 0;
    padding: 20px 0 32px;
  }

  .hero-bg {
    background-position: center 8%;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(23, 28, 38, 0.93) 0%, rgba(23, 28, 38, 0.82) 55%, rgba(23, 28, 38, 0.95) 100%);
  }
}

.hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--clay);
  background: rgba(181, 105, 62, 0.15);
  border: 1px solid rgba(181, 105, 62, 0.4);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.hero h1 span {
  color: var(--clay);
}

.hero p.lead {
  font-size: 18px;
  color: rgba(236, 220, 200, 0.85);
  max-width: 520px;
  margin-bottom: 8px;
}

/* ---- Hero audience paths (one card per coach) ---- */

.hero-paths {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 32px;
  max-width: 400px; /* a single card on Rob's page */
}

.path-card {
  background: rgba(23, 28, 38, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(236, 220, 200, 0.18);
  border-radius: 14px;
  padding: 16px 18px;
}

.path-kicker {
  display: block;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 8px;
}

.path-hook {
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--white);
  margin-bottom: 12px;
}

/* Smaller "Apply to Work With Coach X" button so it doesn't dominate the card. */
.hero-paths .coach-btn {
  width: 100%;
  gap: 12px;
  padding: 9px 16px 9px 9px;
}

.hero-paths .coach-avatar {
  width: 40px;
  height: 40px;
  font-size: 21px; /* the emoji */
}

.hero-paths .coach-btn-text .name {
  font-size: 17px;
}

.hero-paths .coach-btn-text .label {
  font-size: 11px;
}

/* ---------------- Results / social proof ---------------- */

.results {
  background: var(--cream-soft);
  padding: 64px 0;
}

/* ---- Transformations carousel ---- */

.carousel {
  position: relative;
}

.carousel-viewport {
  position: relative;
}

.carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 4px 6px;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-slide {
  scroll-snap-align: start;
  flex: 0 0 72%;
}

@media (min-width: 640px) {
  .carousel-slide {
    flex: 0 0 46%;
  }
}

@media (min-width: 900px) {
  .carousel-slide {
    flex: 0 0 30%;
  }
}

@media (min-width: 1200px) {
  .carousel-slide {
    flex: 0 0 24%;
  }
}

/* ---- Per-coach results groups (kept fully separate — never paired
   together — so results never read as a before/after of one person) ---- */

.results-group {
  margin-bottom: 48px;
}

.results-group:last-child {
  margin-bottom: 0;
}

.carousel-arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: none;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--navy);
  cursor: pointer;
  z-index: 5;
  transition: background 0.15s ease, color 0.15s ease;
}

.carousel-arrow:hover {
  background: var(--clay);
  color: var(--white);
}

.carousel-arrow.prev {
  left: -6px;
}

.carousel-arrow.next {
  right: -6px;
}

@media (min-width: 700px) {
  .carousel-arrow.prev {
    left: -20px;
  }
  .carousel-arrow.next {
    right: -20px;
  }
}

.carousel-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 24px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(23, 28, 38, 0.18);
  cursor: pointer;
  transition: all 0.2s ease;
}

.carousel-dot.active {
  width: 22px;
  border-radius: 5px;
  background: var(--clay);
}

/* ---- Single result card (each coach has its own separate carousel) ---- */

.result-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(23, 28, 38, 0.05);
  height: 100%;
}

.result-card .photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  background-color: var(--cream); /* fallback for still-placeholder cards */
  background-image: linear-gradient(135deg, var(--cream), #ddc8ac);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mauve);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  padding: 12px;
}

.result-card .client-who {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 3px;
}

.result-card .stat {
  font-size: 16px;
  font-weight: 800;
  color: var(--clay);
  margin-bottom: 3px;
}

.result-card .quote {
  font-size: 12.5px;
  color: #444;
}

.edit-flag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--clay-dark);
  background: rgba(181, 105, 62, 0.12);
  border: 1px dashed var(--clay);
  padding: 3px 8px;
  border-radius: 5px;
  margin-bottom: 10px;
}

/* ---- Coach tag (used on the bio modals) ---- */

.coach-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 5px;
  color: var(--white);
}

.coach-tag.rob {
  background: var(--navy);
}

/* ---------------- About ---------------- */

.about {
  padding: 60px 0;
  /* Same mauve → navy diagonal used on the "Get Started" section, for a
     consistent look between the two dark sections on the page. */
  background: linear-gradient(135deg, var(--mauve), var(--navy));
  color: var(--white);
}

.about .section-heading {
  color: var(--white);
}

.about .edit-flag {
  color: var(--clay);
  background: rgba(181, 105, 62, 0.18);
}

.about-body {
  max-width: 720px;
  margin: 0 auto;
}

/* Rob's page has a single coach photo, so it gets a one-column block. */
.about-photos-block {
  max-width: 190px;
  margin: 0 auto 26px;
}

.about-photos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.about-photos .ph {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  background-color: var(--mauve); /* fallback while the photo loads */
  background-size: 150% auto; /* zoomed in so Rob fills the card; use "cover" for the full frame */
  background-position: 52% 48%;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  border: none;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/* Bottom gradient so the "Tap for bio" chip stays readable over any photo. */
.about-photos .ph::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(23, 28, 38, 0.75) 0%, rgba(23, 28, 38, 0) 45%);
  pointer-events: none;
}

.about-photos .ph:hover,
.about-photos .ph:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(236, 220, 200, 0.15);
}

.about-photos .ph .ph-tap {
  position: relative;
  z-index: 1;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(23, 28, 38, 0.45);
  border: 1px solid rgba(236, 220, 200, 0.4);
  padding: 5px 12px;
  border-radius: 999px;
  font-family: var(--font);
}

.about-body p {
  color: rgba(236, 220, 200, 0.8);
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.55;
}

.about-body .section-heading {
  margin-bottom: 10px;
}

/* Less gap between the "About Coach Rob" heading and the photo. */
#about .section-intro {
  margin-bottom: 12px;
}

/* ---------------- What we offer ---------------- */

.offer {
  padding: 64px 0;
  background: var(--cream-soft);
}

.offer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 700px) {
  .offer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .offer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.offer-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow);
}

.offer-card .num {
  font-size: 13px;
  font-weight: 800;
  color: var(--clay);
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.offer-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
}

.offer-card p {
  font-size: 14.5px;
  color: #555;
}

/* ---- Offer = the end result first, features second ---- */

/* The opening statement: reads as the point of the section, not a caption. */
.offer-lead {
  text-align: center;
  font-size: clamp(18px, 2.6vw, 22px);
  font-weight: 600;
  line-height: 1.5;
  color: var(--navy);
  max-width: 640px;
  margin: 0 auto 28px;
}

/* Result cards: compact, at most two across. */
.offer-grid.outcomes {
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: 760px;
  margin: 0 auto;
}

@media (min-width: 700px) {
  .offer-grid.outcomes {
    grid-template-columns: repeat(2, 1fr);
  }
}

.offer-grid.outcomes .offer-card {
  border-top: 3px solid var(--clay);
  padding: 16px 18px;
}

.offer-grid.outcomes .offer-card h3 {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 4px;
}

.offer-grid.outcomes .offer-card p {
  font-size: 14px;
  line-height: 1.45;
}

/* Features: a lighter, compact checklist under the results. */
.offer-how {
  max-width: 760px;
  margin: 48px auto 0;
  text-align: center;
}

.offer-how-title {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--mauve);
  margin-bottom: 18px;
}

.offer-how-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px 28px;
  text-align: left;
}

@media (min-width: 700px) {
  .offer-how-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.offer-how-list li {
  position: relative;
  padding-left: 28px;
  font-size: 14.5px;
  color: #444;
}

/* Quiet secondary action under the checklist. */
.offer-preview {
  text-align: center;
  margin-top: 28px;
}

.offer-preview .btn {
  padding: 11px 26px;
  font-size: 14px;
}

/* App preview popup: a swipeable row of phone-shaped screenshots. */
.app-shots {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 2px 8px;
  margin-top: 12px;
}

.app-shots-hint {
  text-align: center;
  font-size: 12px;
  color: #888;
  margin-top: 6px;
}

.app-shot {
  flex: 0 0 160px;
  aspect-ratio: 693 / 1500; /* matches the screenshots */
  border-radius: 20px;
  border: 3px solid var(--navy);
  background: linear-gradient(135deg, var(--mauve), var(--navy));
  color: var(--cream);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: start;
  overflow: hidden;
}

.app-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.offer-how-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--clay);
  font-weight: 800;
}

/* ---------------- Final CTA ---------------- */

.final-cta {
  padding: 72px 0;
  background: linear-gradient(135deg, var(--mauve), var(--navy));
  color: var(--white);
  text-align: center;
}

.final-cta .section-label {
  color: var(--cream);
}

.final-cta h2 {
  font-size: clamp(28px, 4.5vw, 42px);
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.final-cta p {
  color: rgba(236, 220, 200, 0.85);
  max-width: 560px;
  margin: 0 auto 40px;
  font-size: 17px;
}

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

.site-footer {
  background: var(--navy);
  color: rgba(236, 220, 200, 0.6);
  padding: 48px 0 28px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(236, 220, 200, 0.12);
  margin-bottom: 24px;
}

.footer-logo img {
  height: 46px;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 13.5px;
  color: rgba(236, 220, 200, 0.65);
}
.footer-links a:hover {
  color: var(--clay);
}

.footer-bottom {
  font-size: 12.5px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------------- Mobile nav ---------------- */

@media (max-width: 859px) {
  .nav-links {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    background: var(--navy);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
    padding: 24px;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    font-size: 22px;
  }

  .nav-links .mobile-apply {
    margin-top: 12px;
  }
}

.mobile-apply {
  display: none;
}

@media (max-width: 859px) {
  .mobile-apply {
    display: inline-flex;
  }
}

/* ---------------- General mobile tightening ---------------- */

@media (max-width: 700px) {
  .hero-stats {
    gap: 20px;
  }

  .hero-stat .num {
    font-size: 22px;
  }

  .hero-eyebrow {
    font-size: 11px;
    letter-spacing: 1.5px;
    padding: 6px 12px;
    margin-bottom: 14px;
  }

  .hero h1 {
    font-size: 28px;
    margin-bottom: 10px;
  }

  .hero p.lead {
    font-size: 14.5px;
    margin-bottom: 4px;
  }

  .hero-paths {
    gap: 10px;
    margin-top: 20px;
  }

  .path-card {
    padding: 12px 14px;
  }

  .path-kicker {
    font-size: 13px;
    margin-bottom: 5px;
  }

  .path-hook {
    font-size: 13px;
    margin-bottom: 10px;
  }

  .hero-paths .coach-btn {
    gap: 10px;
    padding: 7px 14px 7px 7px;
  }

  .hero-paths .coach-avatar {
    width: 36px;
    height: 36px;
    font-size: 19px;
  }

  .hero-paths .coach-btn-text .name {
    font-size: 15.5px;
  }

  .hero-paths .coach-btn-text .label {
    font-size: 10px;
  }

  .results {
    padding: 32px 0 48px;
  }

  .about,
  .offer,
  .final-cta {
    padding: 44px 0;
  }

  .section-intro {
    margin-bottom: 32px;
  }

  .nav {
    padding: 16px 20px;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
  }
}

body.menu-open {
  overflow: hidden;
}

/* ==========================================================================
   Coach bio modal (triggered by clicking a photo in About Us)
   ========================================================================== */

.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.modal.open {
  visibility: visible;
  opacity: 1;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(23, 28, 38, 0.72);
  backdrop-filter: blur(2px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: 16px;
  max-width: 480px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  overflow-x: hidden;
  transform: translateY(16px);
  transition: transform 0.2s ease;
}

.modal-body {
  padding: 28px 28px 24px;
}

.modal.open .modal-panel {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: var(--cream-soft);
  color: var(--navy);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.modal-close:hover {
  background: var(--clay);
  color: var(--white);
}

.modal-panel h3 {
  font-size: 21px;
  font-weight: 800;
  margin: 8px 0 12px;
}

.modal-panel h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--clay);
  margin: 14px 0 6px;
}

.modal-panel p {
  font-size: 14px;
  line-height: 1.5;
  color: #444;
  margin-bottom: 6px;
}

/* ---- Coach bio modal with a full photo background: the coach's own
   photo fills the whole card, with a navy tint over it, light enough
   at the top that the photo actually reads as a photo, and thick enough
   by the bottom that the paragraph text stays easy to read. Add
   class="has-photo" plus an inline background-image on .modal-panel to
   give any other coach the same treatment once their photo is ready. ---- */

.modal-panel.has-photo {
  background-color: var(--mauve); /* fallback while the photo loads */
  background-size: cover;
  background-position: center 15%;
  background-repeat: no-repeat;
}

.has-photo .modal-body {
  background: linear-gradient(180deg, rgba(23, 28, 38, 0.35) 0%, rgba(23, 28, 38, 0.6) 20%, rgba(23, 28, 38, 0.88) 42%, rgba(23, 28, 38, 0.95) 100%);
  color: var(--white);
  min-height: 100%;
}

.has-photo .modal-body h3 {
  color: var(--white);
}

.has-photo .modal-body p {
  color: var(--white);
  margin-bottom: 10px;
}

.has-photo .modal-body .edit-flag {
  color: var(--clay);
  background: rgba(181, 105, 62, 0.2);
  border-color: var(--clay);
}

/* ==========================================================================
   Transformations "deck" (phones only; the script adds .stack-mode).
   One card shows at a time. The next card swings in from the right while the
   front card slides off to the left and goes behind it. Swipe, arrows, dots.
   ========================================================================== */

.carousel.stack-mode .carousel-track {
  display: grid;
  overflow: hidden;
  scroll-snap-type: none;
  gap: 0;
  /* extra room so card shadows aren't clipped by overflow:hidden */
  padding: 6px 10px 28px;
  margin: 0 -10px -18px;
  touch-action: pan-y; /* vertical scroll still works; horizontal is the swipe */
  user-select: none;
}

.carousel.stack-mode .carousel-slide {
  grid-area: 1 / 1; /* every card sits in the same spot */
  flex: none;
  min-width: 0;
  width: 80%;
  justify-self: center;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  transform: translateX(60%) scale(0.9); /* waiting off to the right */
  transition: transform 0.55s cubic-bezier(0.22, 0.85, 0.3, 1), opacity 0.45s ease;
  will-change: transform, opacity;
}

.carousel.stack-mode .carousel-slide.is-before {
  transform: translateX(-60%) scale(0.88); /* already tucked away to the left */
}

.carousel.stack-mode .carousel-slide.is-active {
  opacity: 1;
  transform: none;
  z-index: 3; /* in front */
  pointer-events: auto;
}

.carousel.stack-mode .carousel-slide.is-dragging {
  transition: none; /* follows your finger exactly while swiping */
  transform-origin: 50% 100%;
}

/* "Work With Coach Rob" buttons: solid clay with a glow so they read as the
   main action (hero and the final Get Started section). */
.hero-paths .coach-btn,
.final-cta .coach-btn {
  background: var(--clay);
  border-color: var(--clay);
  box-shadow: 0 8px 22px rgba(181, 105, 62, 0.5);
}

.hero-paths .coach-btn .label,
.final-cta .coach-btn .label {
  opacity: 0.95;
}

.hero-paths .coach-btn:hover,
.final-cta .coach-btn:hover {
  background: var(--clay-dark);
  border-color: var(--clay-dark);
  box-shadow: 0 12px 28px rgba(181, 105, 62, 0.6);
}

/* Emoji size on the final Get Started button. */
.final-cta .coach-avatar {
  font-size: 24px;
}

/* ==========================================================================
   Hero card: the one place we want the eye to land. Brighter panel, orange
   border, a slow glow, and an accent line across the top.
   ========================================================================== */

.hero-paths .path-card {
  position: relative;
  background: linear-gradient(180deg, rgba(44, 50, 66, 0.86), rgba(23, 28, 38, 0.9));
  border: 1.5px solid var(--clay);
  box-shadow:
    0 14px 40px rgba(0, 0, 0, 0.45),
    0 0 26px rgba(181, 105, 62, 0.35);
  animation: card-glow 3.2s ease-in-out infinite;
}

/* Orange accent line fading in from both ends along the top edge. */
.hero-paths .path-card::before {
  content: "";
  position: absolute;
  top: -1.5px;
  left: 16px;
  right: 16px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, #e0905f, transparent);
}

.hero-paths .path-kicker {
  color: #e0905f; /* a brighter orange than the page accent, easier to spot */
}

.hero-paths .path-hook {
  font-size: 15.5px;
  font-weight: 700;
}

@keyframes card-glow {
  0%, 100% {
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45), 0 0 22px rgba(181, 105, 62, 0.3);
  }
  50% {
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45), 0 0 40px rgba(181, 105, 62, 0.6);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-paths .path-card {
    animation: none;
  }
}

/* ==========================================================================
   TEST: fixed hero photo + one "About Coach Rob" colour overlay site-wide.
   Everything below overrides the normal page. Delete this block (or just
   use rob.html) to go back to the regular layout.
   ========================================================================== */

html { background: var(--navy); }
body { background: transparent; }

/* The photo stays put while the page scrolls over it. */
.hero { background: transparent; overflow: visible; }
.hero-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-color: var(--navy);
  background-size: auto 100%;   /* whole photo, top to bottom, always on screen */
  background-position: 75% center;
  background-repeat: no-repeat;
}
.hero-overlay, .hero::after { display: none; }

/* The mauve → navy colour from the About section, laid over the whole site. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(89, 63, 59, 0.66), rgba(23, 28, 38, 0.82));
}

/* Sections no longer paint their own backgrounds. */
.results, .about, .offer, .final-cta { background: transparent; color: var(--white); }

/* Text that was dark-on-cream now needs to be light. */
.offer-lead { color: var(--white); }
.offer-how-title { color: var(--cream); }
.offer-how-list li { color: rgba(255, 255, 255, 0.92); }
.carousel-dot { background: rgba(255, 255, 255, 0.3); }
.offer-preview .btn-outline-dark { color: var(--white); border-color: rgba(255, 255, 255, 0.7); background: transparent; }
.offer-preview .btn-outline-dark:hover { background: rgba(255, 255, 255, 0.12); }

@media (max-width: 700px) {
  .hero-bg { background-position: 46% center; }
}

/* Cards stay white, so their text stays dark. */
.offer-card, .result-card { color: var(--navy); }
.offer-card h3 { color: var(--navy); }

/* ---- Legibility pass: brighter text, a soft shadow behind it, and
   lighter clay for the small orange labels. ---- */
.hero p.lead,
.about-body p,
.final-cta p {
  color: #fff;
}
.hero h1,
.hero p.lead,
.about-body,
.about-body .section-heading,
.offer-lead,
.offer-how-title,
.offer-how-list li,
.final-cta h2,
.final-cta p,
#results .section-label,
#about .section-label,
#offer .section-label,
.final-cta .section-label {
  text-shadow: 0 1px 3px rgba(10, 13, 20, 0.85), 0 0 14px rgba(10, 13, 20, 0.6);
}
#results .section-label,
#about .section-label,
#offer .section-label,
.hero-eyebrow {
  color: #e8a173;
}
.about-body p { font-size: 15.5px; font-weight: 500; }
.offer-how-list li { font-size: 15px; font-weight: 500; color: #fff; }
.offer-how-title { color: #fff; }
.final-cta .section-label { color: #f3d9bd; }
.footer-links a, .footer-bottom span { color: rgba(255, 255, 255, 0.85); }

/* ---- Section splits: alternating dark panels, a fine glowing divider line
   at the top of each, and a short clay bar centred on it. ---- */
.results, .about, .offer, .final-cta { position: relative; }

/* Panels: results and offer sit on a darker band; about and get started
   let the photo show through, so the page alternates. */
.results { background: rgba(14, 17, 24, 0.5); }
.offer   { background: rgba(14, 17, 24, 0.5); }

.results::before, .about::before, .offer::before, .final-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(232, 161, 115, 0.75) 50%, transparent 100%);
  box-shadow: 0 0 14px 1px rgba(181, 105, 62, 0.45);
}
.results::after, .about::after, .offer::after, .final-cta::after {
  content: "";
  position: absolute;
  top: -2px;
  left: 50%;
  width: 56px;
  height: 5px;
  margin-left: -28px;
  border-radius: 3px;
  background: var(--clay);
}

/* Footer gets the same kind of edge. */
.site-footer { border-top: 1px solid rgba(232, 161, 115, 0.35); }

/* ==========================================================================
   Simpler hero: just the "who it's for" card on a solid colour band.
   The fixed photo starts at Client Results, and a compact apply bar follows
   you down the page once the big card scrolls away.
   ========================================================================== */

.hero {
  min-height: 0;
  padding: 44px 0 48px;
  background: linear-gradient(135deg, var(--mauve), var(--navy));
}
.hero-content { display: flex; justify-content: center; }
.hero-paths { max-width: 440px; width: 100%; }
.hero-paths .path-kicker { font-size: 13px; }
.hero-paths .path-hook { font-size: 18px; }

@media (max-width: 700px) {
  .hero { padding: 22px 0 26px; }
  .hero-paths .path-hook { font-size: 17px; }
}

/* Compact bar that lives under the sticky header. */
.sticky-apply {
  max-height: 0;
  overflow: hidden;
  background: linear-gradient(135deg, var(--mauve), var(--navy));
  border-bottom: 0 solid rgba(232, 161, 115, 0.5);
  transition: max-height 0.28s ease, border-width 0.28s ease;
}
.show-apply .sticky-apply {
  max-height: 64px;
  border-bottom-width: 1px;
}
.sticky-apply-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 9px;
  padding-bottom: 9px;
}
.sticky-apply-who {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #e8a173;
}
.sticky-apply-btn { padding: 9px 18px; font-size: 13px; white-space: nowrap; }

/* "overflow-x: hidden" on html + body turns body into its own scroller, which
   stops the header (and the apply bar inside it) from sticking. "clip" hides
   sideways overflow without that side effect. */
html, body { overflow-x: clip; }

/* Longer hero line: slightly lighter and tighter so the card stays compact. */
.hero-paths .path-hook { font-weight: 600; line-height: 1.4; }
@media (max-width: 700px) { .hero-paths .path-hook { font-size: 15.5px; } }

/* Bigger "who it's for" label. */
.hero-paths .path-kicker { font-size: 17px; letter-spacing: 1px; margin-bottom: 4px; display: block; }
@media (max-width: 700px) { .hero-paths .path-kicker { font-size: 16px; } }

/* Sticky bar is just the apply button, centred. */
.sticky-apply-inner { justify-content: center; }
.sticky-apply-btn { min-width: 240px; padding: 10px 24px; font-size: 14px; }

/* Hero card text centred. */
.hero-paths .path-card { text-align: center; }
.hero-paths .path-kicker { text-align: center; }
.hero-paths .coach-btn { margin-left: auto; margin-right: auto; }

/* Business name above the card: title, then the programme line under it. */
.hero-content { flex-direction: column; align-items: center; }
.hero-title { text-align: center; margin-bottom: 20px; }
.hero h1 {
  font-size: clamp(28px, 7.4vw, 44px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin: 0 0 10px;
  color: var(--white);
}
.hero-subtitle {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #e8a173;
  text-shadow: 0 1px 3px rgba(10, 13, 20, 0.85);
}
@media (max-width: 700px) {
  .hero { padding: 26px 0 28px; }
  .hero-title { margin-bottom: 16px; }
  .hero-subtitle { font-size: 12px; letter-spacing: 2.4px; }
}
.hero h1 { text-wrap: balance; }

/* Hero button: reads as a button. "Tap here" on touch screens, "Click here"
   with a mouse, plus an arrow on the right. */
.hero-paths .coach-btn { position: relative; width: 100%; padding-right: 56px; }
.hero-paths .coach-btn .lbl-click { display: none; }
@media (hover: hover) and (pointer: fine) {
  .hero-paths .coach-btn .lbl-tap { display: none; }
  .hero-paths .coach-btn .lbl-click { display: inline; }
}
.hero-paths .coach-btn .label { letter-spacing: 1.2px; text-transform: uppercase; font-size: 10.5px; }
.hero-paths .coach-btn::after {
  content: "\2192";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 32px;
  height: 32px;
  margin-top: -16px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--clay-dark);
  font-size: 18px;
  font-weight: 800;
  line-height: 32px;
  text-align: center;
  animation: nudge 1.8s ease-in-out infinite;
}
@keyframes nudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(3px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-paths .coach-btn::after { animation: none; }
}

/* No background photo: the mauve → navy colour fills the whole page instead. */
.hero-bg { display: none; }
body::before { background: linear-gradient(135deg, var(--mauve), var(--navy)); }

/* ---- Testimonials (coming soon) ---- */
.testimonials { position: relative; padding: 56px 0 60px; background: transparent; color: var(--white); }
.testimonials::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(232, 161, 115, 0.75) 50%, transparent 100%);
  box-shadow: 0 0 14px 1px rgba(181, 105, 62, 0.45);
}
.testimonials::after {
  content: "";
  position: absolute;
  top: -2px; left: 50%;
  width: 56px; height: 5px;
  margin-left: -28px;
  border-radius: 3px;
  background: var(--clay);
}
#testimonials .section-label {
  font-size: clamp(22px, 3.5vw, 30px);
  letter-spacing: 0.5px;
  color: #e8a173;
  text-shadow: 0 1px 3px rgba(10, 13, 20, 0.85), 0 0 14px rgba(10, 13, 20, 0.6);
}
.testimonials-soon {
  max-width: 420px;
  margin: 8px auto 0;
  padding: 26px 24px 28px;
  text-align: center;
  border: 1.5px dashed rgba(232, 161, 115, 0.55);
  border-radius: 14px;
  background: rgba(14, 17, 24, 0.35);
}
.testimonials-quote {
  display: block;
  font-size: 54px;
  line-height: 0.8;
  font-weight: 800;
  color: var(--clay);
  margin-bottom: 6px;
}
.testimonials-soon p {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

/* ---- Video testimonial (YouTube Short, vertical) ---- */
.video-card { max-width: 300px; margin: 8px auto 0; text-align: center; }
.video-frame {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  border: 1.5px solid rgba(232, 161, 115, 0.55);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-who { margin-top: 14px; font-weight: 800; font-size: 16px; color: var(--white); }
.video-stat { margin-top: 2px; font-weight: 800; font-size: 15px; color: #e8a173; }
.testimonials-more {
  margin: 22px 0 0;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

/* Name and result sit above the video. */
.video-who { margin: 0; }
.video-stat { margin: 2px 0 12px; }

/* Several videos: a swipeable row on phones, centred side by side when they fit. */
.video-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 24px 6px;
  margin: 0 -24px;
  scrollbar-width: none;
}
.video-row::-webkit-scrollbar { display: none; }
.video-row .video-card {
  flex: 0 0 min(72%, 280px);
  max-width: none;
  margin: 0;
  scroll-snap-align: center;
}
.video-row .video-card:first-child { margin-left: auto; }
.video-row .video-card:last-child { margin-right: auto; }

/* ---- Video testimonials in the same slider as Client Results ---- */
.testimonials .carousel-track { justify-content: safe center; }
.video-card { max-width: 300px; margin: 0 auto; text-align: center; }
.video-frame {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.video-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 66px;
  height: 66px;
  margin: -33px 0 0 -33px;
  border-radius: 50%;
  background: rgba(181, 105, 62, 0.95);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}
.video-play::after {
  content: "";
  position: absolute;
  left: 27px;
  top: 20px;
  border-style: solid;
  border-width: 13px 0 13px 20px;
  border-color: transparent transparent transparent #fff;
}
.video-frame:hover .video-play { background: var(--clay-dark); }
.video-frame:focus-visible { outline: 3px solid #e8a173; outline-offset: 3px; }
.video-frame.playing { cursor: default; }

/* Give each video card a real width in the phone deck (otherwise the grid
   shrinks it to fit the text). */
.testimonials .carousel.stack-mode .carousel-slide { width: 260px; }
.testimonials .video-card { width: 100%; }
.testimonials .video-stat { white-space: nowrap; }

/* Menu links land just below the sticky header + apply bar, so section
   headings aren't hidden underneath them. */
#results, #about, #offer, #testimonials, #apply { scroll-margin-top: 150px; }

/* The apply bar floats just under the header instead of pushing the page
   down when it appears, so nothing jumps and menu links land in the right spot. */
.sticky-apply {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
}
