/* OST website. Single dark theme, sharp corners, one accent: none. White on near-black, inverted once for the house rules.
   Layout: 12-column feel without a framework; sections separated by hairlines, photos bleed full width, type does the work. */

@font-face { font-family: "Big Shoulders Display"; font-weight: 700; font-style: normal; font-display: swap; src: url("../assets/fonts/big-shoulders-display-700.woff2") format("woff2"); }
@font-face { font-family: "Big Shoulders Display"; font-weight: 800; font-style: normal; font-display: swap; src: url("../assets/fonts/big-shoulders-display-800.woff2") format("woff2"); }
@font-face { font-family: "Big Shoulders Display"; font-weight: 900; font-style: normal; font-display: swap; src: url("../assets/fonts/big-shoulders-display-900.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 400; font-style: normal; font-display: swap; src: url("../assets/fonts/archivo-400.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 400; font-style: italic; font-display: swap; src: url("../assets/fonts/archivo-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 500; font-style: normal; font-display: swap; src: url("../assets/fonts/archivo-500.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 600; font-style: normal; font-display: swap; src: url("../assets/fonts/archivo-600.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-style: normal; font-display: swap; src: url("../assets/fonts/ibm-plex-mono-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url("../assets/fonts/ibm-plex-mono-500.woff2") format("woff2"); }

:root {
  --bg: #0b0b0b;
  --bg-2: #121212;
  --bg-3: #1a1a1a;
  --fg: #ededed;
  --fg-2: #b4b4b4;
  --fg-3: #767676;
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.32);
  --inverse-bg: #ededed;
  --inverse-fg: #0b0b0b;
  --inverse-line: rgba(0, 0, 0, 0.18);
  --display: "Big Shoulders Display", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Menlo, Consolas, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --wrap: 1480px;
  --nav-h: 64px;
  /* phones with a notch: the bar itself covers the strip above it */
  --safe-top: env(safe-area-inset-top, 0px);
  --nav-total: calc(var(--nav-h) + var(--safe-top));
  --section: clamp(72px, 10vw, 150px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-total) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::after {
  /* film grain, fixed so it never repaints with scroll */
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 240px 240px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 900; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
.rules :focus-visible { outline-color: var(--inverse-fg); }
::selection { background: var(--fg); color: var(--bg); }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--gutter); top: -60px; z-index: 100; padding: 10px 14px; background: var(--fg); color: var(--bg); font-weight: 600; }
.skip:focus { top: 10px; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

/* type */
.h2 {
  font-family: var(--display);
  font-size: clamp(56px, 8vw, 128px);
  line-height: 0.86;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  text-wrap: balance;
}
.h3 {
  font-family: var(--display);
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 0.95;
  text-transform: uppercase;
  font-weight: 800;
}
.mono {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.dim { color: var(--fg-3); }
.lede { font-size: 19px; }

/* buttons: sharp, uppercase, one solid + one ghost */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 22px;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.15s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--solid { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn--solid:hover { background: #fff; }
.btn--ghost { color: var(--fg); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--fg); }
.btn--lg { min-height: 54px; padding: 0 30px; font-size: 14px; }

/* nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--nav-total);
  padding-top: var(--safe-top);
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
  background-color: rgba(11, 11, 11, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
/* anything that ends up above the bar (notch strip, iOS toolbar shift, overscroll) stays solid */
.nav::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 240px; background: var(--bg); pointer-events: none; }
/* phones and tablets: a fully solid bar. iPhone Safari only paints the strip
   around the status bar in the bar's colour when that colour is solid; with a
   see-through bar the page shows above and behind it. The grain layer also
   starts below the bar so the bar is the only thing at the top edge. */
@media (max-width: 900px), (hover: none) {
  .nav { background-color: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
  body::after { top: var(--nav-total); }
}
.nav__logo { display: flex; align-items: center; height: 100%; }
.nav__logo img { width: auto; height: 24px; }
.nav__links { display: flex; gap: 28px; margin-left: 12px; }
.nav__links a, .menu__social a {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-2);
  transition: color 0.2s var(--ease);
}
.nav__links a:hover { color: var(--fg); }
.nav__cta { margin-left: auto; min-height: 38px; padding: 0 18px; }
.nav__burger {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  position: relative;
}
.nav__burger span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--fg);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.nav__burger span:first-child { top: 17px; }
.nav__burger span:last-child { top: 25px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.menu {
  position: fixed;
  inset: var(--nav-total) 0 0 0;
  z-index: 45;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px max(var(--gutter), env(safe-area-inset-right, 0px)) calc(32px + env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px));
  background: var(--bg);
  overflow-y: auto;
}
.menu[hidden] { display: none; }
.menu__links { display: flex; flex-direction: column; gap: 4px; }
.menu__links a {
  font-family: var(--display);
  font-size: clamp(44px, 11vw, 72px);
  line-height: 1;
  text-transform: uppercase;
  font-weight: 900;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
}
.menu__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 32px; }
.menu__social { display: flex; gap: 20px; }
body.menu-open { overflow: hidden; }

/* hero */
.hero {
  position: relative;
  min-height: clamp(600px, 92svh, 960px);
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}
.hero__media, .hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.hero__media img { object-fit: cover; object-position: 60% 40%; }
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 11, 11, 0.96) 0%, rgba(11, 11, 11, 0.55) 45%, rgba(11, 11, 11, 0.15) 100%);
}
.hero__inner {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
  padding-block: clamp(40px, 8vh, 96px) clamp(40px, 7vw, 80px);
}
.hero__mark {
  display: block;
  width: clamp(220px, 30vw, 440px);
  margin: 0;
  line-height: 0;
}
.hero__mark img { display: block; width: 100%; height: auto; }
.hero__sub {
  max-width: 44ch;
  margin-top: clamp(24px, 3vw, 36px);
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--fg-2);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (prefers-reduced-motion: no-preference) {
  .js .hero__mark { animation: hero-mark 1s var(--ease) both; }
  .js .hero__sub, .js .hero__cta { animation: hero-rise 0.9s var(--ease) both; }
  .js .hero__sub { animation-delay: 0.12s; }
  .js .hero__cta { animation-delay: 0.22s; }
  .js .hero__media img { animation: hero-zoom 14s ease-out both; }
}
@keyframes hero-mark { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes hero-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes hero-zoom { from { transform: scale(1.06); } to { transform: scale(1); } }

/* scroll reveal, CSS only; browsers without scroll timelines see the resting state */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .js .reveal {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 35%;
    }
  }
}
@keyframes reveal { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* programme */
section { scroll-margin-top: var(--nav-total); }
.programme { padding-block: var(--section); border-bottom: 1px solid var(--line); }
.programme .h2 { margin-bottom: clamp(32px, 4vw, 56px); }

.featured {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
  padding-bottom: clamp(48px, 6vw, 96px);
  margin-bottom: clamp(48px, 6vw, 96px);
  border-bottom: 1px solid var(--line);
}
.featured:empty { display: none; }
.featured__art {
  background: var(--bg-2);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.featured__art img { width: 100%; height: 100%; object-fit: cover; }
.featured__art--empty img { width: 42%; height: auto; opacity: 0.5; }
.featured__body { display: flex; flex-direction: column; gap: 20px; padding-top: 8px; }
.featured__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--line-strong);
  color: var(--fg);
}
.chip--live { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.chip--free { border-style: dashed; }
.featured__title {
  font-family: var(--display);
  font-size: clamp(44px, 6.4vw, 104px);
  line-height: 0.88;
  text-transform: uppercase;
  text-wrap: balance;
}
.featured__date {
  font-family: var(--mono);
  font-size: clamp(14px, 1.3vw, 17px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-2);
  font-variant-numeric: tabular-nums;
}
.lineup { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.lineup li { font-family: var(--display); font-size: clamp(22px, 2.2vw, 30px); text-transform: uppercase; font-weight: 800; }
.lineup li small { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--fg-3); margin-left: 8px; font-weight: 400; }
/* line-up by floor: the floor as a heading, its DJs below in running order */
.floors { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 24px clamp(24px, 3vw, 48px); align-items: start; }
.floors--plain { display: block; }
.floor__name { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-2); padding-bottom: 8px; margin-bottom: 10px; border-bottom: 1px solid var(--line); }
.floor .lineup { flex-direction: column; flex-wrap: nowrap; gap: 6px; }
.floors--plain .floor .lineup { flex-direction: row; flex-wrap: wrap; gap: 6px 18px; }
.floor .lineup li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.floors--plain .floor .lineup li { display: block; }
.floor .lineup li small { margin-left: 0; white-space: nowrap; font-variant-numeric: tabular-nums; }
.floors--plain .floor .lineup li small { margin-left: 8px; }
.lineup li.is-on small { color: var(--fg); }
.lineup li.is-on::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; background: var(--fg); border-radius: 50%; transform: translateY(-3px); flex: none; }
.floor .lineup li.is-on { justify-content: flex-start; }
.floor .lineup li.is-on small { margin-left: auto; }

/* live line-up */
.live { border: 1px solid var(--line-strong); padding: clamp(16px, 2vw, 24px); display: flex; flex-direction: column; gap: 18px; }
.live__head { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; }
.live__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--fg); }
@media (prefers-reduced-motion: no-preference) { .live__dot { animation: live-pulse 1.6s ease-in-out infinite; } }
@keyframes live-pulse { 50% { opacity: 0.25; } }
.live__floors { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 24px clamp(24px, 3vw, 48px); }
.live__floor { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.live__floor .floor__name { margin-bottom: 4px; }
.live__label { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3); }
.live__name { font-family: var(--display); font-size: clamp(30px, 3.4vw, 46px); line-height: 0.95; font-weight: 800; text-transform: uppercase; overflow-wrap: anywhere; }
.live__bar { height: 6px; background: var(--line); margin-top: 4px; }
.live__bar span { display: block; height: 100%; background: var(--fg); transition: width 0.6s var(--ease); }
.live__meta { display: flex; justify-content: space-between; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--fg-2); font-variant-numeric: tabular-nums; }
.live__since { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--fg-3); font-variant-numeric: tabular-nums; }
.live__next { display: flex; align-items: baseline; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-3); padding-top: 8px; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.live__next { flex-wrap: wrap; }
.live__next span { white-space: nowrap; }
.live__next strong { font-family: var(--display); font-size: 22px; font-weight: 800; letter-spacing: 0; color: var(--fg); }
.live__end { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-2); font-variant-numeric: tabular-nums; }
.featured__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

.grid-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.posters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 28px) clamp(12px, 1.6vw, 24px);
}
.poster { min-width: 0; }
.poster[hidden] { display: none; }
.poster a { display: block; }
.poster__art {
  background: var(--bg-2);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  overflow: hidden;
  transition: border-color 0.25s var(--ease);
}
.poster__art img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.poster__art--empty img { width: 40%; height: auto; opacity: 0.45; }
/* artworks that are square or landscape are shown whole, centred on a blurred copy of themselves */
.poster__art, .featured__art { position: relative; }
.art__main { position: relative; z-index: 1; }
.art--whole .art__main { object-fit: contain; }
.art__bg { position: absolute; inset: -12%; width: 124%; height: 124%; object-fit: cover; filter: blur(26px) brightness(0.5) saturate(1.15); z-index: 0; }
.poster a:hover .poster__art { border-color: var(--line-strong); }
.poster a:hover .poster__art img { transform: scale(1.025); }
.poster__meta { padding-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.poster__date { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-2); font-variant-numeric: tabular-nums; }
.poster__title { font-family: var(--display); font-size: clamp(22px, 2vw, 30px); line-height: 0.95; text-transform: uppercase; font-weight: 800; }
.poster__chip { margin-top: 4px; }
.posters__more { display: flex; justify-content: center; margin-top: clamp(28px, 4vw, 48px); }
.posters__more button[hidden] { display: none; }
.empty { color: var(--fg-2); max-width: 60ch; }
.empty a { text-decoration: underline; text-underline-offset: 3px; }

/* club */
.club { padding-block: var(--section); border-bottom: 1px solid var(--line); background: var(--bg); }
.club__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 96px);
  align-items: start;
}
.club__statement {
  font-family: var(--display);
  font-size: clamp(72px, 11vw, 190px);
  line-height: 0.82;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  position: sticky;
  top: calc(var(--nav-total) + 32px);
}
.club__statement-alt { color: var(--fg-3); }
.club__text { display: flex; flex-direction: column; gap: 22px; max-width: 54ch; padding-top: 10px; }
.club__text p { color: var(--fg-2); font-size: 18px; }
.club__text .btn { align-self: flex-start; margin-top: 8px; }
.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 24px;
  margin-top: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.facts div { min-width: 0; }
.facts dt { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 4px; }
.facts dd { font-size: 16px; color: var(--fg); }

/* building */
.building { border-bottom: 1px solid var(--line); }
.building__lead { margin: 0; }
.building__lead img { display: block; width: 100%; height: auto; filter: grayscale(1) contrast(1.05); }
.building__lead figcaption, .building__hall figcaption { padding-top: 12px; }
.building__lead figcaption { padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.building__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 96px);
  align-items: start;
  padding-block: var(--section);
}
.building__hall { margin: 0; position: sticky; top: calc(var(--nav-total) + 24px); }
.building__hall img { width: 100%; filter: grayscale(1); border: 1px solid var(--line); }
.building__text .h2 { margin-bottom: clamp(32px, 4vw, 64px); }
.timeline { display: flex; flex-direction: column; gap: clamp(28px, 3vw, 44px); max-width: 60ch; }
.timeline li { display: grid; grid-template-columns: minmax(6.5rem, auto) 1fr; gap: 24px; align-items: start; }
.timeline__year { font-family: var(--display); font-size: clamp(34px, 3.2vw, 46px); line-height: 1; font-weight: 900; color: var(--fg); }
.timeline p { color: var(--fg-2); font-size: 18px; padding-top: 6px; }

/* formats */
.formats { border-bottom: 1px solid var(--line); }
.marquee {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  padding-block: 18px;
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 36px;
  width: max-content;
  white-space: nowrap;
  font-family: var(--display);
  font-size: clamp(40px, 5vw, 76px);
  line-height: 1;
  text-transform: uppercase;
  font-weight: 900;
}
.marquee__track i { display: inline-block; width: 0.5em; height: 0.5em; background: var(--fg-3); flex: none; }
@media (prefers-reduced-motion: no-preference) {
  .marquee__track { animation: marquee 48s linear infinite; }
}
@keyframes marquee { to { transform: translateX(-50%); } }
.formats__grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(32px, 5vw, 96px);
  padding-block: var(--section);
}
.formats__text { display: flex; flex-direction: column; gap: 18px; max-width: 56ch; }
.formats__text p { color: var(--fg-2); font-size: 18px; }
.formats__text .h3, .formats__dates .h3 { margin-bottom: 6px; }
.dates { display: grid; gap: 14px; margin-top: 18px; }
.dates div { display: grid; grid-template-columns: 12ch 1fr; gap: 16px; align-items: baseline; }
.dates dt { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-3); font-variant-numeric: tabular-nums; }
.dates dd { font-family: var(--display); font-size: clamp(24px, 2.2vw, 32px); line-height: 1; text-transform: uppercase; font-weight: 800; }

/* rules: the one inverted block */
.rules { background: var(--inverse-bg); color: var(--inverse-fg); padding-block: var(--section); }
.rules ::selection { background: var(--inverse-fg); color: var(--inverse-bg); }
.rules__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 96px);
  align-items: end;
}
.rules__list { display: flex; flex-direction: column; }
.rules__list li {
  font-family: var(--display);
  font-size: clamp(36px, 5.6vw, 92px);
  line-height: 0.92;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: -0.005em;
}
.rules__text { display: flex; flex-direction: column; gap: 18px; max-width: 46ch; }
.rules__text .h3 { margin-bottom: 4px; }
.rules__text p { font-size: 18px; color: #2a2a2a; }

/* info */
.info { padding-block: var(--section); border-bottom: 1px solid var(--line); }
.info__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-family: var(--display);
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1;
  text-transform: uppercase;
  font-weight: 800;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 400;
  color: var(--fg-3);
  flex: none;
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 0 24px; max-width: 60ch; color: var(--fg-2); font-size: 17px; }
.faq p a { text-decoration: underline; text-underline-offset: 3px; }

/* footer */
.footer { padding-block: clamp(56px, 7vw, 100px) calc(40px + env(safe-area-inset-bottom, 0px)); }
.footer__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.footer__cols h2 { color: var(--fg-3); margin-bottom: 14px; }
.footer__cols p, .footer__cols li { color: var(--fg-2); font-size: 16px; line-height: 1.5; }
.footer__cols li + li { margin-top: 6px; }
.footer__cols a:hover, .footer__cols .textlink:hover { color: var(--fg); }
.footer__cols .textlink { text-decoration: none; }
.footer__line { margin-top: 48px; }

/* text buttons that look like links */
.textlink { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.textlink:hover { color: var(--fg); }
[hidden] { display: none !important; }

/* contact dialog */
.contact {
  width: min(100% - 32px, 680px);
  max-height: min(100svh - 32px, 920px);
  margin: auto;
  padding: 0;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--fg);
  overscroll-behavior: contain;
}
.contact::backdrop { background: rgba(0, 0, 0, 0.74); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
body:has(dialog[open]) { overflow: hidden; }
.contact__form, .contact__done { padding: clamp(22px, 4vw, 40px); display: flex; flex-direction: column; gap: 18px; }
.contact__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.contact__close { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line-strong); background: transparent; color: var(--fg); font-size: 24px; line-height: 1; cursor: pointer; }
.contact__close:hover { border-color: var(--fg); }
.contact__subjects { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.contact__subjects legend { width: 100%; margin-bottom: 10px; }
.contact__subjects label { position: relative; }
.contact__subjects input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.contact__subjects span { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid var(--line-strong); font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; transition: border-color 0.2s var(--ease); }
.contact__subjects span:hover { border-color: var(--fg); }
.contact__subjects input:checked + span { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.contact__subjects input:focus-visible + span { outline: 2px solid var(--fg); outline-offset: 2px; }
.contact__hint { color: var(--fg-2); font-size: 16px; max-width: 56ch; }
.contact__hint:empty { display: none; }
.contact__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.contact__row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px;
  background: var(--bg-2); border: 1px solid var(--line-strong); border-radius: 0; color: var(--fg);
  font: inherit; font-size: 16px; color-scheme: dark;
}
.field input::placeholder, .field textarea::placeholder { color: var(--fg-3); }
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M2 5l5 5 5-5' fill='none' stroke='%23ededed' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--fg); }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--fg); border-style: dashed; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--fg-2); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--fg); }
.check a { text-decoration: underline; text-underline-offset: 3px; }
.contact__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 4px; }
.contact__status { font-family: var(--mono); font-size: 13px; letter-spacing: 0.02em; color: var(--fg-2); max-width: 46ch; }
.contact__status:empty { display: none; }
.contact__status a { text-decoration: underline; text-underline-offset: 3px; color: var(--fg); }
.contact__done { align-items: flex-start; }
.contact__done p { color: var(--fg-2); max-width: 40ch; }
.contact__done-title { font-family: var(--display); font-size: clamp(64px, 10vw, 120px); line-height: 0.86; text-transform: uppercase; color: var(--fg) !important; }
@media (prefers-reduced-motion: no-preference) {
  .contact[open] { animation: hero-rise 0.4s var(--ease) both; }
}

/* legal pages */
.legal { padding-block: calc(var(--section) * 0.7) var(--section); border-bottom: 1px solid var(--line); }
.legal .h2 { margin-bottom: 10px; }
.legal__kicker { margin-bottom: clamp(32px, 4vw, 56px); }
.legal__body { max-width: 72ch; }
.legal h2 { font-family: var(--display); font-size: clamp(26px, 2.6vw, 36px); line-height: 0.95; text-transform: uppercase; margin: clamp(36px, 4vw, 56px) 0 14px; }
.legal p, .legal li, .legal dd { color: var(--fg-2); font-size: 17px; line-height: 1.55; }
.legal p + p { margin-top: 14px; }
.legal strong { color: var(--fg); font-weight: 600; }
.legal ul { padding-left: 18px; margin: 12px 0; }
.legal li + li { margin-top: 8px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; color: var(--fg); }
.legal dl { display: grid; grid-template-columns: minmax(10rem, 14rem) 1fr; gap: 12px 24px; margin: 18px 0; }
.legal dt { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-3); padding-top: 4px; }
.legal dd { color: var(--fg); }
.legal address { font-style: normal; }

/* responsive */
@media (max-width: 1100px) {
  .posters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: block; }
  .featured, .club__grid, .building__grid, .formats__grid, .rules__grid, .info__grid { grid-template-columns: minmax(0, 1fr); }
  .club__statement, .building__hall { position: static; }
  .featured__art { max-width: 520px; }
  .rules__grid { align-items: start; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .poster__chip { font-size: 10px; letter-spacing: 0.06em; padding: 0 7px; min-height: 24px; white-space: nowrap; }
  .posters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: 1fr; }
  .dates div { grid-template-columns: 9ch 1fr; }
  .timeline li { grid-template-columns: 1fr; gap: 6px; }
  .hero { min-height: clamp(560px, 88svh, 800px); }
  .hero__media img { object-position: 55% 30%; }
  .footer__cols { grid-template-columns: 1fr; }
  .grid-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .contact { width: 100%; max-width: 100%; max-height: 100svh; height: 100svh; margin: 0; border: 0; }
  .legal dl { grid-template-columns: 1fr; gap: 2px; }
  .legal dt { margin-top: 14px; }
  .contact__row, .contact__row--3 { grid-template-columns: 1fr; }
  .contact__actions .btn { width: 100%; }
}
@media (max-width: 420px) {
  .posters { grid-template-columns: 1fr 1fr; gap: 14px 10px; }
  .btn--lg { width: 100%; }
}

/* newsletter — double opt-in sign-up, posts to Klubtool (js/main.js) */
.newsletter { padding-block: var(--section); border-bottom: 1px solid var(--line); }
.newsletter__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.newsletter__lead { color: var(--fg-2); font-size: 17px; max-width: 40ch; margin-top: 18px; }
.newsletter__perks { margin-top: 32px; max-width: 40ch; }
.newsletter__perks-title { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg); }
.newsletter__perks-text { color: var(--fg-2); font-size: 15px; margin-top: 10px; }
.newsletter__perks ul { list-style: none; margin: 16px 0 0; padding: 0; border-top: 1px solid var(--line); }
.newsletter__perks li { padding: 12px 0; border-bottom: 1px solid var(--line); font-family: var(--display); font-size: 26px; line-height: 1; text-transform: uppercase; letter-spacing: 0.01em; }
.newsletter__form { display: flex; flex-direction: column; gap: 18px; }
.newsletter__done { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.newsletter__done-title { font-family: var(--display); font-size: clamp(44px, 6vw, 80px); line-height: 0.9; text-transform: uppercase; }
.newsletter__done-text { color: var(--fg-2); max-width: 44ch; font-size: 17px; }
@media (max-width: 900px) { .newsletter__grid { grid-template-columns: minmax(0, 1fr); } }

/* test view (?now=...): a bar nobody can miss */
.preview-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 20px; padding: 14px max(var(--gutter), env(safe-area-inset-right, 0px)) calc(14px + env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px)); background: #ffd400; color: #0b0b0b; font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em; text-align: center; }
.preview-bar a { color: #0b0b0b; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
