/* ============================================================
   PRIME COACHING — layout wireframe
   Palette: grey wireframe only. Accent via --accent (re-themed).
   ============================================================ */

:root {
  --bg: #ededed;
  --surface: #e2e2e2;
  --surface-2: #dcdcdc;
  --line: #c6c6c6;
  --ink: #333333;
  --muted: #777777;
  --faint: #9a9a9a;

  --accent: var(--pop);
  --accent-ink: var(--pop-ink);

  --font-display: 'Anton', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  --container: 1160px;
  --header-h: 68px;
  --radius: 4px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }
button { font-family: inherit; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 10000;
  background: var(--ink); color: var(--bg); padding: 10px 16px; font-size: 14px;
}
.skip-link:focus { left: 8px; top: 8px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- Placeholder boxes ---------- */
.img-ph {
  background: var(--surface-2);
  border: 1px dashed #a8a8a8;
  display: flex; align-items: center; justify-content: center;
  font: 500 11px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .22em; text-transform: uppercase;
  color: #8a8a8a; text-align: center; padding: 16px;
}

/* ---------- Type helpers ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 18px;
}
.eyebrow__tick { width: 26px; height: 2px; background: var(--accent); flex: none; transition: background .35s var(--ease); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 400; line-height: 1.08; letter-spacing: .01em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-sub { color: var(--muted); max-width: 560px; }
.text-accent { color: var(--accent); transition: color .35s var(--ease); }

.section { padding: 96px 0; }
.section-head { margin-bottom: 48px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px;
  font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid var(--ink); border-radius: 2px;
  cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn--primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); }
.btn--small { padding: 10px 18px; font-size: 12px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  transition: background .35s var(--ease);
}
.header.is-scrolled { background: #e7e7e7; }
.header__inner { display: flex; align-items: center; gap: 32px; height: var(--header-h); }

.logo { display: flex; align-items: center; gap: 12px; flex: none; }
.logo__mark {
  width: 40px; height: 40px; flex: none;
  border: 1px dashed #a8a8a8; background: var(--surface-2);
  display: flex; align-items: center; justify-content: center;
  font: 500 9px/1 ui-monospace, monospace; letter-spacing: .14em; color: #8a8a8a;
}
.logo__text {
  font-size: 15px; font-weight: 700; letter-spacing: .02em; line-height: 1.25;
  display: flex; flex-direction: column;
}
.logo__text span { font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }

.nav { display: flex; gap: 28px; margin-left: auto; }
.nav__link {
  font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); padding: 6px 0; position: relative;
  transition: color .3s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease), background .35s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: 14px; }
.nav + .header__actions { margin-left: 0; }
.header__actions { margin-left: auto; }
.nav ~ .header__actions { margin-left: 0; }

.menu-toggle {
  display: none;
  width: 42px; height: 42px;
  background: none; border: 1px solid var(--line); border-radius: 2px;
  cursor: pointer; padding: 10px;
  flex-direction: column; justify-content: center; gap: 5px;
}
.menu-toggle span { display: block; height: 2px; background: var(--ink); transition: transform .35s var(--ease), opacity .3s var(--ease); }
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 99;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 12px 24px 20px;
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: transform .35s var(--ease), opacity .35s var(--ease), visibility .35s;
}
.mobile-menu.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
.mobile-menu__link {
  display: block; padding: 13px 4px;
  font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}
.mobile-menu__link--cta { color: var(--accent); }
.mobile-menu__meta { padding: 14px 4px 0; font-size: 12px; color: var(--faint); letter-spacing: .06em; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 0; }
.hero__inner {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
  padding-bottom: 64px;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(42px, 5.6vw, 72px);
  font-weight: 400; line-height: 1.04; letter-spacing: .01em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero__lede { color: var(--muted); max-width: 480px; margin-bottom: 32px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__art { aspect-ratio: 4 / 5; width: 100%; max-height: 560px; }

.stat-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat-row__cell {
  padding: 26px 24px 30px;
  border-left: 1px solid var(--line);
}
.stat-row__cell:first-child { border-left: 0; padding-left: 0; }
.stat-row dt {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.8vw, 38px); line-height: 1;
  margin-bottom: 8px;
}
.stat-row dd { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ---------- Programs ---------- */
.programs__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.program-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .35s var(--ease);
}
.program-card:hover { border-color: var(--faint); }
.program-card__media { aspect-ratio: 16 / 8; border: 0; border-bottom: 1px dashed #a8a8a8; }
.program-card__body { padding: 32px; display: flex; flex-direction: column; flex: 1; }
.program-card__tag {
  display: inline-block; align-self: flex-start;
  background: var(--accent); color: var(--accent-ink);
  font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 2px; margin-bottom: 16px;
  transition: background .35s var(--ease), color .35s var(--ease);
}
.program-card__title {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 400; text-transform: uppercase; letter-spacing: .01em;
  margin-bottom: 12px;
}
.program-card__body > p:not(.program-card__tag) { color: var(--muted); margin-bottom: 20px; }
.program-card__list { margin-bottom: 28px; }
.program-card__list li {
  padding: 10px 0 10px 24px; position: relative;
  font-size: 14px; border-top: 1px solid var(--line);
}
.program-card__list li::before {
  content: ""; position: absolute; left: 2px; top: 17px;
  width: 8px; height: 8px; background: var(--accent);
  transition: background .35s var(--ease);
}
.program-card__btn { margin-top: auto; align-self: flex-start; }

/* ---------- Results band ---------- */
.results {
  background: var(--ink); color: var(--bg);
  padding: 96px 0;
}
.section-head--light .section-title { color: var(--bg); }
.eyebrow--light { color: #a5a5a5; }

.results__stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid #4a4a4a;
  margin-bottom: 28px;
}
.results__stat { padding: 30px 26px 34px; border-left: 1px solid #4a4a4a; }
.results__stat:first-child { border-left: 0; }
.results__stat dt {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 46px); line-height: 1;
  color: var(--bg); margin-bottom: 10px;
}
.results__stat dd { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #a5a5a5; }

.results__reviews { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.review-card {
  background: #3b3b3b;
  border: 1px solid #4a4a4a; border-radius: var(--radius);
  padding: 32px;
}
.stars { display: flex; gap: 4px; margin-bottom: 18px; }
.stars svg { width: 15px; height: 15px; fill: var(--accent); transition: fill .35s var(--ease); }
.review-card p { color: #d5d5d5; margin-bottom: 20px; }
.review-card footer strong { display: block; font-size: 14px; }
.review-card footer span { font-size: 12px; color: #a5a5a5; letter-spacing: .06em; }

/* ---------- Pricing ---------- */
.billing-toggle {
  display: inline-flex; gap: 4px;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 3px;
  padding: 4px; margin-bottom: 12px;
}
.billing-toggle__btn {
  padding: 10px 22px;
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
  background: transparent; border: 0; border-radius: 2px; cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease);
}
.billing-toggle__btn.is-active { background: var(--accent); color: var(--accent-ink); }
.billing-note { font-size: 13px; color: var(--faint); margin-bottom: 40px; }

.pricing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
.price-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 32px;
  display: flex; flex-direction: column;
  transition: border-color .35s var(--ease);
}
.price-card:hover { border-color: var(--faint); }
.price-card--featured { background: var(--surface-2); border-color: var(--faint); }
.price-card__badge {
  position: absolute; top: -13px; left: 32px;
  background: var(--accent); color: var(--accent-ink);
  font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 2px;
  transition: background .35s var(--ease), color .35s var(--ease);
}
.price-card__name {
  font-family: var(--font-display);
  font-size: 26px; font-weight: 400; text-transform: uppercase; letter-spacing: .01em;
  margin-bottom: 8px;
}
.price-card__desc { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.price-card__price {
  display: flex; align-items: baseline; gap: 10px;
  padding: 18px 0; margin-bottom: 24px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 46px; line-height: 1;
}
.price-card__per { font-family: var(--font-body); font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: .04em; }
.price-card__list { margin-bottom: 32px; }
.price-card__list li {
  padding: 9px 0 9px 24px; position: relative; font-size: 14px;
  border-top: 1px solid var(--line);
}
.price-card__list li::before {
  content: ""; position: absolute; left: 2px; top: 16px;
  width: 8px; height: 8px; background: var(--accent);
  transition: background .35s var(--ease);
}
.price-card__btn { margin-top: auto; }

/* ---------- Coach bio ---------- */
.coach { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.coach__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.coach__media { aspect-ratio: 4 / 5; }
.coach__creds { margin: 32px 0 36px; border-top: 1px solid var(--line); }
.coach__creds li {
  display: flex; justify-content: space-between; gap: 24px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.coach__cred-label { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); padding-top: 2px; }

/* ---------- Apply ---------- */
.apply__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.apply__points { margin: 28px 0 36px; }
.apply__points li { padding: 10px 0 10px 24px; position: relative; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); }
.apply__points li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 8px; height: 8px; background: var(--accent); transition: background .35s var(--ease); }
.apply__contact { font-size: 14px; color: var(--muted); }
.apply__contact a { font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--faint); transition: border-color .3s var(--ease); }
.apply__contact a:hover { border-color: var(--ink); }
.apply__contact p + p { margin-top: 6px; }

.apply__panel {
  background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px;
}
.apply-form { display: grid; gap: 22px; }

.field label, .field legend {
  display: block;
  font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px;
}
.field input[type="text"], .field input[type="email"], .field select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line); border-radius: 2px;
  padding: 13px 14px;
  font: inherit; font-size: 15px; color: var(--ink);
  transition: border-color .3s var(--ease);
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23777' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 12px;
  padding-right: 40px;
}
.field input::placeholder { color: var(--faint); }
.field input:focus, .field select:focus { outline: none; border-color: var(--accent); }
.field.has-error input, .field.has-error select { border-color: #8a8a8a; border-style: dashed; }
.field__error { font-size: 12.5px; color: var(--ink); margin-top: 7px; font-weight: 600; }
.field__error::before { content: "! "; font-weight: 700; }

.field--radios { border: 0; }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-pill { position: relative; cursor: pointer; }
.radio-pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radio-pill span {
  display: inline-block;
  padding: 10px 18px;
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted);
  background: var(--bg); border: 1px solid var(--line); border-radius: 2px;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.radio-pill:hover span { border-color: var(--faint); color: var(--ink); }
.radio-pill input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.radio-pill input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.apply-form__submit { width: 100%; padding: 16px; }
.apply-form__privacy { font-size: 12.5px; color: var(--faint); text-align: center; }

.apply-success { text-align: center; padding: 32px 8px; }
.apply-success__icon {
  width: 64px; height: 64px; margin: 0 auto 24px;
  background: var(--accent); color: var(--accent-ink);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background .35s var(--ease), color .35s var(--ease);
}
.apply-success__icon svg { width: 30px; height: 30px; }
.apply-success h3 {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 400; text-transform: uppercase;
  margin-bottom: 12px;
}
.apply-success p { color: var(--muted); max-width: 380px; margin: 0 auto 28px; }

/* ---------- Footer ---------- */
.footer { background: var(--surface-2); border-top: 1px solid var(--line); }
.footer__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px;
  padding: 64px 24px;
}
.footer__col--brand p { font-size: 14px; color: var(--muted); margin-top: 18px; max-width: 300px; }
.footer__col h3 {
  font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--faint); margin-bottom: 16px;
}
.footer__col address, .footer__col .hours { font-size: 14px; color: var(--muted); line-height: 1.9; }
.footer__col a { border-bottom: 1px solid transparent; transition: border-color .3s var(--ease); }
.footer__col a:hover { border-color: var(--ink); }
.hours td { padding-right: 18px; }
.footer__links li { padding: 4px 0; font-size: 14px; color: var(--muted); }
.footer__bar { border-top: 1px solid var(--line); }
.footer__bar-inner {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 20px; padding-bottom: 20px;
  font-size: 12px; color: var(--faint); letter-spacing: .04em;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__art { aspect-ratio: 16 / 10; max-height: none; }
  .coach__inner, .apply__inner { grid-template-columns: 1fr; gap: 44px; }
  .coach__media { max-width: 440px; }
  .pricing__grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav { display: none; }
  .menu-toggle { display: flex; }
  .header__actions .btn { display: none; }
  .section { padding: 72px 0; }
  .results { padding: 72px 0; }
  .hero { padding-top: 48px; }
  .programs__grid { grid-template-columns: 1fr; }
  .results__stats { grid-template-columns: 1fr 1fr; }
  .results__stat { border-left: 0; border-top: 1px solid #4a4a4a; }
  .results__stat:nth-child(-n+2) { border-top: 0; }
  .results__stat:nth-child(even) { border-left: 1px solid #4a4a4a; }
  .results__reviews { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .stat-row__cell { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .stat-row__cell:nth-child(-n+2) { border-top: 0; }
  .stat-row__cell:nth-child(even) { border-left: 1px solid var(--line); padding-left: 24px; }
  .apply__panel { padding: 28px 22px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; padding: 48px 24px; }
}

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

/* COLOUR OPTION — accent is re-themed by the corner widget; default is wireframe grey */
:root { --pop: #9a9a9a; --pop-ink: #ffffff; }
