/* places.css — the pages of expato's museums and festivals, one page for every entry, and their catalogues.
   A museum hangs on a graphite gallery wall; a festival is a night poster. What both need before the
   door — the ticket, the stories, the tips, the road, «what next» — is one set of parts, so the two
   sections read as one guide. Colours come from styles.css (--txt, --s1, --acc…), so the dark theme
   follows by itself; the wall and the night stay dark in both themes, as a gallery wall would. */

.pl { --wall: #2B2F33; --wall-txt: #F2F0EB; --wall-mut: rgba(242, 240, 235, .66); --wall-line: rgba(242, 240, 235, .14); --mat: #F7F5F0;
  --night: #121211; --line: rgba(var(--ink), .1); --go: var(--lime); --stub: 336px; }
:where(.pl) :is(h1, h2, h3, p, ul, ol, figure, blockquote) { margin: 0; padding: 0; }
:where(.pl) :is(ul, ol) { list-style: none; }
.pl a:hover { color: inherit; }
.pl [hidden] { display: none !important; }
.pl-ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pl-kick { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mut); }
.pl-h2 { margin-top: 14px; font-size: 48px; font-weight: 500; line-height: 1.05; letter-spacing: -.04em; text-wrap: balance; }
.pl-sec { margin-top: 120px; }
.pl-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; }

/* ── Buttons: one family on the wall, on the ticket and on the page ── */
.pl-btn { height: 56px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 26px; border-radius: 28px; font-size: 17px; font-weight: 500; white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.pl-btn .pl-ic { width: 18px; height: 18px; }
.pl-btn-light { background: #FFF; color: #121211; }
.pl-btn-light:hover { background: var(--go); color: #121211 !important; }
.pl-btn-ghost { border: 1.5px solid rgba(242, 240, 235, .4); color: var(--wall-txt); }
.pl-btn-ghost:hover { border-color: var(--wall-txt); color: var(--wall-txt) !important; }
.pl-btn-ink { background: var(--txt); color: var(--bg); }
.pl-btn-ink:hover { background: var(--acc); color: #FFF !important; }
.pl-btn-line { border: 1.5px solid var(--txt); color: var(--txt); }
.pl-btn-line:hover { background: rgba(var(--ink), .06); color: var(--txt) !important; }
.pl-all { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; white-space: nowrap; }
.pl-all:hover { color: var(--acc) !important; }

/* ── The top of the wall: back to the catalogue, and the heart ── */
.pl-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.pl-back { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; font-size: 15px; color: rgba(242, 240, 235, .72); }
.pl-back:hover { color: var(--wall-txt) !important; }
.pl-back .pl-ic { width: 18px; height: 18px; }
.pl-fav { height: 40px; display: inline-flex; align-items: center; gap: 8px; padding: 0 16px 0 13px; border-radius: 20px; border: 1px solid rgba(242, 240, 235, .26); font-size: 15px; color: var(--wall-txt); transition: background .2s, border-color .2s; }
.pl-fav:hover { background: rgba(242, 240, 235, .08); }
.pl-fav .pl-ic { width: 18px; height: 18px; }
.pl-fav[aria-pressed="true"] { border-color: var(--go); }
.pl-fav[aria-pressed="true"] .pl-ic { fill: var(--go); stroke: var(--go); }

/* The name steps down with its length, so it never breaks mid-word (the page's script measures it at once;
   without scripts it stays at the middle size). */
.pl-name { font-size: 84px; font-weight: 500; line-height: .94; letter-spacing: -.05em; text-wrap: balance; overflow-wrap: break-word; }
.pl-name[data-len="s"] { font-size: clamp(72px, 7.8vw, 112px); line-height: .92; }
.pl-name[data-len="m"] { font-size: clamp(60px, 5.9vw, 84px); }
.pl-name[data-len="l"] { font-size: clamp(48px, 4.45vw, 64px); line-height: .98; letter-spacing: -.04em; }
.pl-sub { font-size: 24px; font-weight: 500; letter-spacing: -.015em; color: rgba(242, 240, 235, .82); }
.pl-lead { max-width: 560px; font-size: 19px; line-height: 1.5; color: rgba(242, 240, 235, .78); }
.pl-now { display: flex; flex-wrap: wrap; gap: 8px; }
.pl-chip { min-height: 36px; display: inline-flex; align-items: center; gap: 9px; padding: 6px 15px; border-radius: 18px; background: rgba(242, 240, 235, .08); font-size: 15px; line-height: 1.3; color: var(--wall-txt); }
.pl-chip i { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--go); box-shadow: 0 0 0 4px rgba(var(--limer), .16); }
.pl-chip.is-shut i { background: #E0B23C; box-shadow: 0 0 0 4px rgba(224, 178, 60, .18); }
.pl-chip.is-soon { background: var(--go); color: #121211; font-weight: 500; }
.pl-chip.is-off { gap: 0; background: rgba(242, 240, 235, .9); color: #121211; font-weight: 500; }
.pl-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ════════════════ The museum: hung on the wall as an exhibit ════════════════ */
.mm-hall { background: linear-gradient(180deg, #30353A 0%, var(--wall) 50%, #272A2E 100%); color: var(--wall-txt); }
.mm-hall-in { padding-top: 28px; padding-bottom: 136px; }
.mm:not(:has(.pl-visit)) .mm-hall-in { padding-bottom: 88px; }
.mm-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 56px; margin-top: 36px;
  grid-template-areas: ". exhibit" "kick exhibit" "name exhibit" "was exhibit" "sub exhibit" "lead exhibit" "now exhibit" "cta exhibit" ". exhibit";
  grid-template-rows: 1fr repeat(7, auto) 1fr; }
.mm-hero > .pl-kick { grid-area: kick; color: var(--wall-mut); }
.mm-hero > .pl-name { grid-area: name; margin-top: 18px; }
.mm-was { grid-area: was; margin-top: 14px; font: 500 13px var(--mono); letter-spacing: .04em; color: var(--wall-mut); }
.mm-hero > .pl-sub { grid-area: sub; margin-top: 16px; }
.mm-hero > .pl-lead { grid-area: lead; margin-top: 22px; max-width: 540px; }
.mm-hero > .pl-now { grid-area: now; margin-top: 28px; }
.mm-hero > .pl-cta { grid-area: cta; margin-top: 30px; }
/* The frame follows the photo — landscape or portrait — and its size is known before the photo arrives. */
.mm-exhibit { grid-area: exhibit; position: relative; align-self: center; justify-self: end; display: flex; flex-direction: column; align-items: flex-end; margin-top: 12px; isolation: isolate; }
.mm-exhibit::before { content: ""; position: absolute; z-index: -1; left: 50%; top: -150px; width: 1000px; height: 760px; transform: translateX(-50%); background: radial-gradient(40% 42% at 50% 38%, rgba(255, 236, 204, .2), rgba(255, 236, 204, 0)); pointer-events: none; }
.mm-frame { display: block; padding: 14px; background: var(--mat); box-shadow: 0 2px 6px rgba(0, 0, 0, .35), 0 40px 60px -30px rgba(0, 0, 0, .9); }
.mm-frame img { display: block; width: auto; height: auto; max-width: min(592px, calc(42vw - 28px)); max-height: 540px; outline: 1px solid rgba(0, 0, 0, .1); outline-offset: -1px; }
.mm-frame img[width=""] { width: min(452px, calc(42vw - 28px)); aspect-ratio: 4 / 5; object-fit: cover; }
.mm-plaque { width: 262px; margin-top: 22px; padding: 13px 15px 14px; background: #ECE9E2; color: #121211; box-shadow: 0 8px 16px -8px rgba(0, 0, 0, .6); }
.mm-plaque b { display: block; font-size: 14px; font-weight: 600; }
.mm-plaque span { display: block; margin-top: 2px; font-size: 13px; }
.mm-plaque p { margin-top: 7px; font-size: 12.5px; line-height: 1.4; color: #3A3936; }

/* ════════════════ The ticket: everything before the door, in one object ════════════════
   Two parts torn along a dashed line: the notches are cut out of each part, and the shadow falls on
   the pair, so it follows the cut. */
.pl-visit { position: relative; z-index: 2; margin-top: -104px; }
.pl-ticket { display: grid; grid-template-columns: minmax(0, 1fr) var(--stub); filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .05)) drop-shadow(0 34px 38px rgba(18, 18, 17, .16)); }
:root.dark .pl-ticket { filter: drop-shadow(0 34px 38px rgba(0, 0, 0, .5)); }
.pl-t-main, .pl-t-stub { background: var(--s1); color: var(--txt); }
.pl-t-main { padding: 34px 40px 32px; border-radius: 26px 0 0 26px;
  -webkit-mask: radial-gradient(circle 16px at 100% 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle 16px at 100% 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle 16px at 100% 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle 16px at 100% 100%, #0000 98%, #000) bottom / 100% 51% no-repeat; }
.pl-t-stub { position: relative; display: flex; flex-direction: column; padding: 34px 44px 32px 34px; border-left: 2px dashed rgba(var(--ink), .16); border-radius: 0 26px 26px 0;
  -webkit-mask: radial-gradient(circle 16px at 0 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle 16px at 0 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle 16px at 0 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle 16px at 0 100%, #0000 98%, #000) bottom / 100% 51% no-repeat; }
.pl-t-cells { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); margin-top: 20px; }
.pl-t-cell { min-width: 0; padding: 0 24px; border-left: 1px solid var(--line); }
.pl-t-cell:first-child { padding-left: 0; border-left: 0; }
.pl-t-cell > span { display: block; font-size: 14px; color: var(--mut); }
.pl-t-cell > b { display: block; margin-top: 8px; font: 500 32px/1.05 var(--mono); letter-spacing: -.04em; color: var(--txt); overflow-wrap: anywhere; }
.pl-t-cell > b.is-long { font-size: 24px; letter-spacing: -.03em; }
.pl-t-cell > b.is-no { font-size: 22px; letter-spacing: -.02em; color: var(--mut); }
.pl-t-cell > b.is-open::before { content: ""; display: inline-block; width: 10px; height: 10px; margin: 0 10px 5px 0; border-radius: 50%; background: #4E9A2F; box-shadow: 0 0 0 4px rgba(78, 154, 47, .16); vertical-align: middle; }
.pl-t-cell > b.is-shut::before { content: ""; display: inline-block; width: 10px; height: 10px; margin: 0 10px 5px 0; border-radius: 50%; background: #D29B1F; box-shadow: 0 0 0 4px rgba(210, 155, 31, .16); vertical-align: middle; }
.pl-t-cell > p { margin-top: 8px; font-size: 14px; line-height: 1.4; color: var(--txt2); }
.pl-t-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 18px; font-weight: 600; line-height: 1.25; color: var(--txt); }
.pl-t-link .pl-ic { width: 16px; height: 16px; }
.pl-t-link:hover { color: var(--acc) !important; }
.pl-t-note { margin-top: 14px; font-size: 17px; font-weight: 500; line-height: 1.4; }
.pl-t-stub small { display: block; margin-top: 10px; font-size: 14px; line-height: 1.4; color: var(--mut); }
.pl-t-stub .pl-btn { margin-top: auto; }
.pl-t-stub > .pl-t-note, .pl-t-stub > small { margin-bottom: 24px; }
.pl-t-site { margin-top: 10px; text-align: center; font-size: 13px; color: var(--mut); }
.pl-t-alt { margin-top: 12px; text-align: center; font-size: 15px; font-weight: 500; color: var(--txt); text-decoration: underline; text-decoration-color: rgba(var(--ink), .25); text-underline-offset: 4px; }
.pl-t-alt:hover { color: var(--acc) !important; text-decoration-color: currentColor; }
.pl-t-edge { position: absolute; top: 50%; right: -98px; transform: translateY(-50%) rotate(90deg); font: 500 10px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--faint); white-space: nowrap; pointer-events: none; }
/* Who is coming: shown by the script only when the prices are exact. */
.pl-calc { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 28px; padding-top: 24px; border-top: 1px dashed rgba(var(--ink), .18); }
.pl-calc > b { font-size: 15px; font-weight: 600; }
.pl-step { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--txt2); }
.pl-step i { display: inline-flex; align-items: center; height: 40px; border-radius: 20px; background: var(--s3); font-style: normal; }
.pl-step button { width: 38px; height: 40px; border-radius: 20px; font-size: 19px; line-height: 1; color: var(--txt); }
.pl-step button:hover { background: rgba(var(--ink), .08); }
.pl-step button:disabled { opacity: .3; cursor: default; background: none; }
.pl-step em { min-width: 22px; text-align: center; font: 500 16px var(--mono); font-style: normal; color: var(--txt); }
.pl-total { margin-left: auto; text-align: right; }
.pl-total b { display: block; font: 500 34px/1 var(--mono); letter-spacing: -.04em; }
.pl-total span { display: block; margin-top: 6px; font-size: 13px; color: var(--mut); }
/* Where the page knows little: a way to tell us more. */
.pl-ask { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 28px; padding: 18px 20px; border-radius: 16px; background: var(--s3); }
.pl-ask p { font-size: 15px; line-height: 1.45; color: var(--txt2); }
.pl-ask b { font-weight: 600; color: var(--txt); }
.pl-ask a { flex: none; height: 40px; display: inline-flex; align-items: center; padding: 0 18px; border-radius: 20px; background: var(--txt); color: var(--bg); font-size: 15px; font-weight: 500; }
.pl-ask a:hover { background: var(--acc); color: #FFF !important; }

/* ════════════════ Why people come: one sentence, then the story ════════════════ */
.pl-why { display: grid; grid-template-columns: 5fr 7fr; column-gap: 72px; margin-top: 120px; }
.pl-why blockquote { margin: 18px 0 0; font-size: 42px; font-weight: 500; line-height: 1.12; letter-spacing: -.035em; text-wrap: balance; }
.pl-why-text > p { font-size: 18px; line-height: 1.65; color: var(--txt2); }
.pl-why-text > p + p { margin-top: 16px; }
.pl-nums { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 16px; margin-top: 36px; border-top: 1px solid rgba(var(--ink), .16); }
.pl-nums > p { padding-top: 20px; font-size: 15px; line-height: 1.35; color: var(--mut); }
.pl-nums b { display: block; margin-bottom: 8px; font: 500 40px/1 var(--mono); letter-spacing: -.05em; color: var(--txt); }
/* What the place is like, when the guide is not written yet: the ways into the catalogue. */
.pl-like { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 64px; }
.pl-like > span { margin-right: 6px; font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mut); }
.pl-like a { height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 0 18px; border-radius: 22px; border: 1px solid rgba(var(--ink), .16); font-size: 16px; font-weight: 500; color: var(--txt); transition: border-color .2s, background .2s; }
.pl-like a:hover { border-color: var(--txt); background: rgba(var(--ink), .04); color: var(--txt) !important; }
.pl-like a .pl-ic { width: 16px; height: 16px; color: var(--mut); }

/* ════════════════ The cut: floors stacked like the building, each work on its own floor ════════════════ */
.mm-cut { margin-top: 120px; background: linear-gradient(180deg, #30353A 0%, var(--wall) 40%, #272A2E 100%); color: var(--wall-txt); }
.mm-cut-in { padding-top: 88px; padding-bottom: 96px; }
.mm-cut .pl-kick { color: var(--wall-mut); }
.mm-cut-lead { max-width: 500px; font-size: 18px; line-height: 1.5; color: rgba(242, 240, 235, .78); }
.mm-building { margin-top: 44px; border: 1px solid rgba(242, 240, 235, .16); border-radius: 24px; overflow: hidden; counter-reset: work; }
.mm-floor { padding: 30px 32px 4px; }
.mm-floor + .mm-floor { border-top: 1px solid rgba(242, 240, 235, .12); }
.mm-floor:has(.mm-start) { background: rgba(var(--limer), .045); }
.mm-fl-in { display: grid; grid-template-columns: 396px repeat(3, 204px); column-gap: 32px; align-items: start; }
.mm-it { display: contents; }
.mm-ftxt { grid-column: 1; grid-row: 1 / span 3; display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 32px; align-items: start; margin-bottom: 28px; }
.mm-lvl { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.mm-lvl b { min-width: 52px; height: 52px; display: grid; place-items: center; padding: 0 10px; border-radius: 26px; border: 1.5px solid rgba(242, 240, 235, .38); font: 500 19px var(--mono); letter-spacing: -.03em; white-space: nowrap; }
.mm-lvl .mm-start { font: 500 10px/1.25 var(--mono); letter-spacing: .06em; text-transform: uppercase; text-align: center; color: var(--go); }
.mm-ftxt:has(.mm-start) .mm-lvl b { border-color: var(--go); background: var(--go); color: #121211; box-shadow: 0 0 0 6px rgba(var(--limer), .14); }
.mm-ftx { padding-top: 4px; }
.mm-ftx h3 { font-size: 21px; font-weight: 600; letter-spacing: -.015em; }
.mm-ftx p { margin-top: 8px; font-size: 15px; line-height: 1.5; color: rgba(242, 240, 235, .72); }
.mm-spare { grid-column: 2 / -1; grid-row: 1; align-self: start; justify-self: start; margin-top: 8px; padding: 10px 16px; border: 1px dashed rgba(242, 240, 235, .26); border-radius: 12px; font-size: 14px; color: var(--wall-mut); }
.mm-fl-in:has(.mm-work) .mm-spare { display: none; }
.mm-work { position: relative; display: block; margin-bottom: 28px; counter-increment: work; }
.mm-work::before { content: ""; position: absolute; z-index: 0; left: 50%; top: -60px; width: 380px; height: 300px; transform: translateX(-50%); background: radial-gradient(46% 46% at 50% 40%, rgba(255, 236, 204, .12), rgba(255, 236, 204, 0)); pointer-events: none; }
.mm-wframe { position: relative; display: block; padding: 7px; background: var(--mat); box-shadow: 0 2px 4px rgba(0, 0, 0, .35), 0 18px 28px -16px rgba(0, 0, 0, .85); transition: transform .3s ease; }
.mm-wframe img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.mm-work:hover .mm-wframe { transform: translateY(-3px); }
.mm-work::after { content: counter(work); position: absolute; top: -11px; left: -11px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #FFF; color: #121211; font: 500 13px var(--mono); box-shadow: 0 4px 10px rgba(0, 0, 0, .35); }
.mm-work figcaption { position: relative; }
.mm-work b { display: block; margin-top: 16px; font-size: 16px; font-weight: 600; line-height: 1.25; }
.mm-work figcaption > span { display: block; margin-top: 4px; font: 500 12px var(--mono); letter-spacing: .02em; color: var(--wall-mut); }
.mm-work p { margin-top: 8px; font-size: 14px; line-height: 1.45; color: rgba(242, 240, 235, .76); }
/* No floors written: the works hang as one wall. */
.mm-fl-in:not(:has(.mm-ftxt)) { grid-template-columns: repeat(auto-fill, minmax(204px, 1fr)); }
/* …with no work alone on a row: six hang in one row, seven or eight in two rows of four. */
@media (min-width: 1280px) {
  .mm-fl-in:not(:has(.mm-ftxt)):has(> .mm-it:nth-child(6):last-child),
  .mm-fl-in:not(:has(.mm-ftxt)):has(> .mm-it:nth-child(11):last-child),
  .mm-fl-in:not(:has(.mm-ftxt)):has(> .mm-it:nth-child(12):last-child) { grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: 24px; }
  .mm-fl-in:not(:has(.mm-ftxt)):has(> .mm-it:nth-child(7):last-child),
  .mm-fl-in:not(:has(.mm-ftxt)):has(> .mm-it:nth-child(8):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 700px) and (max-width: 1279px) {
  .mm-fl-in:not(:has(.mm-ftxt)):has(> .mm-it:nth-child(6):last-child),
  .mm-fl-in:not(:has(.mm-ftxt)):has(> .mm-it:nth-child(9):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ════════════════ Did you know: facts with a source, legends marked ════════════════ */
.pl-know { margin-top: 120px; background: var(--acc); color: #FFF; }
.mm-cut + .pl-know { margin-top: 0; }
.pl-know-in { padding-top: 88px; padding-bottom: 96px; }
.pl-know .pl-kick { color: rgba(255, 255, 255, .8); }
.pl-know-lead { max-width: 420px; font-size: 16px; line-height: 1.5; color: rgba(255, 255, 255, .9); }
.pl-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(250px, auto); gap: 20px; margin-top: 44px; }
/* Fewer than three stories is not a block. */
.pl-know:not(:has(.pl-fact:nth-child(3))) { display: none; }
.pl-fact { position: relative; display: flex; flex-direction: column; border-radius: 22px; background: var(--s1); color: var(--txt); scroll-margin-top: 96px; }
.pl-fact > img { display: none; }
.pl-fact-body { position: relative; z-index: 1; display: flex; flex-direction: column; height: 100%; padding: 24px 24px 20px; }
.pl-fact h3 { margin-top: 14px; font-size: 20px; font-weight: 600; line-height: 1.22; letter-spacing: -.015em; text-wrap: balance; }
.pl-fact p { margin-top: 10px; font-size: 15px; line-height: 1.5; color: var(--txt2); }
.pl-tag { align-self: flex-start; height: 26px; display: inline-flex; align-items: center; padding: 0 10px; border-radius: 13px; background: rgba(var(--accr), .12); color: var(--acc); font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.pl-tag.is-legend { background: var(--go); color: #121211; }
.pl-share { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 18px; }
.pl-share button { flex: none; height: 34px; display: inline-flex; align-items: center; gap: 7px; padding: 0 13px 0 11px; border-radius: 17px; border: 1px solid rgba(var(--ink), .14); font-size: 14px; font-weight: 500; color: var(--txt); transition: border-color .2s; }
.pl-share button:hover { border-color: var(--txt); }
.pl-share .pl-ic { width: 16px; height: 16px; }
.pl-share span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 500 11px var(--mono); letter-spacing: .04em; color: var(--mut); }
/* The first story, when it has a picture, is the big one. */
.pl-fact:first-child:has(> img) { grid-column: 1 / 3; grid-row: 1 / 3; overflow: hidden; background: #121211; color: #FFF; }
.pl-fact:first-child:has(> img) > img { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.pl-fact:first-child:has(> img)::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 18, 17, .05) 20%, rgba(18, 18, 17, .88) 72%); }
.pl-fact:first-child:has(> img) .pl-fact-body { padding: 30px 32px 26px; }
.pl-fact:first-child:has(> img) .pl-tag { margin-top: auto; background: rgba(255, 255, 255, .16); color: #FFF; }
.pl-fact:first-child:has(> img) .pl-tag.is-legend { background: var(--go); color: #121211; }
.pl-fact:first-child:has(> img) h3 { margin-top: 16px; font-size: 52px; font-weight: 500; line-height: 1; letter-spacing: -.04em; }
.pl-fact:first-child:has(> img) p { max-width: 540px; margin-top: 14px; font-size: 17px; color: rgba(255, 255, 255, .88); }
.pl-fact:first-child:has(> img) .pl-share { margin-top: 0; }
.pl-fact:first-child:has(> img) .pl-share button { border-color: rgba(255, 255, 255, .4); color: #FFF; }
.pl-fact:first-child:has(> img) .pl-share button:hover { border-color: #FFF; }
.pl-fact:first-child:has(> img) .pl-share span { color: rgba(255, 255, 255, .72); }
/* No story alone on a row: the grid fills each row by widening the first stories (the main ones: the
   stories are sorted by «Главная»), never by stretching the last. A wide story sets its words larger. */
.pl-fact { container-type: inline-size; }
@container (min-width: 520px) {
  .pl-fact-body > h3 { font-size: 28px; line-height: 1.14; letter-spacing: -.025em; }
  .pl-fact-body > p { max-width: 36em; font-size: 16.5px; }
}
@media (min-width: 1280px) {
  .pl-facts:not(:has(> .pl-fact:first-child > img)):has(> .pl-fact:last-child:nth-child(4n+3)) > .pl-fact:first-child,
  .pl-facts:not(:has(> .pl-fact:first-child > img)):has(> .pl-fact:last-child:nth-child(4n+2)) > .pl-fact:nth-child(-n+2),
  .pl-facts:not(:has(> .pl-fact:first-child > img)):has(> .pl-fact:last-child:nth-child(4n+1)) > .pl-fact:nth-child(-n+3),
  .pl-facts:has(> .pl-fact:first-child > img):has(> .pl-fact:last-child:nth-child(4n)) > .pl-fact:nth-child(2),
  .pl-facts:has(> .pl-fact:first-child > img):has(> .pl-fact:last-child:nth-child(4n+3)) > .pl-fact:nth-child(n+2):nth-child(-n+3),
  .pl-facts:has(> .pl-fact:first-child > img):has(> .pl-fact:last-child:nth-child(4n+2)) > .pl-fact:nth-child(n+2):nth-child(-n+4) { grid-column: span 2; }
  .pl-tips:has(> li:last-child:nth-child(3)), .pl-tips:has(> li:last-child:nth-child(5)), .pl-tips:has(> li:last-child:nth-child(6)) { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1100px) and (max-width: 1279px) {
  .pl-facts:not(:has(> .pl-fact:first-child > img)):has(> .pl-fact:last-child:nth-child(3n+2)) > .pl-fact:first-child,
  .pl-facts:not(:has(> .pl-fact:first-child > img)):has(> .pl-fact:last-child:nth-child(3n+1)) > .pl-fact:is(:nth-child(1), :nth-child(3)),
  .pl-facts:has(> .pl-fact:first-child > img):has(> .pl-fact:last-child:nth-child(3n+2)) > .pl-fact:nth-child(4),
  .pl-facts:has(> .pl-fact:first-child > img):has(> .pl-fact:last-child:nth-child(3n+7)) > .pl-fact:is(:nth-child(4), :nth-child(6)) { grid-column: span 2; }
  .pl-facts:has(> .pl-fact:first-child > img):has(> .pl-fact:nth-child(4):last-child) > .pl-fact:nth-child(4) { grid-column: 1 / -1; }
}
@media (min-width: 700px) and (max-width: 1099px) {
  .pl-facts:not(:has(> .pl-fact:first-child > img)):has(> .pl-fact:last-child:nth-child(odd)) > .pl-fact:first-child,
  .pl-facts:has(> .pl-fact:first-child > img):has(> .pl-fact:last-child:nth-child(even)) > .pl-fact:nth-child(2) { grid-column: 1 / -1; }
}
/* A life on one line */
.pl-life { margin-top: 64px; }
.pl-life h3 { font-size: 26px; font-weight: 600; letter-spacing: -.02em; }
.pl-years { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); column-gap: 24px; margin-top: 30px; }
.pl-years::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: rgba(255, 255, 255, .5); }
.pl-years li { position: relative; padding-top: 30px; }
.pl-years li::before { content: ""; position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%; background: #FFF; box-shadow: 0 0 0 5px rgba(255, 255, 255, .2); }
.pl-years b { display: block; font: 500 34px/1 var(--mono); letter-spacing: -.04em; }
.pl-years span { display: block; margin-top: 10px; font-size: 15px; line-height: 1.45; color: rgba(255, 255, 255, .92); }

/* ════════════════ Before you go ════════════════ */
.pl-tips { display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 32px; row-gap: 40px; margin-top: 36px; counter-reset: tip; }
.pl-tips li { padding-top: 22px; border-top: 1.5px solid var(--txt); counter-increment: tip; }
.pl-tips li::before { content: counter(tip, decimal-leading-zero); display: block; font: 500 13px var(--mono); color: var(--mut); }
.pl-tips b { display: block; margin-top: 14px; font-size: 20px; font-weight: 600; line-height: 1.25; letter-spacing: -.015em; }
.pl-tips p { margin-top: 10px; font-size: 16px; line-height: 1.5; color: var(--txt2); }

/* ════════════════ The road, and what is a short walk away ════════════════ */
.pl-road { display: grid; grid-template-columns: 5fr 7fr; column-gap: 56px; align-items: start; }
.pl-road:not(:has(.pl-road-side)) { grid-template-columns: minmax(0, 720px); }
.pl-road-where h2 { margin-top: 14px; font-size: 44px; font-weight: 500; line-height: 1.05; letter-spacing: -.035em; text-wrap: balance; }
.pl-area { margin-top: 10px; font-size: 18px; color: var(--txt2); }
.pl-ways { margin-top: 28px; border-top: 1px solid var(--line); }
.pl-ways li { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.pl-way-ic { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--s1); color: var(--txt); }
:root.dark .pl-way-ic { background: var(--s2); }
.pl-way b { display: block; font-size: 17px; font-weight: 600; }
.pl-way > span { display: block; margin-top: 2px; font-size: 15px; color: var(--mut); }
.pl-road-where .pl-btn { margin-top: 28px; }
/* A ruler of minutes, not a map: the only honest distance we know is how long the walk takes. */
.mm-near { padding: 32px 36px 28px; border-radius: 26px; background: var(--s1); }
:root.dark .mm-near { background: var(--s2); }
.mm-near h3 { margin-top: 12px; font-size: 26px; font-weight: 600; letter-spacing: -.02em; }
/* The stops as a line, like a metro map — at every width, and what a page without scripts shows. */
.mm-walk { position: relative; display: flex; flex-direction: column; gap: 14px; margin-top: 22px; padding-left: 4px; }
.mm-walk::before { content: ""; position: absolute; left: 26px; top: 20px; bottom: 26px; width: 2px; background: var(--txt); }
.mm-walk-line, .mm-tick { display: none; }
.mm-here { position: relative; order: -1; display: flex; align-items: center; height: 46px; padding-left: 60px; }
.mm-here::before { content: ""; position: absolute; left: 14px; top: 14px; width: 18px; height: 18px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 6px rgba(var(--accr), .18); }
.mm-here span { font-size: 15px; font-weight: 600; }
.mm-stopw { display: contents; }
.mm-stop { position: relative; display: flex; align-items: center; gap: 14px; color: var(--txt); }
.mm-stop img { width: 46px; height: 46px; flex: none; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--s1), 0 0 0 4px rgba(var(--ink), .14); }
:root.dark .mm-stop img { box-shadow: 0 0 0 3px var(--s2), 0 0 0 4px rgba(var(--ink), .14); }
.mm-stop-t { flex: 1; min-width: 0; }
.mm-stop b { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }
.mm-stop small { display: block; margin-top: 1px; font-size: 13px; color: var(--mut); }
.mm-stop em { font: 500 13px var(--mono); font-style: normal; color: var(--acc); white-space: nowrap; }
a.mm-stop:hover b { color: var(--acc); }
/* A ruler of minutes, not a map: the only honest distance we know is how long the walk takes. The page's
   script lays the stops on it when their names fit without touching; otherwise the line above stays. */
.mm-walk.is-ruler { display: block; height: 292px; margin: 14px 22px 0; padding: 0; }
.mm-walk.is-ruler::before { display: none; }
.is-ruler .mm-walk-line { display: block; position: absolute; left: 0; right: 0; top: 150px; height: 2px; background: var(--txt); }
.is-ruler .mm-tick { display: block; position: absolute; top: 150px; left: calc(var(--m) / var(--max, 10) * 100%); width: 2px; height: 10px; margin-top: -4px; background: var(--txt); }
.is-ruler .mm-tick span { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); font: 500 12px var(--mono); color: var(--mut); white-space: nowrap; }
.is-ruler .mm-here { position: absolute; top: 150px; left: 0; width: 18px; height: 18px; margin: -8px 0 0 -9px; padding: 0; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 6px rgba(var(--accr), .18); }
.is-ruler .mm-here::before { display: none; }
.is-ruler .mm-here span { position: absolute; top: -36px; left: -4px; font-size: 14px; white-space: nowrap; }
.is-ruler .mm-stop { position: absolute; left: calc(min(var(--m), var(--max, 10)) / var(--max, 10) * 100%); gap: 12px; transform: translateX(-30px); }
.is-ruler .mm-stop::before { content: ""; position: absolute; left: 29px; width: 2px; background: rgba(var(--ink), .22); }
.is-ruler .mm-stop img { width: 60px; height: 60px; box-shadow: 0 0 0 3px var(--s1), 0 0 0 4px rgba(var(--ink), .12); }
:root.dark .is-ruler .mm-stop img { box-shadow: 0 0 0 3px var(--s2), 0 0 0 4px rgba(var(--ink), .12); }
.is-ruler .mm-stop-t { flex: none; max-width: 132px; }
.is-ruler .mm-stop small { display: none; }
.is-ruler .mm-stop em { display: block; margin-top: 2px; }
.is-ruler .mm-stop { flex-wrap: nowrap; }
.is-ruler .mm-stop > em { display: none; }
.is-ruler .mm-stop-t em { display: block; }
.mm-stop-t em { display: none; }
.is-ruler > .mm-stopw:nth-of-type(odd) > .mm-stop { bottom: 161px; }
.is-ruler > .mm-stopw:nth-of-type(odd) > .mm-stop::before { top: 60px; height: 46px; }
.is-ruler > .mm-stopw:nth-of-type(even) > .mm-stop { top: 185px; }
.is-ruler > .mm-stopw:nth-of-type(even) > .mm-stop::before { bottom: 60px; height: 34px; }
/* A stop near the end turns its words inward, so nothing leaves the card. */
.is-ruler .mm-stop.is-flip { flex-direction: row-reverse; text-align: right; transform: translateX(calc(-100% + 30px)); }
.is-ruler .mm-stop.is-flip::before { left: auto; right: 29px; }

/* ════════════════ More of the same, never the ones already on the page ════════════════ */
.pl-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px; margin-top: 32px; }
.pl-card { display: block; min-width: 0; }
.pl-card-pic { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: var(--s2); }
.pl-card-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.pl-card:hover .pl-card-pic img { transform: scale(1.03); }
.pl-card-meta { display: block; margin-top: 14px; font: 500 11.5px var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--mut); }
.pl-card h3 { margin-top: 6px; font-size: 19px; font-weight: 600; line-height: 1.25; letter-spacing: -.015em; }
.pl-card:hover h3 { color: var(--acc); }
.pl-card p { display: -webkit-box; margin-top: 6px; overflow: hidden; -webkit-line-clamp: 3; -webkit-box-orient: vertical; font-size: 15px; line-height: 1.45; color: var(--txt2); }
.pl-card-mk { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 13px; color: var(--txt2); }
.pl-card-mk .pl-ic { width: 15px; height: 15px; stroke-width: 2.2; }
.pl-card-mk.is-no { color: var(--mut); }

.pl-trust { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px 32px; margin: 96px auto 48px; padding-top: 26px; border-top: 1px solid var(--line); }
.pl-trust p { max-width: 900px; font-size: 15px; line-height: 1.5; color: var(--mut); }
.pl-trust p a { color: var(--acc); text-decoration: underline; text-decoration-color: rgba(var(--accr), .35); text-underline-offset: 3px; }
.pl-trust p a:hover { text-decoration-color: currentColor; }

/* ════════════════ The festival: a night poster ════════════════ */
.fp-hero { background: var(--night); color: var(--wall-txt); }
.fp-hero-in { padding-top: 28px; padding-bottom: 136px; }
.fp:not(:has(.pl-visit)) .fp-hero-in { padding-bottom: 88px; }
.fp-head { display: grid; grid-template-columns: minmax(0, 1fr) min(520px, 38vw); column-gap: 72px; margin-top: 36px;
  grid-template-areas: ". poster" "kick poster" "name poster" "sub poster" "lead poster" "now poster" "cta poster" ". poster";
  grid-template-rows: 1fr repeat(6, auto) 1fr; }
.fp-head > .pl-kick { grid-area: kick; color: var(--wall-mut); }
.fp-head > .pl-kick i { width: 7px; height: 7px; border-radius: 50%; background: var(--go); }
.fp-head > .pl-name { grid-area: name; margin-top: 18px; }
.fp-head > .pl-sub { grid-area: sub; margin-top: 18px; }
.fp-head > .pl-lead { grid-area: lead; margin-top: 22px; }
.fp-head > .pl-now { grid-area: now; margin-top: 28px; }
.fp-head > .pl-cta { grid-area: cta; margin-top: 30px; }
/* The festival's own poster: its photo, the date on it as big as the name. */
.fp-poster { grid-area: poster; position: relative; align-self: center; margin-top: 8px; border-radius: 28px; overflow: hidden; background: #000; box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .9); isolation: isolate; }
.fp-poster img { display: block; width: 100%; aspect-ratio: 520 / 580; object-fit: cover; object-position: 50% 38%; }
.fp-poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .78) 100%); }
.fp-date { position: absolute; z-index: 1; left: 30px; right: 30px; bottom: 26px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; color: #FFF; }
.fp-date b { font: 500 clamp(72px, 9vw, 132px)/.8 var(--mono); letter-spacing: -.07em; white-space: nowrap; }
.fp-date span { padding-bottom: 6px; text-align: right; font: 500 14px/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.fp-date em { display: block; font-style: normal; color: var(--go); }
/* One way in from the poster: the hours if the page has them, else the line-up, else the festival's site. */
.fp-to-prog, .fp-to-lineup { display: none; }
.fp:has(#program) .fp-to-prog { display: inline-flex; }
.fp:has(#lineup):not(:has(#program)) .fp-to-lineup { display: inline-flex; }
.fp:has(#program) .fp-to-site, .fp:has(#lineup) .fp-to-site { display: none; }

/* Why people come: the numbers under the sentence, the old photo under the story */
.fp-why > div:first-child .pl-nums { margin-top: 40px; }
.fp-why .pl-nums > p { padding-right: 16px; }
.fp-then { display: grid; grid-template-columns: 220px minmax(0, 1fr); column-gap: 20px; align-items: end; margin-top: 32px; }
.fp-then img { display: block; width: 220px; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 14px; filter: grayscale(1); }
.fp-then figcaption { font-size: 14px; line-height: 1.45; color: var(--mut); }
.fp-then b { display: block; margin-bottom: 4px; font-size: 15px; font-weight: 600; color: var(--txt); }

/* ── The dark bands: the line-up and the programme ── */
.fp-night { margin-top: 120px; background: var(--night); color: var(--wall-txt); }
.fp-night + .fp-night { margin-top: 0; border-top: 1px solid rgba(242, 240, 235, .1); }
.fp-night + .pl-know { margin-top: 0; }
.fp-night-in { padding-top: 88px; padding-bottom: 96px; }
.fp-night .pl-kick { color: var(--wall-mut); }
.fp-night-lead { max-width: 520px; font-size: 18px; line-height: 1.5; color: rgba(242, 240, 235, .78); }
.fp-night-lead b { font-weight: 500; color: var(--wall-txt); }
.fp-day-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid rgba(242, 240, 235, .13); }
.fp-day-h b { font-size: 26px; font-weight: 600; letter-spacing: -.02em; }
.fp-day-h b::first-letter { text-transform: uppercase; }
.fp-day-h span { font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--wall-mut); white-space: nowrap; }
/* The line-up: a festival poster in type — per day, the big names first. */
.fp-lu-days { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 40px; }
.fp-lu-day { display: flex; flex-direction: column; padding: 26px 26px 24px; border: 1px solid rgba(242, 240, 235, .13); border-radius: 24px; }
.fp-lu-day .fp-day-h b { font-size: 22px; }
.fp-lu-names { margin-top: 22px; font-size: 15px; line-height: 1.6; color: rgba(242, 240, 235, .74); }
.fp-name { display: inline; }
.fp-name small { display: none; }
.fp-name:not([data-main="да"]) + .fp-name:not([data-main="да"])::before { content: "\00a0·  "; color: rgba(242, 240, 235, .32); }
.fp-name[data-main="да"] { display: block; margin-bottom: 10px; font-size: 28px; font-weight: 600; line-height: 1.06; letter-spacing: -.03em; color: var(--wall-txt); overflow-wrap: anywhere; }
.fp-lu-names > .fp-name[data-main="да"]:first-child { font-size: 38px; letter-spacing: -.04em; }
.fp-name[data-main="да"] small { display: block; margin-top: 4px; font: 500 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--go); }
.fp-name[data-main="да"]:has(+ .fp-name:not([data-main="да"])) { margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid rgba(242, 240, 235, .13); }
.fp-more { display: inline-flex; margin-left: .6em; font: 500 13px var(--mono); color: var(--go); }
.fp-more:hover { color: var(--wall-txt); }
/* The programme, hour by hour; its filters are the platform's, dressed as chips. */
.fp-filters { display: flex; flex-wrap: wrap; align-items: flex-start; column-gap: 0; margin-top: 32px; }
/* The facet is a <details>: its words flow inside it, so the chips keep their gap by margins. */
.fp-filters .gally-facet { display: block; }
.fp-filters .gally-facet summary { display: none; }
.fp-filters label { position: relative; height: 40px; display: inline-flex; align-items: center; gap: 8px; margin: 0 8px 8px 0; padding: 0 16px; border-radius: 20px; border: 1px solid rgba(242, 240, 235, .24); font-size: 15px; color: var(--wall-txt); cursor: pointer; transition: border-color .2s, background .2s; }
.fp-filters label:hover { border-color: rgba(242, 240, 235, .55); }
.fp-filters label span::first-letter { text-transform: uppercase; }
.fp-filters label input { position: absolute; opacity: 0; pointer-events: none; }
.fp-filters label small { font: 500 12px var(--mono); opacity: .6; }
.fp-filters label:has(input:checked) { background: var(--wall-txt); border-color: var(--wall-txt); color: #121211; }
.fp-filters label:has(input:focus-visible) { outline: 2px solid var(--go); outline-offset: 2px; }
.fp-filters label[data-gally-none] { opacity: .4; }
.fp-filters .gally-reset { height: 40px; padding: 0 14px; border-radius: 20px; font-size: 15px; color: var(--wall-mut); }
.fp-filters .gally-reset:hover { color: var(--wall-txt); }
.fp-prog .gally-none { padding: 40px 0 0; text-align: left; color: var(--wall-mut); }
.fp-days { display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); align-items: start; gap: 20px; margin-top: 28px; }
.fp-day { padding: 28px 32px 10px; border: 1px solid rgba(242, 240, 235, .13); border-radius: 24px; }
.fp-slot { display: grid; grid-template-columns: 86px minmax(0, 1fr); column-gap: 18px; padding: 16px 0; border-bottom: 1px solid rgba(242, 240, 235, .13); }
.fp-slot:last-child { border-bottom: 0; }
.fp-slot time { font: 500 22px/1.1 var(--mono); letter-spacing: -.03em; color: rgba(242, 240, 235, .92); }
.fp-slot time small { display: block; margin-top: 5px; font-size: 12px; letter-spacing: 0; color: var(--wall-mut); }
.fp-slot h3 { font-size: 18px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.fp-slot p { margin-top: 4px; font-size: 14.5px; line-height: 1.45; color: rgba(242, 240, 235, .7); }
.fp-slot:has(.fp-tag.is-main) time { color: var(--go); }
.fp-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.fp-tags:empty { display: none; }
.fp-slot .fp-tags { margin-top: 9px; }
.fp-tag { height: 22px; display: inline-flex; align-items: center; padding: 0 9px; border-radius: 11px; background: rgba(242, 240, 235, .1); font: 500 10.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--wall-txt); }
.fp-tag.is-main { background: var(--go); color: #121211; }
.fp-tag.is-note { background: none; box-shadow: inset 0 0 0 1px rgba(242, 240, 235, .3); color: rgba(242, 240, 235, .8); }
.fp-tabs { display: none; }

/* ── Where what happens: the programme gathered by place, or the venues ── */
.fp-where, .fp-venues { padding: 32px 36px 20px; border-radius: 26px; background: var(--s1); }
:root.dark .fp-where, :root.dark .fp-venues { background: var(--s2); }
.fp-where h3, .fp-venues h3 { margin-top: 12px; font-size: 26px; font-weight: 600; letter-spacing: -.02em; }
.fp-places { margin-top: 18px; counter-reset: place; }
.fp-places li { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 14px; align-items: start; padding: 14px 0; border-top: 1px solid var(--line); counter-increment: place; }
.fp-places li::before { content: counter(place); width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--txt); color: var(--bg); font: 500 13px var(--mono); }
.fp-places b { display: block; padding-top: 5px; font-size: 16px; font-weight: 600; }
.fp-at { display: block; margin-top: 2px; font-size: 14.5px; line-height: 1.5; color: var(--txt2); }
.fp-at > span + span::before { content: "\00a0·  "; color: var(--faint); }
.fp-at em { font: 500 13px var(--mono); font-style: normal; color: var(--acc); white-space: nowrap; }
.fp-venues ol { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; margin-top: 18px; counter-reset: venue; }
.fp-venues li { display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: baseline; padding: 11px 0; border-top: 1px solid var(--line); font-size: 16px; font-weight: 500; counter-increment: venue; }
.fp-venues li::before { content: counter(venue, decimal-leading-zero); font: 500 12px var(--mono); color: var(--mut); }
.fp-venues li b { font-weight: 500; }
.fp-venues li span { display: block; grid-column: 2; margin-top: 2px; font-size: 14px; font-weight: 400; color: var(--txt2); }
/* One list of venues is enough: the programme by place wins, and a single line is not a list. */
.pl-road:has(.fp-where) .fp-venues, .fp-venues:not(:has(li:nth-child(2))) { display: none; }
.fp .pl-road:not(:has(.fp-where)):not(:has(.fp-venues li:nth-child(2))) { grid-template-columns: minmax(0, 720px); }

/* ── Further in the listing ── */
.fp-card-date { position: absolute; top: 14px; left: 14px; height: 30px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 15px; background: #FFF; color: #121211; font: 500 12.5px var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.fp-card-date.is-month { background: rgba(255, 255, 255, .88); color: #3A3936; }
.fp-credits { margin-top: 6px; font-size: 13px !important; }

/* ════════════════ Laptops and tablets ════════════════ */
@media (max-width: 1279px) {
  .mm-fl-in { grid-template-columns: 330px repeat(3, minmax(0, 1fr)); column-gap: 24px; }
  .mm-ftxt { column-gap: 22px; }
  .pl-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pl-tips { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1099px) {
  .pl { --stub: 300px; }
  .pl-sec, .pl-why, .mm-cut, .pl-know { margin-top: 96px; }
  .pl-h2 { font-size: 40px; }
  .mm-hero { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "kick" "name" "was" "sub" "exhibit" "lead" "now" "cta"; margin-top: 28px; }
  .mm-exhibit { justify-self: center; align-items: center; margin-top: 40px; }
  .mm-frame img { max-width: min(592px, calc(100vw - 108px)); max-height: 560px; }
  .mm-frame img[width=""] { width: min(452px, calc(100vw - 108px)); }
  .mm-plaque { align-self: flex-end; }
  .pl-name[data-len="s"] { font-size: clamp(56px, 11vw, 104px); }
  .pl-name[data-len="m"] { font-size: clamp(46px, 8.4vw, 80px); }
  .pl-name[data-len="l"] { font-size: clamp(38px, 6.4vw, 60px); }
  .pl-t-cells { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
  .pl-t-cell:nth-child(odd) { padding-left: 0; border-left: 0; }
  .pl-t-edge { display: none; }
  .pl-why { grid-template-columns: 1fr; row-gap: 28px; }
  .mm-fl-in { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mm-ftxt { grid-column: 1 / -1; grid-row: auto; margin-bottom: 24px; }
  .mm-spare { grid-column: 1 / -1; grid-row: auto; margin: 0 0 28px 96px; }
  .pl-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pl-years { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
  .pl-years::before { display: none; }
  .pl-road { grid-template-columns: 1fr; row-gap: 40px; }
  .pl-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fp-night { margin-top: 96px; }
  .fp-head { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "kick" "name" "sub" "poster" "lead" "now" "cta"; margin-top: 28px; }
  .fp-poster { margin-top: 36px; }
  .fp-poster img { aspect-ratio: 16 / 11; }
  .fp-lu-days { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fp-days { grid-template-columns: minmax(0, 1fr); }
}

/* ════════════════ Phones ════════════════ */
@media (max-width: 699px) {
  .pl-sec, .pl-why { margin-top: 64px; }
  .pl-h2 { margin-top: 12px; font-size: 32px; line-height: 1.08; letter-spacing: -.035em; }
  .pl-kick { font-size: 11.5px; }
  .pl-sec-head { flex-direction: column; align-items: flex-start; }
  .pl-btn { height: 54px; font-size: 16px; }
  .pl-back { height: 44px; }
  .pl-fav { width: 44px; height: 44px; justify-content: center; padding: 0; border-radius: 50%; }
  .pl-fav span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .pl-sub { font-size: 18px; }
  .pl-lead { font-size: 17px; }
  .pl-chip { min-height: 34px; padding: 6px 13px; font-size: 14px; }
  .pl-name, .pl-name[data-len="m"] { font-size: 42px; line-height: .96; }
  .pl-name[data-len="s"] { font-size: 52px; line-height: .95; }
  .pl-name[data-len="l"] { font-size: 34px; line-height: 1; letter-spacing: -.035em; }

  .mm-hall-in { padding-top: 16px; padding-bottom: 96px; }
  .mm:not(:has(.pl-visit)) .mm-hall-in { padding-bottom: 56px; }
  .mm-hero { margin-top: 14px; }
  .mm-hero > .pl-name { margin-top: 12px; }
  .mm-hero > .pl-sub { margin-top: 10px; }
  .mm-exhibit { margin-top: 30px; justify-self: stretch; align-items: flex-end; }
  .mm-exhibit::before { top: -90px; width: 560px; height: 460px; }
  .mm-frame { align-self: center; padding: 9px; }
  .mm-frame img { max-width: calc(100vw - 54px); max-height: 440px; }
  .mm-frame img[width=""] { width: calc(100vw - 54px); max-width: 360px; }
  .mm-plaque { width: 214px; margin-top: 16px; padding: 10px 12px 11px; }
  .mm-plaque b { font-size: 13px; }
  .mm-plaque span { font-size: 12px; }
  .mm-plaque p { font-size: 11.5px; }
  .mm-hero > .pl-lead { margin-top: 26px; }
  .mm-hero > .pl-now { margin-top: 18px; gap: 6px; }
  .mm-hero > .pl-cta { flex-direction: column; margin-top: 22px; }
  .mm-hero > .pl-cta .pl-btn { width: 100%; }
  .mm-hero > .pl-cta .pl-btn-ghost { height: auto; padding: 6px 0; border: 0; font-size: 15px; color: rgba(242, 240, 235, .82); text-decoration: underline; text-decoration-color: rgba(242, 240, 235, .3); text-underline-offset: 4px; }

  .pl-visit { margin-top: -64px; }
  .pl-ticket { grid-template-columns: minmax(0, 1fr); }
  .pl-t-main { padding: 24px 20px 22px; border-radius: 22px 22px 0 0;
    -webkit-mask: radial-gradient(circle 14px at 0 100%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 14px at 100% 100%, #0000 98%, #000) right / 51% 100% no-repeat;
    mask: radial-gradient(circle 14px at 0 100%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 14px at 100% 100%, #0000 98%, #000) right / 51% 100% no-repeat; }
  .pl-t-stub { padding: 22px 20px 20px; border-left: 0; border-top: 2px dashed rgba(var(--ink), .16); border-radius: 0 0 22px 22px;
    -webkit-mask: radial-gradient(circle 14px at 0 0, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 14px at 100% 0, #0000 98%, #000) right / 51% 100% no-repeat;
    mask: radial-gradient(circle 14px at 0 0, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 14px at 100% 0, #0000 98%, #000) right / 51% 100% no-repeat; }
  .pl-t-cells { gap: 20px 16px; margin-top: 16px; }
  .pl-t-cell { padding: 0; border-left: 0; }
  .pl-t-cell > span { font-size: 13px; }
  .pl-t-cell > b { margin-top: 6px; font-size: 26px; }
  .pl-t-cell > b.is-long { font-size: 20px; }
  .pl-t-cell > b.is-no { font-size: 18px; }
  .pl-t-cell > p { margin-top: 6px; font-size: 13px; }
  .pl-t-link { font-size: 16px; }
  .pl-t-cells:has(> :only-child) { grid-template-columns: 1fr; }
  .pl-calc { display: block; margin-top: 22px; padding-top: 18px; }
  .pl-calc[hidden] { display: none; }
  .pl-step { justify-content: space-between; margin-top: 12px; }
  .pl-step button { width: 42px; }
  .pl-total { display: flex; align-items: baseline; justify-content: space-between; margin-top: 16px; text-align: left; }
  .pl-total b { order: 2; font-size: 30px; }
  .pl-total span { margin-top: 0; font-size: 15px; font-weight: 600; color: var(--txt); }
  .pl-ask { flex-direction: column; align-items: stretch; margin-top: 22px; padding: 16px; }
  .pl-ask a { justify-content: center; height: 44px; }
  .pl-t-note { margin-top: 10px; font-size: 16px; }
  .pl-t-stub > .pl-t-note, .pl-t-stub > small { margin-bottom: 20px; }

  .pl-why { grid-template-columns: 1fr; row-gap: 0; }
  .pl-why blockquote { margin-top: 14px; font-size: 30px; line-height: 1.12; letter-spacing: -.03em; }
  .pl-why-text { margin-top: 16px; }
  .pl-why-text > p { font-size: 16px; line-height: 1.6; }
  .pl-why-text > p + p { margin-top: 12px; }
  .pl-nums { grid-template-columns: repeat(3, auto); justify-content: space-between; margin-top: 24px; }
  .pl-nums > p { padding-top: 16px; font-size: 13px; }
  .pl-nums b { margin-bottom: 6px; font-size: 26px; }
  .pl-like { margin-top: 40px; }
  .pl-like > span { width: 100%; }
  .pl-like a { height: 42px; padding: 0 16px; font-size: 15px; }

  .mm-cut { margin-top: 64px; }
  .mm-cut-in { padding-top: 52px; padding-bottom: 56px; }
  .mm-cut-lead { margin-top: 12px; font-size: 16px; }
  .mm-building { margin-top: 28px; border-radius: 20px; }
  .mm-floor { padding: 20px 16px 2px; }
  .mm-fl-in { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; }
  .mm-ftxt { grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; margin-bottom: 18px; }
  .mm-lvl b { min-width: 44px; height: 44px; padding: 0 8px; font-size: 16px; }
  .mm-lvl .mm-start { font-size: 9px; }
  .mm-ftx { padding-top: 0; }
  .mm-ftx h3 { font-size: 18px; }
  .mm-ftx p { margin-top: 4px; font-size: 14px; line-height: 1.45; }
  .mm-spare { margin: 0 0 20px 58px; padding: 9px 12px; font-size: 13px; }
  .mm-work { margin-bottom: 22px; }
  .mm-wframe { padding: 5px; }
  .mm-work::after { top: -9px; left: -8px; width: 26px; height: 26px; font-size: 12px; }
  .mm-work b { margin-top: 12px; font-size: 15px; }
  .mm-work figcaption > span { font-size: 11.5px; }
  .mm-work p { margin-top: 6px; font-size: 13.5px; }
  .mm-fl-in:not(:has(.mm-ftxt)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .pl-know { margin-top: 64px; }
  .pl-know-in { padding-top: 52px; padding-bottom: 56px; }
  .pl-know-lead { margin-top: 12px; font-size: 15px; }
  .pl-facts { display: flex; gap: 12px; margin: 24px -18px 0; padding: 0 18px 4px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 18px; scrollbar-width: none; }
  .pl-facts::-webkit-scrollbar { display: none; }
  .pl-fact { flex: none; width: 284px; scroll-snap-align: start; }
  .pl-fact-body { padding: 20px 20px 16px; }
  .pl-fact h3 { margin-top: 12px; font-size: 18px; }
  .pl-fact p { margin-top: 8px; font-size: 14.5px; }
  .pl-fact:first-child:has(> img) { width: calc(100vw - 36px); min-height: 440px; }
  .pl-fact:first-child:has(> img) .pl-fact-body { min-height: 440px; padding: 22px 20px 18px; }
  .pl-fact:first-child:has(> img) h3 { margin-top: 12px; font-size: 34px; line-height: 1.02; letter-spacing: -.035em; }
  .pl-fact:first-child:has(> img) p { margin-top: 10px; font-size: 15px; }
  .pl-life { margin-top: 36px; }
  .pl-life h3 { font-size: 20px; }
  .pl-years { grid-template-columns: 1fr; row-gap: 0; margin-top: 18px; }
  .pl-years::before { display: block; left: 7px; right: auto; top: 8px; bottom: 8px; width: 2px; height: auto; }
  .pl-years li { display: grid; grid-template-columns: 64px 1fr; align-items: baseline; padding: 8px 0 8px 30px; }
  .pl-years li::before { top: 11px; }
  .pl-years b { font-size: 20px; letter-spacing: -.03em; }
  .pl-years span { margin-top: 0; font-size: 14.5px; }

  .pl-tips { grid-template-columns: 1fr; row-gap: 0; margin-top: 20px; }
  .pl-tips li { display: grid; grid-template-columns: 34px 1fr; padding: 16px 0; border-top: 1px solid var(--line); }
  .pl-tips li:first-child { border-top: 1.5px solid var(--txt); }
  .pl-tips li::before { grid-row: 1 / span 2; padding-top: 3px; font-size: 12px; }
  .pl-tips b { margin-top: 0; font-size: 17px; line-height: 1.3; }
  .pl-tips p { margin-top: 5px; font-size: 15px; }

  .pl-road { row-gap: 28px; }
  .pl-road-where h2 { margin-top: 12px; font-size: 32px; }
  .pl-area { margin-top: 6px; font-size: 16px; }
  .pl-ways { margin-top: 18px; }
  .pl-ways li { grid-template-columns: 40px minmax(0, 1fr); column-gap: 12px; padding: 12px 0; }
  .pl-way-ic { width: 40px; height: 40px; }
  .pl-way b { font-size: 16px; }
  .pl-way > span { font-size: 14px; }
  .pl-road-where .pl-btn { width: 100%; margin-top: 18px; }
  .mm-near { padding: 24px 20px 22px; border-radius: 22px; }
  .mm-near h3 { margin-top: 10px; font-size: 21px; }

  .pl-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; margin-top: 20px; }
  .pl-card-pic { border-radius: 14px; }
  .pl-card-meta { margin-top: 10px; font-size: 10px; }
  .pl-card h3 { margin-top: 4px; font-size: 16px; }
  .pl-card p { margin-top: 4px; font-size: 13.5px; line-height: 1.4; }
  .pl-card-mk { margin-top: 8px; font-size: 12.5px; }
  .pl-sec-head .pl-all { order: 2; }
  .fp-hero-in { padding-top: 16px; padding-bottom: 96px; }
  .fp:not(:has(.pl-visit)) .fp-hero-in { padding-bottom: 56px; }
  .fp-head { margin-top: 14px; }
  .fp-head > .pl-name { margin-top: 12px; }
  .fp-head > .pl-sub { margin-top: 10px; }
  .fp-poster { margin-top: 20px; border-radius: 22px; }
  .fp-poster img { aspect-ratio: 354 / 380; }
  .fp-date { left: 18px; right: 18px; bottom: 16px; gap: 10px; }
  .fp-date b { font-size: 88px; }
  .fp-date span { padding-bottom: 4px; font-size: 11.5px; }
  .fp-head > .pl-lead { margin-top: 22px; }
  .fp-head > .pl-now { margin-top: 16px; gap: 6px; }
  .fp-head > .pl-cta { flex-direction: column; margin-top: 20px; }
  .fp-head > .pl-cta .pl-btn { width: 100%; }
  .fp-head > .pl-cta .pl-btn-ghost { height: auto; padding: 6px 0; border: 0; font-size: 15px; color: rgba(242, 240, 235, .82); text-decoration: underline; text-decoration-color: rgba(242, 240, 235, .3); text-underline-offset: 4px; }
  .fp-then { grid-template-columns: 1fr; row-gap: 12px; margin-top: 24px; }
  .fp-then img { width: 100%; aspect-ratio: 16 / 10; }
  .fp-night { margin-top: 64px; }
  .fp-night-in { padding-top: 52px; padding-bottom: 56px; }
  .fp-night-lead { margin-top: 12px; font-size: 15px; }
  .fp-lu-days { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 24px; }
  .fp-lu-day { padding: 22px 20px 20px; border-radius: 20px; }
  .fp-name[data-main="да"] { font-size: 24px; }
  .fp-lu-names > .fp-name[data-main="да"]:first-child { font-size: 30px; }
  .fp-filters { flex-wrap: nowrap; margin: 16px -18px 0 0; padding-right: 18px; overflow-x: auto; scrollbar-width: none; }
  .fp-filters .gally-facet { flex: none; white-space: nowrap; }
  .fp-filters::-webkit-scrollbar { display: none; }
  .fp-filters label { height: 36px; margin: 0 6px 0 0; padding: 0 14px; font-size: 14px; }
  /* A phone shows one day at a time: tabs above, made by the page's script. */
  .fp-days.has-tabs .fp-tabs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; padding: 5px; border-radius: 16px; background: rgba(242, 240, 235, .08); }
  .fp-tabs button { min-height: 48px; padding: 6px 8px; border-radius: 12px; font-size: 14px; font-weight: 600; line-height: 1.2; color: var(--wall-txt); }
  .fp-tabs button::first-letter { text-transform: uppercase; }
  .fp-tabs button[aria-selected="true"] { background: var(--wall-txt); color: #121211; }
  .fp-days { gap: 12px; margin-top: 18px; }
  .fp-days.has-tabs .fp-day:not(.is-shown) { display: none; }
  .fp-day { padding: 18px 16px 4px; border-radius: 20px; }
  .fp-day-h b { font-size: 20px; }
  .fp-slot { grid-template-columns: 64px minmax(0, 1fr); column-gap: 12px; padding: 14px 0; }
  .fp-slot time { font-size: 18px; }
  .fp-slot time small { margin-top: 4px; font-size: 11px; }
  .fp-slot h3 { font-size: 16px; }
  .fp-slot p { margin-top: 3px; font-size: 13.5px; }
  .fp-where, .fp-venues { padding: 24px 20px 12px; border-radius: 22px; }
  .fp-where h3, .fp-venues h3 { margin-top: 10px; font-size: 21px; }
  .fp-places li { grid-template-columns: 30px minmax(0, 1fr); column-gap: 12px; padding: 12px 0; }
  .fp-places li::before { width: 28px; height: 28px; font-size: 12px; }
  .fp-places b { padding-top: 3px; font-size: 14.5px; }
  .fp-at { font-size: 13px; }
  .fp-venues ol { grid-template-columns: 1fr; }
  .fp-card-date { top: 10px; left: 10px; height: 26px; padding: 0 10px; font-size: 11px; }
  .pl-trust { flex-direction: column; margin: 48px auto 28px; padding-top: 20px; }
  .pl-trust p { font-size: 14px; }
}
