/* ===============================================================
   The Fitness Margin — Production stylesheet
   Warm cream + deep charcoal + a refined teal accent.
   Editorial, image-led, modern. Built to flow, not to box.
=============================================================== */

@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,500;0,600;0,700;0,800;0,900;1,700;1,800;1,900&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* palette */
  --ink:        #14151a;   /* near-black, slightly cool */
  --ink-soft:   #1b1d23;   /* dark surface */
  --ink-2:      #23262f;   /* dark card surface */
  --paper:      #f4efe6;   /* warm cream */
  --paper-2:    #ece4d6;   /* deeper cream, alternating sections */
  --surface:    #fbf8f2;   /* warm white card */
  --teal:       #1f8270;   /* brand teal, refined */
  --teal-bright:#2ba48d;   /* hover / accent */
  --teal-deep:  #14564a;   /* gradients, depth */

  --text:       #1a1b20;   /* body on cream */
  --muted:      #6f6757;   /* muted on cream */
  --paper-70:   rgba(244,239,230,0.72);
  --paper-55:   rgba(244,239,230,0.55);
  --paper-40:   rgba(244,239,230,0.40);

  --line:       rgba(20,21,26,0.10);
  --line-dark:  rgba(244,239,230,0.14);

  --maxw:       1200px;
  --header-h:   76px;

  --r:    14px;
  --r-lg: 24px;

  --shadow-sm: 0 2px 10px rgba(20,21,26,0.06);
  --shadow:    0 22px 48px -24px rgba(20,21,26,0.30);
  --shadow-lg: 0 44px 90px -34px rgba(20,21,26,0.48);

  --ease: cubic-bezier(.2,.7,.2,1);
  --t: .45s;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body { margin: 0; padding: 0; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

::selection { background: var(--teal); color: #fff; }

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

h1, h2, h3, h4 {
  font-family: 'Archivo', system-ui, sans-serif;
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  color: var(--text);
}

h2 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.1rem); }
h3 { font-size: 1.35rem; letter-spacing: -0.01em; }
h4 {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

p { margin: 0 0 1em; max-width: 64ch; }

strong { font-weight: 700; color: var(--text); }

.section--dark h1, .section--dark h2, .section--dark h3,
.section--teal h1, .section--teal h2, .section--teal h3 { color: var(--paper); }

/* eyebrow label */
.section__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 22px;
}
.section__label::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.section--dark .section__label,
.section--teal  .section__label { color: var(--teal-bright); }
.section--teal  .section__label { color: var(--paper); }

/* eyebrow labels that opt into centering (inline style) */
.section__label[style*="center"] { display: flex; justify-content: center; max-width: none; }

/* ---------------------------------------------------------------
   Layout primitives
--------------------------------------------------------------- */

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: 28px;
}

.section {
  padding: clamp(4.5rem, 3rem + 6vw, 8rem) 0;
  position: relative;
}

.section--dark {
  background: var(--ink);
  color: var(--paper);
}

.section--teal {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-deep) 100%);
  color: var(--paper);
}

/* subtle tonal rhythm so plain sections don't read as one cream wall */
.section:has(.quote):not(.section--dark):not(.section--teal) { background: var(--paper-2); }

.section--dark p { color: var(--paper-70); }
.section--teal p { color: rgba(255,255,255,0.85); }

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

.btn {
  --btn-bg: var(--teal);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  padding: 14px 26px;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), background var(--t) var(--ease);
  box-shadow: 0 12px 26px -14px rgba(20,21,26,0.5);
  will-change: transform;
}
.btn:hover {
  background: var(--teal-bright);
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -14px rgba(31,130,112,0.6);
}
.btn:active { transform: translateY(0); }

.btn--ghost {
  background: transparent;
  color: var(--paper);
  border: 1.5px solid rgba(255,255,255,0.5);
  box-shadow: none;
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  transform: translateY(-2px);
}

/* dark ghost (on cream) */
.btn--ghost-ink {
  background: transparent;
  color: var(--text);
  border: 1.5px solid rgba(20,21,26,0.25);
  box-shadow: none;
}
.btn--ghost-ink:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.btn--lg { padding: 18px 34px; font-size: 0.9rem; }

.btn--block { display: inline-flex; }

.btn-row {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 8px;
}
.btn-row__alt { font-size: 0.95rem; color: var(--paper-70); }
.btn-row__alt a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* inline text link with arrow */
.card__link, a.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  color: var(--teal);
  transition: gap var(--t) var(--ease), color var(--t) var(--ease);
}
.card__link::after { content: "→"; transition: transform var(--t) var(--ease); }
.card__link:hover { color: var(--teal-bright); }
.card__link:hover::after { transform: translateX(4px); }

/* ---------------------------------------------------------------
   Header / nav  — transparent over hero, solid on scroll
--------------------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background var(--t) var(--ease), backdrop-filter var(--t) var(--ease), box-shadow var(--t) var(--ease);
}

.site-header.is-scrolled {
  background: rgba(16,17,21,0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06), 0 14px 40px -28px rgba(0,0,0,0.8);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

.brand {
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0.01em;
  font-size: 1.45rem;
  color: var(--paper);
  line-height: 1;
}
.brand small {
  display: block;
  font-style: normal;
  font-weight: 600;
  font-size: 0.52rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--paper-55);
  margin-top: 4px;
}

.nav__links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.92rem;
  font-weight: 500;
  margin-left: auto;
  margin-right: 8px;
}
.nav__links a {
  position: relative;
  color: var(--paper);
  opacity: 0.82;
  padding: 6px 0;
  transition: opacity var(--t) var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--teal-bright);
  transition: right var(--t) var(--ease);
}
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after,
.nav__links a[aria-current="page"]::after { right: 0; }
.nav__links a[aria-current="page"] { opacity: 1; }

.nav__cta {
  display: inline-flex;
  align-items: center;
  background: var(--teal);
  color: #fff;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background var(--t) var(--ease), transform var(--t) var(--ease);
}
.nav__cta:hover { background: var(--teal-bright); transform: translateY(-2px); }

.nav__toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--paper);
  padding: 8px 12px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 8px;
}

/* ---------------------------------------------------------------
   Hero — home (full-bleed cinematic)
--------------------------------------------------------------- */

.hero { position: relative; background: var(--ink); color: var(--paper); }

.hero--home {
  /* leave room for the credentials strip to sit at the fold */
  min-height: calc(100svh - 74px);
  display: flex;
  align-items: flex-start;
  overflow: hidden;
}

.hero__media-wrap { position: absolute; inset: 0; z-index: 0; }
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero--home::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(12,13,16,0.85) 0%, rgba(12,13,16,0.45) 45%, rgba(12,13,16,0.15) 100%),
    linear-gradient(0deg, rgba(12,13,16,0.75) 0%, rgba(12,13,16,0) 40%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 64px;
}

.hero__eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-bright);
  margin: 0 0 22px;
}

.hero__title {
  font-family: 'Archivo', sans-serif;
  font-style: italic;
  font-weight: 900;
  font-size: clamp(3.5rem, 1.8rem + 8vw, 8rem);
  line-height: 1.0;
  letter-spacing: -0.01em;
  margin: 0 0 26px;
  color: #fff;
  text-shadow: 0 2px 30px rgba(0,0,0,0.35);
}

.hero__sub {
  font-size: clamp(1.05rem, 1rem + 0.5vw, 1.3rem);
  line-height: 1.55;
  max-width: 34ch;
  margin: 0 0 34px;
  color: rgba(255,255,255,0.9);
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--paper-70);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero__scroll::after {
  content: "";
  width: 1px;
  height: 34px;
  background: linear-gradient(var(--paper-70), transparent);
  animation: scrollCue 2s var(--ease) infinite;
}
@keyframes scrollCue {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  60%  { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* hero entrance */
@media (prefers-reduced-motion: no-preference) {
  .hero--home .hero__eyebrow,
  .hero--home .hero__title,
  .hero--home .hero__sub,
  .hero--home .btn-row { opacity: 0; animation: heroIn 0.9s var(--ease) forwards; }
  .hero--home .hero__title { animation-delay: 0.08s; }
  .hero--home .hero__sub   { animation-delay: 0.22s; }
  .hero--home .btn-row     { animation-delay: 0.36s; }
  @keyframes heroIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
}

/* ---------------------------------------------------------------
   Hero — inner pages (text-led, dark)
--------------------------------------------------------------- */

.hero--inner {
  padding: calc(var(--header-h) + clamp(3.5rem, 2rem + 6vw, 6.5rem)) 0 clamp(3.5rem, 2rem + 5vw, 6rem);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(31,130,112,0.22) 0%, rgba(20,21,26,0) 55%),
    var(--ink);
}
.hero--inner .hero__title {
  font-size: clamp(2.6rem, 1.6rem + 4.5vw, 5rem);
  margin-bottom: 22px;
  text-shadow: none;
}
.hero--inner .hero__sub { color: rgba(255,255,255,0.82); }
.hero--inner .section__label { color: var(--teal-bright); }

/* about hero (image + text) */
.hero--inner .hero__grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero__image {
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  background: var(--ink-2);
  box-shadow: var(--shadow-lg);
}
.hero__image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------------------------------------------------------------
   Credentials strip
--------------------------------------------------------------- */

.cred-strip {
  background: var(--ink);
  color: var(--paper);
  padding: 26px 0;
  border-top: 1px solid var(--line-dark);
}
.cred-strip__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 40px;
  justify-content: center;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper-70);
}
.cred-strip__inner span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.cred-strip__inner span::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal-bright);
  flex: none;
}

/* ---------------------------------------------------------------
   Grids & cards
--------------------------------------------------------------- */

.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* base surface card (no image) */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 30px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.card > .card__title { margin-bottom: 10px; }
.card p { color: var(--muted); margin-bottom: 14px; }
.card p:last-child { margin-bottom: 0; }

.card__title { font-family: 'Archivo', sans-serif; font-size: 1.3rem; font-weight: 700; letter-spacing: -0.01em; }
.card__sub { font-size: 0.92rem; color: var(--muted); margin-bottom: 14px; }

/* dark surface card */
.card--dark {
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  color: var(--paper);
  box-shadow: none;
}
.card--dark .card__title { color: var(--paper); }
.card--dark p { color: var(--paper-70); }
.card--dark:hover { transform: translateY(-4px); border-color: rgba(43,164,141,0.4); }

/* ---- image tiles (discipline cards) ---- */
.card:has(.card__media) {
  padding: 0;
  border: none;
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: 440px;
  justify-content: flex-end;
  color: var(--paper);
  background: var(--ink);
  box-shadow: var(--shadow);
}
.card:has(.card__media) .card__media {
  position: absolute;
  inset: 0;
  margin: 0;
  border: none;
  border-radius: 0;
  overflow: hidden;
}
.card:has(.card__media) .card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.card:has(.card__media)::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(12,13,16,0.92) 0%, rgba(12,13,16,0.45) 38%, rgba(12,13,16,0.05) 70%);
  z-index: 1;
}
.card:has(.card__media) .card__title,
.card:has(.card__media) .card__sub,
.card:has(.card__media) .card__link {
  position: relative;
  z-index: 2;
  padding-left: 26px;
  padding-right: 26px;
}
.card:has(.card__media) .card__title { color: #fff; font-size: 1.6rem; margin: 0 0 6px; padding-top: 0; }
.card:has(.card__media) .card__sub { color: rgba(255,255,255,0.82); margin-bottom: 16px; }
.card:has(.card__media) .card__link {
  color: #fff;
  padding-bottom: 28px;
  opacity: 0.9;
}
.card:has(.card__media) .card__link::after { color: var(--teal-bright); }
.card:has(.card__media):hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card:has(.card__media):hover .card__media img { transform: scale(1.07); }
.card:has(.card__media):hover .card__link { opacity: 1; }

/* about — credentials cards (plain text in a card) */
.section--dark .grid .card--dark:not(:has(.card__title)) {
  font-size: 0.96rem;
  color: var(--paper-70);
  line-height: 1.5;
  justify-content: center;
}

/* ---------------------------------------------------------------
   Tier cards (coaching) + home "three ways"
--------------------------------------------------------------- */

.tier {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 38px 34px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.tier:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.tier--highlight {
  background: var(--ink);
  color: var(--paper);
  border: 1px solid rgba(43,164,141,0.5);
  box-shadow: var(--shadow-lg);
}
.tier--highlight .tier__title { color: #fff; }
.tier--highlight .tier__name { color: var(--teal-bright); }

.tier__badge {
  position: absolute;
  top: -13px;
  right: 28px;
  background: var(--teal);
  color: #fff;
  padding: 6px 14px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 999px;
  box-shadow: 0 8px 18px -8px rgba(31,130,112,0.8);
}
.tier__name {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 10px;
}
.tier__title {
  font-family: 'Archivo', sans-serif;
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.tier__lede {
  font-size: 1rem;
  margin-bottom: 22px;
  color: var(--muted);
}
.tier--highlight .tier__lede { color: var(--paper-70); }

.tier__list { list-style: none; padding: 0; margin: 0 0 28px; font-size: 0.98rem; }
.tier__list li {
  position: relative;
  padding: 11px 0 11px 30px;
  border-bottom: 1px solid var(--line);
}
.tier--highlight .tier__list li { border-bottom-color: var(--line-dark); color: var(--paper-70); }
.tier__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 17px;
  width: 16px; height: 9px;
  border-left: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: rotate(-45deg);
}
.tier--highlight .tier__list li::before { border-color: var(--teal-bright); }

/* ---------------------------------------------------------------
   Steps (How it works)
--------------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step__num {
  font-family: 'Archivo', sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
.step__title { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 1.12rem; margin-bottom: 8px; }
.step__body { font-size: 0.95rem; color: var(--muted); margin: 0; }

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

.quote {
  position: relative;
  font-family: 'Archivo', sans-serif;
  font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2.1rem);
  font-weight: 600;
  font-style: italic;
  line-height: 1.4;
  letter-spacing: -0.01em;
  max-width: 24ch;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  color: var(--text);
}
.quote::before {
  content: "\201C";
  display: block;
  font-size: 4.5rem;
  line-height: 0.6;
  color: var(--teal);
  opacity: 0.5;
  margin-bottom: 12px;
}
.quote__author {
  display: block;
  margin-top: 26px;
  font-family: 'Inter', sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.quote--featured { font-size: clamp(1.6rem, 1.2rem + 2vw, 2.6rem); max-width: 1000px; }

.section--dark .quote, .section--teal .quote { color: var(--paper); }
.section--dark .quote__author { color: var(--paper-70); }

/* testimonial cards */
.quote-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.quote-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.quote-card__text { font-size: 1.02rem; line-height: 1.6; margin-bottom: 18px; color: var(--text); }
.quote-card__author { font-size: 0.84rem; font-weight: 600; letter-spacing: 0.03em; color: var(--muted); }
.quote-card__tag {
  display: inline-block;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(31,130,112,0.12);
  color: var(--teal-deep);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

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

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.cta-band__text {
  font-family: 'Archivo', sans-serif;
  font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.4rem);
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.02em;
  margin: 0;
  color: #fff;
}

/* ---------------------------------------------------------------
   Split panel (Meet George)
--------------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.split__media {
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  background: var(--ink-2);
  box-shadow: var(--shadow);
}
.split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.section--dark .split__media { box-shadow: var(--shadow-lg); }

/* ---------------------------------------------------------------
   Discipline hero (inner pages) — full-bleed image + overlay
--------------------------------------------------------------- */

.discipline-hero {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  min-height: clamp(520px, 78vh, 760px);
  display: flex;
  align-items: flex-end;
}
.discipline-hero__grid { position: static; width: 100%; display: block; }
.discipline-hero__copy {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: clamp(40px, 8vh, 80px) 0 clamp(48px, 8vh, 88px);
}
.discipline-hero__image {
  position: absolute;
  inset: 0;
  z-index: 0;
  border: none;
}
.discipline-hero__image img { width: 100%; height: 100%; object-fit: cover; }
.discipline-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(12,13,16,0.85) 0%, rgba(12,13,16,0.4) 55%, rgba(12,13,16,0.1) 100%),
    linear-gradient(0deg, rgba(12,13,16,0.7) 0%, rgba(12,13,16,0) 45%);
}
.discipline-hero .hero__title { font-size: clamp(3rem, 2rem + 5vw, 6rem); margin-bottom: 18px; }

/* ---------------------------------------------------------------
   Bullets (discipline "what we coach")
--------------------------------------------------------------- */

.bullets { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; max-width: 70ch; }
.bullets li {
  position: relative;
  padding: 18px 22px 18px 52px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.bullets li:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.bullets li::before {
  content: "";
  position: absolute;
  left: 22px; top: 50%;
  width: 14px; height: 8px;
  border-left: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: translateY(-60%) rotate(-45deg);
}

/* ---------------------------------------------------------------
   Mission / pull quote
--------------------------------------------------------------- */

.mission {
  font-family: 'Archivo', sans-serif;
  text-align: center;
  font-size: clamp(1.5rem, 1.1rem + 2vw, 2.6rem);
  line-height: 1.35;
  font-style: italic;
  font-weight: 700;
  letter-spacing: -0.01em;
  max-width: 20ch;
  max-width: 900px;
  margin: 0 auto;
  color: var(--text);
}

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

.chapter {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(2.5rem, 1.5rem + 4vw, 5rem) 0;
}
.chapter:nth-of-type(even) { grid-template-columns: 1fr 0.8fr; }
.chapter:nth-of-type(even) .chapter__media { order: 2; }
.chapter__media {
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  background: var(--ink-2);
  box-shadow: var(--shadow);
}
.chapter__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.chapter__num {
  font-family: 'Archivo', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.chapter__title {
  font-family: 'Archivo', sans-serif;
  font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem);
  font-style: italic;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

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

.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(3.5rem, 2.5rem + 3vw, 5.5rem) 0 32px;
  border-top: 3px solid var(--teal);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}
.site-footer .brand { font-size: 1.6rem; }
.site-footer h4 { color: var(--paper-55); margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; font-size: 0.96rem; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: var(--paper); opacity: 0.78; transition: opacity var(--t) var(--ease), color var(--t) var(--ease); }
.site-footer a:hover { opacity: 1; color: var(--teal-bright); }
.site-footer__legal {
  border-top: 1px solid var(--line-dark);
  padding-top: 24px;
  font-size: 0.82rem;
  color: var(--paper-55);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.site-footer__legal a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------------------------------------------
   Form
--------------------------------------------------------------- */

.form-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: start;
}
.form { display: grid; gap: 18px; }
.form label {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 8px;
}
.form input, .form select, .form textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  background: #fff;
  padding: 14px 16px;
  font: inherit;
  font-size: 1rem;
  border-radius: 12px;
  color: var(--text);
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(31,130,112,0.14);
}
.form textarea { min-height: 130px; resize: vertical; }
.form__row { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }

.contact-alt { display: grid; gap: 14px; }
.contact-alt--row { grid-template-columns: repeat(3, 1fr); }
.contact-alt__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px 24px;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}
.contact-alt__item:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(31,130,112,0.4); }
.contact-alt__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-alt__val { font-size: 1.05rem; font-weight: 600; color: var(--text); }
.contact-alt--row .contact-alt__val { font-size: 0.98rem; }

/* ---------------------------------------------------------------
   FAQ accordion
--------------------------------------------------------------- */

.faq { display: grid; gap: 0; max-width: 820px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--line); padding: 6px 0; }
.faq__q {
  cursor: pointer;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: "+";
  font-family: 'Inter', sans-serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--teal);
  transition: transform var(--t) var(--ease);
  flex: none;
}
details[open] .faq__q::after { content: "+"; transform: rotate(45deg); }
.faq__a { color: var(--muted); font-size: 1rem; padding: 0 0 20px; max-width: 70ch; }
.faq__a a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------------------------------------------
   Filter chips + testimonial masonry
--------------------------------------------------------------- */

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.chip {
  border: 1.5px solid var(--line);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: all var(--t) var(--ease);
}
.chip:hover { border-color: var(--teal); color: var(--teal); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.testimonial-grid { columns: 3; column-gap: 22px; }
.testimonial-grid .quote-card {
  break-inside: avoid;
  margin-bottom: 22px;
  display: inline-block;
  width: 100%;
}

/* ---------------------------------------------------------------
   Scroll reveal
--------------------------------------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------------------------------------------------------------
   Wireframe-only scaffolding — retired in production
--------------------------------------------------------------- */

.page-index { display: none !important; }

/* ---------------------------------------------------------------
   Responsive
--------------------------------------------------------------- */

@media (max-width: 980px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .testimonial-grid { columns: 2; }
}

@media (max-width: 860px) {
  :root { --header-h: 66px; }

  /* full-height hero on phones: the credentials strip sits fully below the
     fold rather than half-peeking (it's a tall, multi-line block here) */
  .hero--home { min-height: 100svh; }

  .nav__links {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    gap: 4px;
    background: rgba(16,17,21,0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 16px 28px 24px;
    margin: 0;
    border-top: 1px solid var(--line-dark);
    box-shadow: var(--shadow-lg);
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 12px 0; font-size: 1rem; opacity: 0.95; }
  .nav__links a::after { display: none; }
  .nav__toggle { display: inline-block; order: 3; }
  .nav__cta { display: none; }
  .site-header.is-scrolled,
  .nav__links.is-open ~ * {}

  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .split__media { aspect-ratio: 16 / 11; max-height: 460px; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-alt--row { grid-template-columns: 1fr; }

  .hero--inner .hero__grid { grid-template-columns: 1fr; }
  .hero__image { aspect-ratio: 16 / 11; max-height: 440px; max-width: 520px; }

  .chapter, .chapter:nth-of-type(even) { grid-template-columns: 1fr; gap: 24px; }
  .chapter:nth-of-type(even) .chapter__media { order: 0; }
  .chapter__media { aspect-ratio: 16 / 11; max-height: 420px; }

  .cta-band { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  /* keep the big italic title from running into the screen edge */
  .hero--home .hero__title { font-size: clamp(2.4rem, 1rem + 8vw, 3.4rem); }
  .wrap { padding-inline: 20px; }
  .grid--4, .steps { grid-template-columns: 1fr; }
  .testimonial-grid { columns: 1; }
  .card:has(.card__media) { min-height: 380px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .site-footer__legal { flex-direction: column; }
  .btn { width: 100%; }
  .btn-row { width: 100%; }
  .hero__scroll { display: none; }
}
