/* ==========================================================================
   TITLE Boxing Club — Location landing page
   Art direction: "Twelve Rounds" — the page reads like a fight card.
   Dark immersive base · TITLE red as the only accent · heavy condensed type.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Color */
  --ink:      oklch(0.17 0.012 25);   /* warm near-black, never #000 */
  --ink-2:    oklch(0.21 0.014 25);
  --ink-3:    oklch(0.27 0.016 25);
  --bone:     oklch(0.955 0.008 70);  /* warm off-white, never #fff */
  --bone-2:   oklch(0.91 0.01 70);
  --red:      oklch(0.6 0.235 28);    /* TITLE red ≈ #f2101a */
  --red-deep: oklch(0.45 0.18 25);

  --fg:   var(--bone);
  --fg-2: oklch(0.955 0.008 70 / 0.72);
  --fg-3: oklch(0.955 0.008 70 / 0.5);
  --fg-4: oklch(0.955 0.008 70 / 0.14);
  --line: oklch(0.955 0.008 70 / 0.1);

  /* Type */
  --f-sans: "Archivo", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  --t-mega: clamp(4rem, 10.4vw, 13rem);
  --t-xl:   clamp(3.25rem, 9vw, 9rem);
  --t-lg:   clamp(2.25rem, 4.6vw, 4.5rem);
  --t-md:   clamp(1.5rem, 2.4vw, 2.25rem);
  --t-body: clamp(1.0625rem, 0.3vw + 1rem, 1.25rem);
  --t-sm:   0.9375rem;
  --t-xs:   0.75rem;

  /* Space */
  --gutter: clamp(1rem, 4vw, 4rem);
  --s-1: 0.5rem; --s-2: 1rem; --s-3: 1.5rem; --s-4: 2.5rem;
  --s-5: clamp(2.75rem, 5.5vw, 4.5rem);
  --s-6: clamp(3.75rem, 8vw, 6.5rem);

  /* Motion */
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-back:  cubic-bezier(0.34, 1.56, 0.64, 1);
  --d-micro: 150ms; --d-sm: 250ms; --d-md: 400ms; --d-lg: 700ms;

  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--fg);
  font-family: var(--f-sans);
  font-size: var(--t-body);
  line-height: 1.55;
  letter-spacing: -0.01em;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 900; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--red); color: var(--bone); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.mono {
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--red); padding: 0.75rem 1rem; }
.skip:focus { left: 1rem; }

/* Display type: Archivo squeezed on its width axis */
.hero__title, .h-xl, .h-lg, .bout__name, .bell__title, .club__num, .foot__big, .claim__title, .claim__done h3 {
  font-stretch: 62%;
  font-variation-settings: "wdth" 62;
  text-transform: uppercase;
  line-height: 0.88;
  letter-spacing: -0.015em;
}
.h-xl { font-size: var(--t-xl); }
.h-lg { font-size: var(--t-lg); line-height: 0.95; }
em { font-style: normal; color: var(--red); }

.round { color: var(--red); margin-bottom: var(--s-3); display: flex; align-items: center; gap: 0.75rem; }
.round::after { content: ""; width: 3rem; height: 1px; background: currentColor; }

/* ---------- Buttons & links ---------- */
.btn {
  --bg: var(--red);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem;
  padding: 1.05rem 1.6rem;
  background: var(--bg); color: var(--bone);
  border: 0; border-radius: 2px;
  font-family: var(--f-sans); font-weight: 800; font-size: 1rem;
  font-variation-settings: "wdth" 75;
  text-transform: uppercase; letter-spacing: 0.04em; text-decoration: none;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform var(--d-sm) var(--ease-back);
}
.btn::before { /* ink wipe on hover */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--bone);
  transform: translateY(101%);
  transition: transform var(--d-md) var(--ease-out);
}
.btn svg { transition: transform var(--d-sm) var(--ease-out); }
@media (hover: hover) {
  .btn:hover { color: var(--ink); }
  .btn:hover::before { transform: translateY(0); }
  .btn:hover svg { transform: translateX(4px); }
}
.btn:active { transform: scale(0.97); }
.btn--sm { padding: 0.7rem 1rem; font-size: 0.8125rem; }
.btn--block { width: 100%; }
.btn--xl { padding: 1.4rem 2.2rem; font-size: clamp(1rem, 1.4vw, 1.25rem); }

.link {
  display: inline-flex; gap: 0.5rem; align-items: center;
  font-weight: 700; text-decoration: none; text-transform: uppercase; letter-spacing: 0.04em; font-size: var(--t-sm);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  padding-bottom: 2px;
  transition: background-size var(--d-md) var(--ease-out), color var(--d-sm);
}
@media (hover: hover) { .link:hover { background-size: 100% 1px; color: var(--red); } }

/* ---------- Announcement ---------- */
.announce {
  background: var(--red); color: var(--bone);
  font-size: 0.875rem; font-weight: 500;
  padding: 0.55rem var(--gutter);
  text-align: center;
}
.announce__tag {
  font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--ink); padding: 0.15rem 0.45rem; margin-right: 0.5rem; border-radius: 2px;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem var(--gutter);
  transition: background var(--d-md), backdrop-filter var(--d-md), border-color var(--d-md);
  border-bottom: 1px solid transparent;
}
.nav.is-solid {
  background: oklch(0.17 0.012 25 / 0.82);
  backdrop-filter: blur(14px) saturate(1.4);
  border-color: var(--line);
}
.nav__brand { display: flex; align-items: center; gap: 0.85rem; text-decoration: none; }
.nav__brand img { width: clamp(64px, 7vw, 92px); }
.nav__loc {
  font-weight: 800; text-transform: uppercase; font-size: 0.875rem; letter-spacing: 0.06em;
  padding-left: 0.85rem; border-left: 1px solid var(--fg-4);
}
.nav__right { display: flex; align-items: center; gap: 1.25rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100svh - 7.5rem);
  margin-top: -4.6rem; /* tuck under transparent nav */
  padding: calc(4.6rem + var(--s-4)) var(--gutter) 0;
  display: grid; grid-template-rows: 1fr auto;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; filter: grayscale(1) contrast(1.15) brightness(0.8); }
.hero__media::after { /* red-ink duotone + legibility fade */
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--ink) 0%, oklch(0.17 0.012 25 / 0.7) 45%, oklch(0.17 0.012 25 / 0.25) 100%),
    linear-gradient(0deg, var(--ink) 0%, transparent 40%),
    oklch(0.45 0.18 25 / 0.35);
  mix-blend-mode: normal;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 440px);
  gap: var(--s-4) clamp(2rem, 6vw, 6rem);
  align-items: center;
  padding-bottom: var(--s-4);
  /* desktop: keep the form card well clear of the window edge */
  padding-right: clamp(1.5rem, 5vw, 6.5rem);
}

.hero__title { font-size: var(--t-mega); line-height: 0.82; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero__title .line > span { display: inline-block; }
.hero__lede { max-width: 34ch; color: var(--fg-2); margin-top: var(--s-4); font-size: clamp(1.0625rem, 1vw + 0.6rem, 1.375rem); }

/* Form card */
.card {
  background: oklch(0.955 0.008 70 / 0.06);
  border: 1px solid var(--fg-4);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-radius: 4px;
}
.claim { padding: clamp(1.25rem, 2.5vw, 2rem); position: relative; display: grid; gap: 0.75rem; }
.claim__head { margin-bottom: 0.5rem; }
.claim__title { font-size: clamp(2.25rem, 3.4vw, 3.25rem); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }

.field { position: relative; display: block; }
.field input {
  width: 100%;
  padding: 1.35rem 0.9rem 0.5rem;
  background: oklch(0.17 0.012 25 / 0.55);
  border: 1px solid var(--fg-4); border-radius: 2px;
  color: var(--fg); font: inherit; font-size: 1rem;
  transition: border-color var(--d-sm), background var(--d-sm);
}
.field span {
  position: absolute; left: 0.9rem; top: 50%; transform: translateY(-50%);
  color: var(--fg-3); pointer-events: none; font-size: 1rem;
  transition: all var(--d-sm) var(--ease-out);
}
.field input:focus { outline: none; border-color: var(--red); background: oklch(0.17 0.012 25 / 0.8); }
.field input:focus + span,
.field input:not(:placeholder-shown) + span {
  top: 0.95rem; font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; font-family: var(--f-mono); color: var(--fg-2);
}
.field.is-bad input, .check.is-bad input { border-color: var(--red); animation: jab 360ms var(--ease-out); }

.check { display: grid; grid-template-columns: auto 1fr; gap: 0.65rem; font-size: 0.8125rem; line-height: 1.45; color: var(--fg-2); cursor: pointer; }
.check input {
  appearance: none; width: 18px; height: 18px; margin: 1px 0 0;
  border: 1px solid var(--fg-3); border-radius: 2px; background: transparent; cursor: pointer;
  display: grid; place-content: center;
  transition: background var(--d-micro), border-color var(--d-micro);
}
.check input::after { content: ""; width: 10px; height: 6px; border: 2px solid var(--bone); border-top: 0; border-right: 0; transform: rotate(-45deg) scale(0); transition: transform var(--d-sm) var(--ease-back); margin-top: -2px; }
.check input:checked { background: var(--red); border-color: var(--red); }
.check input:checked::after { transform: rotate(-45deg) scale(1); }
.check a { color: var(--fg); }
.claim .btn { margin-top: 0.5rem; }
.claim__error { color: oklch(0.75 0.15 25); font-size: 0.8125rem; }

.claim__done {
  position: absolute; inset: 0; border-radius: inherit;
  background: var(--red); color: var(--bone);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 0.75rem;
  animation: bell var(--d-lg) var(--ease-out) both;
}
.claim__done h3 { font-size: clamp(4rem, 8vw, 7rem); }
.claim__done a { color: inherit; font-weight: 700; }
@keyframes bell { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes jab { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 60% { transform: translateX(3px); } }

/* Info rail */
.rail {
  list-style: none; margin: 0 calc(var(--gutter) * -1); padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
}
.rail li { padding: 1.1rem var(--gutter); display: flex; flex-wrap: wrap; gap: 0.25rem 0.75rem; align-items: baseline; font-size: var(--t-sm); }
.rail li + li { border-left: 1px solid var(--line); }
.rail a { text-decoration: none; }
.rail a:hover { color: var(--red); }
.rail__k { color: var(--fg-3); display: block; width: 100%; }
.rail__more { color: var(--fg-3); font-size: 0.8125rem; text-decoration: underline !important; text-underline-offset: 3px; }
[data-today].is-open::before { content: "● "; color: oklch(0.78 0.17 150); }

/* ---------- Marquee ---------- */
.marquee { background: var(--red); overflow: hidden; padding: 1rem 0; transform: rotate(-1.2deg) scale(1.02); margin: var(--s-4) 0 0; }
.marquee__track {
  display: flex; gap: 2rem; width: max-content; align-items: center;
  animation: marquee 28s linear infinite;
  font-weight: 900; text-transform: uppercase; font-variation-settings: "wdth" 62;
  font-size: clamp(2rem, 4.5vw, 4rem); line-height: 1;
}
.marquee__track i { font-style: normal; font-size: 0.5em; opacity: 0.6; }
.marquee__track .o { color: transparent; -webkit-text-stroke: 1.5px var(--bone); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Round 1: first class (light section) ---------- */
.first {
  background: var(--bone); color: var(--ink);
  padding: var(--s-6) var(--gutter) var(--s-5);
  margin-top: calc(var(--s-4) * -1 - 1rem);
  display: grid; gap: var(--s-5);
}
.first .round { color: var(--red-deep); }
.first em { color: var(--red); }
.first__head { display: grid; }
.first__body { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 6vw, 7rem); align-items: start; }
.lead { font-size: var(--t-md); line-height: 1.25; letter-spacing: -0.02em; font-weight: 500; max-width: 24ch; }

.video { position: relative; padding: 0; border: 0; background: var(--ink); display: block; overflow: hidden; border-radius: 4px; aspect-ratio: 4 / 3.2; width: 100%; }
.video img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); transition: transform var(--d-lg) var(--ease-out), filter var(--d-lg); }
.video::after { content: ""; position: absolute; inset: 0; background: var(--red); mix-blend-mode: multiply; opacity: 0.85; transition: opacity var(--d-lg) var(--ease-out); }
.video__play {
  position: absolute; z-index: 2; left: 50%; top: 50%; translate: -50% -50%;
  width: clamp(72px, 9vw, 112px); aspect-ratio: 1; border-radius: 50%;
  background: var(--bone); color: var(--ink); display: grid; place-items: center;
  transition: scale var(--d-md) var(--ease-back);
}
.video__label { position: absolute; z-index: 2; left: 1.25rem; bottom: 1.1rem; color: var(--bone); }
@media (hover: hover) {
  .video:hover img { transform: scale(1.04); filter: grayscale(0.2); }
  .video:hover::after { opacity: 0.35; }
  .video:hover .video__play { scale: 1.12; }
}

.expect { list-style: none; padding: 0; margin: var(--s-4) 0 0; border-top: 1px solid oklch(0.17 0.012 25 / 0.15); }
.expect li {
  display: grid; grid-template-columns: 3rem 1fr; align-items: baseline;
  padding: 1.15rem 0; border-bottom: 1px solid oklch(0.17 0.012 25 / 0.15);
  position: relative; isolation: isolate;
}
.expect li::before { content: ""; position: absolute; inset: 0 calc(var(--s-2) * -1); background: var(--ink); z-index: -1; transform: scaleY(0); transform-origin: bottom; transition: transform var(--d-md) var(--ease-out); }
.expect .mono { color: var(--red-deep); }
.expect b { font-weight: 800; font-size: clamp(1.25rem, 1.8vw, 1.625rem); text-transform: uppercase; font-variation-settings: "wdth" 75; letter-spacing: 0; line-height: 1.1; transition: color var(--d-sm); }
@media (hover: hover) {
  .expect li:hover::before { transform: scaleY(1); }
  .expect li:hover b { color: var(--bone); }
  .expect li:hover .mono { color: var(--red); }
}

/* ---------- Round 2: classes ---------- */
.classes { padding: var(--s-6) var(--gutter); }
.classes__head { margin-bottom: var(--s-5); max-width: 60rem; margin-left: auto; text-align: right; }
.classes__head .round { justify-content: flex-end; }
.classes__head .round::after { order: -1; }
.bouts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.bout {
  padding: var(--s-4) clamp(1rem, 2.5vw, 2.5rem) var(--s-4) 0;
  display: flex; flex-direction: column; gap: 1rem;
  position: relative;
}
.bout + .bout { padding-left: clamp(1rem, 2.5vw, 2.5rem); border-left: 1px solid var(--line); }
.bout::before { /* red top bar grows on hover */
  content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 3px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform var(--d-lg) var(--ease-out);
}
.bout__n { color: var(--fg-3); }
.bout__name { font-size: clamp(3rem, 6vw, 6rem); transition: color var(--d-sm); }
.bout__tags { color: var(--red); }
.bout__desc { color: var(--fg-2); font-size: var(--t-sm); max-width: 38ch; flex: 1; }
@media (hover: hover) {
  .bout:hover::before { transform: scaleX(1); }
  .bout:hover .bout__name { color: var(--red); }
}

/* ---------- Round 3: members ---------- */
.corner {
  position: relative; isolation: isolate; overflow: hidden;
  padding: var(--s-5) 0;
  background: var(--red);
}
.corner__bg { position: absolute; inset: 0; z-index: -1; }
.corner__bg img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; opacity: 0.45; filter: grayscale(1) contrast(1.3); }
.corner__head { padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr auto; align-items: end; gap: var(--s-3); margin-bottom: var(--s-3); }
.corner__head .round { grid-column: 1 / -1; color: var(--bone); }
.corner__ctrl { display: flex; align-items: center; gap: 1rem; }
.corner__count b { color: var(--bone); font-weight: 700; }
.icon-btn {
  width: 56px; height: 56px; border-radius: 50%; border: 1px solid oklch(0.955 0.008 70 / 0.4); background: transparent; font-size: 1.25rem;
  transition: background var(--d-sm), color var(--d-sm), transform var(--d-sm) var(--ease-back);
}
.icon-btn:hover { background: var(--bone); color: var(--red); }
.icon-btn:active { transform: scale(0.92); }

.quotes {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(84vw, 23rem);
  gap: var(--s-3);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 0 var(--gutter) var(--s-2);
  scroll-padding-inline: var(--gutter);
}
.quotes::-webkit-scrollbar { display: none; }
.quote {
  margin: 0; scroll-snap-align: start;
  background: var(--ink); padding: clamp(1.1rem, 1.8vw, 1.5rem);
  display: flex; flex-direction: column; justify-content: space-between; gap: var(--s-2);
  border-radius: 4px;
}
.quote blockquote {
  margin: 0; font-size: clamp(1.0625rem, 1.25vw, 1.2rem); line-height: 1.4; font-weight: 500; letter-spacing: -0.01em;
}
.quote blockquote::before { content: "“"; display: block; color: var(--red); font-size: 2.6em; line-height: 0.7; font-weight: 900; height: 0.42em; }
.quote mark { background: none; color: var(--red); }
.quote figcaption { color: var(--fg-3); display: flex; align-items: center; gap: 0.85rem; }
.stars { color: var(--red); letter-spacing: 0.12em; font-size: 0.9rem; line-height: 1; }

/* ---------- Round 4: club ---------- */
.club {
  padding: var(--s-6) var(--gutter);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-areas:
    "stat stat stat stat stat copy copy copy copy copy copy copy"
    "stat stat stat stat stat photo photo photo photo photo photo photo";
  gap: var(--s-4) var(--s-3);
  align-items: start;
}
.club__stat { grid-area: stat; display: flex; flex-direction: column; gap: 0.5rem; position: sticky; top: 6rem; }
.club__num { font-size: clamp(7rem, 17vw, 15rem); color: transparent; -webkit-text-stroke: 2px var(--red); line-height: 0.75; font-weight: 900; }
.club__stat .mono { color: var(--fg-3); padding-left: 0.4rem; }
.club__copy { grid-area: copy; padding-top: var(--s-3); }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); margin-top: var(--s-4); color: var(--fg-2); font-size: var(--t-sm); }
.club__photo { grid-area: photo; margin: 0; position: relative; }
.club__photo img { width: 100%; border-radius: 4px; filter: grayscale(1) contrast(1.1) brightness(0.85); aspect-ratio: 16 / 10; object-fit: cover; }

/* ---------- Final bell ---------- */
.bell {
  background: var(--bone); color: var(--ink);
  padding: var(--s-6) var(--gutter) var(--s-5);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--s-5);
  align-items: end;
}
.bell .round { color: var(--red-deep); }
.bell__title { font-size: clamp(5rem, 13vw, 12rem); line-height: 0.8; margin-bottom: var(--s-3); }
.bell__info { display: grid; gap: var(--s-4); }
.hours { width: 100%; border-collapse: collapse; font-size: var(--t-sm); }
.hours th, .hours td { padding: 0.7rem 0; border-bottom: 1px solid oklch(0.17 0.012 25 / 0.14); text-align: left; font-weight: 500; }
.hours th { font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: 0.08em; text-transform: uppercase; color: oklch(0.17 0.012 25 / 0.55); width: 5rem; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--red-deep); font-weight: 800; }
.hours tr.is-today th::after { content: " ●"; }
.addr { font-style: normal; font-size: var(--t-sm); line-height: 1.7; }
.addr .rail__k { color: oklch(0.17 0.012 25 / 0.55); margin-bottom: 0.4rem; }
.addr a { text-decoration-color: oklch(0.17 0.012 25 / 0.3); text-underline-offset: 3px; }
.addr a:hover { color: var(--red-deep); }

/* ---------- Footer ---------- */
.foot { padding: var(--s-5) var(--gutter) calc(var(--s-3) + env(safe-area-inset-bottom)); overflow: hidden; }
.foot__big {
  font-size: clamp(3rem, 10.4vw, 12rem); font-weight: 900; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px var(--fg-4);
  margin-bottom: var(--s-4);
}
.foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; font-size: 0.8125rem; color: var(--fg-3); border-top: 1px solid var(--line); padding-top: var(--s-3); }
.foot__row nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.foot__row a { text-decoration: none; }
.foot__row a:hover { color: var(--fg); }

/* ---------- Corner graphic: boxer on the heavy bag (punches as you scroll) ---------- */
.bagman {
  position: fixed; right: var(--gutter); bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px)); z-index: 30;
  width: 64px; height: 64px; padding: 6px;
  background: oklch(0.17 0.012 25 / 0.85); backdrop-filter: blur(12px);
  border: 1px solid var(--line); border-radius: 50%;
  opacity: 0; translate: 0 1rem; transition: opacity var(--d-md), translate var(--d-md) var(--ease-out);
  pointer-events: none;
}
.bagman.is-on { opacity: 1; translate: 0 0; }
.bagman svg { width: 100%; height: 100%; overflow: visible; }
.bagman .bm-body { fill: none; stroke: var(--bone); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.bagman .bm-head, .bagman .bm-glove { fill: var(--bone); }
.bagman .bm-glove--lead { fill: var(--red); }
.bagman .bm-chain { stroke: var(--fg-3); stroke-width: 1.5; }
.bagman .bm-bag { fill: var(--red); }
.bagman .bm-band { fill: var(--ink); opacity: 0.35; }
.bagman .bm-jab { transition: transform 140ms var(--ease-out); }
.bagman .bm-swing { transform-origin: 46px 3px; }
.bagman.is-punch .bm-jab { transform: translateX(5px); }
.bagman.is-punch .bm-swing { animation: swing 900ms var(--ease-out); }
@keyframes swing { 18% { rotate: -11deg; } 45% { rotate: 6deg; } 70% { rotate: -3deg; } 100% { rotate: 0deg; } }

/* ---------- Mobile dock ---------- */
.dock { display: none; }

/* ---------- Video modal ---------- */
.modal { border: 0; padding: 0; background: transparent; width: min(92vw, 1100px); max-width: none; overflow: visible; }
.modal::backdrop { background: oklch(0.17 0.012 25 / 0.92); backdrop-filter: blur(6px); }
.modal__frame { aspect-ratio: 16 / 9; background: var(--ink); }
.modal__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.modal__x { position: absolute; top: -3.25rem; right: 0; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--fg-4); background: var(--ink); color: var(--bone); }
.modal[open] { animation: pop var(--d-md) var(--ease-out); }
@keyframes pop { from { opacity: 0; scale: 0.96; } }

/* ---------- Reveal motion ---------- */
.js .reveal { opacity: 0; translate: 0 30px; transition: opacity var(--d-lg) var(--ease-out), translate var(--d-lg) var(--ease-out); transition-delay: var(--delay, 0ms); }
.js .reveal.is-in { opacity: 1; translate: 0 0; }
.js .hero__title .line > span { translate: 0 105%; transition: translate 900ms var(--ease-out); }
.js .hero__title .line:nth-child(2) > span { transition-delay: 90ms; }
.js.is-loaded .hero__title .line > span { translate: 0 0; }
.js .hero__lede, .js .claim { opacity: 0; translate: 0 20px; transition: opacity 800ms var(--ease-out) 300ms, translate 800ms var(--ease-out) 300ms; }
.js .claim { transition-delay: 420ms; }
.js.is-loaded .hero__lede, .js.is-loaded .claim { opacity: 1; translate: 0 0; }
.js .hero__media img { scale: 1.08; transition: scale 1800ms var(--ease-out); }
.js.is-loaded .hero__media img { scale: 1; }

/* ---------- Utilities ---------- */
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.btn--ghost { --bg: transparent; color: inherit; box-shadow: inset 0 0 0 1px currentColor; }
.btn.is-busy { pointer-events: none; opacity: 0.75; }
.btn.is-busy svg { animation: nudge 700ms var(--ease-inout) infinite alternate; }
@keyframes nudge { to { transform: translateX(6px); } }
.linkish { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.announce a { color: inherit; font-weight: 700; margin-left: 0.5rem; text-underline-offset: 3px; white-space: nowrap; }
.claim__step { color: var(--fg-3); text-align: center; }

/* ---------- Bonus round: promotion (kept below the fold, after the proof) ---------- */
.bonus {
  padding: var(--s-6) var(--gutter);
  border-top: 1px solid var(--line);
  display: grid; gap: var(--s-4);
}
.offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); }
.offers--1 { grid-template-columns: minmax(0, 40rem); }
.offer {
  position: relative; overflow: hidden; isolation: isolate;
  border: 1px solid var(--line); border-radius: 4px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: grid; gap: 0.6rem; align-content: start;
  background: var(--ink-2);
}
.offer__big {
  font-weight: 900; font-variation-settings: "wdth" 62; line-height: 0.8; letter-spacing: -0.02em;
  font-size: clamp(6rem, 13vw, 12rem); color: var(--red); margin-bottom: 0.5rem;
}
.offer__title { font-size: var(--t-md); font-variation-settings: "wdth" 75; text-transform: uppercase; line-height: 1; }
.offer__detail { color: var(--fg-2); }
.offer__code { margin-top: 0.75rem; display: flex; align-items: center; gap: 0.75rem; }
.offer__code .mono { color: var(--fg-3); }
.offer__code b {
  font-family: var(--f-mono); letter-spacing: 0.08em; font-size: 1rem;
  padding: 0.35rem 0.7rem; border: 1px dashed oklch(0.6 0.235 28 / 0.7); border-radius: 2px; color: var(--bone);
}
.offer__fine { color: var(--fg-3); font-size: 0.8125rem; }
.bonus__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-2) var(--s-3); padding-top: var(--s-3); border-top: 1px solid var(--line); }
.bonus__cta p { color: var(--fg-2); max-width: 48ch; }

/* ---------- Step 2: booking page ---------- */
.is-booking .nav { position: sticky; }
.nav__step { color: var(--fg-3); }
.book { padding: var(--s-4) var(--gutter) var(--s-5); max-width: 72rem; margin: 0 auto; }
.booker [data-bk-view] { display: grid; gap: var(--s-3); justify-items: start; }
.booker [data-bk-view][hidden] { display: none; }
.booker [data-bk-view]:focus, .booker .bk-title:focus { outline: none; }
.booker [data-bk-view="pick"] { justify-items: stretch; gap: 0; }
.bk-head { margin-bottom: var(--s-3); }
.bk-head .round { margin-bottom: var(--s-2); }
.bk-title { font-size: clamp(3.25rem, 9vw, 7rem); font-weight: 900; font-variation-settings: "wdth" 62; text-transform: uppercase; line-height: 0.86; letter-spacing: -0.015em; overflow-wrap: anywhere; }
.bk-lede { color: var(--fg-2); max-width: 46ch; margin-top: var(--s-2); }
.bk-tz { color: var(--fg-3); margin-top: 0.9rem; text-transform: none; letter-spacing: 0.02em; }

/* In the hero form card: compact, single column */
.booker--card .round { margin-bottom: 0.5rem; }
.booker--card .bk-title { font-size: clamp(2.1rem, 3.2vw, 3rem); }
.booker--card .bk-br { display: none; }
.booker--card .bk-lede { font-size: 0.9375rem; margin-top: 0.5rem; }
.booker--card .bk-head { margin-bottom: 1rem; }
.booker--card .days {
  display: flex; gap: 0.4rem; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity;
  margin: 0 0 1rem; padding-bottom: 2px;
}
.booker--card .days::-webkit-scrollbar { display: none; }
.booker--card .day { flex: 0 0 3.6rem; scroll-snap-align: start; padding: 0.6rem 0.2rem; }
.booker--card .day b { font-size: 1.4rem; }
.booker--card .slots__day { font-size: 1.1rem; margin-bottom: 0.5rem; }
.booker--card .slots__list { max-height: 15.5rem; overflow-y: auto; overscroll-behavior: contain; padding-bottom: 0; }
.booker--card .slot { grid-template-columns: 4.6rem 1fr auto; gap: 0.6rem; padding: 0.75rem 0.4rem; }
.booker--card .slot__time { font-size: 1.25rem; }
.booker--card .slot__name { font-size: 0.9375rem; }
.booker--card .confirm { position: static; margin-top: 0.75rem; padding: 0.75rem; gap: 0.6rem; animation: none; background: oklch(0.21 0.014 25 / 0.7); }
.booker--card .confirm .btn { width: 100%; }
.booker--card .confirm__what .mono { display: none; }
.booker--card .confirm__summary { font-size: 0.9375rem; }
.booker--card .book__later { margin-top: 0.9rem; font-size: 0.8125rem; }
.booker--card .ticket div { grid-template-columns: 4.5rem 1fr; padding: 0.7rem 0; }
.booker--card .book__actions .btn { flex: 1 1 100%; }
.booker--card [data-bk-view]:not([data-bk-view="pick"]) { gap: 1rem; }
.claim.is-booking { gap: 0; }

/* Day strip navigation: arrows + edge fades that follow the scroll position */
.days-wrap { position: relative; min-width: 0; max-width: 100%; }
.booker, .booker [data-bk-view], .claim__book { min-width: 0; }
.days-nav { display: none; }
.days-wrap { display: flex; align-items: stretch; gap: 0.35rem; margin-bottom: var(--s-4); }
.booker--card .days-wrap { margin-bottom: 1rem; }
.days-wrap .days { flex: 1; min-width: 0; margin: 0; }
.days-wrap.is-scrollable .days-nav {
  display: grid; place-items: center; flex: 0 0 1.9rem;
  background: var(--ink-2); color: var(--fg); border: 1px solid var(--line); border-radius: 4px;
  transition: background var(--d-sm), color var(--d-sm), opacity var(--d-sm);
}
.days-nav:disabled { opacity: 0.3; cursor: default; }
@media (hover: hover) { .days-nav:not(:disabled):hover { background: var(--red); border-color: var(--red); } }
.days-wrap.is-scrollable .days {
  --fade: 1.5rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--fade), #000 calc(100% - var(--fade)), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 var(--fade), #000 calc(100% - var(--fade)), transparent);
}
.days-wrap.is-scrollable.at-start .days {
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - var(--fade)), transparent);
  mask-image: linear-gradient(90deg, #000 calc(100% - var(--fade)), transparent);
}
.days-wrap.is-scrollable.at-end .days {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--fade));
  mask-image: linear-gradient(90deg, transparent, #000 var(--fade));
}

.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0.5rem; margin-bottom: var(--s-4); }
.day {
  display: grid; gap: 0.2rem; justify-items: center; padding: 0.8rem 0.25rem;
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 4px;
  transition: border-color var(--d-sm), background var(--d-sm), transform var(--d-sm) var(--ease-back);
}
.day .mono { color: var(--fg-3); font-size: 0.6875rem; }
.day b { font-size: 1.75rem; font-weight: 900; font-variation-settings: "wdth" 62; line-height: 1; }
.day small { color: var(--fg-3); font-size: 0.6875rem; }
.day:disabled { opacity: 0.35; cursor: not-allowed; }
.day.is-on { background: var(--red); border-color: var(--red); }
.day.is-on .mono, .day.is-on small { color: var(--bone); }
@media (hover: hover) { .day:not(:disabled):not(.is-on):hover { border-color: var(--fg-3); } }

.slots__day { font-size: var(--t-md); font-variation-settings: "wdth" 75; text-transform: uppercase; margin-bottom: var(--s-2); }
.slots__msg { color: var(--fg-2); padding: var(--s-3) 0; }
.slots__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.slot {
  width: 100%; display: grid; grid-template-columns: 7rem 1fr auto; align-items: center; gap: 1rem;
  padding: 1.1rem 0.75rem; text-align: left; background: transparent; border: 0; border-bottom: 1px solid var(--line);
  transition: background var(--d-sm);
}
.slot__time { font-weight: 900; font-variation-settings: "wdth" 62; font-size: 1.75rem; text-transform: uppercase; line-height: 1; font-variant-numeric: tabular-nums; }
.slot__name { font-weight: 700; display: grid; }
.slot__name small { font-weight: 400; color: var(--fg-3); }
.slot__spots { color: var(--fg-3); }
.slot:disabled { opacity: 0.4; cursor: not-allowed; }
.slot.is-on { background: oklch(0.6 0.235 28 / 0.16); box-shadow: inset 3px 0 0 var(--red); }
.slot.is-on .slot__spots { color: var(--red); }
@media (hover: hover) { .slot:not(:disabled):not(.is-on):hover { background: var(--ink-2); } }

.confirm {
  position: sticky; bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); z-index: 20;
  margin-top: var(--s-3); padding: 1rem 1rem 1rem 1.25rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  background: oklch(0.21 0.014 25 / 0.92); backdrop-filter: blur(12px);
  border: 1px solid var(--fg-4); border-radius: 4px;
  animation: pop var(--d-md) var(--ease-out);
}
.confirm__what .mono { color: var(--fg-3); }
.confirm__summary { font-weight: 700; }
.book__error { color: oklch(0.75 0.15 25); margin-top: 1rem; }
.book__later { color: var(--fg-3); margin-top: var(--s-4); font-size: var(--t-sm); }
.book__demo { color: var(--fg-3); margin-top: 0.75rem; }

.ticket { margin: 0; width: min(100%, 40rem); border-top: 1px solid var(--line); }
.ticket div { display: grid; grid-template-columns: 6rem 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.ticket dt { color: var(--fg-3); padding-top: 0.2rem; }
.ticket dd { margin: 0; font-weight: 700; }
.ticket a { text-underline-offset: 3px; }
.book__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.book__promo { border: 1px dashed oklch(0.6 0.235 28 / 0.6); border-radius: 4px; padding: 1rem 1.25rem; max-width: 40rem; }
.book__promo .mono { color: var(--red); margin-bottom: 0.3rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; padding-top: var(--s-4); padding-right: 0; }
  .claim { max-width: 560px; }
  .first__body { grid-template-columns: 1fr; }
  .bouts { grid-template-columns: 1fr; }
  .bout, .bout + .bout { padding: var(--s-4) 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .classes__head { text-align: left; margin-left: 0; }
  .classes__head .round { justify-content: flex-start; }
  .classes__head .round::after { order: 0; }
  .club { grid-template-columns: 1fr; grid-template-areas: "stat" "copy" "photo"; gap: var(--s-4); }
  .club__stat { position: static; }
  .bell { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav .btn { display: none; }
  .hero { min-height: auto; }
  .hero__title { font-size: clamp(4rem, 21vw, 7rem); }
  .field-row { grid-template-columns: 1fr; }
  .rail { grid-template-columns: 1fr; }
  .rail li + li { border-left: 0; border-top: 1px solid var(--line); }
  .cols { grid-template-columns: 1fr; }
  .corner__head { grid-template-columns: 1fr; }
  .quotes { grid-auto-columns: 84vw; }
  .bagman { display: none; }
  /* Thumb-zone CTA */
  .dock {
    position: fixed; left: 1rem; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom)); z-index: 50;
    display: flex; justify-content: center; gap: 0.5rem;
    padding: 1.05rem; border-radius: 4px;
    background: var(--red); color: var(--bone); text-decoration: none;
    font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; font-variation-settings: "wdth" 75;
    box-shadow: 0 10px 30px -10px oklch(0.6 0.235 28 / 0.6);
    translate: 0 150%; transition: translate var(--d-md) var(--ease-out);
  }
  .dock.is-on { translate: 0 0; }
  .foot { padding-bottom: 6rem; }
}

@media (max-width: 760px) {
  .offers { grid-template-columns: 1fr; }
  .days { grid-template-columns: repeat(14, minmax(3.4rem, 1fr)); overflow-x: auto; scrollbar-width: none; }
  .days::-webkit-scrollbar { display: none; }
  .slot { grid-template-columns: 5.25rem 1fr auto; gap: 0.75rem; padding-inline: 0.25rem; }
  .slot__time { font-size: 1.4rem; }
  .confirm { padding: 0.75rem; gap: 0.6rem; }
  .confirm__what .mono { display: none; }
  .confirm__summary { font-size: 0.9375rem; line-height: 1.3; }
  .confirm .btn { width: 100%; padding-block: 0.85rem; }
  .booker--page .slots__list { padding-bottom: 7rem; }
  .nav__step { display: none; }
}

/* ---------- Reduced motion: still, not broken ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; }
  .marquee__track { animation: none; }
  .js .reveal, .js .hero__title .line > span, .js .hero__lede, .js .claim { opacity: 1; translate: none; }
  .js .hero__media img { scale: 1; }
}
