/* World Junior League — site styles */
:root {
  --navy-900: #060f24;
  --navy-800: #0a1733;
  --navy-700: #112347;
  --navy-600: #1b3264;
  --gold: #f5ad1b;
  --gold-soft: #ffd27a;
  --orange: #ff5f14;
  --white: #ffffff;
  --ink: #e8edf7;
  --muted: #c3cde2;
  --line: rgba(255, 255, 255, 0.12);
  --radius: 18px;
  --display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; color-scheme: dark; }
body {
  margin: 0;
  background: var(--navy-800);
  background-image: radial-gradient(ellipse at 20% -10%, #1b2f5f 0%, transparent 55%),
    radial-gradient(ellipse at 100% 40%, #13254d 0%, transparent 50%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--gold); }
a:hover { color: var(--gold-soft); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--navy-900); padding: 8px 14px; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; }

/* ---------- Type ---------- */
h1, h2, h3, .display {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.02;
  color: var(--white);
  margin: 0 0 0.4em;
}
h1 { font-size: clamp(2.8rem, 8vw, 5.6rem); }
h2 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h3 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); }
.gold { color: var(--gold); }
.orange { color: var(--orange); }
.eyebrow {
  display: inline-block;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.lead { font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--ink); max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: 0.86rem; }
p { margin: 0 0 1em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 15, 36, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); }
.brand img { width: 42px; height: 50px; object-fit: contain; }
.brand span { white-space: nowrap; font-family: var(--display); font-size: 1.25rem; letter-spacing: 0.03em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { white-space: nowrap;
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.9rem;
  padding: 8px 12px; border-radius: 999px;
}
.nav a:hover { color: var(--white); background: rgba(255,255,255,0.07); }
.nav a[aria-current="page"] { color: var(--gold); }
.nav .btn { margin-left: 8px; }
.menu-toggle {
  display: none; background: none; border: 1px solid var(--line); color: var(--white);
  border-radius: 10px; padding: 8px 12px; font: 600 0.9rem var(--body); cursor: pointer;
}

@media (max-width: 1220px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-900); border-bottom: 1px solid var(--line);
    padding: 8px 16px 18px; display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 8px; border-radius: 8px; font-size: 1rem; }
  .nav .btn { margin: 10px 0 0; text-align: center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--display); font-size: 1.1rem; letter-spacing: 0.04em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  padding: 13px 26px; border-radius: 999px; border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: var(--navy-900); box-shadow: 0 6px 20px rgba(245, 173, 27, 0.25); }
.btn-gold:hover { background: var(--gold-soft); color: var(--navy-900); }
.btn-orange { background: var(--orange); color: var(--white); box-shadow: 0 6px 20px rgba(255, 95, 20, 0.3); }
.btn-orange:hover { background: #ff7a3a; color: var(--white); }
.btn-ghost { border-color: rgba(255,255,255,0.35); color: var(--white); background: transparent; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-sm { font-size: 0.95rem; padding: 9px 18px; }
.btn[disabled], .btn[aria-busy="true"] { opacity: 0.6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Sections ---------- */
section { padding: clamp(56px, 9vw, 104px) 0; }
.section-tight { padding: clamp(40px, 6vw, 64px) 0; }
.band-gold { background: var(--gold); color: var(--navy-900); }
.band-gold h1, .band-gold h2, .band-gold h3 { color: var(--navy-900); }
.band-gold .eyebrow { color: var(--navy-800); }
.band-dark { background: var(--navy-900); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.section-head { max-width: 760px; margin-bottom: 40px; }
.center.section-head, .section-head.center { margin-inline: auto; }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 7vw, 84px) 0 clamp(48px, 7vw, 90px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(3.2rem, 9.5vw, 7rem); line-height: 0.95; }
.hero .tagline { font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; font-size: clamp(0.9rem, 1.6vw, 1.1rem); margin-bottom: 18px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; }
.pills li {
  font-weight: 700; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase;
  border: 1px solid rgba(245,173,27,0.5); color: var(--ink); padding: 6px 12px; border-radius: 999px;
}
.hero-media { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; border-radius: 22px; }
.hero-media .tall { grid-row: span 2; aspect-ratio: 360 / 640; }
.hero-media .sq { aspect-ratio: 420 / 322; }
.hero-media::after {
  content: ""; position: absolute; inset: -12px -12px auto auto; width: 90px; height: 90px;
  border-radius: 50%; background: var(--gold); z-index: -1; filter: blur(40px); opacity: 0.45;
}

/* Event card */
.event-card {
  margin-top: clamp(36px, 6vw, 64px);
  background: var(--gold); color: var(--navy-900);
  border-radius: 28px; overflow: hidden;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px 32px;
  padding: 26px 32px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}
.event-card .big { font-family: var(--display); font-size: clamp(3rem, 7vw, 5rem); line-height: 0.9; }
.event-card .meta { font-family: var(--display); font-size: clamp(1.2rem, 2.6vw, 1.8rem); text-transform: uppercase; line-height: 1.15; }
.event-card .meta small { display: block; font-family: var(--body); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; margin-top: 6px; }
.event-card .btn-row .btn-ghost { border-color: var(--navy-900); color: var(--navy-900); }
.event-card .btn-row .btn-ghost:hover { background: var(--navy-900); color: var(--gold); }
.event-card .btn-dark { background: var(--navy-900); color: var(--gold); }
.event-card .btn-dark:hover { background: var(--navy-700); color: var(--gold-soft); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.stat {
  background: linear-gradient(160deg, var(--navy-700), var(--navy-800));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px;
}
.stat b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(2.4rem, 5vw, 3.2rem); color: var(--gold); line-height: 1; margin-bottom: 8px; }
.stat span { font-weight: 700; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); }
.band-gold .stat { background: var(--navy-800); }

/* ---------- Cards / grids ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background-color: var(--navy-700);
  background-image: linear-gradient(165deg, #16295a, var(--navy-800));
  color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
}
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.card-accent { border-color: rgba(245,173,27,0.55); }

.edition { display: grid; grid-template-columns: 0.9fr 1.1fr; overflow: hidden; padding: 0; }
.edition img { width: 100%; height: 100%; object-fit: cover; min-height: 220px; }
.edition .body { padding: 26px; position: relative; z-index: 1; background-color: var(--navy-700); background-image: linear-gradient(165deg, #16295a, var(--navy-800)); }
.edition .when { display: inline-block; background: var(--gold); color: var(--navy-900); font-weight: 800; padding: 4px 12px; border-radius: 6px; font-size: 0.85rem; letter-spacing: 0.06em; margin-bottom: 12px; }
.edition .views { float: right; font-family: var(--display); color: var(--gold); font-size: 1.3rem; }
.kv { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 12px 0; padding: 0; list-style: none; }
.kv li { font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; }
.kv b { font-family: var(--display); font-weight: 400; color: var(--orange); font-size: 1.5rem; margin-right: 4px; vertical-align: -2px; }

.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.feature-list li { border-left: 4px solid var(--gold); background: rgba(255,255,255,0.04); border-radius: 0 14px 14px 0; padding: 18px 20px; }
.feature-list li:nth-child(even) { border-left-color: var(--orange); }
.feature-list strong { display: block; color: var(--white); font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.92rem; margin-bottom: 4px; }
.feature-list span { color: var(--muted); font-size: 0.95rem; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }

/* Split media */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split img.rounded { border-radius: 24px; width: 100%; object-fit: cover; }

/* Founders */
.founders img { border-radius: 24px; width: 100%; }
.founder-names { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0; }
.founder-names div { border-top: 3px solid var(--gold); padding-top: 12px; }
.founder-names b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.7rem; text-transform: uppercase; color: var(--white); line-height: 1.05; }
.founder-names span { font-size: 0.85rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; }
.endorsed { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin-top: 20px; }
.endorsed .eyebrow { margin-bottom: 8px; }

/* Roadmap */
.roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: rm; }
.roadmap li { position: relative; background: var(--navy-700); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.roadmap li.now { background: var(--gold); color: var(--navy-900); border-color: var(--gold); }
.roadmap .age { font-family: var(--display); font-size: 2rem; text-transform: uppercase; line-height: 1; display: block; }
.roadmap .place { font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.85rem; display: block; margin-top: 10px; }
.roadmap .date { display: block; font-size: 0.92rem; }
.roadmap .tag { position: absolute; top: 16px; right: 16px; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: var(--navy-900); color: var(--gold); }
.roadmap li:not(.now) .tag { background: rgba(255,255,255,0.08); color: var(--muted); }

/* Format chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li { border: 2px solid var(--navy-900); border-radius: 999px; padding: 6px 14px; font-weight: 800; font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; }
.dark-chips li { border-color: rgba(245,173,27,0.6); color: var(--ink); }

/* Schedule */
.schedule { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; margin: 0; padding: 0; list-style: none; }
.schedule li { display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 16px; background: rgba(255,255,255,0.04); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; }
.schedule time { font-family: var(--display); font-size: 1.35rem; color: var(--navy-900); background: var(--gold); border-radius: 999px; text-align: center; padding: 4px 8px; }
.schedule li.final time { background: var(--orange); color: var(--white); }
.schedule span { font-weight: 600; }

/* Audience cards */
.audience { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.audience .card { display: flex; flex-direction: column; }
.audience .card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.audience .card .btn { margin-top: auto; align-self: flex-start; }
.audience .sub { color: var(--gold); font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.9rem; margin-bottom: 10px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 18px; padding: 0; list-style: none; }
.tags li { font-size: 0.8rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(245,173,27,0.12); color: var(--gold-soft); }

.callout { background: var(--gold); color: var(--navy-900); border-radius: var(--radius); padding: 22px 26px; }
.callout strong { font-weight: 800; }
.note { border: 1px dashed rgba(255,255,255,0.3); border-radius: 12px; padding: 14px 16px; color: var(--muted); font-size: 0.92rem; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, #c2410c, var(--orange)); }
.cta-panel { background: var(--navy-900); border-radius: 28px; padding: clamp(28px, 5vw, 56px); text-align: center; box-shadow: 0 30px 70px rgba(0,0,0,0.35); }
.cta-panel .btn-row { justify-content: center; margin-top: 24px; }

/* Page header (inner pages) */
.page-hero { padding: clamp(44px, 7vw, 80px) 0 clamp(28px, 4vw, 44px); }
.page-hero h1 { font-size: clamp(2.6rem, 7vw, 4.8rem); }

/* ---------- Forms ---------- */
.form-shell { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.form-aside { position: sticky; top: 92px; }
.form-card { background: var(--white); color: #13213f; border-radius: 22px; padding: clamp(22px, 4vw, 36px); box-shadow: 0 24px 60px rgba(0,0,0,0.3); }
.form-card h2 { color: var(--navy-800); font-size: clamp(1.7rem, 3.4vw, 2.3rem); }
.form-progress { display: flex; gap: 6px; margin: 0 0 22px; padding: 0; list-style: none; }
.form-progress li { flex: 1; font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: #7a8399; padding-top: 8px; border-top: 4px solid #dfe4ee; }
.form-progress li.done { border-top-color: var(--navy-600); color: var(--navy-600); }
.form-progress li.current { border-top-color: var(--gold); color: var(--navy-800); }
.field { margin-bottom: 18px; }
.field > label, .field > .label { display: block; font-weight: 700; font-size: 0.92rem; margin-bottom: 6px; color: #13213f; }
.req { color: #c2410c; margin-left: 2px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="url"],
.field input[type="number"], .field input[type="date"], .field input[type="time"], .field input[type="datetime-local"],
.field select, .field textarea {
  width: 100%; font: 500 1rem var(--body); color: #13213f;
  background: #f5f7fb; border: 1.5px solid #cfd6e4; border-radius: 12px; padding: 12px 14px;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-600); background: #fff; box-shadow: 0 0 0 4px rgba(27,50,100,0.15); }
.field [aria-invalid="true"] { border-color: #c2410c; background: #fff7f3; }
.field .help { font-size: 0.84rem; color: #5b6680; margin: 6px 0 0; }
.field .error { font-size: 0.85rem; color: #b42318; font-weight: 600; margin: 6px 0 0; }
.choice-group { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; }
.choice-group legend { font-weight: 700; font-size: 0.92rem; margin-bottom: 6px; color: #13213f; padding: 0; }
.choice { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; color: #13213f; cursor: pointer; padding: 10px 12px; border: 1.5px solid #dfe4ee; border-radius: 10px; background: #fafbfd; }
.choice:hover { border-color: #b8c2d6; }
.choice input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--navy-600); flex: none; }
.consent { font-size: 0.88rem; line-height: 1.5; }
.form-actions { display: flex; gap: 12px; justify-content: space-between; align-items: center; margin-top: 26px; flex-wrap: wrap; }
.form-actions .btn-gold { margin-left: auto; }
.form-actions .btn-back { background: none; border: 0; color: var(--navy-600); font: 700 0.95rem var(--body); cursor: pointer; padding: 8px 0; text-decoration: underline; }
.form-error { background: #fff1ec; border: 1px solid #f4b8a3; color: #8a1c08; border-radius: 12px; padding: 12px 14px; font-weight: 600; font-size: 0.92rem; margin-top: 16px; }
.form-loading { color: #5b6680; padding: 24px 0; }
.form-thanks h3 { color: var(--navy-800); }
.form-thanks p { color: #2a3654; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); border-top: 4px solid var(--gold); padding: 56px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.site-footer .brand img { width: 64px; height: 76px; }
.site-footer .brand span { font-size: 1.6rem; }
.site-footer h3 { font-size: 1.1rem; color: var(--gold); margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 20px; color: var(--muted); font-size: 0.85rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .split, .form-shell { grid-template-columns: 1fr; }
  .form-aside { position: static; }
  .grid-3, .audience, .feature-list, .roadmap { grid-template-columns: 1fr 1fr; }
  .event-card { grid-template-columns: 1fr; text-align: left; }
  .edition { grid-template-columns: 1fr; }
  /* iOS Safari resolves height:100% against the whole stacked card, so the photo covered the text */
  .edition img { height: auto; min-height: 0; aspect-ratio: 16 / 10; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .audience, .feature-list, .roadmap, .schedule { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .hero-media { grid-template-columns: 1fr 1fr; }
  .schedule li { grid-template-columns: 100px 1fr; }
  .founder-names { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .event-card { padding: 22px; }
  .form-progress li { font-size: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* File upload (player video) */
.field input[type="file"] { display:block; width:100%; padding:14px; border:2px dashed #c9d1e3; border-radius:10px; background:#f7f9fc; font:inherit; color:#13213f; cursor:pointer; }
.field input[type="file"]:hover, .field input[type="file"]:focus { border-color:#FF9600; outline:none; }
.field input[type="file"][aria-invalid="true"] { border-color:#c62828; }

/* Phones: no fixed background (breaks on iOS Safari), larger small print */
@media (max-width: 640px) {
  body { background-attachment: scroll; }
  .small, .card .small { font-size: 0.95rem; }
  .card p, .card li { line-height: 1.6; }
}

/* ---------- Countdown (WJL 2026 banner) ---------- */
.event-card .countdown { grid-column: 1 / -1; border-top: 2px solid rgba(6,15,36,0.18); padding-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.countdown-label { margin: 0; font-weight: 800; font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; }
.countdown-units { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.countdown-units li { background: var(--navy-900); color: var(--white); border-radius: 14px; min-width: 74px; padding: 10px 8px 8px; text-align: center; }
.countdown-units b { display: block; font-family: var(--display); font-weight: 400; font-size: 2.1rem; line-height: 1; color: var(--gold); font-variant-numeric: tabular-nums; }
.countdown-units span { display: block; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; margin-top: 4px; color: var(--ink); }
.countdown.is-live .countdown-label { font-size: 1.1rem; }
.countdown.is-live .countdown-label::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #d92d20; margin-right: 8px; vertical-align: 1px; animation: wjl-pulse 1.4s ease-in-out infinite; }
@keyframes wjl-pulse { 50% { opacity: 0.3; } }
@media (max-width: 640px) {
  .countdown-units { width: 100%; gap: 8px; }
  .countdown-units li { flex: 1; min-width: 0; padding: 9px 4px 7px; }
  .countdown-units b { font-size: 1.75rem; }
  .countdown-units span { font-size: 0.62rem; letter-spacing: 0.08em; }
}

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }
@media print { .reveal { opacity: 1 !important; transform: none !important; } }

/* ---------- Sticky "Register" bar (phones only) ---------- */
.sticky-cta { display: none; }
@media (max-width: 640px) {
  .sticky-cta {
    display: block; position: fixed; z-index: 60; left: 12px; right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    background: var(--gold); color: var(--navy-900); text-align: center; text-decoration: none;
    font-family: var(--display); font-size: 1.15rem; letter-spacing: 0.04em; text-transform: uppercase;
    padding: 15px 18px; border-radius: 999px; box-shadow: 0 10px 30px rgba(0,0,0,0.45);
    transform: translateY(160%); transition: transform 0.35s ease; pointer-events: none;
  }
  .sticky-cta.show { transform: none; pointer-events: auto; }
  .sticky-cta:hover, .sticky-cta:focus { color: var(--navy-900); }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .sticky-cta { transition: none; }
  .countdown.is-live .countdown-label::before { animation: none; }
}

/* ---------- Hero promo video ---------- */
.hero-video { position: relative; margin: 0; border-radius: 22px; overflow: hidden; background: var(--navy-900); box-shadow: 0 20px 50px rgba(0,0,0,0.4); }
.hero-video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.sound-toggle {
  position: absolute; left: 10px; bottom: 10px; border: 0; cursor: pointer;
  background: rgba(6,15,36,0.78); color: var(--white); font: 700 0.72rem var(--body); letter-spacing: 0.08em; text-transform: uppercase;
  padding: 8px 12px 8px 30px; border-radius: 999px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.sound-toggle::before { content: ""; position: absolute; left: 11px; top: 50%; width: 12px; height: 12px; margin-top: -6px;
  background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 9v6h4l5 4V5L7 9H3z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 9v6h4l5 4V5L7 9H3z'/%3E%3C/svg%3E") center/contain no-repeat; }
.sound-toggle[aria-pressed="true"] { background: var(--gold); color: var(--navy-900); }

/* ---------- Instagram feed ---------- */
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 900px; margin-inline: auto !important; gap: 12px; margin: 0; padding: 0; list-style: none; }
.ig-grid a { position: relative; display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--navy-700); }
.ig-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.ig-grid a:hover img, .ig-grid a:focus-visible img { transform: scale(1.05); }
.ig-reel { position: absolute; top: 8px; right: 8px; background: rgba(6,15,36,0.8); color: var(--white); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; }
@media (max-width: 640px) { .ig-grid { grid-template-columns: 1fr 1fr; gap: 8px; } }
@media (max-width: 640px) {
  .hero-media { grid-template-columns: 1fr; justify-items: center; }
  .hero-media .sq { display: none; }
  .hero-media .hero-video { width: min(100%, calc(72vh * 9 / 16)); }
  .hero-media::after { display: none; }
}

/* ---------- Team page ---------- */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; margin-bottom: 28px; }
.people-lg { grid-template-columns: repeat(2, 1fr); }
.person {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius);
  background-color: var(--navy-700); background-image: linear-gradient(165deg, #16295a, var(--navy-800));
  color: var(--ink);
}
.person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; display: block; border-bottom: 3px solid var(--gold); }
.people-lg .person { flex-direction: row; }
.people-lg .person img { width: 46%; flex: 0 0 46%; aspect-ratio: auto; height: auto; min-height: 380px; align-self: stretch; object-position: center 18%; border-bottom: 0; border-right: 3px solid var(--gold); }
.person-body { padding: 22px 24px 24px; }
.person-body .eyebrow { margin-bottom: 4px; }
.person h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.3rem); text-transform: uppercase; color: var(--white); line-height: 1.05; margin: 0 0 12px; }
.person-tags { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.person-tags li { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(245, 173, 27, 0.45); border-radius: 999px; padding: 4px 10px; }
.person p { margin: 0; }
.person p + p { margin-top: 10px; }
@media (max-width: 1100px) {
  .people-lg { grid-template-columns: 1fr; max-width: 820px; }
  .people-lg .person img { width: 40%; flex-basis: 40%; min-height: 420px; }
}
@media (max-width: 560px) {
  .people-lg .person { flex-direction: column; }
  .people-lg .person img { width: 100%; flex: none; height: auto; min-height: 0; aspect-ratio: 4 / 5; max-height: 440px; object-position: center 15%; border-right: 0; border-bottom: 3px solid var(--gold); }
}
.on-ground { margin-top: 44px; }
.on-ground h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.2rem); text-transform: uppercase; color: var(--white); margin: 0 0 6px; }
.on-ground-grid {
  display: grid; grid-template-columns: 1.75fr 1fr; grid-template-rows: 1fr 1fr;
  gap: 14px; margin-top: 22px; height: clamp(380px, 38vw, 500px);
}
.on-ground-grid figure { position: relative; margin: 0; overflow: hidden; border-radius: 18px; border: 1px solid var(--line); background: var(--navy-900); }
.on-ground-grid .og-main { grid-row: 1 / 3; border-bottom: 3px solid var(--gold); }
.on-ground-grid img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; display: block; transition: transform 0.6s ease; }
.on-ground-grid .og-main img { object-position: center 30%; }
.on-ground-grid figure:hover img { transform: scale(1.04); }
.on-ground-grid figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 16px 12px;
  background: linear-gradient(transparent, rgba(6, 15, 36, 0.92));
  color: var(--white); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.on-ground-grid .og-main figcaption { font-size: 0.85rem; padding: 40px 20px 16px; }
@media (max-width: 760px) {
  .on-ground-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; height: auto; }
  .on-ground-grid .og-main { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 10; }
  .on-ground-grid figure:not(.og-main) { aspect-ratio: 4 / 5; }
}
@media (prefers-reduced-motion: reduce) { .on-ground-grid figure:hover img { transform: none; } }
