@font-face {
  font-family: "Open Sans";
  src: url("./assets/open-sans.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("./assets/open-sans-bold.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Nimbus Narrow";
  src: url("./assets/nimbus-narrow.woff") format("woff");
  font-weight: 700;
  font-style: oblique;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #0c0c13;
  --surface: #14131c;
  --text: #f9f5ee;
  --muted: #c5bfca;
  --gold: #f4cb82;
  --gold-light: #ffedc8;
  --line: #392e36;
  --body: "Open Sans", system-ui, sans-serif;
  --display: "Nimbus Narrow", "Arial Narrow", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 104px; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 1rem/1.6 var(--body);
}

a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
h1, h2, h3, p { margin: 0; }

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 5px;
}

.wrap { width: min(1220px, calc(100% - 96px)); margin-inline: auto; }

.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 5;
  padding: 10px 16px;
  background: var(--gold-light);
  color: #1d1510;
  transform: translateY(-150%);
}
.skip:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 3;
  background: #0b0b12f5;
  border-bottom: 1px solid #d2a86731;
  backdrop-filter: blur(12px);
}

.header-layout, .navigation, .brand, .footer-layout {
  display: flex;
  align-items: center;
}

.header-layout { min-height: 78px; justify-content: space-between; gap: 24px; }
.header-brands { display: flex; align-items: center; gap: clamp(12px, 2vw, 24px); }
.federation-brand { flex: none; display: block; padding-block: 9px; }
.federation-brand img { display: block; width: clamp(47px, 6vw, 73px); height: auto; }
.brand { flex: none; gap: 12px; line-height: 1; }
.brand-mark {
  font: oblique 700 2.4rem/.92 var(--display);
  letter-spacing: -.05em;
  color: var(--gold);
}
.brand-name {
  display: grid;
  gap: 5px;
  padding-left: 12px;
  border-left: 1px solid #e4b97655;
  font-size: .89rem;
  font-weight: 700;
  letter-spacing: .15em;
}
.brand-name span { color: var(--muted); font-size: .69rem; letter-spacing: .07em; }

.navigation { gap: clamp(16px, 2.3vw, 34px); }
.navigation > a:not(.button) { font-size: .9rem; color: #efe9e5; font-weight: 700; }
.navigation > a:not(.button):hover { color: var(--gold); }

.menu-toggle { display: none; }
.button {
  display: inline-flex;
  min-height: 49px;
  align-items: center;
  justify-content: center;
  padding: 11px 23px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: .91rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  transition: background-color .2s, color .2s, box-shadow .2s, border-color .2s;
}
.button-gold {
  background: linear-gradient(112deg, #f9d896, #eabc70);
  color: #1d1510;
  border-color: #ffdfa0;
}
.button-gold:hover { box-shadow: 0 0 22px #f9c86c45; background: #ffe0a3; }
.button-outline { background: #101018a6; color: var(--text); border-color: #ab8d68aa; }
.button-outline:hover { border-color: var(--gold); color: var(--gold-light); background: #29202a; }
.header-ticket { min-height: 43px; padding-inline: 20px; }

.hero {
  position: relative;
  isolation: isolate;
  min-height: 650px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: radial-gradient(ellipse at 84% 57%, #2c1a29 0%, #131019 45%, #0b0b12 76%);
}

.hero-art, .hero-shade, .hero-line { position: absolute; pointer-events: none; }
.hero-art {
  right: max(0px, calc((100vw - 1640px) / 3));
  top: 0;
  bottom: 0;
  width: clamp(710px, 64vw, 1020px);
  z-index: -3;
  mask-image: linear-gradient(90deg, transparent, #000 22%, #000 88%, transparent);
}
.hero-art::before {
  content: "";
  display: block;
  width: 100%;
  aspect-ratio: 1086 / 1448;
  background: url("./assets/plakat-mcr-2027.png") center / 100% auto no-repeat;
  transform: translateY(-19%);
  mask-image:
    linear-gradient(180deg, transparent 27.8%, #000 35.2%, #000 73%, transparent 77%),
    radial-gradient(ellipse 29% 35% at 37% 37%, #000 60%, transparent 100%);
  clip-path: polygon(0 22%, 20% 19%, 22% 10.5%, 25.8% 10.5%, 26.4% 13%, 29.8% 13%, 30.5% 17%, 34.5% 20.8%, 48% 20.8%, 55% 25.5%, 74% 25.5%, 78% 27.5%, 100% 28%, 100% 76.5%, 0 76.5%);
}
.hero-shade {
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(90deg, #0b0b12 2%, #0b0b12 26%, #0b0b12a8 43%, transparent 60%),
    linear-gradient(180deg, #0b0b12 0%, #0b0b1250 16%, transparent 34%, transparent 71%, #0c0c1380 91%, #0c0c13 100%);
}
.hero-layout { position: relative; padding-block: 77px 113px; }

.eyebrow {
  color: var(--gold);
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.hero-date { display: flex; align-items: center; gap: 13px; margin-bottom: 28px; }
.hero-date::before { content: ""; width: 37px; height: 1px; background: var(--gold); }

.hero h1 {
  text-transform: uppercase;
  font-family: var(--display);
  font-weight: 700;
  font-style: oblique;
  letter-spacing: -.02em;
  line-height: .91;
}
.hero h1 > span { display: block; width: fit-content; }
.hero-title {
  font-size: clamp(4.6rem, 8.1vw, 8rem);
  color: #f0c37e;
  background: linear-gradient(180deg, #fff1ce 7%, #ffda8f 41%, #d0964e 59%, #ffe2a5 89%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 14px #efaa602d);
  padding: .27em .12em .035em .02em;
  margin: -.27em -.12em -.035em -.02em;
}
.hero-title-second { font-size: clamp(3.45rem, 5.85vw, 5.63rem); margin-top: 7px; }
.hero-sport { margin-top: 10px; font-size: clamp(2.3rem, 4.45vw, 4.25rem); }
.hero-discipline {
  color: var(--gold);
  font-family: var(--body);
  font-size: clamp(.87rem, 1.66vw, 1.42rem);
  font-style: normal;
  font-weight: 700;
  letter-spacing: .115em;
  line-height: 1.4;
  margin-top: 17px;
}
.hero-venue {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .035em;
}
.venue-city { color: var(--muted); font-weight: 400; }
.icon-pin {
  display: inline-grid;
  width: 15px;
  height: 15px;
  place-content: center;
  border: 1.5px solid var(--gold);
  border-radius: 65% 65% 65% 0;
  transform: translateY(-2px) rotate(-45deg);
}
.icon-pin::after { content: ""; width: 5px; height: 5px; border: 1px solid var(--gold); border-radius: 50%; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.hero-line {
  width: 116%;
  height: 88px;
  left: -8%;
  bottom: -60px;
  border: 1px solid #dbad64c2;
  border-radius: 50% 50% 0 0;
  box-shadow: 0 -3px 22px #dca26330;
  mask-image: linear-gradient(90deg, transparent 3%, #000 25%, #000 75%, transparent 97%);
}

.partners-strip { padding-block: 15px 9px; }
.partners-title {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(12px, 3vw, 42px);
  margin-bottom: 15px;
  text-align: center;
}
.partners-title::before, .partners-title::after {
  content: "";
  width: clamp(32px, 10vw, 132px);
  height: 1px;
  background: linear-gradient(90deg, transparent, #dfab65b3);
}
.partners-title::after { transform: scaleX(-1); }
.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(9px, 1.55vw, 20px);
}
.partner-slot {
  display: grid;
  place-items: center;
  min-height: 68px;
  padding: 9px;
  border: 1px solid #e1b46f9c;
  border-radius: 6px;
  background: linear-gradient(150deg, #1a1620, #0e0e16);
}
.partner-slot img { max-width: 100%; max-height: 60px; object-fit: contain; }

.partner-main {
  width: min(100%, 560px);
  min-height: clamp(152px, 20vw, 188px);
  margin-inline: auto;
  padding: 20px;
  align-content: center;
  gap: 10px;
  text-align: center;
  background: radial-gradient(ellipse at top, #27202a, #11111a 75%);
}
.partner-main:hover { border-color: var(--gold-light); }
.partner-main img { width: min(100%, 340px); height: auto; }
.partner-main strong { font-size: .95rem; line-height: 1.35; }
.partners-pending { margin: 20px 0 10px; color: var(--muted); font-size: .9rem; text-align: center; }

.partners-contact { display: table; margin: 12px auto 0; font-size: .91rem; }

.audience {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding-top: 31px;
}
.audience-card {
  background: linear-gradient(139deg, #1b1721, #11111a 80%);
  border: 1px solid #6c554966;
  border-radius: 6px;
  padding: 25px 28px 22px;
}
.audience-main { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 15px; align-items: center; }
.audience-main h2 {
  font: oblique 700 2.12rem/1 var(--display);
  text-transform: uppercase;
}
.audience-main p { grid-column: 2; color: var(--muted); margin-top: 4px; }

.card-icon {
  position: relative;
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--gold);
  border: 1px solid #ac86565c;
  border-radius: 4px;
  background: #c1903e13;
}
.card-icon::before { content: ""; border: 1.5px solid currentColor; border-radius: 2px; }
.icon-ticket::before { width: 23px; height: 14px; transform: rotate(-16deg); }
.icon-ticket::after {
  content: "";
  position: absolute;
  left: 24px;
  height: 12px;
  border-left: 1.5px dashed currentColor;
  transform: rotate(-16deg);
}
.icon-list::before { width: 15px; height: 20px; }
.icon-list::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 1.5px;
  background: currentColor;
  box-shadow: 0 -4px 0 currentColor, 0 4px 0 currentColor;
}

.audience-links {
  display: flex;
  flex-wrap: wrap;
  column-gap: 22px;
  row-gap: 7px;
  margin-top: 18px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
}
.audience-links a, .text-link { color: var(--gold); font-weight: 700; text-underline-offset: .25em; }
.audience-links a { font-size: .92rem; }
.audience-links a:hover, .text-link:hover { color: var(--gold-light); text-decoration: underline; }

.section { padding-block: 78px; }
.section h2, .ticket-section h2 {
  font: oblique 700 clamp(2.7rem, 5.5vw, 5rem)/.95 var(--display);
  text-transform: uppercase;
}
.section-heading {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
}

.event-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: start;
  gap: 26px clamp(24px, 5vw, 72px);
  padding-block: 60px 31px;
}
.event-overview p { max-width: 59ch; margin-top: 14px; color: var(--muted); }
.event-overview h3 { font-size: 1.2rem; line-height: 1.3; }
.event-intro h3 { margin-top: 24px; }
.event-intro h3 + p { margin-top: 8px; }
.event-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 16px;
}
.event-categories {
  padding: clamp(14px, 2.5vw, 26px);
  border: 1px solid #9b734958;
  border-radius: 6px;
  background: var(--surface);
}
.event-categories h3, .event-partnership h3 { color: var(--gold-light); }
.event-categories p { margin-top: 8px; }
.event-categories table { width: 100%; margin-block: 15px 10px; border-collapse: collapse; }
.event-categories th, .event-categories td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}
.event-categories thead { color: var(--muted); font-size: .84rem; }
.event-categories tbody th { width: 43%; }
.event-categories tr > :last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.event-categories .event-category-note {
  font-size: .9rem;
}
.event-partnership {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  padding: clamp(16px, 2.5vw, 26px);
  border: 1px solid #9b734958;
  border-radius: 6px;
  background: linear-gradient(139deg, #1b1721, #11111a 80%);
}
.event-partnership p { max-width: 72ch; margin-top: 6px; }

.programme { border-top: 1px solid #715938; }
.programme details { padding: 0 18px; border-bottom: 1px solid var(--line); }
.programme details[open] { background: #14131b; }
.programme summary {
  display: grid;
  grid-template-columns: 1fr auto 18px;
  align-items: center;
  gap: 14px;
  min-height: 67px;
  list-style: none;
  cursor: pointer;
  font-weight: 700;
}
.programme summary::-webkit-details-marker { display: none; }
.programme summary:hover { color: var(--gold-light); }
.programme summary::after {
  content: "";
  justify-self: end;
  width: 9px;
  height: 9px;
  border: 1.5px solid var(--gold);
  border-left: 0;
  border-top: 0;
  transform: rotate(45deg) translateY(-2px);
}
.programme details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.status { color: var(--muted); font-size: .86rem; font-weight: 400; }
.programme details p { max-width: 68ch; color: var(--muted); padding-bottom: 19px; }
.programme details .text-link { display: inline-block; margin-bottom: 19px; }

.schedule { max-width: 47rem; margin: 0 0 14px; }
.schedule div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  padding-block: 9px;
  border-top: 1px solid var(--line);
}
.schedule dt { font-weight: 700; }
.schedule dd { margin: 0; }
.schedule time { color: var(--gold); font-weight: 700; font-variant-numeric: tabular-nums; }

.ticket-section {
  background: radial-gradient(ellipse at 85% 0%, #4e2c2a 0%, #251b24 40%, #17141c 75%);
  border-block: 1px solid #9b734958;
}
.ticket-layout { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 48px; }
.ticket-layout p { margin-top: 10px; color: var(--muted); }
.ticket-actions { display: grid; justify-items: start; gap: 10px; flex-shrink: 0; }

.venue-section { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 28px; }
.venue-section .eyebrow, .contact-section .eyebrow { margin-bottom: 10px; }
.venue-section address { margin: 16px 0 23px; color: var(--muted); font-style: normal; }
.venue-facts { display: grid; gap: 13px; margin: 20px 0 0; }
.venue-facts div { padding-top: 11px; border-top: 1px solid var(--line); }
.venue-facts dt { font-weight: 700; }
.venue-facts dd { margin: 2px 0 0; color: var(--muted); }
.transport { display: inline-block; margin: 12px 0 12px 14px; font-size: .91rem; }

.venue-gallery {
  min-width: 0;
  padding: clamp(16px, 3vw, 28px);
  border: 1px solid #ad844e80;
  border-radius: 6px;
  background: linear-gradient(139deg, #1b1721, #11111a 80%);
}
.venue-gallery h3 { font: oblique 700 clamp(1.9rem, 4vw, 2.7rem)/1 var(--display); text-transform: uppercase; }
.venue-gallery p:not(:empty) { margin-top: 9px; color: var(--muted); }
.gallery-photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.gallery-photos[hidden], .gallery-actions [hidden] { display: none; }
.gallery-photos a {
  display: block;
  overflow: hidden;
  border: 1px solid #a8876077;
  border-radius: 4px;
}
.gallery-photos img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery-photos a:hover, .gallery-photos a:focus-visible { border-color: var(--gold-light); }
.gallery-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.gallery-actions .button, .gallery-dialog-actions .button { min-height: 40px; padding-inline: 14px; }

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 1fr auto;
  align-items: end;
  gap: 25px;
  padding-block: 29px 54px;
  border-top: 1px solid var(--line);
}
.contact-section h2 { max-width: 24ch; font-size: clamp(1.85rem, 3.5vw, 3.25rem); text-transform: none; }
.organizer-details { margin-top: 10px; color: var(--muted); }
.contact-links { display: grid; gap: 4px; justify-content: start; }
.contact-links h3 { font-size: 1rem; }
.partner { padding-left: 20px; border-left: 1px solid var(--line); }
.partner h3 { font-size: 1rem; margin-bottom: 4px; }
.partner p { max-width: 28ch; margin-bottom: 8px; color: var(--muted); }

.site-footer { background: #080910; border-top: 1px solid var(--line); }
.footer-layout { justify-content: space-between; gap: 21px; padding-block: 22px; }
.sports-union { flex: none; display: flex; align-items: center; gap: 8px; font-size: .82rem; }
.sports-union img { width: 46px; height: auto; }
.footer-layout > span { color: var(--muted); font-size: .91rem; }
.footer-layout > .text-link { font-size: .9rem; }

dialog {
  width: min(610px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  padding: 12px;
  background: #121119;
  border: 1px solid #ab8d68;
  border-radius: 5px;
  color: var(--text);
}
dialog::backdrop { background: #07070bea; }
.gallery-dialog { width: min(1000px, calc(100% - 24px)); }
.gallery-dialog-actions { display: flex; justify-content: flex-end; margin-bottom: 10px; }
.gallery-dialog p { margin-top: 10px; color: var(--muted); overflow-wrap: anywhere; }
dialog img { display: block; margin-inline: auto; width: auto; max-width: 100%; height: auto; max-height: calc(100dvh - 100px); object-fit: contain; }

@media (max-width: 980px) {
  .wrap { width: calc(100% - 52px); }
  .header-layout { min-height: 69px; }
  .navigation { gap: 15px; }
  .header-ticket { padding-inline: 12px; }
  .hero { min-height: 590px; }
  .hero-art { right: -101px; }
}

@media (max-width: 900px) {
  html { scroll-padding-top: 82px; }
  .wrap { width: calc(100% - 40px); }
  .header-layout { min-height: 63px; }
  .brand-mark { font-size: 2.15rem; }
  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 10px;
    background: transparent;
    border: 1px solid #ac86566e;
    border-radius: 4px;
    font-size: .88rem;
    font-weight: 700;
    cursor: pointer;
  }
  .menu-icon {
    width: 14px;
    height: 10px;
    border-block: 1px solid var(--gold);
    position: relative;
  }
  .menu-icon::after { content: ""; position: absolute; inset: 3.5px 0 auto; border-top: 1px solid var(--gold); }
  .navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 10px 20px 20px;
    background: #0e0d16;
    border-bottom: 1px solid #775c40;
  }
  .menu-toggle[aria-expanded="true"] + .navigation { display: grid; }
  .navigation > a:not(.button) { padding: 7px 0; }
  .header-ticket { justify-self: start; }
  .hero { min-height: 682px; align-items: stretch; }
  .hero-layout { display: flex; flex-direction: column; align-items: flex-start; padding-block: 56px 36px; }
  .hero-art { top: 174px; right: 50%; translate: 50% 0; width: clamp(470px, 86vw, 665px); }
  .hero-shade {
    background: linear-gradient(180deg, #0b0b12 0%, #0b0b12 23%, #0b0b122a 43%, transparent 62%, #0c0c13a8 81%, #0c0c13 100%);
  }
  .hero h1 { letter-spacing: -.018em; }
  .hero-title { font-size: clamp(3.64rem, 12vw, 5.8rem); }
  .hero-title-second { margin-top: 2px; font-size: clamp(2.61rem, 8.8vw, 4.2rem); }
  .hero-sport { margin-top: 6px; font-size: clamp(1.77rem, 6.05vw, 3.2rem); }
  .hero-discipline { margin-top: 11px; }
  .hero-date { margin-bottom: 18px; }
  .hero-date::before { width: 23px; }
  .hero-venue { margin-top: auto; font-size: .99rem; }
  .hero-actions { margin-top: 14px; }

  .partners-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .partner-slot { min-height: 52px; }
  .audience { grid-template-columns: 1fr; gap: 12px; padding-top: 23px; }
  .audience-card { padding: 20px; }
  .section { padding-block: 52px; }
  .event-overview { grid-template-columns: 1fr; padding-bottom: 10px; }
  .ticket-layout { align-items: flex-start; flex-direction: column; padding-block: 38px; }
  .venue-section { grid-template-columns: 1fr; }
  .contact-section { grid-template-columns: 1fr 1fr; padding-block: 29px 39px; gap: 19px; }
  .contact-section > div:first-child { grid-column: 1 / -1; }
  .footer-layout { flex-wrap: wrap; }
  .footer-layout > span { order: 1; flex-basis: 100%; }
}

@media (max-width: 390px) {
  .wrap { width: calc(100% - 32px); }
  .header-layout { gap: 10px; }
  .header-brands .brand { gap: 7px; }
  .header-brands .brand-name { padding-left: 7px; }
  .hero-title { font-size: clamp(3rem, 12vw, 3.64rem); }
  .hero-title-second { font-size: clamp(2.18rem, 8.8vw, 2.61rem); }
  .hero .button { padding-inline: 16px; }
  .hero-discipline { font-size: .82rem; letter-spacing: .08em; }
  .programme details { padding-inline: 8px; }
  .programme summary { gap: 8px; }
  .event-categories th, .event-categories td { padding-inline: 6px; }
  .gallery-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-section { grid-template-columns: 1fr; }
  .partner { padding: 14px 0 0; border: 0; border-top: 1px solid var(--line); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0s !important; }
}
