@font-face {
  font-family: "Umbria VCR";
  src: url("./assets/VCR_OSD_MONO_1.001.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #050505;
  --panel: #0e0e0e;
  --fg: #f2f2ee;
  --soft: #d7d7cf;
  --muted: #9b9b96;
  --line: #2a2a28;
  --accent: #ff3c3c;
  --max: 1160px;
  --pad: 24px;
  --font-body: "Umbria VCR", "Courier New", monospace;
  --font-display: "Umbria VCR", "Courier New", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  text-transform: uppercase;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.menu-open {
  overflow: hidden;
}

main,
.footer {
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(5, 5, 5, 0.34), rgba(5, 5, 5, 0.46)),
    url("./assets/splash-background.jpg");
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
}

button,
input,
textarea {
  font: inherit;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

a:hover {
  color: var(--accent);
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 1000;
  background: var(--fg);
  color: var(--bg);
  padding: 8px 10px;
}

.skip-link:focus {
  left: 12px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.menu {
  max-width: var(--max);
  min-height: 66px;
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.menu-panel a,
.menu-toggle,
.footer-actions a {
  text-decoration: none;
  text-transform: uppercase;
}

.brand {
  display: block;
  width: 138px;
  line-height: 1;
}

.brand img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--fg);
  padding: 8px 12px;
  cursor: pointer;
}

.menu-panel {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  flex: 1;
}

.menu-links,
.menu-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.menu-links a,
.menu-actions a {
  padding: 6px 0;
}

.menu-actions a:first-child,
.footer-actions a {
  border: 1px solid var(--fg);
  padding: 7px 12px;
}

.section,
.footer {
  border-bottom: 1px solid var(--line);
  padding: 58px var(--pad);
}

.hero,
.section-heading,
.featured-event,
.split-section,
.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(260px, 0.88fr) minmax(0, 1.12fr);
  gap: 42px;
  align-items: center;
  min-height: calc(100svh - 66px);
}

.hero-logo {
  grid-template-columns: 1fr;
  justify-items: center;
  align-content: center;
  gap: 12px;
  text-align: center;
}

.hero-media {
  border: 1px solid var(--line);
  background: var(--panel);
}

.hero-logo-mark {
  width: min(650px, 100%);
  border: 0;
  background: transparent;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.hero-logo-mark img {
  aspect-ratio: auto;
  object-fit: contain;
}

.hero-copy {
  max-width: 760px;
}

.hero-logo-copy {
  max-width: 760px;
  margin-top: -12px;
}

.hero-next {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  color: var(--muted);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1;
  transition: border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.hero-next:hover {
  border-color: var(--fg);
  color: var(--fg);
  transform: translateY(2px);
}

.section-kicker,
.list-label,
dt {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 16px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1;
  font-weight: 400;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 22px;
  font-size: 7.95rem;
}

h1 span {
  display: block;
}

h2 {
  margin-bottom: 0;
  font-size: 4.05rem;
}

h3 {
  margin: 0 0 18px;
  font-size: 2.2rem;
}

.lead,
.text-stack p,
.rule-stack p,
.quick-grid p,
.footer-actions p {
  color: var(--soft);
  max-width: 72ch;
}

.section-heading {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 36px;
}

.featured-event {
  display: grid;
  grid-template-columns: minmax(260px, 440px) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

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

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

.poster-link img {
  width: 100%;
  height: auto;
}

.event-copy {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.event-meta {
  margin: 26px 0;
}

.event-meta div {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
  gap: 18px;
  border-top: 1px solid var(--line);
  padding: 10px 0;
}

dt,
dd {
  margin: 0;
}

.lineup-list {
  font-family: var(--font-display);
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 1.75rem;
  line-height: 1.16;
  text-transform: uppercase;
}

.program-list {
  max-width: var(--max);
  margin: 44px auto 0;
  border-bottom: 1px solid var(--line);
}

.program-row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) 210px;
  gap: 22px;
  align-items: baseline;
  border-top: 1px solid var(--line);
  padding: 14px 0;
  color: var(--fg);
  text-decoration: none;
  text-transform: uppercase;
}

.program-row:hover {
  color: var(--accent);
}

.program-row span:last-child,
.program-row-muted {
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 36px;
}

.split-section .section-heading {
  display: block;
  margin: 0;
}

.rule-stack,
.text-stack {
  display: grid;
  gap: 28px;
}

.rule-stack article,
.quick-grid article {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.rule-stack h3,
.quick-grid h3 {
  font-size: 1.45rem;
}

#policy h2,
#safer h2,
#community h2,
.footer h2 {
  font-size: 2.8rem;
  line-height: 1.05;
}

.footer h2 {
  font-size: 2.6rem;
}

#policy h3,
#safer h3,
#community h3 {
  font-size: 1.15rem;
  line-height: 1.12;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.footer {
  border-bottom: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 42px;
}

.footer h2 {
  overflow-wrap: anywhere;
}

.social-line {
  margin: 18px 0 0;
  font-size: 1.25rem;
  text-transform: uppercase;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  gap: 12px;
}

.footer-actions p {
  flex-basis: 100%;
  margin: 12px 0 0;
}

@media (min-width: 1180px) {
  h1 {
    font-size: 9.25rem;
  }
}

@media (min-width: 981px) {
  .site-header {
    position: fixed;
    inset: 0 auto 0 0;
    width: 236px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .menu {
    max-width: none;
    min-height: 100%;
    height: 100%;
    padding: 24px 18px;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
  }

  .brand {
    width: 172px;
    margin: 0 auto 42px;
  }

  .menu-panel {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
  }

  .menu-links,
  .menu-actions {
    display: grid;
    align-items: stretch;
    gap: 8px;
  }

  .menu-links a,
  .menu-actions a {
    border-top: 1px solid var(--line);
    padding: 10px 0;
  }

  .menu-actions a:first-child {
    border: 1px solid var(--fg);
    padding: 10px 12px;
    text-align: center;
  }

  main,
  .footer {
    margin-left: 236px;
  }

  .section,
  .footer {
    padding-left: 32px;
    padding-right: 32px;
  }

  .hero {
    min-height: 100svh;
  }
}

@media (max-width: 980px) {
  .brand {
    width: 86px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .menu-panel {
    display: none;
    position: fixed;
    inset: 66px 0 auto 0;
    padding: 22px var(--pad) 28px;
    border-bottom: 1px solid var(--line);
    background: var(--bg);
  }

  .menu-panel.open {
    display: grid;
    gap: 22px;
  }

  .menu-links,
  .menu-actions {
    display: grid;
    gap: 10px;
  }

  .menu-links a,
  .menu-actions a {
    border-top: 1px solid var(--line);
    padding: 12px 0;
  }

  .menu-actions a:first-child {
    border: 1px solid var(--fg);
    padding: 10px 12px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 32px;
  }

  .hero-media {
    max-width: 520px;
  }

  .hero-logo-mark {
    width: min(520px, 100%);
    max-width: none;
  }

  h1 {
    font-size: 5.05rem;
  }

  .section-heading,
  .featured-event,
  .split-section,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .program-row {
    grid-template-columns: 135px minmax(0, 1fr);
  }

  .program-row span:last-child {
    grid-column: 2;
  }
}

@media (max-width: 640px) {
  :root {
    --pad: 18px;
  }

  body {
    font-size: 16px;
  }

  .section,
  .footer {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  h1 {
    font-size: 2.7rem;
  }

  .hero-logo {
    gap: 4px;
    padding-top: 18px;
  }

  .hero-logo-mark {
    width: min(390px, 100%);
  }

  .hero-logo-copy {
    margin-top: -18px;
  }

  .hero-next {
    width: 38px;
    height: 38px;
    font-size: 1.35rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  #policy h2,
  #safer h2,
  #community h2,
  .footer h2 {
    font-size: 1.8rem;
  }

  .footer h2 {
    font-size: 1.65rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  #policy h3,
  #safer h3,
  #community h3 {
    font-size: 1rem;
  }

  .lineup-list {
    font-size: 1.35rem;
  }

  .event-meta div,
  .program-row,
  .quick-grid {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .program-row span:last-child {
    grid-column: auto;
  }
}
