/* Layout: editorial left-aligned, asymmetric. Full-bleed bands, inner .wrap holds the gutter.
   Boldness lives in the display type and the single coral accent; everything else stays quiet. */

:root {
  --paper:  #FCFCFB;
  --surface:#F2F1EE;
  --ink:    #22262A;
  --muted:  #54585E;
  --line:   #DCDAD5;
  --accent: #D4453F;
  --accent-soft: #FBEDEC;
  --shadow-lead: 0 18px 38px -20px rgba(21, 24, 27, .30);
  --band:   #22262A;
  --band-ink:#F3F2EF;
  --band-muted:#9EA3A9;

  /* Type scale. Every font-size and letter-spacing below comes from these. */
  --fs-3xl: clamp(2.1rem, 5.2vw, 3.4rem);
  --fs-2xl: clamp(1.55rem, 3.2vw, 2.25rem);
  --fs-xl:  2.25rem;
  --fs-lg:  1.5rem;
  --fs-md:  1.25rem;
  --fs-lede: clamp(1.05rem, 1.7vw, 1.2rem);
  --fs-base: 1rem;
  --fs-sm:  0.925rem;
  --fs-xs:  0.8rem;
  --fs-2xs: 0.72rem;

  --ls-tight: -0.03em;
  --ls-head:  -0.02em;
  --ls-snug:  -0.01em;
  --ls-wide:   0.08em;
  --ls-label:  0.14em;

  --display: "Figtree", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --body: "Figtree", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

  --gut-l: max(20px, env(safe-area-inset-left, 0px));
  --gut-r: max(20px, env(safe-area-inset-right, 0px));
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper:  #15181B;
    --surface:#1E2227;
    --ink:    #ECEDEA;
    --muted:  #9BA1A8;
    --line:   #2A2E32;
    --accent: #F2635C;
    --accent-soft: #2B1A19;
    --shadow-lead: 0 18px 38px -18px rgba(0, 0, 0, .72);
    --band:   #0F1214;
    --band-ink:#ECEDEA;
    --band-muted:#8A9097;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper:  #15181B;
  --surface:#1E2227;
  --ink:    #ECEDEA;
  --muted:  #9BA1A8;
  --line:   #2A2E32;
  --accent: #F2635C;
  --accent-soft: #2B1A19;
  --shadow-lead: 0 18px 38px -18px rgba(0, 0, 0, .72);
  --band:   #0F1214;
  --band-ink:#ECEDEA;
  --band-muted:#8A9097;
  color-scheme: dark;
}

* { box-sizing: border-box; }

/* Anchor targets must clear the sticky nav, or the heading lands underneath it. */
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: calc(5.5rem + env(safe-area-inset-top, 0px)); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16.5px;
  line-height: 1.66;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--paper);
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: var(--gut-l);
  padding-right: var(--gut-r);
}
.wrap--narrow { max-width: 760px; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: var(--ls-snug);
  line-height: 1.16;
  text-wrap: balance;
  margin: 0;
}

h1 { font-size: var(--fs-3xl); letter-spacing: var(--ls-head); }
h2 { font-size: var(--fs-2xl); letter-spacing: var(--ls-head); }
h3 { font-size: var(--fs-md); letter-spacing: var(--ls-snug); }

p { margin: 0; }
a { color: inherit; }

.lede {
  font-size: var(--fs-lede);
  line-height: 1.6;
  color: var(--muted);
  max-width: 34em;
}

.eyebrow {
  font-family: var(--display);
  font-size: var(--fs-2xs);
  font-weight: 600;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow--quiet { color: var(--muted); }

.prose { display: flex; flex-direction: column; gap: 1.6rem; max-width: 36em; }
.prose p { color: var(--muted); }
.prose strong { color: var(--ink); font-weight: 600; }

/* ---------- announcement + nav ---------- */

.announce {
  background: var(--accent);
  color: #fff;
}
.announce__link {
  color: inherit;
  text-decoration: none;
  display: inline-block;
}
.announce__link:hover { text-decoration: underline; text-underline-offset: 3px; }
.announce__link span { display: inline-block; transition: transform .15s ease; }
.announce__link:hover span { transform: translateX(3px); }
.announce .wrap {
  padding-block: 0.55rem;
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wide);
  text-align: center;
  font-weight: 600;
}

.nav {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap {
  padding-block: 0.9rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  flex: 0 0 auto;
}
.brand__mark { display: block; height: 26px; width: auto; }
.brand--foot { color: var(--band-ink); margin-bottom: 1rem; }
.brand--foot .brand__mark { height: 30px; }
/* The wordmark keeps its colour on hover; only other links take the accent. */
.brand:hover, .foot .brand:hover { color: inherit; }
@media (max-width: 420px) { .brand__mark { height: 22px; } }
.navlinks {
  display: flex;
  gap: 1.4rem;
  margin-left: auto;
  flex-wrap: wrap;
  align-items: center;
}
.navlinks a {
  font-size: var(--fs-xs);
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
}
.navlinks a:hover { color: var(--ink); }
.navlinks a.on { color: var(--ink); font-weight: 600; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.9rem 1.6rem;
  border-radius: 5px;
  border: 1.5px solid var(--accent);
  background: var(--accent);
  color: #fff;
  transition: opacity .15s ease;
}
.btn:hover { opacity: .88; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); opacity: 1; }
.btn--light { background: var(--band-ink); color: var(--band); border-color: var(--band-ink); }

.btnrow { display: flex; gap: 0.7rem; flex-wrap: wrap; }

a:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- sections ---------- */

.sec { padding-block: clamp(3.5rem, 7vw, 6rem); }
.sec--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.sec--surface { background: var(--surface); }
.sec--band { background: var(--band); color: var(--band-ink); }
.sec--band .lede, .sec--band .prose p { color: var(--band-muted); }
.sec--band .prose strong { color: var(--band-ink); }
.sec--band .eyebrow--quiet { color: var(--band-muted); }

.sechead { display: flex; flex-direction: column; gap: 0.9rem; margin-bottom: 2.6rem; }

/* ---------- grids ---------- */

.cols {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.6rem);
}
.cols--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .cols--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px)  { .cols--4 { grid-template-columns: minmax(0, 1fr); } }
.cols--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols--split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: start; }

@media (max-width: 860px) {
  .cols--3, .cols--2, .cols--split { grid-template-columns: minmax(0, 1fr); }
}

.pillar { display: flex; flex-direction: column; gap: 0.6rem; min-width: 0; }
.pillar h3 { font-size: var(--fs-base); }
.pillar p { color: var(--muted); font-size: var(--fs-sm); }
.sec--band .pillar p { color: var(--band-muted); }

/* ---------- price cards ---------- */

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
  align-items: start;
}
@media (max-width: 920px) { .plans { grid-template-columns: minmax(0, 1fr); } }

.plan {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: 1.7rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  min-width: 0;
  height: 100%;
}
.plan--lead {
  border-color: var(--ink);
  box-shadow: var(--shadow-lead);
}
.plan__tag {
  font-family: var(--display);
  font-size: var(--fs-2xs);
  font-weight: 600;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--accent);
}
.plan__name { font-size: var(--fs-lg); }
.plan__price {
  font-family: var(--display);
  font-size: var(--fs-xl);
  font-weight: 600;
  letter-spacing: var(--ls-tight);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.plan__price span {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0;
  color: var(--muted);
}
.plan__who { font-size: var(--fs-sm); color: var(--muted); }
.plan__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.plan__list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: var(--fs-sm);
  line-height: 1.5;
}
.plan__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.plan .btn { margin-top: auto; }

.note { font-size: var(--fs-xs); color: var(--muted); }

/* ---------- included strip ---------- */

.included {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: clamp(1.4rem, 3vw, 2rem);
  background: var(--paper);
}
/* Grid, so rows line up across both columns. Keep each item to one line at desktop width. */
/* Single column on purpose. Two or more columns misalign the moment any item wraps,
   and item length changes every time the copy does. */
.included ul {
  list-style: none; margin: 1.3rem 0 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.72rem;
}
.included li {
  position: relative;
  padding-left: 1.45rem;
  font-size: var(--fs-sm);
  line-height: 1.5;
}
.included li::before {
  content: "";
  position: absolute; left: 0; top: 0.62em;
  width: 9px; height: 2px; background: var(--accent);
}

/* ---------- add-ons ---------- */

.addon {
  display: flex; flex-direction: column; gap: 0.7rem;
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
  min-width: 0;
}
.addon__top { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.addon__price {
  font-family: var(--display); font-weight: 600; font-size: var(--fs-md);
  font-variant-numeric: tabular-nums; letter-spacing: var(--ls-head);
  white-space: nowrap;
}
.addon__price span {
  font-size: var(--fs-xs);
  letter-spacing: 0;
  color: var(--muted);
}
.addon p { color: var(--muted); font-size: var(--fs-sm); max-width: 46em; }
/* Same dash marker as every other list on the site, so the left edges agree. */
.addon ul {
  list-style: none; margin: 0.2rem 0 0; padding: 0;
  display: flex; flex-direction: column; gap: 0.72rem;
}
.addon li {
  position: relative;
  padding-left: 1.45rem;
  color: var(--muted);
  font-size: var(--fs-sm);
  line-height: 1.5;
}
.addon li::before {
  content: "";
  position: absolute; left: 0; top: 0.62em;
  width: 9px; height: 2px; background: var(--accent);
}

/* ---------- readout panel (the diagnostic) ---------- */

.readout {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  padding: 1.4rem;
  min-width: 0;
}
.readout__head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 1rem; flex-wrap: wrap;
  padding-bottom: 0.9rem; margin-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}
.readout__title { font-family: var(--display); font-weight: 600; font-size: var(--fs-sm); letter-spacing: var(--ls-snug); }
.readout__meta { font-size: var(--fs-2xs); color: var(--muted); letter-spacing: var(--ls-wide); text-transform: uppercase; }
.row { display: grid; grid-template-columns: 7.5rem 1fr 3.2rem; gap: 0.8rem; align-items: center; margin-bottom: 0.75rem; }
.row__label { font-size: var(--fs-xs); font-weight: 500; min-width: 0; }
.row__bar { height: 7px; border-radius: 99px; background: var(--surface); overflow: hidden; min-width: 0; }
.row__fill { height: 100%; border-radius: 99px; background: var(--accent); }
.row__fill--ok { background: #3F8F6B; }
.row__val { font-size: var(--fs-xs); font-variant-numeric: tabular-nums; text-align: right; color: var(--muted); white-space: nowrap; }
@media (max-width: 460px) { .row { grid-template-columns: 5.2rem 1fr 3.4rem; gap: 0.5rem; } }

/* ---------- quotes ---------- */

/* Multi-column packs testimonials of very different lengths without leaving gaps. */
.quotes { align-items: start; }

.quote {
  display: flex; flex-direction: column; gap: 1.7rem;
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
  min-width: 0;
}

/* Home page: headline + name only, so the row stays even. */
.pull {
  display: flex; flex-direction: column; gap: 0.9rem;
  padding-top: 1.3rem;
  border-top: 2px solid var(--accent);
  min-width: 0;
}
.pull blockquote {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: var(--fs-lede);
  line-height: 1.4;
  letter-spacing: var(--ls-snug);
  text-wrap: balance;
}
.pull__by { font-size: var(--fs-2xs); letter-spacing: var(--ls-wide); text-transform: uppercase; font-weight: 600; color: var(--muted); }
.pull__by span { text-transform: none; letter-spacing: 0; }
.quote h3 { font-size: var(--fs-base); }
.quote p { color: var(--muted); font-size: var(--fs-sm); }
.quote__by {
  font-size: var(--fs-xs); letter-spacing: var(--ls-wide); text-transform: uppercase;
  color: var(--ink); font-weight: 600;
}
.quote__by span { color: var(--muted); font-weight: 500; text-transform: none; letter-spacing: 0; }
.sec--band .quote { border-color: rgba(255,255,255,.14); }
.sec--band .quote p { color: var(--band-muted); }
.sec--band .quote__by { color: var(--band-ink); }
.sec--band .quote__by span { color: var(--band-muted); }

/* ---------- credentials ---------- */

.creds { display: flex; flex-direction: column; align-items: stretch; gap: 0.55rem; }
.cred {
  font-size: var(--fs-xs);
  font-weight: 500;
  line-height: 1.35;
  padding: 0.65rem 1rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
}

/* ---------- steps ---------- */

.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.6rem; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 2.2rem 1fr; gap: 1rem; counter-increment: s; min-width: 0; }
.steps li::before {
  content: counter(s, decimal-leading-zero);
  font-family: var(--display); font-weight: 600; font-size: var(--fs-xs);
  color: var(--accent); padding-top: 0.25rem;
  font-variant-numeric: tabular-nums;
}
.steps h3 { font-size: var(--fs-base); margin-bottom: 0.3rem; }
.steps p { color: var(--muted); font-size: var(--fs-sm); }
.sec--band .steps p { color: var(--band-muted); }

/* ---------- faq ---------- */

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; padding: 1.05rem 0; list-style: none;
  font-family: var(--display); font-weight: 600; font-size: var(--fs-base);
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 600; font-size: var(--fs-md); }
.faq details[open] summary::after { content: "–"; }
.faq details > p { padding-bottom: 1.2rem; color: var(--muted); font-size: var(--fs-sm); max-width: 44em; }

/* ---------- hero ---------- */

.hero .wrap { padding-block: clamp(3.5rem, 9vw, 7rem); }
.hero__inner { display: flex; flex-direction: column; gap: 1.6rem; align-items: flex-start; }
.hero h1 { max-width: 15ch; }

/* ---------- footer ---------- */

.foot { background: var(--band); color: var(--band-ink); }
.foot .wrap { padding-block: 3rem; display: grid; gap: 2rem; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr) minmax(0,1fr); }
@media (max-width: 760px) { .foot .wrap { grid-template-columns: minmax(0, 1fr); } }
.foot h4 { font-size: var(--fs-2xs); letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--band-muted); margin-bottom: 0.9rem; font-weight: 600; }
.foot a { color: var(--band-ink); text-decoration: none; font-size: var(--fs-sm); display: block; padding: 0.22rem 0; }
.foot a:not(.brand):hover { color: var(--accent); }
.foot p { color: var(--band-muted); font-size: var(--fs-xs); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* Hawker / supermarket swap list inside the readout panel */
.swap__head {
  font-family: var(--display);
  font-size: var(--fs-2xs);
  font-weight: 600;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.75rem;
}
.swap__head + .swaps { margin-bottom: 1.5rem; }
.swaps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.swaps li {
  position: relative;
  padding-left: 1.45rem;
  font-size: var(--fs-sm);
  line-height: 1.5;
}
.swaps li::before {
  content: "";
  position: absolute; left: 0; top: 0.62em;
  width: 9px; height: 2px; background: var(--accent);
}
.swaps:last-child { margin-bottom: 0; }

/* Portraits */
.portrait {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  background: var(--surface);
}
.portrait--round {
  width: min(260px, 100%);
  aspect-ratio: 1;
  height: auto;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  margin-bottom: 0.4rem;
}

/* Track-record figures above the competing athletes */
.record {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 1.4rem 2.4rem;
  padding: 1.6rem 0 0;
  border-top: 1px solid var(--line);
  margin-top: 1.6rem;
}
.record__fig {
  font-family: var(--display);
  font-size: var(--fs-xl);
  font-weight: 600;
  letter-spacing: var(--ls-tight);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  display: block;
  margin-bottom: 0.35rem;
}
.record__label { font-size: var(--fs-sm); color: var(--muted); line-height: 1.4; }

/* Handles link out to Instagram, so a quote can be checked. */
.quote__by a, .pull__by a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.quote__by a:hover, .pull__by a:hover { border-bottom-color: var(--accent); color: var(--accent); }
.sec--band .quote__by a { border-bottom-color: rgba(255,255,255,.25); }

/* Longer stories collapse behind a corner toggle; short ones just show. */
.quote { position: relative; }
.quote h3 { padding-right: 2.75rem; }
/* No flex here: Chromium slots <details> content into an anonymous box, so flex gap
   never lands between the paragraphs. Margins are reliable. */
.quote__more > p { margin: 0; }
.quote__more > p + p { margin-top: 1.7rem; }
.quote__more > summary {
  position: absolute;
  top: 1.55rem;
  right: 0;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  list-style: none;
  color: var(--accent);
  font-size: var(--fs-base);
  line-height: 1;
  transition: border-color .15s ease, background-color .15s ease;
}
.quote__more > summary::-webkit-details-marker { display: none; }
.quote__more > summary::after { content: "+"; transform: translateY(-1px); }
.quote__more[open] > summary::after { content: "\2013"; }
.quote__more > summary:hover { border-color: var(--accent); background: var(--accent-soft); }
.quote__more > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Each section shows six, then reveals the rest. */
.more { margin-top: 2.2rem; }
.more > summary {
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  padding: 0.9rem 1.6rem;
  border: 1.5px solid var(--line);
  border-radius: 5px;
  color: var(--ink);
  transition: border-color .15s ease;
}
.more > summary::-webkit-details-marker { display: none; }
.more > summary::after { content: "\2193"; color: var(--accent); }
.more > summary:hover { border-color: var(--ink); }
.more > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.more[open] > summary { margin-bottom: 1.6rem; }
.more[open] > summary::after { content: "\2191"; }

/* Portrait sits above the credentials so the right column isn't a short stub. */
.coachside { display: flex; justify-content: center; align-self: center; }
.coachside .portrait--round { margin-bottom: 0; }

/* Pull quotes: attribution pinned to the bottom so each row lines up along two edges
   instead of leaving a hole under the shorter quote. */
.cols--2 > .pull { height: 100%; }
.pull__by { margin-top: auto; }
