:root {
  color-scheme: dark;
  --orange: #ff4500;
  --surface: #111113;
  --display: Archivo, "Arial Black", sans-serif;
  --cut: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; background: var(--surface); color: white; font: 1rem/1.6 Inter, Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--orange); }
button, input { font: inherit; }
button, summary { cursor: pointer; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid white; outline-offset: 3px; }
[hidden] { display: none !important; }
.wrap { width: min(100% - 2.5rem, 76rem); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.center { text-align: center; }
.narrow { max-width: 60rem; }
h1, h2, h3, h4, .button, summary b { font-family: var(--display); font-weight: 900; }
h1, h2, h3, h4 { margin: 0; line-height: 1; text-transform: uppercase; }
h1 { max-width: 64rem; font-size: clamp(2.55rem, 8vw, 5.5rem); line-height: .94; letter-spacing: -.045em; }
h2 { font-size: clamp(2.05rem, 5vw, 4rem); letter-spacing: -.045em; }
h2.compact { font-size: clamp(1.55rem, 4vw, 2.4rem); }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; line-height: 1.12; }
em, .accent { color: var(--orange); font-style: normal; }
p { color: #dadadd; margin: 1.15em 0; }
.tag { display: inline-block; border: 2px solid var(--orange); border-radius: 3rem; padding: .35rem 1.05rem; margin-bottom: 1.35rem; font: 600 .875rem/1.4 Oswald, sans-serif; letter-spacing: .1em; }
.button { display: inline-flex; position: relative; align-items: center; justify-content: center; min-height: 3rem; padding: .85rem 1.65rem; clip-path: var(--cut); background: var(--orange); color: white; text-align: center; text-transform: uppercase; font-size: .875rem; letter-spacing: .065em; line-height: 1.2; border: 0; }
.button:hover { background: #da3d06; color: white; }
.button:focus-visible { box-shadow: inset 0 0 0 4px white; }
.outline { padding: 2px; }
.outline span { display: grid; place-items: center; align-self: stretch; width: 100%; background: #111113; padding: .7rem 1.55rem; clip-path: var(--cut); }
.actions, .nav-actions, form { display: flex; gap: 1rem; flex-wrap: wrap; }
.center .actions { justify-content: center; }
header { position: fixed; inset: 0 0 auto; z-index: 5; background: linear-gradient(#0009, transparent); }
header.solid, header:has(.menu[aria-expanded="true"]) { background: #090909; }
.head, .brand, nav { display: flex; align-items: center; }
.head { min-height: 4.6rem; justify-content: space-between; gap: 1.5rem; }
.brand { font: 600 1.14rem Oswald, sans-serif; letter-spacing: .095em; gap: .65rem; }
nav { gap: clamp(.8rem, 2vw, 1.8rem); }
nav a { text-transform: uppercase; font-size: .82rem; font-weight: 600; letter-spacing: .07em; }
.nav-actions { gap: .65rem; }
.menu, .partners button { background: transparent; color: white; border: 1px solid #555; min-height: 44px; min-width: 44px; padding: .4rem .7rem; }
.scene { position: relative; isolation: isolate; display: flex; align-items: center; background: black; }
.backdrop, .scene::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.backdrop { object-fit: cover; z-index: -2; }
.scene::after { content: ""; z-index: -1; background: linear-gradient(90deg, #000d, #0007), linear-gradient(0deg, #0005, transparent); }
.hero { min-height: 100vh; min-height: 100svh; align-items: end; border-bottom: 3px solid var(--orange); padding: 8rem 0 clamp(3rem, 9vh, 7rem); }
.subline { margin: 1.5rem 0 2rem; font-weight: 600; letter-spacing: .16em; }
.clock { margin: 2rem auto 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 46rem; gap: clamp(.25rem, 2vw, 1.5rem); }
.clock strong { display: block; color: var(--orange); font: 900 clamp(2rem, 7vw, 5.5rem)/1.1 var(--display); font-variant-numeric: tabular-nums; }
.clock small { font: 600 clamp(.72rem, 1.5vw, 1rem) Oswald, sans-serif; letter-spacing: .07em; }
.ribbon { background: var(--orange); overflow-x: auto; }
.ribbon > div { display: flex; align-items: center; justify-content: space-around; width: max-content; min-width: 100%; padding: .8rem 1rem; gap: 1.6rem; }
.ribbon span { white-space: nowrap; text-transform: uppercase; font: 900 .82rem var(--display); letter-spacing: .065em; }
.ribbon span + span::before { content: "◆"; margin-right: 1.6rem; }
#battle, .event { min-height: 100svh; }
#battle h2, .event h2 { font-size: clamp(2.65rem, 7vw, 6rem); }
.lead { font-weight: 600; font-size: clamp(1.12rem, 2vw, 1.5rem); color: white; }
.exercises { max-width: 56rem; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .65rem; align-items: start; }
details { border: 1px solid #333; background: #050505; }
details[open], details:hover { border-color: var(--orange); }
summary { list-style: none; display: flex; align-items: center; gap: 1rem; min-height: 48px; padding: 1rem 1.2rem; font-weight: 600; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; margin-left: auto; color: var(--orange); font-size: 1.4rem; }
details[open] > summary::after { content: "−"; }
summary b { color: var(--orange); font-size: 1.5rem; }
.exercises summary { font-family: var(--display); text-transform: uppercase; }
details p { margin: 0; padding: 0 1.2rem 1.1rem; }
.event::after { background: linear-gradient(90deg, #0006, #000d); }
.event-text { max-width: 42rem; margin-left: auto; }
.event-text p, .location p { font-size: 1.1rem; }
.partners { display: flex; gap: .5rem; align-items: center; padding: 1.5rem max(1rem, 5vw); background: black; }
.partners button { font-size: 1.6rem; border: 0; }
.logos { display: flex; flex: 1; min-width: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.logos img { flex: 0 0 16.666%; width: 16.666%; height: 4rem; padding: .5rem 1rem; object-fit: contain; scroll-snap-align: start; filter: brightness(0) invert(1); }
.cards { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1rem; margin-top: 3rem; }
article { display: flex; flex-direction: column; align-items: flex-start; border: 1px solid #303030; border-radius: .5rem; background: #050505; padding: clamp(1.3rem, 2vw, 2rem); }
article .accent { margin-bottom: 1rem; }
article hr { width: 2.5rem; border: 1px solid var(--orange); margin: 1rem 0; }
article .button { margin-top: auto; }
.location { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.location > * { min-width: 0; }
.location h2 { font-size: clamp(2rem, 4vw, 3.6rem); }
address { font-style: normal; margin: 1.4rem 0; }
figure { margin: 0; }
.location-image { width: 100%; height: auto; }
figcaption { margin-top: .5rem; color: #c4c4c4; font-size: .875rem; }
.banner { min-height: 65svh; }
.banner h2 { margin-bottom: 2rem; font-size: clamp(3rem, 8vw, 7rem); }
.gallery { display: grid; grid-template-rows: repeat(2, auto); grid-auto-flow: column; grid-auto-columns: clamp(9rem, 17vw, 17rem); gap: .4rem; overflow-x: auto; background: black; }
.gallery img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
#faq details { margin: .7rem 0; }
#faq .center { margin-bottom: 2rem; }
#newsletter p, form { max-width: 42rem; margin-inline: auto; }
form input { flex: 1; min-width: 0; background: #050505; color: white; border: 1px solid #555; padding: .85rem 1.15rem; font-size: 1rem; }
footer { padding: 4rem 0 2rem; background: #080808; }
.footer-row,.contact { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
footer nav { flex-wrap: wrap; }
.contact { justify-content: center; border-top: 1px solid #333; margin-top: 2rem; padding-top: 1.5rem; color: #bbb; font-size: .875rem; }
.floating { position: fixed; right: 1rem; bottom: max(1rem,env(safe-area-inset-bottom)); z-index: 3; }
.sr,.skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); }
.skip:focus { position: fixed; top: 0; left: 0; z-index: 10; padding: 1rem; background: black; }
@media (max-width: 65rem) {
  .cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .head { flex-wrap: wrap; gap: 0; padding-block: .6rem; }
  #nav { flex-basis: 100%; flex-wrap: wrap; background: #090909; padding: 1rem; }
  .js #nav { display: none; position: absolute; top: 100%; inset-inline: 0; padding: 1rem max(1.25rem,5vw); max-height: calc(100svh - 5rem); overflow-y: auto; }
  .js #nav.open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  #nav > a { padding: .7rem 0; }
  .nav-actions { padding: .5rem 0; }
  html:not(.js) header { position: static; background: black; }
}
@media (max-width: 48rem) {
  .exercises,.location { grid-template-columns: 1fr; }
  .location h2 { font-size: clamp(1.9rem, 8vw, 3rem); }
  .logos img { flex-basis: 50%; width: 50%; }
  .footer-row,.contact { flex-direction: column; text-align: center; }
  footer nav { justify-content: center; }
  .floating { display: none; }
}
@media (max-width: 38rem) {
  .wrap { width: calc(100% - 2.25rem); }
  .hero { padding-bottom: 3.25rem; }
  .hero .backdrop { object-position: 56% center; }
  .scene::after { background: linear-gradient(0deg,#000d 0%,#0009 65%,#0005); }
  .actions,.nav-actions,form { flex-direction: column; }
  .actions { gap: .65rem; }
  .cards { grid-template-columns: 1fr; margin-top: 2rem; }
  .logos img { flex-basis: 100%; width: 100%; }
  .gallery { grid-auto-columns: 48%; }
  .clock small { letter-spacing: 0; }
  .head { min-height: 4rem; }
  summary { gap: .75rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (max-width: 23rem) {
  #battle h2,.event h2 { font-size: 2.3rem; }
  #newsletter h2 { font-size: 1.8rem; }
}
/* Keep decorative edges within the page while ribbons scroll independently. */
main { overflow-x: clip; }
