:root {
  --bg: #080808;
  --bg-elevated: #101010;
  --text: #f5f0e8;
  --text-muted: #b8b0a4;
  --gold: #c9a962;
  --gold-soft: rgba(201, 169, 98, 0.35);
  --line: rgba(245, 240, 232, 0.1);
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --font-ui: "Segoe UI", system-ui, -apple-system, sans-serif;
  --max: 72rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.5rem 1rem;
  background: var(--gold);
  color: #000;
  z-index: 100;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem clamp(1.25rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(10px);
  z-index: 10;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
}

.brand:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

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

.brand-word {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

.nav-cta {
  color: var(--text) !important;
}

.hero {
  padding: clamp(3rem, 10vw, 6rem) clamp(1.25rem, 4vw, 3rem) 2rem;
  max-width: var(--max);
  margin: 0 auto;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.35rem, 5.5vw, 4rem);
  line-height: 1.08;
  margin: 0 0 1.25rem;
  max-width: 16ch;
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.lede {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 40rem;
  margin: 0 0 1.25rem;
}

.hero-note {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.eyebrow {
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.eyebrow--inline {
  margin-top: 2rem;
}

.status-note {
  margin: 0;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--gold);
  background: rgba(201, 169, 98, 0.08);
  color: var(--text);
  max-width: 42rem;
  font-size: 0.9375rem;
}

.status-note--error {
  border-left-color: #c96a62;
  background: rgba(201, 106, 98, 0.1);
}

.panel {
  padding: clamp(3rem, 8vw, 5rem) clamp(1.25rem, 4vw, 3rem);
  border-top: 1px solid rgba(245, 240, 232, 0.06);
}

.panel--dark {
  background: var(--bg-elevated);
}

.panel--next {
  padding-top: 2rem;
}

.panel-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.panel-inner.narrow {
  max-width: 40rem;
}

.split {
  display: grid;
  gap: 2.5rem;
}

.split--steps {
  align-items: start;
}

@media (min-width: 768px) {
  .split {
    grid-template-columns: 1fr 1.2fr;
  }
}

h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  margin: 0 0 1rem;
  line-height: 1.15;
}

h3 {
  font-size: 1.0625rem;
  margin: 0 0 0.35rem;
  font-weight: 600;
}

.next-empty {
  max-width: 42rem;
}

.next-feature {
  margin-top: 0.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.next-feature-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .next-feature-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
  }
}

.next-date {
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
}

.next-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1;
  margin: 0;
}

.next-guest {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.75rem;
}

.text-link {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  font-size: 0.9375rem;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--gold);
}

.event-tags {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin: 0 0 1rem;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2rem;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
}

.step-num {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--gold);
}

.pull-quote {
  margin: 0 0 1rem;
  padding-left: 1rem;
  border-left: 2px solid var(--gold);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  line-height: 1.4;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.archive-rows {
  list-style: none;
  margin: 0;
  padding: 0;
}

.archive-row,
.archive-empty,
.archive-loading {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem 1.5rem;
  align-items: center;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}

.archive-num {
  color: var(--text-muted);
  font-size: 0.8125rem;
  min-width: 2ch;
}

.archive-main a {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  text-decoration: none;
  margin-bottom: 0.25rem;
}

.archive-main a:hover,
.archive-main a:focus-visible {
  color: var(--gold);
}

.archive-guest {
  display: block;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.archive-arrow {
  color: var(--gold);
}

.muted {
  color: var(--text-muted);
}

.site-footer {
  padding: 2.5rem clamp(1.25rem, 4vw, 3rem) 3rem;
  border-top: 1px solid var(--line);
}

.site-footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 0.35rem;
  text-align: left;
  color: var(--text-muted);
  font-size: 0.8125rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  margin: 0;
}

.footer-domain {
  color: var(--text);
  margin: 0.5rem 0 0;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--gold);
}

.event-page {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.5rem, 8vw, 4rem) clamp(1.25rem, 4vw, 3rem) 4rem;
}

.event-page h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1;
  margin: 0 0 1rem;
}

.event-guest-label {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 1rem;
}

.preview-banner {
  background: rgba(201, 169, 98, 0.12);
  border: 1px solid var(--gold-soft);
  padding: 0.75rem 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

.event-sections {
  margin-top: 2rem;
  display: grid;
  gap: 2rem;
}

.event-section h2 {
  font-size: 1.5rem;
}

.back-link {
  margin-top: 3rem;
}

.back-link a {
  color: var(--gold);
}

@media (max-width: 640px) {
  .site-header {
    flex-wrap: wrap;
  }

  .site-nav {
    width: 100%;
  }

  .archive-row {
    grid-template-columns: auto 1fr;
  }

  .archive-arrow {
    display: none;
  }
}
