/* AEGIS Coaching — variant 1 (black / gold / serif) */

:root {
  --bg: #0b0b10;
  --navy: #0d0f1c;
  --surface: #0f1016;
  --line: #23242e;
  --line-soft: #1a1b23;
  --fg: #ebe6d8;
  --muted: #9a9aa3;
  --dim: #6c6c76;
  --gold: #c9a53b;
  --gold-ink: #15120a;

  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;

  --wrap: 1120px;
  --gutter: clamp(20px, 5vw, 56px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

[hidden] { display: none !important; }
img { max-width: 100%; display: block; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, dl, dd, figure { margin: 0; }
button { font: inherit; color: inherit; }
i { font-style: normal; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.center { text-align: center; }
.gold { color: var(--gold); }
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.serif { font-family: var(--serif); font-weight: 400; line-height: 1.1; letter-spacing: -.005em; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--gold-ink); padding: 8px 12px; border-radius: 3px;
  font-family: var(--mono); font-size: 12px;
}
.skip:focus { top: 12px; }

/* ---------- Type scale ---------- */
.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.9rem, 8.2vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: -.01em;
  max-width: 24ch;
  margin-inline: auto;
  text-wrap: balance;
}
.h2 {
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  text-wrap: balance;
}
.eyebrow { color: var(--gold); display: block; margin-bottom: 18px; }
.lede {
  color: var(--muted);
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
  max-width: 44ch;
  margin-inline: auto;
}
.lede--left { margin-inline: 0; }
.reassure { color: var(--dim); margin-top: 18px; }
.reassure i, .nav__status i, .phone__sub i, .phone__eyebrow i { margin-inline: .5em; color: var(--dim); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  padding: 17px 30px; border-radius: 2px;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.btn--gold { background: var(--gold); color: var(--gold-ink); }
.btn--gold:hover { background: #d9b448; }
.btn--gold[disabled] { opacity: .55; cursor: progress; }
.btn--ghost { border-color: var(--gold); color: var(--gold); padding: 10px 20px; background: transparent; }
.btn--ghost:hover { background: rgba(201,165,59,.1); }
.btn--sm { padding: 13px 20px; font-size: 11px; }
.link { background: none; border: 0; color: var(--dim); cursor: pointer; padding: 6px 0; }
.link:hover { color: var(--fg); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,11,16,.86);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
  padding-top: env(safe-area-inset-top, 0px);
}
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font-family: var(--mono); font-size: 12px; letter-spacing: .18em;
}
.brand__mark { color: var(--gold); flex: none; }
.brand i { margin-inline: .35em; color: var(--dim); }
.nav__status { color: var(--dim); }
@media (max-width: 640px) { .nav__status { display: none; } }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(64px, 10vw, 120px) clamp(56px, 8vw, 96px); text-align: center; }
.hero .lede { margin-top: 26px; }
.hero .btn--gold { margin-top: 34px; }

/* ---------- Application card ---------- */
.app {
  margin-top: clamp(56px, 8vw, 96px);
  text-align: left;
  max-width: 720px;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: clamp(24px, 4vw, 44px) clamp(20px, 4vw, 48px);
  scroll-margin-top: 90px;
}
.app__head { display: flex; justify-content: space-between; color: var(--dim); }
.app__track { height: 1px; background: var(--line); margin: 16px 0 34px; position: relative; }
.app__track i { position: absolute; inset: 0 auto 0 0; width: 16.67%; background: var(--gold); transition: width .35s var(--ease); }

.step { border: 0; padding: 0; margin: 0; min-width: 0; }
.step[hidden] { display: none; }
.step__q {
  font-family: var(--serif); font-size: clamp(1.75rem, 3.4vw, 2.3rem); line-height: 1.12;
  padding: 0; margin-bottom: 14px; text-wrap: balance;
}
.step__help { color: var(--muted); font-size: .98rem; max-width: 52ch; margin-bottom: 26px; }

.choices { display: grid; gap: 10px; }
.choice {
  display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 4px;
  border: 1px solid var(--line); padding: 15px 18px; cursor: pointer; position: relative;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.choice:hover { border-color: #3a3b48; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice b { font-family: var(--mono); font-weight: 500; font-size: 12px; color: var(--gold); }
.choice span { font-size: .98rem; }
.choice:has(input:checked) { border-color: var(--gold); background: rgba(201,165,59,.06); }
.choice:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }

.fields { display: grid; gap: 16px; }
.field { display: grid; gap: 8px; margin-top: 18px; }
.fields .field { margin-top: 0; }
.field__label { color: var(--dim); }
.field__label em { font-style: normal; text-transform: none; letter-spacing: 0; color: var(--dim); }
.field input, .field textarea {
  width: 100%; background: var(--bg); color: var(--fg); border: 1px solid var(--line);
  padding: 13px 14px; font: inherit; border-radius: 2px; resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.app__error { color: #e07a5f; margin: 18px 0 0; text-transform: none; letter-spacing: .02em; font-size: 12px; }
.app__foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px;
  margin-top: 30px;
}
.app__note { color: var(--dim); flex: 1 1 auto; font-size: 10px; }
.app__foot [data-next], .app__foot [data-submit] { margin-left: auto; }
@media (max-width: 480px) {
  .app__note { order: 3; flex-basis: 100%; }
  .app__foot [data-next], .app__foot [data-submit] { margin-left: auto; }
}

.app__done h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 14px; }
.app__done .btn { margin-top: 8px; }

/* ---------- Bands & sections ---------- */
.band { padding-block: clamp(64px, 9vw, 112px); }
.band--navy { background: var(--navy); }

.method .lede { margin-top: 18px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
@media (max-width: 760px) { .cards { grid-template-columns: 1fr; } }
.card { border: 1px solid var(--line); padding: 26px 24px 28px; background: rgba(0,0,0,.12); }
.card__n { color: var(--gold); display: block; margin-bottom: 22px; }
.card h3 { font-size: 1.55rem; margin-bottom: 14px; }
.card p { color: var(--muted); font-size: .95rem; }

.identity { padding-block: clamp(72px, 10vw, 128px); }
.identity__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 820px) { .identity__grid { grid-template-columns: 1fr; } }
.identity .lede { margin-top: 20px; }
.outcomes li {
  font-size: clamp(1.3rem, 2.2vw, 1.6rem); line-height: 1.2;
  padding: 22px 0; border-top: 1px solid var(--line);
}
.outcomes li:last-child { border-bottom: 1px solid var(--line); }

.inside { padding-block: clamp(72px, 10vw, 128px); border-top: 1px solid var(--line-soft); }
.inside__grid {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(28px, 4vw, 48px);
  align-items: center; margin-top: clamp(40px, 6vw, 72px);
}
@media (max-width: 920px) {
  .inside__grid { grid-template-columns: 1fr; }
  .inside__col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
  .inside__col h3 { grid-row: 1; }
  .inside__col p { grid-row: 2; }
}
@media (max-width: 520px) { .inside__col { grid-template-columns: 1fr; } .inside__col h3, .inside__col p { grid-row: auto; } }
.inside__col h3 { font-size: 1.5rem; margin-bottom: 8px; }
.inside__col p { color: var(--muted); font-size: .95rem; }
.inside__col h3 + p { margin-bottom: 30px; }
.inside__col h3 + p:last-child { margin-bottom: 0; }

.phones { display: flex; gap: 16px; justify-content: center; }
@media (max-width: 520px) { .phones { flex-direction: column; align-items: center; } }
.phone {
  width: 188px; min-height: 360px; display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: 22px; padding: 22px 18px;
  background: linear-gradient(180deg, #101119 0%, #0c0d13 100%);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.8);
}
.phone__eyebrow { color: var(--dim); font-size: 9px; }
.phone h4 { font-size: 1.55rem; margin-top: 10px; }
.phone h4 small { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; color: var(--dim); margin-left: 4px; }
.phone__sub { color: var(--muted); font-size: 11px; margin-top: 4px; }
.phone__sub.mono { font-size: 9px; letter-spacing: .08em; }
.phone__bar { height: 3px; background: var(--line); margin: 14px 0 10px; }
.phone__bar i { display: block; height: 100%; background: var(--gold); }
.phone__rows li { display: flex; justify-content: space-between; gap: 8px; font-size: 11.5px; padding: 9px 0; border-bottom: 1px solid var(--line-soft); }
.phone__rows b { color: var(--gold); font-weight: 500; font-size: 10px; letter-spacing: .04em; text-transform: none; }
.phone__rows--meals li { flex-direction: column; gap: 2px; }
.phone__rows--meals small { color: var(--dim); font-size: 10px; }
.phone__stats { display: flex; gap: 18px; margin-top: auto; padding-top: 26px; }
.phone__stats span { display: block; color: var(--dim); font-size: 8.5px; margin-bottom: 4px; }
.phone__stats b { font-weight: 500; font-size: 14px; }
.phone__foot { margin-top: auto; padding-top: 22px; color: var(--dim); font-size: 10px; line-height: 1.5; }

.coach .lede { margin-top: 22px; max-width: 48ch; }
.photos { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 3vw, 20px); max-width: 540px; margin: 48px auto 0; }
.photo__frame {
  aspect-ratio: 4 / 5; border: 1px solid var(--line); display: grid; place-items: center;
  color: var(--dim); background: rgba(0,0,0,.15); overflow: hidden;
}
.photo__frame img { width: 100%; height: 100%; object-fit: cover; }
.photo__frame img.before { object-position: 50% 50%; }
.photo__frame img.now { object-position: 45% 50%; }
.photo figcaption { text-align: center; margin-top: 12px; color: var(--dim); }
.stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px clamp(32px, 6vw, 72px); margin-top: 44px; }
.stats div { text-align: center; }
.stats dt { font-size: clamp(2.2rem, 4.5vw, 3rem); line-height: 1; font-variant-numeric: lining-nums; }
.stats dd { color: var(--dim); margin-top: 6px; }
.about { max-width: 620px; margin: clamp(48px, 7vw, 72px) auto 0; }
.about .eyebrow { margin-bottom: 14px; }
.about p + p { margin-top: 16px; }
.about p:not(.eyebrow) { color: var(--muted); font-size: 1.02rem; }
.about p:not(.eyebrow):first-of-type { color: var(--fg); }

/* ---------- FAQ ---------- */
.faq { padding-block: clamp(72px, 10vw, 128px) clamp(64px, 9vw, 112px); }
.faq__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 820px) { .faq__grid { grid-template-columns: 1fr; } }
.faq__list details { border-top: 1px solid var(--line); }
.faq__list details:last-child { border-bottom: 1px solid var(--line); }
.faq__list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 0; font-size: 1.05rem;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary i { color: var(--gold); font-family: var(--mono); transition: transform .2s var(--ease); }
.faq__list details[open] summary i { transform: rotate(45deg); }
.faq__list details p { color: var(--muted); padding-bottom: 20px; max-width: 56ch; }
.faq__cta { margin-top: clamp(56px, 8vw, 88px); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line-soft); padding-block: 40px 48px; padding-bottom: calc(48px + env(safe-area-inset-bottom, 0px)); }
.footer__legal { color: var(--dim); font-size: .82rem; max-width: 80ch; line-height: 1.6; }
.footer__row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; margin-top: 26px; color: var(--dim); }
.footer__row a { text-decoration: none; }
.footer__row a:hover { color: var(--fg); }

/* ---------- Legal pages ---------- */
.legal { padding-block: clamp(56px, 8vw, 96px); max-width: 720px; }
.legal h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 5vw, 3.2rem); line-height: 1.05; margin-bottom: 8px; }
.legal .mono { color: var(--dim); display: block; margin-bottom: 36px; }
.legal h2 { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--muted); }
.legal ul { list-style: disc; padding-left: 20px; }
.legal a { color: var(--gold); }

/* Link from the coaching page to the self-serve Foundation programme */
.foundation-link { margin-top: 28px; font-size: 13px; color: var(--muted); }
.foundation-link a { color: var(--gold); text-decoration: none; border-bottom: 1px solid rgba(201,165,59,.4); }
.foundation-link a:hover { border-bottom-color: var(--gold); }
