/* ==========================================================================
   NEXUS JIU-JITSU & MMA — "The Fight Manual" design system
   Palette: #000000 / #ac0008 / #ffffff (+ derived neutrals only)
   Rhythm rule: dark = emotion (image-led beats) · light = information
   ========================================================================== */

:root {
  --black: #000000;
  --red: #ac0008;
  --red-deep: #8a0006;
  --white: #ffffff;
  --ink: #0d0d0d;
  --char: #161616;
  --paper: #f4f4f4;
  --muted-l: #4a4a4a;
  --muted-d: rgba(255, 255, 255, .7);
  --line-l: rgba(0, 0, 0, .12);
  --line-d: rgba(255, 255, 255, .14);

  --f-display: 'Barlow Semi Condensed', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  --f-serif: 'Barlow', 'Helvetica Neue', Arial, sans-serif;
  --f-body: 'Barlow', 'Helvetica Neue', Arial, sans-serif;
  --f-mono: 'Barlow Semi Condensed', 'Arial Narrow', Arial, sans-serif;

  --max: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --sp: clamp(88px, 10.5vw, 156px);
  --sp-sm: clamp(56px, 7vw, 96px);
  --header-h: 92px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --cut: 14px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 900; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
::selection { background: var(--red); color: var(--white); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 999;
  background: var(--red); color: var(--white); padding: 12px 18px;
  font-family: var(--f-mono); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Section themes ---------- */
.section { position: relative; padding: var(--sp) 0; }
.section--tight { padding: var(--sp-sm) 0; }
.s-dark { background: var(--black); color: var(--white); }

.s-white { background: var(--white); color: var(--ink); }
.s-paper { background: var(--paper); color: var(--ink); }

/* Grain — dark sections only */
.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Seam: the logo triangle, inverted into a "keep reading" arrow.
   <i class="seam seam--paper"> sits at the TOP of a section, coloured like the section before it,
   with a red plumb line that draws in and pulls the eye down the page. */
.seam { position: absolute; top: -1px; left: 50%; z-index: 4; width: 76px; height: 66px; transform: translateX(-50%); pointer-events: none; }
.seam::before { content: ""; position: absolute; inset: 0; clip-path: polygon(0 0, 100% 0, 50% 100%); background: var(--seam); }
.seam::after { content: ""; position: absolute; top: 82px; left: 50%; width: 2px; height: 56px; margin-left: -1px; background: var(--red); transform: scaleY(0); transform-origin: top; transition: transform 1.1s var(--ease) .25s; }
.seam.is-in::after { transform: scaleY(1); }
.seam--dark { --seam: var(--black); }

.seam--white { --seam: var(--white); }
.seam--paper { --seam: var(--paper); }
.seam--red { --seam: var(--red); }

/* ---------- Typography ---------- */
.label {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-mono); font-weight: 500; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase;
  margin-bottom: 26px;
}
.label::before { content: ""; width: 11px; height: 10px; background: var(--red); clip-path: polygon(0 0, 100% 0, 50% 100%); flex: none; }
.label span { opacity: .55; }
.s-dark .label { color: var(--white); }

.display { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; line-height: .88; letter-spacing: -.005em; }
.h2 { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(2.7rem, 6.4vw, 5.6rem); line-height: .9; letter-spacing: -.005em; }
.h3 { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.6rem, 2.6vw, 2.25rem); line-height: .95; }
.h2 em, .h3 em, .display em, .em {
  font-family: var(--f-serif); font-style: italic; font-weight: 400; text-transform: none;
  letter-spacing: 0; color: var(--red); font-size: 1.02em;
}
.lead { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.55; }
.s-white .lead, .s-paper .lead { color: #1d1d1d; }
.muted { color: var(--muted-l); }
.s-dark .muted { color: var(--muted-d); }
.mono { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.fig { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-l); margin-top: 14px; display: flex; gap: 10px; }
.fig b { color: var(--red); font-weight: 500; }
.s-dark .fig { color: rgba(255,255,255,.55); }

.section-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 80px); align-items: end; margin-bottom: clamp(48px, 6vw, 84px); }

/* ---------- Buttons ---------- */
.btn {
  white-space: nowrap;
  --bg: var(--red); --fg: var(--white); --hover: var(--white); --hover-fg: var(--black);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  padding: 19px 30px 18px; min-height: 58px;
  font-family: var(--f-display); font-weight: 800; font-size: 1.1875rem; letter-spacing: .05em; text-transform: uppercase; line-height: 1;
  color: var(--fg); background: var(--bg); overflow: hidden; isolation: isolate;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
  transition: color .35s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; background: var(--hover); transform: translateX(-101%); transition: transform .45s var(--ease); z-index: -1; }
.btn:hover::before, .btn:focus-visible::before { transform: translateX(0); }
.btn:hover, .btn:focus-visible { color: var(--hover-fg); }
.btn .tri { width: 10px; height: 11px; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); transition: transform .35s var(--ease); flex: none; }
.btn:hover .tri { transform: translateX(4px); }
.btn--ghost { --bg: transparent; --fg: var(--white); box-shadow: inset 0 0 0 2px rgba(255,255,255,.85); clip-path: none; }
.btn--dark { --bg: var(--black); --fg: var(--white); --hover: var(--red); --hover-fg: var(--white); }
.btn--line { --bg: transparent; --fg: var(--black); --hover: var(--black); --hover-fg: var(--white); box-shadow: inset 0 0 0 2px var(--black); clip-path: none; }

.btn--sm { min-height: 46px; padding: 14px 20px 13px; font-size: 1.05rem; --cut: 10px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 800; font-size: 1.15rem;
  text-transform: uppercase; letter-spacing: .05em; border-bottom: 2px solid var(--red); padding-bottom: 4px;
}
.link-arrow .tri { width: 9px; height: 10px; background: var(--red); clip-path: polygon(0 0, 100% 50%, 0 100%); transition: transform .3s var(--ease); }
.link-arrow:hover .tri { transform: translateX(5px); }

/* ---------- Logo (original file, cropped in CSS — no image editing) ---------- */
.logo { display: block; width: var(--lw, 62px); aspect-ratio: 774 / 693; overflow: hidden; flex: none; }
/* crop to the octopus + triangle mark (Image/Logo/nexus-logo.webp, x 108–882, y 48–741 of 1000) */
.logo img { display: block; width: 129.2%; max-width: none; height: auto; margin: -6.2% 0 0 -13.95%; }

/* ---------- Image frames (CSS crop: --pos keeps heads in frame) ---------- */
.ph { position: relative; overflow: hidden; background: var(--char); }
.ph img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 40%); }
@media (max-width: 760px) { .ph img { object-position: var(--pos-m, var(--pos, 50% 40%)); } }
.frame { position: relative; }
.frame::before, .frame::after { content: ""; position: absolute; width: 38px; height: 38px; z-index: 3; pointer-events: none; }
.frame::before { top: -12px; left: -12px; border-top: 2px solid var(--red); border-left: 2px solid var(--red); }
.frame::after { bottom: -12px; right: -12px; border-bottom: 2px solid var(--red); border-right: 2px solid var(--red); }

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  color: var(--white); transition: height .35s var(--ease), background .35s, box-shadow .35s;
}
.site-header::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.7), rgba(0,0,0,0)); pointer-events: none; transition: opacity .35s; }
.site-header.is-scrolled { --header-h: 74px; background: rgba(0,0,0,.94); box-shadow: 0 1px 0 var(--line-d); }
.site-header.is-scrolled::before { opacity: 0; }

.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 34px); }
.nav > a, .nav-drop > button {
  position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 10px 0;
  font-family: var(--f-display); font-weight: 700; font-size: 1.12rem; letter-spacing: .07em; text-transform: uppercase;
}
.nav > a::after, .nav-drop > button::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 12px; height: 10px; background: var(--red);
  clip-path: polygon(50% 0, 100% 100%, 0 100%); transform: translate(-50%, 6px) scale(0); transition: transform .3s var(--ease);
}
.nav > a:hover::after, .nav > a[aria-current="page"]::after,
.nav-drop:hover > button::after, .nav-drop.is-current > button::after { transform: translate(-50%, 6px) scale(1); }
.nav-drop > button .caret { width: 9px; height: 7px; background: currentColor; clip-path: polygon(0 0, 100% 0, 50% 100%); transition: transform .3s; }
.nav-drop.is-open > button .caret { transform: rotate(180deg); }

/* Mega menu */
.nav-drop { position: relative; }
.mega {
  position: absolute; top: calc(100% + 18px); left: 50%; width: 280px; padding: 8px;
  transform: translate(-50%, 10px); opacity: 0; visibility: hidden;
  background: var(--black); border: 1px solid var(--line-d); border-top: 3px solid var(--red);
  box-shadow: 0 24px 50px rgba(0,0,0,.5); transition: opacity .25s, transform .25s var(--ease), visibility .25s;
}
.mega::before { content: ""; position: absolute; top: -21px; left: 0; right: 0; height: 20px; }
.nav-drop.is-open .mega, .nav-drop:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media (hover: hover) { .nav-drop:hover .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); } }
.mega a { display: block; padding: 11px 14px; transition: background .2s; }
.mega a:hover, .mega a:focus-visible { background: var(--char); }
.mega a strong { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; letter-spacing: .03em; text-transform: uppercase; line-height: 1.1; color: var(--white); transition: color .2s; }
.mega a strong::after { content: ""; flex: none; width: 7px; height: 8px; background: var(--red); clip-path: polygon(0 0, 100% 50%, 0 100%); opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .2s; }
.mega a:hover strong::after, .mega a:focus-visible strong::after { opacity: 1; transform: none; }
.mega a span { display: block; margin-top: 3px; font-size: .82rem; color: var(--muted-d); }
.mega a[aria-current="page"] strong { color: var(--red); }
.mega .mega-all .tri { width: 7px; height: 8px; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); transition: transform .2s; }
.mega .mega-all:hover .tri { transform: translateX(4px); }
.mega .mega-all { display: flex; align-items: center; gap: 8px; margin-top: 6px; padding-top: 13px; border-top: 1px solid var(--line-d); font-family: var(--f-display); font-weight: 700; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }

/* Burger + mobile menu */
.burger { display: none; width: 48px; height: 48px; position: relative; z-index: 120; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; transition: transform .35s var(--ease), opacity .2s, top .35s var(--ease); }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 23px; right: 19px; background: var(--red); }
.burger span:nth-child(3) { top: 30px; }
.menu-open .burger span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { top: 23px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 95; background: var(--black); color: var(--white);
  display: flex; flex-direction: column; padding: 110px var(--gutter) 34px; overflow-y: auto;
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); visibility: hidden; transition: clip-path .6s var(--ease), visibility 0s .6s;
}
.menu-open .mobile-menu { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); visibility: visible; transition: clip-path .6s var(--ease), visibility 0s; }
.mobile-menu .wm { position: absolute; right: -40px; bottom: 60px; --lw: 260px; opacity: .06; pointer-events: none; }

/* ==========================================================================
   HERO (home) — base. The chosen design (photo wall) is styled in "HERO v3" below.
   ========================================================================== */
.hero { position: relative; overflow: hidden; isolation: isolate; background: var(--black); color: var(--white); }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(172,0,8,.7); animation: pulse 1.8s infinite; flex: none; }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.8); opacity: .55; } }
@keyframes spin { to { rotate: 360deg; } }

/* Hero load choreography */
.js .hero [data-in], .js .page-hero [data-in] { opacity: 0; transform: translateY(26px); animation: rise .9s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 1ms + 150ms); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ==========================================================================
   MARQUEE (red band)
   ========================================================================== */

/* ==========================================================================
   CONTENT COMPONENTS
   ========================================================================== */
/* Split editorial layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.split--rev > :first-child { order: 2; }
.split--top { align-items: start; }
.prose p { color: var(--muted-l); }
.s-dark .prose p { color: var(--muted-d); }
.prose .lead { color: inherit; }
.prose h2 + p, .prose .h2 + .lead { margin-top: 28px; }

/* Overlapping photo pair */
.pair { position: relative; padding: 0 0 18% 12%; isolation: isolate; }
.pair .main { aspect-ratio: 4 / 5; }
.pair .inset { position: absolute; left: 0; bottom: 0; width: 46%; aspect-ratio: 3 / 4; border: 8px solid var(--white); z-index: 2; }
.s-paper .pair .inset { border-color: var(--paper); }
.pair .shape { position: absolute; right: -9%; top: -9%; width: 50%; aspect-ratio: 1.155; background: var(--red); clip-path: polygon(50% 0, 100% 100%, 0 100%); z-index: -1; }
.pair .fig { position: absolute; right: 0; bottom: 2%; margin: 0; }

/* Fact row */

/* Program cards — asymmetric */

/* Motto — kinetic */
.motto { position: relative; min-height: 72vh; padding: 140px 0 100px; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; color: var(--white); background: var(--black); isolation: isolate; }
.motto > .ph { position: absolute; inset: -12% 0; z-index: -2; will-change: transform; }
.motto > .ph img { filter: grayscale(.25) contrast(1.12); }
.motto::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 60% 70% at center, rgba(0,0,0,.74), rgba(0,0,0,.5) 70%, rgba(0,0,0,.7)); }
.motto .wm { position: absolute; --lw: min(56vw, 640px); left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: .07; z-index: -1; }

.motto.is-in .light { opacity: 1; transform: translateY(0); }
.motto .label { justify-content: center; margin-bottom: 40px; }

/* Method / lessons */
.lessons { display: grid; gap: 0; margin-top: 40px; border-top: 1px solid var(--line-l); }
.lesson { display: grid; grid-template-columns: 112px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line-l); }
.lesson .mono { color: var(--red); padding-top: 6px; }
.lesson h3 { font-family: var(--f-display); font-weight: 800; font-size: 1.6rem; text-transform: uppercase; line-height: 1; margin-bottom: 8px; }
.lesson p { color: var(--muted-l); margin: 0; font-size: 1rem; }
.s-dark .lesson, .s-dark .lessons { border-color: var(--line-d); }
.s-dark .lesson p { color: var(--muted-d); }

/* Steps */

/* Testimonials */
.quotes { position: relative; overflow: hidden; color: var(--white); background: var(--black); isolation: isolate; }
.quotes > .ph { position: absolute; inset: 0; z-index: -2; opacity: .28; }
.quotes > .ph img { filter: grayscale(1); }
.quotes::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #000 18%, rgba(0,0,0,.72) 60%, rgba(0,0,0,.55)); }

/* Today strip */
.today { border: 2px solid var(--black); }
.today-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 22px; background: var(--black); color: var(--white); }
.today-head strong { font-family: var(--f-display); font-weight: 800; font-size: 1.4rem; text-transform: uppercase; }
.today-head .mono { color: rgba(255,255,255,.65); font-size: .7rem; }
.today-row { display: grid; grid-template-columns: 150px 1fr auto; gap: 16px; align-items: center; padding: 16px 22px; border-top: 1px solid var(--line-l); }
.today-row:first-of-type { border-top: 0; }
.today-row time { font-family: var(--f-mono); font-size: .82rem; letter-spacing: .04em; }
.today-row b { font-family: var(--f-display); font-weight: 800; font-size: 1.3rem; text-transform: uppercase; line-height: 1.05; }
.today-row .tag { font-family: var(--f-mono); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; padding: 5px 8px; border: 1px solid var(--line-l); white-space: nowrap; }
.today-row.is-live { background: #fff4f4; }
.today-row.is-live .tag { background: var(--red); border-color: var(--red); color: var(--white); }
.today-row.is-done { opacity: .45; }
.today-empty { padding: 22px; color: var(--muted-l); }
.today-foot { padding: 14px 22px; border-top: 1px solid var(--line-l); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }

/* Program tag colours (schedule) */
.t-kids { --tc: #000; }
.t-bjj { --tc: var(--red); }
.t-strike { --tc: #8c8c8c; }
.t-open { --tc: repeating-linear-gradient(180deg, var(--red) 0 4px, transparent 4px 7px); }

/* FAQ */
.faq { border-top: 2px solid var(--black); }
.faq details { border-bottom: 1px solid var(--line-l); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 22px; padding: 22px 0; font-family: var(--f-display); font-weight: 800; font-size: clamp(1.25rem, 2vw, 1.6rem); text-transform: uppercase; line-height: 1.05; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 34px; height: 34px; background:
  linear-gradient(var(--black), var(--black)) center / 14px 2px no-repeat,
  linear-gradient(var(--black), var(--black)) center / 2px 14px no-repeat; border: 1px solid var(--line-l); transition: transform .35s var(--ease), background-color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--red); background-image: linear-gradient(#fff,#fff), linear-gradient(#fff,#fff); border-color: var(--red); }
.faq summary:hover { color: var(--red-deep); }
.faq .ans { padding: 0 60px 26px 0; color: var(--muted-l); }
.s-dark .faq { border-top-color: var(--white); }
.s-dark .faq details { border-bottom-color: var(--line-d); }
.s-dark .faq summary::after { background-image: linear-gradient(#fff,#fff), linear-gradient(#fff,#fff); border-color: var(--line-d); }
.s-dark .faq .ans { color: var(--muted-d); }

/* Location / map */

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { position: relative; background: var(--black); color: var(--white); padding: clamp(80px, 9vw, 130px) 0 0; overflow: hidden; }

.site-footer h4 { font-family: var(--f-mono); font-weight: 500; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--red); margin-bottom: 20px; }

.social { display: flex; gap: 10px; margin-top: 22px; }
.social a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line-d); transition: background .3s, border-color .3s; }
.social a:hover { background: var(--red); border-color: var(--red); }
.social svg { width: 18px; height: 18px; fill: currentColor; }

/* ==========================================================================
   MODAL (native <dialog>) + FORMS
   ========================================================================== */

.form-title { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: 2.2rem; line-height: .9; margin-bottom: 8px; }
.form-intro { color: var(--muted-l); font-size: .96rem; margin-bottom: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: #333; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--white);
  border: 0; border-bottom: 2px solid #cfcfcf; padding: 12px 2px 10px; border-radius: 0; transition: border-color .25s; appearance: none;
}
.s-paper .field input, .s-paper .field select, .s-paper .field textarea { background: transparent; }
.field select { background-image: linear-gradient(45deg, transparent 50%, #000 50%), linear-gradient(-45deg, transparent 50%, #000 50%); background-position: calc(100% - 14px) 52%, calc(100% - 9px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 30px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--red); }
.field.is-bad input, .field.is-bad select { border-bottom-color: var(--red); }
.field .err { font-size: .8rem; color: #b3261e; min-height: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: 28px; }
.form-foot small { color: var(--muted-l); font-size: .82rem; line-height: 1.45; max-width: 300px; }

.is-sent form { display: none; }

/* ==========================================================================
   SCHEDULE
   ========================================================================== */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.chip { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; padding: 11px 16px; border: 1px solid var(--black); background: transparent; transition: background .25s, color .25s; }
.chip:hover { background: var(--paper); }
.chip[aria-pressed="true"] { background: var(--black); color: var(--white); }
.week { display: grid; grid-template-columns: repeat(6, 1fr); border: 2px solid var(--black); background: var(--white); }
.day { border-right: 1px solid var(--line-l); min-width: 0; display: flex; flex-direction: column; }
.day:last-child { border-right: 0; }
.day h3 { position: relative; font-family: var(--f-display); font-weight: 900; font-size: 1.5rem; text-transform: uppercase; padding: 18px 16px 14px; background: var(--black); color: var(--white); border-right: 1px solid rgba(255,255,255,.12); }
.day.is-today h3 { background: var(--red); }
.day.is-today h3::after { content: "Today"; position: absolute; right: 12px; top: 22px; font-family: var(--f-mono); font-weight: 500; font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; }
.cls { padding: 16px; border-bottom: 1px solid var(--line-l); transition: opacity .3s, background .3s; position: relative; }
.cls::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 4px; background: var(--tc, #000); }
.cls time { display: block; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .03em; color: #333; margin-bottom: 6px; }
.cls b { display: block; font-family: var(--f-display); font-weight: 800; font-size: 1.22rem; text-transform: uppercase; line-height: 1.02; }
.cls .tag { display: inline-block; margin-top: 8px; font-family: var(--f-mono); font-size: .58rem; letter-spacing: .16em; text-transform: uppercase; padding: 4px 7px; border: 1px solid var(--line-l); }
.cls.is-dim { opacity: .18; }
.cls.is-live { background: #fff4f4; }
.cls.is-live time::after { content: " · Live now"; color: var(--red-deep); font-weight: 500; }
.cls .note { display: block; font-size: .8rem; color: var(--muted-l); margin-top: 6px; line-height: 1.4; }
.day-tabs { display: none; }
.legend { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 22px; font-size: .9rem; color: var(--muted-l); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 3px; height: 16px; background: var(--tc); }

/* Program-page schedule list */
.times { border-top: 2px solid var(--black); }
.time-row { display: grid; grid-template-columns: 120px 190px 1fr; gap: 18px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line-l); }
.time-row .d { font-family: var(--f-display); font-weight: 900; font-size: 1.5rem; text-transform: uppercase; }
.time-row time { font-family: var(--f-mono); font-size: .84rem; }
.time-row b { font-family: var(--f-display); font-weight: 800; font-size: 1.3rem; text-transform: uppercase; line-height: 1.05; }
.time-row small { display: block; font-size: .85rem; color: var(--muted-l); }
.time-row.is-today .d { color: var(--red-deep); }

/* ==========================================================================
   FEATURES / ABOUT EXTRAS
   ========================================================================== */
.belts { display: grid; gap: 22px; }
.belt-row { display: grid; grid-template-columns: 360px 1fr; gap: clamp(20px, 4vw, 60px); align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line-l); }
.belt { position: relative; height: 46px; background: var(--bc); box-shadow: inset 0 0 0 1px rgba(0,0,0,.18), inset 0 -8px 12px rgba(0,0,0,.12); transform-origin: left; }
.js .belt { transform: scaleX(0); transition: transform 1.1s var(--ease); }
.js .is-in .belt, .js .belt-row.is-in .belt { transform: scaleX(1); }
.belt::before { content: ""; position: absolute; top: 0; bottom: 0; right: 14%; width: 26%; background: var(--bar, #111); }
.belt::after { content: ""; position: absolute; top: 0; bottom: 0; right: calc(14% + 4%); width: 12%; background: repeating-linear-gradient(90deg, #fff 0 5px, transparent 5px 14px); opacity: var(--stripes, 0); }
.belt-row h3 { font-family: var(--f-display); font-weight: 900; font-size: 2rem; text-transform: uppercase; line-height: 1; margin-bottom: 8px; }
.belt-row p { color: var(--muted-l); margin: 0; }
.b-white { --bc: #f2f2f2; } .b-blue { --bc: #1d4ea3; } .b-purple { --bc: #5a2a8a; } .b-brown { --bc: #6b4226; } .b-black { --bc: #111; --bar: var(--red); }

.code { counter-reset: code; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(30px, 5vw, 80px); }
.code li { counter-increment: code; display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 22px 0; border-bottom: 1px solid var(--line-d); align-items: baseline; }
.code li::before { content: counter(code, decimal-leading-zero); font-family: var(--f-display); font-weight: 900; font-size: 2.4rem; color: var(--red); line-height: 1; }
.code li strong { display: block; font-family: var(--f-display); font-weight: 800; font-size: 1.35rem; text-transform: uppercase; line-height: 1.05; margin-bottom: 4px; }
.code li span { color: var(--muted-d); font-size: .96rem; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--black); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.card { padding: 34px 30px 34px 0; border-right: 1px solid var(--line-l); }
.card + .card { padding-left: 30px; }
.card:last-child { border-right: 0; }
.card .mono { color: var(--red-deep); display: block; margin-bottom: 14px; }
.card h3 { font-family: var(--f-display); font-weight: 800; font-size: 1.8rem; text-transform: uppercase; line-height: .98; margin-bottom: 12px; }
.card p { color: var(--muted-l); font-size: 1rem; }
.s-dark .cards { border-top-color: var(--white); }
.s-dark .card { border-right-color: var(--line-d); }
.s-dark .card p { color: var(--muted-d); }
.s-dark .card .mono { color: var(--red); }

.values { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--black); border-left: 1px solid var(--line-l); }
.value { padding: 34px 28px; border-right: 1px solid var(--line-l); border-bottom: 1px solid var(--line-l); transition: background .35s, color .35s; }
.value:hover { background: var(--black); color: var(--white); }
.value:hover p { color: var(--muted-d); }
.value .mono { color: var(--red-deep); }
.value:hover .mono { color: var(--red); }
.value h3 { font-family: var(--f-display); font-weight: 900; font-size: 2rem; text-transform: uppercase; line-height: .95; margin: 14px 0 10px; }
.value p { color: var(--muted-l); font-size: .98rem; margin: 0; transition: color .35s; }

.gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 120px; gap: 12px; }
.gallery .ph { grid-column: span 4; grid-row: span 3; }
.gallery .ph.w6 { grid-column: span 6; }
.gallery .ph.w8 { grid-column: span 8; }
.gallery .ph.h2 { grid-row: span 2; }
.gallery .ph.h4 { grid-row: span 4; }
.gallery .ph img { transition: transform .8s var(--ease), filter .5s; }
.gallery .ph:hover img { transform: scale(1.05); }

.gear { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gear li { padding: 26px 22px; background: var(--white); border-top: 4px solid var(--black); }
.gear li b { display: block; font-family: var(--f-display); font-weight: 900; font-size: 1.6rem; text-transform: uppercase; line-height: 1; margin: 10px 0 8px; }
.gear li span { color: var(--muted-l); font-size: .95rem; }
.gear .mono { color: var(--red-deep); }

.pull { font-family: var(--f-serif); font-style: italic; font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.15; border-left: 4px solid var(--red); padding-left: 26px; margin: 34px 0; }
.s-dark .pull { color: var(--white); }

/* Features grid */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--black); }
.feat { padding: 30px 24px 34px 0; border-bottom: 1px solid var(--line-l); }
.feat:not(:nth-child(4n)) { border-right: 1px solid var(--line-l); }
.feat:not(:nth-child(4n+1)) { padding-left: 24px; }
.feat .mono { color: var(--red-deep); }
.feat h3 { font-family: var(--f-display); font-weight: 900; font-size: 1.7rem; text-transform: uppercase; line-height: .95; margin: 14px 0 10px; }
.feat p { color: var(--muted-l); font-size: .97rem; margin: 0; }

/* Compare table */
.compare { width: 100%; border-collapse: collapse; border-top: 2px solid var(--black); }
.compare th, .compare td { text-align: left; padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line-l); vertical-align: top; }
.compare thead th { font-family: var(--f-display); font-weight: 900; font-size: 1.5rem; text-transform: uppercase; line-height: 1; }
.compare tbody th { font-family: var(--f-mono); font-weight: 500; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-l); width: 18%; }
.compare td { font-size: .98rem; }
.table-scroll { overflow-x: auto; }

/* Big stat */
.bigstat { display: flex; align-items: flex-end; gap: 24px; }
.bigstat b { font-family: var(--f-display); font-weight: 900; font-size: clamp(9rem, 22vw, 20rem); line-height: .78; color: transparent; -webkit-text-stroke: 2px var(--red); }
.bigstat span { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.4rem, 2.4vw, 2rem); text-transform: uppercase; line-height: 1; padding-bottom: 14px; }

/* Program panel (programs hub) */
.panel-num { font-family: var(--f-display); font-weight: 900; font-size: clamp(5rem, 9vw, 8rem); line-height: .8; color: transparent; -webkit-text-stroke: 2px var(--red); display: block; margin-bottom: 18px; }
.mini-times { display: grid; gap: 8px; margin: 26px 0 32px; border-top: 1px solid var(--line-l); padding-top: 18px; }
.mini-times li { display: grid; grid-template-columns: 120px 1fr; gap: 12px; font-size: .96rem; }
.mini-times li span { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .08em; padding-top: 3px; color: var(--muted-l); }
.s-dark .mini-times { border-top-color: var(--line-d); }
.s-dark .mini-times li span { color: rgba(255,255,255,.6); }
.tall { aspect-ratio: 4 / 5; }
.wide { aspect-ratio: 16 / 10; }
.note-box { margin-top: 26px; padding: 18px 22px; border-left: 4px solid var(--red); background: var(--paper); font-size: .95rem; }
.s-paper .note-box { background: var(--white); }
.dark-bg { position: relative; overflow: hidden; isolation: isolate; }
.dark-bg > .ph { position: absolute; inset: 0; z-index: -2; opacity: .3; }
.dark-bg > .ph img { filter: grayscale(1); }
.dark-bg::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #000 30%, rgba(0,0,0,.6)); }

@media (max-width: 980px) {
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .feat, .feat:not(:nth-child(4n+1)) { padding: 26px 18px 28px 0; border-right: 0; }
  .feat:nth-child(odd) { border-right: 1px solid var(--line-l); }
  .feat:nth-child(even) { padding-left: 18px; }
}
@media (max-width: 640px) {
  .feat-grid { grid-template-columns: 1fr; }
  .feat:nth-child(odd) { border-right: 0; }
  .feat:nth-child(even) { padding-left: 0; }
  .bigstat { flex-direction: column; align-items: flex-start; gap: 6px; }
  .mini-times li { grid-template-columns: 1fr; gap: 2px; }
}

/* ==========================================================================
   REVEAL
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 1ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="left"] { transform: translateX(-40px); }
.js [data-reveal="right"] { transform: translateX(40px); }
.js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--ease); }
.js [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: block; }
  
}
@media (max-width: 980px) {
  .split, .section-head { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
  .section-head { align-items: start; }
  
  
  
  
  .cards, .values, .gear { grid-template-columns: 1fr; }
  .card, .card + .card { padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--line-l); }
  .s-dark .card { border-bottom-color: var(--line-d); }
  .code { grid-template-columns: 1fr; }
  .belt-row { grid-template-columns: 1fr; }
  /* schedule: day tabs */
  .day-tabs { display: flex; overflow-x: auto; gap: 6px; margin-bottom: 14px; scrollbar-width: none; }
  .day-tabs button { flex: 1 1 0; min-width: 0; padding-left: 4px !important; padding-right: 4px !important; font-family: var(--f-display); font-weight: 800; font-size: 1.15rem; text-transform: uppercase; padding: 12px 14px; border: 1px solid var(--black); }
  .day-tabs button[aria-selected="true"] { background: var(--black); color: var(--white); }
  .week { grid-template-columns: 1fr; }
  .js .week .day { display: none; border-right: 0; }
  .js .week .day.is-shown { display: flex; }
  .time-row { grid-template-columns: 90px 1fr; }
  .time-row > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  :root { --header-h: 76px; }
  .hero .btn-row .btn { width: 100%; }
  .pair { padding: 0 0 22% 8%; }
  
  
  .form-grid { grid-template-columns: 1fr; }
  .today-row { grid-template-columns: 1fr auto; }
  .today-row time { grid-column: 1 / -1; }
  .lesson { grid-template-columns: 1fr; gap: 6px; }
  
  .gallery { grid-auto-rows: 90px; }
  .gallery .ph, .gallery .ph.w6, .gallery .ph.w8 { grid-column: span 12; }
  .faq .ans { padding-right: 0; }
  .seam { width: 54px; height: 47px; }
  .seam::after { top: 60px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js .hero [data-in], .js .page-hero [data-in] { opacity: 1; transform: none; clip-path: none; }
  
}

.form-error { color: #b3261e; font-size: .9rem; margin-top: 14px; }

.contact-form { background: var(--white); padding: clamp(28px, 4vw, 48px); border-top: 4px solid var(--red); box-shadow: 0 30px 60px -40px rgba(0,0,0,.35); }
.contact-form .form-title { font-size: clamp(2.2rem, 3.6vw, 3rem); }
.menu-open .site-header { background: var(--black); box-shadow: 0 1px 0 var(--line-d); }
.menu-open .site-header::before { opacity: 0; }
main { overflow-x: clip; }
@media (max-width: 980px) { .pair .shape { right: -4%; top: -6%; width: 40%; } }

/* ==========================================================================
   PROFESSIONAL TYPE OVERRIDES (Barlow / Barlow Semi Condensed)
   ========================================================================== */
.h2 em, .h3 em, .display em, .em {
  font-family: inherit; font-style: normal; font-weight: inherit; text-transform: inherit; letter-spacing: inherit; font-size: 1em;
}
.h2 { font-weight: 800; }
.h2 { font-size: clamp(2.3rem, 4.9vw, 4.5rem); line-height: .95; }
.h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); }

.pull { font-family: var(--f-body); font-style: italic; font-weight: 500; font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.3; }

.label { font-weight: 600; font-size: .8rem; letter-spacing: .18em; }
.mono, .fig, .crumbs, .chip, .today-row .tag, .cls .tag, .days span, .site-footer h4 { font-weight: 600; }
.cls time, .today-row time, .time-row time { font-variant-numeric: tabular-nums; }
.nav > a, .nav-drop > button { font-weight: 600; font-size: 1.02rem; letter-spacing: .08em; }
.btn { font-weight: 700; font-size: 1.08rem; letter-spacing: .06em; }
.btn--sm { font-size: .98rem; }

@media (max-width: 1240px) { .nav { display: none; } .burger { display: block; } }

/* Motto — tightened height (client request) */
.motto { padding: 120px 0 90px; }
.motto .label { margin-bottom: 26px; }

@media (max-width: 640px) { .motto { min-height: 0; padding: 110px 0 80px; } }

/* ==========================================================================
   ACADEMY (CH.01) — brought to life: giant outline word, belt-path ribbon,
   marker highlights, discipline tags, rotating badge, member quote, stat board
   ========================================================================== */
.academy { overflow: hidden; }
.academy > .wrap { position: relative; z-index: 1; }
.bg-word { position: absolute; z-index: 0; right: -3vw; top: 40px; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 24vw; line-height: .8; color: transparent; -webkit-text-stroke: 1.5px rgba(0,0,0,.06); pointer-events: none; user-select: none; letter-spacing: -.02em; }

    

 
 

.academy mark { color: inherit; background: linear-gradient(transparent 58%, rgba(172,0,8,.28) 58%) no-repeat 0 0 / 0% 100%; transition: background-size 1.1s var(--ease) .5s; padding: 0 2px; }
.is-in mark, .no-js .academy mark { background-size: 100% 100%; }

.pair-badge { position: absolute; z-index: 4; left: -2%; top: 4%; width: 118px; aspect-ratio: 1; border-radius: 50%; background: var(--red); color: var(--white); display: grid; place-items: center; box-shadow: 0 18px 40px rgba(172,0,8,.35); }
.pair-badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.pair-badge text { font-family: var(--f-display); font-weight: 700; font-size: 11.5px; letter-spacing: 1px; fill: var(--white); text-transform: uppercase; }
.pair-badge b { font-family: var(--f-display); font-weight: 800; font-size: .95rem; line-height: .95; text-transform: uppercase; text-align: center; }

.pair-quote { position: absolute; z-index: 4; right: -3%; bottom: 0; width: 54%; margin: 0; padding: 22px 24px 20px; background: var(--black); color: var(--white); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%); box-shadow: 0 24px 50px rgba(0,0,0,.25); }
.pair-quote .q { display: block; font-family: var(--f-display); font-weight: 800; font-size: 4rem; line-height: .5; height: 26px; color: var(--red); }
.pair-quote blockquote { margin: 0; }
.pair-quote blockquote p { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.15rem, 1.6vw, 1.45rem); line-height: 1.15; text-transform: uppercase; color: var(--white); margin: 0; }
.pair-quote figcaption { margin-top: 12px; font-size: .82rem; color: rgba(255,255,255,.7); font-weight: 600; }
.pair-quote figcaption span { font-weight: 400; color: rgba(255,255,255,.5); }

@media (max-width: 640px) {
  .bg-word { font-size: 40vw; top: 20px; }
  .pair-badge { width: 88px; left: 0; top: -4%; }
  .pair-badge text { font-size: 12.5px; }
  .pair-badge b { font-size: .78rem; }
  .pair-quote { width: 60%; right: 0; padding: 16px 16px 14px; }
  .pair-quote blockquote p { font-size: 1rem; }
  
  
}
@media (prefers-reduced-motion: reduce) { .pair-badge svg { animation: none; }  .academy mark { background-size: 100% 100%; } }

/* ==========================================================================
   PROGRAMS (home) v3 — expanding photo panels. One panel is open; hovering
   or focusing another slides it open. Pure CSS; stacks on mobile.
   ========================================================================== */

/* ==========================================================================
   METHOD (CH.03) v2 — before / in / after class timeline + coach band
   ========================================================================== */

.coach-band { display: grid; grid-template-columns: 1fr 1.15fr; background: var(--black); color: var(--white); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%); min-height: 460px; }
.cb-photo { position: relative; min-height: 360px; }
.cb-photo img { position: absolute; inset: 0; transition: transform 1.2s var(--ease); }
.coach-band:hover .cb-photo img { transform: scale(1.04); }
.cb-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.85)); }
.cb-fig { position: absolute; left: 18px; bottom: 16px; z-index: 2; font-family: var(--f-display); font-weight: 700; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; background: rgba(0,0,0,.7); padding: 6px 10px; color: rgba(255,255,255,.8); }
.cb-body { padding: clamp(32px, 4.5vw, 64px); display: flex; flex-direction: column; justify-content: center; position: relative; }
.cb-body::before { content: ""; position: absolute; right: 28px; top: 28px; width: 70px; height: 61px; background: var(--red); clip-path: polygon(50% 0, 100% 100%, 0 100%); opacity: .9; }
.cb-body .label { color: var(--white); margin-bottom: 14px; }
.cb-name { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(2.6rem, 4.6vw, 4.4rem); line-height: .9; }
.cb-name em { font-style: normal; color: var(--red); }
.cb-text { margin: 20px 0 28px; color: rgba(255,255,255,.78); max-width: 520px; font-size: 1.04rem; }
.cb-stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; border-top: 1px solid rgba(255,255,255,.16); margin-bottom: 30px; }
.cb-stats li { padding: 20px 28px 0 0; margin-right: 28px; border-right: 1px solid rgba(255,255,255,.16); }
.cb-stats li:last-child { border-right: 0; margin-right: 0; }
.cb-stats b { display: block; font-family: var(--f-display); font-weight: 800; font-size: 2.6rem; line-height: 1; }
.cb-stats b sup { font-size: .38em; color: var(--red); vertical-align: top; margin-left: 3px; letter-spacing: .06em; text-transform: uppercase; }
.cb-stats span { display: block; margin-top: 8px; font-size: .84rem; line-height: 1.35; color: rgba(255,255,255,.65); }
.cb-link { align-self: flex-start; display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; letter-spacing: .08em; text-transform: uppercase; color: var(--white); }
.cb-link i { width: 42px; height: 42px; border-radius: 50%; background: var(--red); display: grid; place-items: center; transition: transform .35s var(--ease); }
.cb-link i::before { content: ""; width: 9px; height: 11px; background: var(--white); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.cb-link:hover i { transform: translateX(6px); }

@media (max-width: 980px) {
  
  
  
  
  
  
  .coach-band { grid-template-columns: 1fr; }
  .cb-photo { min-height: 300px; }
  .cb-photo::after { background: linear-gradient(to bottom, rgba(0,0,0,0) 55%, rgba(0,0,0,.85)); }
}
@media (max-width: 640px) {
  .cb-stats li { padding-right: 14px; margin-right: 14px; }
  .cb-stats b { font-size: 2rem; }
  .cb-body::before { width: 46px; height: 40px; right: 18px; top: 18px; }
  
}

/* ==========================================================================
   REVIEWS v2 — testimonial cards (featured + two + CTA card)
   ========================================================================== */
.quotes .section-head .h2 { color: var(--white); }
.tcards { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: auto auto auto; gap: 16px; }
.tcard { position: relative; margin: 0; padding: 34px 34px 30px; background: rgba(18,18,18,.92); border: 1px solid rgba(255,255,255,.1); display: flex; flex-direction: column; gap: 18px; transition: transform .45s var(--ease), border-color .35s, background .35s; }
.tcard::before { content: ""; position: absolute; left: -1px; top: -1px; height: 3px; width: 64px; background: var(--red); transition: width .6s var(--ease); }
.tcard:hover { transform: translateY(-6px); border-color: rgba(172,0,8,.55); background: rgba(22,22,22,.9); }
.tcard:hover::before { width: calc(100% + 2px); }
.tcard--feature { grid-row: 1 / 3; padding: 44px 44px 38px; justify-content: space-between; }
.tcard-tag { align-self: flex-start; font-family: var(--f-display); font-weight: 700; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 6px 12px; }
.tq { font-family: var(--f-display); font-weight: 800; font-size: 5.5rem; line-height: .55; height: 36px; color: var(--red); }
.tcard--feature .tq { font-size: 8rem; height: 52px; }
.tcard blockquote { margin: 0; flex: 1; }
.tcard blockquote p { margin: 0; font-family: var(--f-body); font-weight: 500; font-size: clamp(1.1rem, 1.4vw, 1.3rem); line-height: 1.45; color: rgba(255,255,255,.92); }
.tcard--feature blockquote p { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.7rem, 2.8vw, 2.6rem); line-height: 1.12; text-transform: uppercase; color: var(--white); }
.tcard figcaption { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); }
.tav { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: var(--white); font-family: var(--f-display); font-weight: 800; font-size: 1rem; letter-spacing: .04em; }
.tcard--feature .tav { width: 58px; height: 58px; font-size: 1.15rem; }
.tcard figcaption strong { display: block; font-family: var(--f-display); font-weight: 800; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .03em; color: var(--white); }
.tcard figcaption small { display: block; font-size: .82rem; color: rgba(255,255,255,.6); margin-top: 2px; }
.tcard--cta { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px 30px; background: var(--red); border-color: var(--red); overflow: hidden; padding: 30px 40px; backdrop-filter: none; }
.tcard--cta::before { display: none; }
.tcard--cta:hover { background: var(--red); border-color: var(--red); }
.tcta-tri { position: absolute; right: 22%; top: -40px; width: 180px; aspect-ratio: 1.155; background: rgba(0,0,0,.14); clip-path: polygon(50% 0, 100% 100%, 0 100%); transform: rotate(180deg); pointer-events: none; }
.tcta-h { position: relative; margin: 0; font-family: var(--f-display); font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.6rem); text-transform: uppercase; line-height: .95; color: var(--white); }
.tcta-h em { font-style: normal; color: var(--black); }
.tcard--cta .btn { position: relative; }
.tcard--cta .btn--dark { --hover: var(--white); --hover-fg: var(--black); }
@media (max-width: 900px) {
  .tcards { grid-template-columns: 1fr; }
  .tcard--feature { grid-row: auto; padding: 34px 28px 30px; }
  .tcard { padding: 28px 24px 24px; }
  .tcard--cta { padding: 28px 24px; }
}

/* ==========================================================================
   FIRST CLASS v2 — icon journey + what-to-bring checklist + photo card
   ========================================================================== */
.first { overflow: hidden; }

.journey { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 48px); margin-bottom: clamp(56px, 7vw, 90px); }
.journey::before { content: ""; position: absolute; top: 44px; left: 8%; right: 8%; height: 0; border-top: 2px dashed rgba(0,0,0,.2); z-index: 0; }
.journey li { position: relative; z-index: 1; text-align: center; padding: 0 10px; }
.jr-icon { position: relative; display: grid; place-items: center; width: 88px; height: 88px; margin: 0 auto 26px; border-radius: 50%; background: var(--white); border: 2px solid var(--black); color: var(--black); box-shadow: 0 0 0 10px var(--paper); transition: background .4s, color .4s, border-color .4s, transform .45s var(--ease); }
.jr-icon svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.jr-icon b { position: absolute; right: -10px; top: -6px; width: 34px; height: 34px; border-radius: 50%; background: var(--red); color: var(--white); display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; font-size: .9rem; border: 3px solid var(--paper); }
.journey li:hover .jr-icon { background: var(--black); color: var(--white); transform: translateY(-6px) rotate(-6deg); }
.journey h3 { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.45rem, 2vw, 1.85rem); text-transform: uppercase; line-height: 1; margin-bottom: 12px; }
.journey p { color: var(--muted-l); font-size: 1rem; max-width: 340px; margin: 0 auto; }

.bring { background: var(--black); color: var(--white); padding: clamp(30px, 3.6vw, 48px); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%); }
.bring .label { color: var(--white); margin-bottom: 12px; }

.checks { display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,.14); }
.checks li { position: relative; display: grid; gap: 2px; padding: 15px 0 15px 44px; border-bottom: 1px solid rgba(255,255,255,.14); }
.checks li::before { content: ""; position: absolute; left: 0; top: 16px; width: 26px; height: 26px; border-radius: 50%; background: var(--red); }
.checks li::after { content: ""; position: absolute; left: 8px; top: 22px; width: 10px; height: 6px; border-left: 2.5px solid var(--white); border-bottom: 2.5px solid var(--white); transform: rotate(-45deg); }
.checks b { font-family: var(--f-display); font-weight: 700; font-size: 1.12rem; text-transform: uppercase; letter-spacing: .03em; }
.checks span { font-size: .88rem; color: rgba(255,255,255,.65); }

.first-stamp { position: absolute; top: 24px; right: 24px; width: 118px; aspect-ratio: 1; border-radius: 50%; background: var(--red); color: var(--white); display: grid; place-content: center; text-align: center; transform: rotate(-12deg); box-shadow: 0 0 0 6px rgba(255,255,255,.9), 0 18px 40px rgba(0,0,0,.35); animation: stampIn .8s cubic-bezier(.2,1.4,.4,1) both; }
.first-stamp b { font-family: var(--f-display); font-weight: 800; font-size: 2.2rem; line-height: .9; text-transform: uppercase; }
.first-stamp small { font-family: var(--f-display); font-weight: 700; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; }
@keyframes stampIn { from { transform: rotate(-40deg) scale(.4); opacity: 0; } to { transform: rotate(-12deg) scale(1); opacity: 1; } }

@media (max-width: 980px) {
  .journey { grid-template-columns: 1fr; gap: 34px; }
  .journey::before { top: 0; bottom: 0; left: 44px; right: auto; height: auto; border-top: 0; border-left: 2px dashed rgba(0,0,0,.2); }
  .journey li { text-align: left; padding-left: 116px; min-height: 88px; }
  .jr-icon { position: absolute; left: 0; top: 0; margin: 0; }
  .journey p { margin: 0; }
  
  
}
@media (max-width: 640px) {
  .journey li { padding-left: 100px; }
  .jr-icon { width: 72px; height: 72px; }
  .journey::before { left: 36px; }
  .first-stamp { width: 92px; } .first-stamp b { font-size: 1.7rem; }
  
}
/* ==========================================================================
   HERO v3 (home) — headline left, tilted photo
   wall of three columns scrolling in opposite directions on the right
   ========================================================================== */
@keyframes underline { to { transform: scaleX(1); } }

/* ==========================================================================
   LOCATION (home) v2 — full-width tinted map with a floating black visit card
   (directions / call / email / weekly hours with today highlighted) + area chips
   ========================================================================== */
.visit { position: relative; margin-top: clamp(64px, 8vw, 110px); min-height: 600px; display: flex; align-items: center; isolation: isolate; }
.visit-map { position: absolute; inset: 0; z-index: -1; background: var(--paper); overflow: hidden; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%); }
.visit-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.08); }
.visit-tint { position: absolute; inset: 0; background: rgba(172,0,8,.14); mix-blend-mode: multiply; pointer-events: none; }
.visit-pin { position: absolute; left: 66%; top: 18%; display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; background: var(--black); color: var(--white); font-family: var(--f-display); font-weight: 700; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; pointer-events: none; box-shadow: 0 14px 30px rgba(0,0,0,.3); }
.visit-pin i { position: relative; width: 12px; height: 12px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(172,0,8,.7); animation: pulse 1.8s infinite; }
.visit-pin::after { content: ""; position: absolute; left: 18px; bottom: -9px; width: 14px; height: 10px; background: var(--black); clip-path: polygon(0 0, 100% 0, 50% 100%); }
.visit-card { position: relative; margin: 40px 0 40px 40px; width: min(440px, 100%); padding: clamp(28px, 3vw, 40px); background: var(--black); color: var(--white); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%); box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.visit-card .label { color: var(--white); margin-bottom: 12px; }
.visit-h { font-family: var(--f-display); font-weight: 800; font-size: clamp(2rem, 3vw, 2.8rem); text-transform: uppercase; line-height: .92; }
.visit-h em { font-style: normal; color: var(--red); }
.visit-addr { font-style: normal; margin: 14px 0 22px; font-size: 1.05rem; line-height: 1.5; color: rgba(255,255,255,.82); }
.visit-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.visit-btns .btn { flex: 1 1 auto; min-height: 50px; padding: 15px 18px 14px; font-size: 1rem; }
.visit-mail { display: inline-block; margin-top: 16px; font-weight: 600; color: var(--white); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 5px; }
.visit-mail:hover { color: var(--red); }
.visit-hours { margin: 22px 0 0; border-top: 1px solid rgba(255,255,255,.16); }
.visit-hours div { display: flex; justify-content: space-between; gap: 14px; padding: 8px 10px; margin: 0 -10px; border-bottom: 1px solid rgba(255,255,255,.08); font-size: .9rem; }
.visit-hours dt { font-family: var(--f-display); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.visit-hours dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.visit-hours .is-today { background: var(--red); border-bottom-color: var(--red); }
.visit-hours .is-today dt { color: var(--white); }
.visit-hours .is-today dt::after { content: " · Today"; }
.visit-areas { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 22px; padding: 22px 0 0; border-top: 1px solid var(--line-l); }
.visit-areas p { margin: 0; font-size: .98rem; color: var(--muted-l); }
.visit-areas p b { color: var(--ink); font-family: var(--f-display); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: 1.05rem; margin-right: 4px; }
.visit-areas ul { display: flex; flex-wrap: wrap; gap: 8px; }
.visit-areas li { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-display); font-weight: 700; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; padding: 8px 14px; border: 1px solid rgba(0,0,0,.18); border-radius: 999px; transition: background .3s, color .3s, border-color .3s; }
.visit-areas li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.visit-areas li:first-child, .visit-areas li:hover { background: var(--black); color: var(--white); border-color: var(--black); }
@media (max-width: 900px) {
  .visit { display: block; min-height: 0; }
  .visit-map { position: relative; height: 340px; clip-path: none; }
  .visit-pin { left: 50%; top: 22%; transform: translateX(-50%); }
  .visit-card { margin: -40px 16px 0; width: auto; }
}
@media (max-width: 640px) {
  .visit-card { margin: -30px 0 0; }
  .visit-btns .btn { width: 100%; }
}

/* map label sits directly above the embed's centred address pin */
.visit-pin { left: 50%; top: 50%; transform: translate(-22px, calc(-100% - 52px)); }
@media (min-width: 901px) { .visit-pin { left: calc(50% + 0px); } }
@media (max-width: 900px) { .visit-pin { left: 50%; top: 50%; transform: translate(-22px, calc(-100% - 52px)); } }

/* ==========================================================================
   THIS WEEK (CH.06) v2 — Folsom clock + class count, 7-day picker,
   colour-coded rows with live progress, legend, mini stats, ask card
   ========================================================================== */

.tw-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 18px; }
.tw-clock, .tw-count { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; font-size: .88rem; }
.tw-clock { background: var(--black); color: rgba(255,255,255,.8); }
.tw-clock b { color: var(--white); font-family: var(--f-display); font-weight: 800; font-size: 1.05rem; letter-spacing: .03em; font-variant-numeric: tabular-nums; }
.tw-count { border: 1px solid rgba(0,0,0,.18); color: var(--muted-l); }
.tw-count b { color: var(--ink); font-family: var(--f-display); font-weight: 800; font-size: 1.05rem; text-transform: uppercase; }

.week-picker { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-bottom: 12px; }
.week-picker button { position: relative; display: grid; gap: 2px; padding: 11px 4px 10px; border: 1px solid rgba(0,0,0,.18); background: var(--white); text-align: center; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); }
.week-picker button:hover { border-color: var(--black); transform: translateY(-2px); }
.week-picker b { font-family: var(--f-display); font-weight: 800; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .04em; line-height: 1; }
.week-picker span { font-size: .68rem; color: var(--muted-l); white-space: nowrap; }
.week-picker button[aria-selected="true"] { background: var(--black); border-color: var(--black); color: var(--white); }
.week-picker button[aria-selected="true"] span { color: rgba(255,255,255,.7); }
.week-picker button.is-today::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 4px; background: var(--red); }
.week-picker button.is-today b::after { content: " •"; color: var(--red); }

.today-badge { display: inline-block; vertical-align: middle; margin-left: 8px; padding: 3px 8px 2px; background: var(--red); font-size: .7rem; letter-spacing: .14em; }
.today-row { position: relative; }
.today-row::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 4px; background: var(--tc, #000); }
.today-row.is-next .tag { background: var(--black); border-color: var(--black); color: var(--white); }
.today-row.is-next { background: var(--paper); }
.today-prog { position: absolute; left: 0; bottom: 0; height: 3px; width: var(--p, 0%); background: var(--red); }
.today-row.is-live time::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 8px; border-radius: 50%; background: var(--red); vertical-align: middle; animation: pulse 1.8s infinite; }
.tw-legend { margin-top: 16px; font-size: .84rem; }

.ask-card { display: grid; grid-template-columns: auto 1fr; gap: 14px 18px; align-items: center; margin-top: 28px; padding: 24px 26px; background: var(--black); color: var(--white); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%); }
.ask-ic { width: 52px; height: 52px; border-radius: 50%; background: var(--red); display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; font-size: 1.7rem; }
.ask-txt b { display: block; font-family: var(--f-display); font-weight: 800; font-size: 1.35rem; text-transform: uppercase; line-height: 1.05; }
.ask-txt span { display: block; margin-top: 4px; font-size: .92rem; color: rgba(255,255,255,.72); }
.ask-btns { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.ask-link { font-family: var(--f-display); font-weight: 700; font-size: .98rem; letter-spacing: .08em; text-transform: uppercase; color: var(--white); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.ask-link:hover { color: var(--red); }
@media (max-width: 640px) {
  .week-picker { gap: 4px; }
  .week-picker button { padding: 9px 2px 8px; }
  .week-picker b { font-size: .9rem; }
  .week-picker span { display: none; }
   
  
}

/* ==========================================================================
   HERO v3 additions — stronger photos with program tags, a tilted red tape
   marquee across the wall, coach chip, logo watermark and red glow
   ========================================================================== */

/* ==========================================================================
   FOOTER v2 — brand + motto + CTA header, four framed columns (visit /
   contact / hours with today highlighted / explore), area chips, bottom bar
   with back-to-top, giant outline wordmark
   ========================================================================== */

/* ==========================================================================
   SITE-WIDE SYSTEM (Home = master reference) — shared tokens, sub-page hero,
   cards, lists, tables, chips, CTA, modal. Overrides older inner-page styles.
   ========================================================================== */
:root { --sp: clamp(76px, 8vw, 120px); --sp-sm: clamp(52px, 6vw, 80px); }
.section-head { margin-bottom: clamp(40px, 5vw, 64px); }
.seam::after { top: 72px; height: 34px; }
@media (max-width: 640px) { .seam::after { top: 52px; height: 20px; } }

/* Eyebrow — red rule + caps (same as Home hero) */
.eyebrow { display: flex; align-items: center; gap: 12px; background: none; padding: 0; margin: 0 0 20px; font-family: var(--f-display); font-weight: 700; font-style: normal; text-transform: uppercase; font-size: .85rem; letter-spacing: .2em; line-height: 1.3; color: var(--red); }
.eyebrow::before { content: ""; width: 36px; height: 2px; background: var(--red); flex: none; }

/* ---------- Sub-page hero: copy left, tilted photo stack right ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--black); color: var(--white); }
.sh-glow { position: absolute; z-index: -1; right: -8vw; top: -12vw; width: 60vw; height: 60vw; border-radius: 50%; background: radial-gradient(circle, rgba(172,0,8,.2), rgba(172,0,8,0) 60%); pointer-events: none; }
.sh { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(28px, 4vw, 64px); max-width: 1480px; margin: 0 auto; padding: calc(var(--header-h) + 36px) var(--gutter) 64px; min-height: min(86svh, 760px); }
.sh-copy { position: relative; z-index: 2; max-width: 640px; }
.crumbs { justify-content: flex-start; margin-bottom: 22px; font-family: var(--f-display); font-weight: 600; font-size: .78rem; letter-spacing: .16em; }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--red); }
.page-hero h1 { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(2.8rem, 5.6vw, 5.6rem); line-height: .9; letter-spacing: -.01em; }
.page-hero h1 .row { display: block; }
.page-hero h1 em { position: relative; display: inline-block; font-style: normal; color: transparent; -webkit-text-stroke: 2px var(--white); }
.page-hero h1 em::after { content: ""; position: absolute; left: 0; bottom: .04em; width: 100%; height: .1em; background: var(--red); transform: scaleX(0); transform-origin: left; animation: underline 1s var(--ease) .9s forwards; }
.page-hero .hero-sub { margin: 24px 0 30px; max-width: 540px; font-size: 1.06rem; line-height: 1.6; color: rgba(255,255,255,.8); }
.page-hero .btn-row { justify-content: flex-start; }
.sh-media { position: relative; height: clamp(400px, 52vh, 540px); }
.sh-t { position: absolute; overflow: hidden; border: 5px solid var(--black); box-shadow: 0 30px 60px rgba(0,0,0,.5); background: var(--char); animation: shIn .9s var(--ease) both; transition: scale .5s var(--ease); }
.sh-t:hover { scale: 1.03; z-index: 6; }
.sh-t1 { width: 58%; aspect-ratio: 4 / 5; right: 8%; top: 0; transform: rotate(-3deg); z-index: 2; animation-delay: .15s; }
.sh-t2 { width: 40%; aspect-ratio: 3 / 4; left: 0; bottom: 2%; transform: rotate(5deg); z-index: 3; animation-delay: .3s; }
.sh-t3 { width: 36%; aspect-ratio: 1; right: 0; bottom: -2%; transform: rotate(-7deg); z-index: 4; animation-delay: .45s; }
.sh-t em { position: absolute; left: 10px; bottom: 10px; font-style: normal; font-family: var(--f-display); font-weight: 700; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--white); background: rgba(0,0,0,.72); padding: 5px 9px; border-left: 3px solid var(--red); }
@keyframes shIn { from { opacity: 0; translate: 0 40px; scale: .92; } to { opacity: 1; translate: 0 0; scale: 1; } }
.sh-chip { position: absolute; z-index: 7; left: 2%; top: 6%; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 14px; background: rgba(13,13,13,.9); border: 1px solid rgba(255,255,255,.14); border-left: 3px solid var(--red); box-shadow: 0 20px 40px rgba(0,0,0,.45); animation: chipIn .9s var(--ease) .8s both; }
.sh-chip b { font-family: var(--f-display); font-weight: 800; font-size: 1.7rem; line-height: 1; white-space: nowrap; }
.sh-chip > span { font-size: .8rem; line-height: 1.3; color: rgba(255,255,255,.75); }
.sh-chip--live { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; max-width: 300px; }
.sh-chip--live .mono { font-family: var(--f-display); font-weight: 700; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.sh-chip--live strong { grid-column: 1 / -1; font-family: var(--f-display); font-weight: 800; font-size: 1.25rem; text-transform: uppercase; line-height: 1.05; }
.sh-chip--live .when { grid-column: 1 / -1; font-size: .82rem; color: rgba(255,255,255,.7); }
@media (max-width: 980px) {
  .sh { grid-template-columns: 1fr; min-height: 0; padding-bottom: 48px; gap: 36px; }
  .sh-media { height: 380px; width: 100%; max-width: 560px; }
}
@media (max-width: 640px) {
  .sh { padding-top: calc(var(--header-h) + 26px); }
  .page-hero h1 em { -webkit-text-stroke-width: 1.5px; }
  .page-hero .btn-row .btn { width: 100%; }
  .sh-media { height: 300px; }
  .sh-chip { padding: 10px 14px 10px 12px; } .sh-chip b { font-size: 1.35rem; }
}

/* ---------- Cards (about partners, gi/no-gi, schedule "where to start") ---------- */
.cards { gap: 16px; border-top: 0; }
.cards > .card, .cards > .card + .card { position: relative; padding: 34px 30px 30px; background: var(--white); border: 1px solid var(--line-l); transition: transform .4s var(--ease), background .4s, color .4s, box-shadow .4s; }
.cards > .card::before { content: ""; position: absolute; left: -1px; top: -1px; height: 4px; width: 56px; background: var(--red); transition: width .5s var(--ease); }
.cards > .card:hover { transform: translateY(-6px); background: var(--black); color: var(--white); box-shadow: 0 24px 50px -20px rgba(0,0,0,.4); }
.cards > .card:hover::before { width: calc(100% + 2px); }
.cards > .card:hover p { color: rgba(255,255,255,.75); }
.cards > .card:hover .mono { color: var(--red); }
.cards > .card:hover .link-arrow { color: var(--white); }

/* ---------- Values + feature grids → same card language ---------- */
/* Values v2 — black / red / white mix + diagonal wipe hover */
.values { gap: 16px; border: 0; }
.values > .value { position: relative; overflow: hidden; isolation: isolate; padding: 34px 30px 72px; border: 0; background: var(--white); box-shadow: inset 0 0 0 1px var(--line-l); }
.values > .value::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--red-deep); clip-path: polygon(0 100%, 0 100%, 0 100%); transition: clip-path .7s var(--ease); }
.values > .value::after { content: attr(data-n); position: absolute; right: 16px; bottom: -20px; z-index: -1; font-family: var(--f-display); font-weight: 800; font-size: 6rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(0,0,0,.12); transition: transform .6s var(--ease), color .45s, -webkit-text-stroke-color .45s; pointer-events: none; }
.values > .value .mono { display: inline-flex; align-items: center; gap: 8px; }
.values > .value .mono::before { content: ""; width: 8px; height: 7px; background: currentColor; clip-path: polygon(0 0, 100% 0, 50% 100%); }
.values > .value h3, .values > .value p, .values > .value .mono { position: relative; transition: color .45s var(--ease); }
.values > .v-dark { background: radial-gradient(120% 90% at 100% 0%, rgba(172,0,8,.3), rgba(172,0,8,0) 55%), var(--black); color: var(--white); box-shadow: none; }
.values > .v-dark p { color: rgba(255,255,255,.72); }
.values > .v-dark .mono { color: var(--red); }
.values > .v-dark::after { -webkit-text-stroke-color: rgba(255,255,255,.16); }
.values > .v-red { background: radial-gradient(110% 90% at 0% 0%, rgba(255,255,255,.16), rgba(255,255,255,0) 50%), var(--red-deep); color: var(--white); box-shadow: none; }
.values > .v-red p { color: rgba(255,255,255,.9); }
.values > .v-red .mono { color: var(--white); }
.values > .v-red::after { -webkit-text-stroke-color: rgba(255,255,255,.32); }
.values > .v-red::before { background: var(--black); }
@media (hover: hover) {
  .values > .value:hover::before { clip-path: polygon(0 100%, 0 -120%, 230% 100%); }
  .values > .value:hover { color: var(--white); }
  .values > .value:hover p { color: rgba(255,255,255,.9); }
  .values > .value:hover .mono { color: var(--white); }
  .values > .v-red:hover .mono { color: var(--red); }
  .values > .value:hover::after { transform: translate(-12px, -14px); color: rgba(255,255,255,.08); -webkit-text-stroke-color: rgba(255,255,255,.4); }
}
@media (max-width: 640px) { .values > .value { padding-bottom: 60px; } .values > .value::after { font-size: 5rem; bottom: -16px; } }
.feat-grid { gap: 16px; border-top: 0; }
.feat-grid > .feat { position: relative; padding: 30px 26px 28px; border: 1px solid rgba(255,255,255,.06); background: var(--black); color: var(--white); transition: transform .4s var(--ease), background .35s, box-shadow .4s; }
.feat-grid > .feat::before { content: ""; position: absolute; left: -1px; top: -1px; height: 4px; width: 48px; background: var(--red); transition: width .5s var(--ease); }
.feat-grid > .feat p { color: rgba(255,255,255,.72); }
.feat-grid > .feat .mono { color: var(--red); }
.feat-grid > .feat:hover { transform: translateY(-6px); background: var(--char); box-shadow: 0 24px 50px -20px rgba(0,0,0,.55); }
.feat-grid > .feat:hover::before { width: calc(100% + 2px); }

/* ---------- Gear → "what to bring" check cards ---------- */
.gear { gap: 14px; }
.gear li { position: relative; padding: 26px 24px 24px 74px; background: var(--black); color: var(--white); border-top: 0; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%); }
.gear li::before { content: ""; position: absolute; left: 24px; top: 28px; width: 32px; height: 32px; border-radius: 50%; background: var(--red); }
.gear li::after { content: ""; position: absolute; left: 34px; top: 36px; width: 12px; height: 7px; border-left: 2.5px solid var(--white); border-bottom: 2.5px solid var(--white); transform: rotate(-45deg); }
.gear .mono { color: var(--red); }
.gear li b { margin-top: 6px; }
.gear li span { color: rgba(255,255,255,.7); }

/* ---------- Class-time lists (program pages + programs hub) ---------- */
.times { border: 2px solid var(--black); background: var(--white); }
.time-row { position: relative; grid-template-columns: 84px 180px 1fr; padding: 16px 22px 16px 26px; }
.time-row::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 4px; background: var(--red); }
.time-row:last-child { border-bottom: 0; }
.time-row.is-today { background: var(--black); color: var(--white); }
.time-row.is-today .d { color: var(--red); }
.time-row.is-today small { color: rgba(255,255,255,.6); }
.mini-times { gap: 0; border: 1px solid var(--line-l); border-top: 1px solid var(--line-l); padding-top: 0; background: var(--white); }
.mini-times li { position: relative; padding: 12px 16px 12px 20px; border-bottom: 1px solid var(--line-l); }
.mini-times li:last-child { border-bottom: 0; }
.mini-times li::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; background: var(--red); }
.s-dark .mini-times { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.14); }
.s-dark .mini-times li { border-bottom-color: rgba(255,255,255,.1); }
@media (max-width: 980px) { .time-row { grid-template-columns: 70px 1fr; padding-left: 22px; } }

/* ---------- Compare table ---------- */
.compare { border: 2px solid var(--black); border-collapse: separate; border-spacing: 0; background: var(--white); }
.compare th, .compare td { padding: 16px 18px; border-bottom: 1px solid var(--line-l); }
.compare thead th { background: var(--black); color: var(--white); font-size: 1.25rem; padding: 18px; border-bottom: 3px solid var(--red); }
.compare tbody th { color: var(--red-deep); }
.compare tbody tr:nth-child(even) th, .compare tbody tr:nth-child(even) td { background: var(--paper); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }

/* ---------- Chips (schedule filters) → pills ---------- */
.chip { border-radius: 999px; font-family: var(--f-display); font-weight: 700; font-size: .8rem; letter-spacing: .12em; padding: 10px 16px; border-color: rgba(0,0,0,.25); }
.chip:hover { border-color: var(--black); background: var(--white); }
.chip[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: var(--white); }

/* ---------- Coach band quote (about) ---------- */
.cb-quote { margin: 0 0 26px; padding-left: 16px; border-left: 3px solid var(--red); font-style: italic; font-size: 1.02rem; color: rgba(255,255,255,.85); }
.cb-quote span { display: block; margin-top: 6px; font-style: normal; font-family: var(--f-display); font-weight: 700; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.55); }

/* ---------- Background outline words on inner pages ---------- */
.has-bgword { overflow: hidden; }
.has-bgword > .wrap { position: relative; z-index: 1; }
.has-bgword > .bg-word { top: 50px; right: -2vw; font-size: 15vw; white-space: nowrap; -webkit-text-stroke-color: rgba(0,0,0,.045); }
.s-paper.has-bgword > .bg-word { -webkit-text-stroke-color: rgba(0,0,0,.05); }
@media (max-width: 640px) { .has-bgword > .bg-word { font-size: 26vw; top: 30px; } }

/* ---------- Contact page: visit block follows the section head ---------- */
.section-head + .visit { margin-top: 0; }

/* ---------- Stamp inside a photo frame (kids) ---------- */
.ph .first-stamp { z-index: 3; }

/* ---------- Mobile compaction (site-wide pass) ---------- */
@media (max-width: 640px) {
  /* galleries: 2-up instead of a tall single column */
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 92px; gap: 8px; }
  .gallery .ph, .gallery .ph.w6, .gallery .ph.w8, .gallery .ph.h2, .gallery .ph.h4 { grid-column: span 1 !important; grid-row: span 3; }
  .gallery .ph.w8, .gallery .ph[style*="span 12"], .gallery .ph.w8 ~ .ph:last-child:nth-child(even) { grid-column: 1 / -1 !important; }
  .gallery .ph[style*="span 12"] { grid-row: span 2; }
  /* tighter content cards */
  .cards > .card, .cards > .card + .card, .values > .value, .feat-grid > .feat { padding: 24px 20px 22px; }
  .values > .value h3, .feat-grid > .feat h3 { font-size: 1.45rem; margin: 10px 0 8px; }
  .cards, .values, .feat-grid { gap: 10px; }
  /* compare table becomes stacked rows */
  .table-scroll { overflow: visible; }
  .compare, .compare tbody, .compare tr { display: block; width: 100%; }
  .compare thead { display: none; }
  .compare tbody tr { border-bottom: 2px solid var(--black); }
  .compare tbody tr:last-child { border-bottom: 0; }
  .compare tbody th { display: block; width: auto; padding: 12px 16px; background: var(--black) !important; color: var(--white); }
  .compare tbody td { display: grid; grid-template-columns: 38% 1fr; gap: 12px; padding: 12px 16px; background: var(--white) !important; font-size: .92rem; }
  .compare tbody td::before { content: attr(data-label); font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: .86rem; line-height: 1.15; color: var(--red-deep); }
  .compare tbody td:last-child { border-bottom: 0; }
  .bg-word--dm { display: none; }
}
/* sub-hero collage sizing between breakpoints */
@media (min-width: 981px) and (max-width: 1200px) { .sh-media { height: 420px; } }
@media (min-width: 641px) and (max-width: 980px) { .sh-media { height: 420px; max-width: 620px; margin-inline: auto; } }

/* Footer v3 — simple */
.f3 { padding-top: clamp(84px, 8vw, 104px); }
.f3-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 22px 40px; padding-bottom: 26px; border-bottom: 1px solid rgba(255,255,255,.12); }
.f3-brand { display: flex; align-items: center; gap: 14px; }
.f3-brand .logo { --lw: 64px; }
.f3-name { font-family: var(--f-display); font-weight: 600; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.6); line-height: 1.2; border-left: 2px solid var(--red); padding-left: 12px; }
.f3-name b { display: block; font-weight: 800; font-size: 1.3rem; letter-spacing: .12em; color: var(--white); }
.f3-links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.f3-links a { font-family: var(--f-display); font-weight: 700; font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.78); transition: color .2s; }
.f3-links a:hover { color: var(--red); }
.f3 .social { margin-top: 0; }
.f3-info { display: flex; flex-wrap: wrap; gap: 10px 34px; padding: 20px 0; font-style: normal; font-size: .95rem; color: rgba(255,255,255,.72); }
.f3-info a { display: inline-flex; align-items: center; gap: 10px; transition: color .2s; }
.f3-info a::before { content: ""; flex: none; width: 7px; height: 8px; background: var(--red); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.f3-info a:hover { color: var(--white); }
.f3-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: .78rem; color: rgba(255,255,255,.45); }
.to-top { flex: none; width: 40px; height: 40px; display: grid; place-items: center; background: var(--red); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%); transition: background .25s, transform .3s var(--ease); }
.to-top i { width: 12px; height: 11px; background: var(--white); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.to-top:hover { background: var(--white); transform: translateY(-4px); }
.to-top:hover i { background: var(--black); }
@media (max-width: 640px) {
  .f3 { padding-top: 70px; }
  .f3-top { flex-direction: column; align-items: flex-start; gap: 18px; padding-bottom: 20px; }
  .f3-links { gap: 8px 20px; }
  .f3-info { flex-direction: column; gap: 10px; padding: 18px 0; font-size: .9rem; }
  .f3-bottom { align-items: flex-end; }
}

/* Contact page — steps strip + contact board */
.journey--solo { margin-bottom: 0; }
.cboard { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); border-top: 4px solid var(--red); box-shadow: 0 40px 80px -50px rgba(0,0,0,.45); }
.cboard .contact-form { border-top: 0; box-shadow: none; }
.cboard-side { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; gap: 24px; padding: clamp(28px, 3.6vw, 44px); background: var(--black); color: var(--white); }
.cboard-side .label { color: var(--white); }
.cboard-glow { position: absolute; z-index: -1; right: -35%; top: -30%; width: 85%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(172,0,8,.32), rgba(172,0,8,0) 65%); pointer-events: none; }
.cboard-h { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.9rem, 3vw, 2.6rem); text-transform: uppercase; line-height: .95; margin: 12px 0 0; }
.cboard-h em { font-style: normal; color: var(--red); }
.cmethods { display: grid; gap: 10px; }
.cmethods a { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 12px 16px 12px 12px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.03); transition: background .3s, border-color .3s, transform .35s var(--ease); }
.cmethods a:hover, .cmethods a:focus-visible { background: var(--red); border-color: var(--red); transform: translateX(6px); }
.cm-ic { width: 46px; height: 46px; display: grid; place-items: center; background: var(--red); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%); transition: background .3s; }
.cmethods a:hover .cm-ic { background: var(--black); }
.cm-ic svg { width: 20px; height: 20px; fill: none; stroke: var(--white); stroke-width: 1.8; stroke-linejoin: round; }
.cmethods a[href^="tel"] .cm-ic svg { fill: var(--white); stroke: none; }
.cmethods small { display: block; font-family: var(--f-display); font-weight: 700; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.55); transition: color .3s; }
.cmethods a:hover small { color: rgba(255,255,255,.88); }
.cmethods b { display: block; margin-top: 2px; font-family: var(--f-display); font-weight: 800; font-size: 1.15rem; letter-spacing: .02em; line-height: 1.15; overflow-wrap: anywhere; }
.cm-go { width: 8px; height: 10px; background: var(--red); clip-path: polygon(0 0, 100% 50%, 0 100%); transition: background .3s, transform .3s; }
.cmethods a:hover .cm-go { background: var(--white); transform: translateX(3px); }
.cboard-photo { flex: 1; min-height: 200px; }
.cboard-photo img { position: absolute; inset: 0; }
.cboard-tag { position: absolute; left: 12px; bottom: 12px; font-family: var(--f-display); font-weight: 700; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--white); background: rgba(0,0,0,.72); padding: 6px 10px; border-left: 3px solid var(--red); }
.cfaq { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 20px 56px; align-items: start; margin-top: clamp(44px, 5vw, 72px); }
.cfaq .faq { margin: 0; }
.cfaq-h { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.7rem, 2.6vw, 2.3rem); text-transform: uppercase; line-height: .95; margin: 12px 0 0; }
.cfaq-h em { font-style: normal; color: var(--red); }
@media (max-width: 900px) {
  .cboard { grid-template-columns: 1fr; }
  .cboard-photo { min-height: 220px; flex: none; }
  .cfaq { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .cboard-photo { display: none; }
  .cmethods a { grid-template-columns: 42px minmax(0, 1fr) auto; gap: 12px; }
  .cm-ic { width: 42px; height: 42px; }
  .cmethods b { font-size: 1rem; }
}
@media (max-width: 640px) { .values > .value { padding-bottom: 60px; } }

/* Features — Gi vs No-gi face-off */
.fo-stage { position: relative; display: grid; grid-template-columns: 1fr 1fr; height: clamp(420px, 42vw, 580px); background: var(--red); --cut: 72px; --ov: 34px; }
.fo-side { position: relative; overflow: hidden; isolation: isolate; color: var(--white); }
.fo-side--gi { margin-right: calc(var(--ov) * -1); clip-path: polygon(0 0, 100% 0, calc(100% - var(--cut)) 100%, 0 100%); }
.fo-side--nogi { margin-left: calc(var(--ov) * -1); clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%); }
.fo-side .ph { position: absolute; inset: 0; z-index: -2; background: var(--char); }
.fo-side .ph img { transition: transform 1.1s var(--ease); }
.fo-side::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.82) 100%); transition: background .5s; }
.fo-side:hover .ph img { transform: scale(1.06); }
.fo-cap { position: absolute; bottom: clamp(22px, 3vw, 40px); left: clamp(22px, 3vw, 44px); right: calc(var(--cut) + 20px); }
.fo-side--nogi .fo-cap { left: calc(var(--cut) + 20px); right: clamp(22px, 3vw, 44px); text-align: right; }
.fo-cap .mono { display: inline-block; padding: 5px 10px; background: var(--red); color: var(--white); font-size: .68rem; letter-spacing: .2em; }
.fo-side--nogi .fo-cap .mono { background: var(--white); color: var(--black); }
.fo-cap h3 { margin: 12px 0 6px; font-family: var(--f-display); font-weight: 800; font-size: clamp(2.6rem, 5.4vw, 5rem); line-height: .85; text-transform: uppercase; }
.fo-cap p { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(.95rem, 1.3vw, 1.2rem); letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.fo-vs { position: absolute; z-index: 3; left: 50%; top: 50%; width: clamp(76px, 8vw, 112px); aspect-ratio: 1; display: grid; place-items: center; transform: translate(-50%, -50%); border-radius: 50%; background: var(--black); border: 4px solid var(--red); box-shadow: 0 0 0 8px rgba(255,255,255,.9), 0 20px 50px rgba(0,0,0,.45); font-family: var(--f-display); font-weight: 800; font-size: clamp(1.6rem, 2.6vw, 2.5rem); letter-spacing: .02em; color: var(--white); }
.fo-tape { margin: 0; border: 2px solid var(--black); border-top: 0; }
.fo-row { display: grid; grid-template-columns: minmax(0, 1fr) clamp(130px, 16vw, 200px) minmax(0, 1fr); align-items: center; border-top: 1px solid var(--line-l); transition: background .3s; }
.fo-row:first-child { border-top: 0; }
.fo-row:hover { background: var(--paper); }
.fo-row dd { margin: 0; padding: 18px clamp(16px, 3vw, 40px); font-family: var(--f-display); font-weight: 700; font-size: clamp(1rem, 1.5vw, 1.3rem); text-transform: uppercase; letter-spacing: .02em; line-height: 1.15; }
.fo-row dd:first-child { text-align: right; }
.fo-row dt { align-self: stretch; display: grid; place-items: center; text-align: center; padding: 10px 8px; background: var(--black); color: var(--white); font-family: var(--f-display); font-weight: 700; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; }
.fo-row:hover dt { background: var(--red); }
.fo-verdict { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px 32px; margin-top: 18px; padding: clamp(20px, 2.6vw, 28px) clamp(20px, 3vw, 36px); background: var(--black); color: var(--white); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%); }
.fo-verdict p { margin: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; }
.fo-verdict .mono { color: var(--red); }
.fo-verdict strong { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.25rem, 2.2vw, 1.8rem); text-transform: uppercase; line-height: 1.05; }
.fo-verdict em { font-style: normal; color: var(--red); }
@media (max-width: 640px) {
  .fo-stage { height: 380px; --cut: 36px; --ov: 18px; }
  .fo-cap { left: 14px; right: calc(var(--cut) + 6px); bottom: 18px; }
  .fo-side--nogi .fo-cap { left: calc(var(--cut) + 6px); right: 14px; }
  .fo-cap .mono { font-size: .58rem; padding: 4px 7px; }
  .fo-cap h3 { font-size: 2.1rem; }
  .fo-cap p { font-size: .78rem; }
  .fo-vs { width: 64px; border-width: 3px; box-shadow: 0 0 0 5px rgba(255,255,255,.9), 0 14px 30px rgba(0,0,0,.45); font-size: 1.3rem; top: 38%; }
  .fo-row { grid-template-columns: minmax(0, 1fr) 84px minmax(0, 1fr); }
  .fo-row dd { padding: 14px 10px; font-size: .82rem; }
  .fo-row dt { font-size: .56rem; letter-spacing: .12em; }
  .fo-verdict .btn { width: 100%; }
}

/* ==========================================================================
   NAVIGATION v4 — clean left-logo bar: logo + wordmark left, links and
   CTA right, solid black with a thin red bottom line
   ========================================================================== */
:root { --header-h: 84px; }
.site-header.hdr { height: var(--header-h); background: #050505; box-shadow: inset 0 -2px 0 var(--red); backdrop-filter: none; -webkit-backdrop-filter: none; transition: height .35s var(--ease), box-shadow .35s; }
.site-header.hdr::before { display: none; }
.site-header.hdr.is-scrolled { --header-h: 68px; background: #050505; box-shadow: inset 0 -2px 0 var(--red), 0 14px 30px -18px rgba(0,0,0,.75); }
.hdr-in { max-width: 1480px; height: 100%; margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 28px; }
.hdr-brand { display: flex; align-items: center; gap: 14px; flex: none; }
.hdr-brand .logo { --lw: 56px; transition: width .35s var(--ease); }
.is-scrolled .hdr-brand .logo { --lw: 48px; }
.hdr-name { font-family: var(--f-display); font-weight: 600; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.6); line-height: 1.25; border-left: 2px solid var(--red); padding-left: 12px; }
.hdr-name b { display: block; font-weight: 800; font-size: 1.25rem; letter-spacing: .12em; color: var(--white); }

.hdr .nav { margin-left: auto; display: flex; align-items: center; gap: clamp(18px, 2vw, 32px); padding: 0; border: 0; background: none; }
.hdr .nav-drop { position: relative; }
.hdr .nav > a, .hdr .nav-drop > button { padding: 8px 0; font-size: .98rem; letter-spacing: .08em; color: rgba(255,255,255,.86); transition: color .2s; }
.hdr .nav > a::after, .hdr .nav-drop > button::after { display: none; }
.hdr .nav > a:hover, .hdr .nav-drop:hover > button, .hdr .nav-drop.is-open > button,
.hdr .nav > a[aria-current="page"], .hdr .nav-drop.is-current > button { color: var(--red); }
.hdr .nav-drop .mega { left: -16px; top: calc(100% + 20px); transform: translateY(10px); }
.hdr .nav-drop.is-open .mega, .hdr .nav-drop:focus-within .mega { transform: none; }
@media (hover: hover) { .hdr .nav-drop:hover .mega { transform: none; } }

.hdr-actions { display: flex; align-items: center; gap: 16px; flex: none; padding-left: 26px; border-left: 1px solid rgba(255,255,255,.14); }
.hdr-phone { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 700; font-size: 1rem; letter-spacing: .04em; white-space: nowrap; transition: color .2s; }
.hdr-phone i { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); transition: background .2s, border-color .2s; }
.hdr-phone svg { width: 16px; height: 16px; fill: var(--white); }
.hdr-phone:hover { color: var(--red); }
.hdr-phone:hover i { background: var(--red); border-color: var(--red); }
.menu-open .site-header.hdr { background: var(--black); }

@media (min-width: 1181px) { .hdr .burger { display: none; } }
@media (max-width: 1360px) { .hdr-phone span { display: none; } }
@media (max-width: 1180px) {
  .hdr .nav { display: none; }
  .hdr .burger { display: block; }
  .hdr-actions { margin-left: auto; padding-left: 0; border-left: 0; gap: 12px; }
}
@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .site-header.hdr.is-scrolled { --header-h: 64px; }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .site-header.hdr, .site-header.hdr.is-scrolled { --header-h: 64px; }
  .hdr-in { gap: 12px; }
  .hdr-actions .btn { display: none; }
  .hdr-brand .logo, .is-scrolled .hdr-brand .logo { --lw: 44px; }
  .hdr-name { font-size: .6rem; padding-left: 10px; }
  .hdr-name b { font-size: 1.05rem; }
}

/* ---------- Mobile optimisation pass: ≥44px tap targets + legible small text ---------- */
@media (max-width: 640px) {
  .crumbs a { display: inline-block; padding: 12px 0; margin: -12px 0; }
  .f3-links { gap: 0 22px; }
  .f3-links a { display: inline-flex; align-items: center; min-height: 44px; }
  .f3-info { gap: 0; padding: 10px 0; }
  .f3-info a { min-height: 44px; }
  .hdr-phone i { width: 44px; height: 44px; }
  .link-arrow { padding-top: 8px; margin-top: -8px; }
  .ask-link, .visit-mail { display: inline-flex; align-items: center; min-height: 44px; }
  .visit-mail { margin-top: 6px; }
  .week-picker button { min-height: 48px; align-content: center; }
  .hdr-name { font-size: .66rem; }
  
  .fo-row dt { font-size: .64rem; letter-spacing: .1em; }
  .fo-cap .mono { font-size: .64rem; }
  .cls .tag, .today-row .tag { font-size: .66rem; }
  .field label { font-size: .74rem; }
}

/* ---------- Mobile: swipe rows for long card stacks + compact program panels ---------- */
@media (max-width: 640px) {
  .tcards, .feat-grid, .values {
    display: flex !important; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 16px; scrollbar-width: none;
  }
  .tcards::-webkit-scrollbar, .feat-grid::-webkit-scrollbar, .values::-webkit-scrollbar { display: none; }
  .tcards > *, .feat-grid > *, .values > * { flex: 0 0 84%; min-width: 0; scroll-snap-align: start; }
  .tcards > .tcard--cta { align-self: stretch; }
  
  
  
}
@media (max-width: 640px) {
  .js .tcards > [data-reveal], .js .feat-grid > [data-reveal], .js .values > [data-reveal] { opacity: 1; transform: none; clip-path: none; }
}

/* ==========================================================================
   FREE-CLASS FLOW — two-step form indicator + booking page (step 2 of 2)
   ========================================================================== */
.form-steps { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 0; list-style: none; font-family: var(--f-display); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-l); }
.form-steps li { display: inline-flex; align-items: center; gap: 8px; }
.form-steps li + li::before { content: ""; width: 26px; height: 2px; margin-right: 2px; background: var(--line-l); }
.form-steps b { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid currentColor; font-size: .78rem; letter-spacing: 0; }
.form-steps .is-on { color: var(--ink); }
.form-steps .is-on b { background: var(--red); border-color: var(--red); color: var(--white); }
.field select:invalid { color: var(--muted-l); }
.field select option { color: var(--ink); }
.btn.is-loading { cursor: progress; opacity: .92; }
.btn.is-loading .tri { width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(255,255,255,.45); border-top-color: var(--white); background: none; clip-path: none; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* booking page */
.bk-top { position: relative; isolation: isolate; overflow: hidden; padding: var(--header-h) 0 clamp(56px, 6vw, 84px); background: var(--black); color: var(--white); }
.bk-glow { position: absolute; z-index: -1; right: -10vw; top: -10vw; width: 60vw; height: 60vw; border-radius: 50%; background: radial-gradient(circle, rgba(172,0,8,.24), rgba(172,0,8,0) 62%); pointer-events: none; }
.bk-alert { background: var(--red); color: var(--white); }
.bk-alert-in { max-width: 1480px; margin: 0 auto; padding: 12px var(--gutter); display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 16px; text-align: center; }
.bk-alert p { margin: 0; font-size: .98rem; }
.bk-alert strong { font-family: var(--f-display); font-weight: 800; font-size: 1.08rem; letter-spacing: .06em; text-transform: uppercase; }
.bk-alert-ic { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--white); color: var(--red); font-family: var(--f-display); font-weight: 800; font-size: 1.1rem; animation: pulseW 1.8s infinite; }
@keyframes pulseW { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.86); opacity: .7; } }
.bk-alert-go { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; background: var(--black); font-family: var(--f-display); font-weight: 700; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; transition: background .25s, color .25s; }
.bk-alert-go i { width: 10px; height: 8px; background: currentColor; clip-path: polygon(0 0, 100% 0, 50% 100%); }
.bk-alert-go:hover { background: var(--white); color: var(--black); }
.bk-hero { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; gap: clamp(32px, 5vw, 72px); padding-top: clamp(40px, 5vw, 64px); }
.bk-copy .label { color: var(--white); }
.bk-h1 { margin: 16px 0 18px; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(2.7rem, 6vw, 5.2rem); line-height: .88; letter-spacing: -.005em; }
.bk-h1 em { font-style: normal; color: var(--red); }
.bk-sub { max-width: 560px; margin: 0 0 28px; font-size: 1.08rem; line-height: 1.6; color: rgba(255,255,255,.8); }
.bk-status { position: relative; overflow: hidden; padding: 26px 26px 30px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-top: 4px solid var(--red); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%); }
.bk-status-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.bk-status-head .mono { color: rgba(255,255,255,.6); }
.bk-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(172,0,8,.16); border: 1px solid rgba(172,0,8,.5); font-family: var(--f-display); font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--white); white-space: nowrap; }
.bk-steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.bk-steps li { position: relative; display: grid; grid-template-columns: 42px minmax(0, 1fr); align-items: center; gap: 14px; padding: 12px 14px 12px 12px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03); }
.bk-steps b { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.3); font-family: var(--f-display); font-weight: 800; font-size: 1.15rem; color: rgba(255,255,255,.6); }
.bk-steps span { font-family: var(--f-display); font-weight: 700; font-size: 1.12rem; letter-spacing: .03em; text-transform: uppercase; line-height: 1.15; color: rgba(255,255,255,.55); }
.bk-steps small { display: block; font-size: .68rem; letter-spacing: .18em; color: rgba(255,255,255,.5); }
.bk-steps .is-done b { position: relative; background: rgba(255,255,255,.12); border-color: transparent; }
.bk-steps .is-done b::after { content: ""; width: 14px; height: 8px; margin-top: -3px; border-left: 2.5px solid var(--white); border-bottom: 2.5px solid var(--white); transform: rotate(-45deg); }
.bk-steps .is-done span { color: rgba(255,255,255,.7); text-decoration: line-through; text-decoration-color: rgba(172,0,8,.8); text-decoration-thickness: 2px; }
.bk-steps .is-current { border-color: var(--red); background: rgba(172,0,8,.12); }
.bk-steps .is-current b { background: var(--red); border-color: var(--red); color: var(--white); box-shadow: 0 0 0 0 rgba(172,0,8,.6); animation: pulse 1.8s infinite; }
.bk-steps .is-current span { color: var(--white); }
.bk-steps .is-current small { color: var(--red); }
.bk-stamp { position: absolute; right: -34px; bottom: 22px; margin: 0; padding: 6px 40px; background: var(--red); color: var(--white); font-family: var(--f-display); font-weight: 800; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; transform: rotate(-8deg); box-shadow: 0 10px 24px rgba(0,0,0,.4); }

.bk-book { padding-top: clamp(70px, 7vw, 100px); scroll-margin-top: var(--header-h); }
.bk-lead b { color: var(--red-deep); }
.bk-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.bk-tabs button { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 12px 18px; border: 2px solid var(--black); background: var(--white); font-family: var(--f-display); font-weight: 800; font-size: 1.08rem; letter-spacing: .04em; text-transform: uppercase; text-align: left; transition: background .25s, color .25s, border-color .25s, transform .3s var(--ease); }
.bk-tabs button .mono { color: var(--red-deep); transition: color .25s; }
.bk-tabs button:hover { transform: translateY(-2px); }
.bk-tabs button[aria-selected="true"] { background: var(--black); color: var(--white); box-shadow: inset 0 -4px 0 var(--red); }
.bk-tabs button[aria-selected="true"] .mono { color: var(--red); }
.bk-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 22px; align-items: start; }
.bk-card { position: relative; background: var(--white); border: 1px solid var(--line-l); border-top: 4px solid var(--red); box-shadow: 0 30px 60px -40px rgba(0,0,0,.35); min-height: 420px; }
.bk-cal-head { display: flex; align-items: center; gap: 12px; margin: 0; padding: 14px 20px; background: var(--black); color: var(--white); font-family: var(--f-display); font-weight: 800; font-size: 1.1rem; letter-spacing: .04em; text-transform: uppercase; }
.bk-cal-head .mono { padding: 4px 8px; background: var(--red); color: var(--white); font-size: .64rem; letter-spacing: .16em; }
.bk-frame { position: relative; min-height: 840px; }
.bk-frame iframe { position: relative; z-index: 1; display: block; width: 100%; min-height: 840px; }
.bk-open { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 16px; border-top: 1px solid var(--line-l); background: var(--paper); font-family: var(--f-display); font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-l); transition: color .2s, background .2s; }
.bk-open i { width: 8px; height: 9px; background: var(--red); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.bk-open:hover { color: var(--ink); background: #ececec; }
.bk-loading { position: absolute; left: 50%; top: 90px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-display); font-weight: 700; font-size: .9rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-l); }
.bk-loading::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-l); border-top-color: var(--red); animation: spin .8s linear infinite; }
.bk-cal.is-loaded .bk-loading { display: none; }
.bk-empty { display: grid; justify-items: center; align-content: center; gap: 10px; min-height: 420px; padding: 40px 24px; text-align: center; color: var(--muted-l); }
.bk-empty[hidden] { display: none; }
.bk-empty-ic { width: 54px; height: 54px; background: var(--red); clip-path: polygon(0 0, 100% 0, 50% 100%); animation: bob 1.6s var(--ease) infinite alternate; }
@keyframes bob { to { transform: translateY(-8px); } }
.bk-empty-t { margin: 6px 0 0; font-family: var(--f-display); font-weight: 800; font-size: 1.6rem; text-transform: uppercase; color: var(--ink); }
.bk-empty p:last-child { max-width: 380px; margin: 0; }
.bk-side { display: grid; gap: 14px; }
.bk-box { padding: 24px 22px; background: var(--paper); border: 1px solid var(--line-l); }
.bk-box .label { margin-bottom: 10px; }
.bk-box--dark { background: var(--black); color: var(--white); border-color: var(--black); }
.bk-box--dark .label { color: var(--white); }
.bk-box-h { margin: 0 0 14px; font-family: var(--f-display); font-weight: 800; font-size: 1.7rem; text-transform: uppercase; line-height: .95; }
.bk-box-h em { font-style: normal; color: var(--red); }
.bk-box--dark .checks b { font-size: 1rem; }
.bk-box--dark .checks span { font-size: .86rem; color: rgba(255,255,255,.65); }
.bk-addr { margin-bottom: 14px; font-style: normal; line-height: 1.55; color: var(--muted-l); }
.bk-addr strong { display: block; color: var(--ink); font-family: var(--f-display); font-weight: 800; font-size: 1.1rem; text-transform: uppercase; letter-spacing: .03em; }
.bk-box--red { background: linear-gradient(140deg, var(--red), var(--red-deep)); border: 0; color: var(--white); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%); }
.bk-box--red p { margin: 0 0 14px; color: rgba(255,255,255,.9); }
.bk-help-t { font-family: var(--f-display); font-weight: 800; font-size: 1.35rem; text-transform: uppercase; line-height: 1; color: var(--white) !important; margin-bottom: 8px !important; }
@media (max-width: 980px) {
  .bk-hero { grid-template-columns: 1fr; }
  .bk-grid { grid-template-columns: 1fr; }
  .bk-side { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
}
@media (max-width: 640px) {
  .bk-alert-in { justify-content: flex-start; text-align: left; flex-wrap: nowrap; padding: 10px 16px; }
  .bk-alert p span { display: none; }
  .bk-alert-go { margin-left: auto; padding: 8px 10px; font-size: .74rem; }
  .bk-hero { padding-top: 30px; gap: 26px; }
  .bk-status { padding: 20px 16px 26px; }
  .bk-steps span { font-size: 1rem; }
  .bk-tabs { grid-template-columns: 1fr; gap: 8px; }
  .bk-tabs button { min-height: 52px; font-size: 1rem; }
  .bk-cal-head { font-size: .95rem; padding: 12px 14px; }
  .bk-frame, .bk-frame iframe { min-height: 1000px; }
  .form-steps { font-size: .7rem; gap: 8px; }
  .form-steps li + li::before { width: 16px; }
}

/* booking page runs without the site navigation and footer */
.is-bare { --header-h: 0px; }
.bk-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.bk-brand .logo { --lw: 58px; }
.is-bare .bk-book { padding-bottom: clamp(56px, 6vw, 90px); }
.js-lead-form .form-error { margin: 18px 0 0; padding: 10px 14px; border-left: 3px solid var(--red); background: rgba(172,0,8,.08); color: #9f1d1d; font-weight: 500; }

/* ==========================================================================
   HOME HERO v4 — "NEXUS" poster: giant word, vertical red band, photo in
   front of the letters, copy row under the word, FIRST CLASS FREE tag,
   info rail. Content flows (no overlaps); only band + photo are absolute.
   ========================================================================== */
.nx { --cw: min(100% - var(--gutter) * 2, 1640px); --wh: calc((min(100vw, 1640px + var(--gutter) * 2) - var(--gutter) * 2) * .214);
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; align-items: center;
  min-height: max(720px, min(100svh, 1000px)); padding: calc(var(--header-h) + 30px) 0 0;
  background: radial-gradient(120% 90% at 30% 40%, #121212 0%, #050505 60%); color: var(--white); }
.nx > * { width: var(--cw); }
.nx-band { position: absolute; z-index: 1; left: 53.5%; width: 25.2% !important; top: 0; bottom: 8.5%; background: linear-gradient(180deg, #ac0008 0%, #96000a 100%); transform-origin: top; animation: nxBand 1.1s var(--ease) both; }
.nx-meta { position: relative; z-index: 4; display: flex; justify-content: space-between; font-family: var(--f-display); font-weight: 600; font-size: .86rem; letter-spacing: .26em; text-transform: uppercase; color: rgba(255,255,255,.72); }
.nx-meta span { display: inline-flex; align-items: center; gap: 16px; }
.nx-meta span::before { content: ""; width: 52px; height: 1.5px; background: rgba(255,255,255,.6); }
.nx-word { position: relative; z-index: 2; display: block; height: auto; margin-top: 22px; overflow: visible; animation: nxRise 1s var(--ease) .1s both; }
.nx-word text { font-family: var(--f-display); font-weight: 800; font-size: 300px; fill: #f2eee6; }
.nx-row { position: relative; z-index: 5; flex: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-top: clamp(26px, 3vw, 46px); }
.nx-copy { max-width: 640px; animation: nxFade .9s var(--ease) .45s both; }
.nx-copy h1 { margin: 0; font-family: var(--f-display); font-weight: 800; font-size: clamp(2.6rem, 4.3vw, 4.4rem); line-height: .94; letter-spacing: -.005em; text-transform: uppercase; color: var(--white); text-shadow: 0 2px 24px rgba(0,0,0,.45); }
.nx-sub { margin: 16px 0 0; font-size: clamp(1rem, 1.25vw, 1.2rem); line-height: 1.5; color: rgba(255,255,255,.92); text-shadow: 0 1px 14px rgba(0,0,0,.6); }
.nx-ctas { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 40px; margin-top: 30px; }
.nx-btn { gap: 14px; padding-inline: 34px; }
.nx-arrow { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: square; transition: transform .3s var(--ease); }
.nx-btn:hover .nx-arrow { transform: translate(3px, -3px); }
.nx-link { position: relative; padding: 10px 0 8px; font-family: var(--f-display); font-weight: 700; font-size: 1.12rem; letter-spacing: .1em; text-transform: uppercase; color: var(--white); }
.nx-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255,255,255,.8); transition: background .25s; }
.nx-link:hover::after { background: var(--red); }
.nx-free { flex: none; display: flex; align-items: center; gap: 18px; margin-bottom: 10px; animation: nxFade .9s var(--ease) .6s both; }
.nx-free i { width: 16px; height: 16px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(172,0,8,.6); animation: pulse 1.8s infinite; }
.nx-free span { padding-left: 18px; border-left: 1.5px solid rgba(255,255,255,.8); font-family: var(--f-display); font-weight: 700; font-size: 1.55rem; line-height: 1.02; letter-spacing: .08em; text-transform: uppercase; }
.nx-free b { font-weight: 800; font-size: 1.25em; letter-spacing: .04em; color: var(--red); }
.nx-foot { position: relative; z-index: 5; display: flex; align-items: center; gap: 34px; margin-top: clamp(30px, 4vh, 56px); padding-bottom: clamp(24px, 4.5vh, 44px); font-family: var(--f-display); font-weight: 600; font-size: .92rem; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.82); }
.nx-foot ul { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
.nx-foot li { display: flex; align-items: center; white-space: nowrap; }
.nx-foot li + li::before { content: ""; width: 1.5px; height: 22px; margin: 0 40px; background: rgba(255,255,255,.7); }
.nx-line { flex: 1; height: 1.5px; background: rgba(255,255,255,.6); }
.nx-kids { white-space: nowrap; }
@keyframes nxBand { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes nxRise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }

@keyframes nxFade { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
/* transparent nav over the hero (home, top of page) so the red band runs up behind it */
body:has(.nx) .site-header.hdr:not(.is-scrolled) { background: transparent; box-shadow: inset 0 -1px 0 rgba(255,255,255,.16); }
@media (max-width: 1180px) {
  .nx-copy { max-width: 48%; }
  .nx-foot li + li::before { margin: 0 22px; }
}
@media (max-width: 900px) {
  .nx-free { display: none; }
  .nx-copy { max-width: 56%; }
  .nx-foot { gap: 20px; font-size: .78rem; letter-spacing: .18em; }
}
@media (max-width: 760px) {
  .nx { min-height: 0; padding-top: calc(var(--header-h) + 20px); }
  .nx-band { left: 56%; width: 30% !important; bottom: 34%; }
  .nx-meta { font-size: .72rem; letter-spacing: .2em; }
  .nx-meta span::before { width: 30px; }
  .nx-meta span + span { display: none; }
  .nx-word { margin-top: 16px; }
  .nx-row { flex: none; margin-top: -14vw; }
  .nx-copy { max-width: none; }
  .nx-copy h1 { font-size: clamp(2.3rem, 11vw, 3rem); }
  .nx-ctas { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 24px; }
  .nx-btn { justify-content: center; }
  .nx-link { align-self: center; }
  .nx-foot { margin-top: 30px; padding-bottom: 26px; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .7rem; letter-spacing: .16em; }
  .nx-foot li + li::before { height: 14px; margin: 0 12px; }
  .nx-line { display: none; }
}
@media (prefers-reduced-motion: reduce) { .nx-band, .nx-word, .nx-copy, .nx-free { animation: none; } }
/* hero scene: the athletes photo as the backdrop, a cut-out copy of the same photo stacked
   above the NEXUS letters (both images share size + object-position so they line up exactly) */
.nx-scene { position: absolute; inset: 0; width: auto !important; pointer-events: none; }
.nx-bg, .nx-cut { position: absolute; inset: 0; }
.nx-bg { z-index: 0; animation: nxFadeIn 1.2s ease both; }
.nx-cut { z-index: 3; filter: drop-shadow(0 18px 30px rgba(0,0,0,.4)); animation: nxCutIn 1.1s var(--ease) .25s both; }
.nx-bg img, .nx-cut img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 70% 60%); }
.nx-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,5,5,.55) 0%, rgba(5,5,5,0) 45%); }
@keyframes nxFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes nxCutIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@media (max-width: 1500px) {
  .nx-bg img, .nx-cut img { object-position: 38% 60%; }
  .nx-sub { max-width: 30ch; }
}
@media (min-width: 761px) and (max-width: 1180px) {
  .nx-scene { left: 34%; top: 22%; bottom: 5%; }
  .nx-bg img, .nx-cut img { object-position: 78% 62%; }
  .nx-bg { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18%), linear-gradient(180deg, transparent 0, #000 16%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, #000 18%), linear-gradient(180deg, transparent 0, #000 16%); mask-composite: intersect; }
  .nx-bg::after { display: none; }
  .nx-copy { max-width: 40%; }
}
@media (max-width: 760px) {
  .nx-band { left: 44%; width: 32% !important; bottom: 36%; }
  .nx-scene { position: relative; inset: auto; width: 100% !important; aspect-ratio: 1 / .82; margin-top: -16vw; }
  .nx-bg img, .nx-cut img { object-position: 74% 64%; }
  .nx-bg::after { background: linear-gradient(180deg, rgba(5,5,5,.8) 0%, rgba(5,5,5,0) 30%, rgba(5,5,5,0) 75%, #050505 100%); }
  .nx-scene + .nx-row { margin-top: -4vw; }
}
@media (prefers-reduced-motion: reduce) { .nx-bg, .nx-cut { animation: none; } }

/* ==========================================================================
   MOBILE MENU v2 — compact numbered rows, Programs accordion, CTA + contact
   ========================================================================== */
.mobile-menu { padding: calc(var(--header-h) + 14px) var(--gutter) 28px; outline: none; }
.mobile-menu .wm { right: -60px; bottom: 120px; --lw: 280px; opacity: .045; }
.mm-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-d); }
.mm-list > li { border-bottom: 1px solid var(--line-d); }
.menu-open .mm-list > li { animation: mmIn .5s var(--ease) both; animation-delay: calc(var(--i) * 45ms + 120ms); }
@keyframes mmIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.mm-link { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 60px; padding: 12px 2px; background: none; border: 0; color: var(--white); text-align: left; font-family: var(--f-display); font-weight: 800; font-size: 1.6rem; letter-spacing: .02em; text-transform: uppercase; line-height: 1; cursor: pointer; transition: color .2s; }
.mm-n { width: 22px; flex: none; font-family: var(--f-mono); font-weight: 600; font-size: .68rem; letter-spacing: .12em; color: var(--red); }
.mm-t { flex: 1; }
.mm-go { width: 9px; height: 11px; background: rgba(255,255,255,.35); clip-path: polygon(0 0, 100% 50%, 0 100%); transition: transform .3s var(--ease), background .2s; }
.mm-link:hover .mm-go, .mm-link:focus-visible .mm-go { background: var(--red); transform: translateX(4px); }
.mm-link[aria-current="page"] { color: var(--red); }
.mm-link[aria-current="page"] .mm-go { background: var(--red); }
.mm-chev { position: relative; width: 34px; height: 34px; flex: none; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; transition: background .25s, border-color .25s; }
.mm-chev::before { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 7px; background: var(--white); clip-path: polygon(0 0, 100% 0, 50% 100%); transform: translate(-50%, -40%); transition: transform .3s var(--ease); }
.mm-drop.is-open .mm-chev { background: var(--red); border-color: var(--red); }
.mm-drop.is-open .mm-chev::before { transform: translate(-50%, -55%) rotate(180deg); }
.mm-drop.is-current .mm-toggle { color: var(--red); }
.mm-sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.mm-drop.is-open .mm-sub { grid-template-rows: 1fr; }
.mm-sub-in { min-height: 0; overflow: hidden; visibility: hidden; display: grid; gap: 6px; padding: 0 0 0 36px; transition: visibility 0s .35s, padding .35s var(--ease); }
.mm-drop.is-open .mm-sub-in { visibility: visible; padding-bottom: 16px; transition: visibility 0s, padding .35s var(--ease); }
.mm-sub-in a { display: grid; gap: 2px; padding: 10px 14px; border-left: 2px solid rgba(255,255,255,.14); background: rgba(255,255,255,.03); transition: border-color .2s, background .2s; }
.mm-sub-in a b { font-family: var(--f-display); font-weight: 700; font-size: 1.08rem; letter-spacing: .03em; text-transform: uppercase; color: var(--white); }
.mm-sub-in a small { font-size: .82rem; color: var(--muted-d); }
.mm-sub-in a:hover, .mm-sub-in a:focus-visible { border-left-color: var(--red); background: rgba(255,255,255,.06); }
.mm-sub-in a[aria-current="page"] { border-left-color: var(--red); background: rgba(172,0,8,.1); }
.mm-sub-in a[aria-current="page"] b { color: var(--red); }
.mm-sub-in .mm-all { display: inline-flex; align-items: center; gap: 8px; width: max-content; padding: 10px 0 4px; border: 0; background: none; font-family: var(--f-display); font-weight: 700; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.mm-sub-in .mm-all .tri { width: 7px; height: 8px; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.mm-foot { margin-top: auto; padding-top: 26px; display: grid; gap: 14px; }
.mm-foot .btn { width: 100%; justify-content: center; }
.mm-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mm-contact a { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 10px 12px; border: 1px solid var(--line-d); background: rgba(255,255,255,.03); transition: border-color .2s; }
.mm-contact a:hover { border-color: var(--red); }
.mm-contact i { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--red); }
.mm-contact svg { width: 15px; height: 15px; fill: var(--white); }
.mm-contact span { font-family: var(--f-display); font-weight: 700; font-size: .88rem; letter-spacing: .02em; line-height: 1.2; color: var(--white); }
.mm-contact small { display: block; font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-d); }
.mm-social { display: flex; gap: 10px; }
.mm-social a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line-d); transition: background .25s, border-color .25s; }
.mm-social a:hover { background: var(--red); border-color: var(--red); }
.mm-social svg { width: 17px; height: 17px; fill: currentColor; }
@media (max-width: 380px) { .mm-contact { grid-template-columns: 1fr; } .mm-link { font-size: 1.45rem; } }
@media (prefers-reduced-motion: reduce) { .menu-open .mm-list > li { animation: none; } }

/* ---------- Hero "alive" layer: slow photo drift, mouse + scroll depth, band sheen,
   scanning rail dot, CTA shine, line draw-in. All motion stops for reduced-motion users. ---------- */
.nx { --mx: 0; --my: 0; --sy: 0; }
.nx-bg img, .nx-cut img { transform-origin: 62% 64%; animation: nxDrift 18s ease-in-out 1.2s infinite alternate; }
@keyframes nxDrift { from { transform: scale(1); } to { transform: scale(1.045) translate(-.6%, -.4%); } }
.nx-bg, .nx-cut { translate: calc(var(--mx) * 16px) calc(var(--my) * 10px + var(--sy) * 40px); transition: translate .7s var(--ease); }
.nx-word { translate: calc(var(--mx) * -22px) calc(var(--my) * -12px + var(--sy) * -70px); transition: translate .7s var(--ease); }
.nx-band { overflow: hidden; translate: calc(var(--mx) * 8px) 0; transition: translate .7s var(--ease); }
.nx-band::after { content: ""; position: absolute; left: 0; right: 0; top: -35%; height: 35%; background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.16) 50%, rgba(255,255,255,0) 100%); animation: nxSheen 7s linear 1.4s infinite; }
@keyframes nxSheen { to { transform: translateY(400%); } }
.nx-meta span::before { transform-origin: left; animation: nxLine .9s var(--ease) .4s both; }
@keyframes nxLine { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.nx-line { position: relative; transform-origin: left; animation: nxLine 1.2s var(--ease) .7s both; }
.nx-line::after { content: ""; position: absolute; top: 50%; left: 0; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--red); box-shadow: 0 0 12px 2px rgba(172,0,8,.7); animation: nxScan 6.5s var(--ease) 2s infinite; opacity: 0; }
@keyframes nxScan { 0% { left: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { left: calc(100% - 8px); opacity: 0; } }
.nx-btn::after { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: -60%; width: 38%; background: linear-gradient(100deg, rgba(255,255,255,0), rgba(255,255,255,.38), rgba(255,255,255,0)); transform: skewX(-20deg); animation: nxShine 5.5s ease-in-out 2.4s infinite; }
@keyframes nxShine { 0%, 72% { left: -60%; } 100% { left: 130%; } }
@media (max-width: 760px) {
  .nx-scene { overflow: hidden; }
  .nx-bg, .nx-cut { translate: 0 calc(var(--sy) * 24px); }
  .nx-word { translate: 0 calc(var(--sy) * -30px); }
}
@media (prefers-reduced-motion: reduce) {
  .nx-bg img, .nx-cut img, .nx-band::after, .nx-line::after, .nx-btn::after, .nx-meta span::before, .nx-line { animation: none; }
  .nx-bg, .nx-cut, .nx-word, .nx-band { translate: none; }
}

/* ==========================================================================
   SCHEDULE v2 — timetable matrix (start times × days) with colour-blocked
   programs on desktop; day tabs + agenda list on tablet/phone
   ========================================================================== */
.tt { display: grid; gap: 6px; }
.tt-row { display: grid; grid-template-columns: 112px repeat(6, minmax(0, 1fr)); gap: 6px; }
.tt-corner, .tt-h { display: flex; align-items: flex-end; min-height: 64px; padding: 14px 16px; background: var(--black); color: var(--white); }
.tt-corner .mono { color: rgba(255,255,255,.55); font-size: .66rem; }
.tt-h { position: relative; font-family: var(--f-display); font-weight: 800; font-size: 1.28rem; letter-spacing: .03em; text-transform: uppercase; line-height: 1; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.tt-h.is-today { background: var(--red); }
.tt-h.is-today::after { content: "Today"; position: absolute; top: 10px; right: 12px; font-family: var(--f-mono); font-weight: 600; font-size: .58rem; letter-spacing: .2em; }
.tt-t { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 12px 14px; border-left: 4px solid var(--red); background: var(--paper); }
.tt-t b { font-family: var(--f-display); font-weight: 800; font-size: 1.7rem; line-height: .9; font-variant-numeric: tabular-nums; }
.tt-t small { font-family: var(--f-mono); font-weight: 600; font-size: .66rem; letter-spacing: .18em; color: var(--muted-l); }
.tt-c { position: relative; display: flex; flex-direction: column; gap: 6px; min-height: 124px; padding: 14px 14px 14px; transition: transform .3s var(--ease), box-shadow .3s, opacity .3s, filter .3s; }
.tt-c b { font-family: var(--f-display); font-weight: 800; font-size: 1.08rem; letter-spacing: .02em; text-transform: uppercase; line-height: 1.05; }
.tt-c time { margin-top: auto; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .04em; font-variant-numeric: tabular-nums; opacity: .85; }
.tt-note { font-size: .8rem; line-height: 1.35; opacity: .8; }
.tt-tag { align-self: flex-start; padding: 3px 7px; font-family: var(--f-mono); font-weight: 600; font-size: .58rem; letter-spacing: .16em; text-transform: uppercase; border: 1px solid currentColor; opacity: .75; }
.tt-c.t-kids { background: #0d0d0d; color: var(--white); }
.tt-c.t-bjj { background: linear-gradient(160deg, var(--red) 0%, var(--red-deep) 100%); color: var(--white); }
.tt-c.t-strike { background: #ececec; color: var(--ink); box-shadow: inset 4px 0 0 #111; }
.tt-c.t-open { background: var(--white); color: var(--red-deep); outline: 2px dashed var(--red); outline-offset: -2px; }
.tt-c.is-empty { min-height: 0; background: repeating-linear-gradient(135deg, #f7f7f7 0 8px, #f1f1f1 8px 16px); }
.tt-c.is-empty.is-today { background: repeating-linear-gradient(135deg, #fff3f3 0 8px, #fdeaea 8px 16px); }
.tt-c:not(.is-empty):hover { transform: translateY(-4px); box-shadow: 0 18px 34px -18px rgba(0,0,0,.45); z-index: 1; }
.tt-c.t-strike:not(.is-empty):hover { box-shadow: inset 4px 0 0 #111, 0 18px 34px -18px rgba(0,0,0,.45); }
.tt-c.is-today:not(.is-empty) { box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--black); }
.tt-c.t-strike.is-today { box-shadow: inset 4px 0 0 #111, 0 0 0 3px var(--white), 0 0 0 5px var(--black); }
.tt-c.is-live::after { content: "Live now"; position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px 4px 20px; background: var(--white); color: var(--red-deep); font-family: var(--f-mono); font-weight: 600; font-size: .56rem; letter-spacing: .16em; text-transform: uppercase; }
.tt-c.is-live::before { content: ""; position: absolute; z-index: 1; top: 19px; right: 74px; width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(172,0,8,.6); animation: pulse 1.8s infinite; }
.tt-c.is-dim { opacity: .14; filter: grayscale(1); }
.tt-c.is-dim:hover { transform: none; box-shadow: none; }
.legend i { width: 14px; height: 14px; background: none; }
.lg-kids i { background: #0d0d0d; }
.lg-bjj i { background: var(--red); }
.lg-strike i { background: #ececec; box-shadow: inset 3px 0 0 #111; }
.lg-open i { background: var(--white); outline: 2px dashed var(--red); outline-offset: -2px; }
.lg-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
@media (min-width: 981px) { .week, .day-tabs { display: none !important; } }
@media (max-width: 1180px) { .tt-row { grid-template-columns: 92px repeat(6, minmax(0, 1fr)); } .tt-h { font-size: 1.05rem; } .tt-c b { font-size: .98rem; } .tt-c.is-live::after { content: "Live"; padding: 3px 6px 3px 16px; top: 10px; right: 10px; } .tt-c.is-live::before { top: 16px; right: 44px; } }
@media (max-width: 980px) {
  .tt { display: none; }
  /* agenda list for the chosen day */
  .week { border: 0; background: none; gap: 0; }
  .day h3 { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; font-size: 1.4rem; }
  .cls { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: start; column-gap: 16px; padding: 18px 16px 18px 20px; border: 1px solid var(--line-l); border-top: 0; background: var(--white); }
  .cls::before { top: 0; bottom: 0; width: 5px; }
  .cls time { grid-row: 1 / span 3; margin: 2px 0 0; font-family: var(--f-display); font-weight: 800; font-size: 1.05rem; line-height: 1.15; color: var(--ink); }
  .cls b { font-size: 1.15rem; }
  .cls .tag { justify-self: start; }
  .cls.t-bjj { background: #fbefef; }
  .cls.t-kids { background: #f6f6f6; }
}

/* ===== LEGAL PAGES (privacy policy, terms) ===== */
.lg-hero .sh { grid-template-columns: 1fr; min-height: 0; padding-bottom: clamp(56px, 6vw, 88px); }
.lg-hero .sh-copy { max-width: 820px; }
.lg-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 26px; font-family: var(--f-display); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.66); }
.lg-meta > span { display: inline-flex; align-items: center; gap: 9px; }
.lg-meta > span::before { content: ""; width: 9px; height: 8px; background: var(--red); clip-path: polygon(0 0, 100% 0, 50% 100%); }
.lg-meta time { color: var(--white); }
.lg-meta a { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; color: var(--white); }
.lg-meta a .tri { width: 8px; height: 9px; background: var(--red); clip-path: polygon(0 0, 100% 50%, 0 100%); transition: transform .3s var(--ease); }
.lg-meta a:hover .tri { transform: translateX(4px); }
.lg-wrap .seam::after { display: none; }
.lg { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(36px, 6vw, 100px); align-items: start; }
.lg-toc { position: sticky; top: calc(var(--header-h) + 28px); }
.lg-toc ol { list-style: none; margin: 16px 0 0; padding: 0; border-top: 2px solid var(--black); }
.lg-toc a { display: flex; align-items: baseline; gap: 12px; padding: 10px 0 10px 0; border-bottom: 1px solid var(--line-l); font-family: var(--f-display); font-weight: 600; font-size: .92rem; line-height: 1.25; letter-spacing: .03em; text-transform: uppercase; color: rgba(0,0,0,.6); transition: color .2s, padding .35s var(--ease), box-shadow .35s var(--ease); }
.lg-toc a span { flex: none; font-family: var(--f-mono); font-weight: 700; font-size: .72rem; color: var(--red-deep); letter-spacing: .06em; }
.lg-toc a:hover { color: var(--black); padding-left: 6px; }
.lg-toc a.is-active { color: var(--black); padding-left: 14px; box-shadow: inset 3px 0 0 var(--red); }
.lg-body { max-width: 780px; min-width: 0; }
.lg-part { scroll-margin-top: calc(var(--header-h) + 28px); padding-bottom: clamp(34px, 4vw, 50px); margin-bottom: clamp(34px, 4vw, 50px); border-bottom: 1px solid var(--line-l); }
.lg-part:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }
.lg-part h2 { display: flex; align-items: center; gap: 16px; margin: 0 0 18px; font-family: var(--f-display); font-weight: 800; font-size: clamp(1.55rem, 2.5vw, 2.15rem); line-height: 1; text-transform: uppercase; }
.lg-n { flex: none; display: grid; place-items: center; width: 40px; height: 40px; background: var(--black); color: var(--white); font-family: var(--f-mono); font-weight: 700; font-size: .82rem; letter-spacing: .04em; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%); }
.lg-part h3 { margin: 28px 0 10px; font-family: var(--f-display); font-weight: 800; font-size: 1.15rem; letter-spacing: .04em; text-transform: uppercase; }
.lg-part p, .lg-part li { font-size: 1.02rem; line-height: 1.7; color: #2b2b2b; }
.lg-part p + p, .lg-part ul + p { margin-top: 14px; }
.lg-part ul { list-style: none; display: grid; gap: 9px; margin: 14px 0 0; padding: 0; }
.lg-part ul li { position: relative; padding-left: 24px; }
.lg-part ul li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 10px; height: 9px; background: var(--red); clip-path: polygon(0 0, 100% 0, 50% 100%); }
.lg-part strong { color: var(--black); }
.lg-body a:not(.lg-card a) { color: var(--black); font-weight: 600; text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.lg-biz { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: 22px; background: var(--line-l); border: 1px solid var(--line-l); }
.lg-biz > div { padding: 16px 18px; background: var(--paper); }
.lg-biz dt { font-family: var(--f-display); font-weight: 700; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--red-deep); }
.lg-biz dd { margin: 4px 0 0; font-size: 1rem; line-height: 1.5; color: var(--black); }
.lg-split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 14px; margin-top: 20px; }
.lg-box { padding: 22px 22px 24px; background: var(--paper); border-top: 3px solid var(--black); }
.lg-box-t { margin: 0 0 6px; font-family: var(--f-display); font-weight: 800; font-size: .95rem !important; letter-spacing: .1em; text-transform: uppercase; color: var(--black) !important; }
.lg-box ul { margin-top: 10px; }
.lg-box li { font-size: .96rem !important; line-height: 1.55 !important; }
.lg-box--no { background: var(--black); border-top-color: var(--red); }
.lg-box--no .lg-box-t { color: var(--white) !important; }
.lg-box--no li { color: rgba(255,255,255,.86) !important; }
.lg-box--no li::before { top: .5em !important; width: 10px !important; height: 10px !important; background: var(--red) !important; clip-path: polygon(20% 0, 50% 30%, 80% 0, 100% 20%, 70% 50%, 100% 80%, 80% 100%, 50% 70%, 20% 100%, 0 80%, 30% 50%, 0 20%) !important; }
.lg-note { margin-top: 18px !important; padding: 16px 20px; border-left: 3px solid var(--red); background: var(--paper); font-size: .98rem !important; }
.lg-rights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.lg-rights > div { padding: 22px 20px; background: var(--paper); border-top: 3px solid var(--red); }
.lg-rights span { display: block; margin-bottom: 8px; font-family: var(--f-display); font-weight: 800; font-size: 1.1rem; letter-spacing: .04em; text-transform: uppercase; }
.lg-rights p { font-size: .96rem !important; line-height: 1.55 !important; }
.lg-card { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 22px; background: rgba(255,255,255,.14); border-top: 4px solid var(--red); }
.lg-card a { display: flex; flex-direction: column; gap: 6px; min-height: 44px; padding: 22px 20px 24px; background: var(--black); color: var(--white); transition: background .25s; }
.lg-card a:hover { background: var(--char); }
.lg-card span { font-family: var(--f-display); font-weight: 700; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.lg-card b { font-family: var(--f-display); font-weight: 700; font-size: 1.08rem; line-height: 1.25; overflow-wrap: anywhere; }
.f3-copy { flex: 1 1 auto; min-width: 0; }
.f3-legal { display: flex; flex-wrap: wrap; gap: 0 22px; }
.f3-legal a { display: inline-flex; align-items: center; min-height: 44px; color: rgba(255,255,255,.66); transition: color .2s; }
.f3-legal a:hover { color: var(--white); }
@media (max-width: 980px) {
  .lg { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .lg > * { min-width: 0; }
  .lg-toc { z-index: 5; top: var(--header-h); margin: 0 calc(var(--gutter) * -1); padding: 10px var(--gutter); background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line-l); }
  .lg-toc .label { display: none; }
  .lg-toc ol { display: flex; gap: 8px; margin: 0; border: 0; overflow-x: auto; scrollbar-width: none; scroll-padding: 0 var(--gutter); }
  .lg-toc ol::-webkit-scrollbar { display: none; }
  .lg-toc li { flex: none; }
  .lg-toc a, .lg-toc a:hover { min-height: 40px; padding: 0 14px; border: 1px solid var(--line-l); white-space: nowrap; align-items: center; font-size: .82rem; }
  .lg-toc a.is-active { padding: 0 14px; background: var(--black); border-color: var(--black); color: var(--white); box-shadow: none; }
  .lg-toc a.is-active span { color: var(--red); }
  .lg-part { scroll-margin-top: calc(var(--header-h) + 76px); }
}
@media (max-width: 640px) {
  .lg-biz, .lg-split, .lg-rights, .lg-card { grid-template-columns: 1fr; }
  .lg-part h2 { gap: 12px; }
  .lg-n { width: 34px; height: 34px; font-size: .74rem; }
  .lg-part p, .lg-part li { font-size: 1rem; }
  .f3-bottom { flex-wrap: wrap; }
  .f3-copy { flex-basis: 100%; }
  .f3-legal { flex: 1; gap: 0 18px; }
}

/* ==========================================================================
   SHARED v4 — reveal vocabulary + FINAL CTA (every page with a closing CTA)
   Motion engine: assets/js/home.js (adds .is-in to [data-hx], sets --p on [data-scrub])
   ========================================================================== */
:root { --io: cubic-bezier(.77, 0, .18, 1); --out: cubic-bezier(.16, 1, .3, 1); --cut-l: 26px; }

[data-scrub] { --p: 1; }

/* ---------- Reveal vocabulary ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-hx="up"] { opacity: 0; transform: translate3d(0, 46px, 0); transition: opacity 1s var(--out), transform 1.2s var(--out); transition-delay: calc(var(--d, 0) * 1ms); }
  .js [data-hx="up"].is-in { opacity: 1; transform: none; }

  .js [data-hx="lines"] .hx-l > span { transform: translate3d(0, 108%, 0) rotate(2.5deg); transform-origin: 0 100%; transition: transform 1.15s var(--out); transition-delay: calc(var(--li, 0) * 120ms + var(--d, 0) * 1ms); }
  .js [data-hx="lines"].is-in .hx-l > span { transform: none; }

  .js [data-hx="wipe"] { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--io) calc(var(--d, 0) * 1ms); }
  .js [data-hx="wipe"] img { transform: scale(1.3); transition: transform 2s var(--out) calc(var(--d, 0) * 1ms); }
  .js [data-hx="wipe"].is-in { clip-path: inset(0 0 0 0); }
  .js [data-hx="wipe"].is-in img { transform: scale(1); }
}
.hx-lines .hx-l { display: block; overflow: hidden; padding: 0 .12em .08em 0; margin-bottom: -.08em; }
.hx-lines .hx-l > span { display: block; }

/* ==========================================================================
   FINAL CTA — compact. Headline: brand display + marker accent (matches motto)
   ========================================================================== */
.hx-cta { position: relative; overflow: hidden; isolation: isolate; padding: clamp(64px, 7.5vw, 108px) 0; background: var(--black); color: var(--white); }
.hx-cta .seam::after { display: none; }
.hx-cta::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(90deg, #000 30%, rgba(0,0,0,.55) 70%, rgba(0,0,0,.35)); }
.hx-cta::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: 3px; background: var(--red); }
.hx-cta-bg { position: absolute; inset: 0; z-index: -1; clip-path: circle(calc(18% + var(--p) * 70%) at 72% 50%); }
.hx-cta-bg img { filter: grayscale(1) contrast(1.1); opacity: .34; transform: scale(calc(1.15 - var(--p) * .15)); }
.hx-cta .wrap { position: relative; z-index: 1; }
.hx-cta-box { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(26px, 4vw, 64px); align-items: end; }
.hx-cta .label { margin-bottom: 20px; color: var(--white); }
.hx-cta-h { font-family: var(--f-display); font-weight: 900; font-size: clamp(2.8rem, 5.8vw, 5.4rem); line-height: .9; text-transform: uppercase; letter-spacing: -.01em; }
.hx-cta-h .hx-l { padding: 0 .3em .16em 0; margin-bottom: -.16em; }
.hx-cta-h em { display: inline-block; margin-left: .08em; font-family: 'Permanent Marker', var(--f-display), cursive; font-style: normal; font-weight: 400; font-size: 1.02em; letter-spacing: .01em; color: var(--red); rotate: -4deg; }
.hx-cta-p { max-width: 44ch; margin: 0 0 26px; font-size: 1.12rem; line-height: 1.55; color: rgba(255,255,255,.78); }
.hx-cta--edge::before { box-shadow: inset 0 3px 0 var(--red); }

/* Magnetic buttons */
.hx-mag { transition: color .35s var(--ease), transform .55s var(--out); }
@media (max-width: 900px) {
  .hx-cta-box { grid-template-columns: 1fr; align-items: start; }
  .hx-cta::before { background: linear-gradient(180deg, rgba(0,0,0,.55), #000 75%); }
}

/* ==========================================================================
   INNER PAGES — motion layer v4 (pages with .page-hero · driven by home.js)
   Hero: tiles are dealt in like cards, then float in depth with mouse + scroll.
   Sections: h2s rise word by word, labels decode, photos get a red curtain,
   outline bg-words drift sideways, dark-section photos parallax.
   ========================================================================== */
.page-hero { --mx: 0; --my: 0; --sy: 0; }
.page-hero .sh-copy { translate: 0 calc(var(--sy) * -9px); }
.page-hero .sh-glow { translate: calc(var(--mx) * 60px) calc(var(--my) * 60px); }
.sh-t1 { --dz: 14; --dr: -16; } .sh-t2 { --dz: 26; --dr: 18; } .sh-t3 { --dz: 40; --dr: -24; }
.page-hero .sh-t { translate: calc(var(--mx) * var(--dz) * 1px) calc((var(--my) + var(--sy)) * var(--dz) * 1px); }
.page-hero .sh-chip { translate: calc(var(--mx) * 50px) calc((var(--my) + var(--sy)) * 50px); }
@media (prefers-reduced-motion: no-preference) {
  .js .page-hero .sh-t { animation: hx-deal 1.15s var(--out) backwards; }
  .js .page-hero .sh-t1 { animation-delay: .2s; } .js .page-hero .sh-t2 { animation-delay: .36s; } .js .page-hero .sh-t3 { animation-delay: .52s; }
  .js .page-hero .sh-t img { animation: hx-deal-img 1.7s var(--out) backwards; animation-delay: inherit; }
  .js .page-hero .sh-chip { animation: hx-pop .8s cubic-bezier(.3, 1.5, .5, 1) .95s backwards; }
  .js .page-hero h1 .row { animation: hx-row-in 1.1s var(--out) backwards; animation-delay: calc(var(--d, 0) * 1ms + 220ms); }
  .js .page-hero h1 .row + .row { animation-delay: calc(var(--d, 0) * 1ms + 360ms); }
}
@keyframes hx-deal { from { opacity: 0; scale: .55; rotate: calc(var(--dr) * 1deg); } to { opacity: 1; scale: 1; rotate: 0deg; } }
@keyframes hx-deal-img { from { transform: scale(1.35); } to { transform: scale(1); } }
@keyframes hx-pop { from { opacity: 0; scale: .5; } to { opacity: 1; scale: 1; } }
@keyframes hx-row-in { from { transform: translate3d(0, 70%, 0) skewY(5deg); clip-path: inset(0 0 100% 0); } to { transform: none; clip-path: inset(0 0 -15% 0); } }

/* Headings: word-by-word rise */
.hx-w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .08em .12em; margin: 0 -.08em -.12em; }
.hx-w > span { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .js [data-hx="words"] .hx-w > span { transform: translate3d(0, 112%, 0) rotate(5deg); transform-origin: 0 100%; transition: transform 1s var(--out); transition-delay: calc(var(--wi, 0) * 50ms + var(--d, 0) * 1ms); }
  .js [data-hx="words"].is-in .hx-w > span { transform: none; }
}

/* Photos: red curtain sweeps across, photo is revealed behind it */
.hx-veil { position: absolute; inset: 0; z-index: 6; background: var(--red); transform: translateX(-101%); pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .js [data-hx="cur"]:not(.is-in) img { opacity: 0; }
  .js [data-hx="cur"].is-in .hx-veil { animation: hx-curtain 1.2s var(--io) both; animation-delay: calc(var(--d, 0) * 1ms); }
  .js [data-hx="cur"].is-in img { animation: hx-cur-img 1.3s var(--out) backwards; animation-delay: calc(var(--d, 0) * 1ms); }
}
@media (prefers-reduced-motion: reduce) { .hx-veil { display: none; } }
@keyframes hx-curtain { 0% { transform: translateX(-101%); } 46%, 54% { transform: translateX(0); } 100% { transform: translateX(101%); } }
@keyframes hx-cur-img { 0%, 50% { opacity: 0; transform: scale(1.22); } 51% { opacity: 1; transform: scale(1.2); } 100% { opacity: 1; transform: scale(1); } }

/* Drift: outline background words + dark-section photos */
main .bg-word { translate: calc(var(--bx, 0) * 1px) 0; }
main .bg-word.hx-live { will-change: translate; }
.hx-bgp img { scale: 1.16; translate: 0 calc(var(--py, 0) * 1px); }
.hx-bgp.hx-live img { will-change: translate; }
.page-hero.hx-live .sh-t, .page-hero.hx-live .sh-chip, .page-hero.hx-live .sh-copy { will-change: translate; }
.hx-cta-bg.hx-live img { will-change: transform; }
/* pause the home hero's endless drift while it is off-screen */
.nx.nx-off, .nx.nx-off * { animation-play-state: paused !important; }

/* ==========================================================================
   FREE-CLASS MODAL v3 (#free-class · every page)
   Black story panel + white form wipe in from opposite edges and meet.
   Program tiles drive the hidden <select> (main.js still validates/submits it);
   floating labels; animated close + mobile bottom sheet (home.js).
   ========================================================================== */
.fc { padding: 0; border: 0; width: min(1000px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); background: transparent; color: var(--ink); overflow: visible; }
.fc::backdrop { background: radial-gradient(110% 80% at 50% 0%, rgba(172,0,8,.22), rgba(172,0,8,0) 60%), rgba(0,0,0,.82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.fc-shell { position: relative; display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); max-height: calc(100dvh - 32px); overflow: auto; overscroll-behavior: contain; box-shadow: 0 40px 120px -30px rgba(0,0,0,.8); }

/* close */
.fc-close { position: absolute; top: 0; right: 0; z-index: 6; width: 52px; height: 52px; background: var(--black); transition: background .3s; }
.fc-close::before, .fc-close::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 2px; margin: -1px 0 0 -9px; background: var(--white); transform: rotate(45deg); transition: transform .45s var(--out); }
.fc-close::after { transform: rotate(-45deg); }
.fc-close:hover { background: var(--red); }
.fc-close:hover::before { transform: rotate(135deg); } .fc-close:hover::after { transform: rotate(45deg); }

/* story panel */
.fc-side { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 28px; padding: 34px clamp(26px, 3.4vw, 42px) 34px; background: var(--black); color: var(--white); }
.fc-side-bg { position: absolute; inset: 0; z-index: -2; opacity: .3; }
.fc-side-bg img { filter: grayscale(1) contrast(1.1); }
.fc-side::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(90% 60% at 0% 100%, rgba(172,0,8,.32), rgba(172,0,8,0) 60%), linear-gradient(180deg, rgba(0,0,0,.6), #000 46%, rgba(0,0,0,.82)); }
.fc-brand { display: flex; align-items: center; gap: 12px; }
.fc-brand .logo { --lw: 46px; }
.fc-brand-t { display: grid; font-family: var(--f-display); font-weight: 700; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; line-height: 1.2; color: rgba(255,255,255,.7); padding-left: 12px; border-left: 2px solid var(--red); }
.fc-brand-t b { font-weight: 800; font-size: 1.05rem; letter-spacing: .06em; color: var(--white); }
.fc-head .label { margin-bottom: 16px; color: var(--white); }
.fc-title { font-family: var(--f-display); font-weight: 900; font-size: clamp(2.3rem, 3.6vw, 3.3rem); line-height: .9; text-transform: uppercase; letter-spacing: -.01em; }
.fc-l { display: block; overflow: hidden; padding: 0 .3em .16em 0; margin-bottom: -.16em; }
.fc-l > span { display: block; }
.fc-title em { display: inline-block; font-family: 'Permanent Marker', var(--f-display), cursive; font-style: normal; font-weight: 400; color: var(--red); rotate: -4deg; }
.fc-steps { position: relative; display: grid; gap: 16px; margin: auto 0 0; padding: 0; list-style: none; }
.fc-steps::before { content: ""; position: absolute; left: 17px; top: 18px; bottom: 18px; width: 2px; background: linear-gradient(var(--red), rgba(255,255,255,.18)); transform-origin: top; }
.fc-steps li { position: relative; display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; }
.fc-steps b { position: relative; z-index: 1; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--black); box-shadow: inset 0 0 0 2px rgba(255,255,255,.22); font-family: var(--f-display); font-weight: 800; font-size: .8rem; color: rgba(255,255,255,.75); }
.fc-steps li.is-on b { background: var(--red); box-shadow: 0 0 0 6px rgba(172,0,8,.18); color: var(--white); }
.fc-steps span { font-size: .86rem; line-height: 1.4; color: rgba(255,255,255,.62); padding-top: 2px; }
.fc-steps strong { display: block; font-family: var(--f-display); font-weight: 800; font-size: 1.02rem; letter-spacing: .04em; text-transform: uppercase; color: var(--white); }
.fc-call { display: inline-flex; align-items: center; gap: 12px; align-self: flex-start; color: var(--white); }
.fc-call i { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--red); transition: transform .45s var(--out); }
.fc-call svg { width: 17px; height: 17px; fill: var(--white); }
.fc-call span { font-family: var(--f-display); font-weight: 800; font-size: 1.15rem; letter-spacing: .03em; line-height: 1.1; }
.fc-call small { display: block; font-size: .62rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.fc-call:hover i { transform: rotate(-14deg) scale(1.1); }

/* form panel */
.fc-main { position: relative; background: var(--white); padding: clamp(30px, 3.6vw, 44px) clamp(22px, 3.6vw, 44px) clamp(26px, 3.2vw, 38px); }
.fc-progress { display: grid; gap: 9px; margin: 0 52px 22px 0; }
.fc-progress-t { font-family: var(--f-display); font-weight: 700; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-l); }
.fc-progress-t b { color: var(--red-deep); font-weight: 800; }
.fc-progress-bar { position: relative; height: 4px; background: rgba(0,0,0,.08); overflow: hidden; }
.fc-progress-bar i { position: absolute; inset: 0; width: 50%; background: var(--red); transform-origin: left; }
.fc-form-title { margin: 0 0 6px; font-family: var(--f-display); font-weight: 900; font-size: clamp(1.9rem, 2.8vw, 2.4rem); line-height: .95; text-transform: uppercase; }
.fc-intro { margin: 0 0 22px; font-size: .95rem; color: var(--muted-l); }
.fc-select { position: absolute; width: 1px; height: 1px; padding: 0; border: 0; opacity: 0; pointer-events: none; }
.fc-q { margin: 0 0 10px; font-family: var(--f-display); font-weight: 700; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: #333; }
.fc-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.fc .fc-tile { position: relative; display: block; cursor: pointer; font-family: var(--f-body); font-size: 1rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink); }
.fc-tile input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.fc-tile-in { position: relative; display: grid; align-content: start; gap: 3px; height: 100%; padding: 15px 14px 14px; border: 1px solid rgba(0,0,0,.14); background: #f7f7f7; transition: background .35s, color .35s, border-color .35s, transform .45s var(--out), box-shadow .35s; }
.fc-tile svg { width: 30px; height: 30px; margin-bottom: 8px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke .35s, transform .5s var(--out); }
.fc-tile b { font-family: var(--f-display); font-weight: 800; font-size: 1.02rem; line-height: 1; text-transform: uppercase; }
.fc-tile small { font-size: .78rem; color: var(--muted-l); transition: color .35s; }
.fc-tick { position: absolute; top: 10px; right: 10px; width: 22px; height: 22px; border-radius: 50%; background: var(--red); transform: scale(0); transition: transform .45s cubic-bezier(.3, 1.6, .5, 1); }
.fc-tick::after { content: ""; position: absolute; left: 7px; top: 5px; width: 6px; height: 10px; border: solid var(--white); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.fc-tile:hover .fc-tile-in { border-color: var(--black); transform: translateY(-3px); box-shadow: 0 14px 24px -16px rgba(0,0,0,.45); }
.fc-tile:hover svg { transform: rotate(-8deg) scale(1.08); }
.fc-tile input:focus-visible + .fc-tile-in { outline: 2px solid var(--red); outline-offset: 3px; }
.fc-tile input:checked + .fc-tile-in { background: var(--black); border-color: var(--black); color: var(--white); }
.fc-tile input:checked + .fc-tile-in svg { stroke: var(--red); }
.fc-tile input:checked + .fc-tile-in small { color: rgba(255,255,255,.65); }
.fc-tile input:checked + .fc-tile-in .fc-tick { transform: scale(1); }
.fc .fc-prog.is-bad .fc-tile-in { border-color: var(--red); background: #fbefef; }
.fc .fc-prog { margin-bottom: 18px; }

.fc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fc .field { position: relative; display: block; }
.fc .fc-grid .field input { width: 100%; height: 58px; padding: 24px 14px 8px; border: 1px solid rgba(0,0,0,.14); border-radius: 0; background: #f7f7f7; font: 500 1rem var(--f-body); color: var(--ink); box-shadow: none; transition: border-color .3s, background .3s, box-shadow .3s; }
.fc .fc-grid .field label { position: absolute; left: 15px; top: 19px; margin: 0; font-family: var(--f-body); font-size: 1rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: #707070; pointer-events: none; transform-origin: 0 0; transition: transform .4s var(--out), color .3s, letter-spacing .3s; }
.fc .fc-grid .field input:focus + label, .fc .fc-grid .field input:not(:placeholder-shown) + label { transform: translateY(-11px) scale(.7); letter-spacing: .08em; color: var(--red-deep); }
.fc .fc-grid .field input:hover { border-color: rgba(0,0,0,.3); }
.fc .fc-grid .field input:focus { outline: none; border-color: var(--black); background: var(--white); box-shadow: inset 0 -3px 0 var(--red); }
.fc .fc-grid .field.is-bad input { border-color: var(--red); background: #fbefef; }
.fc .field .err { display: block; margin-top: 4px; font-size: .78rem; color: #b3261e; }
.fc .field .err:empty { display: none; }
.fc .field.is-bad { animation: fc-shake .4s ease; }
@keyframes fc-shake { 25% { transform: translateX(-5px); } 50% { transform: translateX(4px); } 75% { transform: translateX(-2px); } }
.fc-foot { margin-top: 22px; }
.fc-submit { min-width: 250px; }
.fc-submit .tri { transition: transform .35s var(--ease); }

/* open: panels wipe in from opposite edges and meet, then content rises */
@media (prefers-reduced-motion: no-preference) {
  .fc[open]::backdrop { animation: fc-fade .5s ease both; }
  .fc[open] .fc-side { animation: fc-wipe-l .8s var(--io) both; }
  .fc[open] .fc-main { animation: fc-wipe-r .8s var(--io) both; }
  .fc[open] .fc-a { animation: fc-up .8s var(--out) both; animation-delay: calc(.42s + var(--i, 0) * 60ms); }
  .fc[open] .fc-l > span { animation: fc-line .9s var(--out) both; animation-delay: .5s; }
  .fc[open] .fc-l2 > span { animation-delay: .62s; }
  .fc[open] .fc-title em { animation: fc-mark .7s var(--io) both; animation-delay: 1s; }
  .fc[open] .fc-steps::before { animation: fc-grow 1s var(--io) both; animation-delay: .7s; }
  .fc[open] .fc-steps li { animation: fc-up .7s var(--out) both; animation-delay: calc(.8s + var(--i) * 110ms); }
  .fc[open] .fc-progress-bar i { animation: fc-bar 1.1s var(--io) both; animation-delay: .7s; }
  .fc[open] .fc-tile .fc-tile-in { animation: fc-up .7s var(--out) backwards; }
  .fc[open] .fc-tile:nth-child(1) .fc-tile-in { animation-delay: .7s; } .fc[open] .fc-tile:nth-child(2) .fc-tile-in { animation-delay: .78s; } .fc[open] .fc-tile:nth-child(3) .fc-tile-in { animation-delay: .86s; }
  .fc[open] .fc-close { animation: fc-fade .4s ease .55s both; }
  .fc[open] .field.is-bad { animation: fc-shake .4s ease; }
  .fc.is-closing::backdrop { animation: fc-fade .42s ease reverse both; }
  .fc.is-closing .fc-shell { animation: fc-out .42s var(--io) both; }
}
@keyframes fc-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes fc-wipe-l { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes fc-wipe-r { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes fc-up { from { opacity: 0; transform: translate3d(0, 22px, 0); } to { opacity: 1; transform: none; } }
@keyframes fc-line { from { transform: translate3d(0, 105%, 0) rotate(3deg); } to { transform: none; } }
@keyframes fc-mark { from { clip-path: inset(-30% 100% -30% -10%); } to { clip-path: inset(-30% -10% -30% -10%); } }
@keyframes fc-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes fc-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes fc-out { to { opacity: 0; transform: translate3d(0, 16px, 0) scale(.97); } }

/* tablet / mobile: single column, compact story header, bottom sheet */
@media (max-width: 860px) {
  .fc-shell { grid-template-columns: 1fr; }
  .fc-side { gap: 16px; padding: 22px 64px 24px 22px; }
  .fc-steps, .fc-call { display: none; }
  .fc-title { font-size: clamp(1.9rem, 7vw, 2.5rem); }
  .fc-main { padding: 24px 22px 28px; }
  .fc-progress { margin-right: 0; }
}
@media (max-width: 640px) {
  .fc { width: 100%; max-height: 94dvh; margin: auto 0 0; }
  .fc-shell { max-height: 94dvh; }
  .fc-brand { display: none; }
  .fc-tiles { grid-template-columns: 1fr; gap: 8px; }
  .fc-tile-in { grid-template-columns: 30px 1fr auto; align-items: center; gap: 0 12px; padding: 12px 44px 12px 14px; }
  .fc-tile svg { grid-row: span 2; width: 26px; height: 26px; margin: 0; }
  .fc-tick { top: 50%; margin-top: -11px; right: 14px; }
  .fc-grid { grid-template-columns: 1fr; }
  .fc-submit { width: 100%; min-width: 0; }
  @media (prefers-reduced-motion: no-preference) {
    .fc[open] .fc-shell { animation: fc-sheet .6s var(--out) both; }
    .fc[open] .fc-side, .fc[open] .fc-main { animation: none; }
    .fc.is-closing .fc-shell { animation: fc-sheet-out .4s var(--io) both; }
  }
}
@keyframes fc-sheet { from { transform: translate3d(0, 100%, 0); } to { transform: none; } }
@keyframes fc-sheet-out { to { transform: translate3d(0, 100%, 0); } }

/* ==========================================================================
   HERO v4 — phones & portrait tablets (≤900px): a one-screen poster.
   Photo fills the top; NEXUS sits between the background and the cut-out
   athletes; the red band stays behind the fighters and fades out; the copy,
   "first class free" tag and CTA sit on clean black, all above the fold.
   ========================================================================== */
@media (max-width: 900px) and (orientation: portrait) {
  .nx { display: grid; grid-template-columns: var(--gutter) minmax(0, 1fr) var(--gutter); grid-template-rows: auto minmax(0, 1fr) auto;
        height: 100svh; min-height: 600px; max-height: 1000px; padding: calc(var(--header-h) + 12px) 0 0; }
  .nx > * { width: auto; }
  .nx-meta { grid-row: 1; grid-column: 2; align-self: start; }
  .nx-scene { grid-row: 1 / 3; grid-column: 1 / -1; position: relative; inset: auto; width: auto !important; aspect-ratio: auto; align-self: stretch;
              margin: calc(-1 * (var(--header-h) + 12px)) 0 0; overflow: hidden; }
  .nx-bg img, .nx-cut img { object-position: 72% 60%; }
  .nx-bg::after { background: linear-gradient(180deg, rgba(5,5,5,.78) 0%, rgba(5,5,5,.15) 24%, rgba(5,5,5,0) 50%, rgba(5,5,5,.55) 80%, #050505 100%); }
  .nx-band { position: relative; inset: auto; grid-row: 1 / 3; grid-column: 1 / -1; align-self: stretch; width: 27% !important;
             margin: calc(-1 * (var(--header-h) + 12px)) 0 0 57%;
             -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 92%); mask-image: linear-gradient(180deg, #000 55%, transparent 92%); }
  .nx-word { grid-row: 2; grid-column: 2; align-self: start; margin: 2% 0 0; }
  .nx-bg, .nx-cut { top: 11%; }
  .nx-row { grid-row: 3; grid-column: 2; flex: none; display: flex; flex-direction: column; align-items: stretch; gap: 0; margin: 0;
            padding: 0 0 calc(18px + env(safe-area-inset-bottom)); }
  .nx-free { display: inline-flex; order: -1; align-self: flex-start; gap: 10px; margin: 0 0 14px; padding: 7px 12px 6px 10px;
             border: 1px solid rgba(172,0,8,.6); background: rgba(172,0,8,.14); animation: nxFade .9s var(--ease) .35s both; }
  .nx-free i { width: 9px; height: 9px; }
  .nx-free span { padding: 0; border: 0; font-size: .76rem; line-height: 1; letter-spacing: .18em; }
  .nx-free span br { display: none; }
  .nx-free b { font-size: 1em; letter-spacing: .18em; }
  .nx-copy { max-width: 600px; }
  .nx-copy h1 { font-size: clamp(2.5rem, 12.4vw, 3.7rem); line-height: .9; }
  .nx-sub { max-width: 36ch; margin-top: 10px; font-size: 1rem; line-height: 1.45; }
  .nx-ctas { flex-direction: column; align-items: stretch; gap: 2px; margin-top: 20px; max-width: 460px; }
  .nx-btn { justify-content: center; min-height: 56px; }
  .nx-link { align-self: center; padding: 10px 2px 6px; font-size: .95rem; }
  .nx-foot { display: none; }
}
@media (max-width: 900px) and (orientation: portrait) and (max-height: 700px) {
  .nx-copy h1 { font-size: clamp(2.2rem, 11vw, 3rem); }
  .nx-sub { font-size: .94rem; }
  .nx-free { margin-bottom: 10px; }
  .nx-ctas { margin-top: 16px; }
}

/* ==========================================================================
   HERO v5 — real gym photo (Image/Muay Thai/nexus-gym-kickboxing-class.jpg).
   Replaces the background + cut-out pair. The portrait photo sits as a panel
   on the right, fading into black on its left edge; the red band peeks out
   from behind that fade. NEXUS stays in front of the photo.
   ========================================================================== */
.nx-scene--real { z-index: 1; left: 46%; }
.nx:has(.nx-scene--real) .nx-band { z-index: 0; left: 40%; width: 26% !important; bottom: 0; }
.nx-scene--real .nx-bg { z-index: auto;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 32%); mask-image: linear-gradient(90deg, transparent 0, #000 32%); }
.nx-scene--real .nx-bg img { object-position: 50% 62%; filter: saturate(.8) contrast(1.08) brightness(.8); }
.nx-scene--real .nx-bg::after { background:
  linear-gradient(180deg, rgba(5,5,5,.7) 0%, rgba(5,5,5,0) 22%, rgba(5,5,5,0) 62%, rgba(5,5,5,.85) 92%, #050505 100%); }
.nx:has(.nx-scene--real) .nx-free span { text-shadow: 0 2px 16px rgba(0,0,0,.7); }
@media (max-width: 1500px) {
  .nx-scene--real .nx-bg img { object-position: 50% 62%; }
}
@media (min-width: 761px) and (max-width: 1180px) {
  .nx-scene--real { left: 42%; top: 0; bottom: 0; }
  .nx-scene--real .nx-bg { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 34%); mask-image: linear-gradient(90deg, transparent 0, #000 34%); }
  .nx-scene--real .nx-bg::after { display: block; }
  .nx:has(.nx-scene--real) .nx-band { left: 36%; width: 26% !important; }
}
@media (max-width: 760px) {
  .nx-scene--real .nx-bg { -webkit-mask-image: none; mask-image: none; }
  .nx-scene--real .nx-bg img { object-position: 50% 66%; }
}
@media (max-width: 900px) and (orientation: portrait) {
  .nx-scene--real { left: auto; z-index: 1; }
  .nx-scene--real .nx-bg { top: 0; -webkit-mask-image: none; mask-image: none; }
  .nx-scene--real .nx-bg img { object-position: 50% 68%; }
  .nx-scene--real .nx-bg::after { background: linear-gradient(180deg, rgba(5,5,5,.8) 0%, rgba(5,5,5,.2) 22%, rgba(5,5,5,0) 45%, rgba(5,5,5,.6) 78%, #050505 100%); }
  .nx:has(.nx-scene--real) .nx-band { display: none; }
  .nx:has(.nx-scene--real) .nx-word { z-index: 3; }
}

/* HERO v5 — compact height (desktop / landscape): no forced full-screen height,
   tighter vertical rhythm. Phones in portrait keep their one-screen poster. */
@media (min-width: 761px) {
  .nx { min-height: 0; padding-top: calc(var(--header-h) + 22px); }
  .nx-word { margin-top: 14px; height: clamp(150px, 13.5vw, 230px); }
  .nx-row { flex: none; margin-top: clamp(20px, 2.2vw, 34px); }
  .nx-copy h1 { font-size: clamp(2.4rem, 3.7vw, 3.8rem); }
  .nx-ctas { margin-top: 24px; }
  .nx-foot { margin-top: clamp(22px, 3vh, 36px); padding-bottom: clamp(20px, 3vh, 30px); }
}

/* ==========================================================================
   STILL PHOTOS (site-wide) — no image animation anywhere: no fade-ins, wipes,
   red curtains, shutters, card "dealing", zooms (load, scroll or hover),
   drift, mouse/scroll parallax or scroll-driven reveals. Every photo renders
   in its final state. Text and UI motion are not affected.
   ========================================================================== */
/* homepage hero */
.nx-bg, .nx-bg img, .nx-cut, .nx-cut img { animation: none !important; translate: none !important; transform: none !important; opacity: 1 !important; }
/* inner-page hero photo tiles (keep their tilt, drop deal-in / float / hover) */
.sh-t { animation: none !important; translate: none !important; transition: none !important; opacity: 1 !important; }
.sh-t:hover { scale: 1 !important; }
/* every photo frame */
.ph img, .sh-t img, .cb-photo img, .gallery .ph img, .fo-side .ph img { animation: none !important; transition: none !important; transform: none !important; scale: 1 !important; translate: none !important; }
[data-hx="cur"] img { opacity: 1 !important; }
.hx-veil, .hx-shutter { display: none !important; }
[data-hx="wipe"], .hx-cta-bg, .hx-motto-win { clip-path: none !important; transition: none !important; }
[data-par] { translate: none !important; }
/* photo blocks that used to slide / fade in */
.js [data-reveal].ph, .js [data-reveal]:has(.ph), .js [data-hx].ph, .js [data-hx]:has(.ph) { opacity: 1 !important; transform: none !important; transition: none !important; clip-path: none !important; animation: none !important; }

/* .pair--wide: collage variant for a landscape main photo (e.g. a team photo),
   so the inset and quote only overlap its bottom edge, not the people */
.pair--wide { padding-bottom: 40%; }
.pair--wide .main { aspect-ratio: 5 / 4; }
.pair--wide .inset { width: 38%; }
@media (max-width: 760px) { .pair--wide { padding-bottom: 44%; } }
