:root {
  --red: #ef1726;
  --ink: #151a21;
  --muted: #65707b;
  --line: rgba(21, 26, 33, 0.14);
  --line-strong: rgba(21, 26, 33, 0.24);
  --paper: #e7eaed;
  --paper-2: #f4f5f6;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(21, 26, 33, 0.11);
  --condensed: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(21, 26, 33, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(21, 26, 33, 0.03) 1px, transparent 1px),
    var(--paper);
  background-size: 72px 72px, 72px 72px, auto;
  color: var(--ink);
  font-family: var(--body);
  min-width: 320px;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.34;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(21, 26, 33, 0.1) 0 1px, transparent 1px),
    radial-gradient(circle at 80% 70%, rgba(21, 26, 33, 0.08) 0 1px, transparent 1px);
  background-size: 9px 9px, 13px 13px;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(239, 23, 38, 0.45);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid rgba(21, 26, 33, 0.08);
  background: rgba(231, 234, 237, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  width: clamp(96px, 13vw, 158px);
  overflow: hidden;
}

.brand img {
  width: 100%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  color: rgba(21, 26, 33, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-links a {
  transition: color 180ms ease;
}

.nav-links a:hover {
  color: var(--red);
}

.section-shell {
  width: min(1180px, calc(100% - 36px));
  margin-inline: auto;
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  align-items: center;
  gap: clamp(28px, 5vw, 80px);
  overflow: hidden;
  padding: clamp(54px, 8vw, 110px) 0 clamp(42px, 7vw, 82px);
}

.hero::before {
  position: absolute;
  left: -15vw;
  top: 10%;
  width: min(88vw, 980px);
  height: 62%;
  content: "";
  border: 1px solid var(--line);
  border-left: 0;
  opacity: 0.8;
}

.hero::after {
  content: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.7;
  background:
    linear-gradient(90deg, transparent 0 49.8%, rgba(21, 26, 33, 0.18) 50%, transparent 50.2%),
    linear-gradient(0deg, transparent 0 59.8%, rgba(21, 26, 33, 0.12) 60%, transparent 60.2%);
}

.hero-content,
.hero-panel {
  position: relative;
  z-index: 2;
}

.eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before,
.eyebrow::after {
  display: inline-block;
  width: 16px;
  height: 4px;
  content: "";
  transform: skewX(-26deg);
  background: var(--red);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--condensed);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 780px;
  font-size: clamp(4.8rem, 12vw, 11.8rem);
  line-height: 0.78;
}

h2 {
  font-size: clamp(2.4rem, 5.8vw, 5.4rem);
  line-height: 0.9;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  line-height: 0.94;
}

.hero-copy {
  width: min(620px, 100%);
  margin: 28px 0 0;
  color: rgba(21, 26, 33, 0.72);
  font-size: clamp(1rem, 1.7vw, 1.28rem);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid transparent;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--red);
  box-shadow: 14px 14px 0 rgba(21, 26, 33, 0.08);
}

.button-secondary {
  color: var(--ink);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.42);
}

.button-secondary:hover {
  border-color: var(--red);
  color: var(--red);
}

.button[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.58;
}

.hero-panel {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  background: rgba(244, 245, 246, 0.64);
  box-shadow: var(--shadow);
}

.hero-panel span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-panel strong {
  padding-block: 12px;
  border-block: 1px solid var(--line);
  font-family: var(--condensed);
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 0.9;
}

.hero-address {
  margin-top: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  line-height: 1.4;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  display: block;
}
.hero-address:hover { color: var(--red); }
.hero-address small { font-weight: 400; font-size: 0.72rem; }

.quick-facts {
  display: grid;
  width: min(1180px, calc(100% - 36px));
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto;
  border: 1px solid var(--line);
  background: rgba(244, 245, 246, 0.62);
}

.quick-facts div {
  min-width: 0;
  padding: 22px;
  border-right: 1px solid var(--line);
}

.quick-facts div:last-child {
  border-right: 0;
}

.quick-facts span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.quick-facts strong {
  display: block;
  font-family: var(--condensed);
  font-size: clamp(1.55rem, 2.6vw, 2.35rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.intro,
.schedule,
.modalities,
.registration,
.peripherals,
.faq {
  padding-block: clamp(72px, 10vw, 126px);
}

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 34px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.62fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: start;
}

.intro p:not(.eyebrow) {
  margin: 8px 0 0;
  color: rgba(21, 26, 33, 0.72);
  font-size: 1.04rem;
  line-height: 1.75;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.tab-button {
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(244, 245, 246, 0.56);
  cursor: pointer;
  font: 900 0.82rem var(--body);
  text-transform: uppercase;
  transition:
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.tab-button[aria-selected="true"] {
  color: var(--white);
  border-color: var(--red);
  background: var(--red);
}

.timeline {
  border: 1px solid var(--line);
  background: rgba(244, 245, 246, 0.58);
}

.timeline-item {
  display: grid;
  grid-template-columns: minmax(120px, 0.22fr) minmax(0, 1fr);
  gap: 22px;
  padding: 22px;
  border-bottom: 1px solid var(--line);
}

.timeline-item:last-child {
  border-bottom: 0;
}

.timeline-time {
  color: var(--red);
  font-family: var(--condensed);
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 0.95;
}

.timeline-title {
  margin: 0 0 6px;
  font-weight: 900;
  text-transform: uppercase;
}

.timeline-desc {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.accordion-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.accordion-item {
  border: 1px solid var(--line);
  background: rgba(244, 245, 246, 0.62);
}

.accordion-item.is-featured {
  border-color: rgba(239, 23, 38, 0.5);
  box-shadow: 16px 16px 0 rgba(239, 23, 38, 0.08);
}

.accordion-trigger {
  width: 100%;
  min-height: 126px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  align-items: center;
  gap: 16px;
  padding: 22px;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.accordion-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.accordion-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--red);
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1;
}

.accordion-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 220ms ease;
}

.accordion-item.is-open .accordion-panel {
  grid-template-rows: 1fr;
}

.accordion-panel-inner {
  overflow: hidden;
}

.accordion-content {
  padding: 0 22px 24px;
}

.accordion-content p {
  margin: 0 0 16px;
  color: rgba(21, 26, 33, 0.72);
  line-height: 1.62;
}

.detail-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.5;
}

.detail-list li::before {
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 3px;
  content: "";
  transform: skewX(-25deg);
  background: var(--red);
}

.registration {
  display: grid;
  grid-template-columns: minmax(260px, 0.48fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
}

.registration-copy p:not(.eyebrow) {
  color: rgba(21, 26, 33, 0.72);
  line-height: 1.68;
}

.form-fallback {
  margin-top: 16px;
}

.form-frame {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(239, 23, 38, 0.08), transparent 36%),
    rgba(244, 245, 246, 0.68);
  box-shadow: var(--shadow);
}

.form-frame iframe {
  width: 100%;
  height: 720px;
  border: 0;
  background: var(--white);
}

.form-frame.is-placeholder iframe {
  display: none;
}

.form-placeholder {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  padding: 28px;
  text-align: center;
}

.form-frame.is-placeholder .form-placeholder {
  display: grid;
}

.form-placeholder strong {
  display: block;
  margin-bottom: 10px;
  font-family: var(--condensed);
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.form-placeholder span {
  display: block;
  color: var(--muted);
  line-height: 1.55;
}

.peripheral-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(260px, 1fr);
  gap: 16px;
}

.drop-windows,
.prize-grid,
.faq-list {
  display: grid;
  gap: 12px;
}

.drop-card,
.prize-card,
.faq-item {
  border: 1px solid var(--line);
  background: rgba(244, 245, 246, 0.62);
}

.drop-card {
  padding: 20px;
}

.drop-card h3 {
  margin-bottom: 14px;
}

.drop-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.drop-card li,
.faq-item p {
  color: var(--muted);
  line-height: 1.55;
}

.prize-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.prize-card {
  min-height: 112px;
  display: grid;
  align-content: space-between;
  padding: 18px;
}

.prize-card strong {
  font-family: var(--condensed);
  font-size: 2.2rem;
  line-height: 0.9;
}

.prize-card span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.faq-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.faq-item {
  padding: 20px;
}

.faq-item h3 {
  margin-bottom: 10px;
  font-size: 1.6rem;
}

.faq-item p {
  margin: 0;
}

.site-footer {
  width: min(1180px, calc(100% - 36px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
  padding: 34px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.site-footer img {
  width: 112px;
  opacity: 0.72;
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .intro,
  .registration,
  .peripheral-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 52px;
  }

  .hero::after {
    right: -320px;
    opacity: 0.7;
  }

  .hero-panel {
    width: min(100%, 420px);
  }

  .quick-facts,
  .accordion-list,
  .faq-list {
    grid-template-columns: 1fr;
  }

  .quick-facts div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quick-facts div:last-child {
    border-bottom: 0;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .form-frame {
    min-height: 560px;
  }

  .form-frame iframe {
    height: 660px;
  }
}

@media (max-width: 540px) {
  .section-shell,
  .quick-facts,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  h1 {
    font-size: clamp(4.2rem, 22vw, 7.2rem);
  }

  .hero-actions,
  .tabs {
    display: grid;
  }

  .button,
  .tab-button {
    width: 100%;
  }

  .accordion-trigger {
    min-height: 108px;
    grid-template-columns: minmax(0, 1fr) 30px;
    padding: 18px;
  }

  .accordion-content {
    padding-inline: 18px;
  }

  .prize-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ── KV decorative layer ──────────────────────────────── */
.kv-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.kv-bg-word {
  position: absolute;
  right: -2%;
  top: 50%;
  transform: translateY(-54%);
  margin: 0;
  font-family: var(--condensed);
  font-size: clamp(9rem, 22vw, 25rem);
  font-weight: 800;
  line-height: 0.78;
  color: rgba(21, 26, 33, 0.046);
  text-transform: uppercase;
  white-space: nowrap;
  user-select: none;
}

.kv-globe {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: min(430px, 38vw);
  color: rgba(21, 26, 33, 0.13);
  stroke: currentColor;
}

.kv-node-label {
  position: absolute;
  top: 15%;
  right: 4%;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.kv-node-dash {
  display: inline-block;
  width: 14px;
  height: 1.5px;
  background: var(--red);
}

.kv-rings-icon {
  position: absolute;
  top: 22%;
  right: 24%;
  width: 50px;
  color: rgba(21, 26, 33, 0.18);
  stroke: currentColor;
}

.kv-bracket {
  position: absolute;
  bottom: 20%;
  right: 22%;
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--red);
  border: 1px solid var(--line);
  padding: 3px 7px;
}

.kv-cross {
  position: absolute;
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 300;
  color: rgba(21, 26, 33, 0.24);
  line-height: 1;
}

.kv-cross-a { top: 10%; left: 42%; }
.kv-cross-b { top: 36%; right: 1%; }
.kv-cross-c { bottom: 26%; right: 30%; }

@media (max-width: 860px) {
  .kv-bg-word {
    font-size: clamp(8rem, 44vw, 14rem);
    right: -8%;
  }

  .kv-globe {
    width: min(300px, 70vw);
    right: -14%;
  }

  .kv-node-label,
  .kv-rings-icon,
  .kv-cross-b {
    display: none;
  }

  .kv-bracket {
    right: 6%;
    bottom: 14%;
  }
}
