/* ==========================================================================
   HABevents - site stylesheet
   Brand source: assets/poster.png (black ground, white brush display, hot pink)

   Conventions used throughout, kept deliberately narrow:
   - One theme. The brand is black; the page is dark everywhere, never inverts.
   - One accent: --hot (#FF3FA4). No second accent anywhere on the site.
   - Two radii, by role: surfaces 6px, interactive pills 999px. Nothing else.
   - Motion only on transform/opacity, and all of it collapses under
     prefers-reduced-motion.
   ========================================================================== */

/* --------------------------------------------------------------- 1. Fonts */

@font-face {
  font-family: 'Clash Display';
  src: url('../fonts/clash-display-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Clash Display';
  src: url('../fonts/clash-display-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('../fonts/satoshi-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('../fonts/satoshi-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('../fonts/satoshi-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

/* -------------------------------------------------------------- 2. Tokens */

:root {
  --ink:        #09090b;   /* page ground, off-black not pure black */
  --ink-raise:  #121215;   /* raised surface */
  --ink-sink:   #050506;   /* recessed band */
  --paper:      #f4f4f5;
  --muted:      #a1a1aa;
  --muted-dim:  #71717a;
  --line:       rgba(255, 255, 255, .11);
  --line-loud:  rgba(255, 255, 255, .22);
  --hot:        #ff3fa4;
  --hot-sink:   rgba(255, 63, 164, .12);

  --r-surface: 6px;
  --r-pill: 999px;

  --shell: 1240px;
  --gutter: clamp(1.25rem, 5vw, 3.5rem);
  --section-y: clamp(4.5rem, 10vw, 8.5rem);
  --nav-h: 72px;

  --ease: cubic-bezier(.16, 1, .3, 1);

  color-scheme: dark;
}

/* --------------------------------------------------------------- 3. Reset */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: 'Satoshi', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; }

button { font: inherit; color: inherit; }

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

::selection { background: var(--hot); color: var(--ink); }

/* ----------------------------------------------------------- 4. Typography */

h1, h2, h3, h4 {
  font-family: 'Clash Display', 'Satoshi', sans-serif;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.02em;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(3rem, 1.4rem + 7vw, 6.5rem); text-transform: uppercase; }
h2 { font-size: clamp(2.1rem, 1.3rem + 3.2vw, 3.6rem); text-transform: uppercase; }
h3 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); }
h4 { font-size: 1.05rem; letter-spacing: -.01em; }

p { margin: 0 0 1.1em; max-width: 62ch; }
p:last-child { margin-bottom: 0; }

.lede {
  font-size: clamp(1.1rem, 1rem + .55vw, 1.35rem);
  line-height: 1.55;
  color: var(--paper);
}

.dim { color: var(--muted); }
.mt { margin-top: 1.1rem; }
.mt-lg { margin-top: 1.75rem; }
.narrow { max-width: 54ch; }

.eyebrow {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--hot);
  margin: 0 0 1.25rem;
  max-width: none;
}

.mark { color: var(--hot); }

/* Brush-underline echo of the poster's hand-drawn rule under "2026". */
.brushed {
  position: relative;
  display: inline-block;
  padding-bottom: .08em;
}
.brushed::after {
  content: "";
  position: absolute;
  left: -.02em; right: -.02em; bottom: 0;
  height: .085em;
  background: var(--hot);
  transform: skewY(-.7deg);
  border-radius: var(--r-pill);
}

/* ------------------------------------------------------------- 5. Layout */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--sink { background: var(--ink-sink); }
.section--ruled { border-top: 1px solid var(--line); }

.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head p { margin-top: 1.1rem; color: var(--muted); }

.skip {
  position: absolute;
  left: 1rem; top: -100%;
  z-index: 100;
  background: var(--hot);
  color: var(--ink);
  font-weight: 700;
  padding: .7rem 1.1rem;
  border-radius: var(--r-pill);
  transition: top .18s var(--ease);
}
.skip:focus { top: 1rem; }

/* ------------------------------------------------------------ 6. Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  white-space: nowrap;           /* a CTA label never wraps */
  padding: .95rem 1.7rem;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s var(--ease),
              border-color .18s var(--ease), color .18s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.985); }

/* pink ground + near-black label = 6.2:1, passes AA */
.btn--primary { background: var(--hot); color: var(--ink); }
.btn--primary:hover { background: #ff63b5; }

.btn--ghost { border-color: var(--line-loud); color: var(--paper); }
.btn--ghost:hover { border-color: var(--paper); background: rgba(255, 255, 255, .05); }

.btn--sm { padding: .68rem 1.25rem; font-size: .9rem; }

/* Takes the place of the ticket button once the event sells out. Still a link
   to Fienta, for resale and anything released later, just no longer pink-filled. */
.btn--soldout { border-color: var(--hot); color: var(--hot); }
.btn--soldout:hover { background: rgba(255, 63, 164, .1); }

/* The headline of the hero once tickets are gone: bigger than the event name,
   because it is the one thing a returning visitor needs to learn. */
.soldout {
  font-family: 'Clash Display', sans-serif; font-weight: 700; text-transform: uppercase;
  font-size: clamp(3.2rem, 7vw, 6.4rem); line-height: .88; letter-spacing: -.02em;
  white-space: nowrap;           /* one line, one shout */
  color: var(--hot); text-shadow: 0 0 60px rgba(255, 63, 164, .45);
  margin: -.4rem 0 0;
}
.soldout-note { margin: 1.1rem 0 1.8rem; font-size: 1rem; color: var(--muted); max-width: 40ch; }
.soldout-note strong { display: block; margin-top: .5rem; color: var(--paper); font-weight: 700; }

/* A rubber stamp across the poster, pressed rather than printed: the noise
   mask leaves gaps in the ink the way a real stamp does. */
.hero__poster--soldout img { filter: brightness(.62); }
.stamp {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%) rotate(-14deg);
  font-family: 'Clash Display', sans-serif; font-weight: 700; text-transform: uppercase;
  font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1; white-space: nowrap;
  color: var(--hot); border: .09em solid var(--hot); border-radius: .16em;
  padding: .1em .24em .04em;
  box-shadow: 0 0 0 .05em rgba(9, 9, 11, .6), 0 0 0 .1em var(--hot);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='3' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -1.8 1.75'/%3E%3C/filter%3E%3Crect width='600' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='3' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -1.8 1.75'/%3E%3C/filter%3E%3Crect width='600' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
  animation: stamp-slam .32s cubic-bezier(.55, 0, 1, .45) .7s both;
}
@keyframes stamp-slam {
  from { opacity: 0; transform: translate(-50%, -50%) rotate(-14deg) scale(2.6); }
  to   { opacity: 1; transform: translate(-50%, -50%) rotate(-14deg) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .stamp { animation: none; }
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  align-items: center;
}

/* Text link that reads as a link without being blue. */
.tlink {
  color: var(--paper);
  text-decoration: none;
  border-bottom: 1px solid var(--hot);
  padding-bottom: 1px;
  transition: color .18s var(--ease);
}
.tlink:hover { color: var(--hot); }

/* -------------------------------------------- 6b. Announcement bar */

/* Sits above the nav in normal flow rather than fixed to the top: it is the
   first thing on the page, then scrolls away and never eats screen height
   again. The nav goes on sticking by itself. */
/* Solid brand pink with dark type. Deliberately not a link: there is nothing
   to send anyone to yet, so no arrow, no hover state, no cursor change. */
.ann {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  /* it is a <p>, so the prose measure cap and the paragraph margin both apply
     to it until told otherwise */
  margin: 0;
  max-width: none;
  padding: .75rem 1.25rem;
  background: var(--hot);
  color: var(--ink);
  font-size: .88rem;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
}
.ann strong { font-weight: 700; }

.ann__dot {
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--ink);
}

@media (max-width: 560px) {
  .ann { font-size: .82rem; padding: .7rem 1rem; gap: .5rem; }
}

/* ----------------------------------------------------------- 7. Site nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(9, 9, 11, .82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.nav[data-stuck="true"] {
  border-bottom-color: var(--line);
  background: rgba(9, 9, 11, .94);
}

.nav__inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav__brand { display: flex; align-items: center; flex-shrink: 0; }
.nav__brand img { height: 19px; width: auto; }

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2rem);
  margin-left: auto;
}
.nav__links a {
  text-decoration: none;
  font-size: .95rem;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  transition: color .18s var(--ease);
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--paper); }

.nav__cta { flex-shrink: 0; }

.nav__toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-loud);
  border-radius: var(--r-pill);
  padding: .55rem 1rem;
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 900px) {
  .nav__toggle { display: block; }
  /* Hung off the nav itself, not the viewport. Fixed at var(--nav-h) assumed
     the bar was always at y=0, so with the announcement strip above it the
     open menu dropped over the bar instead of under it. */
  .nav__links {
    position: absolute;
    inset: 100% 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: .5rem var(--gutter) 1.5rem;
    background: var(--ink);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    visibility: hidden;
    transition: transform .3s var(--ease), visibility .3s;
  }
  .nav__links[data-open="true"] { transform: translateY(0); visibility: visible; }
  .nav__links a {
    padding: .95rem 0;
    font-size: 1.15rem;
    border-bottom: 1px solid var(--line);
  }
  /* Brand, language and menu share the bar on a phone. There is no ticket
     button while no edition is on sale; if one comes back, give it
     order: 2 and move the margin-left: auto onto it. */
  /* One rule for the button, not two: a later .nav .btn--sm further down used
     to put the padding straight back, which is why the Spanish bar ran 16px
     past the right edge. "Comprar entradas" is the longest label we have. */
  .nav__inner { gap: .35rem; }
  .nav__brand img { height: 14px; }
  .nav .btn--sm { padding: .62rem .8rem; font-size: .8rem; }
  .nav__toggle { padding-inline: .55rem; font-size: .8rem; }
  .nav__toggle { order: 3; margin-left: auto; }
}

/* --------------------------------------------------------------- 8. Hero */

.hero {
  position: relative;
  padding-top: clamp(2.5rem, 5vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}

/* Pink bloom lifted from the poster's neon, kept low and off-centre so the
   hero does not read as a centred gradient blob. */
.hero::before {
  content: "";
  position: absolute;
  top: -20%; right: -10%;
  width: min(760px, 85vw);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255, 63, 164, .17), transparent 62%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero__copy { max-width: 42ch; }
/* Sized against the column width, not the viewport: "INTERLEUVEN" is 11 wide
   characters and overflows into the poster at the global h1 scale. */
.hero h1 { font-size: clamp(2.5rem, 5.5vw, 4.75rem); margin-bottom: 1.5rem; }
.hero .lede { color: var(--muted); margin-bottom: 2rem; max-width: 34ch; }
.hero .lede strong { color: var(--paper); font-weight: 700; }

.hero__poster {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 420px;
  border-radius: var(--r-surface);
  overflow: hidden;
  border: 1px solid var(--line);
  transform: rotate(1.4deg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .65);
}
.hero__poster img { width: 100%; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { max-width: none; }
  .hero .lede { max-width: none; }
  .hero__poster { justify-self: start; max-width: 320px; transform: none; }
}

/* Partner logos sit on white, the way they were designed to be seen, rather
   than inverted or tinted to fit the dark page. */
.partners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.partner {
  margin: 0; background: #fff; border-radius: var(--r-surface);
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 16 / 9; padding: clamp(1.5rem, 3vw, 2.5rem);
}
.partner picture { display: contents; }
.partner img { max-width: 100%; max-height: 100%; width: auto; height: auto; }
@media (max-width: 700px) {
  .partners { grid-template-columns: 1fr; }
  .partner { aspect-ratio: 5 / 2; }
}

/* ---------------------------------------------------- 9. Key-facts strip */

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.facts__item {
  padding: 1.6rem clamp(1rem, 2vw, 1.75rem);
  border-left: 1px solid var(--line);
}
.facts__item:first-child { border-left: 0; padding-left: 0; }
.facts__key {
  display: block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted-dim);
  margin-bottom: .5rem;
}
.facts__val {
  font-family: 'Clash Display', sans-serif;
  font-weight: 600;
  font-size: clamp(1.05rem, .95rem + .35vw, 1.3rem);
  line-height: 1.15;
}
.facts__val small { display: block; font-size: .8rem; color: var(--muted); font-weight: 400; font-family: 'Satoshi', sans-serif; }

@media (max-width: 760px) {
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts__item { padding-inline: 0 1rem; border-left: 0; }
  .facts__item:nth-child(even) { border-left: 1px solid var(--line); padding-left: 1rem; }
  .facts__item:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Countdown sits inside the facts strip, so the urgency is a fact not a banner. */
.countdown { display: flex; gap: .85rem; }
.countdown__unit { display: flex; flex-direction: column; }
.countdown__num {
  font-family: 'Clash Display', sans-serif;
  font-weight: 700;
  font-size: clamp(1.3rem, 1.1rem + .6vw, 1.7rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--hot);
}
.countdown__lbl { font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dim); }

/* ------------------------------------------------------- 10. Marquee band */

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--ink-sink);
  padding-block: 1.05rem;
  user-select: none;
}
.marquee__track {
  display: flex;
  width: max-content;
  gap: 2.5rem;
  animation: slide 38s linear infinite;
}
.marquee__group {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  font-family: 'Clash Display', sans-serif;
  font-weight: 600;
  font-size: clamp(1rem, .9rem + .5vw, 1.35rem);
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee__x { color: var(--hot); }
@keyframes slide { to { transform: translateX(calc(-50% - 1.25rem)); } }

/* ---------------------------------------------------------- 11. Two floors */

.floors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-surface);
  overflow: hidden;
}
.floor {
  position: relative;
  padding: clamp(2rem, 4vw, 3.25rem);
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--ink-raise);
  isolation: isolate;
}
/* Floor 2 carries the real crowd photo from the poster, so the pair is not
   two identical text tiles. */
.floor--photo { background: var(--ink); }
.floor--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: image-set(url('../img/photos/dj-stage-blue-lg.webp') type('image/webp'),
                              url('../img/photos/dj-stage-blue-lg.jpg') type('image/jpeg'));
  background-size: cover;
  background-position: center;
  opacity: .5;
}
.floor--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(9, 9, 11, .95) 12%, rgba(9, 9, 11, .35));
}
.floor__n {
  font-family: 'Clash Display', sans-serif;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .2em;
  color: var(--hot);
  margin-bottom: auto;
}
.floor h3 { margin-bottom: .6rem; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); text-transform: uppercase; }
.floor p { color: var(--muted); margin: 0; }

@media (max-width: 760px) { .floors { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ 12. Line-up */

.lineup {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(.6rem, 1.5vw, 1rem);
}
.dj {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-surface);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--ink-raise);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 190px;
  overflow: hidden;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.dj:hover { border-color: var(--line-loud); transform: translateY(-3px); }
/* Two of the four tiles span a double column, so 4 DJs fill exactly 2 rows of
   3 with no empty cell, and the grid has rhythm instead of four clones. */
.dj--lead, .dj--wide { grid-column: auto; }   /* four equal cards, no spans */
.dj__name {
  font-family: 'Clash Display', sans-serif;
  font-weight: 700;
  overflow-wrap: anywhere;
  font-size: clamp(1.1rem, 1.6vw, 1.9rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -.02em;
}
.dj__from {
  margin-top: 1.25rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-dim);
}
.dj--lead .dj__from { color: var(--hot); }

@media (max-width: 860px) {
  .lineup { grid-template-columns: repeat(2, 1fr); }
  .dj { min-height: 150px; }
}

/* ------------------------------------------------------------- 14. Q & A */

.qa { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(2rem, 5vw, 4rem); align-items: start; }
.qa__col { display: flex; flex-direction: column; }

.q {
  border-bottom: 1px solid var(--line);
}
.q > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  list-style: none;
  transition: color .18s var(--ease);
}
.q > summary::-webkit-details-marker { display: none; }
.q > summary:hover { color: var(--hot); }
.q > summary::after {
  content: "";
  flex-shrink: 0;
  width: 11px; height: 11px;
  border-right: 2px solid var(--hot);
  border-bottom: 2px solid var(--hot);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .22s var(--ease);
}
.q[open] > summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.q__body { padding-bottom: 1.3rem; color: var(--muted); }
.q__body p { max-width: 58ch; }

@media (max-width: 760px) { .qa { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------- 15. Venue */

.venue { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.venue__map {
  border: 1px solid var(--line);
  border-radius: var(--r-surface);
  overflow: hidden;
  background: var(--ink-raise);
  aspect-ratio: 16 / 11;
}
/* The map is a self-hosted image, not an embed. It was an OpenStreetMap
   iframe, which meant every visitor's IP went to a third party before they had
   done anything. The tiles were fetched once, darkened to match the page and
   saved locally, so now the site loads nothing from anyone else. */
.mapshot { display: block; position: relative; height: 100%; text-decoration: none; }
.mapshot img { width: 100%; height: 100%; object-fit: cover; }
.mapshot__note {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: .45rem .7rem;
  background: linear-gradient(to top, rgba(9, 9, 11, .9), transparent);
  font-size: .65rem;
  color: var(--muted-dim);
}
.mapshot:hover .mapshot__note { color: var(--muted); }
.venue__addr {
  font-family: 'Clash Display', sans-serif;
  font-weight: 600;
  font-size: clamp(1.2rem, 1rem + .8vw, 1.6rem);
  line-height: 1.3;
  margin-block: 1.5rem;
}
.venue__cta { margin-top: 1.75rem; }
@media (max-width: 860px) { .venue { grid-template-columns: 1fr; } }

/* -------------------------------------------------------- 16. Feature band */

.band {
  position: relative;
  isolation: isolate;
  padding-block: clamp(4rem, 9vw, 7rem);
  border-block: 1px solid var(--line);
  overflow: hidden;
}
.band::before {
  content: "";
  position: absolute; inset: 0; z-index: -3;
  /* a real camera frame, not a still pulled from phone video: this band is
     full width, and the video source did not have the pixels for it */
  background-image: image-set(url('../img/photos/dj-booth-warm-lg.webp') type('image/webp'),
                              url('../img/photos/dj-booth-warm-lg.jpg') type('image/jpeg'));
  background-size: cover;
  background-position: center 35%;
  opacity: .45;
}
.band::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(9, 9, 11, .96) 30%, rgba(9, 9, 11, .55));
}
.band__inner { max-width: 60ch; }
.band h2 { margin-bottom: 1.25rem; }
.band p { color: var(--muted); margin-bottom: 2rem; }

/* ----------------------------------------------------------- 17. Editorial */

.prose { max-width: 70ch; }
/* When .prose is also the shell, keep the shell's width so the text column
   still starts on the page's left edge, and cap the measure per child. */
.shell.prose { max-width: var(--shell); }
.shell.prose > :not(.stat-row):not(.btn-row) { max-width: 70ch; }
.prose h2 { margin-top: 3.5rem; margin-bottom: 1.1rem; font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.1rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 2.25rem; margin-bottom: .6rem; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--paper); }
.prose ul, .prose ol { padding-left: 1.15rem; margin: 0 0 1.2em; }
.prose li { margin-bottom: .5em; max-width: 64ch; }
.prose li::marker { color: var(--hot); }

.page-head { padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: clamp(2rem, 4vw, 3rem); }
.page-head h1 { font-size: clamp(2.4rem, 1.6rem + 4vw, 4.5rem); margin-bottom: 1.2rem; }
.page-head p { color: var(--muted); font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); }

.meta-note {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: .9rem;
  color: var(--muted-dim);
}

/* Two-up cards used on About / Sponsors. Never three equal columns. */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.duo > * {
  border: 1px solid var(--line);
  border-radius: var(--r-surface);
  background: var(--ink-raise);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.duo h3 { margin-bottom: .6rem; }
.duo p { color: var(--muted); margin: 0; }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } }

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: clamp(1.5rem, 5vw, 3.5rem);
  justify-content: start;
  margin: 2.5rem 0 0;
}
.stat__n {
  font-family: 'Clash Display', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3.2rem);
  line-height: 1;
  color: var(--hot);
}
.stat__l { font-size: .85rem; color: var(--muted); margin-top: .4rem; max-width: 18ch; }
@media (max-width: 640px) { .stat-row { grid-template-columns: 1fr; gap: 1.5rem; } }

/* ------------------------------------------------------------ 18. Contact */

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--r-surface);
  background: var(--ink-raise);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.contact-card h3 { font-size: 1.15rem; }
.contact-card p { color: var(--muted); margin: 0; font-size: .95rem; }
.contact-card .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------- 19. Footer */

.footer {
  border-top: 1px solid var(--line);
  background: var(--ink-sink);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 3rem;
}
.footer__brand img { height: 22px; width: auto; margin-bottom: 1.1rem; }
.footer__brand p { color: var(--muted); font-size: .95rem; max-width: 32ch; }
.footer h4 {
  font-family: 'Satoshi', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted-dim);
  margin-bottom: 1.1rem;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .7rem; }
.footer li a {
  text-decoration: none;
  color: var(--muted);
  font-size: .95rem;
  transition: color .18s var(--ease);
}
.footer li a:hover { color: var(--hot); }
.footer__bottom {
  border-top: 1px solid var(--line);
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  font-size: .85rem;
  color: var(--muted-dim);
}
.footer__bottom a { color: var(--muted-dim); text-decoration: none; }
.footer__bottom a:hover { color: var(--paper); }
@media (max-width: 760px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: span 2; } }

/* ------------------------------------------------- 20. Video backgrounds */

/* A silent looping clip used as a background layer. It sits above the section's
   ::before poster image and below the ::after scrim, so if the video is blocked,
   still loading, or switched off for reduced motion, the poster shows instead
   and the section looks the same. */
.vbg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* A contained, framed video. Used where a full-bleed clip would be too loud. */
.vframe {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-surface);
  overflow: hidden;
  background: var(--ink-raise);
  aspect-ratio: 16 / 9;
}
.vframe video { width: 100%; height: 100%; object-fit: cover; display: block; }
.vframe__cap { margin-top: .9rem; font-size: .85rem; color: var(--muted-dim); }

@media (prefers-reduced-motion: reduce) {
  /* Still poster instead of a moving background. */
  .vmedia { display: none; }
}

/* ------------------------------------------------- 21. Past edition flyers */

.archive {
  display: grid;
  /* Fixed track count rather than auto-fit: there are five editions, and with
     only some of them added the flyers should stay the size they will end up,
     not stretch to fill the row. */
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(.75rem, 2vw, 1.25rem);
}
@media (max-width: 900px) { .archive { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .archive { grid-template-columns: repeat(2, 1fr); } }
.ed { margin: 0; }
.ed picture {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--r-surface);
  overflow: hidden;
  background: var(--ink-raise);
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.ed:hover picture { border-color: rgba(255, 63, 164, .45); transform: translateY(-4px); }
.ed img { width: 100%; height: auto; display: block; }
.ed__cap {
  margin-top: .7rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-dim);
}
.ed:hover .ed__cap { color: var(--hot); }


/* ----------------------------------------------------------- 22. Gallery */

/* Multi-column rather than a grid of square cells. Two reasons: it takes any
   number of photos without ever leaving a hole, and each photo keeps its own
   proportions instead of being cropped square, which matters because most of
   these are portrait. */
.gallery {
  columns: 3;
  column-gap: clamp(.6rem, 1.5vw, 1rem);
}
.gallery figure {
  break-inside: avoid;
  margin: 0 0 clamp(.6rem, 1.5vw, 1rem);
}
.gallery picture {
  display: block;
  border-radius: var(--r-surface);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink-raise);
  transition: border-color .25s var(--ease);
}
.gallery figure:hover picture { border-color: rgba(255, 63, 164, .45); }
.gallery img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .5s var(--ease);
}
.gallery figure:hover img { transform: scale(1.03); }

@media (max-width: 900px) { .gallery { columns: 2; } }
@media (max-width: 520px) { .gallery { columns: 1; } }
@media (prefers-reduced-motion: reduce) {
  .gallery figure:hover img { transform: none; }
}

/* -------------------------------------------------------------- 23. Motion */

/* Entry + scroll reveal. Elements start hidden ONLY when JS is present and
   motion is allowed, so a no-JS or reduced-motion visitor sees everything. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee__track { animation: none; transform: none; }
  .btn:hover, .dj:hover { transform: none; }
}

/* --------------------------------------------- 24. Video woven into sections */

/* Every clip on the site autoplays muted, loops and has no controls, so it
   reads as part of the page rather than as a player you operate. Nothing is
   fetched until it is near the viewport, and it pauses once it leaves, which
   is what keeps six videos on one page affordable.
   Muted is not a style choice: browsers refuse to autoplay anything else. */
.vmedia {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: var(--ink);
}

/* The clips are phone footage, so they are portrait. A full-width landscape
   band cropped away most of each frame and then upscaled the strip that was
   left: at 1024 CSS px on a 2x screen the band wanted 2048 real pixels from a
   1080-wide source. So the clip now sits in a portrait frame beside the copy,
   at roughly the size it is actually encoded, and stays sharp. */
.vband {
  position: relative;
  padding-block: clamp(3.5rem, 8vw, 6rem);
  border-block: 1px solid var(--line);
  overflow: hidden;
}
.vband__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
/* the measure cap belongs on the paragraph, not the column: at 42ch the display
   face breaks a four-word headline across four lines */
.vband__copy p { max-width: 42ch; }
.vband h2 { margin-bottom: 1rem; }
.vband p { color: var(--muted); margin: 0; }

.vband__media {
  position: relative;
  width: clamp(220px, 30vw, 340px);
  aspect-ratio: 9 / 16;
  border-radius: var(--r-surface);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink-raise);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
}
.vband__media .vmedia { position: absolute; inset: 0; }

@media (max-width: 760px) {
  .vband__inner { grid-template-columns: 1fr; justify-items: start; }
  .vband__media { width: min(320px, 100%); }
}

/* Clip filling a tile that already has its own text, e.g. a floor card. */
.vtile { position: absolute; inset: 0; z-index: -2; }

/* Framed clip, for the restrained layout. */
.vframe {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-surface);
  overflow: hidden;
  background: var(--ink-raise);
  aspect-ratio: 16 / 10;
}
.vframe .vmedia { position: absolute; inset: 0; }
.vframe__cap { margin-top: .9rem; font-size: .85rem; color: var(--muted-dim); }

/* Pair of clips side by side. */
.vduo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(.6rem, 1.5vw, 1rem); }
.vduo > * {
  position: relative;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  border-radius: var(--r-surface);
  overflow: hidden;
  background: var(--ink-raise);
}
@media (max-width: 640px) { .vduo { grid-template-columns: 1fr; } }

/* Reduced motion gets the poster frame and no movement at all. */
@media (prefers-reduced-motion: reduce) {
  .vmedia { display: none; }
  .vband, .vtile, .vframe, .vduo > * {
    background-size: cover;
    background-position: center;
  }
}

/* ------------------------------------------------- 25. Touch target sizes */

/* On a phone the footer links and the nav button were 19-35px tall, under the
   44px that a thumb reliably hits. Inline links inside a paragraph are left
   alone: WCAG exempts them, and padding them out would break the text flow. */
@media (max-width: 900px) and (pointer: coarse) {
  .footer li a {
    display: inline-block;
    padding-block: .55rem;
  }
  .footer__bottom a {
    display: inline-block;
    padding-block: .4rem;
  }
  /* min-height rather than more padding: the Spanish bar has no horizontal
     room left, and padding was landing these at 40px anyway */
  .nav .btn--sm, .nav__toggle, .lang__btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .clip { min-height: 44px; }
}

/* Tiles that carry a clip drop their still background: the video plus its own
   poster covers the same job, and keeping both meant loading two images. */
.floor--video::before, .v2-floor--video::before { display: none; }
.floor--video, .v2-floor--video { isolation: isolate; }
.vduo--stacked { margin-block: 1.75rem 1rem; }

/* Language switch. A menu rather than a single toggle, so both languages are
   visible and a visitor can see that Spanish exists without clicking to find
   out. Flags are local SVGs, not emoji: flag emoji do not render at all on
   Windows Chrome, which would show bare letters instead. */
.lang { position: relative; flex-shrink: 0; }

.lang__btn {
  display: flex;
  align-items: center;
  gap: .45rem;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: .45rem .7rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}
.lang__btn:hover { color: var(--paper); border-color: var(--line-loud); }
.lang__btn::after {
  content: "";
  width: 5px; height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px);
  transition: transform .2s var(--ease);
}
.lang__btn[aria-expanded="true"]::after { transform: rotate(225deg) translate(-1px, -1px); }

.flag {
  width: 18px;
  height: 12px;
  border-radius: 2px;
  display: block;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .18);
}

.lang__menu {
  position: absolute;
  top: calc(100% + .5rem);
  right: 0;
  z-index: 60;
  min-width: 152px;
  margin: 0;
  padding: .3rem;
  list-style: none;
  background: var(--ink-raise);
  border: 1px solid var(--line-loud);
  border-radius: var(--r-surface);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .16s var(--ease), transform .16s var(--ease), visibility .16s;
}
.lang__menu[data-open="true"] { opacity: 1; visibility: visible; transform: none; }

.lang__menu a {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .6rem .65rem;
  border-radius: 4px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .15s var(--ease), color .15s var(--ease);
}
.lang__menu a:hover { background: rgba(255, 255, 255, .06); color: var(--paper); }
.lang__menu a[aria-current="true"] { color: var(--paper); }
.lang__menu a[aria-current="true"]::after {
  content: "";
  margin-left: auto;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--hot);
}

@media (max-width: 900px) {
  /* sits between the ticket button and the menu toggle, so keep it tight */
  .lang__btn { padding: .55rem .5rem; }
  .lang__btn span { display: none; }
  .lang__menu { right: 0; }
}
@media (max-width: 900px) and (pointer: coarse) { .lang__btn { padding-block: .72rem; } }
@media (prefers-reduced-motion: reduce) {
  .lang__menu { transition: none; }
}

/* ------------------------------------------ 26. Flag behind the DJ on hover */

/* The DJ's flag fades in behind the name, under a frosted panel so the type
   stays readable over it. The flag is set per tile with --flag. */
.dj, .v2-dj, .v3-row { position: relative; overflow: hidden; isolation: isolate; }
.dj > *, .v2-dj > *, .v3-row > * { position: relative; z-index: 2; }

.dj__flag {
  position: absolute;
  inset: -8%;
  z-index: 0;
  background-image: var(--flag);
  background-size: cover;
  background-position: center;
  /* Visible at rest, just enough to read as a country, and it comes forward
     on hover. The glass above it stays on permanently, so the names never sit
     directly on flag colour. */
  opacity: .22;
  transform: scale(1.06);
  transition: opacity .4s var(--ease), transform .6s var(--ease);
  pointer-events: none;
}

/* The glass sits above the flag and below the text. backdrop-filter blurs what
   is painted behind it in this stacking context, which is exactly the flag. */
.dj__glass {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 1;
  pointer-events: none;
  /* 16px of blur turned Spain's red-yellow-red into one flat mustard. Enough
     blur to sit type on, little enough that the flag is still a flag. */
  backdrop-filter: blur(7px) saturate(115%) brightness(.55);
  -webkit-backdrop-filter: blur(7px) saturate(115%) brightness(.55);
  background: linear-gradient(135deg, rgba(9, 9, 11, .34), rgba(9, 9, 11, .5));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16),
              inset 0 0 0 1px rgba(255, 255, 255, .06);
  transition: opacity .4s var(--ease);
}

.dj:hover .dj__flag, .dj:focus-within .dj__flag,
.v2-dj:hover .dj__flag, .v2-dj:focus-within .dj__flag,
.v3-row:hover .dj__flag, .v3-row:focus-within .dj__flag {
  opacity: .8;
  transform: scale(1);
}


/* The pink wash on the lead tile would fight the flag, so it steps aside. */
.dj--lead:hover { background: transparent; }
.v3-row:hover { background: transparent; }

/* A touch screen has no hover, so show a hint of the flag permanently. */
@media (hover: none) {
  /* no hover on a touch screen, so settle between the two states */
  .dj__flag { opacity: .4; transform: scale(1); }
}

/* Blur is a decoration, not the readability mechanism: without it the panel
   becomes a solid tint so the names never sit on raw flag colour. */
@media (prefers-reduced-transparency: reduce) {
  .dj__glass {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(9, 9, 11, .8);
  }
}
@media (prefers-reduced-motion: reduce) {
  .dj__flag { transition: none; transform: none; }
  .dj__glass { transition: none; }
}

/* Per-DJ flag, set as a class so no inline styles are needed. */
.flag-es { --flag: url('../img/flag-es.svg'); }
.flag-tr { --flag: url('../img/flag-tr.svg'); }
.flag-eg { --flag: url('../img/flag-eg.svg'); }

/* ------------------------------------------------------- 27. Follow strip */

/* A reason to follow rather than an embedded feed. The gallery already shows
   the photos at better quality than Instagram serves them, so what is actually
   missing is the thing Instagram has that this site cannot: the sale time. */
.follow {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(1.75rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(1.75rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: var(--r-surface);
  background: var(--ink-raise);
}
.follow h2 { margin-bottom: 1rem; }
.follow p { color: var(--muted); margin-bottom: 1.75rem; }

.follow__handle {
  display: block;
  font-family: 'Clash Display', sans-serif;
  font-weight: 700;
  font-size: clamp(1.4rem, 1rem + 2vw, 2.4rem);
  color: var(--hot);
  letter-spacing: -.02em;
  margin-bottom: 1.25rem;
}

.follow__why { list-style: none; margin: 0; padding: 0; }
.follow__why li {
  padding: .8rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .95rem;
}
.follow__why li:last-child { border-bottom: 1px solid var(--line); }

@media (max-width: 800px) { .follow { grid-template-columns: 1fr; } }

/* ------------------------------------------------------ 28. Sound control */

/* The aftermovie is an edit with music, not background texture, so its sound
   has to be reachable. Autoplay only works muted, so it starts silent and this
   turns it on: no click needed to watch, one click to hear. */
.vband__media { position: relative; }
.sound {
  position: absolute;
  right: .7rem;
  bottom: .7rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  /* deliberately large for a corner control: on a laptop the earlier small
     version was easy to miss entirely, which reads as "the video has no sound" */
  padding: .7rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: var(--r-pill);
  background: rgba(9, 9, 11, .72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--paper);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .18s var(--ease), border-color .18s var(--ease);
}
.sound::before {
  content: "";
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--hot);
  flex-shrink: 0;
}
.sound[aria-pressed="true"]::before { background: var(--paper); }
.sound:hover { background: rgba(9, 9, 11, .95); border-color: var(--paper); }
.sound[aria-pressed="true"] { border-color: var(--hot); color: var(--hot); }

/* ------------------------------------------------------------ 24. Photos page */

/* Full-bleed hero: the night's crowd shots crossfading under the headline.
   The photos are portrait, so they are cropped from the middle. */
.ph-hero {
  position: relative;
  min-height: max(480px, calc(88svh - var(--nav-h)));   /* leaves room for the announcement bar */
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.ph-hero__slides { position: absolute; inset: 0; z-index: -1; }
.ph-hero__slides img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 40%;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.4s ease, transform 7s linear;
}
.ph-hero__slides img.is-on { opacity: 1; transform: scale(1); }
.ph-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(9,9,11,.15) 0%, rgba(9,9,11,.4) 55%, var(--ink) 100%);
}
.ph-hero__copy { padding-block: clamp(3rem, 9vh, 6rem); }
.ph-hero h1 { font-size: clamp(3rem, 1rem + 9vw, 8.5rem); margin-bottom: 1.6rem; }
.ph-stats { display: flex; flex-wrap: wrap; gap: 1rem 2.4rem; margin: 0; }
.ph-stats dt { font-family: 'Clash Display', sans-serif; font-weight: 700; font-size: 1.6rem; }
.ph-stats dd { margin: 0; color: var(--muted); font-size: .95rem; }

.ph-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem; }

/* An even grid rather than masonry, so the collapsed wall can stop on a whole
   row: three rows of four on desktop, four rows of three or two below. The
   three landscape frames are cropped here and shown whole in the lightbox. */
.ph-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; }
.ph-tile {
  display: block; aspect-ratio: 2 / 3;
  border-radius: var(--r-surface); overflow: hidden;
  background: var(--ink-raise); cursor: zoom-in;
}
.ph-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.ph-tile:hover img { transform: scale(1.03); }
.ph-wall[data-collapsed] .ph-tile:nth-child(n+13) { display: none; }
.ph-more { display: flex; justify-content: center; margin-top: 2rem; }
.ph-more[hidden] { display: none; }
@media (max-width: 900px) { .ph-wall { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) {
  .ph-wall { grid-template-columns: repeat(2, 1fr); gap: .4rem; }
  .ph-wall[data-collapsed] .ph-tile:nth-child(n+9) { display: none; }
}

.ph-lb {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  background: rgba(5, 5, 6, .96);
}
.ph-lb[hidden] { display: none; }
.ph-lb__img { max-width: 94vw; max-height: calc(100svh - 9rem); border-radius: var(--r-surface); }
.ph-lb__btn {
  position: absolute; background: none; border: 0; color: var(--paper);
  font-size: 2.2rem; line-height: 1; padding: 1rem 1.2rem; cursor: pointer;
}
.ph-lb__btn:hover { color: var(--hot); }
.ph-lb__close { top: .4rem; right: .4rem; }
.ph-lb__prev { left: .2rem; top: 50%; transform: translateY(-50%); }
.ph-lb__next { right: .2rem; top: 50%; transform: translateY(-50%); }
.ph-lb__bar {
  position: absolute; left: 0; right: 0; bottom: 1.2rem;
  display: flex; justify-content: center; align-items: center; gap: 1.2rem;
}
.ph-lb__meta { color: var(--muted); font-size: .85rem; letter-spacing: .06em; }

@media (prefers-reduced-motion: reduce) {
  .ph-hero__slides img { transition: none; transform: none; }
  .ph-tile:hover img { transform: none; }
}
