/* Ottawa Summer Tip-Off — Night Game theme */

/* Self-hosted fonts (SIL Open Font License) */
@font-face { font-family: 'Big Shoulders Display'; font-weight: 900; font-style: normal; font-display: swap; src: url(../fonts/big-shoulders-display-latin-900-normal.woff2) format('woff2'); }
@font-face { font-family: 'Teko'; font-weight: 500; font-style: normal; font-display: swap; src: url(../fonts/teko-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Teko'; font-weight: 600; font-style: normal; font-display: swap; src: url(../fonts/teko-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Chakra Petch'; font-weight: 500; font-style: normal; font-display: swap; src: url(../fonts/chakra-petch-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Chakra Petch'; font-weight: 600; font-style: normal; font-display: swap; src: url(../fonts/chakra-petch-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 400; font-style: normal; font-display: swap; src: url(../fonts/barlow-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 600; font-style: normal; font-display: swap; src: url(../fonts/barlow-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 700; font-style: normal; font-display: swap; src: url(../fonts/barlow-latin-700-normal.woff2) format('woff2'); }

:root {
  --bg: #0E0E0E;
  --surface: #1A1A1A;
  --deep: #050505;
  --line: #2E2E2E;
  --text: #FAFAF9;
  --soft: #D6D3D1;
  --muted: #A8A29E;
  --orange: #FF5A1F;
  --orange-glow: #FF6B2C;
  --orange-light: #FF8A4C;
  --red: #E11D2E;
  --red-deep: #B91C1C;

  --f-display: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --f-ui: 'Teko', 'Arial Narrow', sans-serif;
  --f-mono: 'Chakra Petch', ui-monospace, monospace;
  --f-body: 'Barlow', system-ui, sans-serif;

  --wrap: 1280px;
  --gutter: 32px;
  --section: 120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--orange-glow); }
a:hover { color: var(--orange-light); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--orange); color: #0E0E0E; padding: 10px 16px; z-index: 100;
  font-family: var(--f-ui); font-size: 20px; text-transform: uppercase; text-decoration: none;
}
.skip-link:focus { left: 8px; }

.container { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--surface { background: var(--surface); }
.section--rule { border-top: 1px solid var(--line); }

/* ---------- Type ---------- */
.display, .display-xl, .display-l, .display-cta, .display-m {
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase; margin: 0;
}
.display-xl { font-size: clamp(76px, 11.5vw, 168px); line-height: 0.9; }
.display-l { font-size: clamp(52px, 6.2vw, 88px); line-height: 0.95; }
.display-cta { font-size: clamp(52px, 7.2vw, 104px); line-height: 0.92; }
.display-m { font-size: clamp(30px, 3.2vw, 44px); line-height: 1; }
.kicker {
  font-family: var(--f-mono); font-size: 15px; letter-spacing: 0.1em; color: var(--orange-light);
  margin: 0 0 12px; display: block;
}
.lede { font-size: 20px; line-height: 1.6; color: var(--soft); max-width: 600px; margin: 0; }
.prose p { color: var(--soft); font-size: 19px; line-height: 1.75; margin: 0 0 18px; max-width: 680px; }
.ui-link {
  font-family: var(--f-ui); font-weight: 600; font-size: 22px; letter-spacing: 0.06em;
  text-transform: uppercase; text-decoration: none; line-height: 1;
}
.tag {
  display: inline-block; background: var(--red); color: #FFFFFF;
  font-family: var(--f-mono); font-size: 15px; letter-spacing: 0.08em; padding: 8px 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; text-align: center;
  font-family: var(--f-ui); font-weight: 600; font-size: 24px; letter-spacing: 0.06em;
  text-transform: uppercase; line-height: 1; padding: 18px 30px 15px; border: 0; cursor: pointer;
}
.btn--orange { background: var(--orange); color: #0E0E0E; }
.btn--orange:hover { background: var(--orange-light); color: #0E0E0E; }
.btn--red { background: var(--red); color: #FFFFFF; }
.btn--red:hover { background: #F43F4E; color: #FFFFFF; }
.btn--outline { color: var(--text); box-shadow: inset 0 0 0 1px var(--text); }
.btn--outline:hover { background: var(--text); color: #0E0E0E; }
.btn--black { background: var(--deep); color: #FFFFFF; }
.btn--black:hover { background: #222222; color: #FFFFFF; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.site-header--overlay { position: absolute; top: 0; left: 0; right: 0; background: transparent; border-bottom: 0; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; }
.brand__word { font-family: var(--f-display); font-weight: 900; font-size: 32px; letter-spacing: 0.04em; line-height: 1; }
.brand__year { border: 1px solid var(--text); font-family: var(--f-mono); font-size: 13px; padding: 3px 7px; line-height: 1.2; }
.nav__links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav__links a:not(.btn) {
  color: var(--text); text-decoration: none; font-family: var(--f-ui); font-weight: 500;
  font-size: 22px; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1;
}
.nav__links a:not(.btn):hover, .nav__links a[aria-current="page"] { color: var(--orange-glow); }
.nav__links .btn { font-size: 22px; padding: 13px 20px 10px; }
.nav__toggle {
  display: none; width: 48px; height: 48px; border: 0; background: transparent; color: var(--text);
  align-items: center; justify-content: center; cursor: pointer;
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 860px; display: flex; flex-direction: column; overflow: hidden; }
.hero--short { min-height: 520px; }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center 35%; }
.hero__shade { position: absolute; inset: 0; background: rgba(14, 14, 14, 0.62); }
.hero__inner {
  position: relative; flex: 1; width: 100%; display: flex; flex-direction: column; justify-content: flex-end;
  gap: 28px; padding-top: 140px; padding-bottom: 72px;
}
.hero__inner .tag { align-self: flex-start; }
.hero__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; }

/* ---------- Scoreboard ---------- */
.scoreboard { background: var(--deep); border-top: 4px solid var(--orange); }
.scoreboard__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { padding: 40px 28px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.stat:last-child { border-right: 0; }
.stat__num { font-family: var(--f-mono); font-size: 72px; line-height: 1; color: var(--orange-glow); }
.stat__label {
  font-family: var(--f-ui); font-size: 22px; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; line-height: 1; color: var(--muted);
}

/* ---------- Split ---------- */
.split { display: flex; flex-wrap: wrap; gap: 72px; align-items: center; }
.split > * { flex: 1 1 440px; min-width: 0; }
.split__text { display: flex; flex-direction: column; gap: 24px; }
.split__img { width: 100%; height: 520px; object-fit: cover; }
.quote {
  margin: 0; padding: 40px; background: var(--surface); border-left: 6px solid var(--orange);
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(36px, 4vw, 56px); line-height: 1;
}
.quote cite { display: block; margin-top: 20px; font-family: var(--f-ui); font-style: normal; font-size: 22px; letter-spacing: 0.06em; color: var(--muted); }

/* ---------- Section head ---------- */
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; }

/* ---------- Results ---------- */
.results {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px;
  background: var(--line); border: 2px solid var(--line); margin-bottom: 48px;
}
.result { background: var(--deep); padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.result__label { font-family: var(--f-mono); font-size: 14px; letter-spacing: 0.1em; color: var(--muted); }
.result__value { color: var(--orange-glow); }
.result__value--mono { font-family: var(--f-mono); font-size: clamp(30px, 3.2vw, 44px); line-height: 1; color: var(--orange-glow); }
.result__sub {
  font-family: var(--f-ui); font-weight: 500; font-size: 24px; letter-spacing: 0.06em;
  text-transform: uppercase; line-height: 1; color: var(--soft);
}
.result__sub span { color: var(--muted); }

.photo-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 260px; gap: 8px; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; }
.photo-grid img:first-child { grid-row: span 2; }

/* ---------- Sponsors ---------- */
.tier { display: flex; flex-wrap: wrap; gap: 24px 40px; padding-top: 32px; margin-top: 32px; border-top: 1px solid var(--line); }
.tier__name {
  flex: 0 0 200px; margin: 0; align-self: flex-start;
  font-family: var(--f-ui); font-weight: 600; font-size: 26px; letter-spacing: 0.06em;
  text-transform: uppercase; line-height: 1;
}
.show-sm { display: none; }
.tier__name--champ, .tier__name--allstar { display: inline-block; }
.tier__name--champ { flex: 0 0 auto; background: var(--red); color: #FFFFFF; padding: 9px 14px 5px; }
.tier__name--allstar { flex: 0 0 auto; box-shadow: inset 0 0 0 2px var(--orange-glow); color: var(--orange-glow); padding: 9px 14px 5px; }
.tier__name--partner { color: var(--muted); font-weight: 500; }
.tier__label { flex: 0 0 200px; }
.tier__tiles { flex: 1 1 600px; display: grid; gap: 16px; list-style: none; margin: 0; padding: 0; }
.tier__tiles--champ { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tier__tiles--allstar { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.tier__tiles--tipoff { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.tile {
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 16px;
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
}
.tile--champ { height: 200px; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--red); font-size: 52px; line-height: 1; }
.tile--allstar { height: 140px; background: var(--surface); border: 1px solid var(--line); font-size: 38px; line-height: 1; }
.tile--tipoff { height: 96px; border: 1px solid var(--line); font-size: 24px; line-height: 1.05; color: var(--soft); }
.partners {
  flex: 1 1 600px; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 32px;
  font-family: var(--f-ui); font-weight: 500; font-size: 26px; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--soft); line-height: 1.2;
}

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--orange); padding: 32px; }
.card h3 { margin: 0 0 12px; font-family: var(--f-display); font-weight: 900; font-size: 34px; text-transform: uppercase; line-height: 1; }
.card p { margin: 0; color: var(--soft); }
.card--red { border-top-color: var(--red); }

/* ---------- Run of show ---------- */
.run { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.run li { display: flex; gap: 32px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.run__time { flex: 0 0 140px; font-family: var(--f-mono); font-size: 22px; color: var(--orange-glow); line-height: 1.3; }
.run__title { display: block; font-family: var(--f-ui); font-weight: 600; font-size: 28px; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.1; }
.run__desc { color: var(--soft); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band__bg { position: absolute; inset: 0; background-size: cover; background-position: center 30%; }
.cta-band__shade { position: absolute; inset: 0; background: var(--red-deep); opacity: 0.9; }
.cta-band__inner { position: relative; padding-top: 112px; padding-bottom: 112px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; }
.cta-band__inner .display-cta { max-width: 820px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep); color: var(--muted); font-size: 15px; line-height: 1.7; }
.site-footer__grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-top: 56px; padding-bottom: 56px; }
.site-footer .brand__word { color: var(--text); }
.site-footer p { margin: 0; }
.site-footer nav ul { list-style: none; margin: 0; padding: 0; }
.site-footer nav a { color: var(--soft); text-decoration: none; }
.site-footer nav a:hover { color: var(--orange-glow); }

/* ---------- Gallery ---------- */
.year-tabs { display: flex; gap: 0; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.year-tab {
  min-height: 56px; padding: 14px 28px 8px; border: 0; background: transparent; cursor: pointer; color: var(--muted);
  font-family: var(--f-display); font-weight: 900; font-size: 40px; line-height: 1; border-bottom: 4px solid transparent; margin-bottom: -1px;
}
.year-tab:hover { color: var(--text); }
.year-tab[aria-selected="true"] { color: var(--orange-glow); border-bottom-color: var(--orange); }
.year-panel[hidden] { display: none; }
.gallery-sub { margin: 96px 0 28px; padding-top: 48px; border-top: 1px solid var(--line); }
.clips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 900px; }
.clip { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: var(--surface); border: 1px solid var(--line); display: block; }
@media (max-width: 640px) {
  .gallery-sub { margin-top: 56px; padding-top: 32px; }
  .clips { grid-template-columns: 1fr; max-width: 360px; }
}
.gallery-count { margin: 0 0 16px; font-family: var(--f-mono); font-size: 14px; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; }
.coming-soon { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--orange); padding: 56px 40px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filter {
  min-height: 48px; padding: 12px 20px 9px; border: 0; cursor: pointer; background: transparent; color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line);
  font-family: var(--f-ui); font-weight: 500; font-size: 22px; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1;
}
.filter:hover { box-shadow: inset 0 0 0 1px var(--text); }
.filter[aria-pressed="true"] { background: var(--orange); color: #0E0E0E; box-shadow: none; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 10px; list-style: none; margin: 0; padding: 0; }
.gallery li.is-big { grid-column: span 2; grid-row: span 2; }
.gallery li.is-wide { grid-column: span 2; }
.gallery li[hidden] { display: none; }
.gallery button { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; cursor: zoom-in; background: var(--surface); overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery button:hover img { transform: scale(1.04); }
.gallery .cap {
  position: absolute; left: 0; bottom: 0; padding: 6px 12px 4px; background: rgba(5, 5, 5, 0.82); color: var(--text);
  font-family: var(--f-ui); font-size: 20px; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.1; text-align: left;
}
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(5, 5, 5, 0.96); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox__stage { display: flex; align-items: center; gap: 16px; width: min(1200px, 100%); }
.lightbox__img { flex: 1; min-width: 0; max-height: 80vh; object-fit: contain; }
.lightbox__btn {
  flex-shrink: 0; width: 52px; height: 52px; border: 1px solid var(--line); background: transparent; color: var(--text);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.lightbox__btn:hover { border-color: var(--orange); color: var(--orange-glow); }
.lightbox__close { position: absolute; top: 20px; right: 20px; }
.lightbox__cap { font-family: var(--f-ui); font-size: 24px; letter-spacing: 0.06em; text-transform: uppercase; }
.lightbox__count { font-family: var(--f-mono); font-size: 14px; color: var(--muted); }

/* ---------- Forms ---------- */
.contact-grid { display: flex; flex-wrap: wrap; gap: 64px; align-items: flex-start; }
.contact-grid > * { flex: 1 1 380px; min-width: 0; }
.contact-grid .form-panel { flex: 1.4 1 480px; }
.info { background: var(--surface); border: 1px solid var(--line); padding: 28px; margin-bottom: 16px; }
.info h2, .info h3 { margin: 0 0 10px; font-family: var(--f-ui); font-weight: 500; font-size: 20px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); line-height: 1; }
.info p { margin: 0; color: var(--soft); }
.info strong { color: var(--text); font-size: 20px; }
.form-panel { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--orange); padding: 40px; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .form legend {
  font-family: var(--f-ui); font-weight: 500; font-size: 20px; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1;
}
.field input, .field textarea {
  font: inherit; font-size: 17px; color: var(--text); background: var(--bg); border: 1px solid #4A4542;
  padding: 13px 14px; border-radius: 0; width: 100%;
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--orange); outline-offset: 0; border-color: var(--orange); }
.field textarea { min-height: 150px; resize: vertical; }
.form fieldset { border: 0; margin: 0; padding: 0; }
.form legend { margin-bottom: 12px; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: inline-block; padding: 12px 18px 9px; cursor: pointer; box-shadow: inset 0 0 0 1px #4A4542;
  font-family: var(--f-ui); font-weight: 500; font-size: 20px; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1;
}
.choice input:checked + span { background: var(--orange); color: #0E0E0E; box-shadow: none; }
.choice input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 3px; }
.hidden-field { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  :root { --section: 88px; }
  .scoreboard__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .results { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .photo-grid img:first-child { grid-column: span 2; grid-row: span 1; }
  .photo-grid img:nth-child(n+4) { display: none; }
}
@media (max-width: 860px) {
  .nav__toggle { display: flex; }
  .nav__links {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 0; background: var(--deep); border-top: 1px solid var(--line); border-bottom: 4px solid var(--orange); padding: 8px var(--gutter) 20px;
  }
  .nav__links.is-open { display: flex; }
  .nav__links li a:not(.btn) { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 26px; }
  .nav__links .btn { display: block; margin-top: 16px; padding: 16px; font-size: 24px; }
  .site-header--overlay .nav__links { top: 100%; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; --section: 64px; }
  body { font-size: 17px; }
  .hero { min-height: 760px; }
  .hero--short { min-height: 420px; }
  .hero__inner { padding-bottom: 40px; gap: 20px; }
  .hero__inner .btn-row, .hero__inner .btn-row .btn { width: 100%; }
  .tag { font-size: 13px; padding: 6px 10px; }
  .hide-sm { display: none; }
  .show-sm { display: inline; }
  .stat { padding: 24px 16px; }
  .stat__num { font-size: 44px; }
  .stat__label { font-size: 18px; }
  .split { gap: 32px; }
  .split__img { height: 260px; }
  .lede { font-size: 17px; }
  .prose p { font-size: 17px; }
  .result { padding: 20px; }
  .result__sub { font-size: 19px; }
  .tier__label, .tier__name { flex-basis: 100%; }
  .tier__name--champ, .tier__name--allstar { flex-basis: auto; }
  .tier__tiles--champ { grid-template-columns: 1fr; }
  .tier__tiles--allstar, .tier__tiles--tipoff { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .tile--champ { height: 110px; font-size: 34px; }
  .tile--allstar { height: 84px; font-size: 22px; }
  .tile--tipoff { height: 60px; font-size: 17px; padding: 0 6px; }
  .partners { font-size: 20px; gap: 6px 18px; }
  .cta-band__inner { padding-top: 64px; padding-bottom: 64px; }
  .cta-band__inner .btn { width: 100%; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 140px; gap: 6px; }
  .gallery li.is-big { grid-column: span 2; grid-row: span 2; }
  .gallery li.is-wide { grid-column: span 2; }
  .gallery .cap { display: none; }
  .lightbox__btn:not(.lightbox__close) { position: absolute; bottom: 24px; }
  .lightbox__prev { left: 24px; }
  .lightbox__next { right: 24px; }
  .form-panel { padding: 24px 16px; order: -1; }
  .contact-grid { gap: 32px; }
  .form { grid-template-columns: 1fr; }
  .run li { flex-direction: column; gap: 6px; }
  .run__time { flex-basis: auto; }
  .quote { padding: 28px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gallery img { transition: none; }
}

/* ---------- Sponsor tile artwork ---------- */
.tile { position: relative; overflow: hidden; isolation: isolate; }
.tile > span { position: relative; z-index: 2; }

/* Championship: glass backboard with shooter's square, rim and net */
.tile--champ {
  background:
    linear-gradient(115deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0) 38%, rgba(255,255,255,0.04) 62%, rgba(255,255,255,0) 100%),
    radial-gradient(120% 90% at 50% 120%, rgba(225,29,46,0.35), rgba(225,29,46,0) 60%),
    #151515;
  border: 2px solid rgba(250,250,249,0.18);
  border-top: 4px solid var(--red);
  box-shadow: inset 0 0 0 6px rgba(250,250,249,0.03);
}
.tile--champ::before {
  content: ""; position: absolute; z-index: 1; left: 50%; top: 22%; width: 34%; height: 50%;
  transform: translateX(-50%); border: 3px solid rgba(225,29,46,0.55); border-bottom-width: 0;
}
.tile--champ::after {
  content: ""; position: absolute; z-index: 1; left: 50%; bottom: -2px; width: 30%; height: 28%;
  transform: translateX(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 60'%3E%3Crect x='4' y='2' width='112' height='6' rx='3' fill='%23FF5A1F'/%3E%3Cg fill='none' stroke='%23FAFAF9' stroke-opacity='.35' stroke-width='1.5'%3E%3Cpath d='M10 8 L22 58 M30 8 L38 58 M50 8 L54 58 M70 8 L66 58 M90 8 L82 58 M110 8 L98 58'/%3E%3Cpath d='M10 8 L38 58 M30 8 L54 58 M50 8 L66 58 M70 8 L82 58 M90 8 L98 58'/%3E%3Cpath d='M30 8 L22 58 M50 8 L38 58 M70 8 L54 58 M90 8 L66 58 M110 8 L82 58'/%3E%3C/g%3E%3C/svg%3E") center top / 100% 100% no-repeat;
}

/* All-Star: basketball seams */
.tile--allstar {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%23FF6B2C' stroke-width='5' stroke-opacity='.4'%3E%3Ccircle cx='100' cy='100' r='94'/%3E%3Cpath d='M6 100 H194 M100 6 V194'/%3E%3Cpath d='M34 30 C70 70 70 130 34 170'/%3E%3Cpath d='M166 30 C130 70 130 130 166 170'/%3E%3C/g%3E%3C/svg%3E") right -80px center / auto 150% no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%23FF6B2C' stroke-width='5' stroke-opacity='.28'%3E%3Ccircle cx='100' cy='100' r='94'/%3E%3Cpath d='M6 100 H194 M100 6 V194'/%3E%3Cpath d='M34 30 C70 70 70 130 34 170'/%3E%3Cpath d='M166 30 C130 70 130 130 166 170'/%3E%3C/g%3E%3C/svg%3E") left -60px bottom -70px / auto 110% no-repeat,
    linear-gradient(135deg, rgba(255,90,31,0.22), rgba(255,90,31,0.04) 55%, rgba(255,90,31,0.14)),
    #161210;
  border: 1px solid rgba(255,107,44,0.45);
  border-left: 4px solid var(--orange);
}

/* Tip-Off: court markings on hardwood */
.tile--tipoff {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 96' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='%23FAFAF9' stroke-opacity='.16' stroke-width='2'%3E%3Ccircle cx='240' cy='48' r='34'/%3E%3Cpath d='M0 14 H70 V82 H0'/%3E%3Cpath d='M70 26 A22 22 0 0 1 70 70'/%3E%3C/g%3E%3C/svg%3E") center / 100% 100% no-repeat,
    repeating-linear-gradient(90deg, rgba(255,255,255,0.025) 0 22px, rgba(0,0,0,0.05) 22px 44px),
    #141414;
  border: 1px solid var(--line);
  border-bottom: 3px solid rgba(255,107,44,0.55);
}
.tile--tipoff:hover, .tile--allstar:hover, .tile--champ:hover { border-color: var(--orange); }
.tile > span { text-shadow: 0 2px 12px rgba(0,0,0,0.6); }
.hero--tall { min-height: 700px; }
@media (max-width: 640px) { .hero--tall { min-height: 480px; } .hero--tall .hero__bg { background-position: 55% 15% !important; } }

/* ---------- Instagram ---------- */
.nav__ig { display: inline-flex; align-items: center; gap: 8px; color: var(--text); }
.nav__ig:hover { color: var(--orange-glow); }
.nav__ig-label { display: none; }
.footer-ig { display: inline-flex; align-items: center; gap: 8px; color: var(--soft); text-decoration: none; }
.footer-ig:hover { color: var(--orange-glow); }
.ig-follow { display: inline-flex; align-items: center; gap: 10px; }
.ig-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.ig-grid a { position: relative; display: block; aspect-ratio: 1; overflow: hidden; color: #FFFFFF; }
.ig-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.ig-grid__over { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(255, 90, 31, 0.75); opacity: 0; transition: opacity .2s ease; }
.ig-grid a:hover .ig-grid__over, .ig-grid a:focus-visible .ig-grid__over { opacity: 1; }
.ig-grid a:hover img { transform: scale(1.05); }
@media (max-width: 960px) { .ig-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .nav__ig { padding: 16px 0; border-bottom: 1px solid var(--line); width: 100%; font-family: var(--f-ui); font-size: 26px; letter-spacing: 0.06em; text-transform: uppercase; }
  .nav__ig-label { display: inline; }
}
@media (max-width: 640px) { .ig-follow { width: 100%; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .ig-grid img { transition: none; } }
.ig-handle { overflow-wrap: anywhere; } @media (max-width: 640px) { .ig-handle { font-size: 40px; } } .section-head > div { min-width: 0; max-width: 100%; }
@media (max-width: 640px) { .ig-handle { font-size: 34px; overflow-wrap: normal; } } @media (max-width: 860px) { .nav__ig { gap: 12px; } }
.gallery-credit { margin: -8px 0 24px; font-family: var(--f-ui); font-size: 22px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--soft); }

/* In the news */
.press { display: grid; color: inherit; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--orange); color: inherit; text-decoration: none; transition: border-color .2s; }
.press:hover { border-color: var(--orange); }
.press__img { position: relative; display: block; padding: 0; border: 0; background: #000; cursor: zoom-in; }
.press__zoom { position: absolute; right: 14px; bottom: 14px; width: 42px; height: 42px; display: grid; place-items: center; background: rgba(5,5,5,.75); color: #fff; font-size: 22px; border: 1px solid var(--line); }
.press__img:hover .press__zoom { background: var(--orange); color: #0E0E0E; }
.press__body { color: inherit; text-decoration: none; }
.press__body:hover .press__title { color: var(--orange-glow); }
.zoombox__img { flex: none; max-width: min(1400px, 100%); max-height: 88vh; }
.press__img { overflow: hidden; min-height: 300px; }
.press__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; display: block; transition: transform .4s; }
.press:hover .press__img img { transform: scale(1.03); }
.press__body { padding: 44px 48px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.press__src { font-family: var(--f-mono); font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange); }
.press__title { margin: 0; font-family: var(--f-display); font-weight: 900; font-size: 46px; line-height: .95; text-transform: uppercase; }
.press__body p { margin: 0; color: var(--muted); max-width: 52ch; }
@media (max-width: 760px) {
  .press { grid-template-columns: 1fr; }
  .press__img { min-height: 220px; }
  .press__body { padding: 28px 22px; }
  .press__title { font-size: 32px; }
}
#zoombox { background: #050505; }
