:root {
  --crimson: #b11226;
  --crimson-deep: #7a0c1a;
  --ink: #161311;
  --ink-soft: #3a342e;
  --paper: #f7f2eb;
  --cream: #fffaf4;
  --sand: #e6d8c6;
  --gold: #c4a35a;
  --line: rgba(22, 19, 17, 0.12);
  --shadow: 0 24px 60px rgba(22, 19, 17, 0.14);
  --radius: 22px;
  --max: 1180px;
  --nav-h: 84px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Outfit", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.skip {
  position: absolute;
  left: -999px;
}

.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  background: #fff;
  padding: 8px 12px;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--crimson);
}

.kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--crimson);
}

h1,
h2,
.h-display {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 0.4em;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 5.4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 58ch;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(22, 19, 17, 0.06);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.brand span {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand small {
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--crimson);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  padding: 10px 12px;
  font-size: 0.92rem;
  color: var(--ink-soft);
  border-radius: 999px;
}

.nav a:hover,
.nav a.active {
  color: var(--ink);
  background: rgba(177, 18, 38, 0.08);
}

.nav a.active {
  font-weight: 600;
}

.menu-btn {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: var(--cream);
  border-radius: 12px;
  cursor: pointer;
}

.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  margin: auto;
  position: relative;
}

.menu-btn span::before,
.menu-btn span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-btn span::before {
  top: -6px;
}

.menu-btn span::after {
  top: 6px;
}

.hero {
  position: relative;
  min-height: min(92vh, 920px);
  display: grid;
  place-items: end start;
  overflow: hidden;
  color: #fff;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  animation: kenburns 88s ease-out forwards;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(22, 19, 17, 0.18) 0%, rgba(22, 19, 17, 0.72) 72%),
    linear-gradient(90deg, rgba(122, 12, 26, 0.35), transparent 55%);
}

.hero-content {
  position: relative;
  padding: 0 0 84px;
  z-index: 1;
  animation: rise 4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero .kicker,
.hero .kicker::before {
  color: #f3d27a;
  background: #f3d27a;
}

.hero .kicker {
  background: transparent;
}

.hero .kicker::before {
  background: #f3d27a;
}

.hero p {
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.12rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.25s, background 0.25s, color 0.25s, box-shadow 0.25s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--crimson);
  color: #fff;
  box-shadow: 0 10px 24px rgba(177, 18, 38, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 14px 30px rgba(177, 18, 38, 0.38);
}

.btn-primary:hover {
  background: var(--crimson-deep);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.btn-ghost.dark {
  border-color: var(--ink);
  color: var(--ink);
}

.btn-ghost.dark:hover {
  background: var(--ink);
  color: #fff;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: -48px;
  position: relative;
  z-index: 2;
}

.stat {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow);
}

.stat b {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
}

.stat span {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

section {
  padding: 96px 0;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.frame {
  position: relative;
}

.frame img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 28px;
}

.frame::after {
  content: "";
  position: absolute;
  inset: 22px -18px -18px 22px;
  border: 1px solid var(--gold);
  border-radius: 28px;
  z-index: -1;
}

.results-section {
  padding-top: 0;
}

.results-section .lede {
  margin-bottom: 28px;
}

.results-sheet {
  display: block;
  background: #fff;
  border-radius: 24px;
  padding: clamp(12px, 2vw, 28px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.results-sheet img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: top center;
  border-radius: 8px;
  background: #fff;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(22, 19, 17, 0.05);
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-body {
  padding: 22px;
}

.card h3 {
  margin: 0 0 8px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.7rem;
}

.card a {
  color: var(--crimson);
  font-weight: 600;
}

.band {
  background: var(--ink);
  color: #f7f2eb;
}

.band .kicker,
.band .kicker::before {
  color: var(--gold);
  background: var(--gold);
}

.band .kicker {
  background: transparent;
}

.band .kicker::before {
  background: var(--gold);
}

.band-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.poster {
  background: #1d1815;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(196, 163, 90, 0.25);
}

.poster img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 24px 0;
}

.meta div {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 12px;
}

.meta small {
  display: block;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.7rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.gallery-grid a {
  display: block;
  overflow: hidden;
  border-radius: 16px;
  height: 210px;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.8s;
}

.gallery-grid a:hover img {
  transform: scale(1.06);
}

.gallery-grid a:nth-child(1) {
  grid-column: span 2;
  height: 320px;
}

.timeline {
  display: grid;
  gap: 22px;
}

.t-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.t-item strong {
  color: var(--crimson);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.4rem;
}

.schedule {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.day {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
}

.day h3 {
  margin-top: 0;
  font-family: "Cormorant Garamond", serif;
}

.day ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.day li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.95rem;
}

.day time {
  color: var(--crimson);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.disciplines {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.9rem;
}

.rules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.rule {
  background: var(--cream);
  border-radius: 18px;
  padding: 18px;
  border: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
}

.contact-card,
form {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
}

form {
  display: grid;
  gap: 14px;
}

label {
  font-size: 0.85rem;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 12px 14px;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-hint {
  margin: 0 0 8px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  font-weight: 600;
  color: var(--crimson);
}

.map {
  margin-top: 28px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 320px;
}

.map iframe {
  width: 100%;
  height: 360px;
  border: 0;
}

.page-hero {
  padding: 72px 0 36px;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
}

.site-footer {
  background: #110e0c;
  color: #efe6d8;
  padding: 48px 0 28px;
}

.foot {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.foot a:hover {
  color: var(--gold);
}

.legal {
  padding-top: 18px;
  font-size: 0.85rem;
  color: rgba(239, 230, 216, 0.65);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 8, 7, 0.92);
  display: none;
  place-items: center;
  z-index: 80;
  padding: 24px;
}

.lightbox.open {
  display: grid;
}

.lightbox img {
  max-height: 88vh;
  max-width: 92vw;
  border-radius: 12px;
}

.lightbox button {
  position: absolute;
  top: 18px;
  right: 18px;
  background: transparent;
  color: #fff;
  border: 0;
  font-size: 2rem;
  cursor: pointer;
}

.accordion {
  display: grid;
  gap: 10px;
}

.accordion article {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.accordion button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 16px 18px;
  font-weight: 600;
  cursor: pointer;
}

.accordion .panel {
  display: none;
  padding: 0 18px 16px;
  color: var(--ink-soft);
}

.accordion article.open .panel {
  display: block;
}

.table-like {
  width: 100%;
  border-collapse: collapse;
}

.table-like th,
.table-like td {
  text-align: left;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.partners {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--ink-soft);
}

.entry-card {
  margin-top: 28px;
  padding: 26px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 250, 244, 0.08), rgba(255, 250, 244, 0.02)),
    #1d1815;
  border: 1px solid rgba(196, 163, 90, 0.35);
  color: #f7f2eb;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.entry-card.light {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--line);
}

.entry-card h3 {
  margin: 0 0 8px;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
}

.entry-card p {
  margin: 0 0 18px;
  color: inherit;
  opacity: 0.86;
}

.fake-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 18px;
  font-size: 0.92rem;
}

.fake-table th,
.fake-table td {
  padding: 10px 8px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.entry-card.light .fake-table th,
.entry-card.light .fake-table td {
  border-bottom-color: var(--line);
}

.fake-table th {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.muted {
  opacity: 0.7;
  font-style: italic;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 3.2s cubic-bezier(0.16, 1, 0.3, 1), transform 3.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.stat {
  transition: transform 0.25s, box-shadow 0.25s;
}

.stat:hover {
  transform: translateY(-4px);
}

.chip {
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
}

.chip:hover {
  transform: translateY(-2px);
  border-color: var(--crimson);
}

@keyframes kenburns {
  from { transform: scale(1.12) translateY(0); }
  to { transform: scale(1) translateY(-12px); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(36px); }
  to { opacity: 1; transform: none; }
}

@keyframes lightbox-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox.open {
  animation: lightbox-in 1s ease;
}

.page-hero h1 {
  animation: rise 3.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .hero-media img,
  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .stats,
  .cards,
  .split,
  .band-grid,
  .schedule,
  .rules,
  .contact-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid a,
  .gallery-grid a:nth-child(1) {
    height: 240px;
    grid-column: auto;
  }

  .nav {
    position: fixed;
    inset: var(--nav-h) 16px auto;
    display: none;
    flex-direction: column;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 12px;
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .menu-btn {
    display: grid;
  }

  .frame img {
    height: 360px;
  }
}

@media (max-width: 640px) {
  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .t-item {
    grid-template-columns: 1fr;
  }
}
