:root {
  --bg: #ECEAE6;
  --card: #FFFFFF;
  --ink: #161616;
  --ink-body: #262626;
  --muted: #5C5C5C;
  --line: #E4E2DE;
  --line-strong: #D3D0CA;
  --on-ink: #FFFFFF;

  --font-sans: 'Space Grotesk', system-ui, sans-serif;
  --font-mono: 'Space Mono', ui-monospace, monospace;

  /* Card corners and the inset of every ticket-card section */
  --radius-card: 20px;
  --card-pad-y: 20px;
  --card-pad-x: 20px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

.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;
}

/* Zero specificity so each component keeps its own border-radius */
:where(a, button):focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Hero */

.hero {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--line-strong);
  /* Which cover the video script loads; switches with the layout */
  --cover: 1x1;
}

/* Ticket card */

.ticket {
  margin: 16px 16px 0;
  background: var(--card);
  border-radius: var(--radius-card);
}

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

.ticket-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: var(--card-pad-y) var(--card-pad-x);
  border-bottom: 1px solid var(--line);
  min-width: 0;
}

.ticket-cell:first-child {
  border-right: 1px solid var(--line);
}

.label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--muted);
}

.value {
  font-size: 18px;
  font-weight: 700;
}

.sub-value {
  font-size: 14px;
  color: var(--muted);
}

.address {
  font-size: 12px;
  color: var(--ink);
  text-decoration: underline;
  white-space: nowrap;
}

/* Below ~362px the address can no longer fit inside the card on one line */
@media (max-width: 361px) {
  .address {
    white-space: normal;
  }
}

.schedule,
.price {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: var(--card-pad-y) var(--card-pad-x);
}

.row {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
}

.time {
  font-family: var(--font-mono);
}

.row-strong {
  font-weight: 700;
}

.row-divided {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.row-label {
  color: var(--muted);
}

.ticket-divider {
  margin: 0 var(--card-pad-x);
  border: 0;
  border-top: 2px dashed var(--line-strong);
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.price-value {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.price-note {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--on-ink);
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
}

/* About */

.about {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 40px 20px 32px;
}

.about h2 {
  margin: 0 0 2px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.about p {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-body);
}

.about .lead {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* Footer */

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 20px;
  padding: 20px 0;
  border-top: 1px solid var(--line-strong);
  font-size: 13px;
  color: var(--muted);
}

.instagram {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  color: var(--ink);
}

/* Invisible 44x44 tap area around the 26x26 link */
.instagram::before {
  content: '';
  position: absolute;
  inset: -9px;
}

/* Cookie consent banner (shown until the visitor chooses) */

.consent {
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 448px;
  margin: 0 auto;
  padding: 16px;
  background: var(--card);
  border-radius: var(--radius-card);
  box-shadow: 0 8px 32px rgb(22 22 22 / 0.16);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-body);
}

.consent[hidden] {
  display: none;
}

.consent p {
  margin: 0;
}

.consent-actions {
  display: flex;
  gap: 8px;
}

.consent button {
  flex: 1;
  min-height: 44px;
  border: 1px solid var(--ink);
  border-radius: 12px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.consent-decline {
  background: var(--card);
  color: var(--ink);
}

.consent-accept {
  background: var(--ink);
  color: var(--on-ink);
}

/* Desktop: one centered 720px column (designed at 1440px).
   768px is also in the poster preload media attributes in index.html */

@media (min-width: 768px) {
  :root {
    --card-pad-y: 28px;
    --card-pad-x: 32px;
  }

  body {
    padding: 64px 40px 0;
  }

  /* Fills the window below the top padding so the footer sits at the bottom of short pages */
  .page {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 64px);
    max-width: 720px;
    margin: 0 auto;
  }

  .hero {
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-card);
    --cover: 16x9;
  }

  .ticket {
    margin: 24px 0 0;
  }

  .ticket-cell {
    gap: 6px;
  }

  .value {
    font-size: 24px;
    letter-spacing: -0.01em;
  }

  .address {
    font-size: 15px;
  }

  .schedule {
    gap: 14px;
  }

  .row {
    font-size: 17px;
  }

  .price {
    flex-direction: row;
    align-items: center;
    gap: 24px;
  }

  .price-row {
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .price-value {
    font-size: 30px;
  }

  .button {
    padding: 0 48px;
  }

  .about {
    gap: 16px;
    padding: 64px 32px 48px;
  }

  .about p {
    font-size: 18px;
    line-height: 1.65;
  }

  .about .lead {
    font-size: 30px;
    line-height: 1.3;
    letter-spacing: -0.015em;
  }

  .footer {
    margin: auto 0 0;
    padding: 24px 0;
  }
}
