:root {
  color-scheme: dark;
  --ink: #171512;
  --black: #110f0e;
  --paper: #f4eee5;
  --quiet: #c6bdb2;
  --accent: #ff6445;
  --line: #4d4038;
  --display: "DejaVu Sans Condensed", "Arial Black", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font: 1rem/1.55 Arial, sans-serif;
}

a { color: inherit; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
p, h1, h2, h3, figure { margin: 0; }
h1, h2, h3, .brand, .day { font-family: var(--display); font-weight: 900; }
h2 { font-size: clamp(2.25rem, 5vw, 4.2rem); line-height: 1; letter-spacing: -.065em; }
h3 { font-size: clamp(1.38rem, 3vw, 2.25rem); line-height: 1.12; letter-spacing: -.055em; }
section[id] { scroll-margin-top: 1rem; }

.wrap { width: min(100% - 3rem, 75rem); margin-inline: auto; }
.skip { position: absolute; z-index: 3; top: 1rem; left: 1rem; padding: .5rem 1rem; background: var(--paper); color: var(--black); transform: translateY(-200%); }
.skip:focus { transform: none; }

.site-header { background: var(--black); border-bottom: 1px solid #ffffff18; }
.header-inner, .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.2rem; }
.header-inner { min-height: 4.55rem; }
.brand {
  flex: none;
  text-decoration: none;
  letter-spacing: -.065em;
  font-size: 1.51rem;
  line-height: 1;
}
.brand span, .hero em { color: var(--accent); }
nav { display: flex; align-items: center; gap: clamp(1.1rem, 3.6vw, 3.2rem); }
nav a { color: var(--quiet); text-decoration: none; font-weight: 700; font-size: .93rem; }
nav a:hover { color: var(--accent); }

.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(28rem, 47vw, 40rem);
  display: grid;
  align-items: center;
  background: #23110e;
}
.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, #120e0df7 1%, #140e0ec9 29%, #140e0e36 67%, #140e0e08), linear-gradient(0deg, #140e0e94, transparent 35%), url("assets/buehne.webp") center 54% / cover;
}
.hero-content { padding-block: 4.5rem; }

.overline {
  display: flex;
  align-items: center;
  gap: .63rem;
  color: var(--accent);
  font-size: .88rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.overline span { display: inline-block; width: 1.55em; height: 2px; background: currentColor; }
h1 { margin: .15em 0 .08em; font-size: clamp(3.45rem, 11.25vw, 10rem); letter-spacing: -.095em; line-height: .94; }
.hero em { font-style: normal; }
.hero-intro { font-size: clamp(1.2rem, 2.35vw, 1.75rem); color: var(--paper); }
.hero .button { margin-top: 1.75rem; }
.image-caption { position: absolute; right: max(1.5rem, calc((100% - 75rem) / 2)); bottom: 1rem; font-size: .8rem; color: #f4eee5; }

.button {
  display: inline-block;
  border: 1px solid transparent;
  border-radius: .15rem;
  padding: .73rem 1.15rem;
  background: var(--accent);
  color: var(--black);
  font-weight: 800;
  text-decoration: none;
}
.button:hover { background: #ff8b72; }
.outline { background: transparent; border-color: var(--line); color: var(--paper); }
.outline:hover { background: #2d231d; border-color: var(--accent); }

.programme, .venue, .contact { padding-block: clamp(3.35rem, 7vw, 6rem); }
.programme h2, .venue h2, .contact h2 { margin-top: .28em; }
.events { border-top: 1px solid var(--line); margin-top: 2.25rem; }
.event {
  display: grid;
  grid-template-columns: 9.2rem minmax(0, 1fr) auto;
  gap: 1.2rem;
  align-items: center;
  padding: 1.3rem 0;
  border-bottom: 1px solid var(--line);
}
.event time { display: flex; align-items: center; gap: .65rem; }
.day { font-size: 3.65rem; line-height: .9; letter-spacing: -.09em; }
.month { font-size: .88rem; font-weight: 800; line-height: 1.22; color: var(--accent); letter-spacing: .055em; }
.event-meta { margin-bottom: .18em; color: var(--quiet); font-size: .9rem; }
.calendar { display: inline-flex; align-items: center; gap: .58rem; padding-block: .45rem; text-decoration: underline; text-underline-offset: .24em; font-size: .9rem; font-weight: 700; }
.calendar:hover { color: var(--accent); }
.calendar-icon { display: inline-block; width: .92rem; height: .9rem; border: 1px solid currentColor; border-top: 3px double currentColor; border-radius: 2px; }
.event-note { margin-top: 1rem; color: var(--quiet); }

.venue { background: #211b17; border-block: 1px solid #382b23; }
.venue-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(12rem, 22rem); align-items: center; gap: clamp(2.5rem, 10vw, 8rem); }
.venue h2 + p, .contact h2 + p { max-width: 37rem; margin-top: 1.2rem; color: var(--quiet); font-size: 1.12rem; }
address { margin-block: 1.5rem 1.3rem; font-style: normal; }
.poster { max-width: 20rem; justify-self: center; }
.poster a { display: block; border: 1px solid #836654; }
.poster img { display: block; width: 100%; height: auto; }
.poster figcaption { color: var(--quiet); margin-top: .7rem; font-size: .88rem; }
.contact-note { margin-top: 1.2rem; font-weight: 700; }
.site-footer { background: var(--black); border-top: 1px solid var(--line); padding-block: 1.8rem; }
.site-footer p { color: var(--quiet); font-size: .9rem; }

@media (max-width: 40rem) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { min-height: 4rem; }
  .brand { font-size: 1.13rem; }
  nav { gap: .85rem; }
  nav a { font-size: .875rem; }
  .hero::before {
    background-position: center, center, 63% center;
    background-image: linear-gradient(90deg, #120e0de8, #140e0e70 70%, #140e0e36), linear-gradient(0deg, #140e0e75, transparent 40%), url("assets/buehne.webp");
  }
  .event { grid-template-columns: 5.7rem minmax(0, 1fr); gap: .35rem .75rem; }
  .day { font-size: 2.65rem; }
  .event time { gap: .4rem; }
  .calendar { grid-column: 2; justify-self: start; }
  .venue-grid { grid-template-columns: 1fr; }
  .poster { justify-self: start; max-width: 16rem; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: .65rem; }
}

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

.gallery { padding-block: clamp(3.35rem, 7vw, 6rem); border-bottom: 1px solid var(--line); }
.gallery h2 { margin-top: .28em; }
.gallery-banner { margin-top: 1.6rem; }
.gallery-date { margin-top: 1.6rem; color: var(--quiet); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem 1rem;
  margin-top: 1.8rem;
}
.gallery-banner a, .gallery-grid a { display: block; border: 1px solid var(--line); }
.gallery-banner a:hover, .gallery-grid a:hover { border-color: var(--accent); }
.gallery-banner img, .gallery-grid img { display: block; width: 100%; height: auto; background: var(--black); }
.gallery-grid figcaption { padding-top: .5rem; color: var(--quiet); font-size: .93rem; }

@media (max-width: 48rem) {
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 28rem) {
  .header-inner { flex-wrap: wrap; gap: .65rem 1rem; padding-block: .8rem; }
  nav { flex-wrap: wrap; gap: .4rem .9rem; }
  .gallery-grid { grid-template-columns: 1fr; }
}
