/* Home and about. Tokens only. */

.home-hero { padding-block: var(--space-section) var(--space-2xl); }

/* Stacked: Marv first, then the words — on a phone the picture is the hook.
   Side by side from 50rem: text left, figure right, which is why the text
   column takes order -1 there. A fixed breakpoint instead of auto-fit, so
   there is no width where the stack exists but the ordering does not. */
.home-hero__inner {
  display: grid;
  gap: var(--space-xl);
  align-items: center;
}

@media (min-width: 50rem) {
  .home-hero__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }
  .home-hero__text { order: -1; }
}

.home-hero__title {
  /* ch tracks the condensed face's narrow zero, so this is wider than it
     reads — about four words a line at full size. */
  max-width: 21ch;
  font-size: var(--text-4xl);
}

.home-hero__standfirst {
  max-width: 46ch;
  margin-top: var(--space-lg);
  color: var(--color-ink-secondary);
  font-size: var(--text-lg);
  line-height: var(--leading-snug);
}

.home-hero__standfirst p { margin: 0; }
.home-hero__standfirst p + p { margin-top: var(--space-sm); }

.home-hero__tracks {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-top: var(--space-lg);
  padding: 0;
  list-style: none;
  color: var(--color-ink-secondary);
  font-size: var(--text-sm);
}

/* A marker on every item, including the first. Laid out as a column because
   the hero text sits in a narrow grid track and three track names never fit
   on one line at any realistic width. */
.home-hero__tracks li {
  display: flex;
  align-items: baseline;
  gap: var(--space-sm);
}

.home-hero__tracks li::before {
  content: "";
  flex: none;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--color-accent);
}

.home-hero__cta { margin-top: var(--space-xl); }

.home-hero__price {
  margin-top: var(--space-sm);
  color: var(--color-ink-muted);
  font-size: var(--text-sm);
}

/* The hero image is a cutout of Marv on a transparent background. He stands
   on the panel's bottom edge: padding on three sides, none below. */
.home-hero__figure {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin: 0;
  padding: var(--space-xl) var(--space-xl) 0;
  border-radius: var(--radius-sm);
  background: var(--color-surface-sunken);
}

.home-hero__figure img {
  width: auto;
  max-width: 100%;
  max-height: 34rem;
  object-fit: contain;
  object-position: bottom;
}

/* Keep the stacked hero compact enough that the button stays near reach.
   Must sit after the base rule above: same specificity, cascade decides. */
@media (max-width: 49.99rem) {
  .home-hero__figure img { max-height: 22rem; }
}

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

/* A stat bar, not a sentence: five equal cells, each a display-face lead
   over a quiet detail, centred. The cream step sits between the white hero
   and the orange proof band. */
.creds {
  padding-block: var(--space-lg);
  background: var(--color-accent-quiet);
}

/* Flex, not grid: five cells can wrap 3+2 at middle widths, and a wrapped
   flex row centres itself where a grid row leaves a hole at the end. */
.creds__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md) var(--space-lg);
  /* Block axis only: a plain margin/padding reset here also killed the
     .container class's auto inline margins, which pinned the whole strip to
     the left edge — invisible at narrow widths, glaring on a wide monitor. */
  margin-block: 0;
  padding-block: 0;
  list-style: none;
}

.creds__cell {
  display: flex;
  flex: 0 1 11.5rem;
  flex-direction: column;
  gap: var(--space-3xs);
  text-align: center;
  text-wrap: balance;
}

.creds__lead {
  font-family: var(--font-display);
  font-size: var(--text-base);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  line-height: var(--leading-snug);
}

.creds__detail {
  color: var(--color-ink-muted);
  font-size: var(--text-xs);
  line-height: var(--leading-snug);
}

/* --- the result ---------------------------------------------------------- */

/* The old site bookends every page with solid orange bands; this is that
   moment here, and it carries the one outcome claim. Ink on orange, as the
   old site set its own text on these bands. */
.home-result {
  padding-block: var(--space-3xl);
  background-color: var(--color-accent);
  color: var(--color-ink);
  text-align: center;
}

.home-result__statement {
  max-width: 26ch;
  margin-inline: auto;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--weight-normal);
  line-height: 1.15;
  letter-spacing: var(--tracking-display);
  text-wrap: balance;
}

/* The claim in plain prose under the headline — who, and over what. */
.home-result__detail {
  max-width: 58ch;
  margin-inline: auto;
  margin-top: var(--space-sm);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  text-wrap: pretty;
}

.home-result__eyebrow {
  margin-bottom: var(--space-md);
  color: var(--color-ink);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  opacity: .75;
}

.home-result__attribution {
  margin-top: var(--space-md);
  color: var(--color-ink);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
}

.home-result__link { margin-top: var(--space-sm); font-size: var(--text-sm); }
.home-result__link a { color: var(--color-ink); font-weight: var(--weight-semibold); }

/* --- short bio ----------------------------------------------------------- */

.home-bio { padding-block: var(--space-section); }

.home-bio__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: var(--space-2xl);
  align-items: start;
}

.home-bio__figure { max-width: 20rem; }
.home-bio__figure img { width: 100%; height: auto; }
.home-bio__more { margin-top: var(--space-md); font-size: var(--text-sm); }

/* --- overview ------------------------------------------------------------ */

.home-overview { padding-block: var(--space-section); }

.home-overview .section__title,
.home-overview .section__lede {
  margin-inline: auto;
  text-align: center;
}

.home-overview { background: var(--color-surface-sunken); }

.doors {
  list-style: none;
  margin: var(--space-xl) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: var(--space-md);
  align-items: stretch;
}

.door {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: var(--border-hairline) solid var(--color-rule);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--transition-base),
    transform var(--transition-base), box-shadow var(--transition-base);
}

.door:hover {
  border-color: var(--color-rule-strong);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -18px var(--color-ink);
}

/* The consult door: the highest-margin offer gets the accent edge. */
.door--featured { border-top: 4px solid var(--color-accent); }

.door__media img { display: block; width: 100%; aspect-ratio: 720 / 440; object-fit: cover; }

.door__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--space-md);
}

.door__name {
  font-family: var(--font-sans);
  font-size: var(--text-md);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-snug);
  text-transform: none;
}

/* Stretched link: the whole card is the target… */
.door__cover { color: inherit; text-decoration: none; }
.door__cover::after { content: ""; position: absolute; inset: 0; }

/* …except the secondary links, which sit above the cover. */
.door__also { position: relative; z-index: 1; }

.door__price {
  margin-top: var(--space-3xs);
  color: var(--color-accent-hover);
  font-size: var(--text-md);
  font-weight: var(--weight-semibold);
}

.door__blurb {
  margin-top: var(--space-2xs);
  color: var(--color-ink-secondary);
  font-size: var(--text-sm);
}

.door__also {
  margin: var(--space-sm) 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xs) var(--space-md);
  font-size: var(--text-xs);
}

.door__go {
  margin-top: auto;
  padding-top: var(--space-sm);
  color: var(--color-accent-hover);
  font-size: var(--text-2xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
}

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

/* --- philosophy ----------------------------------------------------------- */

.philosophy { padding-block: var(--space-section); }

.philosophy__inner { max-width: 44rem; margin-inline: auto; text-align: center; }

.philosophy__quote {
  margin: 0;
  padding: 0;
  border: 0;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-style: normal;
  line-height: 1.15;
  letter-spacing: var(--tracking-display);
  text-transform: uppercase;
  text-wrap: balance;
}

.philosophy__body {
  max-width: 38rem;
  margin: var(--space-md) auto 0;
  color: var(--color-ink-secondary);
}

.philosophy__body p { margin: 0; }
.philosophy__body p + p { margin-top: var(--space-sm); }

.philosophy__more { margin-top: var(--space-sm); font-size: var(--text-sm); }

/* --- heard on ------------------------------------------------------------- */

/* The same cream ground as the credential bar: the page's two proof strips
   share one visual language. One mic mark identifies the row — a single
   considered glyph, not an icon set. */
.heard-on { background: var(--color-accent-quiet); }

.heard-on__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-2xs) var(--space-lg);
  padding-block: var(--space-md);
}

.heard-on__heading {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-caps);
  color: var(--color-ink-muted);
}

.heard-on__mic {
  width: 1.3em;
  height: 1.3em;
  color: var(--color-accent-hover);
  /* Optically sit on the text baseline despite the stem. */
  transform: translateY(0.08em);
}

.heard-on__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xs) var(--space-md);
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--color-ink-secondary);
}

.heard-on__more { margin: 0; font-size: var(--text-xs); }

/* --- final band ----------------------------------------------------------- */

/* The page's other orange bookend, closing with the ask restated. */
.final-band {
  padding-block: var(--space-3xl);
  background: var(--color-accent);
  color: var(--color-ink);
  text-align: center;
}

.final-band__eyebrow {
  margin-bottom: var(--space-md);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  opacity: .75;
}

.final-band__heading {
  max-width: 22ch;
  margin-inline: auto;
  font-size: var(--text-2xl);
}

.final-band__cta { margin-top: var(--space-lg); }
.final-band .button {
  background: var(--color-ink);
  border-bottom-color: var(--color-ink);
  color: var(--color-on-accent);
}
.final-band .button:hover { background: var(--color-ink); opacity: .88; }

.final-band__secondary { margin-top: var(--space-sm); font-size: var(--text-sm); }
.final-band__secondary a { color: var(--color-ink); font-weight: var(--weight-semibold); }

/* --- chiropractic -------------------------------------------------------- */

.home-chiro {
  padding-block: var(--space-2xl);
  border-top: var(--border-hairline) solid var(--color-rule);
}

.home-chiro__title {
  margin-bottom: var(--space-lg);
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--color-ink-muted);
}

.home-chiro__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: var(--space-lg) var(--space-2xl);
  align-items: center;
}

.home-chiro__logo { width: 100%; max-width: 20rem; height: auto; }

.home-chiro__tagline {
  max-width: 34ch;
  margin-top: var(--space-sm);
  color: var(--color-ink-secondary);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
}

.home-chiro__reviews {
  color: var(--color-accent-hover);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
}

.home-chiro__body {
  max-width: 52ch;
  margin-top: var(--space-2xs);
  color: var(--color-ink-secondary);
  font-size: var(--text-sm);
}

/* The flat-rate hook and what it covers. Two columns of short items so a
   dozen tools take four lines rather than twelve. */
.home-chiro__tools { margin-top: var(--space-md); }

.home-chiro__hook {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  line-height: 1.2;
  letter-spacing: var(--tracking-display);
  text-wrap: balance;
}

.home-chiro__toollist {
  margin: var(--space-sm) 0 0;
  padding: 0;
  list-style: none;
  columns: 2;
  column-gap: var(--space-lg);
  font-size: var(--text-sm);
  color: var(--color-ink-secondary);
}

.home-chiro__toollist li {
  break-inside: avoid;
  padding-left: 1.1em;
  margin-bottom: 0.35em;
  text-indent: -1.1em;
}

.home-chiro__toollist li::before {
  content: "\2014";
  margin-right: 0.45em;
  color: var(--color-accent);
}

@media (max-width: 30rem) {
  .home-chiro__toollist { columns: 1; }
}

.home-chiro__toolshot {
  display: block;
  margin-top: var(--space-md);
  max-width: 22rem;
}

.home-chiro__toolshot img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

.home-chiro__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

/* --- about --------------------------------------------------------------- */

.about { padding-block: var(--space-section); }

.about__title {
  font-size: var(--text-2xl);
  line-height: var(--leading-snug);
}

.about__standfirst {
  max-width: 52ch;
  margin-top: var(--space-md);
  color: var(--color-ink-secondary);
  font-size: var(--text-lg);
  line-height: var(--leading-snug);
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
  gap: var(--space-md);
  margin: var(--space-xl) 0 0;
  padding: var(--space-md) 0;
  border-block: var(--border-hairline) solid var(--color-rule);
  list-style: none;
}

.about__stats li { display: flex; flex-direction: column; gap: var(--space-3xs); }

.about__stat-number {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  line-height: 1;
  color: var(--color-accent-hover);
}

.about__stat-label {
  color: var(--color-ink-muted);
  font-size: var(--text-2xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
}

.about__cta {
  margin-top: var(--space-2xl);
  padding-top: var(--space-lg);
  border-top: var(--border-hairline) solid var(--color-rule);
}
.about__cta p:first-child { color: var(--color-ink-secondary); }

.about__portrait { margin: var(--space-xl) 0; }
.about__portrait img { width: 100%; height: auto; }

.about__quote {
  margin-block: var(--space-xl);
  padding-left: var(--space-md);
  border-left: var(--border-thick) solid var(--color-accent);
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-tight);
}

.about__body p + p { margin-top: var(--space-md); }

