:root {
  color-scheme: dark;
  --background: #14110f;
  --text: #f6efe4;
  --muted: #cbbeb0;
  --gold: #e7c58d;
  --line: #483a2e;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: var(--background);
  font: 1rem/1.6 var(--sans);
}

a { color: inherit; }

a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 5px;
}

.shell {
  width: min(100% - 7rem, 79rem);
  margin-inline: auto;
}

.header {
  min-height: 6.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.brand { display: block; flex-shrink: 0; }

.brand img {
  display: block;
  width: 10.4rem;
  height: auto;
}

nav {
  display: flex;
  gap: clamp(1rem, 3vw, 2.75rem);
}

nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  white-space: nowrap;
  color: var(--muted);
  font-size: .875rem;
}

nav a:hover { color: var(--gold); }

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(3.5rem, 6.5vw, 6rem) 0 clamp(3.75rem, 7.4vw, 7rem);
  text-align: center;
}

.hero h1 {
  width: min(100%, 38rem);
  margin: clamp(1.4rem, 3.1vw, 2.5rem) 0 .55rem;
}

.hero h1 img {
  display: block;
  width: 100%;
  height: auto;
}

.label {
  margin: 0;
  color: var(--gold);
  font-size: .875rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1, h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.05em;
}

.lede {
  margin: 0 0 1.6rem;
  color: var(--muted);
  font-size: clamp(1.0625rem, 1.7vw, 1.25rem);
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 3.15rem;
  padding-inline: 1.35rem;
  background: var(--gold);
  color: #211810;
  font-size: .9375rem;
  font-weight: 600;
  text-decoration: none;
}

.button:hover { background: #f6daaa; }

.schedule {
  padding: clamp(2.5rem, 5vw, 4.75rem) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 1.25rem;
}

.schedule h2, .story h2 {
  margin-top: .55rem;
  font-size: clamp(2.75rem, 5.5vw, 5rem);
  line-height: 1.05;
}

.events {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.6vw, 2.25rem);
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 0;
}

.event {
  display: flex;
  flex-direction: column;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
}

.poster {
  display: block;
  border: 1px solid var(--line);
  background: #211915;
}

.poster:hover {
  border-color: var(--gold);
}

.poster img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: contain;
}

.event-details {
  flex: 1;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: .4rem;
  padding-top: .9rem;
}

.button-invite {
  justify-self: start;
  margin-top: .45rem;
  min-height: 2.75rem;
  padding-inline: 1rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--gold);
}

.button-invite:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: #211810;
}

.event time {
  color: var(--gold);
  font-size: .9375rem;
  white-space: nowrap;
}

.event h3 {
  margin: 0;
  font: 400 clamp(1.25rem, 2.4vw, 1.75rem)/1.2 var(--serif);
}

.event p {
  margin: .35rem 0 0;
  color: var(--muted);
  font-size: .875rem;
}

.story {
  display: grid;
  grid-template-columns: 1fr 1.19fr;
  gap: 2.5rem;
  padding: clamp(3.25rem, 7.4vw, 7rem) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 1.5rem;
}

.story-copy {
  max-width: 38rem;
  color: var(--muted);
  font-size: clamp(1.0625rem, 1.45vw, 1.2rem);
  line-height: 1.75;
}

.story-copy p { margin: 0; }
.story-copy p + p { margin-top: .9em; }
.story-copy strong { color: var(--text); }

.footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.5rem 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .875rem;
}

.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip:focus {
  position: absolute;
  z-index: 3;
  top: .75rem;
  left: .75rem;
  padding: .5rem 1rem;
  color: var(--background);
  background: var(--gold);
}

@media (max-width: 900px) {
  .shell { width: calc(100% - 3rem); }
}

@media (max-width: 650px) {
  .shell { width: calc(100% - 2.5rem); }
  .header { min-height: 4.8rem; }
  .brand img { width: clamp(6.75rem, 26vw, 9rem); }
  .story { grid-template-columns: 1fr; gap: 1.4rem; }
  .events { grid-template-columns: 1fr; row-gap: 1.75rem; max-width: 29rem; }
}

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