:root {
  --bg: #1c3a2c;
  --bg-deep: #143024;
  --bg-mid: #24523c;
  --bg-lift: #3e6b54;
  --bg-pale: #6d947f;
  --ink: #e7eee8;
  --muted: #d5ddd4;
  --accent: #e4c15a;
  --paper: #e7eee8;
  --paper-ink: #1c3a2c;
  --paper-soft: #3d5c4c;
  --bar: #244a38;
  --margin: clamp(16px, 4vw, 48px);
  --step-small: clamp(0.875rem, 0.84rem + 0.15vw, 0.9375rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.2rem + 3.4vw, 4.5rem);
  --step-hero: clamp(2.7rem, 6.2vw, 7.25rem);
  color-scheme: dark;
  font-family: Chillax, "Avenir Next", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-size: var(--step-body); line-height: 1.5; font-weight: 400; }
p { max-width: 62ch; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.skip {
  position: absolute;
  left: var(--margin);
  top: 0;
  transform: translateY(-120%);
  background: var(--ink);
  color: var(--bg);
  padding: 0.6rem 1rem;
}
.skip:focus { transform: none; z-index: 5; }

.nav, .hero-copy, .band, .section, .foot-links {
  padding-inline: var(--margin);
}

.nav {
  display: flex;
  justify-content: flex-start;
  align-items: baseline;
  gap: 1.5rem;
  padding-top: 1.25rem;
  font-size: var(--step-body);
  font-weight: 500;
  position: relative;
  z-index: 2;
}
.nav a { text-decoration: none; }
.nav nav { display: flex; gap: 1.25rem; }

.hero {
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  padding-bottom: 3rem;
}
.hero-copy { position: relative; z-index: 1; max-width: min(40rem, 54%); padding-top: 0.5rem; }
h1 {
  margin: 0;
  font-size: var(--step-hero);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 0.92;
}
.lead { font-size: var(--step-lead); line-height: 1.35; max-width: 36ch; margin: 1rem 0 1.25rem; }
.example { margin: 0 0 0.8rem; color: var(--muted); font-size: var(--step-body); }

.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1rem;
  margin: 0;
  padding: 0;
  border: 0;
}
.fields label, .more label { display: flex; flex-direction: column; gap: 0.35rem; font-size: var(--step-body); font-weight: 500; }
input {
  background: var(--ink);
  color: var(--paper-ink);
  border: 0;
  border-radius: 0;
  padding: 0.7rem 0.75rem;
  font-size: var(--step-body);
  width: 100%;
}
.more { margin-top: 1.25rem; }
.more summary { cursor: pointer; font-weight: 500; }
.more:not([open]) > label { display: none; }
.more[open] {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1rem;
}
.more[open] summary { grid-column: 1 / -1; }
.more label { display: flex; flex-direction: column; gap: 0.35rem; font-size: var(--step-body); font-weight: 500; }
.ticket {
  margin: 1.1rem 0 0.2rem;
  font-size: clamp(3.2rem, 8vw, 7rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 0.9;
  color: var(--accent);
}
.ticket.is-error { color: var(--ink); font-size: var(--step-head); }
.note, .clearance { margin: 0.35rem 0 0; max-width: 42ch; }
.arch-button {
  display: inline-block;
  margin-top: 1.25rem;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  font-weight: 600;
  padding: 0.9rem 1.6rem 0.8rem;
  border-radius: 999px 999px 0 0;
  border: 0;
}

.arch-stage {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(48vw, 680px);
  height: 100%;
  pointer-events: none;
}
.shutter {
  height: 100%;
  animation: shutter 1.1s ease both;
}
.arch-svg { width: 100%; height: 100%; display: block; }
.arch-flat { fill: var(--ink); }

.section { padding-block: 7.5rem; }
.section h2 {
  margin: 0;
  font-size: var(--step-head);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}
.paper { background: var(--paper); color: var(--paper-ink); color-scheme: light; }
.paper .muted { color: var(--paper-soft); }
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 4rem;
  align-items: end;
  margin-bottom: 3rem;
}
.split p { margin: 0; font-size: var(--step-lead); max-width: 38ch; }

.stages { display: flex; height: 520px; }
.stage {
  flex: 1 1 0;
  min-width: 0;
  background: var(--bg-deep);
  color: var(--ink);
  border: 0;
  padding: 0;
  overflow: hidden;
  display: flex;
  cursor: pointer;
  text-align: left;
  transition: flex-basis 450ms ease;
}
.stage.open { flex: 5 1 0; background: var(--bg-mid); }
.stage:nth-child(3) { background: var(--bg); }
.stage:nth-child(3).open { background: var(--bg-lift); }
.stage:nth-child(4) { background: var(--bg-lift); }
.stage:nth-child(4).open { background: var(--bg-pale); color: var(--bg-deep); }
.stage-name {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  align-self: end;
  padding: 1rem;
}
.stage.open .stage-name {
  writing-mode: horizontal-tb;
  transform: none;
  font-size: clamp(1.6rem, 2.4vw, 2.5rem);
  padding: 1.5rem 1.5rem 0;
  align-self: start;
}
.stage-body { display: none; padding: 0 1.5rem 1.5rem; align-self: end; max-width: 36ch; }
.stage.open .stage-body { display: block; }
.stage-body p { margin: 0; font-size: var(--step-body); }
.stage-photo { display: none; width: 42%; object-fit: cover; align-self: stretch; }
.stage.open .stage-photo { display: block; }
.stage button {
  all: unset;
  display: flex;
  flex: 1;
  min-width: 0;
  cursor: pointer;
}
.stage button:focus-visible, .card button:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }

.buy-wrap { max-width: 40rem; margin-inline: auto; container-type: inline-size; }
.buy-wrap h2 {
  font-size: clamp(4.5rem, 34cqw, 14rem);
  line-height: 1;
  padding-bottom: 0.15em;
}
.buy .intro { max-width: 46ch; font-size: var(--step-lead); margin: 1rem 0 1.5rem; }
.bars { display: flex; flex-direction: column; gap: 6px; max-width: 40rem; }
.bars details { background: var(--bar); color: var(--ink); }
.bars summary {
  list-style: none;
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.85rem 1.1rem;
  cursor: pointer;
  font-weight: 500;
}
.bars summary::-webkit-details-marker { display: none; }
.bars summary::after { content: "+"; margin-left: auto; font-weight: 600; }
.bars details[open] summary::after { content: "–"; }
.mark { width: 18px; height: 14px; flex: none; }
.bars .panel { padding: 0 1.1rem 1.1rem; }
.bars .panel p { margin: 0 0 0.8rem; }
.bars a { font-weight: 600; }

.cards { max-width: 46rem; margin-top: 1.5rem; }
.card {
  background: var(--bg);
  color: var(--ink);
  margin-top: 8px;
  padding: 1.15rem 1.4rem 1.25rem;
}
.card:nth-child(2) { background: var(--bg-mid); }
.card:nth-child(3) { background: var(--bg-lift); }
.card:first-child { margin-top: 0; }
.card button {
  all: unset;
  cursor: pointer;
  display: block;
  width: 100%;
}
.card h3 { margin: 0 0 0.35rem; font-size: var(--step-body); font-weight: 600; color: var(--ink); }
.card:nth-child(4) { background: var(--bg-mid); color: var(--ink); }
.card .q { margin: 0; font-size: 1.25rem; font-weight: 500; }
.card .a { display: none; margin: 0.8rem 0 0; max-width: 52ch; }
.card.open .a { display: block; }

.band {
  background: var(--bg-deep);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 420px;
}
.band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: ellipse(78% 70% at 50% 100%);
  animation: drift 16s ease-in-out infinite alternate;
}
.limits {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem 3rem;
  align-items: start;
}
.limit-photos { display: grid; gap: 1rem; }
.limit-photos img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  clip-path: ellipse(70% 78% at 50% 100%);
}
.band-copy { padding-block: 4rem; display: flex; flex-direction: column; justify-content: end; }
.band-copy p { font-size: var(--step-lead); max-width: 32ch; }

.footer { background: var(--bg); padding-bottom: 2rem; }
.footer-arch { width: min(100% - 2 * var(--margin), 920px); height: 34svh; margin: 3rem var(--margin) 2rem; display: block; }
.foot-links {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
}
.foot-links a { display: inline-block; margin-right: 1rem; margin-bottom: 0.4rem; text-decoration: none; font-weight: 500; }
.fine { color: var(--muted); max-width: 62ch; }
.credits { padding-inline: var(--margin); color: var(--muted); font-size: var(--step-small); }
.credits a { color: inherit; }

.noscript {
  margin: 1rem var(--margin) 2rem;
  max-width: 62ch;
}

@keyframes shutter {
  from { clip-path: inset(0 100% 0 0); transform: scale(1.12); }
  to { clip-path: inset(0 0 0 0); transform: scale(1); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@keyframes tick {
  from { transform: translateY(6px); opacity: 0.4; }
  to { transform: none; opacity: 1; }
}
@keyframes drift {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(0, -4%, 0); }
}
.stage { animation: rise 0.6s ease both; }
.bars details { animation: rise 0.5s ease both; }
.card { animation: rise 0.5s ease both; }
.limit-photos img { animation: rise 0.7s ease both; }
.hero h1 { animation: rise 0.7s ease both; }
.hero .lead { animation: rise 0.7s 0.08s ease both; }
.ticket.tick { animation: tick 0.35s ease; }
.arch-button { transition: transform 0.2s ease, background 0.2s ease; }
.arch-button:hover { transform: translateY(-3px); background: var(--accent); }
.nav a { transition: color 0.2s ease; }
.nav a:hover { color: var(--accent); }
.footer-arch path { transform-origin: 50% 100%; animation: rise 0.9s ease both; }
.section h2 { animation: rise 0.7s ease both; }
.bars details { transition: background 0.2s ease; }
.bars details:hover { background: var(--bg-mid); }

@media (max-width: 800px) {
  .hero { min-height: 0; padding-bottom: 2.5rem; }
  .hero-copy { max-width: none; }
  .arch-stage {
    position: relative;
    width: auto;
    height: 26svh;
    right: auto;
    margin: 0 calc(var(--margin) * -1) 0.5rem;
  }
  .fields, .more[open] { grid-template-columns: 1fr; }
  .limits { grid-template-columns: 1fr; }
  .limit-photos img { height: 200px; }
  .split, .band, .foot-links { grid-template-columns: 1fr; }
  .stages { flex-direction: column; height: auto; }
  .stage, .stage.open { flex: none; }
  .stage { min-height: 64px; }
  .stage-name, .stage.open .stage-name {
    writing-mode: horizontal-tb;
    transform: none;
    font-size: 1.125rem;
    padding: 1rem 1rem 0;
  }
  .stage:not(.open) .stage-name { padding: 1.1rem 1rem; }
  .stage-photo { display: none; }
  .stage.open .stage-body { display: block; }
  .card { margin-top: 8px; padding: 1rem 1.1rem; }
  .band img { height: 240px; }
  .nav nav { gap: 0.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
