/* ============================================================
   HIGH LEVEL BOXING - design system
   Charcoal / sage green / cream. Bold condensed display type,
   subtle grunge texture, boxing-poster energy.
   ============================================================ */

/* Self-hosted variable fonts (Oswald + Inter, weights 400-700). Files live in
   /assets/fonts/ - no render-blocking @import, no third-party font requests. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/oswald-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/oswald-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #141613;            /* page background */
  --panel: #1d201c;          /* raised surfaces */
  --panel-2: #242823;        /* higher surfaces */
  --line: #32362f;           /* hairlines */
  --sage: #96ac8b;           /* brand green */
  /* The three brands repaint by overriding --sage. Anything that needs the
     brand colour at partial alpha must use --sage-rgb, and anything that needs
     it inside a url() must use --tick-url, because var() cannot be
     interpolated into a data URI. Byron and Promotions override both. */
  --sage-rgb: 150, 172, 139;
  --tick-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2396ac8b' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  --sage-bright: #aec7a0;
  --sage-dim: #6d8163;
  --cream: #f1ecc4;          /* price/highlight cream */
  --text: #f2f3ef;
  --muted: #a9ada4;
  --danger: #d47b6f;
  --ok: #96ac8b;
  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 18px 50px -12px rgba(0, 0, 0, .55);
  --header-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* clip, not hidden: pre-reveal translateX elements must never widen the page
   on mobile, and clip keeps the sticky header working (hidden would not) */
html, body { overflow-x: clip; }

body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* subtle grunge noise over the whole page */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: var(--sage-bright); text-decoration: none; }
a:hover { color: var(--cream); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1.08;
  font-weight: 600;
}

.container { width: min(1180px, 92vw); margin: 0 auto; position: relative; z-index: 2; }

section { padding: clamp(56px, 9vw, 104px) 0; position: relative; }

/* Read by screen readers, invisible on screen. Used for the section headings
   that the design carries visually (a card, an icon, a price) but that a
   screen reader needs in order to keep h1 -> h2 -> h3 in order. */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* skip link for keyboard users - visible only while focused */
.skip-link {
  position: fixed;
  top: 10px; left: 10px;
  z-index: 300;
  background: var(--sage);
  color: var(--ink);
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--radius);
  transform: translateY(-64px);
  transition: transform .15s;
}
.skip-link:focus { transform: none; color: var(--ink); }

/* the family strip: one owner, three arms, every page knows it */
.family-strip {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  background: #0e100d; border-bottom: 1px solid var(--line);
  padding: 6px 12px; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase;
  overflow-x: auto; white-space: nowrap;
}
.family-strip .fs-label { color: #6d7168; font-weight: 700; letter-spacing: .18em; text-decoration: none; }
.family-strip a { color: var(--muted); font-weight: 600; padding: 2px 2px; }
.family-strip a.on { color: var(--sage-bright); border-bottom: 2px solid var(--sage); }
.family-strip a.fs-red.on { color: #e2756a; border-bottom-color: #d05548; }
.family-strip a.fs-cream.on { color: var(--cream); border-bottom-color: var(--cream); }
.family-strip a:hover { color: var(--text); }
@media (max-width: 520px) {
  /* the label is the link home, so it shrinks rather than disappearing */
  .family-strip .fs-label { letter-spacing: .1em; font-size: 10.5px; }
  .family-strip { gap: 14px; }
}
/* on touch screens this strip is how people move between the three businesses,
   so give each arm a finger-sized target instead of an 11px line of text */
@media (pointer: coarse) {
  .family-strip { padding: 0 12px; }
  .family-strip a { padding: 11px 8px; }
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(20, 22, 19, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .bar {
  display: flex; align-items: center; gap: 28px;
  height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 44px; width: auto; border-radius: 4px; }
.brand .brand-logo { height: 56px; border-radius: 0; }
.brand .brand-word {
  font-family: var(--font-display); font-size: 21px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em; line-height: 1; color: var(--text);
}
.brand .brand-word span { color: var(--sage); }

/* three zones: brand left, links dead-centre, actions right */
.nav { display: flex; gap: 2px; align-items: center; flex: 1; justify-content: center; min-width: 0; }
.nav-actions { display: flex; gap: 8px; align-items: center; flex-shrink: 0; margin-left: auto; }
.nav-portal-mobile { display: none; }
@media (min-width: 1181px) {
  /* absolute centring: the links sit on the true midline of the bar,
     unaffected by how wide the logo or the action buttons are */
  .site-header .bar { position: relative; }
  .nav { position: absolute; left: 50%; transform: translateX(-50%); flex: none; }
}
.nav a {
  font-family: var(--font-display); font-size: 14px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .07em; white-space: nowrap;
  color: var(--muted); padding: 8px 11px; border-radius: 6px;
}
.nav a:hover { color: var(--text); }
.nav a.active { color: var(--sage-bright); border-bottom: 2px solid var(--sage); }
.nav .btn { margin-left: 10px; }
/* buttons inside the nav keep their own ink - .nav a must not repaint them */
.nav a.btn-primary { color: #10120f; }
.nav a.btn-primary:hover { color: #10120f; }

.nav-cart { position: relative; display: inline-flex; padding: 8px 10px !important; }
.nav-cart svg { width: 21px; height: 21px; }
.cart-count {
  position: absolute; top: 0; right: 0;
  background: var(--sage); color: var(--ink);
  font: 700 11px/1 var(--font-body);
  min-width: 17px; height: 17px; border-radius: 9px;
  display: none; align-items: center; justify-content: center; padding: 0 4px;
}
.cart-count.show { display: inline-flex; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: 8px; color: var(--text); padding: 9px 11px; cursor: pointer;
}

@media (max-width: 1180px) {
  .nav {
    display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--panel); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 14px; gap: 2px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; font-size: 16px; }
  .nav .btn { margin: 10px 0 0; text-align: center; }
  .nav-portal-mobile { display: block; }
  .nav-actions { margin-left: auto; }
  .nav-toggle { display: block; }
}
@media (max-width: 640px) {
  .nav-actions #nav-auth { display: none; }  /* portal lives in the menu on phones */
  .brand .brand-logo { height: 44px; }
}

/* announcement bar */
.announce {
  background: linear-gradient(90deg, var(--sage-dim), var(--sage));
  color: #10120f; text-align: center; font-weight: 600; font-size: 14px;
  padding: 9px 16px; position: relative; z-index: 61;
}
.announce a { color: #10120f; text-decoration: underline; font-weight: 700; }
@media (max-width: 640px) { .announce { font-size: 12.5px; padding: 7px 10px; text-align: left; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: .09em; font-size: 15px;
  padding: 13px 26px; border-radius: 8px; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s, color .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--sage); color: #10120f; }
.btn-primary:hover { background: var(--sage-bright); color: #10120f; box-shadow: 0 8px 24px -8px rgba(var(--sage-rgb), .6); }
.btn-outline { border-color: var(--sage-dim); color: var(--sage-bright); background: transparent; }
.btn-outline:hover { border-color: var(--sage); background: rgba(var(--sage-rgb), .08); color: var(--sage-bright); }
.btn-cream { background: var(--cream); color: #10120f; }
.btn-cream:hover { background: #fff8d6; color: #10120f; }
.btn-ghost { color: var(--muted); background: transparent; }
.btn-ghost:hover { color: var(--text); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 16px 34px; font-size: 17px; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn-danger { background: transparent; border-color: var(--danger); color: var(--danger); }
.btn-danger:hover { background: rgba(212, 123, 111, .1); color: var(--danger); }
.btn-block { width: 100%; }

/* ---------- section headers ---------- */
.kicker {
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .28em;
  font-size: 13px; color: var(--sage); font-weight: 600; margin-bottom: 14px;
  display: flex; align-items: center; gap: 14px;
}
.kicker::before { content: ''; width: 34px; height: 2px; background: var(--sage); }
.kicker.center { justify-content: center; }
.kicker.center::after { content: ''; width: 34px; height: 2px; background: var(--sage); }

.section-title { font-size: clamp(30px, 4.6vw, 48px); margin-bottom: 16px; }
.section-title .accent { color: var(--sage); }
.section-lead { color: var(--muted); max-width: 640px; font-size: 17px; }
.center { text-align: center; }
.center .section-lead { margin: 0 auto; }

/* ---------- cards / panels ---------- */
.card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
}
.card-pad { padding: 26px; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
/* shop browsing stays two-up on phones - compact cards, half the scrolling */
@media (max-width: 640px) {
  .grid-4:has(.product-card), .grid-3:has(.product-card) { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .grid-4:has(.product-card) .product-card .body, .grid-3:has(.product-card) .product-card .body { padding: 12px 14px 16px; }
  .grid-4:has(.product-card) .product-card h3, .grid-3:has(.product-card) .product-card h3 { font-size: 15px; }
  .grid-4:has(.product-card) .product-card .p, .grid-3:has(.product-card) .product-card .p { font-size: 18px; }
}

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font: 600 12px/1 var(--font-body); letter-spacing: .04em;
  padding: 5px 11px; border-radius: 999px;
  background: rgba(var(--sage-rgb), .14); color: var(--sage-bright);
  border: 1px solid rgba(var(--sage-rgb), .25);
}
.badge.cream { background: rgba(241, 236, 196, .1); color: var(--cream); border-color: rgba(241, 236, 196, .22); }
.badge.danger { background: rgba(212, 123, 111, .12); color: var(--danger); border-color: rgba(212, 123, 111, .3); }
.badge.dim { background: rgba(255,255,255,.05); color: var(--muted); border-color: var(--line); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: min(88vh, 820px);
  display: flex; align-items: center; padding: 90px 0;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 30%;
  filter: saturate(.82) brightness(.55) contrast(1.05);
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(20, 22, 19, .96) 0%, rgba(20, 22, 19, .82) 42%, rgba(20, 22, 19, .35) 75%, rgba(20, 22, 19, .55) 100%),
    linear-gradient(0deg, var(--ink) 0%, transparent 26%);
}
.hero .container { position: relative; z-index: 3; }
.hero-eyebrow {
  font-family: var(--font-display); letter-spacing: .3em; font-size: 14px;
  color: var(--cream); text-transform: uppercase; margin-bottom: 20px; font-weight: 500;
}
.hero h1 {
  font-size: clamp(44px, 7.4vw, 92px); font-weight: 700;
  max-width: 13ch; margin-bottom: 22px;
}
.hero h1 .accent { color: var(--sage); }
.hero p.sub { color: #cfd2ca; font-size: clamp(16px, 2vw, 19px); max-width: 520px; margin-bottom: 34px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta {
  margin-top: 54px; display: flex; gap: 34px; flex-wrap: wrap;
  color: var(--muted); font-size: 14px;
}
.hero-meta strong { display: block; font-family: var(--font-display); font-size: 26px; color: var(--cream); font-weight: 600; letter-spacing: .02em; }

/* page hero (interior pages) */
.page-hero { padding: clamp(52px, 8vw, 84px) 0 clamp(30px, 5vw, 48px); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(34px, 5.4vw, 60px); }
.page-hero .section-lead { margin-top: 12px; }
.page-hero::after {
  content: 'HLB'; position: absolute; right: -1%; top: 50%; transform: translateY(-50%);
  font-family: var(--font-display); font-weight: 700; font-size: clamp(120px, 22vw, 260px);
  color: rgba(var(--sage-rgb), .05); pointer-events: none; letter-spacing: -.02em;
}

/* ---------- class cards ---------- */
.class-card { display: flex; flex-direction: column; transition: transform .18s, border-color .18s; }
.class-card:hover { transform: translateY(-4px); border-color: var(--sage-dim); }
.class-card .swatch { height: 6px; }
.class-card .body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.class-card h3 { font-size: 22px; }
.class-card .meta { display: flex; gap: 8px; flex-wrap: wrap; }
.class-card p { color: var(--muted); font-size: 14.5px; flex: 1; }
.class-card .times { font-size: 13px; color: var(--sage-bright); font-weight: 600; line-height: 1.9; }

/* ---------- timetable ---------- */
.tt-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--panel); }
table.timetable { border-collapse: collapse; width: 100%; min-width: 860px; }
table.timetable th {
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .12em;
  font-size: 13.5px; color: var(--cream); font-weight: 600;
  padding: 14px 10px; border-bottom: 1px solid var(--line); background: var(--panel-2);
}
table.timetable td { border-bottom: 1px solid var(--line); border-right: 1px solid rgba(50, 54, 47, .5); padding: 7px; vertical-align: top; min-width: 128px; }
table.timetable td:last-child { border-right: none; }
table.timetable td.time-col, table.timetable th.time-col {
  font-family: var(--font-display); color: var(--muted); font-size: 14px; font-weight: 500;
  white-space: nowrap; width: 74px; min-width: 74px; text-align: right; padding: 14px 12px 0 10px;
}
.tt-chip {
  display: block; text-align: left; width: 100%; border: none; cursor: pointer;
  border-radius: 8px; padding: 9px 11px; margin-bottom: 6px;
  background: rgba(var(--sage-rgb), .1); border-left: 3px solid var(--sage);
  color: var(--text); font-family: var(--font-body); transition: background .15s;
}
.tt-chip:hover { background: rgba(var(--sage-rgb), .2); }
.tt-chip .t-name { font-weight: 600; font-size: 13px; line-height: 1.3; }
.tt-chip .t-sub { font-size: 11.5px; color: var(--muted); margin-top: 2px; }

/* session list (booking) */
.session-row {
  display: flex; align-items: center; gap: 16px; padding: 15px 18px;
  border-bottom: 1px solid var(--line);
}
.session-row:last-child { border-bottom: none; }
.session-row .when { width: 118px; flex-shrink: 0; }
.session-row .when .d { font-family: var(--font-display); font-size: 15px; font-weight: 600; text-transform: uppercase; color: var(--cream); }
.session-row .when .t { color: var(--sage-bright); font-weight: 600; font-size: 14px; }
.session-row .what { flex: 1; min-width: 0; }
.session-row .what .n { font-weight: 600; font-size: 15px; }
.session-row .what .s { color: var(--muted); font-size: 13px; }
.spots { font-size: 13px; font-weight: 600; color: var(--sage-bright); white-space: nowrap; }
.spots.low { color: var(--cream); }
.spots.none { color: var(--danger); }

/* Booking rows restack on phones: date+availability up top, class name on its
   own line, actions bottom-right. Rows without .when (cart, checkout,
   rate tables) keep their simple two-column flex. */
@media (max-width: 640px) {
  .session-row:has(.when) { flex-wrap: wrap; row-gap: 8px; }
  .session-row:has(.when) > * { order: 3; }
  .session-row:has(.when) .when {
    order: 0; width: auto; margin-right: auto;
    display: flex; align-items: baseline; gap: 8px;
  }
  .session-row:has(.when) .what + * { order: 1; }
  .session-row:has(.when) .what { order: 2; flex-basis: 100%; }
  .session-row:has(.when) .what + * + * { margin-left: auto; }
}

/* ---------- pricing ---------- */
.price-card { position: relative; display: flex; flex-direction: column; padding: 30px 28px; }
.price-card.popular { border-color: var(--sage); box-shadow: 0 0 0 1px var(--sage), var(--shadow); }
.price-card .plan-name { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .06em; font-size: 19px; font-weight: 600; }
.price-card .price { font-family: var(--font-display); font-size: 54px; font-weight: 700; color: var(--cream); line-height: 1; margin: 18px 0 4px; }
.price-card .price .cur { font-size: 26px; vertical-align: super; }
.price-card .per { color: var(--muted); font-size: 13.5px; margin-bottom: 18px; }
.price-card p.desc { color: var(--muted); font-size: 14.5px; flex: 1; margin-bottom: 22px; }
/* price cards never clip - the "most popular" pill hangs above the border */
.price-card { overflow: visible; }
.pop-tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--sage); color: #10120f; font: 700 11.5px/1 var(--font-body);
  letter-spacing: .08em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px;
}

/* ---------- shop ---------- */
.product-card { display: flex; flex-direction: column; transition: transform .18s, border-color .18s; }
.product-card:hover { transform: translateY(-4px); border-color: var(--sage-dim); }
.product-card .ph { aspect-ratio: 1; background: var(--panel-2); display: flex; align-items: center; justify-content: center; padding: 12%; }
.product-card .ph img { width: 100%; height: 100%; object-fit: contain; }
.product-card .body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card .cat { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.product-card h3 { font-size: 18px; text-transform: none; letter-spacing: 0; font-family: var(--font-body); font-weight: 600; }
.product-card .price-line { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.product-card .p { font-family: var(--font-display); font-size: 22px; color: var(--cream); font-weight: 600; }

.qty-stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.qty-stepper button { background: var(--panel-2); border: none; color: var(--text); width: 34px; height: 36px; font-size: 17px; cursor: pointer; }
.qty-stepper input { width: 44px; text-align: center; background: transparent; border: none; color: var(--text); font-weight: 600; font-size: 15px; }
/* on a touch screen these are the controls a mis-tap costs money on: minus at a
   quantity of 1 removes the line outright, and the ✕ sits right beside it */
@media (pointer: coarse) {
  .qty-stepper button { width: 44px; height: 44px; }
  .session-row .qty-stepper ~ .btn-ghost.btn-sm { min-width: 44px; min-height: 44px; }
}

/* ---------- forms ---------- */
.field { margin-bottom: 18px; }
.field label, .field .fld-label { display: block; font-weight: 600; font-size: 13.5px; margin-bottom: 7px; letter-spacing: .02em; }
.field .hint { font-size: 12.5px; color: var(--muted); margin-top: 5px; }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number],
input[type=date], input[type=time], select, textarea {
  width: 100%; background: var(--panel-2); color: var(--text);
  border: 1px solid var(--line); border-radius: 8px;
  padding: 12px 14px; font: 500 15px var(--font-body);
  transition: border-color .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--sage); }
textarea { min-height: 120px; resize: vertical; }
/* 16px keeps iOS Safari from auto-zooming when a field is focused */
@media (pointer: coarse) {
  input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number],
  input[type=date], input[type=time], select, textarea { font-size: 16px; }
}
.checkbox-row { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.checkbox-row input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--sage); }

.form-msg { border-radius: 8px; padding: 12px 15px; font-size: 14px; margin-bottom: 16px; display: none; }
.form-msg.err { display: block; background: rgba(212, 123, 111, .12); border: 1px solid rgba(212, 123, 111, .4); color: #eebbb2; }
.form-msg.ok { display: block; background: rgba(var(--sage-rgb), .12); border: 1px solid rgba(var(--sage-rgb), .4); color: var(--sage-bright); }

/* ---------- modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(10, 11, 9, .78); z-index: 90;
  display: none; align-items: flex-start; justify-content: center; padding: 6vh 16px;
  overflow-y: auto; backdrop-filter: blur(4px);
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg);
  width: min(560px, 100%); box-shadow: var(--shadow); position: relative;
}
.modal .modal-head { padding: 22px 26px 0; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.modal .modal-head h3 { font-size: 24px; }
.modal .modal-body { padding: 18px 26px 26px; }
.modal-close { background: none; border: none; color: var(--muted); font-size: 26px; cursor: pointer; line-height: 1; padding: 4px; }
.modal-close:hover { color: var(--text); }
@media (pointer: coarse) {
  /* on a phone this is the only way out of a modal - make it a real target */
  .modal-close { width: 44px; height: 44px; padding: 0; display: flex; align-items: center; justify-content: center; }
}

/* segmented control (booking kind) */
.seg { display: flex; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; margin-bottom: 18px; }
.seg button {
  flex: 1; background: transparent; color: var(--muted); border: none; cursor: pointer;
  padding: 11px 8px; font: 600 13px var(--font-body); transition: background .15s, color .15s;
  border-right: 1px solid var(--line);
}
.seg button:last-child { border-right: none; }
.seg button.on { background: rgba(var(--sage-rgb), .16); color: var(--sage-bright); }

/* ---------- toast ---------- */
#toast-root { position: fixed; bottom: 24px; right: 24px; z-index: 120; display: flex; flex-direction: column; gap: 10px; }
.toast {
  background: var(--panel-2); border: 1px solid var(--sage-dim); color: var(--text);
  border-radius: 10px; padding: 14px 18px; font-size: 14.5px; box-shadow: var(--shadow);
  animation: toast-in .25s ease; max-width: 340px;
}
.toast.err { border-color: var(--danger); }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }

/* ---------- misc sections ---------- */
.stat-strip { border-block: 1px solid var(--line); background: var(--panel); }
.stat-strip .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 18px; padding-block: 30px; }
.stat-strip .stat { text-align: center; }
.stat-strip strong { font-family: var(--font-display); display: block; font-size: clamp(26px, 3vw, 38px); color: var(--cream); font-weight: 700; }
/* Only the label directly under .stat - spans nested inside the big number
   (count-up value, "/wk" unit) must inherit the display size instead. */
.stat-strip .stat > span { color: var(--muted); font-size: 13.5px; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
/* auto-fit, not repeat(4): the free-class tile is removed from the DOM when the
   offer is switched off, and a fixed four-column grid left a hole where it was. */
@media (max-width: 760px) { .stat-strip .container { grid-template-columns: repeat(2, 1fr); } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split .img-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.split .img-frame img { width: 100%; height: 100%; object-fit: cover; }

.check-list { list-style: none; margin: 22px 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: #d9dcd4; font-size: 15.5px; }
.check-list li::before {
  content: ''; flex-shrink: 0; width: 22px; height: 22px; margin-top: 1px;
  background: rgba(var(--sage-rgb), .16); border-radius: 50%;
  background-image: var(--tick-url);
  background-size: 12px; background-position: center; background-repeat: no-repeat;
}

.quote-card { padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.quote-card .stars { color: var(--cream); letter-spacing: 3px; font-size: 15px; }
.quote-card p { color: #d9dcd4; font-size: 15px; flex: 1; }
.quote-card .who { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .1em; font-size: 13.5px; color: var(--sage-bright); font-weight: 600; }

.insta-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.insta-grid a { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 1; border: 1px solid var(--line); }
.insta-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s, opacity .25s; }
.insta-grid a:hover img { transform: scale(1.06); opacity: .8; }
@media (max-width: 900px) { .insta-grid { grid-template-columns: repeat(3, 1fr); } }

/* event cards: split on desktop, stacked on mobile */
.event-card { display: grid; grid-template-columns: 1.1fr 1fr; overflow: hidden; }
.event-card .event-img { min-height: 280px; background-size: cover; background-position: center; }
@media (max-width: 760px) {
  .event-card { grid-template-columns: 1fr; }
  .event-card .event-img { min-height: 200px; }
}

/* visible keyboard focus everywhere */
:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 2px;
  border-radius: 4px;
}

.announce { display: flex; align-items: center; justify-content: center; gap: 10px; }
.announce .announce-close {
  background: none; border: none; cursor: pointer; color: #10120f;
  font-size: 18px; line-height: 1; padding: 10px 12px; margin: -6px 0; opacity: .7;
}
.announce .announce-close:hover { opacity: 1; }

.cta-band {
  background: linear-gradient(120deg, rgba(var(--sage-rgb), .16), rgba(var(--sage-rgb), .05)), var(--panel);
  border-block: 1px solid var(--line); text-align: center;
}
.cta-band h2 { font-size: clamp(30px, 4.6vw, 46px); margin-bottom: 14px; }
.cta-band p { color: var(--muted); max-width: 560px; margin: 0 auto 30px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: #101210; padding: 56px 0 36px; margin-top: 40px; }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 36px; margin-bottom: 40px; }
@media (max-width: 900px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer .cols { grid-template-columns: 1fr; } }
.site-footer h2 { font-size: 15px; letter-spacing: .14em; color: var(--cream); margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 4px; }
.site-footer a { color: var(--muted); font-size: 14.5px; }
/* comfortable thumb targets in the link columns */
.site-footer ul a { display: inline-block; padding: 5px 0; }
#footer-phone {
  display: inline-block; font-family: var(--font-display); font-size: 21px;
  letter-spacing: .02em; color: var(--sage-bright); padding: 6px 0;
}
#footer-phone:hover { color: var(--cream); }
.site-footer a:hover { color: var(--sage-bright); }
.site-footer p { color: var(--muted); font-size: 14px; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 22px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: #6d7168; font-size: 13px; }

.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a {
  width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; color: var(--muted);
}
.socials a:hover { border-color: var(--sage); color: var(--sage-bright); }
.socials svg { width: 17px; height: 17px; }

/* helpers */
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 36px; } .mt-5 { margin-top: 52px; }
.mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 36px; }
.muted { color: var(--muted); }
.cream-text { color: var(--cream); }
.flex-between { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.small { font-size: 13.5px; }
hr.rule { border: none; border-top: 1px solid var(--line); margin: 26px 0; }

/* skeleton shimmer for loading states */
.skeleton {
  background: linear-gradient(90deg, var(--panel-2) 25%, #2b2f2a 50%, var(--panel-2) 75%);
  background-size: 200% 100%; animation: shimmer 1.3s infinite; border-radius: 8px; min-height: 18px;
}
@keyframes shimmer { to { background-position: -200% 0; } }

/* ============================================================
   Motion layer - scroll reveals, hero choreography, marquee
   ============================================================ */

/* scroll reveals (elements get .in from IntersectionObserver) */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.16,.84,.32,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-l { opacity: 0; transform: translateX(-34px); transition: opacity .7s ease, transform .7s cubic-bezier(.16,.84,.32,1); }
.reveal-l.in { opacity: 1; transform: none; }
.reveal-r { opacity: 0; transform: translateX(34px); transition: opacity .7s ease, transform .7s cubic-bezier(.16,.84,.32,1); }
.reveal-r.in { opacity: 1; transform: none; }
.stagger > * { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s cubic-bezier(.16,.84,.32,1); }
.stagger.in > * { opacity: 1; transform: none; }
.stagger.in > *:nth-child(2) { transition-delay: .09s; }
.stagger.in > *:nth-child(3) { transition-delay: .18s; }
.stagger.in > *:nth-child(4) { transition-delay: .27s; }
.stagger.in > *:nth-child(5) { transition-delay: .36s; }
.stagger.in > *:nth-child(6) { transition-delay: .45s; }

/* hero entrance + slow zoom */
.hero-bg { animation: hero-zoom 22s ease-in-out infinite alternate; }
@keyframes hero-zoom { from { transform: scale(1); } to { transform: scale(1.07); } }
.hero-eyebrow, .hero h1, .hero p.sub, .hero-ctas, .hero-meta { opacity: 0; transform: translateY(30px); animation: rise .8s cubic-bezier(.16,.84,.32,1) forwards; }
.hero h1 { animation-delay: .12s; }
.hero p.sub { animation-delay: .26s; }
.hero-ctas { animation-delay: .4s; }
.hero-meta { animation-delay: .56s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 3; color: var(--sage-bright); opacity: .7; animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 9px); } }

/* boxing-poster marquee tape */
.marquee {
  overflow: hidden; white-space: nowrap; border-block: 1px solid var(--line);
  background: var(--cream); padding: 12px 0; position: relative; z-index: 2;
}
.marquee .track { display: inline-block; animation: marquee 28s linear infinite; }
.marquee span {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: .18em; font-size: 15px; color: #191b18; margin: 0 22px;
}
.marquee span.dot { color: var(--sage-dim); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* button shine sweep */
.btn-primary, .btn-cream { position: relative; overflow: hidden; }
.btn-primary::after, .btn-cream::after {
  content: ''; position: absolute; top: 0; left: -80%; width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
  transform: skewX(-20deg); transition: left .05s;
}
.btn-primary:hover::after, .btn-cream:hover::after { left: 130%; transition: left .55s ease; }

/* live pulse dot */
.pulse-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--sage); position: relative; }
.pulse-dot::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid var(--sage); animation: pulse 1.6s ease-out infinite;
}
@keyframes pulse { from { transform: scale(.55); opacity: 1; } to { transform: scale(1.25); opacity: 0; } }

/* spots capacity bar */
.spots-bar { height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; margin-top: 6px; min-width: 86px; }
.spots-bar i { display: block; height: 100%; border-radius: 2px; background: var(--sage); transition: width .4s ease; }
.spots-bar.low i { background: var(--cream); }
.spots-bar.none i { background: var(--danger); }

/* fight-night countdown */
.countdown { display: flex; gap: 14px; }
.countdown .unit {
  background: rgba(20, 22, 19, .55); border: 1px solid rgba(var(--sage-rgb), .3);
  border-radius: 12px; padding: 12px 10px; min-width: 76px; text-align: center; backdrop-filter: blur(6px);
}
.countdown .unit b { display: block; font-family: var(--font-display); font-size: 34px; font-weight: 700; color: var(--cream); line-height: 1.1; font-variant-numeric: tabular-nums; }
.countdown .unit span { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--sage-bright); font-weight: 600; }

/* WOD / coach's corner card */
.wod-card {
  background: linear-gradient(135deg, rgba(var(--sage-rgb), .12), transparent 55%), var(--panel);
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px;
  position: relative; overflow: hidden;
}
.wod-card::after {
  content: '🥊'; position: absolute; right: -14px; bottom: -18px; font-size: 120px; opacity: .07; transform: rotate(-12deg);
}
.wod-card pre {
  font: 500 15px/1.8 var(--font-body); color: #d9dcd4; white-space: pre-wrap; margin-top: 14px;
}

/* lightbox */
.lightbox {
  position: fixed; inset: 0; background: rgba(8, 9, 7, .92); z-index: 140;
  display: none; align-items: center; justify-content: center; padding: 4vh 4vw; cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 10px; box-shadow: var(--shadow); }
.lightbox-close {
  position: absolute; top: 14px; right: 14px; width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(20, 22, 19, .82); color: var(--text);
  border: 1px solid var(--line); border-radius: 50%;
  font-size: 24px; line-height: 1; cursor: pointer;
}
.lightbox-close:hover { background: var(--panel-2); color: var(--sage-bright); }
[data-lightbox] { cursor: zoom-in; }
[data-lightbox]:focus-visible { outline: 3px solid var(--sage); outline-offset: 3px; }

/* ============================================================
   Gamification - boxer journey
   ============================================================ */
.level-card {
  background: linear-gradient(120deg, rgba(var(--sage-rgb), .16), transparent 60%), var(--panel);
  border: 1px solid var(--sage-dim); border-radius: var(--radius-lg); padding: 24px;
}
.level-card .lvl-num { font-family: var(--font-display); letter-spacing: .16em; font-size: 13px; color: var(--sage-bright); font-weight: 600; text-transform: uppercase; }
.level-card .lvl-name { font-family: var(--font-display); font-size: 30px; font-weight: 700; color: var(--cream); text-transform: uppercase; margin: 2px 0 10px; }
.level-bar { height: 9px; border-radius: 5px; background: var(--line); overflow: hidden; }
.level-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--sage-dim), var(--sage-bright)); border-radius: 5px; transition: width 1s cubic-bezier(.16,.84,.32,1); }
.milestones { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.milestone {
  display: inline-flex; align-items: center; gap: 7px; font: 600 12.5px var(--font-body);
  border: 1px solid var(--line); color: var(--muted); border-radius: 999px; padding: 6px 12px;
}
.milestone.earned { border-color: var(--sage-dim); color: var(--sage-bright); background: rgba(var(--sage-rgb), .1); }
.streak-flame { font-size: 22px; }

/* ============================================================
   Admin analytics heatmap
   ============================================================ */
.heatmap { border-collapse: collapse; width: 100%; }
.heatmap th { font: 600 11.5px var(--font-body); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; padding: 6px; }
.heatmap td { padding: 3px; }
.heat-cell {
  border-radius: 6px; padding: 8px 6px; text-align: center; font: 600 11.5px var(--font-body);
  color: var(--text); min-width: 64px; cursor: default;
}
.heat-cell small { display: block; font-weight: 500; opacity: .75; font-size: 10.5px; }

/* ============================================================
   Kiosk mode
   ============================================================ */
.kiosk-body { background: var(--ink); min-height: 100vh; }
.kiosk-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px clamp(16px, 4vw, 44px); border-bottom: 1px solid var(--line); background: var(--panel);
}
.kiosk-head img { height: 46px; border-radius: 5px; }
.kiosk-clock { font-family: var(--font-display); font-size: 34px; font-weight: 600; color: var(--cream); font-variant-numeric: tabular-nums; }
/* the kiosk is tablet-first, but stays tidy if opened on a phone */
@media (max-width: 640px) {
  .kiosk-head img { height: 34px; }
  .kiosk-clock { font-size: 24px; }
  .kiosk-head { gap: 10px; }
}
.kiosk-main { padding: clamp(16px, 3vw, 36px) clamp(16px, 4vw, 44px); }
.kiosk-sessions { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.kiosk-session {
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 22px;
  cursor: pointer; transition: border-color .15s, transform .15s; text-align: left; color: var(--text); font-family: var(--font-body);
}
.kiosk-session:hover { border-color: var(--sage); transform: translateY(-3px); }
.kiosk-session .t { font-family: var(--font-display); font-size: 34px; font-weight: 700; color: var(--cream); }
.kiosk-session .n { font-size: 17px; font-weight: 600; margin: 6px 0 4px; }
.kiosk-roster-btn {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px;
  padding: 18px 20px; margin-bottom: 10px; cursor: pointer; color: var(--text); font: 600 18px var(--font-body);
}
.kiosk-roster-btn .st { font-size: 14px; color: var(--muted); font-weight: 500; }
.kiosk-roster-btn.checked { border-color: var(--sage); background: rgba(var(--sage-rgb), .12); }
.kiosk-roster-btn.checked .st { color: var(--sage-bright); }
.kiosk-big-btn { font-size: 19px; padding: 18px 30px; border-radius: 12px; }

/* back to top */
.back-to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 70;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--sage); color: #10120f; border: none; cursor: pointer;
  font-size: 21px; font-weight: 700; box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; transform: translateY(8px);
  transition: opacity .25s, transform .25s;
}
.back-to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.back-to-top:hover { background: var(--sage-bright); }

/* highlight today's column in the weekly grid */
table.timetable th.today-col, table.timetable td.today-col { background: rgba(var(--sage-rgb), .07); }
table.timetable th.today-col { color: var(--sage-bright); }

/* clean printing for public pages (timetable, FAQ, etc.) */
@media print {
  body { background: #fff; color: #000; }
  body::before, .site-header, .site-footer, .announce, .hero, .marquee,
  .cta-band, .btn, .back-to-top, #toast-root, .nav-toggle, .scroll-cue { display: none !important; }
  section { padding: 12px 0; }
  .card, .tt-wrap, .panel { border-color: #bbb; background: #fff; color: #000; box-shadow: none; }
  table.timetable th, table.timetable td { color: #000; background: #fff; border-color: #bbb; }
  .tt-chip { background: #f0f0f0; color: #000; }
  .tt-chip .t-name, .tt-chip .t-sub, .section-lead, .muted, p { color: #222; }
  h1, h2, h3, h4, .kicker { color: #000; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-l, .reveal-r, .stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-bg, .marquee .track, .pulse-dot::after, .scroll-cue { animation: none !important; }
  .hero-eyebrow, .hero h1, .hero p.sub, .hero-ctas, .hero-meta { animation-duration: .01s; }
}

/* ---------- narrow phones (SE-sized, and any phone with Display Zoom on) ----------
   Below ~353px the header bar's 28px gap pushed the menu button off screen, and
   overflow-x is clipped so there was no way to scroll it back. */
@media (max-width: 420px) {
  .site-header .bar { gap: 12px; }
  .nav-actions { gap: 6px; }
  .nav-actions .btn-sm { padding: 8px 11px; font-size: 12.5px; }
}
@media (max-width: 400px) {
  .countdown { gap: 8px; }
  .countdown .unit { min-width: 0; flex: 1 1 0; padding: 10px 6px; }
  .countdown .unit b { font-size: 26px; }
}
@media (max-width: 640px) {
  /* a member holding a class pass sees four choices here, and the fourth was
     being clipped by the container's overflow - that choice sets the price */
  .seg { flex-wrap: wrap; }
  .seg button { flex: 1 0 45%; }
}

/* a two-number price still has to sit on the same baseline as its neighbours
   in the pricing row, so scale the type instead of overriding it inline */
.price-card .price.price-range { font-size: 40px; line-height: 1.35; }
/* the family cards each wear their own brand colour and must hover like buttons */
.btn-outline.is-red { border-color: #a03d34; color: #e2756a; }
.btn-outline.is-red:hover { border-color: #d05548; background: rgba(208, 85, 72, .1); color: #e2756a; }
.btn-outline.is-cream { border-color: var(--cream); color: var(--cream); }
.btn-outline.is-cream:hover { border-color: var(--cream); background: rgba(241, 236, 196, .1); color: var(--cream); }

/* A shared fight-night link lands on its own card - a brief ring says which. */
.event-card.is-linked { box-shadow: 0 0 0 3px var(--sage), 0 18px 40px rgba(0, 0, 0, .35); }
@media (prefers-reduced-motion: no-preference) {
  .event-card.is-linked { animation: linked-pulse 2.2s ease-out 1; }
  @keyframes linked-pulse {
    0%, 100% { box-shadow: 0 0 0 3px var(--sage), 0 18px 40px rgba(0, 0, 0, .35); }
    50% { box-shadow: 0 0 0 8px rgba(var(--sage-rgb), .35), 0 18px 40px rgba(0, 0, 0, .35); }
  }
}
