/* =============================================================
   Molinaro Jiu-Jitsu — site styles
   Type: Big Shoulders (drawn for the City of Chicago) + Instrument Sans + IBM Plex Mono
   ============================================================= */

:root {
  --ink: #0a0a0b;
  --ink-2: #111113;
  --ink-3: #19191c;
  --ink-4: #242428;
  --paper: #f1eee7;
  --paper-2: #e6e1d6;
  --paper-ink: #121212;

  --text: #f4f2ee;
  --muted: rgba(244, 242, 238, .66);
  --faint: rgba(244, 242, 238, .38);
  --line: rgba(244, 242, 238, .12);
  --line-2: rgba(244, 242, 238, .22);
  --stroke: var(--text);

  --red: #e3141b;
  --red-2: #ff2b32;
  --red-deep: #930101;

  /* schedule categories */
  --c-gi: #f4f2ee;
  --c-nogi: #e3141b;
  --c-women: #e27aa9;
  --c-kids: #f2b33d;
  --c-more: #8d8d94;

  /* belts */
  --belt-white: #f1efe9;
  --belt-blue: #2457d6;
  --belt-purple: #6a2fc6;
  --belt-brown: #7a4a26;
  --belt-black: #0d0d0d;

  --f-display: "Big Shoulders", "Big Shoulders Display", Impact, "Arial Narrow", sans-serif;
  --f-body: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1400px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  color-scheme: dark;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
a[href^="tel:"] { white-space: nowrap; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: inherit; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red-2); outline-offset: 3px; }

/* film grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 12px; top: 12px; z-index: 100;
  background: var(--red); color: #fff; padding: 10px 16px; text-decoration: none; font-weight: 600;
  transform: translateY(-160%); transition: transform .2s;
}
.skip:focus { transform: none; }
.i { width: 1em; height: 1em; flex: none; }

/* ---------- Type ---------- */
.display {
  font-family: var(--f-display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: .88;
  letter-spacing: -.004em;
  font-optical-sizing: auto;
  text-wrap: balance;
}
.h2 { font-size: clamp(3rem, 6.4vw, 6.9rem); }
.h3 { font-size: clamp(2rem, 3vw, 2.9rem); line-height: .92; }
.outline { color: transparent; -webkit-text-stroke: max(1.5px, .02em) var(--stroke); }
.red { color: var(--red); }
.lead { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; color: var(--muted); max-width: 48ch; }

.eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 22px;
  font-family: var(--f-mono); font-size: 12px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before {
  content: ""; flex: none; width: 20px; height: 9px;
  background: var(--red); transform: skewX(-22deg);
}
.eyebrow .idx { color: var(--red); }

/* ---------- Buttons ---------- */
.btn {
  --c: 10px;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 17px 26px 16px;
  font-family: var(--f-display); font-weight: 800; font-size: 18px; line-height: 1;
  letter-spacing: .07em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
  transition: background-color .25s, color .25s;
}
.btn:focus-visible { clip-path: none; }
.btn .i { font-size: 18px; transition: transform .35s var(--ease); }
.btn:hover .i { transform: translateX(4px); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-2); }
.btn--ghost { background: rgba(244, 242, 238, .08); color: var(--text); }
.btn--ghost:hover { background: rgba(244, 242, 238, .16); }
.btn--light { background: var(--text); color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--dark { background: var(--paper-ink); color: var(--paper); }
.btn--dark:hover { background: #000; }
.btn--sm { padding: 13px 18px 12px; font-size: 16px; --c: 8px; }
.btn--lg { padding: 21px 32px 20px; font-size: 20px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 3px;
}
.link-arrow .i { transition: transform .35s var(--ease); }
.link-arrow:hover .i { transform: translateX(4px); }

/* ---------- Belt (rank swatch) ---------- */
.belt {
  --belt: var(--belt-white); --bar: var(--belt-black);
  position: relative; display: inline-block; flex: none;
  width: 64px; height: 14px; border-radius: 2px;
  background:
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(0, 0, 0, .13) 3px 4px),
    var(--belt);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
}
.belt::after {
  content: ""; position: absolute; top: 0; bottom: 0; right: 9px; width: 20px; background: var(--bar);
}
.belt--white { --belt: var(--belt-white); }
.belt--blue { --belt: var(--belt-blue); }
.belt--purple { --belt: var(--belt-purple); }
.belt--brown { --belt: var(--belt-brown); }
.belt--black { --belt: var(--belt-black); --bar: var(--red); }

/* ---------- Scroll progress ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 70; pointer-events: none; }
.progress span {
  display: block; height: 100%; background: var(--red);
  transform-origin: 0 50%; transform: scaleX(var(--p, 0));
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 60;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color .35s, border-color .35s, backdrop-filter .35s;
}
.site-header.is-scrolled,
body.nav-open .site-header {
  background: rgba(10, 10, 11, .8);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-color: var(--line);
}
.header__inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { width: 40px; height: 40px; }
.brand__word { display: flex; flex-direction: column; line-height: .9; }
.brand__word b {
  font-family: var(--f-display); font-weight: 900; font-size: 22px;
  letter-spacing: .05em; text-transform: uppercase;
}
.brand__word small {
  margin-top: 4px; font-family: var(--f-mono); font-size: 9.5px;
  letter-spacing: .34em; text-transform: uppercase; color: var(--muted);
}
.nav ul { display: flex; gap: 2px; list-style: none; }
.nav a {
  position: relative; display: block; padding: 10px 14px;
  font-size: 15px; font-weight: 500; text-decoration: none; color: var(--muted);
  transition: color .2s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

.menu-btn { display: none; width: 44px; height: 44px; position: relative; }
.menu-btn span:not(.sr-only) {
  position: absolute; left: 11px; right: 11px; height: 2px; background: var(--text);
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.menu-btn span:nth-child(1) { top: 17px; }
.menu-btn span:nth-child(2) { top: 25px; }
body.nav-open .menu-btn span:nth-child(1) { top: 21px; transform: rotate(45deg); }
body.nav-open .menu-btn span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 55;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: calc(var(--header-h) + 28px) var(--gutter) 32px;
  background: var(--ink);
  overflow-y: auto;
  opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease), visibility 0s .35s;
}
body.nav-open .mobile-nav { opacity: 1; visibility: visible; transition-delay: 0s; }
body.nav-open { overflow: hidden; }
.mobile-nav ul { list-style: none; }
.mobile-nav li { border-bottom: 1px solid var(--line); }
.mobile-nav li a {
  display: flex; align-items: baseline; gap: 16px; padding: 12px 0 10px;
  font-family: var(--f-display); font-weight: 900; font-size: clamp(42px, 12vw, 72px);
  line-height: 1; text-transform: uppercase; text-decoration: none;
  transform: translateY(16px); opacity: 0;
  transition: transform .5s var(--ease), opacity .5s var(--ease), color .2s;
}
.mobile-nav li a small { font-family: var(--f-mono); font-size: 12px; color: var(--red); letter-spacing: .1em; }
.mobile-nav li a[aria-current="page"] { color: var(--red); }
body.nav-open .mobile-nav li a { transform: none; opacity: 1; }
body.nav-open .mobile-nav li:nth-child(2) a { transition-delay: .04s; }
body.nav-open .mobile-nav li:nth-child(3) a { transition-delay: .08s; }
body.nav-open .mobile-nav li:nth-child(4) a { transition-delay: .12s; }
body.nav-open .mobile-nav li:nth-child(5) a { transition-delay: .16s; }
.mobile-nav__foot { display: grid; gap: 16px; color: var(--muted); font-size: 15px; }
.mobile-nav__foot a { text-decoration: none; }

@media (max-width: 960px) {
  .nav { display: none; }
  .menu-btn { display: block; }
  .header__inner { gap: 12px; }
}
@media (max-width: 420px) {
  .brand__word small { letter-spacing: .24em; }
  .header__cta { padding-inline: 14px; }
}

/* ---------- Reveal ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity .9s var(--ease), transform 1.1s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: clamp(88px, 11vw, 168px); }
.paper {
  background: var(--paper); color: var(--paper-ink);
  --text: var(--paper-ink);
  --muted: rgba(18, 18, 18, .64);
  --faint: rgba(18, 18, 18, .36);
  --line: rgba(18, 18, 18, .13);
  --line-2: rgba(18, 18, 18, .24);
  --stroke: var(--paper-ink);
  color-scheme: light;
}
.section-head {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 28px 64px; align-items: end;
  margin-bottom: clamp(44px, 6vw, 88px);
}
.section-head .lead { margin: 0; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

/* =============================================================
   HOME — Hero
   ============================================================= */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(100svh, 760px);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: calc(var(--header-h) + 24px);
}
.hero__media { position: absolute; top: 0; right: 0; bottom: 0; width: 45%; z-index: -1; overflow: hidden; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 48% 38%;
  animation: heroZoom 18s var(--ease) both;
}
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--ink) 0%, rgba(10, 10, 11, .55) 18%, rgba(10, 10, 11, 0) 50%),
    linear-gradient(0deg, rgba(10, 10, 11, .9) 0%, rgba(10, 10, 11, 0) 38%),
    linear-gradient(180deg, rgba(10, 10, 11, .55) 0%, rgba(10, 10, 11, 0) 22%);
}
@keyframes heroZoom { from { transform: scale(1.14); } to { transform: scale(1); } }

.hero__mark {
  position: absolute; z-index: -2; left: -6vw; top: 50%;
  width: min(62vw, 900px); translate: 0 -54%;
  opacity: .035; pointer-events: none;
}
.hero__side {
  position: absolute; right: calc(45% + 18px); top: calc(var(--header-h) + 36px);
  writing-mode: vertical-rl; font-family: var(--f-mono); font-size: 11px;
  letter-spacing: .3em; text-transform: uppercase; color: var(--faint);
}
.hero__inner { position: relative; padding-bottom: 36px; }
.hero__title {
  font-size: clamp(3.7rem, min(8.6vw, 11vh), 9.9rem);
  margin: 0 0 24px; max-width: 11ch;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .045em; margin-bottom: -.045em; }
.hero__title .line > span { display: inline-block; }
.js .hero__title .line > span {
  transform: translateY(108%);
  animation: lineUp 1s var(--ease) forwards;
  animation-delay: calc(.2s + var(--i) * .1s);
}
@keyframes lineUp { to { transform: none; } }
.hero__title .dot { color: var(--red); }
.hero__lead { font-size: clamp(18px, 1.6vw, 22px); color: var(--muted); max-width: 34ch; margin-bottom: 28px; }
.hero__lead b { color: var(--text); font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.js .hero__fade { opacity: 0; transform: translateY(16px); animation: fadeUp .9s var(--ease) forwards; animation-delay: calc(.65s + var(--i, 0) * .1s); }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* live "next class" chip */
.live {
  display: inline-flex; align-items: center; gap: 14px;
  margin-top: 24px; padding: 11px 20px 11px 14px;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(20, 20, 22, .6);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: 14.5px; line-height: 1.3; text-decoration: none;
  transition: border-color .25s;
}
a.live:hover { border-color: var(--line-2); }
.live__dot {
  position: relative; width: 10px; height: 10px; flex: none; border-radius: 50%; background: var(--faint);
}
.live[data-state="now"] .live__dot { background: var(--red); }
.live[data-state="now"] .live__dot::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  border: 2px solid var(--red); animation: ping 1.8s var(--ease) infinite;
}
@keyframes ping { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.live__label {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
  padding-right: 12px; border-right: 1px solid var(--line);
}
.live[data-state="now"] .live__label { color: var(--red-2); }
.live__class { font-weight: 600; }
.live__time { color: var(--muted); }

/* film badge */
.film-badge {
  position: absolute; right: clamp(24px, 4vw, 64px); top: calc(var(--header-h) + clamp(24px, 6vh, 64px));
  width: 136px; height: 136px; border-radius: 50%;
  display: grid; place-items: center; z-index: 2;
}
.film-badge__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.film-badge__ring text { font-family: var(--f-mono); font-size: 12.5px; font-weight: 500; letter-spacing: 2px; fill: var(--text); text-transform: uppercase; }
.film-badge__play {
  width: 64px; height: 64px; border-radius: 50%; background: var(--red); color: #fff;
  display: grid; place-items: center; transition: transform .45s var(--ease), background-color .25s;
}
.film-badge__play svg { width: 20px; height: 20px; margin-left: 3px; }
.film-badge:hover .film-badge__play { transform: scale(1.12); background: var(--red-2); }
@keyframes spin { to { rotate: 360deg; } }

/* hero stats */
.stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0; border-top: 1px solid var(--line);
}
.stat { display: flex; flex-direction: column-reverse; gap: 8px; padding: 20px 20px 24px 0; }
.stat + .stat { padding-left: 22px; border-left: 1px solid var(--line); }
.stat dd {
  margin: 0; font-family: var(--f-display); font-weight: 800;
  font-size: clamp(40px, 4.4vw, 68px); line-height: .85; font-variant-numeric: tabular-nums;
}
.stat dd sup { font-size: .5em; color: var(--red); vertical-align: top; margin-left: 2px; }
.stat dt {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
}

@media (max-width: 1023px) {
  .hero { display: block; min-height: 0; padding-top: 0; }
  .hero__media { position: relative; width: 100%; height: min(72svh, 640px); min-height: 420px; }
  .hero__media::after {
    background:
      linear-gradient(0deg, var(--ink) 3%, rgba(10, 10, 11, .35) 48%, rgba(10, 10, 11, .55) 100%);
  }
  .hero__media img { object-position: 50% 30%; }
  .hero__inner { margin-top: min(-30svh, -200px); }
  .hero__title { font-size: clamp(3.5rem, 15vw, 7rem); }
  .hero__side { display: none; }
  .film-badge { width: 100px; height: 100px; top: calc(var(--header-h) + 18px); right: var(--gutter); }
  .film-badge__ring text { font-size: 13px; }
  .film-badge__play { width: 50px; height: 50px; }
  .hero__mark { display: none; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 8px; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .eyebrow { letter-spacing: .1em; font-size: 11.5px; }
  .live { border-radius: 14px; align-items: flex-start; padding: 12px 16px 12px 14px; }
  .live__dot { margin-top: 4px; }
  .live__text { display: flex; flex-wrap: wrap; gap: 2px 10px; }
  .live__label { flex-basis: 100%; border: 0; padding: 0; }
  .hero__actions .btn { flex: 1 1 100%; }
}

/* =============================================================
   Manifesto
   ============================================================= */
.manifesto__text {
  font-size: clamp(28px, 4.1vw, 62px); line-height: 1.1; letter-spacing: -.025em; font-weight: 500;
  max-width: 24ch; margin: 0 0 clamp(56px, 7vw, 96px); text-wrap: pretty;
}
.manifesto__text em { font-style: normal; color: var(--red); }
.manifesto__text .w { transition: opacity .35s linear; }
.js .manifesto__text .w { opacity: .14; }
.js .manifesto__text .w.on { opacity: 1; }
.manifesto__foot {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) auto; gap: 32px 56px; align-items: end;
  padding-top: 36px; border-top: 1px solid var(--line);
}
.manifesto__img {
  margin: 0; aspect-ratio: 4 / 3; overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
}
.manifesto__img img { width: 100%; height: 100%; object-fit: cover; }
.manifesto__foot p { margin: 0; font-size: 18px; color: var(--muted); max-width: 40ch; }
.manifesto__foot p strong { color: var(--text); font-weight: 600; }
@media (max-width: 860px) {
  .manifesto__foot { grid-template-columns: 1fr; }
}

/* =============================================================
   Marquee
   ============================================================= */
.marquee { overflow: hidden; padding-block: clamp(20px, 3vw, 34px); border-block: 1px solid var(--line); background: var(--ink); }
.marquee__track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: flex; align-items: center; gap: clamp(22px, 3vw, 48px); padding-right: clamp(22px, 3vw, 48px);
  font-family: var(--f-display); font-weight: 900; font-size: clamp(52px, 7.4vw, 116px);
  line-height: 1; text-transform: uppercase; white-space: nowrap;
}
.marquee__item:nth-child(even) { color: transparent; -webkit-text-stroke: max(1.5px, .018em) var(--text); }
.bar { display: inline-block; width: .32em; height: .6em; background: var(--red); transform: skewX(-20deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =============================================================
   Programs
   ============================================================= */
.progs {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-rows: auto auto auto auto 1fr;
  column-gap: clamp(32px, 5vw, 88px);
}
.prog { display: contents; }
.prog__head {
  grid-column: 1;
  position: relative; width: 100%;
  display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 6px 14px;
  padding: 26px 0 24px; text-align: left; border-top: 1px solid var(--line);
}
.prog:nth-child(1) .prog__head { grid-row: 1; }
.prog:nth-child(2) .prog__head { grid-row: 2; }
.prog:nth-child(3) .prog__head { grid-row: 3; }
.prog:nth-child(4) .prog__head { grid-row: 4; border-bottom: 1px solid var(--line); }
.prog__head::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 100%;
  background: var(--red); transform: scaleX(0); transform-origin: 0 50%; transition: transform .7s var(--ease);
}
.prog__head[aria-expanded="true"]::before { transform: scaleX(1); }
.prog__num { grid-row: 1 / 3; align-self: start; padding-top: 8px; font-family: var(--f-mono); font-size: 12px; color: var(--faint); }
.prog__name {
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(38px, 4.2vw, 64px); line-height: .92; color: var(--faint); transition: color .3s;
}
.prog__tag { grid-column: 2; font-size: 14px; color: var(--muted); }
.prog__arrow {
  grid-row: 1 / 3; grid-column: 3;
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2);
  display: grid; place-items: center; font-size: 18px;
  transition: transform .5s var(--ease), background-color .3s, border-color .3s;
}
.prog__head:hover .prog__name,
.prog__head[aria-expanded="true"] .prog__name { color: var(--text); }
.prog__head[aria-expanded="true"] .prog__arrow { background: var(--red); border-color: var(--red); color: #fff; transform: rotate(-45deg); }

.prog__body {
  grid-column: 2; grid-row: 1 / 6;
  opacity: 0; visibility: hidden; transform: translateY(18px);
  transition: opacity .45s var(--ease), transform .7s var(--ease), visibility 0s .45s;
}
.prog__body.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.prog__media {
  margin: 0 0 30px; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink-3);
  clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 30px 100%, 0 calc(100% - 30px));
}
.prog__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.4s var(--ease); }
.prog__body.is-open .prog__media img { transform: scale(1); }
.prog__kicker { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--red-2); margin-bottom: 12px; }
.prog__title { font-size: clamp(34px, 3.4vw, 50px); margin-bottom: 18px; }
.prog__desc { color: var(--muted); max-width: 60ch; }
.prog__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 28px; }
.prog__cols h4, .mini-h {
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--faint); margin-bottom: 14px;
}
.ticks { list-style: none; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 22px; font-size: 15.5px; line-height: 1.45; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 5px;
  background: var(--red); transform: skewX(-22deg);
}
.ticks li b { font-weight: 600; }
.prog__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px;
  margin: 30px 0; padding: 18px 0; border-block: 1px solid var(--line);
  font-size: 14.5px; color: var(--muted);
}
.week { display: flex; gap: 4px; }
.week span {
  width: 28px; height: 28px; display: grid; place-items: center;
  font-family: var(--f-mono); font-size: 11px; color: var(--faint); border: 1px solid var(--line);
}
.week span.on { background: var(--text); border-color: var(--text); color: var(--ink); }
.prog__meta a { color: var(--text); font-weight: 600; margin-left: auto; }

.progs__note {
  grid-column: 1; grid-row: 5; align-self: end;
  margin-top: 40px; padding: 26px 28px; background: var(--ink-2); border: 1px solid var(--line);
}
.progs__note p { color: var(--muted); font-size: 15.5px; }
.progs__note strong { display: block; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 26px; line-height: 1; color: var(--text); margin-bottom: 10px; }

@media (max-width: 1023px) {
  .progs { display: block; }
  .prog { display: block; }
  .prog:nth-child(4) .prog__head { border-bottom: 0; }
  .prog:last-child { border-bottom: 1px solid var(--line); }
  .prog__body { display: none; transform: none; opacity: 1; visibility: visible; padding-bottom: 36px; }
  .prog__body.is-open { display: block; animation: fadeUp .6s var(--ease); }
  .progs__note { margin-top: 32px; }
}
@media (max-width: 600px) {
  .prog__cols { grid-template-columns: 1fr; }
  .prog__head { grid-template-columns: 28px 1fr auto; }
  .prog__meta a { margin-left: 0; }
}

/* =============================================================
   Schedule
   ============================================================= */
.schedule { background: var(--ink-2); }
.schedule .section-head { align-items: end; }
.now-panel { display: grid; gap: 10px; justify-items: start; }
.now-panel .live { margin: 0; }
.sched-controls {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  margin-bottom: 22px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2);
  font-size: 14px; font-weight: 500; color: var(--muted);
  transition: background-color .25s, color .25s, border-color .25s;
}
.chip:hover { color: var(--text); border-color: var(--faint); }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--dot, var(--text)); }
.chip em { font-style: normal; font-family: var(--f-mono); font-size: 11px; opacity: .6; }
.chip[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--ink); }
.tz { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }

.sg {
  display: grid; grid-template-columns: 92px repeat(7, minmax(0, 1fr));
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.sg-r { display: contents; }
.sg-c { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 6px; min-height: 74px; position: relative; }
.sg-c.is-today { background: rgba(227, 20, 27, .055); }
.sg-day {
  min-height: 0; padding: 16px 12px 14px;
  display: flex; align-items: baseline; justify-content: space-between; gap: 6px;
  font-family: var(--f-display); font-weight: 800; font-size: 24px; text-transform: uppercase; line-height: 1;
}
.sg-day small { font-family: var(--f-mono); font-size: 10px; font-weight: 500; letter-spacing: .14em; color: var(--red-2); }
.sg-day.is-today { box-shadow: inset 0 3px 0 var(--red); }
.sg-time { font-family: var(--f-mono); font-size: 12px; color: var(--muted); padding: 14px 12px; white-space: nowrap; }
.sg-corner { min-height: 0; }
.cls {
  --cat: var(--c-gi);
  position: relative; height: 100%; min-height: 62px;
  display: flex; flex-direction: column; justify-content: center; gap: 3px;
  padding: 9px 10px 9px 12px; background: var(--ink-3);
  box-shadow: inset 3px 0 0 var(--cat);
  transition: opacity .35s var(--ease), background-color .25s;
}
.cls b { font-weight: 600; font-size: 13.5px; line-height: 1.2; }
.cls small { font-size: 12px; color: var(--muted); line-height: 1.2; }
.cls.is-past { opacity: .42; }
.cls.is-now { background: rgba(227, 20, 27, .16); box-shadow: inset 3px 0 0 var(--cat), inset 0 0 0 1px var(--red); }
.cls.is-now::after {
  content: "Live"; position: absolute; top: 7px; right: 7px;
  font-family: var(--f-mono); font-size: 9px; letter-spacing: .14em; text-transform: uppercase;
  color: #fff; background: var(--red); padding: 2px 5px;
}
[data-cat="gi"] { --cat: var(--c-gi); --dot: var(--c-gi); }
[data-cat="nogi"] { --cat: var(--c-nogi); --dot: var(--c-nogi); }
[data-cat="women"] { --cat: var(--c-women); --dot: var(--c-women); }
[data-cat="kids"] { --cat: var(--c-kids); --dot: var(--c-kids); }
[data-cat="more"] { --cat: var(--c-more); --dot: var(--c-more); }
.sched:not([data-filter="all"]) .cls:not(.is-match) { opacity: .1; }

/* mobile schedule */
.sm { display: none; }
.sm-tabs {
  display: flex; gap: 6px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 14px; scroll-padding-inline: var(--gutter); scrollbar-width: none;
}
.sm-tabs::-webkit-scrollbar { display: none; }
.sm-tab {
  scroll-snap-align: start; flex: none; min-width: 74px;
  display: grid; gap: 2px; justify-items: start; padding: 12px 14px;
  border: 1px solid var(--line); text-align: left;
}
.sm-tab b { font-family: var(--f-display); font-weight: 800; font-size: 22px; text-transform: uppercase; line-height: 1; }
.sm-tab small { font-family: var(--f-mono); font-size: 10.5px; color: var(--muted); }
.sm-tab.is-today b::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 6px; border-radius: 50%; background: var(--red); vertical-align: middle; }
.sm-tab[aria-selected="true"] { background: var(--text); color: var(--ink); border-color: var(--text); }
.sm-tab[aria-selected="true"] small { color: rgba(10, 10, 11, .6); }
.sm-list { list-style: none; border-top: 1px solid var(--line); }
.sm-item {
  display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.sm-item time { font-family: var(--f-mono); font-size: 12.5px; color: var(--muted); }
.sm-item b { display: block; font-weight: 600; line-height: 1.25; }
.sm-item small { color: var(--muted); font-size: 13.5px; }
.sm-item i { width: 10px; height: 10px; border-radius: 50%; background: var(--cat); }
.sm-item.is-past { opacity: .45; }
.sm-item.is-now b::after {
  content: "Live"; margin-left: 8px; font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .12em;
  text-transform: uppercase; color: #fff; background: var(--red); padding: 2px 5px; vertical-align: 2px;
}
.sched:not([data-filter="all"]) .sm-item:not(.is-match) { display: none; }
.sm-empty { padding: 28px 0; color: var(--muted); border-bottom: 1px solid var(--line); }
.sched-note { margin: 22px 0 0; font-size: 14.5px; color: var(--muted); }
.sched-note a { color: var(--text); }

@media (max-width: 900px) {
  .sg { display: none; }
  .sm { display: block; }
}

/* =============================================================
   Head coach
   ============================================================= */
.coach { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.coach__photo { position: relative; margin: 0; }
.coach__photo .frame {
  aspect-ratio: 4 / 5; overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 36px) 0, 100% 36px, 100% 100%, 36px 100%, 0 calc(100% - 36px));
}
.coach__photo img { width: 100%; height: 115%; object-fit: cover; object-position: 50% 50%; will-change: transform; }
.coach__photo figcaption {
  position: absolute; left: -1px; bottom: 40px;
  display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 16px;
  background: var(--paper-ink); color: var(--paper);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
}
.coach__name { font-size: clamp(3.4rem, 7vw, 7.4rem); margin-bottom: 28px; }
.coach__name span { display: block; }
.facts { margin: 36px 0 40px; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: minmax(120px, 180px) 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-family: var(--f-display); font-weight: 800; font-size: 26px; text-transform: uppercase; line-height: 1.05; }
.facts dd { margin: 0; color: var(--muted); align-self: center; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 900px) {
  .coach { grid-template-columns: 1fr; }
  .coach__photo { max-width: 520px; }
}
@media (max-width: 480px) { .facts div { grid-template-columns: 1fr; gap: 4px; } }

/* =============================================================
   Reviews
   ============================================================= */
.reviews__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.review {
  position: relative; margin: 0; padding: clamp(28px, 3vw, 40px);
  background: var(--ink-2); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 22px;
}
.review:nth-child(2) { margin-top: 56px; }
.review:nth-child(3) { margin-top: 112px; }
.review__q { font-family: var(--f-display); font-weight: 900; font-size: 96px; line-height: .6; height: 42px; color: var(--red); }
.review blockquote { margin: 0; font-size: 18px; line-height: 1.55; }
.stars { display: flex; gap: 3px; color: var(--c-kids); }
.stars svg { width: 16px; height: 16px; }
.review figcaption { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.review figcaption img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.review figcaption b { display: block; font-weight: 600; }
@media (max-width: 960px) {
  .reviews__grid {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(84%, 420px);
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  }
  .reviews__grid::-webkit-scrollbar { display: none; }
  .review { scroll-snap-align: start; margin-top: 0 !important; height: 100%; }
}

/* =============================================================
   Community mosaic
   ============================================================= */
.mosaic {
  display: grid; gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: clamp(260px, 27vw, 400px) clamp(300px, 30vw, 460px);
  grid-template-areas:
    "text text a a"
    "b c d e";
}
.mosaic__text { grid-area: text; align-self: end; padding: 0 clamp(0px, 3vw, 48px) 8px 0; }
.mosaic__text .lead { margin-bottom: 28px; }
.tile { position: relative; margin: 0; overflow: hidden; background: var(--ink-3); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; filter: grayscale(.25); }
.tile:hover img { transform: scale(1.05); filter: none; }
.tile figcaption {
  position: absolute; left: 12px; bottom: 12px;
  padding: 6px 10px; background: rgba(10, 10, 11, .75); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
}
.tile--a { grid-area: a; } .tile--b { grid-area: b; } .tile--c { grid-area: c; } .tile--d { grid-area: d; } .tile--e { grid-area: e; }
@media (max-width: 860px) {
  .mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto 260px 240px 240px;
    grid-template-areas: "text text" "a a" "b c" "d e";
  }
  .mosaic__text { padding: 0 0 20px; }
}

/* =============================================================
   FAQ
   ============================================================= */
.faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(40px, 7vw, 120px); }
.faq__intro .lead { margin-top: 24px; }
.faq__intro a { color: var(--text); font-weight: 600; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0; font-size: clamp(19px, 1.7vw, 23px); font-weight: 600; letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { position: relative; width: 22px; height: 22px; flex: none; }
.faq summary .pm::before, .faq summary .pm::after {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: currentColor;
  transition: transform .4s var(--ease);
}
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] summary .pm::after { transform: rotate(0deg); }
.faq details[open] summary .pm { color: var(--red); }
.faq details p { margin: -6px 0 26px; color: var(--muted); max-width: 62ch; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }

/* =============================================================
   Trial + Visit
   ============================================================= */
.trial { overflow: hidden; }
.trial::before {
  content: ""; position: absolute; right: -10%; top: -20%; width: 60%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(227, 20, 27, .16), transparent);
  pointer-events: none;
}
.trial__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 6vw, 104px); align-items: start; }
.trial__title { font-size: clamp(3.2rem, 6.2vw, 6.6rem); margin-bottom: 26px; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 36px 0 44px; }
.steps li { padding: 18px 18px 20px; border: 1px solid var(--line); background: rgba(244, 242, 238, .02); }
.steps b { display: block; font-family: var(--f-mono); font-size: 11px; color: var(--red-2); letter-spacing: .12em; margin-bottom: 10px; }
.steps span { font-size: 15px; line-height: 1.4; }

.form { display: grid; gap: 22px; }
.form fieldset { border: 0; margin: 0; padding: 0; }
.form legend, .field > span {
  display: block; margin-bottom: 10px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.field em { font-style: normal; color: var(--faint); }
.choice { display: flex; flex-wrap: wrap; gap: 8px; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label {
  padding: 10px 16px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14.5px; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.choice label:hover { border-color: var(--faint); }
.choice input:checked + label { background: var(--red); border-color: var(--red); color: #fff; }
.choice input:focus-visible + label { outline: 2px solid var(--red-2); outline-offset: 3px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field input, .field textarea {
  width: 100%; padding: 12px 0 13px;
  background: transparent; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0;
  font-size: 18px; color: var(--text); outline: none;
  transition: border-color .25s;
}
.field textarea { resize: vertical; min-height: 96px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field textarea:focus { border-color: var(--red); }
.field.is-invalid input { border-color: var(--red-2); }
.field.is-invalid > span { color: var(--red-2); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 6px; }
.form__foot small { color: var(--faint); font-size: 13px; max-width: 34ch; }
.form-status { margin: 0; min-height: 1.5em; font-size: 15px; color: var(--red-2); }
.form-done { display: none; padding: 32px; border: 1px solid var(--line-2); background: var(--ink-2); }
.form-done h3 { font-size: 40px; margin-bottom: 12px; }
.form-done p { color: var(--muted); }
.form-done a { color: var(--text); }
.is-sent .form { display: none; }
.is-sent .form-done { display: block; animation: fadeUp .6s var(--ease); }
@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form__foot .btn { width: 100%; }
}

.visit { background: var(--ink-2); border: 1px solid var(--line); }
.visit__photo { position: relative; margin: 0; aspect-ratio: 16 / 10; overflow: hidden; }
.visit__photo img { width: 100%; height: 100%; object-fit: cover; }
.visit__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(17, 17, 19, .95), rgba(17, 17, 19, 0) 55%); }
.visit__photo figcaption { position: absolute; z-index: 1; left: 28px; right: 28px; bottom: 22px; }
.visit__photo figcaption .display { font-size: clamp(34px, 3.4vw, 48px); line-height: .92; }
.visit__photo figcaption small { display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.visit__info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.visit__info > div { padding: 24px 28px; border-top: 1px solid var(--line); }
.visit__info > div:nth-child(odd) { border-right: 1px solid var(--line); }
.visit__info p { margin: 0; }
.visit__info a { text-decoration: none; }
.visit__info a:hover { color: var(--red-2); }
.hours { margin: 0; display: grid; gap: 6px; font-size: 15.5px; }
.hours div { display: flex; justify-content: space-between; gap: 12px; }
.hours dt { color: var(--muted); }
.hours dd { margin: 0; font-variant-numeric: tabular-nums; }
.visit__map { position: relative; height: 260px; border-top: 1px solid var(--line); background: var(--ink-3); }
.visit__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.88) brightness(.95); }
.visit__map .btn { position: absolute; right: 16px; bottom: 16px; }
.socials { display: flex; gap: 8px; margin-top: 6px; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2);
  display: grid; place-items: center; transition: background-color .2s, border-color .2s, color .2s;
}
.socials a:hover { background: var(--red); border-color: var(--red); color: #fff !important; }
.socials svg { width: 18px; height: 18px; }
@media (max-width: 1023px) { .trial__grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
  .visit__info { grid-template-columns: 1fr; }
  .visit__info > div:nth-child(odd) { border-right: 0; }
  .visit__photo figcaption { left: 20px; right: 20px; }
}

/* =============================================================
   Footer
   ============================================================= */
.site-footer { position: relative; overflow: hidden; border-top: 1px solid var(--line); padding-top: clamp(64px, 8vw, 110px); background: var(--ink); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer__brand img { width: 96px; height: auto; margin-bottom: 22px; }
.footer__brand p { color: var(--muted); max-width: 30ch; }
.footer__brand .display { font-size: 40px; color: var(--text); margin-bottom: 10px; }
.footer__col h3 { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); margin-bottom: 16px; }
.footer__col ul { list-style: none; display: grid; gap: 8px; }
.footer__col a { text-decoration: none; color: var(--muted); transition: color .2s; }
.footer__col a:hover { color: var(--text); }
.footer__col p { color: var(--muted); margin: 0 0 8px; }
.footer__word {
  margin-bottom: 0; text-align: center; white-space: nowrap;
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(80px, 21.6vw, 360px); line-height: .78; letter-spacing: -.01em;
  padding-top: .14em; margin-top: calc(clamp(48px, 7vw, 96px) - .14em);
  color: transparent; -webkit-text-stroke: 1px var(--line-2);
  background: linear-gradient(90deg, var(--red), var(--red)) no-repeat 0 0 / var(--fill, 0%) 100%;
  -webkit-background-clip: text; background-clip: text;
  transition: background-size 1.4s var(--ease);
  user-select: none; translate: 0 .08em;
}
.footer__bar {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-block: 22px 26px; border-top: 1px solid var(--line);
  font-size: 13.5px; color: var(--faint);
}
.footer__bar a { color: var(--muted); text-decoration: none; }
@media (max-width: 860px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

/* =============================================================
   Film modal
   ============================================================= */
.film {
  width: min(1100px, 92vw); max-width: none; padding: 0; border: 0; background: #000; color: var(--text); overflow: visible;
}
.film::backdrop { background: rgba(5, 5, 6, .88); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.film[open] { animation: fadeUp .5s var(--ease); }
.film__frame { aspect-ratio: 16 / 9; background: #000; }
.film__frame iframe { width: 100%; height: 100%; border: 0; }
.film__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 4px 0; background: transparent; }
.film__bar a { font-size: 14px; color: var(--muted); }
.film__close {
  position: absolute; right: 0; top: -54px; width: 44px; height: 44px; border-radius: 50%;
  background: var(--text); color: var(--ink); display: grid; place-items: center; font-size: 20px;
}

/* =============================================================
   ABOUT — Page hero
   ============================================================= */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(92svh, 680px);
  display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 60px) 0 clamp(48px, 7vw, 96px);
}
.page-hero__bg { position: absolute; inset: 0; z-index: -1; }
.page-hero__bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%;
  filter: grayscale(1) contrast(1.1) brightness(.85);
  animation: heroZoom 18s var(--ease) both;
}
.page-hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(0deg, var(--ink) 0%, rgba(10, 10, 11, .55) 45%, rgba(10, 10, 11, .35) 100%),
    linear-gradient(90deg, rgba(10, 10, 11, .75), rgba(10, 10, 11, 0) 70%);
}
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; }
.page-hero__title { font-size: clamp(4rem, 11vw, 12rem); margin-bottom: 28px; }
.page-hero .lead { color: rgba(244, 242, 238, .78); }
.est {
  display: grid; place-items: center; text-align: center;
  width: 150px; height: 150px; border: 1px solid var(--line-2); border-radius: 50%;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.est b { display: block; font-family: var(--f-display); font-weight: 900; font-size: 52px; line-height: .9; color: var(--text); letter-spacing: 0; }
@media (max-width: 760px) { .page-hero__grid { grid-template-columns: 1fr; } .est { display: none; } }

/* ---------- Story ---------- */
.story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px clamp(40px, 8vw, 140px); }
.story__sticky { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; }
.story__title { font-size: clamp(3rem, 5.6vw, 6rem); }
.story__body p { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.6; color: var(--muted); }
.story__body p:first-of-type { color: var(--text); font-size: clamp(22px, 2vw, 28px); line-height: 1.4; font-weight: 500; letter-spacing: -.012em; }
.story__body strong { color: var(--text); font-weight: 600; }
.story__fig { margin: 48px 0 0; }
.story__fig .frame {
  aspect-ratio: 740 / 575; overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
}
.story__fig img { width: 100%; height: 100%; object-fit: cover; }
.story__fig figcaption { margin-top: 12px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
@media (max-width: 900px) { .story { grid-template-columns: 1fr; } .story__sticky { position: static; } }

/* ---------- Timeline ---------- */
.tl { position: relative; max-width: 1040px; margin-inline: auto; }
.tl ol { list-style: none; }
.tl::before, .tl__fill {
  content: ""; position: absolute; left: 196px; top: 8px; bottom: 8px; width: 2px; background: var(--line);
}
.tl__fill { background: var(--red); transform-origin: 50% 0; transform: scaleY(var(--tl, 0)); }
.tl__item { position: relative; display: grid; grid-template-columns: 170px 1fr; gap: 58px; padding: 0 0 clamp(48px, 6vw, 80px); }
.tl__item:last-child { padding-bottom: 0; }
.tl__item::before {
  content: ""; position: absolute; left: 190px; top: 10px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--ink); border: 2px solid var(--line-2); transition: background-color .4s, border-color .4s;
}
.tl__item.is-in::before { background: var(--red); border-color: var(--red); }
.tl__when { text-align: right; font-family: var(--f-display); font-weight: 900; font-size: clamp(34px, 3.4vw, 48px); line-height: .9; text-transform: uppercase; }
.tl__when small { display: block; margin-top: 8px; font-family: var(--f-mono); font-weight: 500; font-size: 11px; letter-spacing: .14em; color: var(--faint); }
.tl__belts { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.tl__item h3 { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(28px, 2.6vw, 38px); line-height: .95; margin-bottom: 10px; }
.tl__item p { color: var(--muted); max-width: 56ch; margin: 0; }
@media (max-width: 700px) {
  .tl::before, .tl__fill { left: 6px; }
  .tl__item { grid-template-columns: 1fr; gap: 10px; padding-left: 40px; }
  .tl__item::before { left: 0; top: 6px; }
  .tl__when { text-align: left; }
}

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.pillar { padding: 36px clamp(20px, 3vw, 44px) 12px 0; }
.pillar + .pillar { padding-left: clamp(20px, 3vw, 44px); border-left: 1px solid var(--line); }
.pillar__n { font-family: var(--f-mono); font-size: 12px; color: var(--red); margin-bottom: 44px; display: block; }
.pillar h3 { font-size: clamp(44px, 4.6vw, 72px); margin-bottom: 18px; }
.pillar p { color: var(--muted); max-width: 36ch; }
@media (max-width: 860px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 32px 0 20px; border-left: 0; border-top: 1px solid var(--line); }
  .pillars { border-top: 0; }
  .pillar__n { margin-bottom: 18px; }
}

/* ---------- Mission band ---------- */
.mission { position: relative; isolation: isolate; overflow: hidden; min-height: 78svh; display: flex; align-items: center; }
.mission__bg { position: absolute; inset: -12% 0; z-index: -1; will-change: transform; }
.mission__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.4) brightness(.55); }
.mission__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 10, 11, .9), rgba(10, 10, 11, .3)); }
.mission__text { font-size: clamp(2.8rem, 6vw, 6.4rem); max-width: 14ch; }

/* ---------- Team ---------- */
.team-controls { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 28px; }
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.member { position: relative; display: flex; flex-direction: column; background: var(--ink-2); border: 1px solid var(--line); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.member[hidden] { display: none; }
.member__photo { position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink-3); }
.member__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; filter: grayscale(1) contrast(1.05); transition: filter .6s, transform 1.2s var(--ease); }
.member:hover .member__photo img, .member:focus-within .member__photo img { filter: none; transform: scale(1.04); }
.member__body { display: flex; flex-direction: column; gap: 12px; padding: 22px 24px 26px; flex: 1; }
.member__top { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.member h3 { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: 32px; line-height: .92; }
.member__role { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--red-2); }
.member__rank { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); }
.member__bio { font-size: 15px; color: var(--muted); margin: 0; }
.member .ig {
  flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2);
  display: grid; place-items: center; transition: background-color .2s, border-color .2s;
}
.member .ig:hover { background: var(--red); border-color: var(--red); }
.member .ig svg { width: 17px; height: 17px; }
.member--lead { grid-column: span 2; grid-row: span 2; }
.member--lead .member__photo { aspect-ratio: auto; flex: 1; min-height: 420px; }
.member--lead .member__photo img { position: absolute; inset: 0; filter: none; object-position: 50% 30%; }
.member--lead .member__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(17, 17, 19, 1), rgba(17, 17, 19, 0) 45%); }
.member--lead .member__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(24px, 3vw, 40px); }
.member--lead h3 { font-size: clamp(44px, 5vw, 76px); }
.member--lead .member__bio { color: rgba(244, 242, 238, .8); font-size: 17px; max-width: 52ch; }
@media (max-width: 1023px) {
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .member--lead { grid-column: span 2; grid-row: auto; }
  .member--lead .member__photo { min-height: 560px; }
}
@media (max-width: 600px) {
  .team { grid-template-columns: 1fr; }
  .member--lead { grid-column: auto; }
  .member--lead .member__photo { min-height: 520px; }
  .member { display: grid; grid-template-columns: 116px 1fr; }
  .member__photo { aspect-ratio: auto; height: 100%; min-height: 150px; }
  .member--lead { display: flex; }
  .member--lead .member__photo { height: auto; }
  .member__body { padding: 16px 18px 18px; gap: 8px; }
  .member h3 { font-size: 26px; }
}

/* ---------- CTA band ---------- */
.cta-band { background: var(--red); color: #fff; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; right: -4%; top: 50%; width: min(42vw, 560px); aspect-ratio: 1;
  translate: 0 -50%; opacity: .12; background: url("../img/logo-shield.png") center / contain no-repeat;
  filter: brightness(0);
}
.cta-band__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; padding-block: clamp(72px, 9vw, 128px); }
.cta-band h2 { font-size: clamp(3.2rem, 7vw, 7.6rem); }
.cta-band p { margin: 18px 0 0; font-size: 18px; color: rgba(255, 255, 255, .85); max-width: 44ch; }
.cta-band .eyebrow { color: rgba(255, 255, 255, .85); }
.cta-band .eyebrow::before { background: #fff; }
@media (max-width: 760px) { .cta-band__inner { grid-template-columns: 1fr; } }

/* =============================================================
   Reduced motion
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .manifesto__text .w { opacity: 1; }
  .marquee__track { animation: none; }
}
