:root {
  color-scheme: dark;
  --ink: #090c10;
  --panel: #11171e;
  --ice: #f3f4f4;
  --muted: #b7c0c7;
  --gold: #ffbd19;
  --line: #353d45;
  --headline: "Archivo Black", "Arial Black", Arial, sans-serif;
  --label: "Barlow Semi Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Inter", Arial, sans-serif;
  --gutter: clamp(19px, 5vw, 76px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--ice); font: 400 16px/1.6 var(--body); }
body:has(dialog[open]) { overflow: hidden; }
p, h1, h2, dl, dd, figure, ol { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.shell { width: min(calc(100% - 2 * var(--gutter)), 1310px); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 12px; z-index: 3; transform: translateY(-150%); padding: 8px 14px; background: var(--gold); color: var(--ink); }
.skip-link:focus { transform: none; }
.section-pad { padding-block: clamp(64px, 8vw, 126px); }

.site-header { position: relative; z-index: 1; }
.header-inner { min-height: 82px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.brand { display: inline-flex; min-height: 44px; align-items: center; }
.brand img { width: 151px; height: auto; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(15px, 3vw, 44px); }
.nav a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; color: var(--ice); font: 700 15px/1 var(--label); text-transform: uppercase; letter-spacing: .1em; }
.nav a:hover { color: var(--gold); }
.button { min-height: 50px; display: inline-flex; align-items: center; gap: 28px; justify-content: space-between; padding: 11px 17px; border: 1px solid transparent; text-decoration: none; font: 800 16px/1.15 var(--label); text-transform: uppercase; letter-spacing: .055em; transition: background-color .2s, color .2s, border-color .2s; }
.button span, .text-link span { font: 600 17px/1 var(--body); }
.button-header { min-height: 44px; color: var(--gold); padding-inline: 0; }
.button-header:hover { color: var(--ice); }
.button-primary { background: var(--gold); color: var(--ink); }
.button-primary:hover { background: var(--ice); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; gap: 10px; font: 800 15px/1.2 var(--label); text-transform: uppercase; letter-spacing: .09em; text-decoration-line: underline; text-underline-offset: 5px; text-decoration-color: #858e97; }
.text-link:hover { color: var(--gold); text-decoration-color: currentColor; }

.hero { position: relative; isolation: isolate; background: var(--ink); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: #0c1824 url("assets/ice-texture.webp") center 45% / cover; opacity: .77; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #090c10 1%, #090c10ed 39%, #090c103a 78%), linear-gradient(0deg, #090c10 0%, transparent 25%); }
.hero-grid { min-height: min(660px, 55vw); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); align-items: center; gap: clamp(24px, 5vw, 88px); padding-block: clamp(37px, 5vw, 74px); }
.hero-copy { position:relative; z-index:1; padding-block: 10px; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--gold); font: 800 14px/1.2 var(--label); text-transform: uppercase; letter-spacing: .18em; }
.eyebrow > span { width: 25px; height: 3px; background: currentColor; flex: none; }
.hero h1 { font: 400 clamp(68px, 10.5vw, 161px)/.87 var(--headline); letter-spacing: -.06em; text-transform: uppercase; margin: 24px 0 28px -.065em; }
.hero h1 > span { display: block; white-space: nowrap; }
.hero h1 > span:first-child { color: var(--gold); }
.hero h1 small { display: inline-block; margin-left: .11em; color: var(--ice); opacity: .85; font: 800 .31em/1 var(--label); letter-spacing: -.025em; vertical-align: .47em; }
.hero-dates { font: 800 clamp(26px, 3vw, 43px)/1.06 var(--label); text-transform: uppercase; letter-spacing: -.015em; }
.hero-dates span { color: var(--gold); }
.hero-place { color: var(--muted); margin-top: 7px; font-size: clamp(14px, 1.35vw, 17px); }
.hero-access { display: none; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 24px; margin-top: 28px; }
.poster { position: relative; width: min(94%, 445px); justify-self: center; transform: rotate(3deg); }
.poster-link { display: block; position: relative; }
.poster-link img { width: 100%; box-shadow: 0 22px 46px #0005; }
.enlarge { position: absolute; right: 0; bottom: 0; display: grid; place-items: center; height: 44px; width: 44px; border-radius: 50%; right: -8px; bottom: -8px; background: var(--gold); color: var(--ink); font-weight: 700; font-size: 22px; }
.poster figcaption { margin-top: 9px; color: #ccd2d8; font: 700 12px/1.4 var(--label); letter-spacing: .14em; text-transform: uppercase; text-align: left; }

.event-band { background: var(--gold); color: #0b0b0c; }
.event-grid { display: grid; grid-template-columns: 1fr .8fr 1.45fr .9fr; min-height: 101px; }
.event-grid > div { align-content: center; padding: 16px clamp(13px, 2.1vw, 30px); }
.event-grid > div:first-child { padding-left: 0; border-left: 0; }
.event-grid dt { font: 700 13px/1.2 var(--label); text-transform: uppercase; letter-spacing: .14em; }
.event-grid dd { margin-top: 4px; font: 800 clamp(19px, 2vw, 29px)/1.1 var(--label); }
.event-grid dd span { font-size: .72em; }

.tournament { background: var(--ink); }
.tournament-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: start; gap: clamp(30px, 8vw, 118px); }
.section-title { margin-top: 16px; margin-left: -.055em; font: 400 clamp(49px, 6.1vw, 99px)/.93 var(--headline); letter-spacing: -.08em; text-transform: uppercase; }
.section-title em { color: var(--gold); font-style: normal; }
.intro { max-width: 45ch; margin-top: 22px; color: var(--muted); font-size: clamp(15px, 1.5vw, 18px); }
.format { list-style: none; padding: 0; counter-reset: stage; }
.format li { display: grid; grid-template-columns: 47px 1fr; align-items: start; gap: 10px; padding-block: 12px; counter-increment: stage; }
.format li::before { content: counter(stage, decimal-leading-zero); color: var(--gold); font: 800 26px/1.14 var(--label); }
.format strong { display: block; font: 800 26px/1.1 var(--label); }
.format p { color: var(--muted); font-size: 15px; margin-top: 3px; }

.teams { margin-top: clamp(68px, 9vw, 140px); scroll-margin-top: 28px; }
.teams h3 { margin: 0 0 clamp(24px, 4vw, 56px); color: var(--ice); font: 400 clamp(38px, 5.8vw, 86px)/.99 var(--headline); text-transform: uppercase; letter-spacing: -.07em; }
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px,4.5vw,70px) clamp(16px,3vw,48px); list-style: none; padding: 0; margin: 0; }
.team-grid li { display: grid; }
.team-grid img { width: clamp(88px, 11vw, 128px); }
.team-grid span { color: var(--ice); font: 800 clamp(16px, 1.65vw, 21px)/1.15 var(--label); }
@media (max-width: 960px) {
  .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.arena { background: linear-gradient(180deg,var(--ink),#141c24); }
.arena-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 29px; }
.arena-head .intro { margin: 0; }
.map-link { display: block; background: #212a34; overflow: hidden; }
.map-link img { width: 100%; }
.arena-map { margin-inline: max(calc(-1 * var(--gutter)), -60px); }
.arena-map figcaption { min-height: 55px; display: flex; align-items: center; justify-content: space-between; gap: 9px 20px; flex-wrap: wrap; padding: 8px min(var(--gutter),60px); }
.arena-map figcaption > span { color: var(--muted); font: 700 14px/1.2 var(--label); text-transform: uppercase; letter-spacing: .09em; }

.visit { background: var(--gold); color: var(--ink); }
.visit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 7vw, 102px); align-items: center; }
.visit .eyebrow { color: inherit; }
.visit address { margin-block: 24px; font-style: normal; font-size: 17px; }
.button-dark { background: var(--ink); color: var(--ice); }
.button-dark:hover { background: transparent; border-color: var(--ink); color: var(--ink); }
.questions { border-top: 1px solid #2019007a; }
.questions details { border-bottom: 1px solid #2019007a; }
.questions summary { min-height: 57px; display: flex; align-items: center; justify-content: space-between; gap: 15px; list-style: none; font: 800 clamp(18px, 2vw, 23px)/1.12 var(--label); cursor: pointer; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: "+"; font: 600 26px/1 var(--label); }
.questions details[open] summary::after { content: "−"; }
.questions p { margin: 0 0 15px; font-size: 15px; overflow-wrap: anywhere; }
.questions p a { text-underline-offset: 3px; text-decoration-thickness: 2px; }

.footer { padding-block: 32px; }
.footer-inner, .footer-brands { display: flex; gap: 18px; justify-content: space-between; align-items: center; }
.footer-brands .brand img { width: clamp(105px, 12vw, 145px); }
.cun-logo { padding-left: 10px; width: clamp(81px, 9vw, 113px); }
.lightbox { width: min(91vw, 1200px); max-height: 92vh; max-height: 92dvh; padding: 12px; border: 1px solid #647282; background: var(--panel); color: var(--ice); }
.lightbox::backdrop { background: #000d; }
.lightbox-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 7px; font: 800 18px/1.15 var(--label); }
.lightbox-close { width: 44px; height: 44px; border: 1px solid var(--line); font: 400 28px/1 var(--body); background: var(--ink); color: var(--ice); cursor: pointer; }
.lightbox-close:hover { color: var(--gold); }
.lightbox-image { max-height: calc(92dvh - 120px); width: 100%; object-fit: contain; }
.lightbox-original { margin-top: 3px; }

@media (max-width: 950px) {
  .hero h1 { font-size: clamp(62px, 10vw, 98px); }
  .event-grid { grid-template-columns: 1fr .76fr 1.18fr .94fr; }
  .event-grid dd span { display: block; margin-top: 2px; }
}
@media (max-width: 710px) {
  .header-inner { min-height: 67px; gap: 8px; }
  .header-inner .brand img { width: 116px; }
  .nav { gap: 12px; }
  .nav a { font-size: 13px; letter-spacing: .035em; }
  .button-header { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 31px; padding-block: 37px 24px; }
  .hero::after { background: linear-gradient(120deg, #090c10ee 15%, #090c1077 83%), linear-gradient(0deg, #090c10 0%, transparent 28%); }
  .hero h1 { font-size: clamp(67px, 15.1vw, 110px); margin-block: 19px 24px; }
  .hero-access { display: block; margin-top: 5px; color: var(--gold); font: 700 17px/1.25 var(--label); }
  .hero-actions { margin-top: 19px; }
  .poster { width: min(87%, 395px); margin-block: 14px; }
  .event-grid { grid-template-columns: 1fr 1fr; }
  .event-grid > div, .event-grid > div:first-child { min-height: 74px; padding: 10px 12px; border: 0; }
  .event-grid > div:nth-child(odd) { padding-left: 0; }
  .event-grid > div:nth-child(n+3) { border-bottom: 0; }
  .tournament-grid, .visit-grid { grid-template-columns: 1fr; gap: 31px; }
  .arena-head { display: grid; gap: 13px; }
}
@media (max-width: 375px) {
  .hero h1 { font-size: clamp(54px, 16.7vw, 66px); }
  .nav { gap: 7px; }
  .nav a { font-size: 12px; }
  .header-inner .brand img { width: 103px; }
  .footer-brands { gap: 9px; }
  .cun-logo { padding-left: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
