:root {
  --bg: #faf8f3;
  --text: #111111;
  --muted: #111111;
  --line: #111111;
  --line-strong: #111111;
  --accent: #111111;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #ffffff;
  color: var(--text);
  font-family: "Times New Roman", Times, serif;
}

a {
  color: inherit;
}

.site-shell,
.gate-shell {
  width: min(1120px, calc(100vw - 2rem));
  margin: 0 auto;
}

.site-shell {
  padding: 1rem 0 3rem;
}

.hero {
  padding: 2.25rem 0 2rem;
  border-bottom: 2px solid var(--line);
}

.eyebrow,
.panel-label {
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.92rem;
  color: var(--muted);
}

.brand {
  margin: 0 0 0.75rem;
  color: var(--text);
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.brand-footer {
  margin-bottom: 0.5rem;
}

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

h1 {
  max-width: 10ch;
  font-size: clamp(3rem, 12vw, 7rem);
  line-height: 0.9;
  font-weight: 400;
  letter-spacing: -0.05em;
}

h2 {
  max-width: 14ch;
  font-size: clamp(1.8rem, 6vw, 3rem);
  line-height: 1;
  font-weight: 400;
}

h3 {
  font-size: 1.35rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.hero-copy,
.footer-copy,
.unlock-form,
.micro-copy {
  max-width: 42rem;
  font-size: 1.22rem;
  line-height: 1.55;
  color: var(--muted);
}

.gate-actions,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.button,
.ticket-link,
.venue-map-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-height: auto;
  padding: 0;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.88rem;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.button:hover,
.ticket-link:hover,
.venue-map-link:hover {
  transform: translateY(-1px);
}

.button-primary,
.ticket-link {
  background: transparent;
  color: var(--text);
}

.button-secondary {
  background: transparent;
  color: var(--muted);
}

.gate-actions .button-primary {
  text-transform: none;
  letter-spacing: -0.03em;
  font-size: clamp(2rem, 7vw, 3rem);
  line-height: 0.95;
  font-weight: 400;
}

.links-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 0.5rem;
}

.link-card,
.gate-card {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.link-card {
  position: relative;
  overflow: visible;
  padding: 1.25rem 0;
  border-bottom: 2px solid var(--line);
}

.link-card::before,
.gate-card::before {
  display: none;
}

.link-meta,
.link-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.link-meta {
  margin-bottom: 0.65rem;
  color: var(--muted);
  font-size: 1.15rem;
}

.link-card h3 {
  max-width: 10ch;
  font-size: clamp(3rem, 12vw, 7rem);
  line-height: 0.9;
  font-weight: 400;
  letter-spacing: -0.05em;
  margin-bottom: 0.8rem;
}

.event-title-link {
  display: block;
  color: var(--text);
  text-transform: none;
  letter-spacing: inherit;
  font-size: inherit;
  line-height: inherit;
  text-decoration: none;
}

.link-artists {
  color: var(--text);
  line-height: 1.35;
  font-size: 1.3rem;
  margin-bottom: 0.65rem;
}

.link-venue-line {
  margin: 0.1rem 0 1rem;
}

.venue-map-link {
  color: var(--text);
  text-transform: none;
  letter-spacing: 0;
  font-size: 1.08rem;
  line-height: 1.35;
  text-decoration: none;
}

.event-title-link:hover,
.event-title-link:focus-visible {
  opacity: 0.72;
}

.venue-map-link:hover,
.venue-map-link:focus-visible {
  opacity: 0.72;
}

.link-card p {
  color: var(--text);
  line-height: 1.5;
  font-size: 1.18rem;
}

.link-tags {
  margin: 1.2rem 0;
  gap: 1rem;
}

.tag {
  padding: 0;
  border: 0;
  font-size: 1.08rem;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--text);
  font-weight: 400;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  padding-top: 2.5rem;
  border-top: 2px solid var(--line);
}

.footer-links a,
.back-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 1.02rem;
}

.gate-body {
  display: grid;
  place-items: center;
  padding: 1.5rem 0;
}

.gate-shell {
  width: min(760px, calc(100vw - 2rem));
}

.back-link {
  display: inline-block;
  margin-bottom: 1rem;
}

.gate-card {
  position: relative;
  padding: 1.5rem 0;
}

.unlock-form {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.unlock-form label {
  display: flex;
  gap: 0.75rem;
  align-items: start;
}

.unlock-result {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.gate-card .link-meta {
  margin-bottom: 0.8rem;
}

.gate-card h1 {
  max-width: 12ch;
  margin-bottom: 0.8rem;
}

.gate-card .link-artists {
  margin-bottom: 0.5rem;
}

.gate-card .hero-copy {
  margin-bottom: 0.5rem;
}

.gate-card .link-venue-line {
  margin-bottom: 1.5rem;
}

input,
textarea,
select {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(17, 17, 17, 0.25);
}

@media (max-width: 920px) {
  .site-footer {
    align-items: start;
    flex-direction: column;
  }

  h1 {
    max-width: 9ch;
  }

  .brand {
    font-size: 1.6rem;
  }

  .site-shell,
  .gate-shell {
    width: min(100vw - 1.25rem, 1120px);
  }

  .hero {
    padding: 1.5rem 0 1.5rem;
  }

  .hero-copy,
  .footer-copy,
  .unlock-form,
  .micro-copy,
  .link-card p {
    font-size: 1.08rem;
  }

  .footer-links {
    gap: 0.8rem;
  }

  .button,
  .ticket-link,
  .venue-map-link {
    font-size: 0.82rem;
  }

  .gate-actions .button-primary {
    font-size: clamp(1.75rem, 8vw, 2.6rem);
    line-height: 0.96;
  }

  .link-meta,
  .tag,
  .footer-links a,
  .back-link {
    font-size: 0.98rem;
  }

  .link-artists {
    font-size: 1.12rem;
  }

  .link-card h3 {
    max-width: 9ch;
    font-size: clamp(3rem, 12vw, 7rem);
    line-height: 0.9;
    margin-bottom: 0.65rem;
  }

  .venue-map-link {
    font-size: 1rem;
  }

  .link-card {
    padding: 1rem 0;
  }

  .link-meta {
    margin-bottom: 0.45rem;
  }
}
