:root {
  --bg: #0B0B0B;
  --ink: #F5F5F2;
  --muted: #B8B8B8;
  --line: rgba(245, 245, 242, 0.2);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: "Space Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

body {
  overflow-x: hidden;
}

a,
button {
  font: inherit;
}

.eventPage {
  width: min(1240px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 28px 0 70px;
}

.eventHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 70px;
}

.brandLogo {
  width: 164px;
  height: auto;
}

.backLink {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  text-decoration: none;
}

.backLink:hover {
  color: var(--ink);
}

.eventHero {
  display: grid;
  gap: 18px;
  max-width: 880px;
  margin-bottom: 58px;
}

.eyebrow,
.archiveLabel,
.supportLine {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 360px;
  font-size: clamp(15px, 1.55vw, 21px);
  line-height: 1.18;
  font-weight: 400;
  letter-spacing: 0;
  color: rgba(245, 245, 242, 0.82);
}

.supportLine {
  display: flex;
  align-items: center;
  gap: 12px;
}

.supportLine img {
  width: 126px;
  height: auto;
}

.eventBody {
  max-width: 820px;
  display: grid;
  gap: 20px;
  margin-bottom: 72px;
}

.eventBody p {
  margin: 0;
  color: rgba(245, 245, 242, 0.86);
  font-size: clamp(12px, 1.05vw, 14px);
  line-height: 1.68;
}

.eventBody .aboutStat {
  margin-top: 10px;
  color: var(--ink);
  font-size: clamp(15px, 1.55vw, 20px);
  line-height: 1.35;
}

.aboutPage {
  min-height: 100vh;
}

.benefits {
  max-width: 920px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-bottom: 34px;
}

.benefitGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.benefitIntro {
  max-width: 520px;
  margin: 0 0 22px;
  color: rgba(245, 245, 242, 0.76);
  font-size: 12px;
  line-height: 1.62;
}

.benefitGrid article {
  border-top: 1px solid rgba(245, 245, 242, 0.16);
  padding-top: 14px;
}

.benefitGrid h2 {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 400;
  text-transform: uppercase;
}

.benefitGrid p {
  margin: 0;
  color: rgba(245, 245, 242, 0.76);
  font-size: 12px;
  line-height: 1.62;
}

.memberButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid rgba(245, 245, 242, 0.34);
  border-radius: 999px;
  padding: 0 14px;
  color: var(--ink);
  text-decoration: none;
  font-size: 11px;
  line-height: 1;
  text-transform: uppercase;
}

.memberButton:hover,
.memberButton:focus-visible {
  border-color: rgba(245, 245, 242, 0.56);
  background: rgba(245, 245, 242, 0.08);
  outline: none;
}

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

.archiveLabel {
  margin-bottom: 18px;
}

.photoGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.photoItem {
  display: grid;
  gap: 7px;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--muted);
  text-align: left;
}

.photoItem img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  border: 1px solid rgba(245, 245, 242, 0.12);
  background: rgba(245, 245, 242, 0.04);
}

.photoItem span {
  font-size: 10px;
}

.lightbox {
  width: min(1120px, calc(100vw - 48px));
  max-width: none;
  border: 1px solid rgba(245, 245, 242, 0.28);
  padding: 46px 18px 18px;
  background: rgba(11, 11, 11, 0.94);
  color: var(--ink);
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.82);
}

.lightbox img {
  display: block;
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
}

.lightboxClose,
.lightboxNav {
  position: absolute;
  border: 1px solid rgba(245, 245, 242, 0.32);
  background: transparent;
  color: var(--ink);
  min-height: 32px;
}

.lightboxClose {
  top: 10px;
  right: 10px;
  width: 32px;
  border-radius: 50%;
}

.lightboxNav {
  top: 10px;
  padding: 0 10px;
  border-radius: 999px;
  text-transform: uppercase;
  font-size: 10px;
}

.lightboxNav.prev {
  left: 10px;
}

.lightboxNav.next {
  left: 94px;
}

#lightboxCount {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 11px;
}

@media (max-width: 900px) {
  .photoGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .eventPage {
    width: min(100vw - 32px, 1240px);
    padding-top: 20px;
  }

  .eventHeader {
    align-items: flex-start;
    margin-bottom: 48px;
  }

  .photoGrid {
    grid-template-columns: 1fr;
  }

  .benefitGrid {
    grid-template-columns: 1fr;
  }
}
