/* ============================================================
   Website UI Kit — Liam Thuilot
   Shared styles. Brand tokens come from colors_and_type.css
   ============================================================ */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg-page); color: var(--fg-1); font-family: var(--font-body); }

/* Layout container */
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* Section scaffolding */
section { padding: 96px 0; border-top: 1px solid var(--border-1); }
section:first-of-type { border-top: 0; }

.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 48px; gap: 32px; }
.section-head > div:first-child { min-width: 320px; }
.eyebrow { white-space: nowrap; }
.section-head .eyebrow { color: var(--accent); }
.section-head h2 { margin: 6px 0 0; font-family: var(--font-display); font-size: clamp(40px, 5vw, 64px); line-height: 0.95; text-transform: uppercase; font-weight: 400; }
.section-head .lede { max-width: 380px; color: var(--fg-3); font-size: 14px; line-height: 1.55; }

/* Rule under section titles - the brand's signature */
.rule { height: 4px; background: var(--navy-700); width: 56px; margin-bottom: 18px; }
.rule.accent { background: var(--crimson-600); }

/* =========================== NAV =========================== */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 32px;
  background: rgba(250, 247, 240, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-1);
}
.nav-brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 22px; letter-spacing: 0.02em; text-transform: uppercase; text-decoration: none; color: inherit; white-space: nowrap; }
.nav-brand .red { color: var(--crimson-600); }
.nav-brand img { height: 40px; width: 40px; object-fit: contain; }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  text-decoration: none; color: var(--fg-1);
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
  position: relative; padding: 4px 0;
  cursor: pointer;
  transition: color var(--dur-fast);
}
.nav-links a.active { color: var(--ink-1000); }
.nav-links a.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -10px; height: 2px; background: var(--crimson-600); }
.nav-links a:hover { color: var(--navy-700); }
.nav-right { display: flex; gap: 14px; align-items: center; }
.lang-toggle { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3); cursor: pointer; border: 1px solid var(--border-1); padding: 6px 10px; border-radius: var(--radius-sm); background: transparent; }
.lang-toggle b { color: var(--ink-1000); }

/* ========================== HERO =========================== */
.hero { padding: 80px 0 96px; border-top: 0; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: end; }
.hero-eyebrow { color: var(--accent); margin-bottom: 12px; }
.hero h1 { font-family: var(--font-display); font-size: clamp(72px, 11vw, 168px); line-height: 0.84; letter-spacing: -0.01em; text-transform: uppercase; margin: 0 0 16px; font-weight: 400; }
.hero h1 .last { display: block; color: var(--navy-700); }
.hero .meta-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px;
  margin: 32px 0 40px; padding: 24px 0;
  border-top: 1px solid var(--border-1); border-bottom: 1px solid var(--border-1);
}
.hero .meta-grid dt { font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-3); margin: 0 0 4px; }
.hero .meta-grid dd { margin: 0; font-family: var(--font-display); font-size: 26px; letter-spacing: 0.02em; text-transform: uppercase; }
.hero .meta-grid dd .sub { font-family: var(--font-body); font-size: 13px; color: var(--fg-3); font-weight: 500; letter-spacing: 0; text-transform: none; display: block; margin-top: 2px; }
.hero-actions { display: flex; gap: 12px; }

.photo-frame {
  position: relative; aspect-ratio: 4 / 5;
  background: var(--ivory-100); border: 1px solid var(--border-1);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* === Photo treatment variants =============================== */

/* (1) Plain — original, hard rectangular edge */
.photo-plain { /* default */ }

/* (2) Fade — soft fade on bottom + sides into the ivory page  */
.photo-fade {
  background: transparent; border: 0;
  -webkit-mask-image: radial-gradient(ellipse 110% 100% at 50% 35%, #000 55%, transparent 92%);
          mask-image: radial-gradient(ellipse 110% 100% at 50% 35%, #000 55%, transparent 92%);
}
.photo-fade .photo-tag { background: transparent; color: var(--ink-500); padding: 8px 0; }

/* (3) Duotone — recolor to navy & ivory so the busy hexagon
       background reads as one harmonized tonal photograph     */
.photo-duotone {
  background: var(--navy-900); border: 0;
}
.photo-duotone img {
  filter: grayscale(1) contrast(1.05) brightness(0.95);
  mix-blend-mode: luminosity;
}
.photo-duotone::after {
  /* navy-to-ivory color mapping over the luminance image */
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--navy-700) 0%, var(--navy-900) 100%);
  mix-blend-mode: color;
  pointer-events: none;
}

/* (4) Stage — photo sits inside a navy "stage" that bleeds.
       Subtle bottom protection gradient + inset shadow for depth */
.photo-stage {
  background: var(--navy-950); border: 0;
  box-shadow: inset 0 -120px 80px -80px var(--navy-950),
              inset 0 0 0 1px rgba(255,255,255,0.04);
}
.photo-stage img { object-position: center 28%; }
.photo-stage .photo-tag {
  background: transparent; color: rgba(255,255,255,0.75);
  border-top: 1px solid rgba(255,255,255,0.12);
}
.photo-frame .placeholder { font-family: var(--font-display); font-size: 18px; letter-spacing: 0.2em; color: var(--ink-300); text-transform: uppercase; text-align: center; padding: 24px; }
.photo-frame .placeholder small { display: block; font-family: var(--font-body); font-size: 11px; color: var(--ink-400); letter-spacing: 0.08em; margin-top: 12px; font-weight: 600; }
.photo-tag {
  position: absolute; left: 0; bottom: 0;
  background: var(--ink-1000); color: #fff;
  padding: 8px 14px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em;
}

/* ===================== BUTTONS (shared) ==================== */
.btn {
  font-family: var(--font-body); font-weight: 700; font-size: 12px;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 14px 24px;
  border-radius: var(--radius-md); border: 0;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 10px;
  transition: background var(--dur-fast), transform var(--dur-fast), color var(--dur-fast);
  text-decoration: none;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--navy-700); color: #fff; }
.btn-primary:hover { background: var(--navy-800); }
.btn-accent  { background: var(--crimson-600); color: #fff; }
.btn-accent:hover  { background: var(--crimson-700); }
.btn-ghost   { background: transparent; color: var(--navy-700); border: 1.5px solid var(--navy-700); }
.btn-ghost:hover   { background: var(--navy-700); color: #fff; }

/* ========================= RESULTS ========================= */
.results-filters { display: flex; gap: 8px; margin-bottom: 24px; }
.chip {
  font-family: var(--font-body); font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 8px 14px; border-radius: var(--radius-pill);
  background: #fff; color: var(--fg-2); border: 1px solid var(--border-1);
  cursor: pointer;
  transition: background var(--dur-fast), color var(--dur-fast);
}
.chip:hover { color: var(--ink-1000); }
.chip.active { background: var(--ink-1000); color: #fff; border-color: var(--ink-1000); }

.results-table { width: 100%; border-collapse: collapse; }
.results-table th, .results-table td { padding: 16px 14px; text-align: left; border-bottom: 1px solid var(--border-1); }
.results-table th { font-family: var(--font-body); font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--fg-3); font-weight: 700; }
.results-table td.date { font-family: var(--font-mono); font-size: 13px; color: var(--fg-2); white-space: nowrap; }
.results-table td.event { font-family: var(--font-body); font-weight: 700; color: var(--ink-1000); font-size: 15px; }
.results-table td.event .city { display: block; font-family: var(--font-body); font-weight: 500; color: var(--fg-3); font-size: 12px; margin-top: 2px; }
.results-table td.division { font-size: 13px; color: var(--fg-2); }
.results-table td.record { font-family: var(--font-display); font-size: 24px; letter-spacing: 0.02em; }
.results-table tr:hover td { background: var(--ivory-50); }

.medal {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  border-radius: var(--radius-pill);
}
.medal.gold   { background: #C8A442; color: #0A0A0B; }
.medal.silver { background: #B8B8B8; color: #0A0A0B; }
.medal.bronze { background: #B07539; color: #fff; }
.medal.dnp    { background: var(--ink-100); color: var(--fg-3); }

.sample-note { font-family: var(--font-mono); font-size: 11px; color: var(--fg-3); margin-top: 18px; padding: 10px 14px; background: var(--ivory-100); border-left: 2px solid var(--crimson-600); }

/* === Event-grouped results =================================== */
.event-results { display: flex; flex-direction: column; gap: 16px; }

.event-result {
  background: #fff; border: 1px solid var(--border-1); border-radius: var(--radius-md);
  overflow: hidden;
}
.event-result header {
  display: flex; align-items: baseline; gap: 20px;
  padding: 18px 20px;
  background: var(--ivory-50);
  border-bottom: 1px solid var(--border-1);
}
.event-result .er-date {
  font-family: var(--font-mono); font-size: 12px; color: var(--fg-3);
  letter-spacing: 0.04em; white-space: nowrap;
}
.event-result .er-meta { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.event-result .er-meta h4 {
  margin: 0; font-family: var(--font-body); font-weight: 700;
  font-size: 17px; color: var(--ink-1000); letter-spacing: -0.005em;
}
.event-result .er-city {
  font-size: 12px; color: var(--fg-3); font-weight: 500;
}

.event-result ul {
  list-style: none; margin: 0; padding: 0;
}
.event-result li {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-1);
}
.event-result li:last-child { border-bottom: 0; }
.event-result li:hover { background: var(--ivory-50); }
.event-result .er-division {
  font-family: var(--font-body); font-size: 14px;
  color: var(--ink-900); font-weight: 600;
}
.event-result .er-record {
  font-family: var(--font-display); font-size: 24px; letter-spacing: 0.02em;
  color: var(--ink-1000);
}

/* === Year group headers in results ========================== */
.year-group { display: flex; flex-direction: column; gap: 16px; }

.year-group-header {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 20px;
  background: var(--ivory-100); border: 1px solid var(--border-1);
  border-radius: var(--radius-md);
  cursor: pointer; width: 100%; text-align: left;
  transition: background var(--dur-fast);
}
.year-group-header:hover { background: #fff; }
.year-label { font-family: var(--font-display); font-size: 22px; letter-spacing: 0.02em; text-transform: uppercase; color: var(--navy-700); font-weight: 400; line-height: 1; }
.year-count { font-family: var(--font-mono); font-size: 11px; color: var(--fg-3); letter-spacing: 0.04em; flex: 1; }
.year-chevron { color: var(--fg-3); transition: transform var(--dur-fast) var(--ease-out); flex-shrink: 0; }
.year-group-header.open .year-chevron { transform: rotate(180deg); }

/* ========================== EVENTS ========================= */
.events-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.event-card {
  background: #fff; border: 1px solid var(--border-1); border-radius: var(--radius-md);
  padding: 24px;
  display: flex; gap: 24px; align-items: flex-start;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
  cursor: pointer;
}
.event-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.event-date { font-family: var(--font-display); font-size: 15px; color: var(--crimson-600); text-transform: uppercase; letter-spacing: 0.06em; text-align: center; min-width: 64px; }
.event-date b { display: block; font-size: 44px; color: var(--ink-1000); line-height: 1; margin-top: 4px; font-weight: 400; }
.event-date small { display: block; font-family: var(--font-body); font-size: 11px; color: var(--fg-3); font-weight: 600; letter-spacing: 0.12em; margin-top: 4px; }
.event-body { flex: 1; }
.event-body h4 { margin: 0 0 8px; font-family: var(--font-body); font-weight: 700; font-size: 18px; color: var(--ink-1000); }
.event-body .meta-row { display: flex; gap: 14px; align-items: center; font-size: 12px; color: var(--fg-3); font-weight: 600; }
.event-body .meta-row span { display: inline-flex; align-items: center; gap: 6px; }
.event-body .badges { display: flex; gap: 6px; margin-top: 12px; }

.badge-pill { padding: 4px 10px; font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; border-radius: var(--radius-pill); }
.badge-gi   { background: #fff; color: var(--fg-1); border: 1px solid var(--border-1); }
.badge-nogi { background: var(--ink-1000); color: #fff; }
.badge-upcoming { background: var(--navy-100); color: var(--navy-800); }

/* ========================= COACHES ========================= */
.coaches-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.coach-card {
  background: #fff; border: 1px solid var(--border-1);
  border-radius: var(--radius-md); padding: 20px;
  text-decoration: none; color: inherit; display: block;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.coach-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.coach-avatar {
  width: 100%; aspect-ratio: 1 / 1;
  background: var(--navy-900);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  position: relative; overflow: hidden;
}
.coach-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.coach-belt {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--fg-3); margin: 4px 0 12px;
  letter-spacing: 0.02em;
}
.coach-name { margin: 0 0 4px; font-family: var(--font-body); font-weight: 700; font-size: 18px; color: var(--ink-1000); }
.coach-role { font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.coach-bio { font-size: 14px; line-height: 1.55; color: var(--fg-2); margin: 0; }

/* ========================= CONTACT ========================= */
.contact-shell { background: var(--navy-950); color: var(--fg-on-dark); padding: 96px 0; border-top: 0; }
.contact-shell .eyebrow { color: var(--crimson-500); }
.contact-shell h2 { color: #fff; }
.contact-shell .rule { background: var(--crimson-600); }
.contact-shell .section-head .lede { color: rgba(255,255,255,0.65); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; }
.contact-grid .info { color: rgba(255,255,255,0.85); }
.contact-grid .info dl { margin: 32px 0 0; }
.contact-grid .info dt { font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--crimson-500); margin: 24px 0 6px; }
.contact-grid .info dd { margin: 0; font-family: var(--font-body); font-size: 16px; color: #fff; }
.contact-grid .info dd a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.3); }

.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form .row-2 { grid-column: 1 / -1; }
.contact-form label { display: block; font-family: var(--font-body); font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.65); margin-bottom: 6px; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  background: transparent;
  border: 0; border-bottom: 1px solid rgba(255,255,255,0.25);
  color: #fff; font-family: var(--font-body); font-size: 15px;
  padding: 8px 0;
  transition: border-color var(--dur-fast);
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { outline: 0; border-bottom-color: var(--crimson-500); }
.contact-form select { appearance: none; cursor: pointer; }
.contact-form select option { color: #000; }
.contact-form textarea { min-height: 80px; resize: vertical; }
.contact-form .submit-row { grid-column: 1 / -1; display: flex; justify-content: flex-end; margin-top: 12px; }
.contact-form .turnstile-row { margin-top: 4px; }
.contact-form .form-error { font-size: 13px; color: #e57373; padding: 8px 0; }

.contact-success {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 260px; gap: 14px; text-align: center; padding: 56px 24px;
}
.contact-success .cs-icon {
  width: 54px; height: 54px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.22);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.9); margin-bottom: 6px;
}
.contact-success h3 {
  font-family: var(--font-display); font-size: clamp(20px, 3vw, 26px);
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-1); margin: 0;
}
.contact-success .cs-sub { font-size: 15px; color: rgba(255,255,255,0.65); margin: 0; }
.contact-success .cs-return {
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.3); margin-top: 10px;
}

.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(80px);
  background: var(--ink-1000); color: #fff;
  padding: 14px 24px; border-radius: var(--radius-md);
  font-family: var(--font-body); font-size: 13px; font-weight: 600;
  display: flex; align-items: center; gap: 10px;
  transition: transform var(--dur-base) var(--ease-out);
  z-index: 100;
  box-shadow: var(--shadow-lg);
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast .dot { width: 8px; height: 8px; border-radius: 999px; background: var(--crimson-500); }

/* ========================== FOOTER ========================= */
.footer { background: #000; color: rgba(255,255,255,0.7); padding: 48px 0; border-top: 0; }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-left { display: flex; align-items: center; gap: 18px; flex: 1 1 auto; min-width: 0; }
.footer img { height: 56px; width: 56px; object-fit: contain; border-radius: var(--radius-sm); flex-shrink: 0; }
.footer h5 { margin: 0; font-family: var(--font-display); font-size: 15px; color: #fff; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 400; line-height: 1.15; }
.footer p { margin: 4px 0 0; font-size: 12px; }
.footer-right { display: flex; gap: 18px; }
.footer-right a { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.footer-right a:hover { color: #fff; }

.footer-social { display: flex; align-items: center; gap: 14px; }
.footer-social-label { font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-right: 4px; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.85);
  transition: background var(--dur-fast), color var(--dur-fast), transform var(--dur-fast);
}
.footer-social a:hover { background: var(--crimson-600); color: #fff; transform: translateY(-1px); }
.footer-social a svg { width: 20px; height: 20px; }

/* lucide tweak */
[data-lucide] { stroke-width: 1.75; }

/* =============================================================
   SHOWCASE HERO — bold athletic-poster variant
   ============================================================= */
.hero-showcase { padding: 24px 0 64px; border-top: 0; }
.sc-wrap { max-width: 1360px; margin: 0 auto; padding: 0 24px; }

.sc-card {
  position: relative;
  min-height: 720px;
  border-radius: 28px;
  overflow: hidden;
  background: var(--navy-950);
  color: #fff;
  isolation: isolate;
}

/* Photo — full-bleed, duotone via blend modes */
.sc-photo {
  position: absolute; inset: 0;
  z-index: 0;
}
.sc-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 8%;
  /* Punch up contrast, push to monochrome, then luminosity over navy bg */
  filter: contrast(1.15) brightness(0.88) saturate(0.4);
  mix-blend-mode: luminosity;
}
.sc-card::before {
  /* Tone-mapped navy overlay so the photo unifies with brand color */
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse 120% 80% at 65% 30%, rgba(46, 91, 170, 0.55) 0%, transparent 60%),
    linear-gradient(180deg, transparent 0%, var(--navy-950) 92%);
  mix-blend-mode: normal;
  pointer-events: none;
}
.sc-card::after {
  /* Subtle vignette on edges */
  content: '';
  position: absolute; inset: 0; z-index: 2;
  background: radial-gradient(ellipse 100% 100% at 50% 50%, transparent 55%, rgba(6,15,31,0.45) 100%);
  pointer-events: none;
}

/* Stats column — top-left */
.sc-stats {
  position: absolute; top: 56px; left: 56px; z-index: 4;
  display: flex; flex-direction: column; gap: 22px;
}
.sc-stat-num {
  font-family: var(--font-display);
  font-size: 56px; line-height: 1;
  letter-spacing: 0.01em;
  color: #fff;
  text-shadow: 0 1px 0 rgba(0,0,0,0.2);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.sc-stat-lbl {
  font-family: var(--font-body);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-top: 4px;
}

/* Highlight pill — top right */
.sc-pill {
  position: absolute; top: 56px; right: 56px; z-index: 4;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px 10px 14px;
  background: var(--ink-1000);
  color: #fff;
  border-radius: var(--radius-pill);
  font-family: var(--font-body); font-size: 12px; font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: background var(--dur-fast), transform var(--dur-fast);
}
.sc-pill:hover { background: var(--crimson-700); transform: translateY(-1px); }
.sc-pill-dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--crimson-500);
  box-shadow: 0 0 0 0 rgba(201, 84, 99, 0.6);
  animation: scPulse 1.6s ease-in-out infinite;
}
@keyframes scPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 84, 99, 0.6); }
  50%      { box-shadow: 0 0 0 8px rgba(201, 84, 99, 0); }
}

/* Big name — bottom-left, overlapping photo */
.sc-name {
  position: absolute; bottom: 40px; left: 56px; z-index: 5;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(80px, 11vw, 184px);
  line-height: 0.82;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  font-weight: 400;
  color: #fff;
  pointer-events: none;
}
.sc-name span { display: block; }
.sc-name span:first-child { margin-bottom: 0.12em; }
.sc-name span:last-child { color: var(--crimson-500); }

/* Next events stack — right column */
.sc-events {
  position: absolute; top: 56px; right: 56px; z-index: 4;
  width: 300px;
  display: flex; flex-direction: column; gap: 12px;
  margin-top: 64px;
}
.sc-events header {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--ink-1000); color: #fff;
  border-radius: 16px;
  padding: 14px 16px;
}
.sc-events-title {
  display: flex; flex-direction: column;
  font-family: var(--font-body); font-weight: 700;
  font-size: 16px; line-height: 1.1;
  letter-spacing: -0.005em;
}
.sc-events-title span:last-child { color: rgba(255,255,255,0.55); font-weight: 600; }
.sc-events-go {
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.1);
  border: 0; border-radius: 999px;
  color: #fff; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background var(--dur-fast);
}
.sc-events-go:hover { background: var(--crimson-600); }

.sc-mini {
  background: rgba(255,255,255,0.96);
  color: var(--ink-1000);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex; flex-direction: column; gap: 8px;
  backdrop-filter: blur(8px);
  transition: transform var(--dur-base) var(--ease-out);
}
.sc-mini:hover { transform: translateY(-2px); }
.sc-mini-date {
  font-family: var(--font-body);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.04em;
  display: flex; gap: 6px;
}
.sc-mini-dow { color: var(--fg-3); }
.sc-mini-md { color: var(--ink-1000); }
.sc-mini-name {
  font-family: var(--font-body); font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.005em;
}
.sc-mini-meta {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  font-size: 11px; color: var(--fg-3); font-weight: 600;
}
.sc-mini-meta > span:first-child {
  min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.sc-mini-modes { display: inline-flex; gap: 4px; flex-shrink: 0; }
.sc-mode {
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body); font-weight: 700; font-size: 9px;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.sc-mode-gi   { background: var(--ivory-100); color: var(--ink-1000); }
.sc-mode-nogi { background: var(--ink-1000);  color: #fff; }

/* Socials — bottom-right corner */
.sc-social {
  position: absolute; bottom: 40px; right: 56px; z-index: 5;
  display: flex; gap: 8px;
}
.sc-social a {
  width: 36px; height: 36px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.9);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background var(--dur-fast), color var(--dur-fast), transform var(--dur-fast);
  backdrop-filter: blur(8px);
}
.sc-social a:hover { background: var(--crimson-600); color: #fff; transform: translateY(-1px); }
.sc-social a svg { width: 18px; height: 18px; }
.sc-social [data-lucide] { width: 18px; height: 18px; }

/* Sample-data note */
.sc-sample {
  position: absolute; left: 56px; bottom: 8px; z-index: 4;
  font-family: var(--font-mono); font-size: 10px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.04em;
}

/* Responsive (one breakpoint to keep this readable on narrow viewports) */
@media (max-width: 1100px) {
  .sc-stats  { top: 32px; left: 28px; gap: 18px; }
  .sc-stat-num { font-size: 44px; }
  .sc-pill   { top: 32px; right: 28px; }
  .sc-events { top: 32px; right: 28px; width: 260px; margin-top: 56px; }
  .sc-name   { left: 28px; bottom: 28px; }
  .sc-social { right: 28px; bottom: 28px; }
  .sc-sample { left: 28px; }
}

/* ==============================================================
   MOBILE / TABLET
   ============================================================== */

/* --- Global layout ------------------------------------------ */
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  section { padding: 56px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 32px; }
  .section-head > div:first-child { min-width: 0; }
  .section-head .lede { max-width: 100%; }
}

/* --- Nav ---------------------------------------------------- */
.nav-hamburger {
  display: none;
  background: transparent;
  border: 1px solid var(--border-1);
  border-radius: var(--radius-sm);
  padding: 8px;
  cursor: pointer;
  color: var(--fg-1);
  align-items: center;
  justify-content: center;
  line-height: 0;
}

@media (max-width: 768px) {
  .nav { padding: 14px 20px; }
  .nav-hamburger { display: flex; }
  .nav-right .btn-accent { display: none; }

  .nav-links {
    display: none;
    position: fixed;
    top: 69px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(250, 247, 240, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-1);
    padding: 8px 20px 20px;
    z-index: 49;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; font-size: 15px; border-bottom: 1px solid var(--border-1); }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-links a.active::after { display: none; }
}

/* --- HeroShowcase ------------------------------------------- */
@media (max-width: 700px) {
  .hero-showcase { padding: 12px 0 48px; }
  .sc-wrap { padding: 0 12px; }
  .sc-card { min-height: 540px; border-radius: 20px; }

  /* Stats: horizontal row across the top */
  .sc-stats { flex-direction: row; top: 20px; left: 20px; right: 20px; gap: 0; justify-content: space-between; }
  .sc-stat { text-align: center; }
  .sc-stat-num { font-size: 30px; }
  .sc-stat-lbl { font-size: 9px; }

  /* Pill and events sidebar: hidden — events section below handles scheduling */
  .sc-pill { display: none; }
  .sc-events { display: none; }

  /* Name and socials: tighter bottom anchors */
  .sc-name { left: 20px; bottom: 28px; }
  .sc-social { right: 20px; bottom: 28px; }
  .sc-sample { display: none; }
}

/* --- Results ------------------------------------------------ */
@media (max-width: 640px) {
  .event-result header { flex-wrap: wrap; gap: 4px 16px; }
  /* Wrap division to its own line; badge + record + medal flow below */
  .event-result li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 12px 16px; }
  .event-result .er-division { width: 100%; font-size: 13px; }
  .event-result .er-record { font-size: 20px; }
}

/* --- Events ------------------------------------------------- */
@media (max-width: 640px) {
  .events-grid { grid-template-columns: 1fr; }
}

/* --- Coaches ------------------------------------------------ */
@media (max-width: 900px) {
  .coaches-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .coaches-grid { grid-template-columns: 1fr; }
}

/* --- Contact ------------------------------------------------ */
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form .row-2 { grid-column: 1; }
  .contact-form .submit-row { grid-column: 1; justify-content: stretch; }
  .contact-form .submit-row .btn { width: 100%; justify-content: center; }
}

/* --- Footer ------------------------------------------------- */
@media (max-width: 640px) {
  .footer-grid { flex-direction: column; align-items: flex-start; gap: 28px; }
  .footer-social { order: -1; }
  .footer-right { flex-wrap: wrap; gap: 10px 18px; }
}
