/* Halifax Hurricanes Ball Hockey Club — site styles */
:root{
  --purple:#5b21b6; --purple-deep:#3b1470; --purple-soft:#f4f1fa;
  --orange:#f97316; --orange-dark:#e0640a; --orange-soft:#fff3e8;
  --ink:#1c1526; --muted:#6b6478; --line:#e8e2f2;
  --card:#ffffff; --bg:#faf8ff;
  --green:#15803d; --green-bg:#e9f9ef; --red:#b91c1c; --red-bg:#fdecec;
  --radius:16px;
}
*{box-sizing:border-box; margin:0; padding:0}
html{scroll-behavior:smooth}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif; background:var(--bg); color:var(--ink); line-height:1.55}
img{max-width:100%}
a{color:var(--purple)}
.wrap{max-width:1060px; margin:0 auto; padding:0 20px}

/* ---------- nav ---------- */
nav.site{position:sticky; top:0; z-index:50; background:rgba(255,255,255,.95); backdrop-filter:blur(8px); border-bottom:1px solid var(--line)}
.nav-in{display:flex; align-items:center; gap:14px; padding:10px 20px; max-width:1060px; margin:0 auto}
.brand{display:flex; align-items:center; gap:10px; text-decoration:none; color:var(--ink)}
.brand img{border-radius:8px}
.brand .bname{font-weight:800; font-size:16.5px; letter-spacing:.02em; line-height:1.15}
.brand .bname small{display:block; font-size:10.5px; font-weight:600; color:var(--muted); letter-spacing:.14em}
.nav-links{margin-left:auto; display:flex; gap:2px; align-items:center}
.nav-links a{text-decoration:none; font-size:13.5px; font-weight:600; color:var(--muted); padding:8px 11px; border-radius:8px}
.nav-links a:hover{background:var(--orange-soft); color:var(--ink)}
.nav-links a.active{color:var(--purple); background:var(--purple-soft)}
.nav-cta{margin-left:10px}
.nav-toggle{display:none; margin-left:auto; background:none; border:1.5px solid var(--line); border-radius:10px; padding:8px 12px; font-size:18px; cursor:pointer; color:var(--ink)}

/* ---------- buttons ---------- */
.btn{display:inline-block; text-decoration:none; font-weight:700; font-size:14px; padding:11px 22px; border-radius:999px; border:2px solid transparent; cursor:pointer; text-align:center}
.btn-primary{background:var(--orange); color:#fff}
.btn-primary:hover{background:var(--orange-dark)}
.btn-ghost{border-color:var(--purple); color:var(--purple); background:#fff}
.btn-ghost:hover{background:var(--purple); color:#fff}
.btn[disabled],.btn-disabled{background:#efeaf7; color:#9a93a8; cursor:not-allowed; border-color:transparent}
.btn-sm{padding:8px 16px; font-size:13px}

/* ---------- hero ---------- */
.hero{background:radial-gradient(1100px 420px at 88% -10%, #8b5cf6 0%, transparent 60%), linear-gradient(135deg, var(--purple-deep) 0%, var(--purple) 72%); color:#fff; overflow:hidden}
.hero-in{display:grid; grid-template-columns:1.15fr .85fr; gap:28px; align-items:center; padding:60px 20px 64px; max-width:1060px; margin:0 auto}
.eyebrow{display:inline-block; font-size:12px; font-weight:800; letter-spacing:.16em; background:rgba(255,255,255,.14); border:1px solid rgba(255,255,255,.25); padding:6px 14px; border-radius:999px; margin-bottom:18px}
.hero h1{font-size:clamp(34px,6vw,56px); line-height:1.05; font-weight:900; letter-spacing:-.01em; margin-bottom:14px}
.hero h1 .o{color:var(--orange)}
.hero p{color:#e6dcf7; font-size:17px; max-width:48ch; margin-bottom:26px}
.hero-cta{display:flex; gap:12px; flex-wrap:wrap}
.hero .btn-ghost{border-color:#fff; color:#fff; background:transparent}
.hero .btn-ghost:hover{background:#fff; color:var(--purple-deep)}
.hero-logo{background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.2); border-radius:22px; padding:26px; text-align:center}
.hero-logo img{width:min(280px,80%); height:auto; filter:drop-shadow(0 14px 28px rgba(0,0,0,.35))}
.hero-logo figcaption{font-size:12px; color:#d9cdf2; margin-top:10px; letter-spacing:.08em; font-weight:600}

/* ---------- page header (inner pages) ---------- */
.page-head{background:linear-gradient(135deg, var(--purple-deep), var(--purple)); color:#fff; padding:44px 0 40px}
.page-head h1{font-size:clamp(28px,5vw,42px); font-weight:900; letter-spacing:-.01em}
.page-head p{color:#e6dcf7; max-width:62ch; margin-top:6px}

/* ---------- snapshot stats ---------- */
.snap{margin-top:-32px; position:relative; z-index:2}
.snap-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:12px}
.snap-card{background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:18px 16px; box-shadow:0 10px 24px rgba(59,20,112,.08); text-align:center}
.snap-card b{display:block; font-size:25px; color:var(--purple); font-weight:900}
.snap-card span{font-size:12.5px; color:var(--muted); font-weight:600}

/* ---------- sections ---------- */
section.block{padding:54px 0 6px}
.sec-head{display:flex; align-items:baseline; gap:12px; margin-bottom:6px; flex-wrap:wrap}
.sec-head h2{font-size:26px; font-weight:900; letter-spacing:-.01em}
.sec-head .tag{font-size:12px; font-weight:700; color:var(--orange); letter-spacing:.1em}
.sec-head .more{margin-left:auto; font-size:13.5px; font-weight:700; text-decoration:none}
.sec-sub{color:var(--muted); font-size:14.5px; margin-bottom:22px; max-width:72ch}
.note{background:var(--orange-soft); border:1px dashed var(--orange); border-radius:14px; padding:15px 18px; font-size:14px; color:#7c4a12; margin-top:16px}
.card{background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:22px}

/* ---------- games ---------- */
.tabs{display:flex; gap:8px; margin-bottom:18px}
.tab{border:1.5px solid var(--line); background:#fff; font-weight:700; font-size:13.5px; padding:9px 18px; border-radius:999px; cursor:pointer; color:var(--muted)}
.tab.active{background:var(--purple); border-color:var(--purple); color:#fff}
.game{background:var(--card); border:1px solid var(--line); border-radius:14px; padding:16px 18px; display:grid; grid-template-columns:118px 1fr auto; gap:14px; align-items:center; margin-bottom:10px}
.game .date{font-size:12px; font-weight:800; color:var(--purple); letter-spacing:.03em}
.game .date small{display:block; color:var(--muted); font-weight:600; margin-top:2px}
.game .match{font-weight:700; font-size:15px}
.game .match small{display:block; font-weight:500; color:var(--muted); font-size:13px}
.score{font-size:19px; font-weight:900; padding:8px 16px; border-radius:12px; background:var(--purple-soft); min-width:96px; text-align:center}
.score.w{background:var(--green-bg); color:var(--green)}
.score.l{background:var(--red-bg); color:var(--red)}
.score.na{background:var(--purple-soft); color:var(--muted); font-size:14px}

/* ---------- roster ---------- */
.roster{display:grid; grid-template-columns:repeat(3,1fr); gap:12px}
.player{background:var(--card); border:1px solid var(--line); border-radius:14px; padding:15px 16px; display:flex; gap:14px; align-items:center}
.num{font-size:26px; font-weight:900; color:#fff; background:linear-gradient(135deg,var(--purple),#8b5cf6); width:54px; height:54px; border-radius:14px; display:flex; align-items:center; justify-content:center; flex:none}
.player b{display:block; font-size:15px}
.player span{font-size:12.5px; color:var(--muted); font-weight:600}
.subhead{font-size:17px; font-weight:900; margin:28px 0 12px; color:var(--purple-deep)}

/* ---------- standings ---------- */
table.stand{width:100%; border-collapse:collapse; background:var(--card); border:1px solid var(--line); border-radius:14px; overflow:hidden; font-size:14.5px}
table.stand th{background:var(--purple-deep); color:#fff; text-align:left; padding:12px 16px; font-size:12px; letter-spacing:.08em}
table.stand td{padding:13px 16px; border-top:1px solid var(--line)}
table.stand tr.hl td{background:var(--orange-soft); font-weight:700}
.pill{display:inline-block; font-size:11px; font-weight:800; letter-spacing:.05em; padding:3px 10px; border-radius:999px; background:var(--green-bg); color:var(--green)}

/* ---------- shop ---------- */
.shop-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:12px}
.shop-grid.cols-3{grid-template-columns:repeat(3,1fr)}
.product{background:var(--card); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; display:flex; flex-direction:column}
.product .art{background:linear-gradient(135deg,#f4f1fa,#e9e2f7); padding:24px 12px; text-align:center}
.product .body{padding:14px 16px 16px; display:flex; flex-direction:column; gap:5px; flex:1}
.product b{font-size:15px}
.product .desc{font-size:13px; color:var(--muted)}
.product .price{color:var(--ink); font-size:15px; font-weight:800; margin:4px 0 8px}
.product .btn{margin-top:auto; font-size:13px; padding:9px 12px}
.steps{display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-top:6px}
.step{background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:18px}
.step b{display:block; margin-bottom:4px}
.step p{font-size:13.5px; color:var(--muted)}
.step .n{display:inline-flex; width:26px; height:26px; border-radius:50%; background:var(--orange); color:#fff; font-weight:900; font-size:13px; align-items:center; justify-content:center; margin-bottom:10px}

/* ---------- sponsors ---------- */
.spon-row{display:flex; gap:12px; flex-wrap:wrap}
.spon{flex:1 1 180px; background:var(--card); border:1px dashed var(--line); border-radius:14px; padding:26px 16px; text-align:center; font-weight:800; font-size:17px; color:var(--purple-deep)}
.spon small{display:block; font-weight:600; font-size:11.5px; color:var(--muted); margin-top:6px}
.spon.cta{background:var(--purple); border-style:solid; border-color:var(--purple); color:#fff; text-decoration:none; display:flex; flex-direction:column; justify-content:center}
.spon.cta small{color:#d9cdf2}

/* ---------- about / contact ---------- */
.two-col{display:grid; grid-template-columns:1.1fr .9fr; gap:20px; align-items:start}
.prose p{margin-bottom:14px; color:#3d354d; font-size:15.5px}
.prose p b{color:var(--ink)}
.contact-list{list-style:none}
.contact-list li{padding:13px 0; border-top:1px solid var(--line); font-size:14.5px}
.contact-list li:first-child{border-top:none; padding-top:2px}
.contact-list b{display:block; font-size:12px; letter-spacing:.08em; color:var(--muted); margin-bottom:2px}

/* ---------- footer ---------- */
footer{margin-top:70px; background:var(--purple-deep); color:#d9cdf2; padding:46px 0 30px}
footer .cols{display:grid; grid-template-columns:1.2fr 1fr 1fr; gap:26px; max-width:1060px; margin:0 auto; padding:0 20px}
footer h4{color:#fff; font-size:13.5px; letter-spacing:.09em; margin-bottom:11px}
footer p, footer a{font-size:13.5px; color:#c9bce8; text-decoration:none}
footer a:hover{color:#fff; text-decoration:underline}
footer .fbrand{display:flex; gap:12px; align-items:flex-start}
footer .fbrand img{border-radius:10px}
.fine{max-width:1060px; margin:26px auto 0; padding:16px 20px 0; border-top:1px solid rgba(255,255,255,.15); font-size:12px; color:#a894d6; display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px}

/* ---------- photos (v2) ---------- */
.product .art.photo{padding:0; background:#f4f1fa}
.product .art.photo img{display:block; width:100%; height:270px; object-fit:cover}
.product .art.photo img.contain{object-fit:contain; background:#fff}
.gallery{display:grid; grid-template-columns:repeat(3,1fr); gap:12px}
.gallery figure{background:var(--card); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden}
.gallery img{display:block; width:100%; height:235px; object-fit:cover}
.gallery figcaption{padding:11px 14px; font-size:13px; color:var(--muted); font-weight:600}
.gallery figcaption b{color:var(--ink)}
.wide-photo{margin-top:26px}
.wide-photo img{display:block; width:100%; height:430px; object-fit:cover; object-position:center 22%; border-radius:var(--radius)}
.wide-photo figcaption{font-size:13px; color:var(--muted); font-weight:600; margin-top:8px}
.shop-banner{border-radius:var(--radius); overflow:hidden; margin-bottom:22px; position:relative}
.shop-banner img{display:block; width:100%; height:300px; object-fit:cover; object-position:center 30%}
.shop-banner .sb-text{position:absolute; left:0; right:0; bottom:0; padding:38px 22px 16px; background:linear-gradient(transparent, rgba(28,10,54,.82)); color:#fff; font-weight:800; font-size:19px}
.shop-banner .sb-text small{display:block; font-weight:600; font-size:13px; color:#e6dcf7}
@media (max-width:820px){
  .gallery{grid-template-columns:1fr}
  .gallery img{height:260px}
  .wide-photo img{height:300px}
}

/* ---------- responsive ---------- */
@media (max-width:820px){
  .snap-grid{grid-template-columns:repeat(2,1fr)}
  .roster{grid-template-columns:1fr 1fr}
  .shop-grid,.shop-grid.cols-3{grid-template-columns:1fr 1fr}
  .steps{grid-template-columns:1fr}
  .two-col{grid-template-columns:1fr}
  footer .cols{grid-template-columns:1fr}
}
@media (max-width:640px){
  .hero-in{grid-template-columns:1fr; padding:42px 20px 48px}
  .game{grid-template-columns:1fr auto}
  .game .date{grid-column:1/-1}
  .nav-toggle{display:block}
  .nav-links{display:none; position:absolute; top:100%; left:0; right:0; background:#fff; flex-direction:column; align-items:stretch; padding:10px 14px 14px; border-bottom:1px solid var(--line); box-shadow:0 18px 30px rgba(59,20,112,.12)}
  .nav-links.open{display:flex}
  .nav-links a{padding:11px 10px}
  .nav-cta{margin:8px 0 0}
  nav.site{position:sticky}
  .nav-in{position:relative}
}
