/* ==========================================================================
   Inland Empire Youth Futsal League — styles
   Palette pulled from the crest: midnight navy, court blue, sun gold, snow.
   ========================================================================== */
:root {
  --navy-900: #071226;
  --navy-800: #0B1B33;
  --navy-700: #132A4D;
  --blue-600: #1E56AA;
  --blue-500: #2F6FD0;
  --blue-300: #8DB4EC;
  --sky-100: #E8F0FB;
  --gold-500: #F5B82E;
  --gold-400: #FFC94D;
  --gold-600: #D99A12;
  --white: #FFFFFF;
  --slate-50: #F7F9FC;
  --slate-100: #EEF2F7;
  --slate-300: #CBD5E1;
  --slate-500: #64748B;
  --slate-700: #334155;
  --ink: #0B1B33;
  --danger: #D93A3A;
  --success: #1F9D63;

  --font-display: "Anton", "Impact", "Arial Narrow Bold", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 6px rgba(7, 18, 38, .08);
  --shadow: 0 10px 30px rgba(7, 18, 38, .12);
  --shadow-lg: 0 24px 60px rgba(7, 18, 38, .22);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--slate-50);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3 { line-height: 1.1; margin: 0 0 .5em; }
p { margin: 0 0 1em; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--gold-500); color: var(--navy-900); padding: 8px 14px; border-radius: 8px; z-index: 1000; font-weight: 700; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; border-radius: 6px; }

.text-gold { color: var(--gold-500); }
.eyebrow {
  font-weight: 800; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-600); margin: 0 0 .9rem;
}

/* ---------- Motto ---------- */
.motto {
  display: inline-flex; align-items: center; gap: .7em; margin: 0;
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .12em; color: var(--gold-500);
}
.motto i { width: .45em; height: .45em; background: currentColor; transform: rotate(45deg); display: inline-block; }
.motto-lg { font-size: clamp(1.2rem, 2.4vw, 1.6rem); margin-bottom: 1.2rem; }
.motto-sm { font-size: .95rem; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--navy-800); --btn-fg: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.4em; border-radius: 999px; border: 2px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 800; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s;
  position: relative; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 1em 1.8em; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-gold { --btn-bg: var(--gold-500); --btn-fg: var(--navy-900); box-shadow: 0 6px 20px rgba(245, 184, 46, .35); }
.btn-gold:hover { --btn-bg: var(--gold-400); }
.btn-ghost { --btn-bg: rgba(255,255,255,.06); --btn-fg: var(--white); border-color: rgba(255,255,255,.4); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--white); --btn-bg: rgba(255,255,255,.14); }
.btn-outline { --btn-bg: transparent; --btn-fg: var(--navy-800); border-color: var(--navy-800); }
.btn-outline:hover { --btn-bg: var(--navy-800); --btn-fg: var(--white); }
.btn-light { --btn-bg: var(--white); --btn-fg: var(--navy-800); }

.text-link { color: var(--blue-600); font-weight: 700; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .25s var(--ease); }
.text-link:hover { background-size: 100% 2px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(11, 27, 51, .82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background .3s, box-shadow .3s;
}
.site-header.is-scrolled { background: rgba(7, 18, 38, .96); box-shadow: 0 6px 24px rgba(0,0,0,.25); }
.nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); min-width: 0; }
.brand img { width: 52px; height: 52px; filter: drop-shadow(0 2px 6px rgba(0,0,0,.35)); transition: transform .3s var(--ease); }
.brand:hover img { transform: rotate(-6deg) scale(1.05); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; letter-spacing: .04em; text-transform: uppercase; }
.brand-text small { font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-500); }

.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a {
  color: rgba(255,255,255,.85); text-decoration: none; font-weight: 700; font-size: .92rem; letter-spacing: .03em;
  padding: .55em 1em; border-radius: 999px; transition: color .2s, background .2s; position: relative;
}
.site-nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 1em; right: 1em; bottom: .25em; height: 2px; background: var(--gold-500);
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.site-nav a:hover { color: var(--white); }
.site-nav a:hover::after, .site-nav a.is-active::after { transform: scaleX(1); }
.site-nav a.is-active { color: var(--white); }
.site-nav .nav-cta { background: var(--gold-500); color: var(--navy-900); margin-left: 8px; }
.site-nav .nav-cta:hover, .site-nav .nav-cta.is-active { background: var(--gold-400); color: var(--navy-900); }

.nav-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: rgba(255,255,255,.08); cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle span:nth-child(1) { top: 15px; } .nav-toggle span:nth-child(2) { top: 21px; } .nav-toggle span:nth-child(3) { top: 27px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px;
    padding: 16px; background: var(--navy-900); border-bottom: 1px solid rgba(255,255,255,.08);
    transform: translateY(-110%); opacity: 0; pointer-events: none; transition: transform .35s var(--ease), opacity .25s; z-index: -1;
  }
  .nav-open .site-nav { transform: none; opacity: 1; pointer-events: auto; }
  .site-nav a { padding: .9em 1em; font-size: 1.05rem; border-radius: 12px; }
  .site-nav a:not(.nav-cta)::after { display: none; }
  .site-nav a.is-active { background: rgba(255,255,255,.06); }
  .site-nav .nav-cta { margin: 6px 0 0; text-align: center; }
}
@media (max-width: 420px) { .brand-text strong { font-size: 1.1rem; } .brand-text small { font-size: .58rem; } .brand img { width: 44px; height: 44px; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background: radial-gradient(1200px 600px at 75% 10%, rgba(47,111,208,.45), transparent 60%),
              linear-gradient(180deg, var(--navy-800) 0%, var(--navy-900) 100%);
  margin-top: calc(var(--header-h) * -1); padding: calc(var(--header-h) + 72px) 0 96px;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-mountains { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 45%; }
.hero-sun {
  position: absolute; width: 520px; height: 520px; right: 8%; top: 12%; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,184,46,.35) 0%, rgba(245,184,46,0) 65%); filter: blur(10px);
}
.hero-court {
  position: absolute; left: -10%; right: -10%; bottom: -40%; height: 80%;
  border: 2px solid rgba(141,180,236,.18); border-radius: 50% 50% 0 0 / 30% 30% 0 0;
  transform: perspective(600px) rotateX(55deg);
  background:
    radial-gradient(circle at 50% 50%, transparent 0 90px, rgba(141,180,236,.18) 91px 93px, transparent 94px),
    linear-gradient(90deg, transparent calc(50% - 1px), rgba(141,180,236,.18) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px));
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 48px; }
.hero-title {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: .01em;
  font-size: clamp(2.6rem, 6.2vw, 5.2rem); line-height: .98; margin-bottom: 1.2rem; text-wrap: balance;
  text-shadow: 0 4px 30px rgba(0,0,0,.35);
}
.hero .eyebrow { color: var(--gold-500); }
.hero-lede { font-size: 1.15rem; color: rgba(255,255,255,.82); max-width: 34em; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-badge { display: grid; place-items: center; }
.hero-badge img { width: min(100%, 500px); height: auto; filter: drop-shadow(0 30px 50px rgba(0,0,0,.45)); animation: float 6s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-12px) rotate(.6deg); } }

@media (max-width: 960px) {
  .hero { padding: calc(var(--header-h) + 40px) 0 72px; text-align: center; }
  .hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .hero-badge { order: -1; }
  .hero-badge img { width: min(70vw, 320px); }
  .hero-lede { margin-inline: auto; }
  .hero-actions { justify-content: center; }
}
@media (max-width: 480px) { .hero-actions .btn { width: 100%; } }

/* ---------- Quick links ---------- */
.quick-links { position: relative; margin-top: -44px; z-index: 2; }
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quick-card {
  display: flex; align-items: center; gap: 16px; padding: 20px 22px; background: var(--white); border-radius: var(--radius);
  text-decoration: none; box-shadow: var(--shadow); border: 1px solid var(--slate-100);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.quick-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gold-500); }
.quick-icon { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--navy-800); color: var(--gold-500); }
.quick-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.quick-text { display: flex; flex-direction: column; min-width: 0; }
.quick-text strong { font-size: 1.05rem; }
.quick-text small { color: var(--slate-500); font-size: .9rem; }
.quick-arrow { margin-left: auto; font-size: 1.3rem; color: var(--blue-600); transition: transform .25s var(--ease); }
.quick-card:hover .quick-arrow { transform: translateX(4px); }
@media (max-width: 860px) { .quick-grid { grid-template-columns: 1fr; } }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-title { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(2rem, 4.4vw, 3.2rem); letter-spacing: .01em; }
.section-sub { color: var(--slate-500); font-size: 1.1rem; margin: 0; }
@media (max-width: 640px) { .section { padding: 72px 0; } }

/* ---------- Pillars ---------- */
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar {
  position: relative; padding: 32px 28px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--slate-100);
  box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s;
}
.pillar::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: linear-gradient(90deg, var(--blue-600), var(--gold-500)); }
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pillar-num { font-family: var(--font-display); font-size: 3.4rem; color: var(--sky-100); position: absolute; right: 22px; top: 10px; line-height: 1; }
.pillar h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.9rem; color: var(--navy-800); letter-spacing: .03em; position: relative; }
.pillar p { color: var(--slate-700); margin: 0; position: relative; }
@media (max-width: 860px) { .pillar-grid { grid-template-columns: 1fr; } }

/* ---------- Announcements ---------- */
.announcements { background: linear-gradient(180deg, var(--white), var(--slate-50)); }
.announce-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.announce-card {
  display: flex; flex-direction: column; padding: 28px; border-radius: var(--radius-lg); background: var(--white);
  border: 1px solid var(--slate-100); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s;
}
.announce-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.announce-card.is-featured { background: linear-gradient(160deg, var(--navy-800), var(--navy-700)); color: var(--white); border-color: transparent; }
.announce-card.is-featured p { color: rgba(255,255,255,.8); }
.announce-card.is-featured .text-link { color: var(--gold-500); }
.announce-card.is-featured time { color: rgba(255,255,255,.55); }
.announce-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.tag { display: inline-block; padding: .35em .8em; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; background: var(--gold-500); color: var(--navy-900); }
.announce-card:not(.is-featured) .tag { background: var(--sky-100); color: var(--blue-600); }
time { font-size: .82rem; color: var(--slate-500); font-weight: 600; }
.club-mark {
  width: 76px; height: 76px; border-radius: 20px; display: grid; place-items: center; margin-bottom: 18px;
  font-family: var(--font-display); font-size: 1.5rem; letter-spacing: .05em; color: var(--navy-900);
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); box-shadow: 0 10px 24px rgba(245,184,46,.3);
}
.club-mark--logo { width: 96px; height: 96px; padding: 3px; overflow: hidden; }
.club-mark--logo img { width: 100%; height: 100%; object-fit: contain; object-position: center; border-radius: 17px; background: #000; display: block; }
.announce-card h3 { font-size: 1.35rem; font-weight: 800; }
.announce-card p { color: var(--slate-700); flex: 1; }
@media (max-width: 960px) { .announce-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .announce-grid { grid-template-columns: 1fr; } }

/* ---------- Gallery ---------- */
.gallery-grid { columns: 3 280px; column-gap: 16px; }
.gallery-item { break-inside: avoid; margin: 0 0 16px; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); background: var(--navy-800); }
.gallery-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gallery-item img { width: 100%; height: auto; transition: transform .6s var(--ease), opacity .3s; }
.gallery-item:hover img { transform: scale(1.05); opacity: .9; }
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px; pointer-events: none;
  background: linear-gradient(transparent, rgba(7,18,38,.85)); color: var(--white); font-weight: 700; font-size: .95rem;
  transform: translateY(8px); opacity: 0; transition: .3s var(--ease);
}
.gallery-item:hover figcaption, .gallery-item:focus-within figcaption { transform: none; opacity: 1; }
@media (hover: none) { .gallery-item figcaption { transform: none; opacity: 1; } }

.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(4,10,22,.94); display: grid; place-items: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); text-align: center; }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox figcaption { color: var(--white); margin-top: 14px; font-weight: 700; }
.lightbox-close, .lightbox-nav { position: absolute; border: 0; background: rgba(255,255,255,.1); color: var(--white); width: 52px; height: 52px; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer; transition: background .2s; }
.lightbox-close:hover, .lightbox-nav:hover { background: var(--gold-500); color: var(--navy-900); }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-nav.prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-nav.next { right: 20px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lightbox-nav { top: auto; bottom: 20px; transform: none; } .lightbox-nav.prev { left: calc(50% - 64px); } .lightbox-nav.next { right: calc(50% - 64px); } }

/* ---------- Instagram band ---------- */
.ig-band { background: linear-gradient(110deg, #3A2A8C 0%, #A3287A 45%, #E9562F 80%, #F5B82E 100%); color: var(--white); padding: 44px 0; }
.ig-inner { display: flex; align-items: center; gap: 24px; }
.ig-icon { flex: none; width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: rgba(255,255,255,.18); }
.ig-icon .icon-ig { width: 34px; height: 34px; }
.ig-copy h2 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0 0 4px; letter-spacing: .02em; }
.ig-copy p { margin: 0; opacity: .9; }
.ig-inner .btn { margin-left: auto; }
@media (max-width: 760px) { .ig-inner { flex-direction: column; text-align: center; } .ig-inner .btn { margin: 0; } }

/* ---------- CTA band ---------- */
.cta-band { padding: 80px 0; }
.cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  padding: 48px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--slate-100); box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.cta-inner::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; border: 3px solid var(--sky-100); pointer-events: none; }
.cta-inner .section-title { margin-bottom: .3em; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }
@media (max-width: 640px) { .cta-inner { padding: 32px 24px; text-align: center; justify-content: center; } .cta-actions { justify-content: center; width: 100%; } .cta-actions .btn { width: 100%; } }

/* ---------- Sponsors ---------- */
.sponsors { background: var(--white); border-top: 1px solid var(--slate-100); }
.sponsor-grid { list-style: none; padding: 0; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; max-width: 1040px; }
.sponsor {
  display: grid; place-items: center; aspect-ratio: 16 / 7; padding: 16px 20px; border-radius: var(--radius); background: var(--slate-50);
  border: 1px solid var(--slate-100); transition: transform .25s var(--ease), box-shadow .25s, background .25s;
}
.sponsor a { display: grid; place-items: center; width: 100%; height: 100%; }
.sponsor img { max-height: 72px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .3s, opacity .3s; }
.sponsor:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); background: var(--white); }
.sponsor:hover img { filter: none; opacity: 1; }
.sponsor-cta { text-align: center; margin: 36px 0 0; color: var(--slate-500); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.75); padding: 64px 0 24px; border-top: 4px solid var(--gold-500); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; align-items: start; }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand img { width: 88px; height: 88px; }
.footer-title { font-family: var(--font-display); text-transform: uppercase; color: var(--white); font-size: 1.3rem; margin: 0 0 6px; letter-spacing: .03em; line-height: 1.1; }
.footer-links { display: grid; gap: 8px; }
.footer-links a, .footer-social a { text-decoration: none; transition: color .2s; }
.footer-links a:hover, .footer-social a:hover { color: var(--gold-500); }
.footer-social { display: grid; gap: 10px; }
.ig-link { display: inline-flex; align-items: center; gap: 10px; color: var(--white); font-weight: 700; }
.ig-link .icon-ig { width: 22px; height: 22px; }
.mail-link { font-size: .9rem; word-break: break-all; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); font-size: .85rem; }
.footer-bottom p { margin: 0; }
.to-top { text-decoration: none; color: var(--gold-500); font-weight: 700; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  color: var(--white); text-align: center; margin-top: calc(var(--header-h) * -1); padding: calc(var(--header-h) + 72px) 0 120px;
  background: radial-gradient(900px 400px at 50% 0%, rgba(47,111,208,.45), transparent 70%), linear-gradient(180deg, var(--navy-800), var(--navy-900));
}
.page-hero .eyebrow { color: var(--gold-500); }
.page-hero .section-sub { color: rgba(255,255,255,.78); max-width: 620px; margin-inline: auto; }
.page-title { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(2.6rem, 6vw, 4.4rem); }
.page-404 { padding-bottom: 140px; min-height: 70vh; }
.page-404 .hero-actions { justify-content: center; margin-top: 28px; }

/* ---------- Contact ---------- */
.contact-section { padding-top: 0; }
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; margin-top: -72px; position: relative; }
.form-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 40px; border: 1px solid var(--slate-100); }
.form-title { font-size: 1.5rem; font-weight: 800; margin-bottom: 24px; }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 6px; color: var(--navy-800); }
.field label span { color: var(--gold-600); }
.field label .optional { color: var(--slate-500); font-weight: 500; }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--slate-50); border: 2px solid var(--slate-100); border-radius: var(--radius-sm);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: #9AA8BC; }
.field input:hover, .field textarea:hover { border-color: var(--slate-300); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); background: var(--white); box-shadow: 0 0 0 4px rgba(47,111,208,.15); }
.field-error { color: var(--danger); font-size: .85rem; font-weight: 600; margin: 6px 0 0; min-height: 0; }
.field-error:empty { display: none; }
.has-error input, .has-error textarea { border-color: var(--danger); background: #FFF6F6; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 14px 0 0; font-size: .9rem; color: var(--danger); font-weight: 600; text-align: center; }

.btn .spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 3px solid rgba(7,18,38,.25); border-top-color: var(--navy-900); animation: spin .7s linear infinite; }
.btn.is-loading { pointer-events: none; }
.btn.is-loading .spinner { display: inline-block; }
.btn.is-loading .btn-label { opacity: .7; }
@keyframes spin { to { transform: rotate(360deg); } }

.thanks { text-align: center; padding: 24px 8px; }
.thanks[hidden] { display: none; }
.thanks.is-visible { animation: pop .5s var(--ease) both; }
.thanks h2 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(2rem, 4vw, 2.8rem); margin-top: 16px; }
.thanks p { color: var(--slate-700); font-size: 1.1rem; }
.thanks .thanks-sub { color: var(--slate-500); font-size: .98rem; }
.thanks-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.thanks-check svg { width: 92px; height: 92px; margin: 0 auto; fill: none; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.thanks-check circle { stroke: var(--gold-500); stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw .6s .1s var(--ease) forwards; }
.thanks-check path { stroke: var(--navy-800); stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .4s .55s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.96) translateY(8px); } to { opacity: 1; transform: none; } }

.contact-aside { display: grid; gap: 16px; align-content: start; }
.aside-card { background: var(--white); border-radius: var(--radius-lg); padding: 26px; border: 1px solid var(--slate-100); box-shadow: var(--shadow-sm); }
.aside-card h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 6px; }
.aside-card p { color: var(--slate-500); margin-bottom: 0; word-break: break-word; }
.ig-card { background: linear-gradient(140deg, #3A2A8C, #A3287A 55%, #E9562F); color: var(--white); border: 0; }
.ig-card p { color: rgba(255,255,255,.85); margin-bottom: 18px; }
.ig-card .ig-icon { margin-bottom: 14px; width: 54px; height: 54px; border-radius: 16px; }
.ig-card .ig-icon .icon-ig { width: 28px; height: 28px; }
.aside-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.aside-links a { text-decoration: none; font-weight: 700; color: var(--blue-600); }
.aside-links a:hover { color: var(--navy-800); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-card { padding: 26px 20px; } .field-row { grid-template-columns: 1fr; gap: 0; } }

/* ---------- Schedules & Scores ---------- */
.sched-hero { padding-bottom: 136px; }

.sched-section { padding-top: 0; padding-bottom: 24px; }
.sched-panel {
  margin-top: -80px; position: relative; background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); border: 1px solid var(--slate-100); padding: 12px 32px 28px;
}
.sched-toolbar {
  position: sticky; top: var(--header-h); z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 16px 0; margin-bottom: 8px; background: var(--white); border-bottom: 1px solid var(--slate-100);
}
.sched-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--slate-100); }
.sched-tab {
  border: 0; background: transparent; color: var(--slate-700); padding: .6em 1.3em; border-radius: 999px; cursor: pointer;
  font-weight: 800; font-size: .88rem; letter-spacing: .04em; text-transform: uppercase; transition: background .2s, color .2s, box-shadow .2s;
}
.sched-tab:hover { color: var(--navy-800); }
.sched-tab.is-active { background: var(--navy-800); color: var(--white); box-shadow: var(--shadow-sm); }
.sched-filter { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.sched-filter-label { font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--slate-500); margin-right: 4px; }
.chip {
  border: 2px solid var(--slate-100); background: var(--white); color: var(--navy-800); padding: .35em .95em; border-radius: 999px;
  font-weight: 700; font-size: .88rem; cursor: pointer; transition: border-color .2s, background .2s, color .2s;
}
.chip:hover { border-color: var(--gold-500); }
.chip.is-active { background: var(--gold-500); border-color: var(--gold-500); color: var(--navy-900); }

.js .sched-view:not(.is-active) { display: none; }
.sched-view { padding-top: 12px; }
.sched-view-title { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.6rem; letter-spacing: .02em; margin: 12px 0 4px; }
.js .sched-view-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.day-group { display: grid; grid-template-columns: 112px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--slate-100); }
.day-group:last-of-type { border-bottom: 0; }
.day-head { margin: 0; display: flex; flex-direction: column; align-items: flex-start; position: sticky; top: calc(var(--header-h) + 84px); align-self: start; }
.day-dow { font-size: .75rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-600); }
.day-date { font-family: var(--font-display); font-weight: 400; font-size: 1.9rem; line-height: 1; text-transform: uppercase; color: var(--navy-800); }
.day-full { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.match-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.match {
  display: grid; grid-template-columns: 92px 1fr auto; align-items: center; gap: 16px; padding: 14px 18px;
  border-radius: var(--radius); background: var(--slate-50); border: 1px solid var(--slate-100);
  transition: border-color .2s, box-shadow .2s, transform .2s var(--ease);
}
.match:hover { border-color: var(--gold-500); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.match-time { font-weight: 800; font-size: .95rem; color: var(--navy-800); font-variant-numeric: tabular-nums; }
.match-teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; min-width: 0; }
.match-team { display: flex; align-items: center; gap: 10px; min-width: 0; font-weight: 700; }
.match-team span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.match-team--away { justify-content: flex-end; text-align: right; }
.match-vs { font-family: var(--font-display); font-size: .95rem; text-transform: uppercase; color: var(--slate-500); letter-spacing: .08em; }
.match-meta { display: flex; align-items: center; gap: 10px; justify-content: flex-end; }
.match-venue { font-size: .85rem; color: var(--slate-500); font-weight: 600; white-space: nowrap; }
.tag-soft { background: var(--sky-100); color: var(--blue-600); }

.crest { flex: none; width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: var(--navy-900); box-shadow: 0 0 0 2px var(--white), 0 0 0 3px var(--slate-100); }
.crest-sm { width: 28px; height: 28px; }
.crest-initials {
  display: grid; place-items: center; font-family: var(--font-display); font-size: .85rem; letter-spacing: .04em;
  color: var(--gold-500); background: linear-gradient(140deg, var(--navy-700), var(--navy-900));
}
.crest-sm.crest-initials { font-size: .72rem; }

.match--result .status { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--slate-500); }
.scoreline { display: flex; align-items: center; gap: 8px; padding: .25em .8em; border-radius: 12px; background: var(--navy-800); color: rgba(255,255,255,.65); font-family: var(--font-display); font-size: 1.5rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.scoreline i { font-style: normal; color: rgba(255,255,255,.4); }
.scoreline .is-winner { color: var(--gold-500); }
.match-team.is-winner { color: var(--navy-900); }
.match--result .match-team:not(.is-winner) { color: var(--slate-700); font-weight: 600; }

.standings-block { padding: 20px 0; }
.standings-block + .standings-block { border-top: 1px solid var(--slate-100); }
.standings-title { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.6rem; color: var(--navy-800); margin-bottom: 14px; }
.standings-title small { font-family: var(--font-body); font-size: .72rem; font-weight: 800; letter-spacing: .16em; color: var(--gold-600); margin-left: 6px; vertical-align: middle; }
.table-scroll { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--slate-100); }
.standings { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; min-width: 600px; }
.standings th, .standings td { padding: 12px 10px; text-align: center; border-bottom: 1px solid var(--slate-100); font-size: .95rem; }
.standings thead th { background: var(--navy-800); color: rgba(255,255,255,.8); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.standings abbr { text-decoration: none; cursor: help; }
.standings tbody tr:last-child > * { border-bottom: 0; }
.standings tbody tr:nth-child(even) { background: var(--slate-50); }
.standings tbody tr:hover { background: #FFF8E6; }
.standings .col-rank { width: 44px; color: var(--slate-500); font-weight: 700; }
.standings .col-team { text-align: left; font-weight: 700; }
.standings thead .col-team { text-align: left; }
.standings .col-pts { font-weight: 800; color: var(--navy-900); }
.standings thead .col-pts { color: var(--gold-500); }
.standings tbody tr:first-child .col-rank { color: var(--gold-600); }
.team-cell { display: inline-flex; align-items: center; gap: 10px; }

.sched-empty { text-align: center; padding: 48px 16px; color: var(--slate-500); }
.sched-empty img { width: 80px; height: 80px; margin: 0 auto 14px; opacity: .9; }
.sched-empty h2, .sched-empty h3 { color: var(--navy-800); font-size: 1.3rem; font-weight: 800; margin-bottom: 6px; }
.sched-empty p { margin: 0 auto; max-width: 440px; }
.sched-empty[hidden], .match[hidden], .day-group[hidden], .standings-block[hidden] { display: none; }
.sched-error { padding: 56px 24px; }
.sched-error h2 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
.sched-error p { margin-bottom: 20px; }

.sched-foot { margin: 20px 0 0; padding-top: 18px; border-top: 1px solid var(--slate-100); text-align: center; font-size: .85rem; color: var(--slate-500); }

@media (max-width: 860px) {
  .sched-panel { padding: 4px 18px 22px; }
  .sched-toolbar { flex-direction: column; align-items: stretch; }
  .sched-tabs { display: flex; }
  .sched-tab { flex: 1; padding-inline: .6em; }
  .day-group { grid-template-columns: 1fr; gap: 12px; }
  .day-head { position: static; flex-direction: row; align-items: baseline; gap: 10px; }
  .match { grid-template-columns: 1fr; gap: 10px; }
  .match-time { display: flex; justify-content: space-between; }
  .match-meta { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .sched-toolbar { position: static; }
  .match-teams { grid-template-columns: 1fr; gap: 8px; }
  .match-team--away { justify-content: flex-start; text-align: left; flex-direction: row-reverse; }
  .match-vs { display: none; }
  .scoreline { justify-self: start; }
}

/* ---------- Transition / hand-off ---------- */
.page-veil {
  position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; pointer-events: none; opacity: 0;
  background: radial-gradient(800px 400px at 50% 30%, rgba(47,111,208,.4), transparent 70%), var(--navy-900);
  transition: opacity .35s var(--ease);
}
.page-veil img { width: 120px; height: 120px; transform: scale(.85); transition: transform .5s var(--ease); }
.is-leaving .page-veil { opacity: 1; pointer-events: auto; }
.is-leaving .page-veil img { transform: scale(1); }

.page-transition {
  min-height: 100vh; display: grid; place-items: center; color: var(--white);
  background: radial-gradient(800px 400px at 50% 30%, rgba(47,111,208,.4), transparent 70%), var(--navy-900);
  animation: fade-in .35s var(--ease) both;
}
.handoff { text-align: center; padding: 32px 16px; max-width: 560px; }
.handoff-logo { width: 180px; height: 180px; margin: 0 auto 24px; animation: pulse 1.6s ease-in-out infinite; filter: drop-shadow(0 20px 40px rgba(0,0,0,.4)); }
.handoff .eyebrow { color: var(--gold-500); }
.handoff-title { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.6rem, 4vw, 2.4rem); letter-spacing: .01em; margin-bottom: 28px; }
.handoff-bar { height: 6px; width: min(320px, 80vw); margin: 0 auto 24px; border-radius: 999px; background: rgba(255,255,255,.12); overflow: hidden; }
.handoff-bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--blue-500), var(--gold-500)); animation: load 1.1s var(--ease) forwards; }
.handoff-note { color: rgba(255,255,255,.7); font-size: .95rem; }
.handoff-note .text-link { color: var(--gold-500); }
.handoff-back { display: inline-block; margin-top: 8px; color: rgba(255,255,255,.6); font-size: .9rem; text-decoration: none; }
.handoff-back:hover { color: var(--white); }
@keyframes load { to { width: 100%; } }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.04); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
