:root {
  color-scheme: dark;
  --bg: #080806;
  --paper: #e5e3dc;
  --paper-soft: rgba(229, 227, 220, 0.08);
  --paper-line: rgba(229, 227, 220, 0.24);
  --muted: rgba(229, 227, 220, 0.58);
  --dark: #080806;
  --accent: #d7ff3f;
  --accent-instagram: #ff4f9a;
  --accent-whatsapp: #32d76b;
  --accent-tiktok: #28f4f4;
  --accent-tech: #ff493d;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  padding: 12px;
  overflow-x: hidden;
  color: var(--paper);
  font-family:
    "Space Grotesk", "Arial Narrow", "Helvetica Neue", Arial, ui-sans-serif,
    system-ui, sans-serif;
  line-height: 1.35;
  background: #050505;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

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

.mono,
.topbar,
.claim,
.subtitle,
.section-head,
.section-heading,
.event-date,
.badge,
.link-type,
.footer,
.eyebrow,
.section-kicker,
.gear-label,
.rental-form label,
.rental-form legend,
.back-link {
  font-family:
    "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.shell {
  position: relative;
  z-index: 1;
  width: min(100%, 620px);
  margin: 0 auto;
  border: 1px solid var(--paper-line);
  background: rgba(0, 0, 0, 0.38);
}

.shell--home {
  display: grid;
  min-height: calc(100vh - 24px);
  grid-template-rows: auto auto auto auto 1fr;
}

.topbar {
  display: grid;
  min-height: 42px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--paper-line);
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.topbar span {
  padding: 0 14px;
}

.topbar span:nth-child(2) {
  display: grid;
  height: 100%;
  place-items: center;
  border-right: 1px solid var(--paper-line);
  border-left: 1px solid var(--paper-line);
  color: var(--paper);
}

.site-header {
  padding: 20px 18px 18px;
  border-bottom: 1px solid var(--paper-line);
}

.site-header--compact {
  padding-top: 18px;
}

.brand-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 20px;
}

.logo-mark {
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  border: 1px solid var(--paper);
  color: var(--paper);
  background: var(--dark);
}

.logo-title {
  margin: 0;
  line-height: 0;
}

.logo-title img {
  display: block;
  width: 62px;
  height: auto;
}

.claim {
  max-width: 220px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  text-align: right;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(70px, 21vw, 126px);
  font-weight: 700;
  line-height: 0.78;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-header--compact h1 {
  max-width: 560px;
  margin-top: 8px;
  font-size: clamp(42px, 13vw, 82px);
  hyphens: auto;
  line-height: 0.86;
  overflow-wrap: anywhere;
}

.intro {
  max-width: 28rem;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.subtitle {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 18px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.section {
  border-bottom: 1px solid var(--paper-line);
}

.section-heading,
.section-head {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 18px;
  border-bottom: 1px solid var(--paper-line);
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-heading h2,
.section-head h2 {
  margin: 0;
  color: var(--muted);
  font-size: inherit;
  font-weight: 500;
  letter-spacing: inherit;
}

.eyebrow,
.section-kicker,
.gear-label {
  margin: 0;
  color: var(--accent);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.event-feature {
  border-bottom: 1px solid var(--paper-line);
}

.link-stack,
.gear-grid,
.rental-form {
  display: grid;
}

.event-body {
  display: grid;
  gap: 18px;
  padding: 18px;
  border-bottom: 1px solid var(--paper-line);
  background:
    linear-gradient(135deg, rgba(229, 227, 220, 0.08), transparent 42%),
    rgba(229, 227, 220, 0.025);
}

.event-body:last-child {
  border-bottom: 0;
}

.event-top {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 18px;
}

.event-date {
  color: var(--muted);
  font-family:
    "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  line-height: 1.45;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.event-date {
  margin-bottom: 12px;
}

.event-title {
  max-width: 460px;
  margin: 0;
  font-size: clamp(42px, 12vw, 78px);
  font-weight: 700;
  line-height: 0.83;
  letter-spacing: 0;
  text-transform: uppercase;
}

.gear-card p,
.legal-panel p {
  margin-bottom: 0;
  color: var(--muted);
}

.badge {
  padding: 9px 10px;
  border: 1px solid var(--paper);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.link-stack {
  align-content: start;
}

.link-button {
  --link-highlight: var(--paper);
  position: relative;
  display: grid;
  min-height: 72px;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 14px;
  overflow: hidden;
  padding: 0 18px;
  border-bottom: 1px solid var(--paper-line);
  color: var(--paper);
  text-decoration: none;
}

.link-button::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background: var(--link-highlight);
  transform: translateX(-101%);
  transition: transform 180ms ease;
}

.link-button > * {
  position: relative;
  z-index: 1;
}

.link-button:hover::before,
.link-button:focus-visible::before {
  transform: translateX(0);
}

.link-button:hover,
.link-button:focus-visible {
  color: var(--dark);
}

.link-icon,
.link-type {
  color: var(--muted);
  transition: color 180ms ease;
}

.link-button:hover .link-icon,
.link-button:hover .link-type,
.link-button:focus-visible .link-icon,
.link-button:focus-visible .link-type {
  color: var(--dark);
}

.link-icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid currentColor;
}

.link-icon svg {
  width: 20px;
  height: 20px;
}

.link-button--ticket {
  --link-highlight: var(--accent);
}

.link-button--instagram {
  --link-highlight: var(--accent-instagram);
}

.link-button--whatsapp {
  --link-highlight: var(--accent-whatsapp);
}

.link-button--tiktok {
  --link-highlight: var(--accent-tiktok);
}

.link-button--tech {
  --link-highlight: var(--accent-tech);
}

.link-button--ticket .link-icon,
.link-button--ticket .link-type {
  color: var(--accent);
}

.link-button--instagram .link-icon,
.link-button--instagram .link-type {
  color: var(--accent-instagram);
}

.link-button--whatsapp .link-icon,
.link-button--whatsapp .link-type {
  color: var(--accent-whatsapp);
}

.link-button--tiktok .link-icon,
.link-button--tiktok .link-type {
  color: var(--accent-tiktok);
}

.link-button--tech .link-icon,
.link-button--tech .link-type {
  color: var(--accent-tech);
}

.link-title {
  display: block;
  font-size: clamp(25px, 7vw, 42px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
}

.link-type {
  display: block;
  margin-top: 7px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.arrow {
  font-size: 20px;
}

.submit-button,
.back-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
}

.back-link:hover {
  color: var(--dark);
  background: var(--paper);
}

.back-link {
  width: fit-content;
  min-height: 34px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 10px;
}

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

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

.gear-card,
.rental-form,
.legal-panel {
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(229, 227, 220, 0.055), transparent 38%),
    rgba(229, 227, 220, 0.025);
}

.gear-card {
  border-bottom: 1px solid var(--paper-line);
}

.gear-card:last-child {
  border-bottom: 0;
}

.gear-card h3 {
  margin: 5px 0 4px;
  font-size: clamp(28px, 7vw, 42px);
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
}

.rental-form {
  gap: 14px;
}

.rental-form label,
.rental-form fieldset {
  display: grid;
  gap: 8px;
  color: var(--paper);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.rental-form input,
.rental-form textarea {
  width: 100%;
  border: 1px solid var(--paper-line);
  border-radius: 0;
  color: var(--paper);
  background: rgba(0, 0, 0, 0.32);
}

.rental-form input {
  min-height: 46px;
  padding: 0 12px;
}

.rental-form textarea {
  resize: vertical;
  padding: 12px;
}

.rental-form fieldset {
  margin: 0;
  padding: 14px;
  border: 1px solid var(--paper-line);
}

.rental-form legend {
  padding: 0 6px;
}

.check-label {
  display: flex;
  grid-template-columns: none;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.check-label input {
  width: 20px;
  min-height: 20px;
  accent-color: var(--accent);
}

.submit-button {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--accent);
  color: var(--dark);
  background: var(--accent);
  cursor: pointer;
}

.submit-button:hover {
  border-color: var(--paper);
  background: var(--paper);
}

.legal-panel {
  color: var(--muted);
}

.legal-panel h2 {
  margin: 28px 0 8px;
  color: var(--paper);
  font-size: 1rem;
  line-height: 1.1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.legal-panel h2:first-child {
  margin-top: 0;
}

.legal-panel p,
.legal-panel li {
  font-size: 0.95rem;
}

.legal-panel ul {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding-left: 1.2rem;
}

.legal-panel li {
  color: var(--muted);
}

.legal-panel a {
  text-underline-offset: 4px;
}

.footer {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100%, 620px);
  grid-template-columns: repeat(3, 1fr);
  margin: 0 auto;
  border-right: 1px solid var(--paper-line);
  border-bottom: 1px solid var(--paper-line);
  border-left: 1px solid var(--paper-line);
  background: rgba(0, 0, 0, 0.38);
}

.shell--home .footer {
  align-self: end;
  width: 100%;
  margin: 0;
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  border-top: 1px solid var(--paper-line);
}

.footer a {
  display: grid;
  min-height: 44px;
  place-items: center;
  padding: 0 10px;
  border-right: 1px solid var(--paper-line);
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.footer a:last-child {
  border-right: 0;
}

.footer a:hover,
.footer a[aria-current="page"] {
  color: var(--paper);
  background: var(--paper-soft);
}

@media (min-width: 680px) {
  .gear-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gear-card {
    border-right: 1px solid var(--paper-line);
    border-bottom: 0;
  }

  .gear-card:last-child {
    border-right: 0;
  }
}

@media (max-width: 480px) {
  body {
    padding: 8px;
  }

  .shell--home {
    min-height: calc(100vh - 16px);
  }

  .site-header,
  .event-body,
  .gear-card,
  .rental-form,
  .legal-panel {
    padding: 16px;
  }

  .site-header--compact h1 {
    font-size: clamp(38px, 11vw, 56px);
  }

  .logo-mark {
    width: 60px;
    height: 60px;
  }

  .logo-title img {
    width: 52px;
  }

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

  .badge {
    width: fit-content;
  }

  .link-button {
    grid-template-columns: 36px 1fr auto;
    padding: 0 16px;
  }

  .link-icon {
    width: 30px;
    height: 30px;
  }

  .subtitle {
    grid-template-columns: 1fr;
    gap: 10px;
  }

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

  .footer a {
    border-right: 0;
    border-bottom: 1px solid var(--paper-line);
  }

  .footer a:last-child {
    border-bottom: 0;
  }
}
