/* ==========================================================================
   DVRT / Ultimate Sandbag Training - homepage preview
   Revision 3, 2026-08-25.

   Josh named https://new.functionalmovement.com as the reference and asked
   specifically for the "Find Your Path" routing. This stylesheet carries that
   look and feel:

     - white-dominant page with true-black feature sections
     - large LIGHT-weight grotesk headings, sentence case, tight negative
       tracking (the reference runs its headings at weight 500, not black caps)
     - Barlow Condensed bold uppercase for category names and small labels,
       which is the same face the reference uses for that job
     - a floating pill navigation group sitting over a full-bleed hero
     - 6px buttons, red primary, frosted ghost secondary
     - pathway cards that bloom with photography and turn their CTA red

   What is NOT borrowed: their palette, photography, logo and copy. The red,
   the mark, the imagery and every word here are DVRT's own.
   ========================================================================== */

/* ---------- 1. Fonts (self hosted) ---------- */
@font-face { font-family:'General Sans'; src:url('../fonts/general-sans-400.woff2') format('woff2'); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:'General Sans'; src:url('../fonts/general-sans-500.woff2') format('woff2'); font-weight:500; font-style:normal; font-display:swap; }
@font-face { font-family:'General Sans'; src:url('../fonts/general-sans-600.woff2') format('woff2'); font-weight:600; font-style:normal; font-display:swap; }
@font-face { font-family:'General Sans'; src:url('../fonts/general-sans-700.woff2') format('woff2'); font-weight:700; font-style:normal; font-display:swap; }
@font-face { font-family:'Barlow Condensed'; src:url('../fonts/barlow-condensed-600.woff2') format('woff2'); font-weight:600; font-style:normal; font-display:swap; }
@font-face { font-family:'Barlow Condensed'; src:url('../fonts/barlow-condensed-700.woff2') format('woff2'); font-weight:700; font-style:normal; font-display:swap; }

/* ---------- 2. Tokens ---------- */
:root {
  --black: #000000;
  --ink: #111111;
  --ink-2: #1e1e1e;
  --ink-3: #2a2a2a;
  --paper: #ffffff;
  --paper-2: #f4f4f4;
  --paper-3: #e9e9e9;

  /* brand red, sampled from official DVRT assets */
  --red: #c22827;
  --red-deep: #ab000e;
  --red-bright: #eb3c50;
  --red-shade: #9c1f1e;

  --fg: #111111;
  --fg-mute: #5f5f5f;
  --fg-soft: #6e6e6e;
  --fg-inv: #ffffff;
  --fg-inv-mute: #c1c1c1;
  --fg-inv-soft: #949494;

  --line: rgba(17, 17, 17, 0.13);
  --line-soft: rgba(17, 17, 17, 0.07);
  --line-inv: rgba(255, 255, 255, 0.18);
  --line-inv-soft: rgba(255, 255, 255, 0.1);

  --sans: 'General Sans', -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --cond: 'Barlow Condensed', 'Helvetica Neue', Arial, sans-serif;

  --r-1: 4px;
  --r-2: 6px;
  --r-pill: 999px;

  --pad-1: clamp(2.5rem, 4.5vw, 4rem);
  --pad-2: clamp(3.5rem, 6.5vw, 6rem);
  --pad-3: clamp(4.5rem, 8.5vw, 8rem);

  --gutter: clamp(1.25rem, 3.6vw, 2.75rem);
  --maxw: 1400px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 180ms;
  --dur: 320ms;
  --dur-slow: 620ms;

  --nav-h: 68px;
}

/* ---------- 3. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 110px; }
html, body { overflow-x: hidden; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--fg);
  font-family: var(--sans);
  font-size: clamp(1rem, 0.97rem + 0.14vw, 1.0625rem);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
}

img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--sans);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.028em;
  text-wrap: balance;
}

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: var(--r-1); }
.sec--black :focus-visible, .hero :focus-visible, .footer :focus-visible,
.sec--red :focus-visible, .mobile-menu :focus-visible { outline-color: #fff; }
::selection { background: var(--red); color: #fff; }

/* ---------- 4. Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: 0.75rem; top: -100px; z-index: 200;
  display: inline-flex; align-items: center; min-height: 44px;
  background: var(--red); color: #fff; padding: 0.6rem 1.15rem;
  font: 600 0.85rem/1 var(--cond); letter-spacing: 0.08em; text-transform: uppercase;
  transition: top var(--dur-fast) var(--ease);
}
.skip-link:focus { top: 0.75rem; }

.sec { position: relative; }
.sec--black { background: var(--black); color: var(--fg-inv); }
.sec--paper { background: var(--paper); color: var(--fg); }
.sec--grey  { background: var(--paper-2); color: var(--fg); }
.sec--red   { background: var(--red-deep); color: #fff; }

/* ---------- 5. Type helpers ---------- */
.eyebrow {
  font: 600 0.82rem/1 var(--cond);
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-mute);
}
.sec--black .eyebrow, .footer .eyebrow { color: var(--fg-inv-soft); }
.hero .eyebrow { color: rgba(255, 255, 255, 0.82); }
.sec--red .eyebrow { color: rgba(255, 255, 255, 0.78); }

.h-xl { font-size: clamp(2.5rem, 5.4vw, 4.5rem); }
.h-lg { font-size: clamp(2rem, 4vw, 3.4rem); }

.lead {
  max-width: 58ch;
  font-size: clamp(1.02rem, 0.98rem + 0.35vw, 1.2rem);
  line-height: 1.5; color: var(--fg-mute);
}
.sec--black .lead, .hero .lead { color: var(--fg-inv-mute); }
.sec--red .lead { color: rgba(255, 255, 255, 0.88); }

.sechead { display: grid; gap: 1.1rem; max-width: 60ch; }
.sechead--split { max-width: none; }
.sechead--split > .btn { justify-self: start; }
@media (min-width: 900px) {
  .sechead--split { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 2rem 3rem; }
  .sechead--split > .btn { justify-self: end; }
}
.nowrap { white-space: nowrap; }

/* ---------- 6. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 48px; padding: 0.75rem 1.4rem; border-radius: var(--r-2);
  font: 600 0.95rem/1.2 var(--cond); letter-spacing: 0.07em; text-transform: uppercase;
  background: var(--red); color: #fff;
  transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.btn:hover { background: var(--red-shade); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { transition: transform var(--dur) var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--ghost { background: rgba(255,255,255,0.14); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255,255,255,0.24); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--paper-3); }
.btn--line { background: transparent; color: inherit; border: 1px solid var(--line); }
.btn--line:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.sec--black .btn--line { border-color: var(--line-inv); }
.sec--black .btn--line:hover { background: #fff; color: var(--ink); border-color: #fff; }

.tlink {
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px;
  font: 600 0.9rem/1.2 var(--cond); letter-spacing: 0.07em; text-transform: uppercase;
  color: inherit; transition: color var(--dur-fast) var(--ease);
}
.tlink svg { transition: transform var(--dur) var(--ease); }
.tlink:hover { color: var(--red); }
.tlink:hover svg { transform: translateX(4px); }
.sec--black .tlink:hover, .hero .tlink:hover { color: var(--red-bright); }

/* ---------- 7. Promo bar ---------- */
.promobar { background: var(--red-deep); color: #fff; position: relative; z-index: 90; }
.promobar__in {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 0.3rem 1.25rem; min-height: 44px; padding-block: 0.5rem; text-align: center;
  font: 600 0.86rem/1.35 var(--cond); letter-spacing: 0.06em;
}
.promobar__ship { display: inline-flex; align-items: center; gap: 0.45rem; color: rgba(255,255,255,0.82); text-transform: uppercase; }
.promobar a { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 32px; text-transform: uppercase; transition: opacity var(--dur-fast) var(--ease); }
.promobar a:hover { opacity: 0.82; }
.promobar__code { background: #fff; color: var(--red-deep); border-radius: var(--r-1); padding: 0.1rem 0.4rem; letter-spacing: 0.08em; }
@media (max-width: 1039px) { .promobar a { min-height: 44px; } }

/* ---------- 8. Header: floating pill nav ---------- */
/* Sticky rather than fixed: it stays in flow, so pinning never shifts the page.
   Only the appearance changes once the promo bar has scrolled away. */
.site-header {
  position: sticky; top: 0; z-index: 80;
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.site-header.is-stuck {
  background: rgba(255,255,255,0.95);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav { display: flex; align-items: center; gap: clamp(0.6rem, 1.6vw, 1.5rem); height: var(--nav-h); }

.logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.logo img { width: auto; height: 40px; transition: filter var(--dur) var(--ease); }
/* the official mark is white-on-transparent, so it inverts on light chrome */
.site-header.is-stuck .logo img { filter: invert(1); }

.navgroup {
  display: none; align-items: center; gap: 0.15rem; margin-inline: auto;
  background: rgba(255,255,255,0.95); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-radius: var(--r-pill); padding: 0.3rem;
}
.site-header.is-stuck .navgroup { background: var(--paper-2); }
.navlink {
  display: inline-flex; align-items: center; height: 38px; padding-inline: 0.95rem;
  border-radius: var(--r-pill);
  font: 600 0.86rem/1 var(--cond); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink);
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.navlink:hover { background: var(--ink); color: #fff; }

.nav__right { display: flex; align-items: center; gap: 0.4rem; margin-inline-start: auto; }
.navicon {
  display: none; align-items: center; justify-content: center; gap: 0.35rem;
  min-width: 44px; height: 44px; padding-inline: 0.55rem; border-radius: var(--r-2); color: #fff;
  transition: background var(--dur-fast) var(--ease), color var(--dur) var(--ease);
}
.site-header.is-stuck .navicon { color: var(--ink); }
.navicon:hover { background: rgba(255,255,255,0.18); }
.site-header.is-stuck .navicon:hover { background: var(--paper-3); }
.navicon svg { width: 19px; height: 19px; }
.navicon__label { display: none; white-space: nowrap; font: 600 0.78rem/1 var(--cond); letter-spacing: 0.07em; text-transform: uppercase; }
.navicon__count { font: 700 0.72rem/1 var(--cond); background: var(--red); color: #fff; border-radius: var(--r-pill); padding: 0.16rem 0.36rem; letter-spacing: 0.04em; }
.nav__cta { display: none; min-height: 44px; padding: 0.6rem 1.15rem; font-size: 0.86rem; }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 46px; height: 46px; padding: 0 11px; border-radius: var(--r-2); color: #fff; margin-inline-start: auto;
  transition: color var(--dur) var(--ease);
}
.site-header.is-stuck .nav-toggle { color: var(--ink); }
.nav-toggle span { display: block; height: 2px; background: currentColor; }
.nav-toggle span:nth-child(2) { width: 65%; }

@media (max-width: 1039px) {
  .nav { gap: 0.45rem; }
  .nav__right { margin-inline-start: auto; }
  .navicon { display: inline-flex; }
  .navicon--account { padding-inline: 0.6rem; }
  .navicon--account .navicon__label { display: inline; font-size: 0.72rem; }
  .nav-toggle { margin-inline-start: 0; }
}
@media (max-width: 420px) {
  .nav { gap: 0.25rem; }
  .nav__right { gap: 0.15rem; }
  .logo img { height: 36px; }
  .navicon { padding-inline: 0.35rem; }
}
@media (max-width: 359px) {
  .navicon--account { display: none; }
}
@media (min-width: 1040px) {
  .nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  }
  .logo { justify-self: start; }
  .navgroup {
    display: inline-flex;
    justify-self: center;
    margin-inline: 0;
  }
  .nav__right {
    justify-self: end;
    margin-inline-start: 0;
  }
  .navicon { display: inline-flex; }
  .nav__cta { display: inline-flex; }
  .nav-toggle { display: none; }
}
@media (min-width: 1180px) {
  .navicon--account { padding-inline: 0.8rem; }
  .navicon__label { display: inline; }
}

/* ---------- 9. Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 120; background: var(--black); color: var(--fg-inv);
  display: flex; flex-direction: column;
  visibility: hidden; opacity: 0; transform: translateY(-6px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s linear var(--dur);
  overflow-y: auto; overscroll-behavior: contain; padding-bottom: env(safe-area-inset-bottom);
}
.mobile-menu.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.mobile-menu__top { display: flex; align-items: center; height: var(--nav-h); border-bottom: 1px solid var(--line-inv-soft); flex: 0 0 auto; }
.mobile-menu__close { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-inline-start: auto; border-radius: var(--r-2); color: #fff; }
.mobile-menu__close svg { width: 22px; height: 22px; }
.mobile-menu__body { flex: 1 1 auto; display: flex; flex-direction: column; padding-block: 0.5rem 1.5rem; }
.mobile-menu__item {
  display: flex; flex-direction: column; justify-content: center;
  min-height: 66px; padding-block: 0.7rem; border-bottom: 1px solid var(--line-inv-soft);
  font-family: var(--cond); font-weight: 700; font-size: 1.75rem; line-height: 1.05;
  letter-spacing: 0.01em; text-transform: uppercase; color: #fff;
  opacity: 0; transform: translateY(6px);
}
.mobile-menu.is-open .mobile-menu__item { animation: menuIn 360ms var(--ease) forwards; }
@keyframes menuIn { to { opacity: 1; transform: none; } }
.mobile-menu__note { display: block; margin-top: 0.25rem; font: 400 0.82rem/1.3 var(--sans); letter-spacing: -0.01em; text-transform: none; color: var(--fg-inv-soft); }
.mobile-menu__item:hover { color: var(--red-bright); }
.mobile-menu__sub { display: flex; flex-wrap: wrap; gap: 0.3rem 1.4rem; padding-block: 1.25rem; }
.mobile-menu__sub a { display: inline-flex; align-items: center; min-height: 44px; font: 600 0.86rem/1 var(--cond); letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-inv-mute); }
.mobile-menu__sub a:hover { color: #fff; }
.mobile-menu__foot { margin-top: auto; display: grid; gap: 0.75rem; padding-block: 1.25rem 1.75rem; border-top: 1px solid var(--line-inv-soft); }
body.is-locked { overflow: hidden; }

/* ---------- 10. Hero: full bleed, type bottom left ---------- */
.hero {
  position: relative; min-height: min(88svh, 760px);
  margin-top: calc(-1 * var(--nav-h));
  display: flex; align-items: flex-end;
  background: var(--black); color: var(--fg-inv); overflow: hidden;
  padding-top: calc(var(--nav-h) + 1rem);
}
.hero__media, .hero__media picture { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 78%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(0,0,0,0.94) 0%, rgba(0,0,0,0.88) 20%, rgba(0,0,0,0.5) 46%, rgba(0,0,0,0.08) 74%, rgba(0,0,0,0.42) 100%),
    linear-gradient(to right, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.12) 55%, rgba(0,0,0,0) 100%);
}
.hero__in { position: relative; z-index: 2; width: 100%; padding-block: clamp(2rem, 4vw, 3.5rem); }
.hero__body { display: grid; gap: 1.15rem; max-width: 34ch; }
.hero h1 { max-width: 14ch; font-size: clamp(2.45rem, 5.2vw, 4.4rem); font-weight: 500; letter-spacing: -0.034em; line-height: 1.0; }
.hero__sub { max-width: 46ch; font-size: clamp(1.02rem, 0.98rem + 0.4vw, 1.22rem); color: rgba(255,255,255,0.87); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 0.35rem; }
@media (max-width: 759px) {
  .hero { min-height: min(77svh, 660px); }
  .hero__media img { height: 108%; object-position: 50% 50%; transform: translateY(-7%); }
}
@media (min-width: 1040px) {
  .hero__media img { object-position: center; }
}
@media (min-width: 760px) { .hero__body { max-width: 40ch; } }

/* ---------- 11. Trusted strip ---------- */
.trusted { padding-block: clamp(1.6rem, 2.8vw, 2.4rem); border-bottom: 1px solid var(--line-soft); }
.trusted__in { display: grid; gap: 1.15rem; align-items: center; }
.trusted__label { font: 600 0.8rem/1 var(--cond); letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-soft); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.marquee__track { display: flex; align-items: center; gap: clamp(2.5rem, 5vw, 4.5rem); width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track > span { display: inline-flex; align-items: center; gap: clamp(2.5rem, 5vw, 4.5rem);
  white-space: nowrap; font: 600 clamp(.82rem, .76rem + .22vw, .96rem)/1 var(--cond);
  letter-spacing: .1em; text-transform: uppercase; color: var(--fg-mute); }
.marquee__track > span::after { content: ""; width: 6px; height: 6px; background: var(--red); flex: 0 0 auto; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 819px) {
  .marquee { overflow-x: auto; overscroll-behavior-inline: contain; touch-action: pan-x;
    scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .marquee::-webkit-scrollbar { display: none; }
}
@media (min-width: 820px) { .trusted__in { grid-template-columns: auto minmax(0, 1fr); gap: 2.5rem; } }

/* ---------- 12. Find your path (signature module) ---------- */
.paths { padding-block: var(--pad-3); }
.paths .sechead h2 { max-width: 24ch; }
.paths__grid { margin-top: clamp(2rem, 3.6vw, 3rem); display: grid; gap: clamp(0.85rem, 1.6vw, 1.15rem); }
.pcard {
  position: relative; display: grid; align-content: end; gap: 0.8rem;
  min-height: clamp(300px, 33vw, 410px); padding: clamp(1.25rem, 2.2vw, 1.75rem);
  border-radius: var(--r-1); background: var(--ink-2); overflow: hidden; isolation: isolate;
}
.pcard__media { position: absolute; inset: 0; z-index: -1; }
.pcard__media img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.3; filter: grayscale(1); transform: scale(1.02);
  transition: opacity var(--dur-slow) var(--ease), filter var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}
.pcard__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.92) 14%, rgba(0,0,0,0.5) 56%, rgba(0,0,0,0.28) 100%); }
.pcard:hover .pcard__media img, .pcard:focus-within .pcard__media img { opacity: 0.75; filter: grayscale(0); transform: scale(1.06); }
.pcard__name { font-family: var(--cond); font-weight: 700; font-size: clamp(1.55rem, 2.5vw, 2.05rem); line-height: 1; letter-spacing: 0.015em; text-transform: uppercase; color: var(--fg-inv-mute); transition: color var(--dur) var(--ease); }
.pcard__d { font-size: 0.96rem; line-height: 1.45; color: var(--fg-inv-mute); max-width: 34ch; }
.pcard__cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 46px; padding: 0.6rem 1.1rem; margin-top: 0.2rem; border-radius: var(--r-2);
  background: var(--ink-3); color: #fff;
  font: 600 0.86rem/1.2 var(--cond); letter-spacing: 0.08em; text-transform: uppercase;
  transition: background var(--dur) var(--ease);
}
.pcard::after { content: ""; position: absolute; inset: 0; }
.pcard:hover .pcard__name, .pcard:focus-within .pcard__name { color: #fff; }
.pcard:hover .pcard__cta, .pcard:focus-within .pcard__cta { background: var(--red); }
@media (min-width: 720px) { .paths__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- 13. Learn / Train / Equipment ---------- */
.ways { padding-block: var(--pad-2); }
.ways__grid { margin-top: clamp(1.6rem, 3vw, 2.5rem); display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.way { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 0.4rem 1rem; padding: clamp(1.35rem, 2.4vw, 1.9rem) 0; background: var(--paper); }
.way::before { content: ""; position: absolute; inset-block: 0; inset-inline: calc(-1 * var(--gutter)); background: var(--paper-2); opacity: 0; transition: opacity var(--dur) var(--ease); }
.way:hover::before { opacity: 1; }
.way > * { position: relative; }
.way__k { grid-column: 1; font: 700 0.86rem/1 var(--cond); letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); }
.way__t { grid-column: 1; margin-top: 0.5rem; font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 500; letter-spacing: -0.025em; line-height: 1.1; }
.way__d { grid-column: 1; margin-top: 0.4rem; max-width: 36ch; font-size: 0.96rem; color: var(--fg-mute); }
.way__go { grid-column: 2; grid-row: 1 / span 3; align-self: center; color: var(--fg-soft); transition: transform var(--dur) var(--ease), color var(--dur) var(--ease); }
.way:hover .way__go { transform: translateX(4px); color: var(--red); }
@media (min-width: 780px) {
  .ways__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* Side by side the titles run to different line counts (Educational programs and
     certifications takes 3 lines in the 780-860 band, 2 above it). Cards already
     stretch to equal height, so the title row absorbs the slack and the descriptions
     bottom-align across all 3 at every width. No reserved line count to go stale if
     the labels get reworded. */
  .way { padding-inline: clamp(1rem, 2vw, 1.75rem); grid-template-rows: auto 1fr auto; }
  .way:first-child { padding-inline-start: 0; }
  .way:first-child::before { inset-inline-start: calc(-1 * var(--gutter)); }
  .way:last-child::before { inset-inline-end: calc(-1 * var(--gutter)); }
}

/* ---------- 14. Education ---------- */
.edu { padding-block: var(--pad-2); }
.edu__grid { margin-top: clamp(1.6rem, 3vw, 2.5rem); display: grid; gap: clamp(1.25rem, 2.4vw, 2rem); }
@media (min-width: 940px) { .edu__grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr); align-items: start; } }

.plate { position: relative; display: block; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-1); overflow: hidden; transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.plate:hover { border-color: var(--ink); transform: translateY(-3px); }
.plate__media { display: block; position: relative; background: var(--ink); }
.plate__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 45%; }
.plate__body { display: grid; gap: 0.8rem; padding: clamp(1.35rem, 2.4vw, 1.9rem); }
.plate__body h3 { font-size: clamp(1.35rem, 2.4vw, 1.85rem); font-weight: 500; letter-spacing: -0.028em; }
.plate__body p { color: var(--fg-mute); font-size: 0.98rem; }
.plate__meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; padding-top: 0.2rem; }
.plate__meta span { font: 600 0.8rem/1.3 var(--cond); letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg); }
.plate__meta span::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-inline-end: 0.5rem; background: var(--red); vertical-align: 1px; }

.rows { display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 0.35rem 1rem; padding: clamp(1.05rem, 2vw, 1.45rem) 0; background: var(--paper); transition: background var(--dur) var(--ease); }
.sec--grey .row { background: var(--paper-2); }
.row:hover { background: var(--paper-3); }
.row__t { grid-column: 1; font-size: clamp(1.1rem, 1.9vw, 1.3rem); font-weight: 500; letter-spacing: -0.024em; }
.row__d { grid-column: 1; margin-top: 0.3rem; max-width: 46ch; font-size: 0.95rem; color: var(--fg-mute); }
.row__go { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--fg-soft); transition: transform var(--dur) var(--ease), color var(--dur) var(--ease); }
.row:hover .row__go { transform: translateX(4px); color: var(--red); }

/* ---------- 15. Method ---------- */
.method { padding-block: var(--pad-3); }
.method__quote { margin-top: clamp(1.4rem, 2.4vw, 2rem); max-width: 52ch; font-size: clamp(1.08rem, 1.8vw, 1.3rem); line-height: 1.42; color: rgba(255,255,255,0.9); border-inline-start: 1px solid var(--line-inv); padding-inline-start: 1.15rem; }
.vars { margin-top: clamp(1.9rem, 3.4vw, 2.75rem); display: grid; gap: 1px; background: var(--line-inv-soft); border-block: 1px solid var(--line-inv-soft); }
.var { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.35rem 1.25rem; padding: clamp(1.1rem, 2vw, 1.5rem) 0; background: var(--black); color: #fff; }
.var__i { font: 700 0.82rem/1 var(--cond); letter-spacing: 0.12em; color: var(--red-bright); align-self: start; padding-top: 0.4rem; }
.var__n { display: block; font-size: clamp(1.2rem, 2.2vw, 1.6rem); font-weight: 500; letter-spacing: -0.026em; line-height: 1.1; }
.var__d { display: block; margin-top: 0.3rem; max-width: 68ch; font-size: 0.95rem; color: var(--fg-inv-mute); }
.var__g { width: clamp(40px, 5vw, 56px); height: clamp(40px, 5vw, 56px); color: var(--fg-inv-soft); }
@media (min-width: 760px) { .var { grid-template-columns: 3rem 1fr auto; } }

/* ---------- 16. Coaches ---------- */
.coaches { padding-block: var(--pad-2); }
.coaches__grid { margin-top: clamp(1.6rem, 3vw, 2.5rem); display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
@media (min-width: 640px) { .coaches__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.coach { display: grid; gap: 1rem; align-content: start; }
.coach__media { position: relative; width: min(100%, 260px); border-radius: var(--r-1); overflow: hidden; }
.coach__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform var(--dur-slow) var(--ease); }
.coach:hover .coach__media img { transform: scale(1.03); }
.coach__name { font-size: clamp(1.35rem, 2.3vw, 1.75rem); font-weight: 500; letter-spacing: -0.028em; }
.coach__role { margin-top: 0.3rem; font: 600 0.84rem/1.3 var(--cond); letter-spacing: 0.11em; text-transform: uppercase; color: var(--red); }
.coach__bio { color: var(--fg-mute); max-width: 44ch; font-size: 0.98rem; }
.coach__facts { display: grid; gap: 0.5rem; }
.coach__facts li { display: grid; gap: 0.15rem; border-top: 1px solid var(--line); padding-top: 0.5rem; font-size: 0.93rem; color: var(--fg-mute); }
.coach__facts b { font: 600 0.76rem/1.4 var(--cond); letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg); }

.pullquote { margin-top: clamp(2rem, 3.6vw, 3rem); padding-top: clamp(1.6rem, 2.8vw, 2.25rem); border-top: 1px solid var(--line); display: grid; gap: 1.15rem; }
.pullquote blockquote { margin: 0; max-width: 40ch; font-size: clamp(1.2rem, 2.4vw, 1.85rem); font-weight: 500; line-height: 1.24; letter-spacing: -0.026em; }
.pullquote .mark { color: var(--red); }
.pullquote figcaption { font: 600 0.84rem/1.7 var(--cond); letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-mute); }
.pullquote figcaption b { color: var(--fg); }
.pullquote figcaption .src { text-transform: none; letter-spacing: 0; font-family: var(--sans); font-weight: 400; font-size: 0.82rem; color: var(--fg-soft); }
@media (min-width: 900px) { .pullquote { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: end; gap: 3rem; } .pullquote blockquote { max-width: none; } }

/* ---------- Story ---------- */
.story { padding-block: var(--pad-3); }
.story__grid { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.story__copy { display: grid; gap: 1.2rem; max-width: 40rem; }
.story__copy > p:not(.lead) { max-width: 62ch; color: var(--fg-mute); }
.story__copy .tlink { justify-self: start; margin-top: .35rem; }
.story__media { position: relative; min-height: clamp(22rem, 58vw, 38rem); padding: 0 clamp(2.25rem, 7vw, 5rem) clamp(2rem, 7vw, 4.75rem) 0; }
.story__wide { width: 100%; height: 100%; min-height: clamp(20rem, 50vw, 33rem); object-fit: cover; object-position: 52% 42%; }
.story__portrait { position: absolute; right: 0; bottom: 0; width: clamp(8rem, 25vw, 13rem); aspect-ratio: 4 / 5; object-fit: cover; object-position: 48% 36%; border: 8px solid var(--paper); }
@media (min-width: 900px) {
  .story__grid { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); }
  .story__media { min-height: 34rem; }
}

/* ---------- Newsletter ---------- */
.newsletter { padding-block: var(--pad-2); scroll-margin-top: calc(var(--nav-h) + 1rem); }
.newsletter__grid { display: grid; gap: clamp(1.7rem, 4vw, 4rem); align-items: end; }
.newsletter__copy { display: grid; gap: .9rem; }
.newsletter__copy h2 { max-width: 18ch; }
.newsletter__form { display: grid; gap: .65rem; }
.newsletter__form--aweber .AW-Form-1862747898,
.newsletter__form--aweber #af-form-1862747898 { width: 100% !important; max-width: none !important; }
.newsletter__form--aweber #af-form-1862747898 { overflow: visible !important; }
.newsletter__form--aweber #af-header-1862747898,
.newsletter__form--aweber #af-footer-1862747898 { display: none !important; }
.newsletter__form--aweber #af-body-1862747898 { padding: 0 !important; display: grid !important;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr) auto; gap: .65rem; align-items: end;
  color: var(--fg-inv) !important; font: inherit !important; }
.newsletter__form--aweber #af-form-1862747898 .af-element { min-width: 0; padding: 0 !important;
  display: grid !important; gap: .42rem; }
.newsletter__form--aweber #af-form-1862747898 label.previewLabel { width: auto !important; float: none !important;
  color: var(--fg-inv-mute) !important; font: 600 .78rem/1 var(--cond) !important;
  letter-spacing: .11em; text-transform: uppercase; }
.newsletter__form--aweber #af-form-1862747898 .af-textWrap { width: 100% !important; float: none !important; }
.newsletter__form--aweber #af-form-1862747898 input.text { width: 100% !important; min-height: 52px;
  padding: .8rem 1rem !important; border: 1px solid var(--line-inv) !important;
  border-radius: var(--r-2); background: #fff !important; color: var(--ink) !important;
  font: inherit !important; }
.newsletter__form--aweber #af-form-1862747898 input.text:focus { outline: 2px solid #fff !important;
  outline-offset: 3px; }
.newsletter__form--aweber #af-form-1862747898 .buttonContainer { align-self: end; }
.newsletter__form--aweber #af-form-1862747898 input.submit { min-height: 52px; padding: .8rem 1.25rem;
  border: 0; border-radius: var(--r-2); background: var(--red) !important; color: #fff !important;
  font: 600 .86rem/1.2 var(--cond) !important; letter-spacing: .08em; text-transform: uppercase;
  cursor: pointer; white-space: nowrap; transition: background var(--dur-fast) var(--ease); }
.newsletter__form--aweber #af-form-1862747898 input.submit:hover { background: var(--red-bright) !important; }
.newsletter__form--aweber #af-form-1862747898 input.submit:focus-visible { outline: 2px solid #fff;
  outline-offset: 3px; }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 679px) {
  .newsletter__form--aweber #af-body-1862747898 { grid-template-columns: minmax(0, 1fr); }
  .newsletter__form--aweber #af-form-1862747898 input.submit { width: 100% !important; }
}
@media (min-width: 940px) {
  .newsletter__grid { grid-template-columns: minmax(0, .9fr) minmax(25rem, 1.1fr); }
}

/* ---------- 17. Equipment rail ---------- */
.gear { padding-block: var(--pad-2); }
.rail { margin-top: clamp(1.6rem, 3vw, 2.5rem); display: grid; gap: clamp(0.75rem, 1.4vw, 1rem); }
@media (min-width: 620px) { .rail { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .rail { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.gcard { display: grid; grid-template-rows: 84px 0.85rem auto auto; align-content: start; gap: 0.5rem; padding: 1rem 1rem 1.15rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-1); transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.gcard:hover { border-color: var(--ink); transform: translateY(-3px); }
.gcard__media { display: grid; place-items: center; height: 84px; }
.gcard__media img { max-height: 84px; width: auto; object-fit: contain; }
.gcard__n { grid-row: 3; font-family: var(--cond); font-weight: 700; font-size: 1.15rem; letter-spacing: 0.02em; text-transform: uppercase; line-height: 1; }
.gcard__l { grid-row: 4; font-size: 0.86rem; color: var(--fg-mute); }
.gcard__flag { grid-row: 2; font: 700 0.7rem/1 var(--cond); letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); align-self: center; }
.gear__notes { margin-top: clamp(1.4rem, 2.6vw, 2rem); display: grid; gap: 1rem 2.5rem; }
@media (min-width: 700px) { .gear__notes { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.gear__note { border-top: 1px solid var(--line); padding-top: 0.75rem; font-size: 0.92rem; color: var(--fg-mute); }
.gear__note b { display: block; font: 600 0.76rem/1.5 var(--cond); letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg); margin-bottom: 0.2rem; }
.actions { margin-top: clamp(1.4rem, 2.6vw, 2rem); display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.5rem; }

/* ---------- 18. Articles ---------- */
.notes { padding-block: var(--pad-2); }
.notes__list { margin-top: clamp(1.6rem, 3vw, 2.4rem); border-top: 1px solid var(--line); }
.note { display: grid; grid-template-columns: 1fr; gap: 0.3rem 1.5rem; padding-block: clamp(1.05rem, 2vw, 1.45rem); border-bottom: 1px solid var(--line); position: relative; }
.note::before { content: ""; position: absolute; inset-block: 0; inset-inline: calc(-1 * var(--gutter)); background: var(--paper-2); opacity: 0; transition: opacity var(--dur) var(--ease); }
.note:hover::before { opacity: 1; }
.note > * { position: relative; }
.note__date { display: block; font: 600 0.8rem/1.6 var(--cond); letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-soft); }
.note__title { display: block; font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 500; letter-spacing: -0.026em; line-height: 1.15; }
.note:hover .note__title { color: var(--red); }
.note__excerpt { display: block; margin-top: 0.25rem; max-width: 62ch; font-size: 0.94rem; color: var(--fg-mute); }
@media (min-width: 860px) {
  .note { grid-template-columns: 8.5rem minmax(0, 1fr) 2rem; align-items: start; }
  .note__date { padding-top: 0.35rem; }
  .note__go { justify-self: end; padding-top: 0.35rem; color: var(--fg-soft); }
  .note:hover .note__go { color: var(--red); }
}

/* ---------- 20. Footer ---------- */
.footer { background: var(--black); color: var(--fg-inv); padding-block: var(--pad-2) var(--pad-1); }
.footer__top { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(1.15rem, 5vw, 2.5rem); row-gap: clamp(1.9rem, 4vw, 3rem); padding-bottom: clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line-inv-soft); }
.footer__brand { grid-column: 1 / -1; display: grid; gap: 0.9rem; align-content: start; }
.footer__brand .logo img { height: 44px; }
.footer__blurb { color: var(--fg-inv-mute); font-size: 0.94rem; max-width: 34ch; }
.footer__mail { display: inline-flex; align-items: center; min-height: 44px; font: 600 0.88rem/1 var(--cond); letter-spacing: 0.06em; color: #fff; border-bottom: 1px solid var(--line-inv); padding-bottom: 3px; transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease); }
.footer__mail:hover { color: var(--red-bright); border-color: var(--red-bright); }
.footer__col h2 { font: 600 0.8rem/1 var(--cond); letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-inv-soft); margin-bottom: 0.7rem; }
.footer__col li a { display: flex; align-items: center; min-height: 44px; padding-block: 0.25rem; font-size: 0.94rem; line-height: 1.35; color: var(--fg-inv-mute); transition: color var(--dur-fast) var(--ease); }
.footer__col li a:hover { color: #fff; }
/* 5 link columns since the nav taxonomy became Learn / Train / Equipment:
   3-up at tablet, 5-up from 1040, with the brand inline once there is room. */
@media (min-width: 760px) { .footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 560px) and (max-width: 1239px) {
  .footer__brand { grid-template-columns: auto minmax(0, 1fr); column-gap: 2rem; align-items: start; }
  .footer__brand .logo { grid-row: 1 / span 2; align-self: center; }
  .footer__blurb { max-width: 52ch; }
}
@media (min-width: 1040px) {
  .footer__top { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .footer__col li a { min-height: 38px; }
}
@media (min-width: 1240px) {
  .footer__top { grid-template-columns: minmax(0, 1.1fr) repeat(5, minmax(0, 1fr)); }
  .footer__brand { grid-column: auto; grid-template-columns: none; gap: 1.15rem; }
}
.footer__bottom { padding-top: 1.5rem; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0.9rem 1.5rem; }
.footer__legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0.3rem 1.35rem; font: 600 0.8rem/1.8 var(--cond); letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-inv-soft); }
.footer__legal a { display: inline-flex; align-items: center; min-height: 32px; transition: color var(--dur-fast) var(--ease); }
.footer__legal a:hover { color: #fff; }
.footer__social { display: flex; gap: 0.35rem; justify-self: start; }
@media (min-width: 560px) { .footer__bottom .footer__legal { grid-column: 1; } .footer__social { justify-self: end; } }
@media (max-width: 1039px) { .footer__legal a { min-height: 44px; } }
.footer__social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line-inv); border-radius: var(--r-2); color: var(--fg-inv-mute); transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease); }
.footer__social a:hover { color: #fff; border-color: #fff; }
.footer__social svg { width: 17px; height: 17px; }
/* TMN Creative credit. Sits last in the legal row and reads a shade quieter than
   the client's own links while retaining WCAG AA contrast on black. */
.site-credit { color: var(--fg-inv-soft); transition: color var(--dur-fast) var(--ease); }
.site-credit:hover { color: #fff; }
.site-credit a { color: inherit; }
.footer__note { margin-top: 1.4rem; padding-top: 1.15rem; border-top: 1px solid var(--line-inv-soft); font-size: 0.8rem; line-height: 1.6; color: var(--fg-inv-soft); max-width: 92ch; }

/* ---------- 21. Mobile action bar ---------- */
.actionbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: grid; grid-template-columns: 1fr 1fr; background: rgba(0,0,0,0.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line-inv); padding-bottom: env(safe-area-inset-bottom); transform: translateY(105%); visibility: hidden; pointer-events: none; transition: transform var(--dur) var(--ease), visibility 0s linear var(--dur); }
.actionbar.is-visible { transform: none; visibility: visible; pointer-events: auto; transition-delay: 0s; }
.actionbar a { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; font: 600 0.86rem/1 var(--cond); letter-spacing: 0.08em; text-transform: uppercase; color: #fff; }
.actionbar a + a { background: var(--red); }
@media (min-width: 1040px) { .actionbar { display: none; } }

/* ---------- 22. Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(10px); transition: opacity 560ms var(--ease), transform 560ms var(--ease); }
.js .reveal.is-revealed { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: 70ms; }
.js .reveal[data-delay="2"] { transition-delay: 140ms; }
.js .reveal[data-delay="3"] { transition-delay: 210ms; }
.js .reveal[data-delay="4"] { transition-delay: 280ms; }
.scroll-sentinel { position: absolute; left: 0; bottom: 0; width: 1px; height: 1px; pointer-events: none; }

/* ---------- 23. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important; scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .marquee__track { animation: none; transform: none; padding-bottom: .35rem; }
  .mobile-menu.is-open .mobile-menu__item { animation: none; opacity: 1; transform: none; }
}

/* ---------- 24. Utility ---------- */
.vh { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

/* the eyebrow's second clause is credibility on desktop and noise on a phone */
.eyebrow__tail { display: none; }
@media (min-width: 620px) { .eyebrow__tail { display: inline; } }
