:root {
  --charcoal: #11110f;
  --cream: #e9e5dc;
  --cream-muted: #b8b4ac;
  --gray: #85837e;
  --line: rgba(233, 229, 220, 0.18);
  --surface: rgba(233, 229, 220, 0.035);
  --max: 1120px;
  --gutter: 20px;
}

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

html { scroll-behavior: smooth; background: var(--charcoal); }

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--cream);
  background: var(--charcoal);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::selection { color: var(--charcoal); background: var(--cream); }

.texture {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--charcoal) url('/assets/charcoal-texture.jpg') center / cover no-repeat;
  filter: grayscale(1) contrast(0.94) brightness(0.9);
  opacity: 0.68;
}

a { color: inherit; }
button, input { font: inherit; }

.sr-only, .icon-library {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--charcoal);
  background: var(--cream);
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 2px solid var(--cream); outline-offset: 4px; }

.topbar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(var(--max), calc(100% - (var(--gutter) * 2)));
  margin: 0 auto;
  padding-top: max(18px, env(safe-area-inset-top));
}

.wordmark, .footer-brand {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-decoration: none;
  white-space: nowrap;
}

.desktop-nav { display: none; }

.hero {
  min-height: min(650px, 100svh);
  display: grid;
  align-items: center;
  padding: 94px var(--gutter) 58px;
  border-bottom: 1px solid var(--line);
}

.hero-inner { width: min(720px, 100%); margin: 0 auto; text-align: center; }
.hero-logo { width: min(480px, 92vw); margin: 0 auto; line-height: 0; }
.hero-logo img { display: block; width: 100%; height: auto; }

.hero-kicker {
  margin: 22px 0 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(21px, 5.5vw, 28px);
  line-height: 1.18;
}

.hero-copy {
  max-width: 540px;
  margin: 12px auto 0;
  color: var(--cream-muted);
  font-size: 16px;
  line-height: 1.55;
}

.hero-actions { display: grid; gap: 10px; margin-top: 28px; }

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 0;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.025em;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button-primary { color: var(--charcoal); background: var(--cream); border-color: var(--cream); }
.button-secondary { color: var(--cream); background: rgba(17, 17, 15, 0.42); }
.button:hover { color: var(--charcoal); background: #fff; border-color: #fff; }
.button:disabled { cursor: wait; opacity: 0.62; }

.external-icon {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: square;
  stroke-linejoin: miter;
  flex: 0 0 auto;
}

.section {
  width: min(var(--max), calc(100% - (var(--gutter) * 2)));
  margin: 0 auto;
  padding: 58px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 24px;
}

.section-index { margin: 0 0 22px; color: var(--gray); font-size: 10px; letter-spacing: 0.2em; }

.section h2, .section-title, .show-info h3 {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.section h2, .section-title { font-size: clamp(38px, 10vw, 68px); }
.section-heading { display: grid; gap: 12px; margin-bottom: 28px; }

.section-heading p, .signup-intro {
  max-width: 460px;
  margin: 0;
  color: var(--cream-muted);
  font-size: 16px;
  line-height: 1.55;
}

.track-list { padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--line); }

.track-list li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 66px;
  border-bottom: 1px solid var(--line);
}

.track-number { color: var(--gray); font-size: 10px; letter-spacing: 0.08em; }
.track-name { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(19px, 5vw, 25px); }

.track-list a, .text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--cream-muted);
  text-decoration: none;
  font-size: 12px;
}

.track-list a:hover, .text-link:hover, .social-links a:hover, .contact-links a:hover, .desktop-nav a:hover { color: var(--cream); }

.text-link {
  margin-top: 26px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font-size: 13px;
}

.video-frame { aspect-ratio: 16 / 9; overflow: hidden; background: #090908; border: 1px solid var(--line); }
.video-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.show-row { display: grid; gap: 28px; margin-top: 36px; }

.show-row time strong {
  display: block;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 94px;
  font-weight: 400;
  line-height: 0.75;
  letter-spacing: -0.06em;
}

.show-row time span { display: block; margin-top: 19px; color: var(--cream-muted); font-size: 11px; letter-spacing: 0.16em; }
.show-status { margin: 0 0 10px; color: var(--gray); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; }
.show-info h3 { font-size: clamp(34px, 9vw, 60px); }
.show-info > p:last-child { margin: 14px 0 0; color: var(--cream-muted); font-size: 15px; line-height: 1.45; }
.section-grid { display: grid; gap: 30px; }

.history-copy {
  color: var(--cream-muted);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 19px;
  line-height: 1.52;
}

.history-copy p { margin: 0; }
.history-copy p + p { margin-top: 20px; }
.signup-intro { margin-top: 16px; }
.newsletter { position: relative; display: grid; gap: 17px; }
.field { display: grid; gap: 8px; }

.field > span {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: var(--cream-muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.field small { color: var(--gray); font-size: inherit; }

.field input {
  width: 100%;
  min-height: 50px;
  padding: 0 13px;
  color: var(--cream);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0;
  outline: none;
  font-size: 16px;
}

.field input:focus { border-color: var(--cream-muted); }
.field input[aria-invalid="true"] { border-color: var(--cream); }

.field-help {
  display: none;
  margin: -9px 0 0;
  color: var(--cream-muted);
  font-size: 12px;
}

.field-help.is-visible { display: block; }

.consent {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  color: var(--cream-muted);
  font-size: 13px;
  line-height: 1.45;
  cursor: pointer;
}

.consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--cream); }
.submit-button { width: 100%; margin-top: 2px; }
.form-status { min-height: 20px; margin: 0; color: var(--cream-muted); font-size: 13px; line-height: 1.45; }
.form-status.is-success { color: var(--cream); }

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

footer {
  width: min(var(--max), calc(100% - (var(--gutter) * 2)));
  display: grid;
  gap: 28px;
  margin: 0 auto;
  padding: 38px 0 max(42px, env(safe-area-inset-bottom));
}

.footer-head > p:last-child { margin: 9px 0 0; color: var(--cream-muted); font-family: Georgia, 'Times New Roman', serif; font-size: 16px; }
.social-links, .contact-links { display: flex; flex-wrap: wrap; gap: 10px 18px; }

.social-links a, .contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  color: var(--cream-muted);
  text-decoration: none;
  font-size: 12px;
}

.social-links svg, .contact-links svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-links .fill { fill: currentColor; stroke: none; }
footer small { color: var(--gray); font-size: 11px; }
[hidden] { display: none !important; }

@media (min-width: 560px) {
  :root { --gutter: 28px; }
  .desktop-nav { display: flex; gap: 18px; }
  .desktop-nav a { color: var(--cream-muted); text-decoration: none; font-size: 11px; }
  .hero-actions { grid-template-columns: repeat(2, minmax(0, 220px)); justify-content: center; }
  .section-heading { grid-template-columns: minmax(0, 1fr) minmax(260px, 0.7fr); align-items: end; gap: 50px; }
  .track-list li { grid-template-columns: 42px minmax(0, 1fr) auto; min-height: 74px; }
  .show-row { grid-template-columns: 185px minmax(0, 1fr); align-items: end; }
}

@media (min-width: 800px) {
  :root { --gutter: 42px; }
  .topbar { min-height: 72px; padding-top: 0; }
  .desktop-nav { gap: 26px; }
  .hero { min-height: 690px; padding-top: 112px; }
  .hero-logo { width: min(520px, 60vw); }
  .hero-kicker { margin-top: 25px; }
  .section { padding: 82px 0; }
  .section-index { margin-bottom: 30px; }
  .section-grid { grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1fr); gap: clamp(60px, 9vw, 120px); }
  .show-row { grid-template-columns: 230px minmax(0, 1fr); gap: 65px; }
  .show-row time strong { font-size: 126px; }
  .history-copy { font-size: 21px; }
  footer { grid-template-columns: 1fr 1.4fr; align-items: start; gap: 26px 60px; padding: 46px 0 56px; }
  .contact-links, footer small { grid-column: 2; }
}

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