/* ==========================================================================
   Outlaw Performance Training — design system
   Dark, gritty, editorial. Bebas display / Barlow body / Barlow Condensed UI.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Surfaces */
  --ink:        oklch(13% .005 60);
  --ink-deep:   oklch(9%  .004 60);
  --card:       oklch(17.5% .006 60);
  --card-hi:    oklch(21% .007 60);
  --line:       oklch(27% .008 60);
  --line-soft:  oklch(23% .007 60);

  /* Type */
  --bone:       oklch(95% .012 80);
  --bone-dim:   oklch(72% .012 80);
  --bone-mute:  oklch(56% .010 80);

  /* Accent */
  --blood:      oklch(68% .2 38);
  --blood-hot:  oklch(74% .19 45);
  --blood-deep: oklch(52% .19 32);
  --on-blood:   oklch(12% 0 0);

  --ember-grad: linear-gradient(135deg, oklch(74% .19 45), oklch(56% .21 30));
  --shadow-lg:  0 30px 70px -30px oklch(0% 0 0 / .85);
  --shadow-ember: 0 24px 60px -26px oklch(68% .2 38 / .55);

  /* Rhythm */
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --maxw: 1220px;
  --maxw-narrow: 760px;
  --sect-y: clamp(4.5rem, 9vw, 8.5rem);
  --nav-h: 72px;

  --font-display: "Bebas Neue", "Haettenschweiler", "Impact", sans-serif;
  --font-cond: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, sans-serif;

  --r: 3px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

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

body {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }

::selection { background: var(--blood); color: var(--on-blood); }

/* Set by an inline script in <head>, cleared once the first frame is on screen.
   Without it, anything applied during load animates from its default. */
.is-loading *, .is-loading *::before, .is-loading *::after { transition: none !important; }

:focus-visible {
  outline: 2px solid var(--blood);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Film-grain wash so flat blacks don't band on large screens */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  /* Above every site layer (header sits at 100) but far below third-party
     widgets, so the grain never washes over the chat bubble. */
  z-index: 200;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- 3. Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: .92; letter-spacing: .005em; }

.display-xl { font-size: clamp(3.4rem, 11vw, 8.5rem); }
.display-lg { font-size: clamp(2.9rem, 7.5vw, 6rem); }
.display-md { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.display-sm { font-size: clamp(1.6rem, 2.8vw, 2.15rem); line-height: 1; }

.lede {
  font-size: clamp(1.05rem, 1.55vw, 1.3rem);
  line-height: 1.6;
  color: var(--bone-dim);
  max-width: 62ch;
}
.body-lg { font-size: 1.0625rem; color: var(--bone-dim); }
/* Emphasis in body copy lifts to full bone — weight alone is invisible
   against the dimmed paragraph colour. */
.body-lg strong, .lede strong, .card p strong, .step p strong { color: var(--bone); font-weight: 600; }
.muted { color: var(--bone-mute); }
.accent { color: var(--blood); }

/* Two-tone display headline: second line drops to outline/dim */
.dim-line { color: var(--bone-mute); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--font-cond);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--blood);
  line-height: 1;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--blood);
  flex: none;
}
.eyebrow--center::after {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--blood);
  flex: none;
}

/* ---------- 4. Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: var(--maxw-narrow); }
/* `clip` rather than `hidden`: it contains the off-stage start position of
   right-entering reveals without turning sections into scroll containers. */
.section { padding-block: var(--sect-y); position: relative; overflow-x: clip; }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--alt { background: var(--ink-deep); }
.section-head { max-width: 60ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head > .eyebrow { margin-bottom: 1.25rem; }
.section-head > h2 { margin-bottom: 1.25rem; }
.center { text-align: center; margin-inline: auto; }
.center .lede { margin-inline: auto; }

.rule { height: 1px; background: var(--line-soft); border: 0; }

.grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 430px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 285px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

/* ---------- 5. Buttons ---------- */
.btn {
  --btn-bg: var(--blood);
  --btn-fg: var(--on-blood);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .95rem 1.9rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-cond);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1;
  border: 1px solid var(--btn-bg);
  border-radius: var(--r);
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-ember); background: var(--blood-hot); border-color: var(--blood-hot); }
.btn:active { transform: translateY(0); }
.btn .arw { transition: transform .25s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--bone); border-color: var(--line); }
.btn--ghost:hover { background: transparent; border-color: var(--blood); color: var(--blood); box-shadow: none; }

.btn--sm { padding: .7rem 1.35rem; font-size: .875rem; }

/* Text link with animated underline */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-cond);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .875rem;
  color: var(--blood);
  padding-bottom: 3px;
  background-image: linear-gradient(var(--blood), var(--blood));
  background-size: 0% 1.5px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size .35s var(--ease);
}
.link-arrow:hover { background-size: 100% 1.5px; }
.link-arrow span { transition: transform .25s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }

/* ---------- 6. Header ---------- */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--blood); color: var(--on-blood); padding: .75rem 1.25rem;
  font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .1em;
}
.skip:focus { left: 1rem; top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
}
/* The scrolled backdrop sits on its own layer. Fading one opacity is a
   compositor job; transitioning backdrop-filter on the header itself repaints
   the bar every frame (and makes it a containing block for the fixed mobile
   drawer). */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: oklch(11% .004 60 / .82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line-soft);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.site-header.is-stuck::before { opacity: 1; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; width: 100%; }

.brand { display: flex; align-items: center; gap: .7rem; flex: none; }
.brand img { width: 38px; height: 38px; border-radius: 3px; object-fit: cover; }
.brand-txt { display: flex; flex-direction: column; line-height: 1; }
.brand-txt b { font-family: var(--font-display); font-size: 1.3rem; font-weight: 400; letter-spacing: .04em; }
.brand-txt small { font-family: var(--font-cond); font-size: .6rem; letter-spacing: .3em; text-transform: uppercase; color: var(--bone-mute); margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.1rem); }
.nav-links a:not(.btn) {
  position: relative;
  font-family: var(--font-cond);
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--bone-dim);
  padding-block: .4rem;
  transition: color .2s;
}
.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--blood);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-links a:not(.btn):hover { color: var(--bone); }
.nav-links a:not(.btn):hover::after { transform: scaleX(1); }
.nav-links a:not(.btn)[aria-current="page"] { color: var(--bone); }
.nav-links a:not(.btn)[aria-current="page"]::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line); border-radius: var(--r);
  cursor: pointer;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--bone); position: relative; transition: background .2s; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--bone);
  transition: transform .3s var(--ease), top .2s;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: oklch(11% .004 60 / .97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    padding: .5rem var(--gutter) 1.75rem;
    max-height: calc(100svh - var(--nav-h));
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform .3s var(--ease), opacity .25s, visibility .25s;
  }
  .nav-links.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-links a:not(.btn) { font-size: 1.5rem; font-family: var(--font-display); letter-spacing: .05em; padding: .8rem 0; border-bottom: 1px solid var(--line-soft); }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-links a:not(.btn)[aria-current="page"] { color: var(--blood); }
  /* Full-size button in the drawer — it is the primary action there,
     not the compact header variant. */
  .nav-links .btn { margin-top: 1.25rem; justify-content: center; padding: 1.05rem 1.5rem; font-size: 1rem; }
}

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  min-height: min(92svh, 900px);
  display: flex;
  align-items: center;
  padding-block: clamp(4rem, 10vh, 7rem);
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}
.hero--page { min-height: min(58svh, 560px); }

.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 28%; filter: grayscale(1) contrast(1.12) brightness(.55); }
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, var(--ink) 4%, oklch(13% .005 60 / .82) 42%, oklch(13% .005 60 / .3) 78%),
    linear-gradient(to top, var(--ink) 2%, transparent 45%);
}
/* Faint diagonal hazard stripes bleeding from the accent */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: repeating-linear-gradient(115deg, oklch(68% .2 38 / .05) 0 2px, transparent 2px 26px);
  mask-image: linear-gradient(to right, transparent 45%, black 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 45%, black 100%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; }
.hero-copy { max-width: 46rem; }
.hero h1 { margin-block: 1.5rem 1.75rem; }
.hero .lede { max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  overflow: hidden;
  max-width: 46rem;
}
.hero-stats div { background: oklch(13% .005 60 / .72); padding: 1.4rem 1.5rem; backdrop-filter: blur(6px); }
.hero-stats b { display: block; font-family: var(--font-display); font-size: 2.4rem; line-height: 1; color: var(--blood); }
.hero-stats span { display: block; font-family: var(--font-cond); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--bone-mute); margin-top: .5rem; }

/* ---------- 8. Ticker ---------- */
.ticker {
  border-block: 1px solid var(--line-soft);
  background: var(--ink-deep);
  overflow: hidden;
  padding-block: .9rem;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.ticker-track { display: flex; width: max-content; animation: slide 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-group { display: flex; align-items: center; gap: 2.5rem; padding-right: 2.5rem; }
.ticker-group span {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: .06em;
  color: var(--bone-mute);
  white-space: nowrap;
}
.ticker-group i { color: var(--blood); font-style: normal; font-size: .7rem; }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ---------- 9. Cards ---------- */
.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  padding: clamp(1.5rem, 2.6vw, 2.25rem);
  overflow: hidden;
  transition: border-color .3s, transform .35s var(--ease), background .3s;
}
.card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--ember-grad);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .4s var(--ease);
}
.card:hover { border-color: var(--line); transform: translateY(-4px); background: var(--card-hi); }
.card:hover::before { transform: scaleY(1); }
.card h3 { font-size: 1.55rem; margin-bottom: .75rem; }
.card p { color: var(--bone-dim); font-size: .9688rem; }

.card-num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: .2em;
  color: var(--blood);
  display: block;
  margin-bottom: 1.1rem;
}
.card-ico {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--r);
  color: var(--blood);
  margin-bottom: 1.25rem;
  transition: background .3s, border-color .3s, color .3s;
}
.card:hover .card-ico { background: var(--blood); border-color: var(--blood); color: var(--on-blood); }

/* Numbered method steps */
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.25rem, 3vw, 2.25rem);
  padding-block: clamp(1.75rem, 3vw, 2.5rem);
  border-top: 1px solid var(--line-soft);
  align-items: start;
}
.step:last-child { border-bottom: 1px solid var(--line-soft); }
.step-n {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 4.25rem);
  line-height: .8;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--line);
  transition: -webkit-text-stroke-color .35s, color .35s;
  min-width: 2.2ch;
}
.step:hover .step-n { -webkit-text-stroke-color: var(--blood); color: oklch(68% .2 38 / .1); }
.step h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); margin-bottom: .5rem; }
.step p { color: var(--bone-dim); max-width: 65ch; }

/* Feature chips */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip {
  font-family: var(--font-cond);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .5rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--bone-dim);
  transition: border-color .25s, color .25s, background .25s, transform .25s var(--ease);
}
.chip:hover { border-color: var(--blood); color: var(--blood); transform: translateY(-2px); }
.chip--on { background: var(--blood); border-color: var(--blood); color: var(--on-blood); }

/* Sport tiles */
.sport {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1.15rem 1.35rem;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: .04em;
  transition: border-color .25s, background .25s, transform .3s var(--ease), color .25s;
}
.sport svg { color: var(--blood); flex: none; }
.sport:hover { border-color: var(--blood); background: var(--card-hi); transform: translateY(-3px); }

/* ---------- 10. Media / figure ---------- */
.figure { position: relative; border-radius: var(--r); overflow: hidden; }
.figure img { width: 100%; aspect-ratio: 4/5; object-fit: cover; filter: grayscale(1) contrast(1.1) brightness(.82); transition: filter .6s var(--ease), transform .8s var(--ease); }
.figure:hover img { filter: grayscale(.25) contrast(1.05) brightness(.92); transform: scale(1.03); }
.figure::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, oklch(9% .004 60 / .85), transparent 55%);
  pointer-events: none;
}
.figure-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 1.5rem;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem;
}
.figure-cap b { font-family: var(--font-display); font-size: 1.6rem; display: block; line-height: 1; }
.figure-cap span { font-family: var(--font-cond); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--blood); }
/* Accent frame offset behind image */
.figure-frame { position: relative; }
.figure-frame::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--blood);
  border-radius: var(--r);
  opacity: .45;
  z-index: -1;
}

/* ---------- 11. Quote ---------- */
.quote {
  position: relative;
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--blood);
  background: var(--card);
  border-radius: var(--r);
  padding: clamp(2rem, 4vw, 3rem);
}
.quote p {
  font-family: var(--font-cond);
  font-size: clamp(1.35rem, 2.6vw, 1.95rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--bone);
}
.quote footer { margin-top: 1.5rem; font-family: var(--font-cond); font-size: .8125rem; letter-spacing: .2em; text-transform: uppercase; color: var(--bone-mute); }

/* ---------- 11b. Google review prompt ---------- */
.review-cta {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
  row-gap: .85rem;
  margin-top: 1.25rem;
  padding: 1.25rem 1.4rem;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--blood);
  border-radius: var(--r);
  transition: border-color .25s, background .25s, transform .3s var(--ease);
}
.review-cta:hover { background: var(--card-hi); border-color: var(--line); border-left-color: var(--blood); transform: translateY(-2px); }
.review-cta .card-ico { margin: 0; flex: none; }
.review-cta:hover .card-ico { background: var(--blood); border-color: var(--blood); color: var(--on-blood); }
.review-cta-meta { min-width: 0; }
.review-cta-meta > span { display: block; font-family: var(--font-cond); font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; color: var(--bone-mute); }
.review-cta-meta b { display: block; font-size: 1.0625rem; font-weight: 600; margin-top: .2rem; }
.review-cta-meta small { display: block; font-size: .875rem; color: var(--bone-dim); margin-top: .2rem; }
.review-cta-go {
  margin-left: auto; flex: none;
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-cond); font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; font-size: .8125rem;
  color: var(--blood);
}
.review-cta:hover .arw { transform: translateX(4px); }
/* Beside the home-page quote there is less room; drop the supporting line. */
.review-cta--compact { padding: 1.1rem 1.2rem; }
.review-cta--compact .review-cta-meta small { display: none; }
@media (max-width: 560px) {
  .review-cta-go { margin-left: 0; }
  .review-cta-meta small { display: none; }
}

/* Column matches the fixed-ratio image beside it: the quote absorbs the slack
   so the two sides end level whatever the copy length. */
.split--match { align-items: stretch; }
.split--match > *:first-child { display: flex; flex-direction: column; }
.split--match .quote { flex: 1; display: flex; flex-direction: column; justify-content: center; }
/* Whichever block is marked .fill takes up the slack so both columns end level. */
.split--match .fill { flex: 1; }
/* A grid that grows must grow its rows too, or the divider colour shows through
   as a blank slab under the last row. */
.contact-list.fill { grid-auto-rows: 1fr; }
/* If the left ever outgrows the right, the card follows instead of floating. */
.split--match > *:last-child > .card { height: 100%; }
@media (max-width: 800px) { .split--match > *:first-child { display: block; } }

/* Tighter quote for columns that must match a fixed-ratio image beside them. */
.quote--tight { padding: clamp(1.4rem, 2.4vw, 1.9rem); }
.quote--tight p { font-size: clamp(1.15rem, 1.9vw, 1.45rem); line-height: 1.32; }
.quote--tight footer { margin-top: 1rem; }

/* ---------- 12. Stat band ---------- */
.stat-band { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--r); overflow: hidden; }
.stat-band > div, .stat-band > a { background: var(--ink); padding: clamp(1.75rem, 3vw, 2.5rem); }
.stat-band b { font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; color: var(--blood); display: block; }
.stat-band strong { display: block; font-family: var(--font-cond); font-size: 1rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-top: .6rem; }
.stat-band p { color: var(--bone-mute); font-size: .875rem; margin-top: .4rem; }

/* Stacked variant: four cells share the height of the quote beside them, so
   the numerals come down and the supporting copy tightens. */
.stat-band--stack { grid-template-columns: 1fr; }
.stat-band--stack > div, .stat-band--stack > a { padding: 1.1rem 1.4rem; }
.stat-band--stack b { font-size: clamp(1.5rem, 2.4vw, 1.95rem); }
.stat-band--stack strong { font-size: .9375rem; letter-spacing: .12em; margin-top: .3rem; }
.stat-band--stack p { font-size: .8125rem; margin-top: .25rem; }

.stat-cta { display: block; transition: background .25s; }
.stat-cta:hover { background: var(--card-hi) !important; }
.stat-cta p { color: var(--bone-dim); }
.stat-cta strong { display: inline-flex; align-items: center; gap: .5rem; }
.stat-cta .arw { color: var(--blood); transition: transform .25s var(--ease); }
.stat-cta:hover .arw { transform: translateX(4px); }

/* ---------- 13. Contact ---------- */
.contact-list { display: grid; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--r); overflow: hidden; }
.contact-row {
  display: flex; align-items: center; gap: 1.25rem;
  background: var(--card);
  padding: 1.4rem 1.6rem;
  transition: background .25s;
}
.contact-row:hover { background: var(--card-hi); }
.contact-row .card-ico { margin: 0; flex: none; }
.contact-row:hover .card-ico { background: var(--blood); border-color: var(--blood); color: var(--on-blood); }
.contact-row .meta { min-width: 0; }
.contact-row .meta span { display: block; font-family: var(--font-cond); font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; color: var(--bone-mute); }
.contact-row .meta b { display: block; font-size: 1.0625rem; font-weight: 600; word-break: break-word; }
.contact-row:hover .meta b { color: var(--blood); }

.field { display: block; margin-bottom: 1.15rem; }
.field span { display: block; font-family: var(--font-cond); font-size: .8125rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--bone-dim); margin-bottom: .5rem; }
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--ink-deep);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: .85rem 1rem;
  transition: border-color .2s, background .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blood); outline: none; background: var(--ink); }

.form-status {
  margin-top: 1rem;
  padding: .85rem 1rem;
  border: 1px solid var(--blood);
  border-left-width: 2px;
  border-radius: var(--r);
  background: oklch(68% .2 38 / .1);
  color: var(--bone);
  font-size: .9375rem;
  line-height: 1.5;
}
.form-status.is-error { border-color: oklch(62% .21 27); background: oklch(62% .21 27 / .12); }
.form-status[hidden] { display: none; }

/* Two-option segmented selector. Radios keep it a real form control -- the
   value posts with the rest of the fields and arrow keys move between them. */
.field--seg { border: 0; padding: 0; margin: 0 0 1.15rem; min-width: 0; }
.field--seg legend {
  display: block;
  padding: 0;
  font-family: var(--font-cond);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--bone-dim);
  margin-bottom: .5rem;
}
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.seg label { display: block; position: relative; }
.seg input { position: absolute; opacity: 0; width: 0; height: 0; }
.seg span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: .8rem 1rem;
  background: var(--ink-deep);
  border: 1px solid var(--line);
  border-radius: var(--r);
  font-family: var(--font-cond);
  font-size: .9375rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--bone-dim);
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.seg label:hover span { border-color: var(--blood); color: var(--bone); }
.seg input:checked + span {
  background: var(--blood);
  border-color: var(--blood);
  color: var(--on-blood);
}
.seg input:focus-visible + span { outline: 2px solid var(--blood); outline-offset: 3px; }
.field input::placeholder, .field textarea::placeholder { color: var(--bone-mute); }



/* ---------- 14. CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
  background: var(--ink-deep);
  padding-block: clamp(4rem, 8vw, 6.5rem);
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  left: 50%; top: -55%;
  width: min(900px, 120%); aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(circle, oklch(68% .2 38 / .16), transparent 62%);
  pointer-events: none;
}
.cta-band .wrap { position: relative; }
.cta-band h2 { margin-block: 1.25rem 1.25rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2.25rem; }

/* ---------- 15. Footer ---------- */
.site-footer { background: var(--ink-deep); border-top: 1px solid var(--line-soft); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(2rem, 5vw, 3.5rem); }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { font-family: var(--font-cond); font-size: .8125rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--blood); margin-bottom: 1.1rem; }
.footer-grid p, .footer-grid li { color: var(--bone-mute); font-size: .9375rem; }
.footer-grid ul { list-style: none; padding: 0; display: grid; gap: .55rem; }
.footer-grid a { transition: color .2s; }
.footer-grid a:hover { color: var(--blood); }
.footer-brand { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.1rem; }
.footer-brand img { width: 46px; height: 46px; border-radius: 3px; }
.footer-brand b { font-family: var(--font-display); font-size: 1.6rem; letter-spacing: .04em; }
.footer-creed {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
}
.footer-creed p { font-family: var(--font-cond); font-size: .8125rem; letter-spacing: .16em; text-transform: uppercase; color: var(--bone-mute); }
.footer-creed .creed { color: var(--bone-dim); }

/* ---------- 16. Motion ---------- */
/* A small vocabulary of entrances. Sections pick from it deliberately —
   text and its paired image enter from opposite sides, lists fade in order,
   closing statements just fade. */
@keyframes m-fade  { from { opacity: 0; }                                to { opacity: 1; } }
@keyframes m-left  { from { opacity: 0; transform: translate3d(-40px,0,0); } to { opacity: 1; transform: none; } }
@keyframes m-right { from { opacity: 0; transform: translate3d(40px,0,0); }  to { opacity: 1; transform: none; } }
@keyframes m-rise  { from { opacity: 0; transform: translate3d(0,26px,0); }  to { opacity: 1; transform: none; } }
@keyframes m-mark  { from { opacity: 0; }                                to { opacity: .13; } }
@keyframes m-markc { from { opacity: 0; }                                to { opacity: .92; } }

/* Hero entrance: CSS-driven, so it plays on load with no JS involved.
   The headline arrives from the left, everything under it settles upward,
   and the stat band counters from the right. */
.hero-copy > *, .hero-stats, .hero-mark { animation-duration: .68s; animation-timing-function: var(--ease); animation-fill-mode: both; }
.hero-copy > *:nth-child(1) { animation-name: m-fade;  animation-delay: .05s; }
.hero-copy > *:nth-child(2) { animation-name: m-left;  animation-delay: .12s; }
.hero-copy > *:nth-child(3) { animation-name: m-rise;  animation-delay: .28s; }
.hero-copy > *:nth-child(4) { animation-name: m-rise;  animation-delay: .38s; }
.hero-stats                 { animation-name: m-right; animation-delay: .48s; }
.hero-mark                  { animation-name: m-mark;  animation-delay: .30s; animation-duration: 1.4s; }

/* Below the fold the same vocabulary runs off the scroll observer.
   Gated on the `js` class the head script sets: if the script never runs, the
   content is simply visible rather than a page of invisible blocks. */
.reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal { opacity: 0; }
.js .reveal--left  { transform: translate3d(-44px, 0, 0); }
.js .reveal--right { transform: translate3d(44px, 0, 0); }
.js .reveal--rise  { transform: translate3d(0, 30px, 0); }
.js .reveal--zoom  { transform: scale(.955); }
.js .reveal.is-in  { opacity: 1; transform: none; }

/* Images travel a little further and settle a little slower than text. */
.figure-frame.reveal { transition-duration: .95s; }

@media (prefers-reduced-motion: reduce) {
  .hero-copy > *, .hero-stats, .hero-mark { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
  .reveal, .figure-frame.reveal { transition: none; }
  .figure img, .card, .btn { transition: none; }
}

/* ---------- 16b. Hero watermark ---------- */
.hero-mark {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: clamp(1.5rem, 5vw, 6rem);
  width: clamp(260px, 32vw, 480px);
  transform: translateY(-50%);
  pointer-events: none;
  opacity: .13;
}
.hero-mark picture { display: block; }
.hero-mark img { width: 100%; height: auto; }
/* Contact carries the logo in full colour, read as a mark rather than a wash. */
.hero-mark--color {
  width: clamp(200px, 26vw, 360px);
  opacity: .92;
  animation-name: m-markc;
  filter: drop-shadow(0 20px 44px oklch(0% 0 0 / .6));
}

/* The photo already owns the right edge on narrow screens. */
@media (max-width: 1000px) { .hero-mark { display: none; } }

/* ---------- 17. Phone layout ---------- */
@media (max-width: 520px) {
  /* Stacked full-width actions: equal weight, and a full-width tap target. */
  .hero-actions, .cta-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn, .cta-actions .btn { justify-content: center; }

  /* Three narrow columns beat two-plus-an-orphan. */
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .hero-stats div { padding: 1.1rem .8rem; }
  .hero-stats b { font-size: 1.85rem; }
  .hero-stats span { font-size: .625rem; letter-spacing: .12em; }

  /* Sports read as a grid, not a 12-item column. */
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .sport { font-size: 1.15rem; padding: .95rem 1rem; gap: .6rem; }
}

/* ---------- 17. Touch refinements ---------- */
/* Only coarse pointers pay the extra height, so desktop density is unchanged. */
@media (pointer: coarse) {
  .footer-grid li a,
  .link-arrow { display: inline-flex; align-items: center; min-height: 44px; }
  .chip { padding: .7rem 1.1rem; }
}
