:root {
  color-scheme: dark;
  --bg: #0f1419;
  --fg: #f4f1ea;
  --muted: #a8b0b8;
  --accent: #e8a87c;
  --card: #1a222b;
  --line: #2a3440;
  --max: 68rem;
  font-family: "Segoe UI", "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }

img {
  max-width: 100%;
  height: auto;
}

html, body {
  margin: 0;
  max-width: 100%;
  overflow-x: clip;
  background: var(--bg);
  color: var(--fg);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

a { color: var(--accent); }

a:hover { color: #f3c7a6; }

.site-header,
.site-footer,
.hero,
.feature-block,
.band,
.prose,
.docs-layout {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
}

.wordmark {
  color: var(--fg);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.45rem;
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

.nav-toggle-icon {
  position: relative;
  width: 1.05rem;
  height: 0.8rem;
  display: inline-grid;
  align-content: space-between;
}

.nav-toggle-icon span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon span {
  position: absolute;
  left: 0;
  right: 0;
  top: 0.35rem;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(1) {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(3) {
  transform: rotate(-45deg);
}

.nav-toggle .when-open { display: none; }

.nav-toggle[aria-expanded="true"] .when-closed { display: none; }

.nav-toggle[aria-expanded="true"] .when-open { display: inline; }

.header-end {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.site-nav,
.account-links,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.account-links,
.hero-actions {
  gap: 0.75rem;
}

.hero-actions {
  margin-top: 1.35rem;
}

.nav-login {
  color: var(--fg);
  text-decoration: none;
  font-weight: 650;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #1a140f;
  text-decoration: none;
  font-weight: 650;
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
}

.hero-actions .btn {
  padding: 0.6rem 1.1rem;
}

.btn:hover {
  background: #f3c7a6;
  color: #1a140f;
}

.site-nav a {
  color: var(--fg);
  text-decoration: none;
}

.site-nav a[aria-current="page"],
.site-nav a:hover,
.docs-nav a[aria-current="page"] {
  color: var(--accent);
}

.hero {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2rem 0 3rem;
}

.kicker {
  margin: 0 0 0.5rem;
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.catch {
  margin: 0.75rem 0 0;
  color: var(--accent);
  font-size: 1.35rem;
  font-weight: 650;
  line-height: 1.2;
}

h1 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.05;
  font-weight: 650;
}

.lead p {
  margin: 1rem 0 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.5;
}

.ticket {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.25rem 1.25rem 1rem;
}

.ticket-shop,
.ticket-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.ticket-place {
  margin: 0.6rem 0 0;
  font-size: 2rem;
  font-weight: 650;
}

.ticket-eta {
  margin: 0.2rem 0 0;
  color: var(--accent);
  font-size: 1.15rem;
}

.shot {
  margin: 1.25rem 0 1.75rem;
  max-width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #11161c;
}

.shot img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.shot figcaption {
  margin: 0;
  padding: 0.6rem 0.85rem 0.75rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.shot.phone {
  width: fit-content;
  max-width: min(100%, 30rem);
}

.shot.phone img {
  width: auto;
  max-width: min(100%, 30rem);
  max-height: calc(100svh - 13rem);
}

.hero > *,
.docs-layout > * {
  min-width: 0;
}

.hero .shot,
.hero .shot img {
  width: 100%;
  max-width: none;
  max-height: none;
}

.hero .shot {
  margin: 0;
  justify-self: stretch;
}

.shot-band {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto 2.75rem;
}

.ticket-perforation {
  margin: 1rem 0;
  border-top: 2px dashed var(--line);
}

.feature-block { padding-bottom: 3rem; }

.feature-block h2,
.band h2,
.prose h2 {
  margin: 0 0 1rem;
  font-size: 1.5rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.1rem 1.1rem;
}

.feature-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.feature-card p,
.band p,
.prose p,
.prose li,
.doc-index p {
  color: var(--muted);
  line-height: 1.5;
}

.feature-card p { margin: 0; }

.band {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
  border-top: 1px solid var(--line);
  padding: 2rem 0 3rem;
}

.band p { margin: 0.4rem 0 0; max-width: 40rem; }

.text-link {
  white-space: nowrap;
  font-weight: 650;
}

.prose { padding: 1rem 0 3.5rem; max-width: 42rem; }

.docs-layout .prose { max-width: none; }

.prose h1 { margin-bottom: 1rem; }

.contact-form {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  font: inherit;
  color: var(--fg);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
}

.contact-form textarea {
  min-height: 8rem;
  resize: vertical;
}

.contact-form button.btn {
  border: 0;
  cursor: pointer;
  justify-self: start;
}

.contact-form button.btn:disabled {
  opacity: 0.6;
  cursor: default;
}

.hp {
  position: absolute;
  left: -9999px;
}

.form-note {
  margin: 0;
}

.form-note.bad { color: #f0a8a8; }

.form-note.ok { color: #b7e0c2; }

.prose h2 { margin-top: 2rem; }

.prose ul, .prose ol { padding-left: 1.2rem; }

.prose li { margin: 0.35rem 0; }

.prose li strong,
.prose p strong { color: var(--fg); }

.doc-index {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.doc-index li {
  border-top: 1px solid var(--line);
  padding: 0.9rem 0;
}

.doc-index a {
  font-weight: 650;
  text-decoration: none;
}

.doc-index p { margin: 0.25rem 0 0; }

.docs-layout {
  display: grid;
  grid-template-columns: 14rem 1fr;
  gap: 2rem;
  padding-bottom: 3rem;
}

.docs-nav {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding-top: 0.4rem;
}

.docs-nav a {
  color: var(--muted);
  text-decoration: none;
  line-height: 1.35;
}

.docs-nav-home {
  color: var(--fg) !important;
  font-weight: 650;
  margin-bottom: 0.4rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2rem;
}

.site-footer p {
  margin: 0.3rem 0 0;
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  gap: 1rem;
  align-items: start;
}

.site-footer a { text-decoration: none; }

@media (max-width: 800px) {
  .hero,
  .feature-grid,
  .docs-layout,
  .band,
  .site-footer {
    grid-template-columns: 1fr;
    display: grid;
  }

  .nav-toggle { display: inline-flex; }

  .site-header { flex-wrap: wrap; }

  .header-end {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    margin-top: 0.75rem;
    padding-top: 0.35rem;
    border-top: 1px solid var(--line);
  }

  .header-end.is-open { display: flex; }

  .site-nav,
  .account-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav a,
  .header-end .nav-login {
    padding: 0.85rem 0.15rem;
    font-size: 1.05rem;
  }

  .hero-actions { flex-wrap: wrap; }

  .header-end .btn {
    text-align: center;
    margin-top: 0.35rem;
    padding: 0.75rem 1rem;
  }

  .band,
  .site-footer nav {
    display: flex;
    flex-wrap: wrap;
  }
}
