/* =====================================================================
   Hale Hockey Club — design system
   Brand: Hale navy #1f2a63 + sky blue #3d9bd8 (playing kit), white. Soft sky tint #eef4fb.
   NB: accent tokens are still named --gold-* (values are sky blue) so all references update.
   Fonts: Sora (display) + Inter (body) via Google Fonts
   Built by Stacksy — Technology & Innovation Partner
   ===================================================================== */

:root {
  /* Brand — navy scale (Hale crest + playing kit navy) */
  --navy-900: #0d1330;
  --navy-800: #141d45;
  --navy-700: #1b2456;
  --navy-600: #1f2a63; /* primary Hale navy */
  --navy-500: #3a4890;
  --navy-400: #6f7cb6;
  --navy-200: #ccd3ea;
  --navy-100: #e7ebf6;

  /* Sky blue — Hale's accent colour (playing kit). Var names kept as --gold-* so
     every existing reference picks up the new brand colour automatically. */
  --gold-600: #1f78b8; /* sky, text/links on light */
  --gold-500: #3d9bd8; /* sky, main */
  --gold-400: #5fb0e6; /* bright sky (kit), accents on navy */
  --gold-300: #a6d6f4; /* light sky */

  --cream: #eef4fb; /* soft sky tint (flyer periwinkle), light section bg */

  /* Ink + paper */
  --ink-900: #0a0d12;
  --ink-700: #2c3340;
  --ink-500: #5a6373;
  --ink-300: #9aa3b3;
  --line: #e6e9ef;
  --paper: #ffffff;
  --paper-2: #f6f7fa;
  --paper-3: #eef0f6;

  --live: #ff2d55;

  /* Stacksy signature gradient (partner badge) */
  --stacksy: linear-gradient(135deg, #a85fbf 0%, #5b7dd9 35%, #3fb8c4 65%, #7bc85f 100%);
  --gold-grad: linear-gradient(120deg, #5fb0e6, #2b86c4);

  --shadow-sm: 0 1px 2px rgba(16, 20, 40, .06), 0 2px 8px rgba(16, 20, 40, .05);
  --shadow-md: 0 8px 30px rgba(16, 20, 40, .10);
  --shadow-lg: 0 30px 70px rgba(16, 20, 40, .22);

  --r-sm: 12px;
  --r: 18px;
  --r-lg: 26px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --container: 1200px;

  --ff-display: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ff-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--ink-700);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  color: var(--navy-600);
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
  font-weight: 800;
}

.container { width: min(100% - 44px, var(--container)); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 130px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.bg-paper-2 { background: var(--paper-2); }
.bg-navy { background: var(--navy-800); color: #d7d9e8; }
.bg-cream { background: var(--cream); }

/* ---- Eyebrow / kicker ---- */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-display);
  font-weight: 700; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-600);
}
.kicker::before { content: ""; width: 26px; height: 2px; background: var(--gold-grad); border-radius: 2px; }
.bg-navy .kicker { color: var(--gold-400); }

.lede { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--ink-500); max-width: 62ch; }
.bg-navy .lede { color: #aab0cb; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; font-family: var(--ff-display);
  font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  border: 1.5px solid transparent; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--gold-grad); color: var(--navy-900); box-shadow: 0 10px 24px rgba(61,155,216,.32); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(61,155,216,.42); }
.btn-navy { background: var(--navy-600); color: #fff; }
.btn-navy:hover { background: var(--navy-700); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255,255,255,.32); color: #fff; background: rgba(255,255,255,.04); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
.btn-outline { border-color: var(--navy-200); color: var(--navy-600); background: #fff; }
.btn-outline:hover { border-color: var(--navy-600); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-live { background: var(--live); color: #fff; box-shadow: 0 10px 24px rgba(255,45,85,.34); }
.btn-live:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(255,45,85,.46); }
.btn-lg { padding: 18px 32px; font-size: 1.02rem; }

/* =====================================================================
   Header
   ===================================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), backdrop-filter .3s;
}
.site-header.scrolled {
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 1px 0 var(--line), var(--shadow-sm);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand { display: flex; align-items: center; gap: 13px; }
.brand img { height: 46px; width: auto; }
.brand .brand-text { font-family: var(--ff-display); font-weight: 800; color: var(--navy-600); line-height: 1; letter-spacing: -.01em; }
.brand .brand-text span { display: block; font-size: 1.02rem; }
.brand .brand-text small { font-weight: 600; font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-600); font-family: var(--ff-display); }

/* header variants: on dark hero pages the nav text is light until scrolled */
.nav-on-dark .brand .brand-text { color: #fff; }
.site-header.scrolled.nav-on-dark .brand .brand-text { color: var(--navy-600); }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-family: var(--ff-display); font-weight: 600; font-size: .92rem; color: var(--navy-700);
  padding: 9px 14px; border-radius: 10px; transition: background .2s, color .2s; position: relative;
}
.nav-on-dark .nav-links a { color: rgba(255,255,255,.9); }
.site-header.scrolled.nav-on-dark .nav-links a { color: var(--navy-700); }
.nav-links a:hover { background: rgba(48,48,88,.08); color: var(--navy-600); }
.nav-on-dark .nav-links a:hover { background: rgba(255,255,255,.14); color: #fff; }
.site-header.scrolled.nav-on-dark .nav-links a:hover { background: rgba(48,48,88,.08); color: var(--navy-600); }
.nav-links a.active { color: var(--gold-600); }
.nav-links a.active::after { content:""; position:absolute; left:14px; right:14px; bottom:3px; height:2px; background:var(--gold-grad); border-radius:2px; }
.nav-cta { margin-left: 10px; }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy-600); margin: 5px 0; border-radius: 2px; transition: .3s var(--ease); }
.nav-on-dark .nav-toggle span { background: #fff; }
.site-header.scrolled.nav-on-dark .nav-toggle span { background: var(--navy-600); }

@media (max-width: 1080px) {
  .nav-toggle { display: block; z-index: 110; }
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px);
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--navy-800); padding: 100px 24px 40px;
    transform: translateX(100%); transition: transform .4s var(--ease);
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { color: #fff !important; font-size: 1.1rem; padding: 14px 16px; }
  .nav-links a:hover { background: rgba(255,255,255,.1) !important; }
  .nav-cta { margin: 14px 0 0; }
  .nav-cta .btn { width: 100%; }
  body.nav-open { overflow: hidden; }
  .nav-scrim { position: fixed; inset: 0; background: rgba(10,13,18,.5); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 105; }
  .nav-scrim.show { opacity: 1; pointer-events: auto; }
}

/* =====================================================================
   Hero
   ===================================================================== */
.hero { position: relative; color: #fff; isolation: isolate; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; filter: saturate(1.05); transform: scale(1.04); }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(13,19,48,.62) 0%, rgba(13,19,48,.72) 50%, rgba(13,19,48,.97) 100%),
    radial-gradient(120% 90% at 80% 10%, rgba(61,155,216,.16), transparent 60%);
}
.hero-inner { padding: clamp(90px, 16vh, 200px) 0 clamp(70px, 11vh, 130px); }
.hero h1 {
  color: #fff; font-size: clamp(2.9rem, 8.4vw, 6.6rem); line-height: .92;
  text-transform: uppercase; letter-spacing: -.02em; max-width: 16ch;
}
.hero h1 .accent { color: transparent; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; }
.hero-sub { font-size: clamp(1.1rem, 2vw, 1.4rem); color: #d8dbec; max-width: 54ch; margin: 22px 0 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta { margin-top: 46px; display: flex; flex-wrap: wrap; gap: 30px 48px; }
.hero-meta .stat .n { font-family: var(--ff-display); font-weight: 800; font-size: clamp(1.8rem, 3.4vw, 2.7rem); color: #fff; line-height: 1; }
.hero-meta .stat .l { font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-400); margin-top: 6px; font-family: var(--ff-display); font-weight: 600; }

/* live ribbon (top of hero) */
.live-ribbon {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 26px;
  background: rgba(255,45,85,.14); border: 1px solid rgba(255,45,85,.5);
  padding: 8px 16px 8px 14px; border-radius: 999px; font-family: var(--ff-display);
  font-weight: 700; font-size: .8rem; letter-spacing: .04em; color: #fff;
  transition: transform .2s var(--ease), background .2s;
}
.live-ribbon:hover { transform: translateY(-2px); background: rgba(255,45,85,.22); }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--live); position: relative; }
.live-dot::after { content:""; position:absolute; inset:-5px; border-radius:50%; background: var(--live); opacity:.55; animation: ping 1.7s var(--ease) infinite; }
@keyframes ping { 0%{ transform: scale(.7); opacity:.7;} 70%,100%{ transform: scale(2.4); opacity:0;} }
.live-ribbon .arrow { color: var(--gold-400); }

/* scrolling marquee strip */
.marquee { background: var(--navy-600); color: #fff; overflow: hidden; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.08); }
.marquee-track { display: flex; gap: 0; white-space: nowrap; animation: scroll-x 28s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--ff-display); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .92rem; padding: 0 26px; display: inline-flex; align-items: center; gap: 26px; }
.marquee span::after { content: "✦"; color: var(--gold-400); }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* =====================================================================
   Section heading
   ===================================================================== */
.sec-head { max-width: 720px; margin-bottom: 52px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); margin-top: 14px; }
.bg-navy .sec-head h2 { color: #fff; }
.sec-head p { margin-top: 14px; }
.sec-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 46px; }
.sec-head-row .sec-head { margin-bottom: 0; }

/* =====================================================================
   Cards / grids
   ===================================================================== */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 30px; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--navy-200); }
.card .ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--navy-100); color: var(--navy-600); margin-bottom: 18px;
}
.card .ico svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.3rem; }
.card p { color: var(--ink-500); font-size: .98rem; margin: 0; }
.card .more { margin-top: 16px; display: inline-flex; align-items: center; gap: 7px; font-family: var(--ff-display); font-weight: 700; font-size: .9rem; color: var(--gold-600); }
.card:hover .more { gap: 11px; }

/* program / team tile with image */
.tile {
  position: relative; border-radius: var(--r); overflow: hidden; min-height: 320px;
  display: flex; flex-direction: column; justify-content: flex-end; color: #fff; isolation: isolate;
  box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease); }
.tile:hover img { transform: scale(1.07); }
.tile::after { content:""; position:absolute; inset:0; z-index:-1; background: linear-gradient(180deg, rgba(13,19,48,.05), rgba(13,19,48,.4) 45%, rgba(13,19,48,.92)); }
.tile .tile-body { padding: 28px; }
.tile .tag { display:inline-block; font-family: var(--ff-display); font-weight:700; font-size:.68rem; letter-spacing:.16em; text-transform:uppercase; color: var(--navy-900); background: var(--gold-400); padding:5px 11px; border-radius:999px; margin-bottom:12px; }
.tile h3 { color: #fff; font-size: 1.5rem; margin-bottom: 8px; }
.tile p { color: rgba(255,255,255,.85); font-size: .95rem; margin: 0; }

/* =====================================================================
   Watch / video cards
   ===================================================================== */
.video-card { display: block; border-radius: var(--r); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.video-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.video-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--navy-700); }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.video-card:hover .video-thumb img { transform: scale(1.06); }
.video-thumb::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(13,19,48,0) 50%, rgba(13,19,48,.55)); }
.play-btn {
  position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%;
  background: rgba(255,45,85,.92); display: grid; place-items: center; z-index: 2;
  transition: transform .3s var(--ease), background .3s; box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.video-card:hover .play-btn { transform: scale(1.12); background: var(--live); }
.play-btn svg { width: 26px; height: 26px; fill: #fff; margin-left: 3px; }
.video-grade { position: absolute; top: 12px; left: 12px; z-index: 2; font-family: var(--ff-display); font-weight: 700; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; background: rgba(13,19,48,.78); color: #fff; padding: 5px 10px; border-radius: 999px; backdrop-filter: blur(4px); }
.video-meta { padding: 18px 20px 22px; }
.video-meta h3 { font-size: 1.05rem; line-height: 1.25; margin: 0 0 8px; color: var(--navy-600); }
.video-meta .date { font-size: .82rem; color: var(--ink-300); font-family: var(--ff-display); font-weight: 600; letter-spacing: .02em; }

/* featured live block */
.live-feature { display: grid; grid-template-columns: 1.6fr 1fr; gap: 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
@media (max-width: 900px) { .live-feature { grid-template-columns: 1fr; } }
.live-feature .embed { position: relative; aspect-ratio: 16/9; background: #000; }
.live-feature .embed iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }
.live-feature .panel { background: var(--navy-800); color: #fff; padding: clamp(28px,4vw,44px); display: flex; flex-direction: column; justify-content: center; }
.live-feature .panel h3 { color: #fff; font-size: clamp(1.4rem,2.4vw,2rem); }
.live-feature .panel p { color: #aab0cb; }

/* =====================================================================
   News
   ===================================================================== */
.news-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease); height: 100%; }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.news-card .nc-top { padding: 26px 26px 0; }
.news-card .nc-cat { font-family: var(--ff-display); font-weight: 700; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-600); }
.news-card .nc-date { font-size: .8rem; color: var(--ink-300); float: right; font-family: var(--ff-display); font-weight: 600; }
.news-card h3 { font-size: 1.22rem; margin: 14px 0 10px; }
.news-card p { color: var(--ink-500); font-size: .95rem; margin: 0; }
.news-card .nc-foot { margin-top: auto; padding: 18px 26px 24px; }
.news-card .nc-foot .more { font-family: var(--ff-display); font-weight: 700; font-size: .88rem; color: var(--navy-600); display: inline-flex; gap: 7px; align-items: center; }
.news-feature { position: relative; border-radius: var(--r-lg); overflow: hidden; color: #fff; min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; box-shadow: var(--shadow-md); }
.news-feature img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:-2; }
.news-feature::after { content:""; position:absolute; inset:0; z-index:-1; background: linear-gradient(180deg, rgba(13,19,48,.15), rgba(13,19,48,.9)); }
.news-feature .nf-body { padding: clamp(28px,4vw,48px); }
.news-feature h2 { color:#fff; font-size: clamp(1.7rem,3vw,2.5rem); }

/* =====================================================================
   Sponsors
   ===================================================================== */
.partner-feature {
  position: relative; border-radius: var(--r-lg); overflow: hidden; padding: clamp(34px,5vw,64px);
  background: var(--navy-800); color: #fff; isolation: isolate;
}
.partner-feature::before { content:""; position:absolute; inset:0; z-index:-1; opacity:.16; background: var(--stacksy); }
.partner-feature::after { content:""; position:absolute; right:-80px; top:-80px; width:320px; height:320px; border-radius:50%; background: var(--stacksy); filter: blur(70px); opacity:.4; z-index:-1; }
.partner-feature .ptag { display:inline-flex; align-items:center; gap:9px; font-family: var(--ff-display); font-weight:700; font-size:.72rem; letter-spacing:.18em; text-transform:uppercase; color:#fff; background: rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.2); padding:7px 14px; border-radius:999px; margin-bottom:22px; }
.partner-feature h2 { color:#fff; font-size: clamp(1.8rem,3.4vw,2.8rem); }
.stacksy-word { font-weight:800; background: var(--stacksy); -webkit-background-clip:text; background-clip:text; color:transparent; }
.partner-feature p { color:#bfc4dd; max-width: 60ch; }

/* Subtle partner note (Stacksy) — quiet hairline card, not a hero panel */
.partner-strip {
  display: flex; align-items: center; justify-content: space-between; gap: 16px 40px;
  flex-wrap: wrap; padding: 22px 28px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm);
}
.partner-strip .ps-tag {
  display: block; font-family: var(--ff-display); font-weight: 700; font-size: .64rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--ink-300); margin-bottom: 6px;
}
.partner-strip .ps-line { margin: 0; font-size: 1rem; color: var(--ink-700); max-width: 64ch; }
.partner-strip .ps-line .stacksy-word { font-weight: 800; }
.partner-strip .ps-link {
  font-family: var(--ff-display); font-weight: 700; font-size: .9rem; color: var(--navy-600);
  white-space: nowrap; display: inline-flex; align-items: center; gap: 7px; transition: gap .2s var(--ease), color .2s;
}
.partner-strip .ps-link:hover { color: var(--gold-600); gap: 11px; }

.sponsor-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
@media (max-width: 900px){ .sponsor-grid { grid-template-columns: repeat(3,1fr);} }
@media (max-width: 560px){ .sponsor-grid { grid-template-columns: repeat(2,1fr);} }
.sponsor-chip {
  display: grid; place-items: center; text-align: center; min-height: 96px; padding: 20px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm);
  font-family: var(--ff-display); font-weight: 700; color: var(--navy-500); font-size: .98rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), color .25s, border-color .25s;
}
.sponsor-chip:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); color: var(--navy-600); border-color: var(--navy-200); }
.sponsor-chip.major { border-color: var(--gold-400); color: var(--navy-600); position: relative; }
.sponsor-chip.major::after { content:"Major"; position:absolute; top:-10px; right:10px; font-size:.6rem; letter-spacing:.1em; background: var(--gold-grad); color: var(--navy-900); padding:3px 9px; border-radius:999px; }

/* =====================================================================
   Split feature (venue / about)
   ===================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px,5vw,72px); align-items: center; }
.split.reverse .split-media { order: 2; }
@media (max-width: 860px){ .split { grid-template-columns: 1fr; } .split.reverse .split-media { order: 0; } }
.split-media { position: relative; }
.split-media img { border-radius: var(--r-lg); box-shadow: var(--shadow-md); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split-media .badge-float {
  position: absolute; bottom: -22px; left: -22px; background: #fff; border-radius: var(--r);
  box-shadow: var(--shadow-lg); padding: 18px 24px; display: flex; align-items: center; gap: 14px;
}
@media (max-width: 520px){ .split-media .badge-float { left: 12px; bottom: 12px; } }
.badge-float .bf-n { font-family: var(--ff-display); font-weight: 800; font-size: 1.9rem; color: var(--navy-600); line-height: 1; }
.badge-float .bf-l { font-size: .78rem; color: var(--ink-500); }

.feature-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.feature-list li { display: flex; gap: 13px; align-items: flex-start; }
.feature-list .tick { flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%; background: var(--navy-100); color: var(--navy-600); display: grid; place-items: center; margin-top: 2px; }
.feature-list .tick svg { width: 13px; height: 13px; }
.feature-list b { color: var(--navy-600); font-family: var(--ff-display); }

/* =====================================================================
   CTA band
   ===================================================================== */
.cta-band { position: relative; border-radius: var(--r-lg); overflow: hidden; padding: clamp(44px,6vw,84px); text-align: center; color: #fff; isolation: isolate; }
.cta-band img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:-2; }
.cta-band::after { content:""; position:absolute; inset:0; z-index:-1; background: linear-gradient(135deg, rgba(13,19,48,.92), rgba(48,48,88,.82)); }
.cta-band h2 { color: #fff; font-size: clamp(1.9rem,4vw,3rem); }
.cta-band p { color: #cdd1e6; max-width: 56ch; margin: 14px auto 30px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* =====================================================================
   Page hero (inner pages)
   ===================================================================== */
.page-hero { background: var(--navy-800); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.page-hero::after { content:""; position:absolute; right:-10%; top:-40%; width:60%; height:180%; background: radial-gradient(circle, rgba(61,155,216,.16), transparent 60%); z-index:-1; }
.page-hero .ph-inner { padding: clamp(120px,16vh,180px) 0 clamp(54px,8vw,90px); }
.page-hero h1 { color:#fff; font-size: clamp(2.4rem,6vw,4.4rem); text-transform: uppercase; }
.page-hero p { color:#aeb3cd; max-width: 60ch; font-size: clamp(1.05rem,1.7vw,1.25rem); }
.crumbs { font-size:.82rem; color: var(--gold-400); font-family: var(--ff-display); font-weight:600; letter-spacing:.06em; margin-bottom: 18px; }
.crumbs a { opacity:.8; } .crumbs a:hover { opacity:1; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 860px){ .contact-grid { grid-template-columns: 1fr; } }
.contact-item { display: flex; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: 0; }
.contact-item .ci-ico { flex:0 0 46px; width:46px; height:46px; border-radius:13px; background: var(--navy-100); color: var(--navy-600); display:grid; place-items:center; }
.contact-item .ci-ico svg { width:22px;height:22px; }
.contact-item h4 { font-size:1.02rem; margin:0 0 3px; color: var(--navy-600); }
.contact-item a, .contact-item p { color: var(--ink-500); margin: 0; font-size:.96rem; }
.contact-item a:hover { color: var(--gold-600); }
.email-grid { display:grid; grid-template-columns: repeat(2,1fr); gap: 10px; margin-top: 8px; }
@media (max-width:520px){ .email-grid { grid-template-columns:1fr; } }
.email-row { display:flex; justify-content:space-between; gap:10px; padding:12px 16px; background: var(--paper-2); border:1px solid var(--line); border-radius:12px; font-size:.9rem; }
.email-row span { color: var(--ink-500); font-family: var(--ff-display); font-weight:600; }
.email-row a { color: var(--navy-600); font-weight:600; }

/* Committee directory (who to talk to) */
.dir-group { margin-bottom: 40px; }
.dir-group:last-of-type { margin-bottom: 0; }
.dir-title { font-size: 1.1rem; color: var(--navy-600); display: flex; align-items: center; gap: 14px; margin: 0 0 20px; }
.dir-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.dir-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .dir-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .dir-grid { grid-template-columns: 1fr; } }
.person {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 18px 20px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.person:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--navy-200); }
.person .p-role { font-family: var(--ff-display); font-weight: 700; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 7px; }
.person .p-name { font-family: var(--ff-display); font-weight: 700; color: var(--navy-600); font-size: 1.05rem; line-height: 1.2; }
.person .p-email { display: inline-block; margin-top: 7px; font-size: .88rem; color: var(--ink-500); word-break: break-word; }
.person .p-email:hover { color: var(--gold-600); }
.person.vacant { border-style: dashed; background: transparent; }
.person.vacant .p-name { color: var(--ink-300); font-weight: 600; }
.person .p-vacant { display: inline-block; margin-top: 7px; font-size: .85rem; color: var(--ink-300); }
.person .p-vacant a { color: var(--navy-500); }
.person .p-vacant a:hover { color: var(--gold-600); }

/* ---- Fee table ---- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); background: #fff; -webkit-overflow-scrolling: touch; }
.fee-table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .96rem; }
.fee-table th, .fee-table td { text-align: left; padding: 13px 20px; border-bottom: 1px solid var(--line); }
.fee-table thead th { background: var(--navy-800); color: #fff; font-family: var(--ff-display); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }
.fee-table td.num, .fee-table th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fee-table tbody tr:hover { background: var(--paper-2); }
.fee-table .grouphead td { background: var(--paper-3); font-family: var(--ff-display); font-weight: 700; color: var(--navy-600); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.fee-table tbody tr:last-child td { border-bottom: 0; }
.fee-note { font-size: .88rem; color: var(--ink-500); margin-top: 16px; }

/* ---- Document download list ---- */
.doc-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (max-width: 640px) { .doc-list { grid-template-columns: 1fr; } }
.doc-link { display: flex; align-items: center; gap: 15px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s; }
.doc-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--navy-200); }
.doc-link .doc-ico { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: var(--navy-100); color: var(--navy-600); font-family: var(--ff-display); font-weight: 800; font-size: .58rem; letter-spacing: .03em; }
.doc-link .doc-name { font-family: var(--ff-display); font-weight: 600; color: var(--navy-600); font-size: .95rem; line-height: 1.22; }
.doc-link .doc-meta { font-size: .77rem; color: var(--ink-300); margin-top: 2px; }

/* ---- Info rows (dates / schedules) ---- */
.info-rows { display: grid; gap: 0; }
.info-row { display: flex; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.info-row:last-child { border-bottom: 0; }
.info-row .ir-label { flex: 0 0 210px; font-family: var(--ff-display); font-weight: 700; color: var(--navy-600); font-size: .95rem; }
.info-row .ir-val { color: var(--ink-500); font-size: .96rem; }
.info-row .ir-val b { color: var(--navy-600); font-family: var(--ff-display); }
@media (max-width: 600px) { .info-row { flex-direction: column; gap: 4px; } .info-row .ir-label { flex: none; } }

/* ---- Program fee pill ---- */
.pill { display: inline-block; font-family: var(--ff-display); font-weight: 700; font-size: .78rem; color: var(--navy-600); background: var(--navy-100); padding: 5px 12px; border-radius: 999px; }
.pill.gold { background: var(--gold-400); color: var(--navy-900); }

/* ---- AGM / members' notice banner ---- */
.agm-banner { background: var(--navy-800); color: #fff; border-top: 3px solid var(--gold-500); }
.agm-banner .inner { display: flex; align-items: center; justify-content: space-between; gap: 18px 40px; flex-wrap: wrap; padding: clamp(24px, 3.4vw, 34px) 0; }
.agm-banner .ab-main { min-width: min(100%, 400px); }
.agm-banner .ab-tag { display: inline-block; font-family: var(--ff-display); font-weight: 700; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 9px; }
.agm-banner h2 { color: #fff; font-size: clamp(1.45rem, 2.7vw, 2.1rem); margin: 0 0 7px; }
.agm-banner .ab-meta { color: #cbd2ea; font-size: 1.02rem; }
.agm-banner .ab-side { display: flex; flex-direction: column; gap: 13px; align-items: flex-start; }
.agm-banner .ab-deadline { display: inline-flex; align-items: center; gap: 9px; background: rgba(255,45,85,.14); border: 1px solid rgba(255,45,85,.5); color: #fff; font-family: var(--ff-display); font-weight: 700; font-size: .82rem; letter-spacing: .01em; padding: 8px 15px; border-radius: 999px; }
.agm-banner .ab-deadline::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--live); }
.agm-banner .ab-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---- New-to-hockey cards: bottom-align the button rows across equal-height cards ---- */
#start .card { display: flex; flex-direction: column; }
#start .card .pill { align-self: flex-start; }
#start .card > div:last-child { margin-top: auto; }
/* compact the two card buttons so both fit on one row in every card */
#start .card .btn { padding: 11px 17px; font-size: .86rem; }
.map-embed { border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-md); border:1px solid var(--line); }
.map-embed iframe { display:block; width:100%; height:420px; border:0; }

/* =====================================================================
   Footer
   ===================================================================== */
.site-footer { background: var(--navy-900); color: #aab0cb; padding: 76px 0 0; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.08); }
@media (max-width: 860px){ .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 520px){ .footer-top { grid-template-columns: 1fr; } }
.footer-brand img { height: 56px; margin-bottom: 18px; }
.footer-brand p { font-size: .92rem; max-width: 36ch; }
.footer-social { display:flex; gap:10px; margin-top: 20px; }
.footer-social a { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.07); display:grid; place-items:center; color:#fff; transition: background .2s, transform .2s; }
.footer-social a:hover { background: var(--gold-500); color: var(--navy-900); transform: translateY(-3px); }
.footer-social svg { width:19px; height:19px; }
.footer-col h4 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-col a { font-size: .93rem; transition: color .2s; }
.footer-col a:hover { color: var(--gold-400); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; padding: 24px 0 30px; font-size: .84rem; }
.footer-bottom .built { display:inline-flex; align-items:center; gap:8px; }
.footer-bottom .built b { background: var(--stacksy); -webkit-background-clip:text; background-clip:text; color:transparent; font-family: var(--ff-display); font-weight:800; }

/* =====================================================================
   Scroll reveal
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track, .live-dot::after { animation: none; }
  html { scroll-behavior: auto; }
}
