/* ==========================================================================
   Village Underground Barcelona
   Dark / industrial. No build step — plain CSS.
   ========================================================================== */

/* Fonts (self-hosted, no third-party requests) ----------------------------- */
@font-face {
  font-family: "Archivo VU";
  src: url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo VU";
  src: url("../fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Mono VU";
  src: url("../fonts/jetbrains-mono-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2191, U+2193;
}
@font-face {
  font-family: "Mono VU";
  src: url("../fonts/jetbrains-mono-latin-ext-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+A720-A7FF;
}

/* Tokens ------------------------------------------------------------------- */
:root {
  color-scheme: dark;

  /* Base colours (Panel → Site → Design can override these) */
  --bg: #0c0c0b;
  --ink: #ecebe5;
  --ink-strong: #fff;
  --accent: #ffe500;
  --accent-ink: #0c0c0b;
  /* Everything else is calculated from the base colours */
  --bg-2: color-mix(in srgb, var(--ink) 4%, var(--bg));
  --bg-3: color-mix(in srgb, var(--ink) 8%, var(--bg));
  --line: color-mix(in srgb, var(--ink) 13%, var(--bg));
  --line-2: color-mix(in srgb, var(--ink) 22%, var(--bg));
  --ink-2: color-mix(in srgb, var(--ink) 66%, var(--bg));
  --ink-3: color-mix(in srgb, var(--ink) 44%, var(--bg));
  --accent-text: var(--accent);   /* accent used for small text on the page background */
  --focus: var(--accent);
  --topbar-bg: color-mix(in srgb, var(--bg) 97%, transparent);
  --error: #ff6a5a;
  --display-stretch: 62%;         /* headline width: 62% = condensed, 100% = regular */
  --plate: #e6e4dc;
  --metro: #d8261c;

  --sans: "Archivo VU", "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "Mono VU", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1480px;
  --bar: 104px;
  --ease: cubic-bezier(.2, .7, 0, 1);

  --hazard: repeating-linear-gradient(-45deg, var(--accent) 0 10px, var(--bg) 10px 20px);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Light theme (white background) */
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #ffffff;
  --ink: #141413;
  --ink-strong: #000;
  --accent-text: color-mix(in srgb, var(--accent) 45%, #000);
  --focus: #141413;
  --error: #c3261a;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--bar) + 16px);
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-stretch: 100%;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  background-image: var(--grain);
  opacity: .055;
  mix-blend-mode: overlay;
}
body.is-locked { overflow: hidden; }

main { flex: 1 0 auto; }

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

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--accent-text); }

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

button { font: inherit; color: inherit; }

h1, h2, h3, h4 { margin: 0; font-weight: 800; }

address { font-style: normal; }

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

.sr, .hp {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.hp { left: -9999px; }

.skip {
  position: fixed;
  top: 8px; left: 8px;
  z-index: 200;
  padding: 10px 14px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--mono);
  font-size: .8rem;
  text-decoration: none;
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

.eyebrow {
  margin: 0;
  font-family: var(--mono);
  font-size: .75rem;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.eyebrow span { color: var(--accent-text); }

/* Display type helper */
.pagehead__title,
.cta__title,
.newsletter__title,
.menu__label,
.modal__title,
.metro__title,
.footer__nav a,
.prose h2,
.prose h3 {
  font-stretch: var(--display-stretch);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.005em;
  line-height: .86;
}

/* Wordmark (shown when no logo file is uploaded) --------------------------- */
.wordmark {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: .28em;
  font-stretch: var(--display-stretch);
  font-weight: 850;
  text-transform: uppercase;
  line-height: .85;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.wordmark small {
  font-family: var(--mono);
  font-size: .42em;
  font-weight: 400;
  letter-spacing: .22em;
  color: var(--accent-text);
}

.logo--header.wordmark { font-size: 1.45rem; }
/* Header logo size. "Barcelona" scales with it (size, gap and baseline). */
.topbar__logo { --logo-h: 58px; gap: calc(var(--logo-h) * .2); }
.logo--header:is(img) { height: var(--logo-h); width: auto; }
.topbar__city {
  align-self: flex-end;
  /* puts the baseline exactly on the baseline of "Underground" in the logo */
  margin-bottom: calc(var(--logo-h) * .0815);
  color: var(--ink-strong);
  font-size: calc(var(--logo-h) * .306);
  font-stretch: 100%;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.01em;
  white-space: nowrap;
}

.logo--footer.wordmark { font-size: 2.2rem; flex-direction: column; align-items: flex-start; }
.logo--footer.wordmark small { margin-top: .5em; font-size: .3em; }
.logo--footer:is(img) { height: 66px; width: auto; }

.logo--hero.wordmark {
  flex-direction: column;
  align-items: center;
  font-size: clamp(3.6rem, 15.5vw, 15rem);
  line-height: .8;
}
.logo--hero.wordmark small { margin-top: .6em; font-size: max(.75rem, .12em); letter-spacing: .5em; }
.logo--hero:is(img) {
  width: min(78vw, 920px);
  max-height: 46vh;
  object-fit: contain;
  margin-inline: auto;
}

/* Buttons ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 18px 12px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--sans);
  font-size: 1rem;
  font-stretch: 75%;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease); }
.btn:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn:hover svg { transform: translateX(4px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); }
.btn--big { padding: 20px 24px 18px; font-size: clamp(1.1rem, 2vw, 1.4rem); min-width: min(100%, 300px); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: progress; }

.iconbtn, .iconlink {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}
.iconbtn svg, .iconlink svg { width: 20px; height: 20px; }
.iconbtn:hover, .iconlink:hover { border-color: var(--accent-text); color: var(--accent-text); }

.linkbtn {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: left;
}

/* Top bar ------------------------------------------------------------------ */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 110; /* above the grain texture (body::before) so text stays crisp */
  height: var(--bar);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-inline: var(--gutter);
  /* solid background (no blur effect) keeps the text sharp */
  background: var(--topbar-bg);
  border-bottom: 1px solid var(--line);
  transition: background .3s, border-color .3s;
}
.topbar--over:not(.is-scrolled) {
  background: transparent;
  border-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.topbar--over:not(.is-scrolled) .topbar__logo { opacity: 0; pointer-events: none; }
.menu-open .topbar { background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.menu-open .topbar__logo { opacity: 1 !important; pointer-events: auto !important; }

.topbar__logo { display: flex; align-items: center; text-decoration: none; color: var(--ink); transition: opacity .3s; min-width: 0; }
.topbar__logo:hover { color: var(--ink); }

.topbar__tools { display: flex; align-items: center; gap: 10px; }
.topbar .iconlink { border-color: transparent; width: 52px; height: 52px; color: var(--ink-strong); }
.topbar .iconlink svg { width: 26px; height: 26px; }

.langs { display: flex; font-family: var(--sans); font-size: 1.125rem; font-weight: 700; font-stretch: 100%; letter-spacing: .04em; }
.langs a {
  display: grid;
  place-items: center;
  min-width: 46px;
  height: 52px;
  text-decoration: none;
  color: color-mix(in srgb, var(--ink) 72%, var(--bg));
}
.langs a[aria-current] { color: var(--ink-strong); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 8px; }
.langs a:hover { color: var(--accent-text); }

.burger {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: 52px;
  padding: 0 20px;
  border: 1px solid color-mix(in srgb, var(--ink) 35%, var(--bg));
  background: var(--bg);
  color: var(--ink-strong);
  cursor: pointer;
  font-family: var(--sans);
  font-size: 1.125rem;
  font-weight: 700;
  font-stretch: 100%;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.burger:hover { border-color: var(--accent-text); }
.burger__lines { position: relative; width: 28px; height: 14px; }
.burger__lines i {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: currentColor;
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.burger__lines i:first-child { top: 0; }
.burger__lines i:last-child { top: 12px; }
.burger[aria-expanded="true"] .burger__lines i:first-child { top: 6px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__lines i:last-child { top: 6px; transform: rotate(-45deg); }

@media (max-width: 520px) {
  :root { --bar: 76px; }
  .burger__label { display: none; }
  .burger { padding: 0 11px; height: 46px; }
  .langs { font-size: 1rem; letter-spacing: .02em; }
  .langs a { min-width: 30px; height: 46px; }
  .topbar__tools { gap: 4px; }
  .logo--header.wordmark { font-size: 1.15rem; }
  .logo--header.wordmark small { display: none; }
  .topbar__logo { --logo-h: 40px; }
  .topbar .iconlink { display: none; }
}
@media (max-width: 380px) {
  .topbar__logo { --logo-h: 36px; }
  .topbar__tools { gap: 2px; }
}

/* Full-screen menu --------------------------------------------------------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: 105;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: calc(var(--bar) + 4vh) var(--gutter) 32px;
  overflow-y: auto;
  background: var(--bg);
  clip-path: inset(0 0 100% 0);
  transition: clip-path .55s var(--ease);
}
.menu[hidden] { display: flex; visibility: hidden; }
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; }

.menu__nav ol { list-style: none; margin: 0; padding: 0; }
.menu__nav li { border-bottom: 1px solid var(--line); }
.menu__nav a {
  display: flex;
  align-items: baseline;
  gap: clamp(12px, 3vw, 40px);
  padding: .12em 0 .06em;
  text-decoration: none;
  color: var(--ink);
  font-size: clamp(1.4rem, min(6.25vw, 8.5vh), 5rem); /* fits all items on screen, also on short laptop screens */
  transform: translateY(30%);
  opacity: 0;
  transition: transform .6s var(--ease), opacity .6s var(--ease), color .2s;
}
.menu.is-open .menu__nav a { transform: none; opacity: 1; }
.menu.is-open li:nth-child(2) a { transition-delay: .05s, .05s, 0s; }
.menu.is-open li:nth-child(3) a { transition-delay: .1s, .1s, 0s; }
.menu.is-open li:nth-child(4) a { transition-delay: .15s, .15s, 0s; }
.menu.is-open li:nth-child(5) a { transition-delay: .2s, .2s, 0s; }
.menu__nav a:hover, .menu__nav a[aria-current] { color: var(--accent-text); }
.menu__nav a:hover .menu__label { transform: translateX(.08em); }
.menu__label { display: inline-block; transition: transform .35s var(--ease); }
.menu__num { font-family: var(--mono); font-size: max(.8rem, .28em); color: var(--accent-text); letter-spacing: .08em; transform: translateY(-.35em); }

.menu__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 48px;
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink);
}
.menu__meta p { margin: 0; }

/* Hero (home) -------------------------------------------------------------- */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 520px;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 50% 110%, rgba(255, 229, 0, .12), transparent 60%),
    var(--bg);
}
.hero__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(12, 12, 11, .55) 0%, transparent 22%, transparent 70%, var(--bg) 100%),
    rgba(0, 0, 0, var(--dim, .35));
}
.hero__grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--grain);
  opacity: .12;
  mix-blend-mode: overlay;
}
.hero__content {
  padding: calc(var(--bar) + 20px) var(--gutter) 80px;
  text-align: center;
  animation: rise 1.1s var(--ease) both;
}
.hero__logo { margin: 0; font-size: inherit; line-height: 1; }
.hero__tagline {
  margin: 32px auto 0;
  /* letter-spacing adds space after the last letter; this balances it so the text is truly centred */
  padding-left: .22em;
  max-width: 44ch;
  font-family: var(--sans);
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  font-weight: 700;
  font-stretch: 100%;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-strong);
}
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  width: 1px;
  height: 56px;
  background: var(--line-2);
  overflow: hidden;
}
.hero__scroll span {
  position: absolute;
  inset: 0;
  background: var(--accent);
  animation: drip 2.2s var(--ease) infinite;
}

@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes drip { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* Home bottom: newsletter + funding --------------------------------------- */
.home-bottom { padding-block: clamp(56px, 10vw, 120px) clamp(40px, 6vw, 72px); }
.home-bottom__fund { margin-top: clamp(48px, 8vw, 96px); padding-top: 28px; border-top: 1px solid var(--line); }

.newsletter {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .newsletter { grid-template-columns: 5fr 6fr; gap: 64px; align-items: end; }
}
.newsletter__title { font-size: clamp(2.2rem, 5.5vw, 4.5rem); }
.newsletter__head p { margin: 18px 0 0; color: var(--ink-2); max-width: 46ch; }
.newsletter__row { display: flex; gap: 0; border: 1px solid var(--line-2); }
.newsletter__row .field { flex: 1; margin: 0; }
.newsletter__row input {
  border: 0 !important;
  height: 100%;
  font-size: 1.1rem;
}
.newsletter__row .btn { border-width: 0; }
.newsletter .check { margin-top: 16px; }

/* Funding ------------------------------------------------------------------ */
.funding { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.funding__label {
  margin: 0;
  font-family: var(--mono);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.funding__logos { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; margin: 0; padding: 0; list-style: none; }
.funding__logos li { display: flex; align-items: center; }
.funding__logos a { display: flex; align-items: center; color: inherit; text-decoration: none; transition: opacity .2s; }
.funding__logos a:hover { opacity: .75; }
/* White logos: "screen" makes any black background in the file disappear */
.funding__logos img { height: 38px; width: auto; max-width: 260px; object-fit: contain; mix-blend-mode: screen; }
.funding__name { font-size: .78rem; font-weight: 700; font-stretch: 85%; line-height: 1.15; max-width: 22ch; color: var(--ink); }

/* Page heads --------------------------------------------------------------- */
.page { padding-top: var(--bar); padding-bottom: clamp(64px, 10vw, 140px); }

.pagehead {
  padding-top: clamp(32px, 6vw, 88px);
  padding-bottom: clamp(24px, 3vw, 40px);
  margin-bottom: clamp(28px, 4.5vw, 56px);
  border-bottom: 1px solid var(--line);
}
.pagehead__title {
  margin-top: 18px;
  font-size: clamp(2.8rem, min(9vw, 15vh), 8.5rem);
  /* Long titles wrap onto a second line between words, never inside a word */
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: balance;
}
.pagehead__lead {
  margin: clamp(20px, 3vw, 32px) 0 0;
  max-width: 34ch;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  font-weight: 500;
  font-stretch: 85%;
  line-height: 1.18;
}

/* Rich text ---------------------------------------------------------------- */
.prose { max-width: 70ch; font-size: clamp(1.05rem, 1.3vw, 1.2rem); }
.prose > :first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1em; }
.prose h2 { margin: 1.8em 0 .5em; font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.prose h3 { margin: 1.6em 0 .5em; font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.prose h4, .prose h5, .prose h6 { margin: 1.6em 0 .4em; font-family: var(--mono); font-weight: 400; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); }
.prose a { color: var(--ink); text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.prose a:hover { color: var(--accent-text); }
.prose ul { list-style: none; padding: 0; }
.prose ul li { position: relative; padding-left: 1.6em; margin-bottom: .35em; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .78em; width: .9em; height: 2px; background: var(--accent); }
.prose ol { padding-left: 1.4em; }
.prose ol li::marker { font-family: var(--mono); color: var(--accent-text); }
.prose blockquote {
  margin: 1.6em 0;
  padding: 0 0 0 1em;
  border-left: 3px solid var(--accent);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-stretch: 80%;
  font-weight: 600;
  line-height: 1.15;
}
.prose blockquote footer { margin-top: .6em; font-family: var(--mono); font-size: .8rem; font-weight: 400; color: var(--ink-2); }
.prose figure { margin: 2em 0; }
.prose figure img { width: 100%; }
.prose figcaption { margin-top: 8px; font-family: var(--mono); font-size: .75rem; color: var(--ink-2); }
.prose ul.gallery, .prose figure ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; padding: 0; }
.prose figure ul li { padding: 0; margin: 0; }
.prose figure ul li::before { content: none; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose strong { font-weight: 700; }

@media (min-width: 1000px) {
  .prose--cols { margin-left: 33.333%; }
}
.prose--intro { margin-bottom: clamp(32px, 5vw, 56px); }
.prose--narrow { max-width: 74ch; }
/* Legal texts (privacy policy): calmer headings */
.prose--narrow h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-top: 2em; }
.prose--narrow h3 { margin: 1.6em 0 .5em; font-size: 1.2rem; font-stretch: 100%; font-weight: 700; line-height: 1.3; text-transform: none; letter-spacing: 0; }
.prose--narrow { font-size: 1.02rem; }

/* About page: text + image side by side ------------------------------------- */
.about { display: grid; gap: clamp(32px, 5vw, 64px); }
.about__image { margin: 0; }
/* "lighten" lets an image with a black background melt into the dark page */
.about__image img { width: 100%; height: auto; mix-blend-mode: lighten; filter: brightness(.9) contrast(1.15); }
@media (min-width: 1000px) {
  .about--with-image { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: start; }
  .about__image { position: sticky; top: calc(var(--bar) + 32px); }
}
@media (min-width: 1000px) { .about:not(.about--with-image) .prose { margin-left: 33.333%; } }

/* Embeds (blocked until cookie consent) ----------------------------------- */
.embed { position: relative; }
.embed > template { display: none; }
.embed__placeholder {
  position: relative;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 20px;
  min-height: 320px;
  padding: 40px 24px;
  border: 1px solid var(--line-2);
  text-align: center;
  background:
    repeating-linear-gradient(-45deg, transparent 0 14px, color-mix(in srgb, var(--ink) 4%, transparent) 14px 28px),
    var(--bg-2);
}
.embed__placeholder::before, .embed__placeholder::after {
  content: "";
  position: absolute;
  width: 18px; height: 18px;
  border: 2px solid var(--accent);
}
.embed__placeholder::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.embed__placeholder::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.embed__placeholder p { margin: 0; max-width: 46ch; font-family: var(--mono); font-size: .82rem; line-height: 1.6; color: var(--ink-2); }
.embed.is-loaded .embed__placeholder { display: none; }
.embed__target:empty { display: none; }

.embed--dice .embed__placeholder { min-height: 440px; }
.embed--dice .embed__target { min-height: 200px; }

.embed--map { height: 100%; }
.embed--map .embed__placeholder { height: 100%; min-height: 380px; }
.embed--map .embed__target { height: 100%; min-height: 380px; border: 1px solid var(--line-2); }
.embed--map iframe {
  width: 100% !important;
  height: 100% !important;
  min-height: 380px;
  border: 0;
  filter: grayscale(1) invert(.92) contrast(.88) brightness(.95);
}

.embed--brevo .embed__placeholder { min-height: 220px; }

/* Program ------------------------------------------------------------------ */
.program { margin-bottom: clamp(56px, 8vw, 110px); }

/* Program tabs: Music | Other ---------------------------------------------- */
.subnav {
  display: flex;
  gap: 6px;
  margin: calc(clamp(32px, 6vw, 72px) * -0.5) 0 clamp(32px, 5vw, 56px);
}
.subnav a {
  padding: 12px 22px 11px;
  border: 1px solid var(--line-2);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-stretch: 75%;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-2);
  transition: color .2s, border-color .2s, background .2s;
}
.subnav a:hover { color: var(--ink); border-color: var(--ink-3); }
.subnav a[aria-current] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

/* Other events list ---------------------------------------------------------- */
.events { border-top: 1px solid var(--line); }
.event {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.event__desc,
.event__actions { grid-column: 1 / -1; }
@media (min-width: 760px) {
  .event { grid-template-columns: 160px minmax(0, 1fr) auto; gap: 24px 32px; padding: 28px 0; align-items: start; }
  .event__desc { grid-column: 2; }
  .event__actions { grid-column: 3; grid-row: 1; }
  .event__media { grid-row: span 2; }
}
@media (min-width: 1100px) {
  /* image · name + artist · description · tickets */
  .event { grid-template-columns: 180px minmax(0, 1.1fr) minmax(0, 1fr) auto; }
  .event__desc { grid-column: 3; grid-row: 1; padding-top: 26px; }
  .event__actions { grid-column: 4; }
}
.event__artist { margin: 10px 0 0; color: var(--ink-strong); font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 700; font-stretch: 100%; line-height: 1.2; }
.event__artist--big { margin: -12px 0 28px; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.event__media { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-2); }
.event__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.event:hover .event__media img { transform: scale(1.03); }
.event__noimg { display: grid; place-items: center; height: 100%; font-size: 3.5rem; font-weight: 800; font-stretch: var(--display-stretch); color: var(--line-2); border: 1px solid var(--line-2); }
.event__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0 0 10px; font-family: var(--mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.event__meta time { color: var(--accent-text); }
.event__cat { padding-left: 14px; border-left: 1px solid var(--line-2); }
.event__title { margin: 0; font-size: clamp(1.6rem, 3.4vw, 2.6rem); font-stretch: var(--display-stretch); font-weight: 800; line-height: .95; text-transform: uppercase; }
.event__title a { text-decoration: none; }
.event__excerpt { margin: 0; max-width: 60ch; color: var(--ink-2); font-size: .95rem; }
.event__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
@media (min-width: 760px) {
  .event__actions { flex-direction: column; align-items: flex-end; text-align: right; }
}
.event__price { font-size: 1.1rem; font-weight: 600; }
.event__more { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.events__empty { padding: 48px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: .85rem; color: var(--ink-2); }
.btn--disabled { background: transparent; border-color: var(--line-2); color: var(--ink-2); cursor: default; }
.btn--disabled:hover { background: transparent; border-color: var(--line-2); color: var(--ink-2); }

/* Single event page ----------------------------------------------------------- */
.backlink { display: inline-flex; align-items: center; gap: 10px; margin-top: clamp(32px, 6vw, 72px); font-family: var(--mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--ink-2); }
.backlink svg { width: 18px; height: 18px; }
.eventpage { display: grid; gap: 32px; margin-top: 32px; }
@media (min-width: 900px) { .eventpage { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; } .eventpage__media { position: sticky; top: calc(var(--bar) + 24px); } }
.eventpage__media img { width: 100%; }
.eventpage__title { margin: 0 0 24px; font-size: clamp(2.2rem, 5.5vw, 4.4rem); font-stretch: var(--display-stretch); font-weight: 800; line-height: .88; text-transform: uppercase; text-wrap: balance; }
.eventpage__tickets { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding: 20px 0; margin-bottom: 32px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eventpage__tickets .event__price { font-size: 1.4rem; }
.eventpage__past { margin: 0 0 32px; padding: 16px 18px; border: 1px solid var(--line-2); font-family: var(--mono); font-size: .8rem; color: var(--ink-2); }

/* CTA block (Program) ------------------------------------------------------ */
.cta {
  position: relative;
  display: grid;
  gap: 28px;
  align-items: end;
  padding-top: clamp(36px, 5vw, 56px);
}
.cta::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 8px;
  background: var(--hazard);
}
@media (min-width: 860px) { .cta { grid-template-columns: 1fr auto; gap: 64px; } }
.cta__title { font-size: clamp(2rem, 4.8vw, 4rem); }
.cta__text p { margin: 18px 0 0; max-width: 52ch; color: var(--ink-2); }

/* Contact ------------------------------------------------------------------ */
.contact { display: grid; gap: clamp(40px, 6vw, 72px); }
@media (min-width: 980px) {
  .contact { grid-template-columns: 5fr 6fr; align-items: stretch; }
  .contact__map { position: sticky; top: calc(var(--bar) + 24px); height: min(78vh, 760px); }
}
.contact__intro { margin: 0 0 32px; font-size: 1.2rem; max-width: 46ch; }

.datalist { margin: 0 0 40px; }
.datalist > div {
  display: grid;
  gap: 4px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.datalist > div:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 560px) { .datalist > div { grid-template-columns: 11rem 1fr; gap: 16px; align-items: baseline; } }
.datalist dt { font-family: var(--mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.datalist dd { margin: 0; font-size: clamp(1.1rem, 1.8vw, 1.35rem); font-weight: 500; overflow-wrap: anywhere; }
.datalist dd a { text-decoration: none; }
.datalist dd a:hover { text-decoration: underline; }

.metro { margin-bottom: 40px; }
.metro__title { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 16px; }
.metro ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.metro li { display: flex; align-items: center; gap: 14px; padding: 10px 14px; background: var(--bg-2); border: 1px solid var(--line); }
/* Line badges: a diamond (rombo) in the colour of each metro / FGC line */
.metro__badges { display: flex; gap: 3px; flex: none; min-width: 83px; } /* room for two diamonds, so station names line up */
.metro__badge {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  background: var(--bg, var(--metro));
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  color: var(--fg, #fff);
  font-weight: 800;
  font-stretch: 80%;
  font-size: .74rem;
  letter-spacing: -.01em;
  line-height: 1;
  padding-top: 1px;
}
.metro__badge--m { font-size: .9rem; font-stretch: 100%; }
.metro__name { font-size: 1.15rem; font-weight: 600; }
.metro__lines { margin-left: auto; font-family: var(--mono); font-size: .75rem; color: var(--ink-2); }

/* Hire --------------------------------------------------------------------- */
.carousel {
  margin: 0 calc(var(--gutter) * -1) clamp(48px, 7vw, 96px);
}
.carousel__track {
  display: flex;
  position: relative;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  padding-inline: var(--gutter);
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track:focus-visible { outline-offset: -2px; }
.carousel__slide {
  position: relative;
  flex: 0 0 92%;
  margin: 0;
  aspect-ratio: 3 / 2;
  scroll-snap-align: start;
  background: var(--bg-2);
  overflow: hidden;
}
@media (min-width: 900px) { .carousel__slide { flex-basis: 78%; aspect-ratio: 16 / 9; } }
.carousel__slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel__slide figcaption {
  position: absolute;
  left: 12px; bottom: 10px;
  font-family: var(--mono);
  font-size: .7rem;
  color: var(--ink);
  text-shadow: 0 1px 6px rgba(0, 0, 0, .8);
}
/* Banner variant (Otros page): full width, no peeking slides */
.carousel--banner { margin: 0 0 clamp(32px, 5vw, 56px); }
.carousel--banner .carousel__track { padding-inline: 0; scroll-padding-inline: 0; gap: 0; }
/* 12:5 = the 2400 × 1000 px banner size, so the whole banner is always visible */
.carousel--banner .carousel__slide,
.carousel--banner .carousel__slide:only-child { flex: 0 0 100%; aspect-ratio: 12 / 5; }
@media (min-width: 900px) { .carousel--banner .carousel__slide { flex-basis: 100%; aspect-ratio: 12 / 5; } }
.carousel--banner .carousel__slide a { display: block; height: 100%; }
.carousel--banner .carousel__ui { padding-inline: 0; }

.carousel__ui {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-inline: var(--gutter);
}
.carousel__count { font-family: var(--mono); font-size: .8rem; color: var(--ink-2); letter-spacing: .1em; }
.carousel__count b { color: var(--ink); font-weight: 400; }
.carousel__btns { display: flex; gap: 8px; }

.hire { display: grid; gap: clamp(40px, 6vw, 80px); }
@media (min-width: 980px) {
  .hire { grid-template-columns: 7fr 4fr; align-items: start; }
  .hire__side { position: sticky; top: calc(var(--bar) + 24px); }
}
.hire__side .eyebrow { margin-bottom: 14px; }
.hire__downloads { display: grid; gap: 8px; margin-bottom: 8px; }
.btn--download small { margin-left: 10px; font-family: var(--mono); font-size: .68rem; font-weight: 400; font-stretch: 100%; letter-spacing: .06em; color: var(--ink-2); }
.btn--download:hover small { color: inherit; }

.downloads { list-style: none; margin: 0 0 24px; padding: 0; }
.downloads a {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 16px;
  padding: 18px;
  margin-bottom: 8px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: border-color .2s, background .2s;
}
.downloads a:hover { border-color: var(--accent); color: var(--ink); background: var(--bg-3); }
.downloads__label { font-size: 1.35rem; font-weight: 800; font-stretch: 70%; text-transform: uppercase; line-height: 1; }
.downloads__meta { grid-row: 2; font-family: var(--mono); font-size: .72rem; color: var(--ink-2); margin-top: 8px; }
.downloads svg { grid-column: 2; grid-row: 1 / span 2; align-self: center; width: 24px; height: 24px; color: var(--accent-text); }

/* Modal + forms ------------------------------------------------------------ */
.modal {
  width: min(760px, calc(100% - 32px));
  max-width: 100%;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
  margin: auto;
  padding: 0;
  border: 1px solid var(--line-2);
  background: var(--bg-2);
  color: var(--ink);
}
.modal::backdrop { background: color-mix(in srgb, var(--bg) 82%, transparent); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal[open] { animation: modal-in .45s var(--ease); }
.modal:target:not([open]) {
  /* Fallback without JavaScript: the form opens via its #anchor */
  display: block;
  position: fixed;
  inset: 0;
  z-index: 90;
  overflow-y: auto;
}
.modal__inner { position: relative; padding: clamp(20px, 3vw, 36px); }
.modal__inner::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: var(--hazard); }
.modal__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.modal__close { display: grid; place-items: center; width: 44px; height: 44px; margin: -8px -8px 0 0; border: 1px solid var(--line-2); color: var(--ink); }
.modal__close svg { width: 18px; height: 18px; }
.modal__close:hover { border-color: var(--accent-text); }
.modal__title { font-size: clamp(1.8rem, 3.8vw, 2.8rem); }
.modal__intro { margin: 10px 0 0; max-width: 60ch; color: var(--ink-2); font-size: .95rem; }

@media (max-width: 640px) {
  .modal { width: 100%; height: 100%; max-height: 100%; border: 0; }
  .modal__inner { padding: 20px 16px 24px; }
  /* phones: two short fields per row so the form fits on the screen */
  .modal .form__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .modal .field--full { grid-column: 1 / -1; }
  .modal .field input, .modal .field select { padding: 10px; font-size: 16px; }
  .modal .field__label { font-size: .64rem; letter-spacing: .06em; }
  .modal .field textarea { height: 96px; }
  .modal .check { margin-top: 12px; font-size: .8rem; }
}

/* Short laptop screens: three fields per row so the whole form fits without scrolling */
@media (min-width: 900px) and (max-height: 860px) {
  .modal { width: min(900px, calc(100% - 32px)); }
  .modal__inner { padding: 20px 28px 24px; }
  .modal .form__grid { grid-template-columns: repeat(3, 1fr); }
  .modal .field textarea { height: 84px; min-height: 72px; }
}

@keyframes modal-in { from { opacity: 0; transform: translateY(24px); } }

.form { margin-top: 20px; }
.form__grid { display: grid; gap: 12px 14px; }
@media (min-width: 640px) {
  .form__grid { grid-template-columns: 1fr 1fr; }
  .field--full { grid-column: 1 / -1; }
}
.field { display: grid; gap: 6px; }
.field__label { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.req { color: var(--accent-text); }

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 11px 12px 10px;
  border: 1px solid var(--line-2);
  border-radius: 0;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color .2s;
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 96px; }
.modal .field textarea { height: 110px; }
.field select {
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23ffe500' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  cursor: pointer;
}
.field input::placeholder { color: var(--ink-3); }
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--ink-3); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--focus); box-shadow: inset 0 0 0 1px var(--focus); }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select { border-color: var(--error); }
.field__error { font-family: var(--mono); font-size: .72rem; color: var(--error); }

.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 16px;
  font-size: .85rem;
  line-height: 1.4;
  color: var(--ink-2);
  cursor: pointer;
}
.check input {
  flex: none;
  width: 22px; height: 22px;
  margin: 0;
  border: 1px solid var(--line-2);
  background: var(--bg) center / 14px no-repeat;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.check input:checked {
  background-color: var(--accent);
  border-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12.5l5 5L20 6.5' fill='none' stroke='%230c0c0b' stroke-width='3'/%3E%3C/svg%3E");
}
.check.is-invalid input { border-color: var(--error); }
.check a { color: var(--ink); }

.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
.form__foot .btn { margin-left: auto; }
.form__status { margin: 0; font-family: var(--mono); font-size: .8rem; line-height: 1.5; }
.form__status:empty { display: none; }
.form__status--error { color: var(--error); }
.form__status--ok {
  margin-top: 28px;
  padding: 20px;
  border: 1px solid var(--accent);
  color: var(--ink);
  font-size: .9rem;
}
.form.is-sent > :not(.form__status--ok) { display: none; }

/* Cookie banner ------------------------------------------------------------ */
.cookies {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 80;
  display: grid;
  gap: 18px;
  max-width: 560px;
  padding: 26px 22px 20px;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .6);
  animation: rise .5s var(--ease) both;
}
.cookies[hidden] { display: none; }
/* Don't cover the open menu; the banner comes back when the menu closes */
.menu-open .cookies { display: none; }
.cookies::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--hazard); }
.cookies__text { font-size: .9rem; line-height: 1.5; color: var(--ink-2); }
.cookies__text p { display: inline; margin: 0; }
.cookies__title { display: block; margin-bottom: 6px; font-family: var(--mono); font-weight: 400; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.cookies__text a { color: var(--ink); }
.cookies__actions { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }

/* Footer ------------------------------------------------------------------- */
.footer {
  position: relative;
  margin-top: auto;
  padding: clamp(48px, 7vw, 88px) var(--gutter) 24px;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}
.footer::before { content: ""; position: absolute; top: -1px; left: var(--gutter); width: 80px; height: 3px; background: var(--accent); }
.footer__grid {
  display: grid;
  gap: 48px;
  max-width: var(--max);
  margin-inline: auto;
}
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer__grid { grid-template-columns: 4fr 3fr 5fr; } }
.footer__logo { display: inline-block; color: var(--ink); text-decoration: none; margin-bottom: 22px; }
.footer__logo:hover { color: var(--ink); }
.footer address, .footer__contact { font-family: var(--sans); font-size: clamp(1rem, 1.3vw, 1.125rem); font-weight: 500; line-height: 1.5; color: var(--ink); }
.footer__contact { margin: 14px 0 0; }
.footer__contact a { text-decoration: none; }
.footer__nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer__nav a { font-size: clamp(1.8rem, 3.2vw, 2.4rem); text-decoration: none; line-height: 1; }
.footer__nav li:nth-child(n+6) a,
.footer__nav .linkbtn { font-family: var(--mono); font-stretch: 100%; font-weight: 400; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); line-height: 1.6; }
.footer__nav li:nth-child(6) { margin-top: 16px; }
.footer__nav .linkbtn:hover { color: var(--accent-text); }
.footer__fund .funding { align-items: flex-start; flex-direction: column; }
@media (min-width: 1100px) { .footer__fund { justify-self: end; } }

.footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  max-width: var(--max);
  margin: clamp(48px, 6vw, 72px) auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .06em;
  color: var(--ink-3);
}
.footer__langs { display: flex; gap: 14px; }
.footer__langs a { text-decoration: none; }
.footer__langs a[aria-current] { color: var(--ink); }

/* Error page --------------------------------------------------------------- */
.error { padding-top: calc(var(--bar) + 8vh); }
.error__code {
  margin: 0;
  font-size: clamp(6rem, min(26vw, 40vh), 20rem);
  font-weight: 900;
  font-stretch: var(--display-stretch);
  line-height: .8;
  color: transparent;
  -webkit-text-stroke: 2px var(--line-2);
}
.error p { color: var(--ink-2); max-width: 50ch; margin: 24px 0 32px; }

/* Home: body is flush with hero ------------------------------------------- */
.tpl-home main { padding-top: 0; }

/* Motion preferences ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Theme adjustments ---------------------------------------------------------
   Panel → Site → Design switches between the dark and light (white) theme. */

/* Home hero: the darkening overlay is only needed on top of a photo */
.hero:not(.hero--image)::after { background: none; }
.hero--image .hero__tagline { color: #fff; }

/* Light theme: white artwork made for the dark site becomes black */
[data-theme="light"] .logo--invert { filter: invert(1); }
[data-theme="light"] .funding__logos img { filter: invert(1); mix-blend-mode: multiply; }
[data-theme="light"] .about__image--invert img { filter: invert(1) contrast(1.25); mix-blend-mode: multiply; }
[data-theme="light"] .about__image:not(.about__image--invert) img { filter: none; mix-blend-mode: normal; }
/* the Google Map is only darkened in the dark theme */
[data-theme="light"] .embed--map iframe { filter: none; }
[data-theme="light"] .cookies { box-shadow: 0 16px 48px rgba(0, 0, 0, .14); }
[data-theme="light"] .carousel__slide figcaption { color: #fff; }

/* Artists wall (Quiénes somos) --------------------------------------------- */
.artists {
  margin-top: clamp(64px, 10vw, 140px);
  padding-top: clamp(32px, 5vw, 56px);
  border-top: 1px solid var(--line);
}
.artists__title {
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  font-stretch: var(--display-stretch);
  font-weight: 800;
  line-height: .95;
  text-transform: uppercase;
}
.artists__list {
  display: flex;
  flex-wrap: wrap;
  margin: clamp(24px, 4vw, 40px) 0 0;
  padding: 0;
  list-style: none;
  font-size: clamp(1.6rem, 4.2vw, 3.6rem);
  font-stretch: var(--display-stretch);
  font-weight: 800;
  line-height: 1.08;
  text-transform: uppercase;
  color: var(--ink-strong);
}
.artists__list li { white-space: nowrap; }
.artists__list li::after {
  content: "·";
  margin: 0 .3em;
  color: var(--accent-text);
  font-weight: 400;
}
.artists__list li:last-child::after { content: none; }
/* Light theme: no yellow glow behind the home logo (it only works on black) */
[data-theme="light"] .hero:not(.hero--image) { background: var(--bg); }

/* Hire: "The spaces" cards ------------------------------------------------- */
.spaces { margin: 0 0 clamp(56px, 8vw, 110px); }
.spaces__head { max-width: 62ch; margin-bottom: clamp(28px, 4vw, 44px); }
.spaces__head .eyebrow { margin-bottom: 14px; }
.spaces__title {
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  font-stretch: var(--display-stretch);
  font-weight: 800;
  line-height: .9;
  text-transform: uppercase;
}
.spaces__intro { margin: 18px 0 0; color: var(--ink-2); font-size: 1.05rem; }
.spaces__grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .spaces__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .spaces__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.space {
  display: flex;
  flex-direction: column;
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.space__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-3); }
.space__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.space:hover .space__media img { transform: scale(1.03); }
.space__noimg {
  display: grid;
  place-items: center;
  height: 100%;
  padding: 16px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-stretch: var(--display-stretch);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--line-2);
  text-align: center;
}
.space__body { padding: 20px 20px 24px; }
.space__name {
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
  font-stretch: var(--display-stretch);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}
.space__features { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; }
.space__features li {
  padding: 5px 9px 4px;
  border: 1px solid var(--line-2);
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .03em;
  color: var(--ink);
}
.space__text { margin: 16px 0 0; color: var(--ink-2); font-size: .95rem; line-height: 1.55; }

/* Space cards: click to enlarge -------------------------------------------- */
.space__zoom { position: relative; display: block; height: 100%; cursor: zoom-in; }
.space__zoomicon,
.space__count {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(10, 10, 9, .62);
  color: #fff;
  transition: background .2s, opacity .2s;
}
.space__zoomicon { top: 10px; right: 10px; padding: 8px; opacity: .85; }
.space__zoomicon svg { width: 18px; height: 18px; }
.space__count { left: 10px; bottom: 10px; padding: 5px 9px; font-family: var(--mono); font-size: .75rem; }
.space__count svg { width: 16px; height: 16px; }
.space__zoom:hover .space__zoomicon,
.space__zoom:focus-visible .space__zoomicon { opacity: 1; background: rgba(10, 10, 9, .85); }

/* Lightbox (enlarged photos) — always dark so photos stand out -------------- */
.lightbox {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(8, 8, 7, .95);
  color: #fff;
}
.lightbox::backdrop { background: transparent; }
.lightbox[open] { display: block; animation: lb-in .25s ease-out; }
@keyframes lb-in { from { opacity: 0; } }
.lightbox__figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 72px 84px 24px;
}
.lightbox__img { max-width: 100%; max-height: calc(100% - 48px); object-fit: contain; }
.lightbox__caption {
  display: flex;
  gap: 18px;
  margin-top: 16px;
  font-family: var(--mono);
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #d6d4cc;
}
.lightbox__btn {
  position: fixed;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(0, 0, 0, .45);
  color: #fff;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__btn:hover { background: #fff; border-color: #fff; color: #000; }
.lightbox__btn[hidden] { display: none; }
.lightbox__btn--prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__btn--next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__btn--close { top: 16px; right: 16px; }
@media (max-width: 640px) {
  .lightbox__figure { padding: 68px 10px 84px; }
  .lightbox__btn--prev, .lightbox__btn--next { top: auto; bottom: 18px; transform: none; }
  .lightbox__btn--prev { left: calc(50% - 60px); }
  .lightbox__btn--next { right: calc(50% - 60px); }
}

/* ==========================================================================
   Hire page sections
   ========================================================================== */
.hirepage .spaces { margin-top: 0; }
.eyebrow--dot::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 10px; border-radius: 50%; background: var(--accent); vertical-align: middle; }

/* Shared section layout */
.hsec { margin: 0 0 clamp(64px, 9vw, 120px); padding-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); }
.hsec__head { margin-bottom: clamp(24px, 4vw, 40px); max-width: 70ch; }
.hsec__head .eyebrow, .prod__body .eyebrow, .social__body .eyebrow { margin-bottom: 14px; }
.hsec__head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; max-width: none; }
.hsec__title { font-size: clamp(1.8rem, 3.8vw, 3rem); font-stretch: var(--display-stretch); font-weight: 800; line-height: .92; text-transform: uppercase; }
.hsec__text { margin: 18px 0 0; max-width: 58ch; color: var(--ink-2); font-size: 1.05rem; }
.hsec__count { margin: 0; font-family: var(--mono); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }

/* Intro */
.hintro { display: grid; gap: clamp(24px, 4vw, 40px); margin-bottom: clamp(64px, 9vw, 120px); }
@media (min-width: 980px) { .hintro { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: end; } }
.hintro__title { margin-top: 16px; font-size: clamp(2rem, 4.4vw, 3.6rem); font-stretch: var(--display-stretch); font-weight: 800; line-height: .9; text-transform: uppercase; }
.hintro__lead { margin: 22px 0 0; max-width: 52ch; font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.5; color: var(--ink-2); }
.hintro__buttons { display: grid; gap: 8px; }
.hintro__facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 18px 0 0; padding: 0; list-style: none; font-family: var(--mono); font-size: .78rem; color: var(--ink-2); }
.hintro__facts li { display: inline-flex; align-items: center; gap: 7px; }
.hintro__facts svg { width: 16px; height: 16px; color: var(--ink); }
.hintro__image { grid-column: 1 / -1; margin: clamp(8px, 2vw, 24px) 0 0; }
.hintro__image img { width: 100%; height: auto; }
[data-theme="light"] .hintro__image img { mix-blend-mode: multiply; }
/* same black-and-white treatment as the drawing on Quiénes somos */
[data-theme="light"] .hintro__image--invert img { filter: invert(1) contrast(1.25); mix-blend-mode: multiply; }
.hintro__extra { grid-column: 1 / -1; }

/* Views mosaic */
.views__grid { display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .views__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) {
  .views__grid--5 { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(0, 1fr); }
  .views__grid--5 .views__item:first-child { grid-column: span 2; grid-row: span 2; }
}
.views__grid .views__item:first-child { grid-column: 1 / -1; }
@media (min-width: 900px) { .views__grid--5 .views__item:first-child { grid-column: span 2; } }
.views__item { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-3); cursor: zoom-in; }
.views__grid--5 .views__item:first-child { aspect-ratio: auto; }
@media (max-width: 899px) { .views__grid--5 .views__item:first-child { aspect-ratio: 4 / 3; } }
.views__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.views__item:hover img { transform: scale(1.04); }
.views__caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 14px 10px; background: linear-gradient(transparent, rgba(0, 0, 0, .6)); color: #fff; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }

/* Production */
.prod { display: grid; gap: clamp(28px, 5vw, 64px); }
@media (min-width: 900px) { .prod { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; } }
.prod__image { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-3); }
.prod__image img { width: 100%; height: 100%; object-fit: cover; }
.prod__features { display: grid; gap: 22px; margin: 32px 0; padding: 0; list-style: none; }
.prod__features li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.prod__icon { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-2); background: var(--bg-2); }
.prod__icon svg { width: 22px; height: 22px; }
.prod__ftitle { font-size: 1.15rem; font-weight: 700; font-stretch: 100%; text-transform: none; line-height: 1.25; }
.prod__features p { margin: 6px 0 0; color: var(--ink-2); font-size: .95rem; }

/* Social & catering */
.social { display: grid; gap: clamp(28px, 5vw, 56px); }
@media (min-width: 900px) { .social { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; } }
.social__items { display: grid; gap: 10px; margin: 28px 0 0; }
@media (min-width: 560px) { .social__items { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.social__item { padding: 18px; background: var(--bg-2); border: 1px solid var(--line); }
.social__item h3 { font-size: 1.05rem; font-weight: 700; font-stretch: 100%; text-transform: none; }
.social__item p { margin: 8px 0 0; color: var(--ink-2); font-size: .92rem; }
.social__thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.social__thumbs a, .social__big a { display: block; overflow: hidden; background: var(--bg-3); cursor: zoom-in; }
.social__thumbs a { aspect-ratio: 4 / 3; }
.social__big { display: grid; gap: 8px; }
.social__big a { aspect-ratio: 10 / 7; }
.social img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.social a:hover img { transform: scale(1.04); }

/* Video */
.hvideo__frame { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #000; }
.hvideo__player { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Video with black bars baked in at the sides (4:3 footage inside a 16:9 file):
   zoom so the footage fills the width, cropping the bars */
.hvideo__frame--crop { aspect-ratio: 4 / 3; }
@media (min-width: 900px) { .hvideo__frame--crop { aspect-ratio: 3 / 2; } }
.hvideo__frame--crop .hvideo__player { left: 50%; top: 50%; width: 133.334%; height: auto; aspect-ratio: 16 / 9; transform: translate(-50%, -50%); object-fit: fill; }

/* Practical info */
.practical__grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .practical__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); align-items: start; } }
.practical__card { display: grid; gap: 14px; align-content: start; }
.practical__card .btn { justify-self: start; }
.practical__media { position: relative; display: block; overflow: hidden; border: 1px solid var(--line); background: #f4f2ec; }
.practical__card--plan .practical__media { cursor: zoom-in; }
.practical__media img { width: 100%; height: auto; }
.practical__title { font-size: 1.4rem; font-stretch: var(--display-stretch); font-weight: 800; text-transform: uppercase; line-height: 1; }
.practical__card p { margin: 0; color: var(--ink-2); }

/* Contact band (contrasting colours) */
.hclosing {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
  margin: 0 calc(var(--gutter) * -1);
  padding: clamp(40px, 7vw, 88px) var(--gutter);
  background: var(--ink-strong);
  color: var(--bg);
}
@media (min-width: 900px) { .hclosing { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: center; } }
.hclosing .eyebrow { color: color-mix(in srgb, var(--bg) 65%, transparent); margin-bottom: 14px; }
.hclosing__title { font-size: clamp(2.4rem, 6vw, 4.6rem); font-stretch: var(--display-stretch); font-weight: 800; line-height: .9; text-transform: uppercase; }
.hclosing__text > p { margin: 18px 0 0; max-width: 52ch; color: color-mix(in srgb, var(--bg) 80%, transparent); font-size: 1.05rem; }
.hclosing__phones { margin-top: 28px; }
.hclosing__phones a { display: flex; align-items: center; gap: 10px; margin-top: 6px; font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 700; text-decoration: none; color: var(--bg); }
.hclosing__phones a:hover { color: var(--accent); }
.hclosing__phones svg { width: 20px; height: 20px; }
.hclosing__actions { display: grid; gap: 8px; }
.hclosing .btn--ghost { border-color: color-mix(in srgb, var(--bg) 40%, transparent); color: var(--bg); }
.hclosing .btn--ghost:hover { background: var(--bg); border-color: var(--bg); color: var(--ink-strong); }
.hclosing .btn--download small { color: color-mix(in srgb, var(--bg) 60%, transparent); }
/* the contact band sits directly on top of the footer */
.hirepage { padding-bottom: 0; }
.hirepage .hclosing { margin-bottom: 0; }

/* Coworking page ------------------------------------------------------------ */
.coworking { padding-bottom: 0; }
.coworking .hclosing { margin-bottom: 0; }
.cw-intro { display: grid; gap: clamp(28px, 5vw, 64px); margin-bottom: clamp(64px, 9vw, 120px); }
@media (min-width: 980px) { .cw-intro { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: start; } }
.cw-intro__lead { margin: 18px 0 0; font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.4; font-weight: 500; }
.cw-invite { display: grid; gap: 18px; margin-top: clamp(28px, 4vw, 40px); padding: clamp(20px, 3vw, 28px); background: var(--bg-2); border: 1px solid var(--line); border-left: 4px solid var(--accent); }
.cw-invite p { margin: 0; font-size: 1.05rem; }
.cw-invite .btn { justify-self: start; }
.cw-intro__photo { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg-3); cursor: zoom-in; }
@media (min-width: 980px) { .cw-intro__photo { position: sticky; top: calc(var(--bar) + 24px); } }
.cw-intro__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cw-intro__photo:hover img { transform: scale(1.03); }
.cw-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.cw-list__item { display: grid; grid-template-columns: 44px 1fr; gap: 6px 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .cw-list__item { grid-template-columns: 60px minmax(0, 4fr) minmax(0, 7fr); align-items: baseline; gap: 24px; } }
.cw-list__num { font-family: var(--mono); font-size: .8rem; color: var(--accent-text); }
.cw-list__name { font-size: clamp(1.5rem, 3vw, 2.2rem); font-stretch: var(--display-stretch); font-weight: 800; line-height: 1; text-transform: uppercase; }
.cw-list__name a { text-decoration: none; }
.cw-list__name a span { font-size: .6em; vertical-align: .25em; color: var(--accent-text); }
.cw-list__text { grid-column: 2; margin: 0; color: var(--ink-2); }
@media (min-width: 900px) { .cw-list__text { grid-column: auto; } }
.cw-closing { margin: clamp(28px, 4vw, 40px) 0 0; max-width: 60ch; font-size: 1.1rem; font-weight: 500; }

/* Home: video between the logo screen and the newsletter, with text on top */
.home-video {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: max(460px, 72vh);
  margin: 0 0 clamp(56px, 9vw, 110px);
  overflow: hidden;
  background: #000;
  color: #fff;
}
.home-video__player { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* zoom in (as on villageunderground.cat): hides the black bars baked into the video */
.home-video--crop .home-video__player { transform: scale(1.35); }
/* Dark mask over the videos — same as on villageunderground.cat (home and Alquiler) */
.home-video::after,
.hvideo__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(29, 30, 38, .85) 0%, rgba(29, 30, 38, .4) 50%, rgba(29, 30, 38, .15) 100%);
  pointer-events: none;
}
.home-video__text { position: relative; z-index: 1; max-width: 760px; padding: clamp(28px, 5vw, 64px); }
.home-video__eyebrow { margin: 0 0 14px; font-family: var(--mono); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }
.home-video__title { font-size: clamp(2.6rem, 7vw, 5.6rem); font-stretch: var(--display-stretch); font-weight: 800; line-height: .9; text-transform: uppercase; color: #fff; }
.home-video__lead { margin: 20px 0 0; max-width: 44ch; font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.45; }

/* Touch targets: small text links get a finger-sized tap area (≥ 44 px) */
.footer__langs { gap: 4px; }
.footer__langs a { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; margin: -13px 0; }
.footer__nav .linkbtn { min-height: 44px; display: inline-flex; align-items: center; }
.footer__nav li:nth-child(n+6) a { display: inline-flex; align-items: center; min-height: 36px; }
.event__more, .backlink { display: inline-flex; align-items: center; min-height: 44px; }
.hclosing__phones a { min-height: 44px; margin-top: 0; }
.btn--download small { font-size: .75rem; }
