:root {
  --red: #d03a1a;
  --ink: #072721;
  --paper: #f3d7bd;
  --line: clamp(3px, 0.35vw, 6px);
  --pad: clamp(1rem, 2.4vw, 2.5rem);
  color-scheme: light;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--red);
  color: var(--ink);
  font-family: "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
  font-stretch: condensed;
  line-height: 1.1;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--paper);
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  border-bottom: var(--line) solid var(--ink);
  background: var(--red);
  text-transform: uppercase;
}

.wordmark {
  display: flex;
  align-items: center;
  padding: 0.65rem 1rem;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(1.25rem, 3vw, 2.6rem);
  letter-spacing: -0.03em;
  text-decoration: none;
}

nav { display: flex; }

nav a {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  border-left: var(--line) solid var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-decoration: none;
}

nav a:hover, nav a:focus-visible { color: var(--red); background: var(--ink); }

.hero {
  display: grid;
  min-height: calc(100vh - 64px);
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  grid-template-areas:
    "title title"
    "words question"
    "invite details"
    "actions details";
  border-bottom: var(--line) solid var(--ink);
}

.panel { padding: var(--pad); }
.panel-dark { color: var(--red); background: var(--ink); }

.hero-title {
  grid-area: title;
  min-width: 0;
  border-bottom: var(--line) solid var(--red);
}

.eyebrow, .kicker {
  margin: 0 0 0.55rem;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  display: flex;
  align-items: baseline;
  margin: 0;
  overflow: hidden;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(6rem, 20vw, 21rem);
  font-weight: 900;
  letter-spacing: -0.075em;
  line-height: 0.72;
  white-space: nowrap;
}

.hero h1 span { font-stretch: condensed; }
.hero h1 b { margin-left: auto; font-size: 0.72em; }

.theme-words {
  grid-area: words;
  display: flex;
  align-content: center;
  flex-wrap: wrap;
  gap: 0.08em 0.32em;
  border-right: var(--line) solid var(--ink);
  border-bottom: var(--line) solid var(--ink);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(1.25rem, 3.5vw, 4.5rem);
  line-height: 0.9;
}

.theme-words span:nth-child(3n) { font-size: 0.68em; }
.theme-words span:nth-child(4n) { letter-spacing: 0.06em; }

.hero-question {
  grid-area: question;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-bottom: var(--line) solid var(--ink);
}

.hero-question p {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(1.2rem, 2.6vw, 2.8rem);
  font-weight: 900;
}

.hero-question strong {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(3.8rem, 10vw, 11rem);
  letter-spacing: -0.04em;
  line-height: 0.78;
}

.hero-invite {
  grid-area: invite;
  border-right: var(--line) solid var(--red);
  border-bottom: var(--line) solid var(--red);
}

.invite {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(3rem, 8vw, 9rem);
  letter-spacing: -0.04em;
  line-height: 0.84;
}

.aside {
  margin: 0.7rem 0 0;
  font-size: clamp(1.1rem, 2.2vw, 2rem);
  font-weight: 900;
}

.event-details {
  grid-area: details;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.45rem;
  font-size: clamp(1.1rem, 2.45vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.event-details p { margin: 0; }
.event-details .date {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(2.6rem, 6vw, 7rem);
  line-height: 0.88;
}

.event-details a { text-underline-offset: 0.15em; }
.event-details strong {
  align-self: flex-start;
  margin-top: 0.75rem;
  padding: 0.35rem 0.55rem;
  color: var(--red);
  background: var(--ink);
}

.hero-actions {
  grid-area: actions;
  display: grid;
  gap: 0.75rem;
  align-content: center;
  border-right: var(--line) solid var(--red);
}

.button {
  display: inline-flex;
  min-height: 3.5rem;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1rem;
  border: var(--line) solid currentColor;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 120ms ease, background 120ms ease, color 120ms ease;
}

.button:hover, .button:focus-visible { transform: translate(-4px, -4px); box-shadow: 4px 4px 0 currentColor; }
.button-light { color: var(--ink); background: var(--red); }
.button-outline { color: var(--red); background: transparent; }

.section-grid {
  display: grid;
  grid-template-columns: 0.24fr minmax(15rem, 0.76fr) minmax(18rem, 1fr);
  border-bottom: var(--line) solid var(--ink);
}

.section-number {
  padding: var(--pad);
  border-right: var(--line) solid currentColor;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(4rem, 9vw, 10rem);
  line-height: 0.8;
}

.section-copy, .body-copy, .signup-box {
  padding: clamp(2rem, 5vw, 6rem) var(--pad);
}

.section-copy { border-right: var(--line) solid currentColor; }

h2 {
  margin: 0 0 1.5rem;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(3rem, 7vw, 8rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.83;
  text-transform: uppercase;
}

.body-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: clamp(1.15rem, 1.7vw, 1.65rem);
  font-weight: 650;
  line-height: 1.3;
}

.body-copy p { max-width: 42rem; margin: 0 0 1.2em; }
.body-copy p:last-child { margin-bottom: 0; }

.speak { border-color: var(--red); }
.speak .section-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.speak .section-copy > p:not(.kicker) { max-width: 32rem; font-size: 1.15rem; line-height: 1.35; }
.speak .button { margin-top: 1rem; }

.rules { margin: 0; padding: 0; list-style: none; }
.rules li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.25rem var(--pad);
  border-bottom: 2px solid var(--red);
}
.rules li:last-child { border-bottom: 0; }
.rules span { font-family: Impact, sans-serif; font-size: 2rem; }
.rules p { max-width: 40rem; margin: 0; font-size: 1.08rem; line-height: 1.3; }

.listen .section-copy > p:last-child { max-width: 28rem; font-size: 1.15rem; line-height: 1.35; }
.signup-box { display: flex; align-items: center; }
.signup-box form { width: 100%; }
.signup-box label { display: block; margin-bottom: 0.5rem; font-size: 0.8rem; font-weight: 900; letter-spacing: 0.12em; }
.email-row { display: flex; }
.email-row input, .email-row button {
  min-height: 4.25rem;
  border: var(--line) solid var(--ink);
  border-radius: 0;
  font: inherit;
  font-size: 1rem;
  font-weight: 800;
}
.email-row input { min-width: 0; flex: 1; padding: 0.9rem; color: var(--ink); background: var(--paper); }
.email-row button { padding: 0.9rem 1rem; color: var(--red); background: var(--ink); cursor: pointer; }
.email-row button:hover, .email-row button:focus-visible { color: var(--ink); background: var(--paper); }
.form-note { min-height: 1.25em; margin: 0.6rem 0 0; font-size: 0.8rem; font-weight: 700; line-height: 1.35; }

.archive {
  display: grid;
  grid-template-columns: minmax(16rem, 0.65fr) 1fr;
  gap: var(--pad);
  padding: clamp(2.5rem, 6vw, 7rem) var(--pad);
}
.archive h2 { margin-bottom: 0; }
.archive ol { margin: 0; padding: 0; border-top: var(--line) solid var(--red); list-style: none; }
.archive li { display: flex; align-items: baseline; justify-content: space-between; padding: 1rem 0; border-bottom: var(--line) solid var(--red); }
.archive li span { font-size: 0.8rem; font-weight: 900; letter-spacing: 0.12em; }
.archive li strong { font-family: Impact, sans-serif; font-size: clamp(2.2rem, 5vw, 5.5rem); letter-spacing: -0.03em; }
.archive li:not(.current) { opacity: 0.55; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem var(--pad);
  background: var(--red);
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
footer p { margin: 0; }

:focus-visible { outline: 4px solid var(--paper); outline-offset: 3px; }

@media (max-width: 760px) {
  .site-header { position: relative; display: block; }
  .wordmark { justify-content: center; border-bottom: var(--line) solid var(--ink); }
  nav a { flex: 1; justify-content: center; border-left: 0; border-right: 2px solid var(--ink); }
  nav a:last-child { border-right: 0; }

  .hero {
    grid-template-columns: 1fr;
    grid-template-areas: "title" "question" "words" "invite" "details" "actions";
  }
  .hero h1 { font-size: clamp(5.2rem, 25vw, 9rem); }
  .theme-words, .hero-invite, .hero-actions { border-right: 0; }
  .event-details { min-height: 22rem; border-bottom: var(--line) solid var(--ink); }

  .section-grid { grid-template-columns: 4.25rem 1fr; }
  .section-number { grid-row: 1 / span 2; padding: 1.25rem 0.5rem; writing-mode: vertical-rl; }
  .section-copy { border-right: 0; border-bottom: var(--line) solid currentColor; }
  .body-copy, .rules, .signup-box { grid-column: 2; }

  .archive { grid-template-columns: 1fr; }
  .email-row { display: grid; }
  .email-row button { border-top: 0; }
  footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
