/* =====================================================================
   FitEdge — Athletic Performance & Personal Training
   Design system stylesheet (single source of truth)
   ===================================================================== */

:root {
  --c-white: #ffffff;
  --c-ice: #ebf1f8;
  --c-ice-soft: #f9fafa;
  --c-line: #d5dfec;
  --c-navy: #1d3c63;
  --c-blue: #3b7ac9;
  --c-ink: #101619;
  --c-body: #404547;
  --c-muted: #6e6e6e;
  --c-black: #010101;
  --grad: linear-gradient(135deg, #1d3c63 0%, #3b7ac9 100%);
  --grad-overlay: linear-gradient(0deg, rgba(16, 22, 25, .82) 0%, rgba(16, 22, 25, .32) 48%, rgba(16, 22, 25, 0) 100%);
  --r-lg: 24px;
  --r-md: 20px;
  --r-sm: 16px;
  --r-pill: 999px;
  --shadow-sm: 0 8px 24px rgba(16, 22, 25, .06);
  --shadow-md: 0 20px 50px rgba(16, 22, 25, .10);
  --shadow-lg: 0 32px 80px rgba(16, 22, 25, .18);
  --maxw: 1400px;
  --font-body: 'Inter', 'SF Pro Display', Arial, sans-serif;
  --font-head: 'Manrope', 'SF Pro Display', Arial, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--c-white);
  color: var(--c-body);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
img { display: block; height: auto; border: 0; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; }
p { margin: 0; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4, h5 {
  margin: 0;
  font-family: var(--font-head);
  color: var(--c-ink);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.022em;
}

.h-display { font-size: clamp(38px, 5vw, 74px); line-height: 1.03; letter-spacing: -.03em; font-weight: 600; }
.h-page { font-size: clamp(32px, 3.8vw, 56px); line-height: 1.06; letter-spacing: -.028em; }
.h-section { font-size: clamp(27px, 3.3vw, 48px); line-height: 1.08; }
.h-card { font-size: clamp(19px, 1.5vw, 23px); line-height: 1.2; letter-spacing: -.015em; }
.h-mini { font-family: var(--font-head); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--c-muted); }

.lead { font-size: 17px; line-height: 1.7; color: var(--c-body); }
.muted { color: var(--c-muted); }
.small { font-size: 14px; line-height: 1.6; }
.on-dark { color: rgba(255, 255, 255, .82); }
.on-dark-strong { color: #fff; }

/* ------------------------------------------------------------------ layout */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--ice { background: var(--c-ice); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 44px; }
.section-head__text { max-width: 720px; }
.stack-sm > * + * { margin-top: 10px; }
.stack > * + * { margin-top: 18px; }

section[id] { scroll-margin-top: 104px; }
div[id] { scroll-margin-top: 104px; }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .28s var(--ease), color .28s var(--ease), border-color .28s var(--ease), transform .28s var(--ease), box-shadow .28s var(--ease);
}
.btn--dark { background: var(--c-black); color: #fff; }
.btn--dark:hover { background: #23303a; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(1, 1, 1, .22); }
.btn--white { background: #fff; color: var(--c-ink); }
.btn--white:hover { background: var(--c-ice); transform: translateY(-2px); }
.btn--ghost { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .46); }
.btn--ghost:hover { background: rgba(255, 255, 255, .24); border-color: rgba(255, 255, 255, .72); }
.btn--outline { background: transparent; color: var(--c-ink); border-color: var(--c-line); }
.btn--outline:hover { background: var(--c-ice); border-color: #bccbdd; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 14px; }
.btn--block { width: 100%; }
.btn:disabled { cursor: default; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .28);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .01em;
}
.chip--light { background: var(--c-ice); border-color: var(--c-line); color: var(--c-navy); }

/* ------------------------------------------------------------------ header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--c-line);
}
@supports (backdrop-filter: blur(10px)) {
  .site-header { backdrop-filter: blur(14px); }
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 84px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; flex: 0 0 auto; }
.brand__mark {
  width: 36px; height: 36px; border-radius: 11px;
  background: var(--grad);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; flex: 0 0 auto;
  box-shadow: 0 6px 16px rgba(29, 60, 99, .28);
}
.brand__mark svg { width: 20px; height: 20px; display: block; }
.brand__name { font-family: var(--font-head); font-size: 20px; font-weight: 700; letter-spacing: -.02em; color: var(--c-ink); }

.nav { flex: 1 1 auto; display: flex; justify-content: center; }
.nav-list {
  display: flex; align-items: center; gap: 2px;
  list-style: none; margin: 0; padding: 4px;
  background: var(--c-ice);
  border-radius: var(--r-pill);
}
.nav-list > li > a,
.more-btn {
  display: inline-flex; align-items: center; gap: 6px;
  height: 40px; padding: 0 18px;
  border: 0; border-radius: var(--r-pill);
  background: transparent;
  color: var(--c-body);
  font-family: var(--font-body);
  font-size: 15px; font-weight: 500;
  text-decoration: none; cursor: pointer;
  transition: background-color .22s var(--ease), color .22s var(--ease);
  white-space: nowrap;
}
.nav-list > li > a:hover,
.nav-list > li > a:focus-visible,
.more-btn:hover,
.more-btn:focus-visible { background: #fff; color: var(--c-ink); }
.nav-more { position: relative; }
.more-btn svg { width: 12px; height: 12px; transition: transform .22s var(--ease); }
.nav-more.is-open .more-btn { background: #fff; color: var(--c-ink); }
.nav-more.is-open .more-btn svg { transform: rotate(180deg); }
.more-panel {
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translateX(-50%);
  min-width: 230px; padding: 8px;
  background: #fff; border: 1px solid var(--c-line);
  border-radius: 18px; box-shadow: var(--shadow-md);
  display: none; z-index: 90;
}
.nav-more.is-open .more-panel { display: block; }
.more-panel a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; border-radius: 12px;
  color: var(--c-body); font-size: 15px; text-decoration: none;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.more-panel a:hover { background: var(--c-ice); color: var(--c-ink); }
.more-panel a span { color: var(--c-blue); font-size: 12px; }

.header-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }

.menu-toggle {
  display: none;
  width: 48px; height: 48px;
  align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--c-line);
  border-radius: 14px; cursor: pointer;
  transition: background-color .2s var(--ease);
}
.menu-toggle:hover { background: var(--c-ice); }
.menu-icon { position: relative; display: block; width: 20px; height: 2px; background: var(--c-ink); border-radius: 2px; }
.menu-icon::before, .menu-icon::after {
  content: ''; position: absolute; left: 0;
  width: 20px; height: 2px; background: var(--c-ink); border-radius: 2px;
  transition: transform .26s var(--ease), top .26s var(--ease);
}
.menu-icon::before { top: -6px; }
.menu-icon::after { top: 6px; }

/* mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 200; display: none; }
.drawer.is-open { display: block; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(16, 22, 25, .52); border: 0; }
.drawer__panel {
  position: absolute; top: 0; right: 0;
  width: min(370px, 90vw); height: 100%;
  background: #fff; padding: 22px;
  overflow-y: auto;
  box-shadow: -24px 0 60px rgba(16, 22, 25, .22);
  display: flex; flex-direction: column;
}
.drawer__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--c-line); }
.drawer__close {
  width: 44px; height: 44px; border-radius: 13px;
  border: 1px solid var(--c-line); background: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background-color .2s var(--ease);
}
.drawer__close:hover { background: var(--c-ice); }
.drawer__close svg { width: 18px; height: 18px; }
.drawer__nav { list-style: none; margin: 18px 0 0; padding: 0; display: block; }
.drawer__nav > li { border-bottom: 1px solid var(--c-line); }
.drawer__nav > li > a {
  display: block; padding: 15px 4px;
  font-family: var(--font-head); font-size: 17px; font-weight: 600;
  color: var(--c-ink); text-decoration: none;
}
.drawer__label { padding: 18px 4px 8px; }
.drawer__sub { list-style: none; margin: 0 0 12px; padding: 0 0 0 4px; }
.drawer__sub a { display: block; padding: 9px 0; font-size: 15px; color: var(--c-body); text-decoration: none; }
.drawer__sub a:hover { color: var(--c-navy); }
.drawer__foot { margin-top: auto; padding-top: 22px; }

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative;
  width: calc(100% - 48px);
  max-width: calc(var(--maxw) - 48px);
  margin: 22px auto 0;
  border-radius: var(--r-lg);
  background: var(--grad);
  color: #fff;
  padding: clamp(24px, 2.8vw, 40px);
  overflow: hidden;
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: clamp(24px, 3vw, 52px); align-items: center; }
.hero__copy { position: relative; z-index: 2; min-width: 0; }
.hero__title { margin-top: 22px; color: #fff; max-width: 15ch; }
.hero__lead { margin-top: 20px; max-width: 46ch; font-size: 17px; line-height: 1.65; color: rgba(255, 255, 255, .84); }
.hero__actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

.hero__visual { position: relative; min-width: 0; }
.hero__stage { position: relative; max-width: 452px; margin-left: auto; }
.hero__photo {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 26px 70px rgba(9, 22, 38, .42);
}
.hero__photo img { width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center top; border-radius: var(--r-md); }
.hero__photo::after {
  content: '';
  position: absolute; inset: 0; border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(29, 60, 99, .42) 0%, rgba(59, 122, 201, 0) 42%, rgba(29, 60, 99, .36) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
  pointer-events: none;
}

.hero__float {
  position: absolute; right: 14px; bottom: 14px;
  width: min(268px, 88%);
  background: #fff; color: var(--c-ink);
  border-radius: 18px; padding: 14px;
  box-shadow: var(--shadow-lg);
}
.float-card__top { display: flex; align-items: flex-start; gap: 10px; }
.float-card__icon {
  width: 38px; height: 38px; flex: 0 0 auto; border-radius: 12px;
  background: var(--c-ice); color: var(--c-blue);
  display: inline-flex; align-items: center; justify-content: center;
}
.float-card__icon svg { width: 19px; height: 19px; }
.float-card__title { font-family: var(--font-head); font-size: 16px; font-weight: 700; color: var(--c-ink); line-height: 1.2; }
.float-card__meta { font-size: 12.5px; color: var(--c-muted); line-height: 1.35; margin-top: 2px; }
.float-card__dots { margin-left: auto; color: #9aa8b6; letter-spacing: 2px; font-size: 15px; line-height: 1; }
.float-card__thumb { margin-top: 11px; border-radius: 13px; overflow: hidden; }
.float-card__thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.trust { margin-top: 26px; display: flex; align-items: center; gap: 12px; justify-content: flex-end; }
.trust__avatars { display: flex; }
.trust__avatars img {
  width: 38px; height: 38px; border-radius: 50%;
  object-fit: cover; border: 2px solid #fff; background: #fff;
  margin-left: -10px;
}
.trust__avatars img:first-child { margin-left: 0; }
.trust__text { font-size: 13.5px; line-height: 1.4; color: rgba(255, 255, 255, .88); max-width: 150px; }

/* ------------------------------------------------------------------ about */
.about__grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 32px; align-items: stretch; }
.about__media {
  position: relative; min-width: 0;
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--c-navy);
  min-height: 420px;
  display: flex; align-items: flex-end;
}
.about__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about__stats {
  position: relative; z-index: 2; width: 100%;
  background: var(--grad-overlay);
  padding: 28px 24px 24px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.about__stat strong { display: block; font-family: var(--font-head); font-size: 26px; font-weight: 700; color: #fff; line-height: 1.1; }
.about__stat span { display: block; margin-top: 4px; font-size: 12.5px; color: rgba(255, 255, 255, .82); line-height: 1.35; }

.about__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; min-width: 0; }
.about-card {
  position: relative; text-align: left;
  display: flex; flex-direction: column;
  padding: 0; overflow: hidden;
  background: var(--c-ice-soft);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease), background-color .3s var(--ease);
  font-family: inherit;
}
.about-card:hover, .about-card.is-active {
  transform: translateY(-4px);
  background: #fff;
  border-color: #b9cbe0;
  box-shadow: var(--shadow-md);
}
.about-card__media { display: block; overflow: hidden; }
.about-card__media img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 22%; transition: transform .5s var(--ease); }
.about-card:hover .about-card__media img, .about-card.is-active .about-card__media img { transform: scale(1.05); }
.about-card__body { display: block; padding: 16px 18px 20px; }
.about-card__tag {
  display: inline-block; margin-bottom: 8px;
  padding: 3px 10px; border-radius: var(--r-pill);
  background: var(--c-ice); color: var(--c-navy);
  font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.about-card.is-active .about-card__tag { background: var(--c-navy); color: #fff; }
.about-card__title { display: block; font-family: var(--font-head); font-size: 18px; font-weight: 700; color: var(--c-ink); line-height: 1.25; }
.about-card__desc { display: block; margin-top: 6px; font-size: 13.5px; line-height: 1.55; color: var(--c-muted); }
.about__foot { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }

/* ------------------------------------------------------------------ progress */
.progress-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: start; }
.progress-card {
  background: var(--c-ice);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 26px 22px 28px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.progress-card:hover { transform: translateY(-6px); background: #e3ecf7; box-shadow: var(--shadow-md); }
.progress-card:nth-child(2) { margin-top: 20px; }
.progress-card:nth-child(3) { margin-top: 40px; }
.progress-card:nth-child(4) { margin-top: 60px; }
.progress-card__badge {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--c-white); color: var(--c-blue);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 18px rgba(59, 122, 201, .18);
}
.progress-card__badge svg { width: 24px; height: 24px; }
.progress-card__step { margin-top: 18px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c-blue); }
.progress-card__title { margin-top: 8px; font-family: var(--font-head); font-size: 20px; font-weight: 700; color: var(--c-ink); line-height: 1.22; }
.progress-card__line { margin-top: 8px; font-size: 13.5px; line-height: 1.55; color: var(--c-muted); }
.progress-card__list-label { margin-top: 20px; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c-navy); }
.progress-card__list { list-style: none; margin: 10px 0 0; padding: 0; }
.progress-card__list li {
  position: relative; padding-left: 18px;
  font-size: 13.5px; line-height: 1.5; color: var(--c-body);
  margin-top: 7px;
}
.progress-card__list li::before {
  content: ''; position: absolute; left: 0; top: 7px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--c-blue);
}

/* ------------------------------------------------------------------ programs */
.program-list { display: block; border-top: 1px solid var(--c-line); }
.program-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 24px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--c-line);
  scroll-margin-top: 108px;
}
.program-row__thumb { flex: 0 0 132px; border-radius: var(--r-sm); overflow: hidden; }
.program-row__thumb img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.program-row__main { flex: 1 1 240px; min-width: 0; }
.program-row__title { font-family: var(--font-head); font-size: 21px; font-weight: 700; color: var(--c-ink); line-height: 1.22; }
.program-row__desc { margin-top: 6px; font-size: 13.5px; line-height: 1.5; color: var(--c-muted); }
.program-row__meta { flex: 0 0 auto; min-width: 84px; }
.program-row__meta-label { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #91a0b1; }
.program-row__meta-value { display: block; margin-top: 3px; font-size: 15px; font-weight: 600; color: var(--c-ink); }
.program-row__price { flex: 0 0 auto; font-family: var(--font-head); font-size: 20px; font-weight: 700; color: var(--c-navy); white-space: nowrap; }
.program-row__price span { display: block; font-family: var(--font-body); font-size: 12.5px; font-weight: 500; color: var(--c-muted); }
.program-row .btn { flex: 0 0 auto; margin-left: auto; }
.section-head__note { max-width: 34ch; }

/* ------------------------------------------------------------------ team */
.team-viewport { overflow-x: auto; overflow-y: hidden; scroll-behavior: smooth; padding-bottom: 6px; scrollbar-width: none; }
.team-viewport::-webkit-scrollbar { display: none; }
.team-track { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.coach-card {
  flex: 0 0 calc((100% - 60px) / 4);
  min-width: 0;
  background: var(--c-ice-soft);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.coach-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.coach-card__media { position: relative; overflow: hidden; }
.coach-card__media img {
  width: 100%; aspect-ratio: 4 / 4.4;
  object-fit: cover; object-position: center 18%;
  transition: transform .5s var(--ease);
}
.coach-card:hover .coach-card__media img { transform: scale(1.04); }
.coach-card__body { padding: 16px 18px 18px; display: flex; align-items: flex-start; gap: 10px; }
.coach-card__name { font-family: var(--font-head); font-size: 17px; font-weight: 700; color: var(--c-ink); line-height: 1.25; }
.coach-card__role { margin-top: 4px; font-size: 13px; line-height: 1.4; color: var(--c-muted); }
.coach-detail-btn {
  margin-left: auto; flex: 0 0 auto;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--c-line); background: #fff; color: var(--c-ink);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background-color .24s var(--ease), color .24s var(--ease), transform .24s var(--ease);
}
.coach-detail-btn:hover { background: var(--c-navy); color: #fff; transform: translateX(2px); }
.coach-detail-btn svg { width: 16px; height: 16px; }
.team-controls { display: flex; gap: 10px; flex: 0 0 auto; }
.round-btn {
  width: 50px; height: 50px; border-radius: 50%;
  border: 1px solid var(--c-line); background: #fff; color: var(--c-ink);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 19px; line-height: 1;
  transition: background-color .24s var(--ease), color .24s var(--ease), border-color .24s var(--ease);
}
.round-btn:hover { background: var(--c-black); color: #fff; border-color: var(--c-black); }

/* ------------------------------------------------------------------ cta */
.cta {
  border-radius: var(--r-lg);
  background: var(--grad);
  color: #fff;
  padding: clamp(26px, 3.2vw, 48px);
  overflow: hidden;
}
.cta__grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(24px, 3vw, 48px); align-items: center; }
.cta__media { position: relative; border-radius: var(--r-md); overflow: hidden; box-shadow: 0 26px 60px rgba(9, 22, 38, .38); }
.cta__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 15%; }
.cta__media::after {
  content: ''; position: absolute; inset: 0; border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(29, 60, 99, .34), rgba(59, 122, 201, 0) 55%, rgba(29, 60, 99, .3));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
}
.cta__copy { max-width: 34ch; }
.cta__form { margin-top: 26px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.field { min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: rgba(255, 255, 255, .74); margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 16px;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-family: var(--font-body); font-size: 15px; line-height: 1.4;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, .58); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: #fff; background: rgba(255, 255, 255, .2);
}
.field textarea { resize: vertical; min-height: 108px; }
.field.has-error input, .field.has-error textarea { border-color: #ffc2c2; background: rgba(255, 120, 120, .16); }
.field__error { display: none; margin-top: 6px; font-size: 12.5px; color: #ffd4d4; }
.field.has-error .field__error { display: block; }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 4px; }
.form-note {
  display: none;
  grid-column: 1 / -1;
  margin-top: 6px;
  padding: 13px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .4);
  color: #fff; font-size: 14px; line-height: 1.5;
  align-items: flex-start; gap: 12px;
}
.form-note.is-visible { display: flex; }
.form-note__close {
  margin-left: auto; flex: 0 0 auto;
  width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .5); background: transparent; color: #fff;
  cursor: pointer; font-size: 14px; line-height: 1;
}
.plan-banner {
  display: none;
  margin-top: 18px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .42);
  color: #fff; font-size: 14px;
}
.plan-banner.is-visible { display: block; }

/* ------------------------------------------------------------------ blog cards */
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.post-tilt { transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.blog-grid .post-tilt:nth-child(1) { transform: rotate(-2deg); }
.blog-grid .post-tilt:nth-child(2) { transform: rotate(.6deg); }
.blog-grid .post-tilt:nth-child(3) { transform: rotate(-1.2deg); }
.blog-grid .post-tilt:hover { transform: rotate(0deg) translateY(-6px); }
.post-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--c-line);
  border-radius: var(--r-md); overflow: hidden;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  height: 100%;
}
.post-card__media { overflow: hidden; }
.post-card__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .5s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1 1 auto; }
.post-card__cat {
  align-self: flex-start;
  padding: 4px 12px; border-radius: var(--r-pill);
  background: var(--c-ice); color: var(--c-navy);
  font-size: 11.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
}
.post-card__title { font-family: var(--font-head); font-size: 19px; font-weight: 700; color: var(--c-ink); line-height: 1.3; }
.post-card__excerpt { font-size: 13.5px; line-height: 1.55; color: var(--c-muted); }
.post-card__foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--c-line); }
.post-card__author { display: flex; align-items: center; gap: 8px; min-width: 0; }
.post-card__author img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.post-card__author span { font-size: 12.5px; font-weight: 600; color: var(--c-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.post-card__meta { margin-left: auto; font-size: 12px; color: var(--c-muted); white-space: nowrap; }

/* ------------------------------------------------------------------ testimonial */
.testimonial { display: block; }
.testimonial__media { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.testimonial__media img { width: 100%; aspect-ratio: 4 / 3.1; object-fit: cover; }
.play-btn {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 74px; height: 74px; border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 14px 34px rgba(9, 22, 38, .28);
  color: var(--c-ink); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background-color .24s var(--ease), transform .24s var(--ease);
}
.play-btn:hover { background: #fff; transform: translate(-50%, -50%) scale(1.06); }
.play-btn svg { width: 24px; height: 24px; margin-left: 3px; }
.testimonial__badge {
  position: absolute; left: 18px; bottom: 18px;
  padding: 8px 14px; border-radius: var(--r-pill);
  background: rgba(16, 22, 25, .62); color: #fff; font-size: 12.5px; font-weight: 500;
}
.t-slide { display: none; }
.t-slide.is-active { display: grid; grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr); gap: clamp(24px, 3vw, 44px); align-items: center; }
.t-stars { display: flex; gap: 3px; color: #f5a623; }
.t-stars svg { width: 19px; height: 19px; }
.t-quote { margin-top: 18px; font-family: var(--font-head); font-size: clamp(20px, 1.9vw, 27px); font-weight: 600; line-height: 1.45; color: var(--c-ink); letter-spacing: -.01em; }
.t-person { margin-top: 22px; display: flex; align-items: center; gap: 12px; }
.t-person img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.t-person__name { font-family: var(--font-head); font-size: 16px; font-weight: 700; color: var(--c-ink); }
.t-person__role { font-size: 13px; color: var(--c-muted); }
.t-controls { margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.t-dots { display: flex; gap: 8px; }
.t-dot {
  width: 9px; height: 9px; border-radius: 50%;
  border: 0; background: #c3d1e2; padding: 0; cursor: pointer;
  transition: background-color .24s var(--ease), width .24s var(--ease);
}
.t-dot.is-active { background: var(--c-navy); width: 26px; border-radius: var(--r-pill); }

/* ------------------------------------------------------------------ faq */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 3vw, 48px); align-items: start; }
.faq__aside { position: sticky; top: 116px; }
.faq__aside h2 { margin-top: 10px; }
.faq__aside p { margin-top: 14px; }
.faq__aside .btn { margin-top: 24px; }
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { border-radius: var(--r-md); background: var(--grad); color: #fff; overflow: hidden; }
.faq-q {
  width: 100%; display: flex; align-items: center; gap: 16px;
  padding: 20px 22px; background: transparent; border: 0;
  color: #fff; text-align: left; cursor: pointer;
  font-family: var(--font-head); font-size: 17px; font-weight: 600; line-height: 1.35;
}
.faq-icon {
  margin-left: auto; flex: 0 0 auto;
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .5);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .3s var(--ease), background-color .3s var(--ease);
}
.faq-icon svg { width: 13px; height: 13px; }
.faq-item.is-open .faq-icon { transform: rotate(180deg); background: rgba(255, 255, 255, .22); }
.faq-a { display: none; padding: 0 22px 22px; font-size: 15px; line-height: 1.68; color: rgba(255, 255, 255, .84); }
.faq-item.is-open .faq-a { display: block; }

/* ------------------------------------------------------------------ footer */
.site-footer { background: var(--c-ice); border-top: 1px solid var(--c-line); padding: 72px 0 28px; margin-top: 96px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) repeat(4, minmax(0, .78fr)); gap: 40px 28px; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { font-size: 14px; line-height: 1.6; color: var(--c-body); max-width: 34ch; }
.newsletter { margin-top: 22px; }
.newsletter__label { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #7286a0; margin-bottom: 9px; }
.newsletter__row { display: flex; gap: 8px; flex-wrap: wrap; }
.newsletter__row input {
  flex: 1 1 170px; min-width: 0;
  padding: 13px 16px; border-radius: var(--r-pill);
  border: 1px solid var(--c-line); background: #fff;
  font-family: var(--font-body); font-size: 14.5px; color: var(--c-ink);
}
.newsletter__row input:focus { outline: none; border-color: var(--c-blue); }
.newsletter__msg { margin-top: 10px; font-size: 13px; line-height: 1.5; color: #2e6c46; display: none; }
.newsletter__msg.is-visible { display: block; }
.newsletter__msg.is-error { color: #a63636; }
.footer-col h3 { font-family: var(--font-head); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #7286a0; margin: 0 0 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li + li { margin-top: 10px; }
.footer-col a, .footer-col span { font-size: 14.5px; color: var(--c-body); text-decoration: none; line-height: 1.5; }
.footer-col a:hover { color: var(--c-navy); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom {
  margin-top: 48px; padding-top: 22px;
  border-top: 1px solid var(--c-line);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  font-size: 13px; color: #7286a0;
}

/* ------------------------------------------------------------------ page header band */
.page-hero {
  width: calc(100% - 48px);
  max-width: calc(var(--maxw) - 48px);
  margin: 22px auto 0;
  border-radius: var(--r-lg);
  background: var(--grad);
  color: #fff;
  padding: clamp(30px, 4vw, 64px);
  overflow: hidden;
}
.page-hero__inner { max-width: 880px; }
.page-hero h1 { color: #fff; margin-top: 18px; }
.page-hero p { margin-top: 18px; font-size: 17px; line-height: 1.68; color: rgba(255, 255, 255, .84); max-width: 62ch; }
.page-hero__meta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px 26px; align-items: center; font-size: 14px; color: rgba(255, 255, 255, .86); }
.page-hero__meta img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.page-hero__author { display: flex; align-items: center; gap: 10px; }
.page-hero__author strong { color: #fff; font-weight: 600; }

/* ------------------------------------------------------------------ blog archive */
.archive-tools {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; margin-bottom: 34px;
}
.filter-group { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn {
  padding: 9px 18px; border-radius: var(--r-pill);
  border: 1px solid var(--c-line); background: #fff; color: var(--c-body);
  font-size: 14px; font-weight: 500; cursor: pointer;
  transition: background-color .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease);
}
.filter-btn:hover { background: var(--c-ice); }
.filter-btn.is-active { background: var(--c-black); color: #fff; border-color: var(--c-black); }
.search-box { position: relative; flex: 1 1 240px; max-width: 340px; }
.search-box input {
  width: 100%; padding: 12px 16px 12px 42px;
  border-radius: var(--r-pill); border: 1px solid var(--c-line); background: #fff;
  font-family: var(--font-body); font-size: 14.5px; color: var(--c-ink);
}
.search-box input:focus { outline: none; border-color: var(--c-blue); }
.search-box svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: #8fa0b3; }
.archive-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.archive-empty {
  display: none; padding: 48px 24px; text-align: center;
  border: 1px dashed var(--c-line); border-radius: var(--r-md);
  color: var(--c-muted); font-size: 15px;
}
.archive-empty.is-visible { display: block; }
.is-filtered-out { display: none; }

/* ------------------------------------------------------------------ article */
.article-hero { margin-top: 22px; }
.article-cover { margin-top: 32px; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.article-cover img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.article-body { max-width: 820px; margin: 0 auto; }
.article-body h2 { font-size: clamp(24px, 2.4vw, 34px); margin-top: 44px; }
.article-body h3 { font-size: clamp(19px, 1.6vw, 23px); margin-top: 32px; }
.article-body p { margin-top: 16px; font-size: 16.5px; line-height: 1.78; color: var(--c-body); }
.article-body ul, .article-body ol { margin-top: 16px; padding-left: 22px; }
.article-body li { font-size: 16.5px; line-height: 1.72; color: var(--c-body); margin-top: 9px; }
.article-body li::marker { color: var(--c-blue); }
.article-body strong { color: var(--c-ink); font-weight: 600; }
.article-callout {
  margin-top: 28px; padding: 22px 24px;
  border-radius: var(--r-md); background: var(--c-ice);
  border-left: 4px solid var(--c-blue);
}
.article-callout p { margin-top: 0; font-size: 15.5px; }
.article-callout p + p { margin-top: 10px; }
.related { margin-top: 72px; padding-top: 40px; border-top: 1px solid var(--c-line); }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 28px; }

/* ------------------------------------------------------------------ style guide */
.sg-block + .sg-block { margin-top: 64px; }
.sg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px; margin-top: 26px; }
.swatch { border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--c-line); background: #fff; }
.swatch__color { height: 96px; }
.swatch__meta { padding: 13px 15px; }
.swatch__name { font-family: var(--font-head); font-size: 14px; font-weight: 700; color: var(--c-ink); }
.swatch__hex { font-size: 12.5px; color: var(--c-muted); text-transform: uppercase; letter-spacing: .04em; }
.type-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 22px; padding: 20px 0; border-bottom: 1px solid var(--c-line); }
.type-row__label { flex: 0 0 168px; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8fa0b3; }
.type-row__sample { flex: 1 1 320px; min-width: 0; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.surface-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; margin-top: 26px; }
.surface-card { border-radius: var(--r-md); padding: 24px; border: 1px solid var(--c-line); min-height: 140px; }
.surface-card h3 { font-size: 17px; }
.surface-card p { margin-top: 8px; font-size: 13.5px; line-height: 1.55; }

/* ------------------------------------------------------------------ changelog / license */
.entry-list { display: flex; flex-direction: column; gap: 22px; margin-top: 34px; }
.entry {
  display: grid; grid-template-columns: 150px minmax(0, 1fr);
  gap: 24px; padding: 24px;
  background: var(--c-ice-soft); border: 1px solid var(--c-line); border-radius: var(--r-md);
}
.entry__date { font-family: var(--font-head); font-size: 14px; font-weight: 700; color: var(--c-navy); }
.entry__tag { display: inline-block; margin-top: 8px; padding: 3px 10px; border-radius: var(--r-pill); background: var(--c-ice); color: var(--c-navy); font-size: 11.5px; font-weight: 600; }
.entry h2 { font-size: clamp(20px, 1.8vw, 26px); }
.entry p { margin-top: 10px; font-size: 15px; line-height: 1.7; }
.entry ul { margin-top: 12px; padding-left: 20px; }
.entry li { font-size: 15px; line-height: 1.68; margin-top: 7px; }
.doc-section { max-width: 900px; }
.doc-section h2 { margin-top: 44px; font-size: clamp(23px, 2.2vw, 31px); }
.doc-section h3 { margin-top: 28px; font-size: 19px; }
.doc-section p { margin-top: 14px; font-size: 16px; line-height: 1.75; }
.doc-section ul { margin-top: 14px; padding-left: 22px; }
.doc-section li { font-size: 16px; line-height: 1.72; margin-top: 8px; }

/* ------------------------------------------------------------------ 404 */
.notfound { display: flex; justify-content: center; padding: 48px 0 24px; }
.notfound__card {
  width: 100%; max-width: 760px;
  border-radius: var(--r-lg);
  background: var(--grad);
  color: #fff; text-align: center;
  padding: clamp(40px, 6vw, 76px) clamp(22px, 4vw, 56px);
}
.notfound__code { font-family: var(--font-head); font-size: clamp(86px, 15vw, 168px); font-weight: 700; line-height: .95; letter-spacing: -.04em; color: #fff; margin: 0; }
.notfound__card h1 { color: #fff; margin-top: 14px; font-size: clamp(24px, 3vw, 38px); }
.notfound__card p { margin-top: 16px; font-size: 16px; line-height: 1.7; color: rgba(255, 255, 255, .84); }
.notfound__card .btn { margin-top: 30px; }

/* ------------------------------------------------------------------ modals */
.modal { position: fixed; inset: 0; z-index: 300; display: none; }
.modal.is-open { display: block; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(16, 22, 25, .62); border: 0; width: 100%; }
.modal__dialog {
  position: relative; z-index: 2;
  width: min(880px, calc(100vw - 32px));
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  margin: 32px auto;
  background: #fff; border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 0;
}
.modal__dialog--narrow { width: min(620px, calc(100vw - 32px)); }
.modal__head {
  position: sticky; top: 0; z-index: 3;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--c-line);
}
@supports (backdrop-filter: blur(8px)) {
  .modal__head { backdrop-filter: blur(10px); }
}
.modal__title { font-family: var(--font-head); font-size: 17px; font-weight: 700; color: var(--c-ink); }
.modal__close {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--c-line); background: #fff; color: var(--c-ink);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background-color .2s var(--ease);
}
.modal__close:hover { background: var(--c-ice); }
.modal__close svg { width: 16px; height: 16px; }
.modal__body { padding: 22px; }
.modal[data-modal="video"] .modal__body { padding: 18px 20px 20px; }

.video-stage { position: relative; border-radius: var(--r-md); overflow: hidden; background: var(--c-navy); }
.video-stage img { width: 100%; max-height: 290px; aspect-ratio: 16 / 9; object-fit: cover; }
.video-stage__caption {
  position: absolute; left: 18px; bottom: 16px; right: 18px;
  color: #fff; font-family: var(--font-head); font-size: 16px; font-weight: 600;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .55);
}
.video-stage::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(9, 20, 34, .78), rgba(9, 20, 34, 0) 58%); pointer-events: none; }
.video-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.video-chapters { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.video-chapters button {
  padding: 8px 14px; border-radius: var(--r-pill);
  border: 1px solid var(--c-line); background: #fff; color: var(--c-body);
  font-size: 13px; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.video-chapters button.is-active { background: var(--c-navy); color: #fff; border-color: var(--c-navy); }

.coach-bio { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 22px; }
.coach-bio__photo { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 4.4; background: var(--c-ice); }
.coach-bio__photo img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: center 18%; }
.coach-bio h3 { font-size: 23px; }
.coach-bio__role { margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--c-blue); }
.coach-bio__text { margin-top: 14px; font-size: 15px; line-height: 1.7; color: var(--c-body); }
.bio-facts { margin-top: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.bio-facts div { padding: 12px 14px; border-radius: 13px; background: var(--c-ice); }
.bio-facts dt { font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: #7d8fa4; }
.bio-facts dd { margin: 4px 0 0; font-size: 14px; font-weight: 600; color: var(--c-ink); }
.bio-tags { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 7px; }
.bio-tags span { padding: 5px 12px; border-radius: var(--r-pill); background: var(--c-ice); color: var(--c-navy); font-size: 12.5px; font-weight: 500; }
.coach-bio__actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.story-summary { display: grid; gap: 16px; }
.story-summary img { width: 100%; border-radius: var(--r-md); aspect-ratio: 16 / 9; object-fit: cover; }
.story-cover { border-radius: var(--r-md); overflow: hidden; background: var(--c-ice); aspect-ratio: 16 / 9; }
.story-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.story-summary ul { padding-left: 20px; }
.story-summary li { margin-top: 8px; font-size: 15px; line-height: 1.65; }

/* ------------------------------------------------------------------ a11y helpers */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 2px solid var(--c-blue); outline-offset: 3px; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (min-width: 992px) {
  .hero__photo img { height: auto; aspect-ratio: 1 / 1; max-height: 450px; }
}

@media (max-width: 1180px) {
  .coach-card { flex: 0 0 calc((100% - 40px) / 3); }
  .program-row__thumb { flex: 0 0 112px; }
}

@media (max-width: 991px) {
  .nav, .header-actions .nav-register { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-inner { height: 74px; }
  .section { padding: 68px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 32px; }

  .hero { padding: 28px 22px 30px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .hero__title { max-width: 100%; }
  .hero__visual { display: flex; flex-direction: column; gap: 26px; }
  .hero__stage { display: flex; flex-direction: column; gap: 14px; max-width: none; margin-left: 0; }
  .hero__photo img { aspect-ratio: 1 / 1; }
  .hero__float { position: static; width: 100%; }
  .trust { justify-content: flex-start; }

  .about__grid { grid-template-columns: minmax(0, 1fr); }
  .about__media { min-height: 340px; }

  .progress-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .progress-card:nth-child(2), .progress-card:nth-child(3), .progress-card:nth-child(4) { margin-top: 0; }

  .program-row { gap: 14px 16px; padding: 22px 0 26px; }
  .program-row__thumb { flex: 0 0 100%; }
  .program-row__thumb img { aspect-ratio: 16 / 8; }
  .program-row .btn { margin-left: 0; }
  .program-row__meta { min-width: 0; }

  .coach-card { flex: 0 0 calc((100% - 20px) / 2); }

  .cta__grid { grid-template-columns: minmax(0, 1fr); }
  .cta__media { max-width: 420px; }
  .cta__copy { max-width: 100%; }

  .blog-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .blog-grid .post-tilt:nth-child(1),
  .blog-grid .post-tilt:nth-child(2),
  .blog-grid .post-tilt:nth-child(3) { transform: none; }
  .blog-grid .post-tilt:hover { transform: translateY(-4px); }

  .t-slide.is-active { grid-template-columns: minmax(0, 1fr); }
  .faq { grid-template-columns: minmax(0, 1fr); }
  .faq__aside { position: static; }

  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .site-footer { padding-top: 54px; margin-top: 68px; }

  .archive-grid { grid-template-columns: minmax(0, 1fr); }
  .related-grid { grid-template-columns: minmax(0, 1fr); }
  .entry { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 20px; }
  .coach-bio { grid-template-columns: minmax(0, 1fr); }
  .coach-bio__photo { max-width: 210px; }
  .article-cover img { aspect-ratio: 16 / 10; }
}

@media (max-width: 640px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .section { padding: 52px 0; }
  .hero { margin-top: 14px; padding: 24px 18px 26px; }
  .hero__lead { font-size: 15.5px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .about__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 20px 16px; }
  .about__stat strong { font-size: 20px; }
  .about__stat span { font-size: 11px; }
  .about__cards { grid-template-columns: minmax(0, 1fr); }
  .progress-grid { grid-template-columns: minmax(0, 1fr); }
  .coach-card { flex: 0 0 86%; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .page-hero { margin-top: 14px; padding: 26px 20px 30px; }
  .modal__dialog { margin: 12px auto; max-height: calc(100vh - 24px); width: calc(100vw - 24px); }
  .modal__dialog--narrow { width: calc(100vw - 24px); }
  .bio-facts { grid-template-columns: minmax(0, 1fr); }
  .faq-q { font-size: 15.5px; padding: 17px 18px; }
  .faq-a { padding: 0 18px 20px; font-size: 14.5px; }
  .type-row__label { flex: 1 1 100%; }
  .article-body p, .article-body li { font-size: 16px; }
  .archive-tools { flex-direction: column; align-items: stretch; }
  .search-box { max-width: 100%; }
}

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

/* ------------------------------------------------------------------ base resets */
figure, figcaption, dl, dd, dt { margin: 0; }
figure { display: block; }

/* ------------------------------------------------------------------ spacing utilities */
.mt-12 { margin-top: 12px; }
.mt-18 { margin-top: 18px; }
.mt-20 { margin-top: 20px; }
.mt-22 { margin-top: 22px; }

/* ------------------------------------------------------------------ style guide helpers */
.sw-white { background: #ffffff; }
.sw-ice { background: #ebf1f8; }
.sw-line { background: #d5dfec; }
.sw-soft { background: #f9fafa; }
.sw-navy { background: #1d3c63; }
.sw-blue { background: #3b7ac9; }
.sw-ink { background: #101619; }
.sw-body { background: #404547; }
.sw-muted { background: #6e6e6e; }
.sw-black { background: #010101; }
.sw-grad { background: var(--grad); }
.btn-demo { background: var(--grad); border-radius: var(--r-md); padding: 24px; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.surface-card--ice { background: var(--c-ice); }
.surface-card--white { background: #fff; box-shadow: var(--shadow-md); }
.surface-card--grad { background: var(--grad); border: 0; }
.surface-card--grad h3 { color: #fff; }
.surface-card--grad p { color: rgba(255, 255, 255, .86); }
.sg-note { margin-top: 18px; font-size: 14px; line-height: 1.65; color: var(--c-muted); max-width: 74ch; }
.entry-cover { margin-top: 32px; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.entry-cover img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }

/* ------------------------------------------------------------------ late overrides */
@media (max-width: 640px) {
  .hero { width: calc(100% - 32px); }
  .page-hero { width: calc(100% - 32px); }
}

