/* WIP Festival 2027 · prototype v5
   Same pages as v4, new look taken straight from the 2027 poster:
   - type: the poster's geometric caps (Montserrat, heavy for titles, tracked for places and dates);
   - colour: the poster's sky (turquoise → lilac → sunset pink), sea, dunes and lawn, on white;
   - the 3D park as a crisp scale model on the poster's sky, no faded edges. */

:root {
  --ink: #0D2B39; --ink-2: #48616B; --teal: #064B53;
  --sky-1: #6CABB7; --sky-2: #9EC2CF; --lilac: #D3CBDD; --blush: #F4D4CF; --peach: #F8D9C6;
  --turq: #7EBFCA; --sea: #2F95B0; --sand: #EDBE85; --sand-2: #F6DDB9; --lawn: #A9C45E; --bloom: #D9667F;
  --white: #FFFFFF; --mist: #EEF6F6;
  --line: rgba(13, 43, 57, .14); --line-strong: rgba(13, 43, 57, .32);
  --night: #082F3D; --night-2: #0C4352;
  --on-dark: #FFFFFF; --on-dark-2: rgba(255, 255, 255, .76); --line-dark: rgba(255, 255, 255, .2);
  --sky-grad: linear-gradient(180deg, #6CABB7 0%, #94BCCB 30%, #C9C7DA 58%, #F1D3D0 82%, #F8DACB 100%);
  --sunset-grad: linear-gradient(160deg, #F6D5CF 0%, #F8DCC8 55%, #F3CFD3 100%);
  --sans: "Montserrat", Arial, Helvetica, sans-serif;
  --display: var(--sans);
  /* aliases kept for the JS-built markup */
  --paper: var(--white); --paper-2: var(--mist); --text: var(--ink); --muted: var(--ink-2); --hair: var(--line); --hair-strong: var(--line-strong);
  --heart: var(--bloom); --amber: #C98A2E;
  --head-h: 72px;
  --gutter: clamp(16px, 3vw, 48px);
  --radius: 8px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}
@media (max-width: 1023px) { :root { --head-h: 60px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 12px); }
html.has-immersive-map, html.has-menu { overflow: hidden; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.7 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
:focus-visible { outline: 3px solid var(--sea); outline-offset: 3px; border-radius: 3px; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 3000; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--radius); }
.skip:focus { top: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */
h2 { font-weight: 800; text-transform: uppercase; font-size: clamp(30px, 3.3vw, 54px); line-height: 1; letter-spacing: -.005em; text-wrap: balance; }
h3 { font-size: 18px; line-height: 1.35; font-weight: 700; }
.label, .small-head { font-weight: 700; font-size: 13px; line-height: 1.3; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.aside-title { font-size: clamp(24px, 2.2vw, 34px); }
.aside-note { font-weight: 500; font-size: 16px; color: var(--ink-2); max-width: 40ch; }
.fine { font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.lead { font-weight: 500; font-size: clamp(18px, 1.4vw, 21px); line-height: 1.6; max-width: 60ch; }
.prose { display: grid; gap: 18px; align-content: start; max-width: 62ch; }

/* ---------- Controls ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: var(--radius); border: 0; background: var(--ink); color: #fff; font: 700 15px/1.2 var(--sans); letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: background .2s, transform .2s var(--ease); justify-self: start; text-align: center; }
.btn:hover { background: var(--teal); }
.btn:active { transform: translateY(1px); }
.btn[aria-disabled="true"] { opacity: .4; pointer-events: none; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--sand-2); }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0; border: 0; background: none; cursor: pointer; color: var(--ink); font: 700 15px/1.3 var(--sans); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--turq); transition: text-decoration-color .2s; justify-self: start; }
.text-link:hover { text-decoration-color: currentColor; }
.text-link svg { width: 16px; height: 16px; flex: none; transition: transform .25s var(--ease); }
.text-link:hover svg { transform: translateX(3px); }
.text-link[aria-disabled="true"] { opacity: .4; pointer-events: none; }
.text-link--light { color: #fff; text-decoration-color: rgba(255, 255, 255, .45); }
.text-link--light:hover { text-decoration-color: #fff; }

/* ---------- Header ---------- */
.head { position: fixed; inset: 0 0 auto; z-index: 600; height: var(--head-h); display: flex; align-items: center; gap: 32px; padding: 0 var(--gutter); color: var(--ink); transition: background .3s, box-shadow .3s; }
.head.is-solid { background: rgba(255, 255, 255, .97); box-shadow: 0 1px 0 var(--line); }
.wordmark { display: inline-flex; align-items: baseline; gap: 7px; text-decoration: none; font-weight: 800; font-size: 17px; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.wordmark__enso { display: none; }
.wordmark__year { font-weight: 500; letter-spacing: .08em; }
.head__nav { display: flex; gap: 26px; margin-left: auto; }
.head__nav a { position: relative; text-decoration: none; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 8px 0; }
.head__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 1px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.head__nav a:hover::after, .head__nav a[aria-current="page"]::after { transform: scaleX(1); }
.head__end { display: flex; align-items: center; gap: 18px; }
.lang { display: inline-flex; gap: 2px; font-size: 13px; }
.lang button { border: 0; background: none; padding: 8px 4px; cursor: pointer; color: inherit; opacity: .6; font-weight: 700; letter-spacing: .06em; }
.lang button + button::before { content: "/"; margin-right: 6px; opacity: .5; }
.lang button[aria-pressed="true"] { opacity: 1; }
.head__app { display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border-radius: var(--radius); background: var(--ink); color: #fff; text-decoration: none; font-weight: 700; font-size: 14px; transition: background .2s; }
.head__app:hover { background: var(--teal); }
.head__menu { display: none; border: 0; background: none; font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; padding: 10px 0; cursor: pointer; }
.menu { position: fixed; inset: 0; z-index: 700; background: var(--sky-grad); padding: 90px 24px 40px; overflow: auto; display: grid; align-content: start; gap: 28px; }
.menu nav { display: grid; }
.menu nav a { font-weight: 800; text-transform: uppercase; font-size: 28px; line-height: 1.1; text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--line); }
.menu nav a[aria-current="page"] { color: var(--teal); }
.menu__close { position: absolute; top: 10px; right: 12px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: none; cursor: pointer; }
.menu__close svg { width: 26px; height: 26px; }
@media (max-width: 1180px) { .head__nav { display: none; } .head__end { margin-left: auto; } .head__menu { display: inline-block; } }
@media (max-width: 560px) { .head__app { display: none; } .head { gap: 12px; } .wordmark { font-size: 15px; } }

/* ---------- Sections ---------- */
.sec { padding: clamp(64px, 8vw, 128px) var(--gutter); }
.sec + .sec:not([class*="sec--"]) { border-top: 1px solid var(--line); }
.sec--sky { background: var(--sky-grad); }
.sec--sunset { background: var(--sunset-grad); }
.sec--turq { background: var(--turq); }
.sec--mist { background: var(--mist); }
.sec--night { background: linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%); color: var(--on-dark); }
.sec--tint { background: var(--mist); }
[class*="sec--"] + .sec { border-top: 0 !important; }
.sec__inner { max-width: 1280px; margin: 0 auto; }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 28px 72px; }
.split__aside { display: grid; gap: 18px; align-content: start; }
.split__aside > p { font-size: 17px; max-width: 42ch; }
.sec--night .split__aside > p { color: var(--on-dark-2); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 24px; } }

/* Inner page heading: the poster's sky */
.pagehead { background: var(--sky-grad); padding: calc(var(--head-h) + clamp(48px, 8vw, 120px)) var(--gutter) clamp(48px, 6vw, 88px); }
.pagehead__inner { max-width: 1280px; margin: 0 auto; display: grid; gap: 22px; }
.pagehead h1, .night h1 { font-weight: 800; text-transform: uppercase; font-size: clamp(44px, 6.6vw, 112px); line-height: .92; letter-spacing: -.01em; text-wrap: balance; }
.pagehead .lead { max-width: 58ch; }

/* ---------- Hero: the poster ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: #61A2B0; }
.hero__art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
.hero::before { content: ""; position: absolute; inset: 0 0 auto; height: 150px; z-index: 1; background: linear-gradient(rgba(250, 232, 228, .55), rgba(250, 232, 228, 0)); pointer-events: none; }
.hero__mark { display: none; }
/* One unit (--u = title size) scales the whole lockup; the last term keeps it above the horizon of the artwork on wide screens */
.hero__text { --u: clamp(34px, min(7.6vw, 11.2vh, calc((100vh - 31.4vw - 110px) / 3.3)), 150px); position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: calc(var(--head-h) + clamp(8px, 3.4vh, 48px)) 24px 0; text-align: center; color: var(--ink); }
.hero__kicker { font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: max(12px, calc(var(--u) * .21)); line-height: 1.2; }
.hero h1 { font-weight: 800; text-transform: uppercase; font-size: var(--u); line-height: .9; letter-spacing: -.012em; margin: .14em 0 .08em; }
.hero h1 > span { display: block; }
.hero h1 .amp { display: inline-block; font-size: .58em; vertical-align: .48em; margin-left: .06em; }
.hero__place { font-weight: 500; text-transform: uppercase; letter-spacing: .34em; margin-right: -.34em; font-size: calc(var(--u) * .38); line-height: 1.1; }
.hero__date { display: flex; align-items: center; justify-content: center; gap: .7em; margin-top: .55em; font-weight: 800; text-transform: uppercase; font-size: max(16px, calc(var(--u) * .31)); line-height: 1.1; }
.hero__date::before, .hero__date::after { content: ""; width: 1.6em; height: 2px; background: currentColor; }
.hero__venue { margin-top: .6em; font-weight: 600; text-transform: uppercase; letter-spacing: .3em; margin-right: -.3em; font-size: max(11px, calc(var(--u) * .165)); }
.hero__credit { position: absolute; z-index: 2; right: var(--gutter); bottom: 14px; font-size: 12px; font-weight: 500; color: rgba(255, 255, 255, .9); text-shadow: 0 1px 6px rgba(0, 0, 0, .35); }
/* Portrait screens: the whole artwork, with its sky extended above it */
@media (max-aspect-ratio: 4/5) {
  .hero { height: auto; min-height: 100svh; display: flex; flex-direction: column; background: #5F9FAD; }
  .hero__art { position: relative; inset: auto; order: 2; height: auto; margin-top: auto; object-fit: fill; -webkit-mask-image: linear-gradient(transparent, #000 14%); mask-image: linear-gradient(transparent, #000 14%); }
  .hero__text { order: 1; padding-top: calc(var(--head-h) + 6svh); margin-bottom: -18%; }
  .hero__text { --u: clamp(34px, 10.8vw, 72px); padding-left: 16px; padding-right: 16px; }
  .hero::before { display: none; }
  .hero__credit { display: none; }
  .hero__mark { display: block; width: clamp(112px, 34vw, 190px); height: auto; margin: 0 auto 14px; }
  .hero__venue { letter-spacing: .22em; margin-right: -.22em; }
}

/* ---------- The essentials ---------- */
.ess__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 32px; margin-bottom: clamp(28px, 4vw, 48px); }
.ess__cd { font-weight: 600; font-size: 17px; }
.ess__cd b { font-weight: 800; }
.ess__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 28px; }
.ess__grid > div { display: grid; align-content: start; gap: 10px; padding-top: 18px; border-top: 3px solid var(--ink); }
.ess__grid dt { font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.ess__v { font-weight: 800; text-transform: uppercase; font-size: clamp(22px, 2vw, 30px); line-height: 1.05; }
.ess__grid dd:not(.ess__v) { font-size: 15.5px; line-height: 1.6; }
.ess__grid .text-link { min-height: 0; margin-top: 4px; font-size: 14px; }
.ess__what { display: grid; grid-template-columns: auto 1fr; gap: 8px 28px; align-items: baseline; margin-top: clamp(32px, 4vw, 48px); padding-top: 22px; border-top: 1px solid var(--line); }
.ess__what dt { font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.ess__what dd { font-weight: 500; font-size: clamp(17px, 1.4vw, 20px); }
.ess__what .text-link { min-height: 0; margin-left: 8px; }
@media (max-width: 960px) { .ess__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ess__grid { grid-template-columns: 1fr; } .ess__what { grid-template-columns: 1fr; } }

/* Facts (park page) */
.facts { border-bottom: 1px solid var(--line); }
.facts > div { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 20px 0; border-top: 1px solid var(--line); }
.facts dt { font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; padding-top: 4px; }
.facts .text-link { min-height: 0; margin-left: 4px; }
@media (max-width: 640px) { .facts > div { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Mailing list ---------- */
.signup { display: grid; gap: 24px; max-width: 760px; }
.signup__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .signup__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; border: 0; border-radius: var(--radius); background: #fff; box-shadow: inset 0 0 0 1px var(--line-strong); padding: 12px 16px; font: 500 16px/1.4 var(--sans); color: var(--ink); transition: box-shadow .2s; }
.field textarea { resize: vertical; min-height: 104px; }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: right 20px top 52%, right 15px top 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ink); }
.field--select { max-width: 300px; }
.sec--sky .field input, .sec--sky .field select, .sec--sky .field textarea { box-shadow: 0 1px 2px rgba(13, 43, 57, .08); }
.sec--sky .field input:focus, .sec--sky .field select:focus { box-shadow: inset 0 0 0 2px var(--ink); }
.choice { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 26px; }
.choice legend { padding: 0; margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.choice label, .consent { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 16px; font-weight: 500; min-height: 38px; }
.choice input, .consent input { appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; margin: 0; border: 2px solid var(--ink); border-radius: 4px; background: #fff; cursor: pointer; display: grid; place-items: center; }
.choice input[type="radio"] { border-radius: 50%; }
.choice input[type="radio"]::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); transform: scale(0); transition: transform .15s; }
.choice input[type="checkbox"]::after, .consent input::after { content: ""; width: 10px; height: 5px; border: 2.5px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) scale(0); margin-top: -3px; transition: transform .15s; }
.choice input:checked[type="radio"]::after { transform: scale(1); }
.choice input:checked[type="checkbox"], .consent input:checked { background: var(--ink); }
.choice input:checked[type="checkbox"]::after, .consent input:checked::after { transform: rotate(-45deg) scale(1); }
.consent { align-items: flex-start; font-size: 15px; line-height: 1.5; }
.consent input { margin-top: 1px; }
.consent a { text-underline-offset: 3px; }
.signup__send { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.signup__msg { font-size: 15px; font-weight: 600; color: #A3243C; }
.signup__msg.is-ok { color: var(--ink); font-weight: 700; font-size: 17px; }

/* ---------- 2026 → 2027 (home): full-width park ---------- */
.evo { padding: clamp(64px, 8vw, 128px) 0 clamp(48px, 5vw, 80px); border-top: 1px solid var(--line); }
.evo__intro { display: grid; grid-template-columns: 5fr 7fr; gap: 24px 72px; padding: 0 var(--gutter); margin-bottom: clamp(32px, 4vw, 56px); }
.evo__lead { display: grid; gap: 22px; align-content: start; max-width: 62ch; }
.evo__stage { margin: 0; }
.evo__bar { max-width: 1280px; margin: 18px auto 0; padding: 0 var(--gutter); display: grid; grid-template-columns: minmax(280px, 460px) 1fr; gap: 12px 48px; align-items: center; }
.evo__after { max-width: 1280px; margin: clamp(32px, 4vw, 56px) auto 0; padding: 0 var(--gutter); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 40px; }
.evo__press { display: grid; gap: 8px; margin-left: auto; }
@media (max-width: 960px) { .evo__intro { grid-template-columns: 1fr; } .evo__bar { grid-template-columns: 1fr; } .evo__press { margin-left: 0; } }
.figures { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px 44px; padding: 20px 0 4px; border-top: 3px solid var(--ink); }
.figures--4 { grid-template-columns: repeat(4, auto); }
.figures dt { font-weight: 800; font-size: clamp(40px, 4vw, 66px); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.figures dd { font-size: 14px; font-weight: 500; color: var(--ink-2); margin-top: 8px; max-width: 17ch; line-height: 1.4; }
@media (max-width: 760px) { .figures--4 { grid-template-columns: repeat(2, auto); } }
.video { width: 100%; max-width: 860px; }
.video:has(iframe) { order: 5; }
.video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); }
.press { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-weight: 700; font-size: 15px; }
.press li + li::before { content: "·"; margin: 0 12px; color: var(--line-strong); }
.compare { display: grid; gap: 4px; }
.compare label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.compare__row { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; font-weight: 800; font-size: 20px; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 32px; background: transparent; cursor: pointer; margin: 0; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: var(--ink); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 2px; background: var(--ink); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10px; border-radius: 50%; background: var(--ink); border: 4px solid #fff; box-shadow: 0 0 0 1.5px var(--ink); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--ink); border: 4px solid #fff; }
.frame__cap { font-size: 14px; font-weight: 500; color: var(--ink-2); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
.frame__cap .text-link { min-height: 0; }

/* ---------- Home: programme highlights, app, socios band, doors, logos ---------- */
.highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; }
@media (max-width: 640px) { .highlights { grid-template-columns: 1fr; } }
.hl__day { font-weight: 800; text-transform: uppercase; font-size: 18px; letter-spacing: .02em; padding-bottom: 12px; border-bottom: 3px solid var(--ink); }
.hl__list { list-style: none; padding: 0; }
.hl__list a { display: grid; grid-template-columns: 62px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.hl__list time { font-weight: 800; font-size: 15px; font-variant-numeric: tabular-nums; padding-top: 1px; }
.hl__what { display: grid; }
.hl__t { font-weight: 700; font-size: 16px; line-height: 1.35; transition: color .2s; }
.hl__z { font-size: 14px; color: var(--ink-2); }
.hl__list a:hover .hl__t { color: var(--sea); }

.app__main { display: grid; gap: 28px; }
.steps { padding-left: 0; list-style: none; counter-reset: s; display: grid; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 52px 1fr; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line-strong); font-weight: 600; font-size: 18px; }
.steps li:last-child { border-bottom: 1px solid var(--line-strong); }
.steps li::before { content: counter(s); font-weight: 800; font-size: 30px; line-height: 1; }
.app__get { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; }
.stores { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.stores .btn.is-suggested { background: var(--teal); }
.qr { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: center; max-width: 300px; }
.qr__code { width: 112px; height: 112px; padding: 8px; background: #fff; border-radius: var(--radius); }
.qr__code svg { width: 100%; height: 100%; display: block; }
.qr figcaption { font-size: 14px; font-weight: 500; }
@media (pointer: coarse) { .qr { display: none; } }

.socios-band { display: grid; gap: 34px; align-content: start; }
.gauge { position: relative; display: grid; gap: 8px; }
.gauge__enso { display: none; }
.gauge__n { font-weight: 700; font-size: 22px; color: var(--on-dark-2); }
.gauge__n b { font-weight: 800; font-size: clamp(64px, 7vw, 104px); line-height: .95; color: var(--peach); margin-right: 8px; letter-spacing: -.02em; }
.gauge__goal { font-size: 16px; font-weight: 600; color: var(--on-dark); }
.gauge__bar { height: 8px; border-radius: 4px; background: var(--line-dark); max-width: 460px; overflow: hidden; }
.gauge__bar i { display: block; height: 100%; width: var(--p, 0%); border-radius: 4px; background: linear-gradient(90deg, var(--sand), var(--peach)); transition: width 1.8s var(--ease); }
.gauge .fine { color: var(--on-dark-2); }
.socios__act { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; }
.socios__lit { width: 100%; font-weight: 600; color: var(--peach); }

.paths__list { list-style: none; padding: 0; }
.paths__list a { display: grid; grid-template-columns: 1fr auto; gap: 6px 24px; align-items: center; padding: 26px 0; border-top: 2px solid var(--ink); text-decoration: none; }
.paths__list li:last-child a { border-bottom: 2px solid var(--ink); }
.paths__t { font-size: clamp(22px, 2.3vw, 34px); font-weight: 800; text-transform: uppercase; letter-spacing: -.005em; line-height: 1.05; }
.paths__d { grid-column: 1; font-size: 16px; font-weight: 500; }
.paths__go { grid-column: 2; grid-row: 1 / span 2; width: 34px; height: 34px; transition: transform .3s var(--ease); }
.paths__list a:hover .paths__go { transform: translateX(8px); }

.logos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px 32px; align-items: center; padding: 20px 0 32px; }
.logos--inst { grid-template-columns: repeat(3, minmax(0, 220px)); }
.logo { display: grid; place-items: center; height: 64px; }
.logo img { max-height: 54px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(1) contrast(1.1); mix-blend-mode: multiply; opacity: .8; transition: filter .3s, opacity .3s; }
.logo:hover img { filter: none; opacity: 1; }
.logos--inst .logo { height: 80px; } .logos--inst .logo img { max-height: 74px; }
.logos__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; padding-top: 22px; border-top: 1px solid var(--line); }
@media (max-width: 960px) { .logos { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 560px) { .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); } .logos--inst { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Programme page: guests ---------- */
.guests { display: grid; gap: 22px; align-content: start; }
.guest { display: grid; gap: 8px; padding: 22px 0; border-top: 3px solid var(--ink); border-bottom: 1px solid var(--line); }
.guest__role { font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.guest__name { font-weight: 800; text-transform: uppercase; font-size: clamp(26px, 2.6vw, 40px); line-height: 1.05; }

/* ---------- Park page ---------- */
.parkmap { padding: 0 0 clamp(40px, 5vw, 64px); }
.frame { position: relative; overflow: hidden; background: var(--mist); }
.frame--evo { height: min(76vh, 860px); min-height: 460px; }
.frame--park { height: min(82vh, 920px); min-height: 460px; }
.frame--night { aspect-ratio: 1 / 1; border-radius: 12px; }
.parkmap__bar { max-width: 1280px; margin: 18px auto 0; padding: 0 var(--gutter); display: grid; grid-template-columns: minmax(280px, 460px) 1fr; gap: 12px 48px; align-items: center; }
.compare--inline { border: 0; padding: 0; }
@media (max-width: 760px) { .frame--park, .frame--evo { height: 70svh; min-height: 420px; } .parkmap__bar { grid-template-columns: 1fr; } }
.zones { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; }
.zones li { border-top: 1px solid var(--line); }
.zones button { width: 100%; display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; padding: 18px 0; border: 0; background: none; text-align: left; cursor: pointer; }
.zones .dot-num { width: 30px; height: 30px; font-size: 13px; margin-top: 1px; }
.zones__body { display: grid; }
.zones__name { font-weight: 800; font-size: 17px; text-transform: uppercase; letter-spacing: .01em; transition: color .2s; }
.zones__sub { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.zones__desc { font-size: 15px; line-height: 1.55; margin-top: 6px; }
.zones button:hover .zones__name, .zones button[aria-pressed="true"] .zones__name { color: var(--sea); }
.zones button[aria-pressed="true"] .dot-num { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ink); }
@media (max-width: 760px) { .zones { grid-template-columns: 1fr; } }
.faq__title { font-weight: 800; text-transform: uppercase; font-size: 22px; margin-top: 56px; margin-bottom: 10px; }
.faq { border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq summary { padding: 18px 0; cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 500; font-size: 28px; line-height: .8; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--ink-2); max-width: 60ch; }

/* ---------- Socios page (night) ---------- */
.night { background: linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%); color: var(--on-dark); padding: calc(var(--head-h) + clamp(40px, 6vw, 88px)) var(--gutter) clamp(56px, 7vw, 104px); }
.night__inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 64px; align-items: center; }
.night__text { display: grid; gap: 28px; align-content: start; }
.night .lead { color: var(--on-dark-2); }
.night__map { display: grid; gap: 12px; }
.night .frame { background: var(--night); }
.night .frame__cap { color: var(--on-dark-2); }
@media (max-width: 960px) { .night__inner { grid-template-columns: 1fr; } }
body[data-page="socios"] .head:not(.is-solid) { color: #fff; }
body[data-page="socios"] .head:not(.is-solid) .head__app { background: #fff; color: var(--ink); }

/* ---------- Story layout: content on the left, the park stays on the right ---------- */
.story { display: grid; grid-template-columns: minmax(460px, 44%) minmax(0, 1fr); grid-template-areas: "chapters stage"; }
.story__chapters { grid-area: chapters; position: relative; z-index: 2; }
.story__stage { grid-area: stage; position: sticky; top: 0; height: 100vh; height: 100dvh; align-self: start; }
.chapter { min-height: 100vh; padding: clamp(48px, 6vw, 88px) clamp(24px, 4.4vw, 76px) 120px; display: grid; gap: 22px; align-content: start; }
.chapter > * { max-width: 560px; }
.chapter + .chapter { border-top: 1px solid var(--line); }
.chapter__help { font-size: 15px; font-weight: 500; color: var(--ink-2); }

/* Programme */
.live { padding: 14px 16px; border-radius: var(--radius); background: var(--mist); box-shadow: inset 4px 0 0 var(--sea); display: grid; gap: 4px; font-size: 15px; }
.live__tag { font-weight: 800; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--sea); }
.live b { font-weight: 700; margin-right: 6px; }
.agenda__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.tabs { display: flex; gap: 26px; }
.tabs button { border: 0; background: none; padding: 8px 0; cursor: pointer; font-weight: 800; text-transform: uppercase; font-size: 19px; color: var(--ink-2); opacity: .6; border-bottom: 3px solid transparent; }
.tabs button[aria-selected="true"] { color: var(--ink); opacity: 1; border-color: var(--ink); }
.myfest { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; cursor: pointer; font-size: 14px; font-weight: 700; padding: 8px 0; }
.myfest svg { width: 18px; height: 18px; color: var(--bloom); }
.myfest[aria-pressed="true"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.myfest[aria-pressed="true"] svg { fill: var(--bloom); }
.filters { display: flex; flex-wrap: wrap; gap: 4px 20px; border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.filters button { border: 0; background: none; padding: 6px 0; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.filters button[aria-pressed="true"] { color: var(--ink); font-weight: 800; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--turq); }
.prog { list-style: none; padding: 0; }
.prog__item { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 16px; align-items: start; padding: 15px 0; border-bottom: 1px solid var(--line); transition: background .3s; scroll-margin-top: calc(var(--head-h) + 40px); }
.prog__item.is-live { background: var(--mist); box-shadow: inset 4px 0 0 var(--sea); padding-left: 14px; }
.prog__item.is-target { animation: flash 1.8s var(--ease); }
@keyframes flash { 0%, 50% { background: var(--sand-2); } }
.prog__time { font-weight: 800; font-size: 15px; font-variant-numeric: tabular-nums; padding-top: 2px; }
.prog__time span { display: block; font-weight: 500; color: var(--ink-2); font-size: 13px; }
.prog__title { font-size: 17px; font-weight: 700; line-height: 1.3; }
.prog__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; margin-top: 4px; font-size: 14px; color: var(--ink-2); }
.prog__zone { display: inline-flex; align-items: center; gap: 6px; }
.prog__zone .dot-num { width: 20px; height: 20px; font-size: 10px; }
.tag { font-weight: 600; font-size: 13px; }
.tag::before { content: "· "; }
.prog__acts { display: flex; }
.prog__acts button, .prog__acts a { width: 38px; height: 38px; display: grid; place-items: center; border: 0; background: none; cursor: pointer; color: var(--ink-2); border-radius: var(--radius); }
.prog__acts button:hover, .prog__acts a:hover { color: var(--ink); background: var(--mist); }
.prog__acts svg { width: 19px; height: 19px; }
.prog__acts [data-fav][aria-pressed="true"] { color: var(--bloom); }
.prog__acts [data-fav][aria-pressed="true"] svg { fill: currentColor; }
.prog__empty { padding: 22px 0; color: var(--ink-2); font-weight: 500; border-bottom: 1px solid var(--line); }
.agenda__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; }
.agenda__actions .fine { width: 100%; }
.dot-num { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--pin); color: var(--pin-ink); font: 700 11px/1 var(--sans); flex: none; }
.clock-m { display: none; }

/* Sponsorship */
.block { display: grid; gap: 12px; padding-top: 24px; border-top: 3px solid var(--ink); }
.cfg__zones { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.cfg__zones button { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 4px 0; border: 0; border-bottom: 1px solid var(--line); background: none; cursor: pointer; text-align: left; font-size: 15px; font-weight: 600; }
.cfg__zones button:hover { color: var(--sea); }
.cfg__zones button[aria-pressed="true"] { font-weight: 800; }
.cfg__zones button[aria-pressed="true"] .dot-num { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ink); }
.cfg__zones button:disabled { color: var(--ink-2); opacity: .7; cursor: not-allowed; }
.cfg__note { font-weight: 500; font-style: normal; }
em { font-style: normal; }
.cfg__upload { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.drop { position: relative; display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 18px; border: 2px dashed var(--line-strong); border-radius: var(--radius); cursor: pointer; font-size: 15px; font-weight: 700; transition: border-color .2s, background .2s; }
.drop:hover, .drop.is-over { border-color: var(--ink); background: var(--mist); }
.drop:focus-within { outline: 3px solid var(--sea); outline-offset: 3px; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop img { max-height: 36px; max-width: 90px; object-fit: contain; }
.cfg__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }

/* Market */
.stalls { display: grid; gap: 8px; }
.stalls__row { display: grid; grid-template-columns: 78px 1fr; gap: 10px; align-items: center; }
.stalls__label { font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); line-height: 1.2; }
.stalls__cells { display: grid; grid-template-columns: repeat(15, minmax(0, 1fr)); gap: 4px; }
.stalls__cells button { aspect-ratio: 1; min-height: 26px; padding: 0; border: 1.5px solid var(--line-strong); border-radius: 4px; background: #fff; cursor: pointer; font: 700 10px/1 var(--sans); color: var(--ink); transition: background .15s, border-color .15s; }
.stalls__cells button.is-premium { background: var(--sand-2); border-color: var(--sand); }
.stalls__cells button:hover:not(:disabled) { border-color: var(--ink); }
.stalls__cells button:disabled { background: repeating-linear-gradient(135deg, #E6EBEC 0 4px, #F3F6F6 4px 8px); border-color: transparent; color: #8C9A9F; cursor: not-allowed; }
.stalls__cells button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.stalls__ends { display: flex; justify-content: space-between; margin-left: 88px; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.legend { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.sw { width: 16px; height: 16px; border: 1.5px solid var(--line-strong); border-radius: 3px; background: #fff; }
.sw--premium { background: var(--sand-2); border-color: var(--sand); }
.sw--taken { background: repeating-linear-gradient(135deg, #E6EBEC 0 3px, #F3F6F6 3px 6px); border-color: transparent; }
.stall-pick { font-weight: 800; text-transform: uppercase; font-size: 20px; min-height: 1.2em; }
.stall-pick:empty { display: none; }
.ws { display: grid; gap: 22px; }

/* ---------- The park (map) ---------- */
.map { --sky-top: #93C9D3; --sky-bot: #EDF5F4; position: absolute; inset: 0; overflow: hidden; isolation: isolate; background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-bot) 78%); user-select: none; -webkit-user-select: none; }
.map__stage { position: absolute; inset: 0; }
.map__stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; cursor: grab; }
.map__pins { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 5; }
.map__loading { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.map.is-ready .map__loading { display: none; }
.map__nowebgl { display: none; position: absolute; inset: 0; }
.map__nowebgl img { width: 100%; height: 100%; object-fit: cover; }
.map__nowebgl p { position: absolute; left: 20px; bottom: 20px; right: 20px; color: #fff; font-weight: 600; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
.map.is-nowebgl .map__nowebgl { display: block; }
.map.is-nowebgl .map__loading, .map.is-nowebgl .map__tools { display: none; }

.pin { position: absolute; left: 0; top: 0; pointer-events: auto; display: flex; align-items: center; gap: 6px; margin: -12px 0 0 -12px; padding: 0; border: 0; background: none; cursor: pointer; will-change: transform; }
.pin.is-hidden { display: none; }
.pin__num { position: relative; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #fff; color: var(--ink); font: 800 11px/1 var(--sans); box-shadow: 0 0 0 1.5px var(--ink), 0 4px 10px -4px rgba(13, 43, 57, .6); transition: transform .25s var(--ease), background .2s, color .2s; }
.pin__num--txt { font-size: 8.5px; letter-spacing: .02em; }
.pin__label { display: grid; padding: 4px 9px 5px; border-radius: 6px; background: #fff; box-shadow: 0 4px 14px -6px rgba(13, 43, 57, .45); text-align: left; opacity: 0; transform: translateX(-4px); pointer-events: none; transition: opacity .2s, transform .25s var(--ease); white-space: nowrap; }
.pin__name { font: 700 12.5px/1.35 var(--sans); color: var(--ink); }
.pin__sub { font: 600 11.5px/1.3 var(--sans); color: var(--sea); }
.pin__sub:empty { display: none; }
.pin:not(.is-collapsed) .pin__label { opacity: 1; transform: none; }
.pin.is-collapsed .pin__label { opacity: 0; }
.pin.is-flip .pin__label { position: absolute; right: calc(100% + 6px); top: 50%; transform: translate(4px, -50%); }
.pin.is-flip:not(.is-collapsed) .pin__label { transform: translate(0, -50%); }
.pin.is-live .pin__num { background: var(--sea); color: #fff; box-shadow: 0 0 0 1.5px #fff, 0 4px 10px -4px rgba(13, 43, 57, .6); }
.pin.is-live .pin__num::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--sea); animation: ring 2.4s var(--ease) infinite; }
@keyframes ring { 0% { transform: scale(.85); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }
.pin:hover .pin__num, .pin.is-hovered .pin__num, .pin.is-selected .pin__num { background: var(--ink); color: #fff; transform: scale(1.14); }
.pin.is-sponsor .pin__num { background: var(--sand); color: var(--ink); }
.pin.is-sponsor .pin__sub { color: #8A5A12; }
.pin.is-reserved .pin__num { background: #E3E8E9; color: var(--ink-2); box-shadow: 0 0 0 1.5px var(--ink-2); }
.pin.is-reserved .pin__sub { color: var(--ink-2); }
.pin.is-dim { opacity: .35; }
.pin--poi { cursor: default; }
.pin--poi .pin__num svg { width: 12px; height: 12px; }

.map__tools { position: absolute; top: 14px; right: 14px; z-index: 10; display: grid; gap: 8px; justify-items: center; }
.story .map__tools { top: calc(var(--head-h) + 14px); right: 18px; }
.tool { width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: var(--radius); background: #fff; box-shadow: 0 2px 8px -3px rgba(13, 43, 57, .4); cursor: pointer; color: var(--ink); transition: background .2s; }
.tool:hover { background: var(--mist); }
.tool svg { width: 18px; height: 18px; stroke-width: 2; }
.map__north { width: 40px; height: 40px; display: grid; place-items: center; font: 800 13px/1 var(--sans); color: var(--ink); }
.map__north span { display: inline-block; transition: transform .1s linear; }
.map__north span::before { content: ""; display: block; width: 2px; height: 9px; margin: 0 auto 2px; background: var(--ink); }
.map.is-night .map__north { color: #fff; } .map.is-night .map__north span::before { background: #fff; }
.map__exit { display: none; }
.map.is-immersive { position: fixed; inset: 0; z-index: 1000; height: 100vh; height: 100dvh; }
.map.is-immersive .map__exit { display: grid; }
.map.is-immersive [data-fullscreen] { display: none; }
.map.is-immersive .map__tools { top: 16px; right: 16px; }

.map__era { position: absolute; left: clamp(16px, 3vw, 48px); top: 14px; z-index: 4; font-weight: 800; font-size: clamp(48px, 6vw, 104px); line-height: 1; letter-spacing: -.02em; color: var(--ink); pointer-events: none; }

.map__panel { position: absolute; top: 14px; right: 66px; width: 340px; max-height: calc(100% - 28px); overflow: auto; padding: 22px 22px 20px; z-index: 11; background: #fff; border-radius: 12px; box-shadow: 0 20px 44px -18px rgba(13, 43, 57, .45); animation: panelIn .35s var(--ease); }
.story .map__panel { top: calc(var(--head-h) + 14px); right: 72px; max-height: calc(100% - var(--head-h) - 140px); }
.map.is-immersive .map__panel { top: 16px; right: 68px; max-height: calc(100% - 32px); }
@keyframes panelIn { from { opacity: 0; transform: translateY(6px); } }
.panel__close { position: absolute; top: 8px; right: 8px; width: 38px; height: 38px; border: 0; border-radius: var(--radius); background: none; cursor: pointer; display: grid; place-items: center; }
.panel__close:hover { background: var(--mist); }
.panel__close svg { width: 18px; height: 18px; }
.panel__head { display: grid; grid-template-columns: 32px 1fr; gap: 12px; padding-right: 30px; }
.panel__head .dot-num { width: 32px; height: 32px; font-size: 13px; margin-top: 2px; }
.panel__cat { font-weight: 700; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.panel__title { font-weight: 800; font-size: 22px; line-height: 1.1; text-transform: uppercase; }
.panel__sub { font-size: 14px; font-weight: 600; color: var(--ink-2); margin-top: 2px; }
.panel__desc { margin-top: 12px; font-size: 15px; line-height: 1.6; }
.panel__h { margin: 18px 0 4px; font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.sessions { list-style: none; padding: 0; }
.sessions li { display: grid; grid-template-columns: 92px 1fr; gap: 8px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.4; }
.sessions time { font-weight: 700; font-variant-numeric: tabular-nums; }
.sessions li.is-live strong { color: var(--sea); }
.map__panel > .link-btn { margin-top: 12px; }
.link-btn { justify-self: start; border: 0; background: none; padding: 6px 0 0; color: var(--ink); font: 700 14px/1.3 var(--sans); cursor: pointer; text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--turq); text-underline-offset: 5px; display: inline-flex; gap: 6px; align-items: center; }
.link-btn svg { width: 14px; height: 14px; }
.panel__sponsor { margin-top: 16px; padding: 14px 0 0; border-top: 3px solid var(--sand); display: grid; gap: 4px; font-size: 14px; }

.map__clock { position: absolute; left: 50%; bottom: 22px; z-index: 10; width: min(660px, calc(100% - 44px)); transform: translateX(-50%); display: grid; grid-template-columns: auto auto auto 1fr; gap: 16px; align-items: center; padding: 10px 20px 10px 12px; border-radius: 12px; background: #fff; box-shadow: 0 10px 30px -14px rgba(13, 43, 57, .5); }
.clock__day { display: flex; gap: 12px; }
.clock__day button { border: 0; background: none; padding: 6px 0; cursor: pointer; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
.clock__day button[aria-pressed="true"] { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.clock__play { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; display: grid; place-items: center; cursor: pointer; }
.clock__play svg { width: 16px; height: 16px; }
.clock__play .i-pause { display: none; } .clock__play[aria-pressed="true"] .i-pause { display: block; } .clock__play[aria-pressed="true"] .i-play { display: none; }
.clock__time { font-weight: 800; font-size: 24px; font-variant-numeric: tabular-nums; min-width: 4.4ch; }
.clock__track { position: relative; }
.clock__marks { position: absolute; left: 12px; right: 12px; top: 3px; height: 0; pointer-events: none; }
.clock__marks i { position: absolute; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--c, var(--sea)); }

.map__lanterns { position: absolute; left: 18px; bottom: 16px; z-index: 8; font-weight: 600; font-size: 15px; color: var(--peach); }
.map__lanterns b { font-weight: 800; font-size: 36px; margin-right: 6px; }
.map__hint { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 20; padding: 10px 16px; border-radius: var(--radius); background: rgba(13, 43, 57, .9); color: #fff; font-size: 14px; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .25s; }
.map__hint.is-visible { opacity: 1; }
.map .map__credit { position: absolute; right: 10px; bottom: 4px; z-index: 5; margin: 0; font-size: 10.5px; line-height: 1.4; color: rgba(13, 43, 57, .62); pointer-events: auto; }
.map__credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.map.is-immersive .map__credit { bottom: 6px; }
.map__explore { display: none; }

/* ---------- Footer ---------- */
.foot { background: var(--teal); color: var(--on-dark); padding: clamp(56px, 6vw, 88px) var(--gutter) 40px; }
.foot__inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: auto 1fr; gap: 28px 56px; align-items: start; }
.foot__mark { grid-row: span 2; width: clamp(120px, 12vw, 168px); }
.foot__mark img { width: 100%; height: auto; }
.foot__line { font-weight: 600; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; max-width: 40ch; align-self: center; }
.foot__nav { display: flex; flex-wrap: wrap; gap: 8px 26px; padding: 18px 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.foot__nav a { text-decoration: none; }
.foot__links { grid-column: 1 / -1; list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; font-weight: 600; }
.foot__nav a:hover, .foot__links a:hover, .foot__legal a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot__links a, .foot__legal a { text-decoration: none; }
.foot__legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 22px; padding-top: 22px; border-top: 1px solid var(--line-dark); font-size: 13px; color: var(--on-dark-2); }
.foot__proto { margin-left: auto; }
@media (max-width: 760px) { .foot__inner { grid-template-columns: 1fr; } .foot__mark { grid-row: auto; } }

/* ---------- Tablet & mobile ---------- */
@media (max-width: 1023px) {
  html { scroll-padding-top: calc(var(--head-h) + 12px); }
  html:has(.story) { scroll-padding-top: calc(var(--head-h) + 34svh); }
  .story { display: block; }
  .story__stage { position: sticky; top: var(--head-h); height: 34vh; height: 34svh; z-index: 5; }
  .chapter { min-height: 0; padding: 36px 20px 56px; gap: 18px; }
  .story .map__tools, .map__tools { top: 8px; right: 8px; }
  .map__tools .tool:not([data-fullscreen]):not([data-exit]) { display: none; }
  .map__tools .map__north { display: none; }
  .map.is-immersive .map__tools .tool { display: grid; }
  .map__era { top: 6px; left: 14px; font-size: 44px; }
  .map__clock { display: none; }
  .map.is-immersive .map__clock { display: grid; grid-template-columns: auto auto 1fr; bottom: calc(12px + env(safe-area-inset-bottom)); }
  .map.is-immersive .map__clock .clock__day { grid-column: 1 / -1; }
  .map__lanterns { left: 14px; bottom: 10px; font-size: 13px; } .map__lanterns b { font-size: 26px; }
  .map__explore { display: inline-flex; position: absolute; left: 10px; bottom: 10px; z-index: 9; align-items: center; min-height: 40px; padding: 0 14px; border: 0; border-radius: var(--radius); background: #fff; box-shadow: 0 2px 8px -3px rgba(13, 43, 57, .4); font: 700 13px/1 var(--sans); color: var(--ink); cursor: pointer; }
  [data-mode="socios"] .map__explore, .map.is-immersive .map__explore { display: none; }
  .map__panel, .story .map__panel { position: fixed; top: auto; left: 0; right: 0; bottom: 0; width: auto; max-height: 60vh; z-index: 700; border-radius: 16px 16px 0 0; padding-bottom: calc(20px + env(safe-area-inset-bottom)); box-shadow: 0 -20px 40px -20px rgba(13, 43, 57, .45); }
  .map.is-immersive .map__panel { top: auto; right: 0; bottom: 0; max-height: 46vh; }
  .clock-m { display: grid; grid-template-columns: auto auto 1fr; gap: 12px; align-items: center; position: sticky; top: calc(var(--head-h) + 34svh); z-index: 4; padding: 10px 0; background: #fff; border-bottom: 1px solid var(--line); }
  .clock-m .clock__day { grid-column: 1 / -1; }
  .clock-m .clock__time { font-size: 20px; }
}
@media (max-width: 560px) {
  .figures { gap: 6px 24px; }
  .figures dt { font-size: 40px; }
  .cfg__zones { grid-template-columns: 1fr; }
  .stalls__row { grid-template-columns: 1fr; gap: 4px; }
  .stalls__cells { gap: 3px; }
  .stalls__cells button { min-height: 0; font-size: 9px; border-radius: 3px; }
  .stalls__ends { margin-left: 0; }
  .prog__item { grid-template-columns: 54px minmax(0, 1fr); }
  .prog__acts { grid-column: 2; margin-left: -8px; }
  .tabs button { font-size: 17px; }
}

/* ---------- Embed (WebView in the WIP Care app): programa.html?embed=1 ---------- */
.is-embed .head, .is-embed .pagehead, .is-embed .sec, .is-embed .story__chapters, .is-embed .foot, .is-embed .map__explore { display: none !important; }
.is-embed .story { display: block; border: 0; }
.is-embed .story .story__stage { position: fixed !important; inset: 0 !important; top: 0 !important; height: 100vh !important; height: 100dvh !important; }
.is-embed .story .map__tools { top: 12px !important; }
.is-embed .map__tools .tool { display: grid !important; }
.is-embed [data-fullscreen] { display: none !important; }
.is-embed .map__clock { display: grid !important; }
.is-embed .map__panel { position: absolute; top: 12px; left: 12px; right: 60px; bottom: auto; width: auto; max-height: calc(100% - 160px); border-radius: 12px; }
@media (max-width: 1023px) {
  .is-embed .map__clock { grid-template-columns: auto auto 1fr; width: calc(100% - 24px); bottom: calc(12px + env(safe-area-inset-bottom)); }
  .is-embed .map__clock .clock__day { grid-column: 1 / -1; }
}

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