/* WIP Festival 2027 · site v6
   One world for the whole site: the poster's sky stays behind every page and changes with the time of day.
   - no coloured bands: every section sits on the same sky (data-sky picks its moment of the day);
   - one layout that repeats: what it is on the left, what you can do or see on the right;
   - every page ends on the same scene at night, with one lantern per socio, then the footer (the lawn at night).
   components.css holds the shared parts (map, agenda, forms); this file is the look. */

:root {
  --side: clamp(20px, 6vw, 112px);
  --wrap: 1360px;
  --left: max(var(--side), calc((100vw - var(--wrap)) / 2 + var(--side)));
  --head-bg: #3FA6C6;
  --ground-night: #131E16;
}

/* Smooth scrolling (Lenis) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }

html { background: #3FA6C6; }
body { background: transparent; }
img { height: auto; }

/* ---------- The sky ---------- */
.sky { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, #3FA6C6 0%, #74C6DF 30%, #B9CFE3 55%, #E6C3D8 78%, #F2C6C6 100%); }
.sky i { position: absolute; inset: 0; opacity: 0; will-change: opacity; }
.sky__glow { position: absolute; left: -25%; right: -25%; bottom: -45%; height: 95%; z-index: 9; background: radial-gradient(closest-side, rgba(255, 196, 140, .7), rgba(255, 196, 140, 0)); opacity: 0; will-change: opacity; }
/* The air: the poster's own clouds drift across the sky, the sun follows the time of day */
.sky__air { position: absolute; inset: 0; z-index: 5; overflow: hidden; }
.sky__sun { position: absolute; left: var(--sun-x, 50vw); top: var(--sun-y, 20vh); width: 74px; height: 74px; margin: -37px 0 0 -37px; border-radius: 50%; background: radial-gradient(circle, var(--sun-c, #FFFBEF) 0 46%, color-mix(in srgb, var(--sun-c, #FFFBEF) 60%, transparent) 58%, transparent 72%); opacity: var(--sun-o, 0); transition: opacity .4s; }
.sky__sun::after { content: ''; position: absolute; left: 50%; top: 50%; width: 620px; height: 620px; margin: -310px 0 0 -310px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--sun-c, #FFFBEF) 55%, transparent), transparent); }
.sky__c { position: absolute; top: 0; opacity: var(--clouds, .9); will-change: transform; }
.sky__c img { display: block; width: 100%; height: auto; filter: brightness(var(--cb, 1)); animation: drift 70s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translateX(-4vw); } to { transform: translateX(4vw); } }
@media (prefers-reduced-motion: reduce) { .sky__c img { animation: none; } }

/* ---------- Header: on the sky, hides while reading ---------- */
.head { transition: transform .5s var(--ease), color .4s, background .3s; }
.head.is-solid { background: var(--head-bg); box-shadow: none; }
.head.is-away { transform: translateY(-101%); }
html.sky-night .head { color: #fff; }
html.sky-night .head__app { background: #fff; color: var(--ink); }
.langs { position: relative; }
.langs summary { list-style: none; display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding: 0 6px; cursor: pointer; font-weight: 700; font-size: 13px; letter-spacing: .08em; }
.langs summary::-webkit-details-marker { display: none; }
.langs summary svg { width: 15px; height: 15px; transition: transform .25s; }
.langs[open] summary svg { transform: rotate(180deg); }
.langs ul { position: absolute; right: 0; top: calc(100% + 6px); z-index: 10; list-style: none; margin: 0; padding: 8px; min-width: 170px; border-radius: 12px; background: #fff; color: var(--ink); box-shadow: 0 18px 40px -16px rgba(13, 43, 57, .45); }
.langs a { display: flex; justify-content: space-between; gap: 16px; padding: 9px 12px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 15px; }
.langs a:hover { background: var(--mist); }
.langs a[aria-current="true"] { font-weight: 800; }
.langs a span { font-weight: 700; font-size: 12px; letter-spacing: .08em; opacity: .55; }
.menu__langs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.menu__langs a { font-weight: 700; text-decoration: none; }
.menu__langs a span { display: none; }
.menu__langs a[aria-current="true"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
@media (max-width: 1180px) { .head__end .langs { display: none; } }

/* ---------- Home hero: the poster; on scroll the landscape melts into the sky ---------- */
.hero { background: transparent; }
.hero picture { display: contents; }
.hero__text { --u: clamp(34px, min(7.6vw, 11.2vh, calc((100vh - 32.3vw - 110px) / 3.3)), 150px); transform: translate3d(0, calc(var(--p, 0) * -8vh), 0); opacity: calc(1 - var(--p, 0) * 1.7); }
.hero__art {
  -webkit-mask-image: linear-gradient(to top, transparent calc(var(--p, 0) * 170% - 45%), #000 calc(var(--p, 0) * 170% + 12%));
  mask-image: linear-gradient(to top, transparent calc(var(--p, 0) * 170% - 45%), #000 calc(var(--p, 0) * 170% + 12%));
}
@media (max-aspect-ratio: 4/5) {
  .hero { background: transparent; }
  .hero__text { --u: clamp(34px, 10.8vw, 72px); }
  .hero__art {
    -webkit-mask-image: linear-gradient(to top, transparent calc(var(--p, 0) * 170% - 45%), #000 calc(var(--p, 0) * 170% + 12%), #000 88%, transparent);
    mask-image: linear-gradient(to top, transparent calc(var(--p, 0) * 170% - 45%), #000 calc(var(--p, 0) * 170% + 12%), #000 88%, transparent);
  }
}

/* ---------- Page heads (inner pages) ---------- */
.phead { position: relative; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: clamp(40px, 6vw, 120px); align-items: end; padding: calc(var(--head-h) + clamp(56px, 13vh, 150px)) var(--left) clamp(56px, 9vh, 110px); }
.phead__text { display: grid; gap: 24px; align-content: end; max-width: 44rem; }
.phead h1 { font-weight: 800; text-transform: uppercase; font-size: clamp(48px, 7vw, 120px); line-height: .9; letter-spacing: -.015em; text-wrap: balance; }
.phead__lead { font-weight: 500; font-size: clamp(19px, 1.55vw, 24px); line-height: 1.5; max-width: 36em; }
.phead__media { margin: 0; justify-self: end; width: 100%; }
.phead__media--poster { max-width: 340px; }
.phead__media--poster img { border-radius: 10px; box-shadow: 0 30px 60px -30px rgba(13, 43, 57, .55); }
.phead--legal { grid-template-columns: 1fr; padding-bottom: 40px; }
.phead--legal h1 { font-size: clamp(40px, 5vw, 80px); }
.phead--center { grid-template-columns: 1fr; justify-items: center; text-align: center; min-height: 80vh; align-items: center; }
.phead--center .phead__text { justify-items: center; }
.phead--center .ch__actions { justify-content: center; }

/* ---------- Chapters: one layout for all ---------- */
.ch { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: clamp(40px, 6vw, 120px); align-items: center; padding: clamp(84px, 14vh, 160px) var(--left); }
.ch__text { display: grid; gap: 24px; align-content: start; max-width: 35rem; }
.ch h2, .nightscene h2, .nightscene h1 { font-weight: 800; text-transform: uppercase; font-size: clamp(40px, 4.7vw, 78px); line-height: .94; letter-spacing: -.012em; text-wrap: balance; }
.ch p, .phead p { font-weight: 500; font-size: 18px; line-height: 1.6; max-width: 34em; }
.ch .ch__lead, .phead .phead__lead, .nightscene p { font-size: clamp(19px, 1.45vw, 23px); line-height: 1.55; }
.ch b, .nightscene b, .phead b { font-weight: 800; }
.ch__kicker, .ch p.ch__kicker, .phead p.ch__kicker { font-weight: 700; font-size: 14px; letter-spacing: .2em; text-transform: uppercase; }
.ch__h3 { font-weight: 800; text-transform: uppercase; font-size: clamp(22px, 1.8vw, 28px); line-height: 1.05; margin-bottom: 12px; }
.ch__links { display: flex; flex-wrap: wrap; gap: 4px 30px; }
.ch__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.ch__fine, .ch p.ch__fine, .phead p.ch__fine { font-size: 14px; font-weight: 600; line-height: 1.5; opacity: .78; }
.ch__side { justify-self: end; width: min(100%, 31rem); }
.ch__side--wide { width: min(100%, 40rem); }
.ch__photo { margin: 0; display: grid; gap: 10px; }
.ch__photo img { width: 100%; height: auto; border-radius: 12px; }
.ch__photo--plain img { border-radius: 12px; }
.text-link { text-decoration-color: currentColor; text-decoration-thickness: 1.5px; }
.text-link:hover { text-decoration-thickness: 2.5px; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost:hover { background: rgba(13, 43, 57, .08); }

html.sky-night main { color: #fff; }
html.sky-night main .ch .btn:not(.btn--light) { background: #fff; color: var(--ink); }
main { transition: color .6s; }

/* Mailing list */
.notify { display: grid; gap: 14px; }
.notify h3 { font-weight: 800; text-transform: uppercase; font-size: clamp(22px, 1.8vw, 28px); line-height: 1.05; }
.notify > p { font-size: 17px; }
.notify__row { display: flex; gap: 8px; margin-top: 6px; }
.notify input[type="email"] { flex: 1; min-width: 0; min-height: 56px; border: 0; border-radius: var(--radius); background: #fff; padding: 0 18px; font: 500 17px/1.3 var(--sans); color: var(--ink); box-shadow: 0 1px 2px rgba(13, 43, 57, .1); }
.notify input[type="email"]::placeholder { color: #7D8E95; }
.notify input[type="email"]:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ink); }
.notify .btn { min-height: 56px; }
.consent-box { display: inline-flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 14px; font-weight: 500; line-height: 1.5; }
.consent-box input { appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; margin: 1px 0 0; border: 2px solid currentColor; border-radius: 4px; background: transparent; cursor: pointer; display: grid; place-items: center; }
.consent-box 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; }
.consent-box input:checked { background: var(--ink); border-color: var(--ink); }
.consent-box input:checked::after { transform: rotate(-45deg) scale(1); }
.consent-box a { text-underline-offset: 3px; }
.notify .signup__msg:empty { display: none; }
.notify__cd { font-size: 15px; font-weight: 700; padding-top: 6px; }

/* The map floats in the sky (no frame) */
.map:not(.is-immersive) { background: transparent; }
.map.is-immersive { background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-bot) 78%); }
.map__era { font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.ch--map { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); padding-right: 0; }
.ch__media { position: relative; margin: 0; }
.ch__media--map { height: min(86vh, 900px); min-height: 480px; }
.ch--map .map [data-zoom], .ch--map .map [data-reset], .ch--map .map .map__north { display: none; }
.ch--map .map:not(.is-immersive) .map__tools { top: auto; bottom: 18px; right: var(--side); }
.ch--map .map__era { left: 0; top: 2%; font-size: clamp(56px, 6.4vw, 112px); }
.ch__cap { position: absolute; left: 0; bottom: 22px; font-size: 13px; font-weight: 600; opacity: .7; max-width: 32ch; }
.years { display: grid; grid-template-columns: auto minmax(120px, 1fr) auto; gap: 18px; align-items: center; max-width: 26rem; }
.years__y { font-weight: 800; font-size: 22px; opacity: .45; transition: opacity .3s; cursor: pointer; }
.years__y.is-on { opacity: 1; }
.press-line { font-weight: 700; }

/* Park page: the map, full width */
.parkmap { padding: 0 0 clamp(40px, 6vh, 72px); }
.parkmap__frame { position: relative; height: min(84vh, 920px); min-height: 460px; }
.parkmap .map__era { left: var(--left); top: 0; font-size: clamp(56px, 6.4vw, 112px); }
.parkmap__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 48px; padding: 18px var(--left) 0; }
.parkmap__bar .ch__fine { font-size: 14px; font-weight: 600; opacity: .78; }

/* Story layout (programme, sponsorship, market): the park stays on the right */
.story__chapters .chapter { padding-left: var(--left); }
.story .map__tools { top: calc(var(--head-h) + 14px); }
/* The park fades out at the edges of its column instead of being cut */
.story .map:not(.is-immersive) .map__stage {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 9%), linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 9%), linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%);
  mask-composite: intersect;
}
.chapter + .chapter { border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent); }
.chapter h2 { font-weight: 800; text-transform: uppercase; font-size: clamp(32px, 3.2vw, 52px); line-height: .96; }
.clock-m { background: rgba(255, 255, 255, .94); }

/* App */
.ch .qr { display: grid; grid-template-columns: 112px 1fr; align-items: center; gap: 16px; max-width: 340px; }
.ch .qr__code { width: 112px; height: 112px; padding: 9px; border-radius: 12px; background: #fff; }
.ch .qr figcaption { font-size: 14px; font-weight: 600; }
.ch .btn.is-suggested { background: var(--teal); }
.phone { margin: 0 auto; width: min(100%, 300px); padding: 10px; border-radius: 44px; background: #0D2B39; box-shadow: 0 40px 80px -40px rgba(13, 43, 57, .7); }
.phone img { width: 100%; height: auto; border-radius: 34px; }
.phone--small { width: min(100%, 240px); border-radius: 38px; }
.phone--small img { border-radius: 30px; }

/* Take part */
.ways { list-style: none; padding: 0; margin: 0; }
.ways a { display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; align-items: center; padding: 24px 0; border-top: 1px solid color-mix(in srgb, currentColor 26%, transparent); text-decoration: none; }
.ways li:last-child a { border-bottom: 1px solid color-mix(in srgb, currentColor 26%, transparent); }
.ways__t { font-weight: 800; text-transform: uppercase; font-size: clamp(20px, 1.75vw, 26px); line-height: 1.1; }
.ways__d { grid-column: 1; font-size: 16px; font-weight: 500; line-height: 1.5; }
.ways svg { grid-column: 2; grid-row: 1 / span 2; width: 28px; height: 28px; transition: transform .35s var(--ease); }
.ways a:hover svg { transform: translateX(8px); }

/* Files and links (press) */
.files { list-style: none; padding: 0; margin: 0; }
.files a { display: grid; grid-template-columns: 1fr auto; gap: 2px 20px; align-items: center; padding: 18px 0; border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent); text-decoration: none; }
.files li:last-child a { border-bottom: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
.files__t { font-weight: 800; font-size: 18px; line-height: 1.25; }
.files__d { grid-column: 1; font-size: 14px; font-weight: 600; opacity: .7; }
.files svg { grid-column: 2; grid-row: 1 / span 2; width: 24px; height: 24px; transition: transform .3s var(--ease); }
.files a:hover svg { transform: translateY(3px); }
.files--links a:hover svg { transform: translateX(6px); }

/* Facts, FAQ, zones, steps on the sky */
.facts > div { grid-template-columns: 180px 1fr; }
.facts dd { font-size: 17px; font-weight: 500; line-height: 1.6; }
.facts, .facts > div, .faq, .faq details, .zones li { border-color: color-mix(in srgb, currentColor 20%, transparent); }
.faq details p { color: inherit; opacity: .85; }
.zones { gap: 0 48px; }
.steps li { border-color: color-mix(in srgb, currentColor 30%, transparent) !important; }

/* Partners: the logos sit on the golden sky (multiply removes their white backgrounds) */
.ch--wide { grid-template-columns: 1fr; row-gap: 36px; }
.ch--wide .ch__text { max-width: 44rem; }
.ch__full { display: grid; gap: 28px; }
.ch .logos { display: flex; flex-wrap: wrap; align-items: center; gap: 26px 46px; padding: 0; }
.ch .logo { height: 54px; }
.ch .logo img { max-height: 46px; max-width: 128px; mix-blend-mode: multiply; filter: grayscale(1) contrast(1.2) brightness(.92); opacity: .82; }
.ch .logo:hover img { filter: grayscale(1) contrast(1.2) brightness(.6); opacity: 1; }
.ch .logos--inst { gap: 30px 64px; }
.ch .logos--inst .logo { height: 84px; }
.ch .logos--inst .logo img { max-height: 78px; max-width: 220px; }

/* 2026: wide photo and gallery */
.wide-photo { margin: 0 var(--left); }
.wide-photo img { width: 100%; height: auto; border-radius: 14px; }
.gallery { list-style: none; margin: 0; padding: 0; columns: 3 260px; column-gap: 14px; }
.gallery li { break-inside: avoid; margin-bottom: 14px; }
.gallery a { display: block; border-radius: 10px; overflow: hidden; }
.gallery img { width: 100%; height: auto; display: block; transition: transform .6s var(--ease); }
.gallery a:hover img { transform: scale(1.03); }

/* Legal pages */
.legal { max-width: 46rem; margin-left: var(--left); padding: 0 var(--side) clamp(80px, 12vh, 140px) 0; }
.legal h2 { font-weight: 800; font-size: clamp(21px, 1.7vw, 26px); line-height: 1.2; margin: 48px 0 14px; }
.legal h3 { font-weight: 700; font-size: 18px; margin: 28px 0 8px; }
.legal p, .legal li { font-size: 17px; line-height: 1.7; font-weight: 500; }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 10px 0 0; padding-left: 22px; display: grid; gap: 6px; }
.legal a { text-underline-offset: 3px; }
.legal__table { overflow-x: auto; margin-top: 14px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid color-mix(in srgb, currentColor 20%, transparent); }
.legal th { font-weight: 800; }
.legal code { font-size: 14px; font-weight: 600; }

/* ---------- Night: the same scene, one lantern per socio ---------- */
.nightscene { position: relative; overflow: hidden; color: #fff; }
.nightscene__art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%); mask-image: linear-gradient(to bottom, transparent 0, #000 22%); }
.nightscene::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5%; background: linear-gradient(rgba(19, 30, 22, 0), var(--ground-night)); pointer-events: none; }
.nightscene__lights { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.nightscene--finale { height: max(100vh, 88vw); min-height: 760px; text-align: center; }
.nightscene--page { height: max(100vh, 80vw); }
/* The members page goes on after the night scene: the lawn melts into the sky instead of ending on a line */
.nightscene--page .nightscene__art { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 80%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 80%, transparent 100%); }
.nightscene--page::after { display: none; }
.ch--guest h2 { font-size: min(clamp(34px, 3.7vw, 62px), 7.2vw); overflow-wrap: break-word; }
.nightscene__text { position: relative; z-index: 2; display: grid; gap: 22px; justify-items: center; max-width: 42rem; margin: 0 auto; padding: clamp(120px, 15vw, 260px) var(--side) 0; }
.nightscene--page .nightscene__text { padding-top: calc(var(--head-h) + clamp(60px, 10vw, 180px)); }
.nightscene__text p { max-width: 32em; color: rgba(255, 255, 255, .88); }
.nightscene__text b { color: #FFD9A0; }
.nightscene .ch__actions { justify-content: center; margin-top: 8px; }
.nightscene__lit { font-weight: 700; color: #FFD9A0 !important; }
.nightscene p.nightscene__fine { font-size: 13px; opacity: .7; }
.nightscene--band { height: clamp(300px, 43vw, 760px); }
.nightscene--band .nightscene__art { object-position: 50% 84%; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 40%); mask-image: linear-gradient(to bottom, transparent 0, #000 40%); }

/* Footer: the lawn at night */
.foot { background: var(--ground-night); }
.foot__inner { grid-template-columns: auto 1fr; }
.foot__cols { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 40px; }
.foot__h { font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; color: var(--on-dark-2); }
.foot__cols .foot__links { display: grid; gap: 6px; }
.foot__org { font-weight: 600; line-height: 1.5; }
.foot__org a { text-decoration: none; }
.foot__org span { color: var(--on-dark-2); font-weight: 500; }
.foot__btn { border: 0; background: none; padding: 0; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
@media (max-width: 760px) {
  .foot__inner { grid-template-columns: 1fr; }
  .foot__mark { grid-row: auto; width: 120px; }
  .foot__cols { grid-template-columns: 1fr 1fr; }
  .foot__cols > div:last-child { grid-column: 1 / -1; }
}

/* ---------- Footer (like wip.care and wip.events): brand column, link columns, bottom bar ---------- */
.foot { --gold: #E3B868; padding: clamp(56px, 6vw, 84px) var(--side) 32px; }
.foot .foot__inner { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: minmax(280px, 1.05fr) minmax(0, 2fr); gap: 44px clamp(40px, 6vw, 96px); align-items: start; }
.foot__brand { display: grid; gap: 18px; align-content: start; }
.foot__logo { width: 104px; display: block; }
.foot__logo img { width: 100%; height: auto; display: block; }
.foot__about { font-size: 15px; line-height: 1.65; font-weight: 500; color: var(--on-dark-2); max-width: 34ch; }
.foot__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.foot__cta { display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .28); color: #fff; font-weight: 700; font-size: 14px; text-decoration: none; transition: background .2s, border-color .2s; }
.foot__cta:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .5); }
.foot__cta--gold { background: var(--gold); border-color: var(--gold); color: #1B2416; }
.foot__cta--gold:hover { background: #EDC67E; border-color: #EDC67E; }
.foot__contact { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; font-size: 14.5px; line-height: 1.5; color: var(--on-dark-2); }
.foot__contact li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; }
.foot__contact svg { width: 18px; height: 18px; color: var(--gold); margin-top: 2px; }
.foot__contact a { color: #fff; text-decoration: none; }
.foot__contact a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot .foot__h { font-weight: 700; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin: 6px 0 0; }
.foot__social { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; }
.foot__social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); color: #fff; transition: background .2s, border-color .2s; }
.foot__social a:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .45); }
.foot__social svg { width: 19px; height: 19px; }
.foot__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 28px; padding-top: 6px; }
.foot__grid .foot__h { margin: 0 0 16px; }
.foot__grid .foot__links { grid-column: auto; list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 15px; font-weight: 500; }
.foot__grid .foot__links a { color: rgba(255, 255, 255, .86); text-decoration: none; }
.foot__grid .foot__links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.foot .foot__legal { grid-column: 1 / -1; margin: 8px 0 0; }
@media (max-width: 1023px) {
  .foot .foot__inner { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) { .foot__grid { gap: 28px 18px; } }

/* ---------- Cookie choice ---------- */
.consent { position: fixed; left: 16px; bottom: 16px; z-index: 1100; width: min(440px, calc(100% - 32px)); display: grid; gap: 10px; padding: 20px 22px; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 24px 60px -24px rgba(13, 43, 57, .55); }
.consent__t { font-weight: 800; text-transform: uppercase; font-size: 15px; letter-spacing: .06em; }
.consent__b { font-size: 15px; line-height: 1.5; font-weight: 500; }
.consent__b a { text-underline-offset: 3px; }
.consent__acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.consent .btn { min-height: 46px; }

/* ---------- Video and photo lightbox ---------- */
.vbox { position: fixed; inset: 0; z-index: 1200; display: grid; place-items: center; padding: 24px; background: rgba(8, 20, 30, .9); }
.vbox__frame { width: min(1100px, 100%); display: grid; place-items: center; }
.vbox__frame iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 10px; }
.vbox__frame img { max-width: 100%; max-height: calc(100vh - 100px); width: auto; height: auto; border-radius: 10px; }
.vbox__close { position: absolute; top: 14px; right: 14px; width: 48px; height: 48px; display: grid; place-items: center; border: 0; border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; }
.vbox__close svg { width: 22px; height: 22px; }

/* ---------- Home: context on the sky ----------
   Info panels use the guide's dune sand; photos are real 2026 moments; decorations come from the poster itself. */
:root { --dune: #F3D9B0; --dune-2: #F8E7CB; --ivory: #FFFCF6; }

/* The essentials on a festival pass: two halves joined by a perforation */
.ch--festival { row-gap: clamp(64px, 10vh, 120px); }
.pass { display: grid; width: min(100%, 33rem); color: var(--ink); filter: drop-shadow(0 26px 30px rgba(13, 43, 57, .2)); }
.pass__top, .pass__bottom { padding: clamp(24px, 2.4vw, 34px) clamp(24px, 2.6vw, 38px); background: var(--dune); }
.pass__top { display: grid; gap: 16px; border-radius: 22px 22px 0 0;
  -webkit-mask: radial-gradient(circle 15px at 0 100%, #0000 96%, #000) left / 51% 100% no-repeat, radial-gradient(circle 15px at 100% 100%, #0000 96%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 15px at 0 100%, #0000 96%, #000) left / 51% 100% no-repeat, radial-gradient(circle 15px at 100% 100%, #0000 96%, #000) right / 51% 100% no-repeat; }
.pass__bottom { border-radius: 0 0 22px 22px; background: var(--dune-2); background-image: linear-gradient(90deg, rgba(8, 47, 61, .28) 50%, transparent 0); background-size: 14px 2px; background-repeat: repeat-x; background-position: 0 0;
  -webkit-mask: radial-gradient(circle 15px at 0 0, #0000 96%, #000) left / 51% 100% no-repeat, radial-gradient(circle 15px at 100% 0, #0000 96%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 15px at 0 0, #0000 96%, #000) left / 51% 100% no-repeat, radial-gradient(circle 15px at 100% 0, #0000 96%, #000) right / 51% 100% no-repeat; }
.pass .pass__brand { font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--teal); }
.pass .pass__date { font-weight: 800; text-transform: uppercase; font-size: clamp(38px, 3.5vw, 58px); line-height: .95; letter-spacing: -.01em; }
.pass__facts { display: grid; gap: 12px; margin: 4px 0 0; padding-top: 16px; border-top: 1px solid rgba(8, 47, 61, .14); }
.pass__facts div { display: grid; grid-template-columns: 7.2em 1fr; gap: 2px 14px; }
.pass__facts dt { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding-top: 3px; color: var(--teal); }
.pass__facts dd { margin: 0; font-size: 15.5px; font-weight: 500; line-height: 1.5; }
.pass__facts .text-link { font-size: 14.5px; }
.pass .pass__cd { font-size: 15px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.pass .pass__cd::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--bloom); box-shadow: 0 0 0 4px rgba(217, 102, 127, .2); }
.pass .pass__cd:empty { display: none; }
.pass__bottom.notify { gap: 12px; }
.pass__bottom.notify h3 { font-size: clamp(20px, 1.6vw, 24px); }
.pass__bottom.notify > p { font-size: 15.5px; }

/* The first edition in photos: one still mosaic, every photo whole */
.ch--photos { grid-template-columns: 1fr; row-gap: clamp(22px, 3vh, 34px); }
.mosaic__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 48px; }
.ch .mosaic__cap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 24px; max-width: 34em; font-size: 16px; font-weight: 600; padding-bottom: 6px; }
.mosaic { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 2.1fr 1fr 1fr 1.05fr; grid-template-rows: 1fr 1fr; gap: clamp(10px, 1.1vw, 18px); height: clamp(360px, 58svh, 620px); }
.mosaic li { min-width: 0; min-height: 0; }
.mosaic a { display: block; width: 100%; height: 100%; border-radius: 16px; overflow: hidden; box-shadow: 0 24px 44px -30px rgba(13, 43, 57, .55); }
.mosaic img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.mosaic a:hover img { transform: scale(1.04); }
.mosaic__a { grid-row: 1 / span 2; }
.mosaic__b { grid-column: 2 / span 2; }
.mosaic__c { grid-column: 4; grid-row: 1 / span 2; }
.mosaic__c img { object-position: 50% 30%; }

/* 2026 next to 2027, under the slider; the edition on the map is the one in ink */
.cmp { display: grid; grid-template-columns: 1fr 1fr; margin: 0; border-radius: 18px; background: var(--dune); overflow: hidden; }
.cmp__col { display: grid; align-content: start; gap: 4px; padding: 16px 20px 18px; cursor: pointer; transition: background .4s, color .4s; }
.cmp__col + .cmp__col { border-left: 1px solid rgba(8, 47, 61, .12); }
.cmp dt { font-weight: 800; font-size: 26px; line-height: 1; margin-bottom: 6px; }
.cmp dd { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.45; }
.cmp__col:not(.is-on) { color: rgba(8, 47, 61, .5); }
.cmp__col.is-on { background: var(--ink); color: #fff; }

/* Guest of honour: a circle with a warm rim (as on the poster), under one of the poster's palms */
.ch--guest { overflow: clip; }
.honor { position: relative; margin: 0; justify-self: center; width: min(100%, 28rem); }
.honor__circle { position: relative; z-index: 1; aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 12px var(--dune), 0 0 0 26px rgba(255, 255, 255, .35), 0 50px 90px -40px rgba(13, 43, 57, .6); }
.honor__circle img { width: 100%; height: 100%; object-fit: cover; display: block; }
.honor__palm { position: absolute; z-index: 0; top: -22%; right: -30%; width: 74%; scale: -1 1; transform: translate3d(0, var(--py, 0px), 0) rotate(-6deg); transform-origin: 70% 100%; pointer-events: none; }

/* The app: the phone in front of the entrance arch, where the QR code is scanned */
.app-scene { position: relative; width: min(100%, 38rem); padding: 0 0 70px 12%; }
.app-scene__arch { margin: 0; display: grid; gap: 10px; }
.app-scene__arch img { display: block; width: 100%; border-radius: 22px; box-shadow: 0 40px 70px -44px rgba(13, 43, 57, .7); }
.app-scene__arch figcaption { font-size: 14px; font-weight: 600; opacity: .78; padding-left: 36%; }
.app-scene .app-scene__phone { position: absolute; left: 0; bottom: 0; width: 34%; padding: 7px; border-radius: 30px; }
.app-scene__phone img { border-radius: 24px; }

/* Partners: a board like the photocall, logos in their own colours */
.board { padding: clamp(24px, 3vw, 44px); border-radius: 22px; background: var(--ivory); color: var(--ink); box-shadow: 0 34px 70px -46px rgba(13, 43, 57, .55); gap: 20px; }
.board__head { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 52px; padding-bottom: 26px; border-bottom: 1px solid rgba(8, 47, 61, .12); }
.board__org { display: flex; align-items: center; gap: 18px; padding-right: 52px; border-right: 1px solid rgba(8, 47, 61, .12); }
.board__org img { height: 78px; width: auto; }
.ch .board__label { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); }
.board .logo img { mix-blend-mode: normal; filter: none; opacity: 1; }
.board .logo:hover img { filter: none; }
.board .logos { gap: 22px 40px; }

/* Take part: a real face next to each way in */
.ways--photos a { grid-template-columns: 76px minmax(0, 1fr) auto; column-gap: 22px; }
.ways__img { grid-row: 1 / span 2; width: 76px; height: 76px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px rgba(255, 255, 255, .5); transition: transform .5s var(--ease); }
.ways--photos a:hover .ways__img { transform: scale(1.06); }
.ways--photos .ways__t, .ways--photos .ways__d { grid-column: 2; }
.ways--photos svg { grid-column: 3; }

@media (max-width: 960px) {
  .pass, .app-scene { justify-self: stretch; width: 100%; }
  .honor { max-width: 22rem; justify-self: center; }
  .honor__palm { right: -30%; top: -50%; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: none; height: auto; }
  .mosaic__a { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 3 / 2; }
  .mosaic__b, .mosaic__c, .mosaic__d, .mosaic__e { grid-column: auto; grid-row: auto; aspect-ratio: 1; }
  .board__org { padding-right: 0; border-right: 0; }
}
@media (max-width: 560px) {
  .pass__facts div { grid-template-columns: 1fr; }
  .app-scene { padding-left: 16%; padding-bottom: 54px; }
  .app-scene .app-scene__phone { width: 36%; padding: 5px; border-radius: 22px; }
  .app-scene .app-scene__phone img { border-radius: 18px; }
  .app-scene__arch figcaption { padding-left: 30%; }
  .ways--photos a { grid-template-columns: 58px minmax(0, 1fr) auto; column-gap: 16px; }
  .ways__img { width: 58px; height: 58px; }
}

/* ---------- Home on a desktop: every section is one composed screen ---------- */
@media (min-width: 961px) and (min-height: 640px) {
  .screens > .ch { min-height: 100svh; align-content: center; padding-top: calc(var(--head-h, 72px) + 24px); padding-bottom: 44px; }
  .screens > .ch--map .ch__media--map { height: calc(100svh - var(--head-h, 72px) - 128px); min-height: 440px; margin-bottom: 56px; }
  .screens > .ch--map .ch__cap { top: calc(100% + 12px); bottom: auto; max-width: 62ch; }
}

/* ---------- Every page: the home's format ---------- */
/* A pass with one half only (no perforation) */
.pass--single .pass__top { border-radius: 22px; -webkit-mask: none; mask: none; }
.phead__media.pass { justify-self: end; width: min(100%, 31rem); align-self: center; }
/* A sand panel around a list of facts or steps */
.panel { padding: clamp(18px, 2vw, 28px) clamp(22px, 2.4vw, 34px); border-radius: 22px; background: var(--dune); color: var(--ink); box-shadow: 0 26px 46px -34px rgba(13, 43, 57, .55); }
.facts.panel, .steps.panel { border: 0; }
.facts.panel > div { border-color: rgba(8, 47, 61, .14); }
.facts.panel > div:first-child, .steps.panel li:first-child { border-top: 0; }
.steps.panel li:last-child { border-bottom: 0; }
.facts.panel dt { color: var(--teal); }
.facts.panel > div { grid-template-columns: minmax(96px, 8.5em) minmax(0, 1fr); gap: 4px 18px; }
@media (max-width: 640px) { .facts.panel > div { grid-template-columns: 1fr; gap: 4px; } }
.steps.panel li { border-color: rgba(8, 47, 61, .16) !important; }
/* El parque: the opening screen carries the 3D park, its tools stay available */
.ch--pagemap h1 { font-weight: 800; text-transform: uppercase; font-size: clamp(48px, 5.6vw, 96px); line-height: .92; letter-spacing: -.015em; }
.ch--pagemap .map [data-zoom], .ch--pagemap .map [data-reset] { display: grid; }
.ch--pagemap .map .map__north { display: grid; }
.ch--pagemap .map:not(.is-immersive) .map__tools { top: 14px; bottom: auto; }
/* Edición 2026: the video in the opening screen */
.vcard { margin: 0; justify-self: end; align-self: center; width: min(100%, 38rem); }
.vcard__btn { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 0; border-radius: 22px; overflow: hidden; cursor: pointer; background: var(--ink); box-shadow: 0 40px 70px -44px rgba(13, 43, 57, .75); }
.vcard__btn img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s var(--ease); }
.vcard__btn::after { content: ''; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(8, 22, 34, .65)); pointer-events: none; }
.vcard__btn:hover img { transform: scale(1.04); }
.vcard__play { position: absolute; left: 50%; top: 50%; width: 88px; height: 88px; margin: -44px 0 0 -44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .94); color: var(--ink); box-shadow: 0 18px 40px -16px rgba(8, 22, 34, .6); transition: transform .4s var(--ease); }
.vcard__btn:hover .vcard__play { transform: scale(1.08); }
.vcard__play svg { width: 34px; height: 34px; margin-left: 5px; }
.vcard__label { position: absolute; left: 22px; bottom: 18px; z-index: 1; color: #fff; font-weight: 800; font-size: 17px; }
/* Edición 2026: the 2027 poster */
.poster { margin: 0; justify-self: center; width: min(100%, 22rem); }
.poster img { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: 0 40px 70px -44px rgba(13, 43, 57, .75); transform: rotate(1.2deg); }
.ch .cmp { max-width: 32rem; }

/* Desktop: every section of every page is one composed screen (taller ones keep their height) */
@media (min-width: 961px) and (min-height: 640px) {
  .screens > .phead { min-height: 100svh; align-items: center; padding-top: calc(var(--head-h, 72px) + 32px); padding-bottom: 56px; }
  .screens > .phead .phead__text { align-content: center; }
  .screens > .phead .phead__media { align-self: center; }
}
@media (max-width: 960px) {
  .phead__media.pass, .vcard { justify-self: stretch; width: 100%; }
  .poster { width: min(70%, 18rem); }
}

/* ---------- Programa ---------- */
/* The three days */
.days { list-style: none; margin: 0; display: grid; gap: 0; justify-self: end; align-self: center; width: min(100%, 32rem); }
.days__d { padding: 16px 0; border-top: 1px solid rgba(8, 47, 61, .14); }
.days__d:first-child { border-top: 0; padding-top: 4px; }
.days__d:last-child { padding-bottom: 4px; }
.phead .days__k { font-weight: 800; text-transform: uppercase; font-size: 15px; letter-spacing: .02em; line-height: 1.25; }
.phead .days__b { font-size: 15.5px; line-height: 1.5; font-weight: 500; margin-top: 4px; }
.days__d--private .days__k::after { content: ''; display: inline-block; width: 8px; height: 8px; margin-left: 8px; border-radius: 50%; background: var(--bloom); vertical-align: middle; }
/* Saturday evening */
.evening { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; }
.evening::before { content: ''; position: absolute; left: 7px; top: 14px; bottom: 14px; width: 2px; background: color-mix(in srgb, currentColor 30%, transparent); }
.evening li { position: relative; padding: 10px 0 10px 32px; font-weight: 700; font-size: 18px; line-height: 1.35; }
.evening li::before { content: ''; position: absolute; left: 0; top: 14px; width: 16px; height: 16px; border-radius: 50%; background: var(--dune); box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 35%, transparent); }
.ev__fig { margin: 0; display: grid; gap: 0; width: min(100%, 36rem); }
.ev__fig img { display: block; width: 100%; height: auto; border-radius: 22px; box-shadow: 0 40px 70px -44px rgba(13, 43, 57, .7); }
.ev__tr { margin: -40px 22px 0; position: relative; font-size: 15.5px; line-height: 1.5; }
.ev__tr b { display: block; font-weight: 800; text-transform: uppercase; font-size: 13px; letter-spacing: .14em; color: var(--teal); margin-bottom: 2px; }
.fam__fig { width: min(100%, 26rem); justify-self: center; }
.fam__fig img { border-radius: 22px; box-shadow: 0 40px 70px -44px rgba(13, 43, 57, .7); }
/* The agenda on a desktop: one screen, the list scrolls in its column, the park sits in a rounded frame */
@media (min-width: 1024px) {
  .story--agenda { height: 100svh; min-height: 640px; grid-template-columns: minmax(420px, 38%) minmax(0, 1fr); column-gap: clamp(24px, 2.4vw, 40px); padding: calc(var(--head-h, 72px) + 18px) var(--side) 28px var(--left); box-sizing: border-box; }
  .story--agenda .story__chapters { overflow-y: auto; padding-right: 10px; scrollbar-width: thin; }
  .story--agenda .story__chapters .chapter { min-height: 0; padding: 0 0 28px; }
  .story--agenda .story__stage { position: relative; top: auto; height: auto; align-self: stretch; border-radius: 24px; overflow: hidden; background: rgba(255, 255, 255, .28); box-shadow: 0 40px 70px -50px rgba(13, 43, 57, .6); }
  .story--agenda .map:not(.is-immersive) .map__stage { -webkit-mask-image: none; mask-image: none; }
  .story--agenda .map__tools { top: 14px; right: 14px; }
  .story--agenda .map__panel { top: 14px; right: 66px; max-height: calc(100% - 120px); }
}

/* ---------- Patrocinio ---------- */
.profile { margin: 0; width: min(100%, 32rem); display: grid; gap: 14px; }
.ch .profile__k { font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); }
.profile__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 26px; }
.profile__list li { display: grid; font-size: 14.5px; font-weight: 600; line-height: 1.35; }
.profile__list b { font-size: clamp(30px, 2.6vw, 42px); font-weight: 800; line-height: 1.05; letter-spacing: -.01em; }
.places { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 1.8vw, 28px); }
.places li { display: grid; gap: 6px; align-content: start; }
.places img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; box-shadow: 0 26px 46px -32px rgba(13, 43, 57, .6); margin-bottom: 8px; }
.places__map img { object-fit: contain; background: rgba(255, 255, 255, .55); padding: 6px; }
.places b { font-weight: 800; text-transform: uppercase; font-size: 16px; letter-spacing: .01em; }
.places span { font-size: 14.5px; font-weight: 500; line-height: 1.45; }

/* ---------- Socios ---------- */
.invite { margin-top: 4px; display: grid; gap: 6px; }
.ch .invite__k { font-weight: 800; text-transform: uppercase; font-size: 14px; letter-spacing: .06em; color: var(--teal); }
.ch .invite p:not(.invite__k) { font-size: 16px; }

@media (max-width: 960px) {
  .days, .profile, .ev__fig { justify-self: stretch; width: 100%; }
  .places { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) { .profile__list { grid-template-columns: 1fr 1fr; gap: 14px 16px; } .places { grid-template-columns: 1fr; } }

/* ---------- Quiénes somos ---------- */
.about__hero { margin: 0; justify-self: end; width: min(100%, 36rem); align-self: center; }
.about__hero img { display: block; width: 100%; height: auto; border-radius: 22px; box-shadow: 0 40px 70px -44px rgba(13, 43, 57, .7); }
.year { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.2vw, 36px); }
.year li { display: grid; gap: 8px; align-content: start; }
.year img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; box-shadow: 0 26px 46px -32px rgba(13, 43, 57, .6); margin-bottom: 8px; }
.year b { font-weight: 800; text-transform: uppercase; font-size: clamp(18px, 1.4vw, 22px); line-height: 1.15; }
.year span { font-size: 15.5px; line-height: 1.55; font-weight: 500; }
.story-line { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0 clamp(14px, 1.6vw, 26px); position: relative; }
.story-line::before { content: ''; position: absolute; left: 0; right: 0; top: 53px; height: 2px; background: color-mix(in srgb, currentColor 28%, transparent); }
.story-line li { display: grid; grid-template-rows: auto auto 1fr; gap: 0; position: relative; }
.story-line b { font-weight: 800; font-size: clamp(30px, 2.8vw, 46px); line-height: 1; letter-spacing: -.01em; padding-bottom: 30px; }
.story-line li::before { content: ''; position: absolute; left: 0; top: 46px; width: 16px; height: 16px; border-radius: 50%; background: var(--dune); box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 40%, transparent); }
.story-line__now::before { background: var(--bloom) !important; }
.story-line span { font-size: 15px; line-height: 1.5; font-weight: 500; padding-top: 14px; }
.about__values { font-weight: 800; font-size: 16px; line-height: 1.5; color: var(--teal); }
.about__panel { margin: 0; width: min(100%, 32rem); display: grid; gap: 22px; }
.about__quote { margin: 0; padding-top: 18px; border-top: 1px solid rgba(8, 47, 61, .14); font-weight: 800; font-size: clamp(20px, 1.6vw, 26px); line-height: 1.25; }
@media (max-width: 960px) {
  .about__hero, .about__panel { justify-self: stretch; width: 100%; }
  .year { grid-template-columns: 1fr; }
  .story-line { grid-template-columns: 1fr; gap: 18px; padding-left: 30px; }
  .story-line::before { left: 7px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; }
  .story-line li::before { left: -30px; top: 8px; }
  .story-line b { padding-bottom: 4px; font-size: 30px; }
  .story-line span { padding-top: 0; }
}

/* ---------- El parque: practical info in four groups, FAQ on its own screen ---------- */
.infog { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.5vw, 22px); align-items: stretch; }
.infog__g { display: grid; grid-template-rows: auto 1fr auto; gap: 14px; align-content: start; }
.infog__g h3 { font-weight: 800; text-transform: uppercase; font-size: clamp(19px, 1.5vw, 23px); line-height: 1.1; }
.infog__g dl { margin: 0; display: grid; gap: 14px; align-content: start; }
.infog__g dt { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.infog__g dd { margin: 3px 0 0; font-size: 15px; line-height: 1.5; font-weight: 500; }
.infog__g dd .text-link, .infog__g > .text-link { font-size: 14.5px; }
.faq--panel { width: min(100%, 38rem); padding: 6px clamp(22px, 2.4vw, 34px); border-radius: 22px; background: var(--ivory); color: var(--ink); border: 0; box-shadow: 0 34px 70px -46px rgba(13, 43, 57, .55); }
.faq--panel details { border-color: rgba(8, 47, 61, .12); }
.faq--panel details:first-child { border-top: 0; }
.faq--panel summary { font-size: 17px; padding: 20px 0; }
.faq--panel details p { opacity: 1; color: var(--ink-2); font-size: 16px; }

/* ---------- Programa: families ---------- */
.family { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(20px, 2.6vw, 44px); align-items: stretch; }
.family__photo { margin: 0; position: relative; border-radius: 22px; overflow: hidden; box-shadow: 0 40px 70px -44px rgba(13, 43, 57, .7); min-height: 360px; }
.family__photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.family__photo figcaption { position: absolute; left: 16px; bottom: 16px; right: 16px; display: flex; align-items: center; gap: 14px; padding: 10px 16px; border-radius: 14px; background: rgba(255, 252, 246, .94); font-size: 13.5px; font-weight: 600; line-height: 1.4; color: var(--ink); }
.family__logo { width: 104px; height: auto; flex: none; }
.family__side { display: grid; gap: 18px; align-content: start; }
.family__care { display: grid; gap: 14px; }
.ch .family__where { font-size: 14.5px; font-weight: 600; }
.family__more { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.family__more li { display: grid; gap: 2px; padding: 14px 0; border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
.family__more b { font-weight: 800; text-transform: uppercase; font-size: 15px; }
.family__more span { font-size: 15px; font-weight: 500; line-height: 1.5; }

/* ---------- Mercado: how it works, what fits ---------- */
.how { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 30px); counter-reset: none; }
.how li { display: grid; gap: 10px; align-content: start; padding: clamp(20px, 2vw, 30px); border-radius: 22px; background: var(--ivory); color: var(--ink); box-shadow: 0 30px 60px -46px rgba(13, 43, 57, .55); }
.how__n { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; font-size: 18px; }
.how h3 { font-weight: 800; text-transform: uppercase; font-size: clamp(20px, 1.6vw, 26px); line-height: 1.1; }
.ch .how p { font-size: 15.5px; line-height: 1.55; }
.ethics { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 30px); }
.ethics .panel { display: grid; gap: 10px; align-content: start; }
.ethics h3 { font-weight: 800; text-transform: uppercase; font-size: 15px; letter-spacing: .1em; color: var(--teal); }
.ch .ethics p { font-size: clamp(17px, 1.3vw, 20px); line-height: 1.55; font-weight: 600; }
.ethics__no { background: var(--blush, #F3D9D7); }

@media (max-width: 1100px) { .infog { grid-template-columns: 1fr 1fr; } }
@media (max-width: 960px) {
  .family { grid-template-columns: 1fr; }
  .family__photo { min-height: 0; aspect-ratio: 4 / 3; }
  .how, .ethics { grid-template-columns: 1fr; }
  .faq--panel { width: 100%; justify-self: stretch; }
}
@media (max-width: 560px) { .infog { grid-template-columns: 1fr; } }

/* ---------- No text runs under a picture: columns never grow past their share ---------- */
.ch__text, .phead__text { min-width: 0; grid-template-columns: minmax(0, 1fr); }
.ch h2, .phead h1 { overflow-wrap: break-word; }
.ch:not(.ch--wide) h2 { font-size: clamp(36px, 4.2vw, 58px); }
.ch--guest h2 { font-size: clamp(30px, 3vw, 42px); }
@media (max-width: 960px) { .honor__palm { display: none; } }
.ch__text > *, .phead__text > * { max-width: min(100%, var(--mw, 36em)); }
.phead:has(.phead__media) h1 { font-size: clamp(44px, 5.2vw, 92px); }
.ch__side, .phead__media { min-width: 0; }

/* ---------- Reveal ---------- */
.has-reveal .rv { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.has-reveal .rv.is-in { opacity: 1; transform: none; }

/* ---------- Infographics: they sit where an image would, straight on the sky ---------- */
.info { margin: 0; display: grid; gap: 14px; }
.info figcaption { max-width: 34em; }

/* The 2026 audience: one dot per person on the steps of the auditorium */
.info--crowd { position: relative; width: min(100%, 40rem); }
.info--crowd canvas { display: block; width: 100%; touch-action: manipulation; cursor: pointer; }
.info--crowd .info__num { position: absolute; left: 0; right: 0; top: 0; aspect-ratio: 1 / .62; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding-bottom: 6.5%; pointer-events: none; text-align: center; }
.info--crowd .info__num b { font-weight: 800; font-size: clamp(34px, 4.6vw, 70px); line-height: .9; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.info--crowd .info__num span { font-weight: 700; font-size: clamp(11px, .95vw, 14px); letter-spacing: .2em; text-transform: uppercase; margin-top: 6px; }

/* Sponsorship levels: a rising sun */
.ch--levels .ch__text { gap: 22px; }
.lv__list { list-style: none; margin: 0; padding: 0; display: grid; }
.lv__list li { padding: 14px 0; border-top: 1px solid var(--line); }
.lv__list b { font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.lv__list [data-lv-tier] { font-weight: 600; opacity: .7; margin-left: 8px; }
.lv__list [data-lv-body] { display: block; margin-top: 4px; }
.lv__detail { display: grid; gap: 10px; padding-top: 22px; border-top: 1px solid var(--line-strong); }
.lv__detail[hidden] { display: none; }
.lv__name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.lv__name .ch__h3 { margin: 0; }
.lv__name span { font-weight: 700; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; opacity: .72; }
.lv__detail p { margin: 0; }
.lv__detail .ch__actions { margin-top: 8px; }
.lv__detail.is-swap > * { animation: lv-in .55s var(--ease) both; }
.lv__detail.is-swap > *:nth-child(2) { animation-delay: .05s; }
.lv__detail.is-swap > *:nth-child(3) { animation-delay: .1s; }
@keyframes lv-in { from { opacity: 0; transform: translate3d(0, 10px, 0); } }
.info--levels { width: min(100%, 44rem); }
.info--levels svg { display: block; width: 100%; height: auto; overflow: visible; }
.lv-horizon { stroke: var(--ink); stroke-opacity: .28; stroke-width: 1.5; }
.lv-ring { cursor: pointer; outline: none; transform-box: view-box; transform-origin: 50% 96.7%; transition: opacity .35s var(--ease), transform .9s var(--ease), filter .35s; }
.lv-shape { stroke: #fff; stroke-width: 0; transition: stroke-width .25s; }
.lv-ray { stroke-width: 7; stroke-linecap: round; }
.lv-hit { fill: transparent; }
.lv-label { font-family: var(--sans); font-weight: 800; font-size: 13px; letter-spacing: .16em; pointer-events: none; }
.has-sel .lv-ring:not(.is-on) { opacity: .72; }
.is-hover .lv-ring:hover { opacity: 1; }
.lv-ring.is-on { opacity: 1; filter: drop-shadow(0 6px 14px rgba(13, 43, 57, .22)); }
.lv-ring.is-on .lv-shape { stroke-width: 3; }
.lv-ring.is-on .lv-ray { stroke: #fff; }
.lv-ring:focus-visible .lv-shape, .lv-ring:focus-visible .lv-ray { stroke: var(--ink); stroke-width: 3; }
.has-reveal .info--levels:not(.is-in) .lv-ring { opacity: 0; transform: scale(.25); }
.has-reveal .info--levels .lv-ring { transition-delay: calc((5 - var(--i)) * .09s + .15s), calc((5 - var(--i)) * .09s + .15s), 0s; }
.has-reveal .info--levels.has-sel .lv-ring { transition-delay: 0s; }

/* A festival day: the path of the sun */
.info--sun { width: min(100%, 44rem); }
.sp__days { display: flex; gap: 24px; margin: 0; }
.sp__days button { padding: 6px 0; border: 0; background: none; color: inherit; font: inherit; font-weight: 700; font-size: 15px; letter-spacing: .02em; cursor: pointer; opacity: .55; border-bottom: 2px solid transparent; }
.sp__days button[aria-pressed="true"] { opacity: 1; border-bottom-color: currentColor; }
.sp__chart { position: relative; }
.sp__chart svg { display: block; width: 100%; height: auto; overflow: visible; touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.sp-lane { fill: none; stroke: rgba(13, 43, 57, .05); stroke-linecap: round; }
.sp-horizon { stroke: var(--ink); stroke-opacity: .28; stroke-width: 1.5; }
.sp-hour { font-family: var(--sans); font-weight: 700; font-size: 13px; fill: var(--ink); fill-opacity: .72; }
.sp-seg { fill: none; stroke-linecap: round; cursor: pointer; transition: opacity .3s; }
.has-live .sp-seg:not(.is-live) { opacity: .34; }
.sp-hand { stroke: var(--ink); stroke-opacity: .4; stroke-width: 1.5; stroke-dasharray: 2 5; stroke-linecap: round; }
.sp-sun { cursor: grab; outline: none; }
.sp-sun__glow { fill: rgba(255, 190, 100, .42); }
.sp-sun__disc { fill: #F9C55E; stroke: #fff; stroke-width: 3; }
.sp-sun:focus-visible .sp-sun__disc { stroke: var(--ink); }
.ch .sp__time { position: absolute; left: 0; right: 0; bottom: 7%; margin: 0; text-align: center; font-weight: 800; font-size: clamp(26px, 3.3vw, 50px); line-height: 1; letter-spacing: -.01em; font-variant-numeric: tabular-nums; pointer-events: none; }
.ch .sp__legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; font-size: 13px; font-weight: 600; }
.sp__legend span { display: inline-flex; align-items: center; gap: 7px; }
.sp__legend i, .sp__list i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.sp__now { display: grid; align-content: start; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line-strong); min-height: 13.5rem; }
.ch .sp__now .ch__kicker { margin: 0; }
.sp__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.sp__list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; font-size: 16px; line-height: 1.35; }
.sp__list li i { align-self: center; }
.sp__list b { font-weight: 800; }
.sp__list span { font-size: 14px; font-weight: 600; opacity: .7; }
.sp__list .sp-none { opacity: .7; }

/* 2026: where people came from */
.info--origins { width: min(100%, 44rem); }
.ch .or__head { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 34px; }
.or__head > span { display: inline-flex; align-items: baseline; gap: 10px; }
.or__head b { font-weight: 800; font-size: clamp(36px, 4.4vw, 66px); line-height: .9; letter-spacing: -.02em; }
.or__head span span { font-weight: 700; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; }
.or__map { position: relative; }
.or__map canvas { display: block; width: 100%; cursor: pointer; touch-action: manipulation; }
.ch .or__tip { position: absolute; z-index: 2; margin: 0; padding: 5px 10px; transform: translate(-50%, calc(-100% - 10px)); border-radius: 6px; background: #fff; box-shadow: 0 6px 18px -8px rgba(13, 43, 57, .5); font-size: 13px; font-weight: 700; line-height: 1.3; white-space: nowrap; pointer-events: none; }

/* ---------- From one page to the next: the sky cross-fades instead of a white flash ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .5s; animation-timing-function: cubic-bezier(.22, .61, .36, 1); }
.head { view-transition-name: head; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* ---------- Tablet & phone ---------- */
@media (max-width: 1023px) {
  .story__chapters .chapter { padding-left: 20px; }
}
@media (max-width: 960px) {
  .ch, .ch--map, .phead { grid-template-columns: 1fr; row-gap: 44px; }
  .ch, .ch--map { padding: clamp(84px, 14vh, 140px) var(--side); }
  .ch__side, .phead__media { justify-self: start; }
  .phead__media--poster { max-width: 260px; }
  .ch--map { padding-left: 0; padding-right: 0; }
  .ch--map .ch__text { padding: 0 var(--side); }
  .ch__media--map { height: auto; min-height: 0; }
  .ch__media--map .map:not(.is-immersive) { position: relative; height: 66svh; min-height: 380px; }
  .ch__cap { position: static; margin: 10px var(--side) 0; }
  .ch--map .map__era, .parkmap .map__era { top: 0; left: var(--side); font-size: 52px; }
  .ch--map .map:not(.is-immersive) .map__tools { bottom: auto; top: 8px; }
  .parkmap__frame { height: 70svh; min-height: 400px; }
  .facts > div { grid-template-columns: 1fr; }
  .legal { margin-left: var(--side); padding-right: 0; margin-right: var(--side); }
  /* levels: the sun comes right after the intro, so what a tap changes stays in view below it */
  .ch--levels, .ch--sun { row-gap: 26px; }
  .ch--levels .ch__text, .ch--sun .ch__text { display: contents; }
  .ch--levels .ch__text > *, .ch--sun .ch__text > * { order: 1; max-width: 35rem; }
  .ch--levels .info--levels, .ch--sun .info--sun { order: 2; justify-self: stretch; width: 100%; }
  .ch--levels .lv__detail, .ch--levels .lv__list, .ch--sun .sp__now, .ch--sun .ch__links { order: 3; }
  .info--crowd { justify-self: stretch; width: 100%; }
}
@media (max-width: 560px) {
  .notify__row { flex-direction: column; }
  .ch .logos { gap: 20px 30px; }
  .ch .logo img { max-width: 96px; max-height: 38px; }
  .ch .logos--inst .logo { height: 64px; }
  .ch .logos--inst .logo img { max-height: 60px; max-width: 150px; }
  .gallery { columns: 2 140px; column-gap: 8px; }
  .gallery li { margin-bottom: 8px; }
  .phone { width: min(78%, 280px); }
}
/* Portrait: the night scene below the text instead of behind it */
@media (max-aspect-ratio: 4/5) {
  .nightscene--finale { height: auto; min-height: 0; display: flex; flex-direction: column; }
  .nightscene--finale .nightscene__text { order: -1; padding-top: 110px; }
  .nightscene--page .nightscene__text { padding-top: calc(var(--head-h) + 48px); }
  .nightscene--finale .nightscene__art { position: relative; inset: auto; height: auto; margin-top: -6%; }
  .nightscene--band { height: auto; }
  .nightscene--band .nightscene__art { position: relative; inset: auto; height: auto; }
}
@media (pointer: coarse) { .ch .qr { display: none; } }

/* ---------- Embed (WebView in the WIP Care app) ---------- */
.is-embed .phead, .is-embed .ch, .is-embed .nightscene, .is-embed .consent, .is-embed .sky { display: none !important; }
