:root {
  color-scheme: dark;
  --bg: #09090b;
  --surface: #141418;
  --surface-2: #1c1c21;
  --ink: #f4f0e8;
  --muted: #b9b2a7;
  --dim: #827c73;
  --line: rgba(244, 240, 232, .16);
  --red: #e23d37;
  --teal: #45c3ba;
  --gold: #d5a542;
  --green: #96c36f;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: .08em;
  text-underline-offset: .22em;
}

a:hover {
  color: white;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 20;
  transform: translateY(-140%);
  background: var(--ink);
  color: #111;
  padding: 10px 12px;
  border-radius: 6px;
}

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

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0;
}

.home-page .site-header {
  position: static;
}

.home-page main {
  border-top: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  color: white;
  text-decoration: none;
}

.brand-logo {
  width: 132px;
  height: auto;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, .55));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(255, 255, 255, .82);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: 82svh;
  display: grid;
  align-items: end;
  overflow: clip;
  border-bottom: 1px solid var(--line);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-position: center;
  background-size: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 9, 11, .88) 0%, rgba(9, 9, 11, .55) 45%, rgba(9, 9, 11, .7) 100%),
    linear-gradient(0deg, rgba(9, 9, 11, 1) 0%, rgba(9, 9, 11, .12) 48%, rgba(9, 9, 11, .78) 100%);
}

.hero-home .hero-media,
.hero-event .hero-media {
  background-image: url("/maul/header.png");
}

.hero-content {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 120px 0 54px;
}

.eyebrow,
.status-label {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 11ch;
  font-size: clamp(64px, 13vw, 156px);
  text-transform: uppercase;
}

h2 {
  font-size: clamp(32px, 5vw, 64px);
}

.section-title {
  max-width: none;
  font-size: clamp(32px, 5vw, 64px);
  text-transform: none;
}

h3 {
  font-size: clamp(24px, 3vw, 36px);
}

.lead {
  width: min(690px, 100%);
  margin: 18px 0 0;
  color: rgba(244, 240, 232, .86);
  font-size: clamp(18px, 2.4vw, 25px);
  line-height: 1.32;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button-primary {
  background: var(--red);
  color: white;
}

.button-primary:hover {
  background: #ff514b;
}

.button-secondary {
  border-color: rgba(255, 255, 255, .3);
  background: rgba(0, 0, 0, .34);
  color: white;
}

.event-metadata {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(840px, 100%);
  margin: 44px 0 0;
  background: rgba(244, 240, 232, .18);
  border: 1px solid rgba(244, 240, 232, .18);
  border-radius: 8px;
  overflow: hidden;
}

.event-metadata div {
  min-width: 0;
  padding: 16px;
  background: rgba(9, 9, 11, .62);
}

dt {
  color: var(--dim);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-weight: 750;
}

.section {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 84px 0;
}

.section-tight {
  padding-top: 58px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-heading p,
.split-section p,
.event-card p,
.archive-callout p {
  color: var(--muted);
}

.event-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) repeat(2, minmax(220px, .8fr));
  gap: 16px;
  align-items: stretch;
}

.event-card {
  display: grid;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  overflow: hidden;
}

.event-card-featured {
  grid-template-columns: minmax(230px, .78fr) minmax(0, 1fr);
  background: #050505;
}

.event-card-image {
  min-height: 100%;
  background: #050505;
  display: grid;
  place-items: center;
  padding: 16px;
}

.event-card-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
}

.event-card-body {
  min-width: 0;
  padding: 24px;
  background: var(--surface);
}

.event-card-featured .event-card-body {
  border-left: 1px solid var(--line);
  background: #09090b;
}

.event-card-body h3 a {
  text-decoration: none;
}

.event-card-quiet {
  background: var(--surface-2);
}

.event-card-planning {
  background: #050505;
}

.event-card-planning .event-card-image {
  min-height: auto;
  aspect-ratio: 677 / 361;
  border-bottom: 1px solid var(--line);
}

.event-card-quiet .event-card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 300px;
  background: var(--surface-2);
}

.event-card-planning .event-card-body {
  min-height: 220px;
  background: #09090b;
}

.compact-facts,
.fact-list {
  margin: 22px 0 0;
}

.compact-facts div,
.fact-list div {
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--green);
  font-weight: 800;
}

.card-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}

.card-actions .text-link {
  margin-top: 0;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .55fr);
  gap: 52px;
  border-top: 1px solid var(--line);
}

.split-section p {
  max-width: 760px;
  font-size: 18px;
}

.facts-panel {
  align-self: start;
  border-top: 4px solid var(--gold);
}

.facts-mark,
.copy-mark {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin: 0 0 18px;
  opacity: .9;
}

.copy-mark {
  width: 58px;
  height: 58px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.footer-brand img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.event-page {
  background: #0a0a0c;
}

.event-layout {
  display: grid;
  grid-template-columns: minmax(270px, .72fr) minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.poster-frame {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #050505;
  overflow: hidden;
}

.event-copy h2 {
  margin-bottom: 18px;
}

.event-copy p {
  color: var(--muted);
  font-size: 18px;
}

.archive-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
}

.archive-strip p {
  color: var(--muted);
  font-size: 18px;
}

.archive-page {
  background: #0a0a0c;
}

.archive-page .site-header {
  position: static;
}

.archive-page main {
  border-top: 1px solid var(--line);
}

.archive-intro {
  padding-bottom: 52px;
}

.archive-intro h1 {
  max-width: none;
  font-size: clamp(48px, 8vw, 104px);
  text-transform: none;
}

.archive-list {
  padding-top: 0;
}

.archive-edition {
  display: grid;
  grid-template-columns: minmax(240px, .42fr) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.archive-poster {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #050505;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 14px;
}

.archive-poster img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
}

.archive-details {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 8px 4px;
}

.archive-date h2 {
  font-size: clamp(36px, 5vw, 72px);
}

.photodump-button {
  align-self: flex-start;
  margin-top: 24px;
}

.archive-collage {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(96px, 9vw);
  gap: 10px;
  margin-top: 28px;
}

.collage-panel {
  margin-top: 34px;
}

.collage-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
}

.collage-header h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.1;
}

.collage-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(96px, 9vw);
  gap: 10px;
}

.photo-slot {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(45deg, transparent 48%, rgba(255, 255, 255, .08) 49%, rgba(255, 255, 255, .08) 51%, transparent 52%),
    linear-gradient(135deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, 0)),
    rgba(255, 255, 255, .035);
}

.photo-slot-wide {
  grid-column: span 2;
}

.photo-slot-tall {
  grid-row: span 2;
}

.photodump-section {
  padding-top: 0;
}

.photodump-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 12px;
}

.photodump-grid img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #050505;
}

.photodump-empty {
  display: grid;
  min-height: 260px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  text-align: center;
}

.photodump-empty p {
  margin: 0;
  font-size: 18px;
}

@media (max-width: 920px) {
  .site-header {
    position: absolute;
  }

  .event-grid,
  .split-section,
  .event-layout,
  .event-card-featured,
  .archive-edition {
    grid-template-columns: 1fr;
  }

  .event-card-featured .event-card-body {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .event-metadata {
    grid-template-columns: 1fr;
  }

  .archive-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .collage-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .collage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .photodump-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
  }

  .brand {
    font-size: 14px;
  }

  .brand-logo {
    width: 112px;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
  }

  .hero {
    min-height: 86svh;
  }

  .hero-content {
    padding: 136px 0 36px;
  }

  h1 {
    font-size: clamp(58px, 18vw, 84px);
  }

  .section {
    padding: 58px 0;
  }

  .event-card-body {
    padding: 20px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

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