:root {
  color-scheme: dark;
  --bg: #101317;
  --surface: #181d23;
  --surface-raised: #20262e;
  --line: #363e47;
  --text: #f3f0eb;
  --muted: #bac0c6;
  --copper: #ffad7c;
  --copper-light: #ffc6a4;
  --ink: #24150e;
  font: 100%/1.55 "Segoe UI", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, p { margin: 0; }
a { color: var(--copper-light); text-underline-offset: .22em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--copper-light); outline-offset: 5px; }
.frame { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }

.site-header {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-size: 1.18rem;
  font-weight: 850;
  letter-spacing: .03em;
  text-decoration: none;
}
.wordmark::before {
  content: "";
  width: 26px;
  height: 19px;
  background: var(--copper);
  clip-path: polygon(0 100%, 39% 16%, 57% 53%, 73% 31%, 100% 100%, 81% 100%, 72% 76%, 56% 93%, 39% 55%, 19% 100%);
}
nav { display: flex; gap: clamp(15px, 3.5vw, 33px); }
nav a { color: var(--muted); text-decoration: none; font-weight: 650; font-size: .9rem; }
nav a:hover { color: var(--copper-light); }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 480px;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--line);
  border-top-color: #735244;
  border-radius: 10px;
  background: #1d2932;
}
.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, #101419 0%, #12181dee 30%, #141a2190 55%, #131b2226 100%),
    linear-gradient(0deg, #101419a8, transparent 45%),
    url("images/summit.jpg") right 49% / cover no-repeat;
}
.hero-copy {
  align-self: center;
  padding: clamp(32px, 5vw, 66px) 16px clamp(32px, 5vw, 66px) clamp(24px, 5vw, 66px);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--copper-light);
  font-size: .875rem;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--copper); flex: none; }
h1, .section h2 {
  font-family: "Bahnschrift", "Segoe UI", system-ui, sans-serif;
  font-weight: 720;
  letter-spacing: -.045em;
}
h1 { font-size: clamp(2.6rem, 5vw, 4.65rem); line-height: .98; }
h1 em { display: block; margin-top: .11em; color: var(--copper); font-style: normal; }
.intro { max-width: 42ch; margin: 24px 0 23px; color: #e0e2e3; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: .95rem;
  font-weight: 750;
  text-decoration: none;
}
.primary { color: var(--ink); background: var(--copper); }
.primary:hover { background: var(--copper-light); }
.secondary { color: var(--text); border-color: #899298; background: #151a20a8; }
.secondary:hover { background: var(--surface-raised); }
.note { color: var(--muted); font-size: .875rem; margin-top: 12px; }

.promo {
  position: relative;
  display: grid;
  place-items: center;
  margin-inline: 0;
  min-width: 0;
  padding: 34px clamp(20px, 4vw, 58px);
}
.ticket {
  width: 100%;
  max-width: 365px;
  border: 1px solid #ffcaab;
  border-radius: 8px;
  background: linear-gradient(130deg, #ffc9a6, #ee935f);
  color: var(--ink);
  box-shadow: 0 18px 46px #0c1015a0;
}
.ticket-main { padding: 22px clamp(16px, 2.5vw, 30px) 18px; }
.ticket h2 { font-size: .875rem; font-weight: 800; text-transform: uppercase; letter-spacing: .095em; }
.ticket strong {
  display: block;
  margin-top: 6px;
  font: 800 clamp(2.7rem, 6.4vw, 5.15rem)/1 "Bahnschrift", "Segoe UI", system-ui, sans-serif;
  letter-spacing: -.065em;
}
.ticket-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px clamp(14px, 2.5vw, 29px);
  border-top: 1px dashed #77432e;
  font-size: .875rem;
  font-weight: 650;
}
.ticket-footer button {
  flex: none;
  min-height: 42px;
  padding: 7px 13px;
  border: 1px solid #44291c;
  border-radius: 5px;
  background: #2b1b13;
  color: #fff0e5;
  font-weight: 750;
}
.ticket-footer button:hover { background: #4a2b1c; }
.ticket-footer button:focus-visible { outline-color: var(--ink); }
.copy-status {
  position: absolute;
  inset-inline: 12px;
  top: calc(50% + 106px);
  text-align: center;
  color: #fff4ec;
  text-shadow: 0 1px 5px #000;
  font-size: .875rem;
  font-weight: 650;
}

.section { margin-top: clamp(44px, 6vw, 79px); scroll-margin-top: 20px; }
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}
.section h2 { font-size: clamp(2rem, 4vw, 3.35rem); line-height: 1.03; }
.section-heading p { max-width: 35ch; color: var(--muted); }
.guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.guide-card { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.guide-content { padding: 22px 24px 18px; }
h3 { font-size: 1.35rem; letter-spacing: -.026em; }
.guide-content p, .proof > p { margin-top: 5px; color: var(--muted); }
.tutorial {
  display: block;
  width: calc(100% - 48px);
  aspect-ratio: 4 / 3;
  margin-inline: 24px;
  border: 1px solid #323a44;
  border-radius: 5px;
  background: #0d1013;
  object-fit: contain;
}
details { margin: 0 24px; }
summary { padding-block: 16px; color: var(--copper-light); font-weight: 700; cursor: pointer; }
ol { padding-left: 1.35em; }
details ol { margin-top: 0; margin-bottom: 20px; }
li + li { margin-top: 8px; }

.access {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  padding: clamp(22px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(125deg, #29201d, var(--surface) 65%);
}
.access-copy { align-self: center; }
.access h2 { max-width: 13ch; }
.access ol { margin: 22px 0 0; }
.proof {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-raised);
}
.file-picker { position: relative; margin-top: 15px; }
#proof-file { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
.file-label { border-color: #84909b; color: var(--text); cursor: pointer; }
.file-label:hover { background: var(--surface); }
#proof-file:focus-visible + .file-label { outline: 2px solid var(--copper-light); outline-offset: 4px; }
#proof-name { display: block; margin-top: 6px; color: var(--muted); font-size: .875rem; overflow-wrap: anywhere; }
#proof-submit { margin-top: 14px; }
#proof-status:not(:empty) { margin-top: 10px; color: var(--text); font-weight: 650; }
.site-footer { display: flex; gap: 20px; align-items: baseline; padding: 30px 0; color: var(--muted); font-size: .875rem; }
.site-footer strong { color: var(--text); }

@media (max-width: 860px) {
  .frame { width: calc(100% - 40px); }
  .hero { min-height: 420px; }
}
@media (max-width: 680px) {
  .frame { width: calc(100% - 32px); }
  .site-header { min-height: 62px; }
  .hero, .guide-grid, .access { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .hero::before {
    background:
      linear-gradient(180deg, #101419f2 0%, #12181dd9 36%, #141a2145 77%, #131b228c 100%),
      url("images/summit.jpg") 68% bottom / cover no-repeat;
  }
  .hero-copy { padding: 30px 21px 17px; }
  h1 { font-size: clamp(2.25rem, 8.5vw, 3.8rem); }
  .promo { min-height: 224px; padding: 18px 21px 44px; }
  .copy-status { top: auto; bottom: 12px; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 10px; }
  .site-footer { display: block; }
  .site-footer p { margin-top: 6px; }
}
@media (max-width: 360px) {
  .site-header { gap: 8px; }
  .wordmark { gap: 6px; font-size: 1.05rem; }
  nav { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
