/* ============================================================
   „Авторски проекти“: черно и бяло се редуват, червено (#DB0000),
   Montserrat 900 главни + Playfair Display курсив. Като в прототипа
   (site/src/styles/authorial.css). Въздухът и фоновете на редовете са в CSS на страницата.
   ============================================================ */

/* Playfair Display, курсив: шрифтът е в папката на поръчката (не се качва втори път) */
@font-face {
  font-family: 'Plabo Playfair';
  font-style: italic;
  font-display: swap;
  font-weight: 400 900;
  src: url(../porachka/fonts/playfair-display-cyrillic-wght-italic.woff2) format('woff2-variations'), url(../porachka/fonts/playfair-display-cyrillic-wght-italic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Plabo Playfair';
  font-style: italic;
  font-display: swap;
  font-weight: 400 900;
  src: url(../porachka/fonts/playfair-display-latin-wght-italic.woff2) format('woff2-variations'), url(../porachka/fonts/playfair-display-latin-wght-italic.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.pfx { --c-art: #DB0000; }
.pfx .serif { font-family: 'Plabo Playfair', 'Playfair Display', Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -.01em; text-transform: none; }
.pfx .red { color: var(--c-art); }
.pfx .up { text-transform: uppercase; }
.pfx .a-xxl { font-size: clamp(64px, 11vw, 176px); line-height: .86; letter-spacing: -.05em; }
.pfx .a-xl { font-size: clamp(56px, 8.6vw, 140px); line-height: .88; letter-spacing: -.05em; }
.pfx .a-l { font-size: clamp(44px, 6vw, 96px); line-height: .9; letter-spacing: -.045em; }

/* бутонът на стаята: червен, прав, главни букви (Salient слага 4px ъгли и циан при посочване на всеки бутон) */
#ajax-content-wrap .pfx .btn, .pfx .btn {
  min-height: 52px; padding: 0 28px !important; border: 0; border-radius: 0 !important;
  background: var(--c-art); color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
#ajax-content-wrap .pfx .btn:is(:hover, :focus) { background-color: var(--c-art) !important; color: #fff; transform: none; }
#ajax-content-wrap .pfx .btn:hover { box-shadow: 0 14px 40px -12px rgba(219, 0, 0, .7) !important; }
.pfx .btn-ghost { background: transparent; color: currentColor; }
#ajax-content-wrap .pfx button:not(.btn) { border-radius: 0 !important; }

/* филмово зърно */
.pfx .grain { position: absolute; inset: -50%; z-index: 2; pointer-events: none; opacity: .14; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: art-grain 1.2s steps(6) infinite; }
@keyframes art-grain { 0% { transform: translate3d(0, 0, 0); } 20% { transform: translate3d(-4%, 3%, 0); } 40% { transform: translate3d(3%, -2%, 0); } 60% { transform: translate3d(-2%, -4%, 0); } 80% { transform: translate3d(4%, 2%, 0); } 100% { transform: translate3d(0, 0, 0); } }
@keyframes art-rise { from { opacity: 0; transform: translate3d(0, 56px, 0); } }

/* ---------- хиро: тъмната стая ---------- */

.pfx.ah { position: relative; height: 100svh; min-height: 640px; overflow: clip; background: #000; color: #fff; }
.pfx .ah-ht { position: absolute; inset: 0; }
.pfx .ah-canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; }
/* фенерчето (вторият избор и резервата на растера): мрак, светлината следва мишката; меко избледняване горе и долу */
.pfx .ah-light { position: absolute; inset: 0; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 74%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 74%, transparent 100%); }
.pfx .ah-light .fl-img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 70% 50%; }
.pfx .fl-dark { position: absolute; inset: 0; background: radial-gradient(circle at var(--mx, 70%) var(--my, 50%), rgb(0 0 0 / var(--fl-core, .3)) var(--fl-in, 40px), rgb(0 0 0 / .97) var(--fl-out, 420px)); }
/* при растера фенерчето се вижда само ако браузърът няма WebGL2 */
[data-js] .pfx.ah.is-halftone:not(.no-gl) .ah-light { visibility: hidden; }
.pfx.ah.no-gl .ah-canvas { display: none; }
/* тъмна пелена отдолу и отляво, за да се чете текстът върху отпечатъка */
.pfx .ah-veil { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(0deg, rgba(0, 0, 0, .78), rgba(0, 0, 0, 0) 48%), linear-gradient(90deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0) 55%); }
.pfx .ah-in { position: relative; z-index: 3; width: min(100% - 2 * var(--pad, 24px), 1560px); height: 100%; margin-inline: auto; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(48px, 9vh, 96px); pointer-events: none; }
.pfx .ah-in a { pointer-events: auto; }
.pfx .ah-label { color: var(--c-art); }
.pfx .ah-title { display: flex; flex-direction: column; margin: 22px 0 clamp(56px, 10vh, 110px); font-size: clamp(52px, 13.5vw, 220px); line-height: .82; letter-spacing: -.055em; font-weight: 400; }
.pfx .ah-title .serif { font-size: .78em; margin-left: .04em; }
.pfx .ah-title > span { animation: art-rise 1.8s var(--ease-out) both; }
.pfx .ah-title > span:nth-child(2) { animation-delay: .16s; }
/* изречението стои долу вдясно на един ред; името е вдигнато над него */
.pfx .ah-line { position: absolute; right: 0; bottom: clamp(48px, 9vh, 96px); white-space: nowrap; font-size: clamp(18px, 1.7vw, 26px); line-height: 1.35; font-weight: 300; text-shadow: 0 2px 24px #000; animation: art-rise 1.8s var(--ease-out) .3s both; }
.pfx .ah-line b { font-weight: 600; }
@media (max-width: 900px) {
  .pfx .ah-title { margin-bottom: 0; }
  .pfx .ah-line { position: static; margin-top: 34px; white-space: normal; }
}
html.door-in .pfx .ah-title > span, html.door-in .pfx .ah-line { animation-play-state: paused; }

/* ---------- червена лента ---------- */

.pfx.redband { background: var(--c-art); color: #fff; padding: 15px 0; }
.pfx .redband-item { display: inline-flex; align-items: center; gap: 24px; margin-right: 24px; font-size: clamp(19px, 1.9vw, 28px); line-height: 1.2; font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; white-space: nowrap; }
.pfx .redband-item i { font-size: .4em; font-style: normal; }

/* ---------- от изложбите ---------- */

.pfx.fromshows { background: #0A0A0A; color: #fff; }
/* minmax(0, …) и align-self: start пазят видеото в неговата колона */
.pfx .fs-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; margin-top: 56px; }
.pfx .fs-film { position: relative; align-self: start; aspect-ratio: 16 / 10; overflow: clip; background: #000; }
.pfx .fs-film .media { position: absolute; inset: 0; }
.pfx .fs-film-video { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.pfx .fs-film-cap { position: absolute; left: 22px; bottom: 18px; font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.pfx .fs-side { display: grid; grid-template-rows: 1.2fr 1fr 1fr; gap: 16px; min-height: 0; }
.pfx .fs-a { position: relative; overflow: clip; min-height: 140px; }
.pfx .fs-a .img { position: absolute; inset: 0; filter: grayscale(1); }
.pfx .fs-video { position: relative; display: block; min-height: 150px; overflow: clip; color: #fff; text-align: left; }
.pfx .fs-video .img { position: absolute; inset: 0; filter: grayscale(1) brightness(.7); transition: transform 1.4s var(--ease-out), filter .8s, opacity .9s; }
.pfx .fs-video:hover .img { transform: scale(1.06); filter: grayscale(.2) brightness(.8); }
.pfx .fs-play { position: absolute; left: 22px; top: 22px; width: 52px; height: 52px; background: var(--c-art); }
.pfx .fs-play::after { content: ''; position: absolute; left: 21px; top: 17px; border-style: solid; border-width: 9px 0 9px 14px; border-color: transparent transparent transparent #fff; }
.pfx .fs-meta { position: absolute; left: 22px; right: 22px; bottom: 18px; display: flex; flex-direction: column; }
.pfx .fs-meta b { font-size: 18px; line-height: 1.3; font-weight: 800; }
.pfx .fs-meta span { font-size: 13px; line-height: 1.4; opacity: .8; }

/* ---------- филми ---------- */

.pfx.films { background: var(--sec-bg, #fff); color: #161616; }
/* всички наведнъж; първият е голям вляво, другите два един под друг вдясно */
.pfx .films-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(36px, 4vw, 64px) clamp(24px, 3.4vw, 56px); margin-top: 56px; align-items: start; }
.pfx .film-card { display: grid; gap: 22px; align-content: start; }
.pfx .film-card.is-main { grid-row: span 2; }
.pfx .film-big { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 16 / 9; overflow: clip; background: #0A0A0A; padding: 0; border: 0; }
.pfx .film-big.is-play { cursor: pointer; }
.pfx .film-big img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: transform 1.6s var(--ease-out), filter .9s; }
.pfx .film-big.is-play:hover img { transform: scale(1.04); filter: grayscale(0); }
.pfx .film-big.is-play .film-play { width: 84px; height: 84px; }
.pfx .film-big.is-play .film-play::after { left: 34px; top: 28px; border-left-width: 20px; border-top-width: 14px; border-bottom-width: 14px; }
.pfx .film-big.is-soon { color: #F2F0EB; }
.pfx .film-big.is-soon::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 30% 40%, rgba(255, 255, 255, .08), rgba(255, 255, 255, 0) 55%); }
.pfx .film-big.is-soon span { position: relative; font-size: clamp(60px, 9vw, 150px); line-height: 1; opacity: .9; }
.pfx .film-big.is-soon em { position: absolute; right: 22px; bottom: 18px; font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--c-art); }
.pfx .film-big.is-soon.has-img::before { z-index: 1; background: linear-gradient(to top, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0) 45%); }
.pfx .film-big.is-soon.has-img em { z-index: 2; }
.pfx .film-card:hover .film-big.is-soon.has-img img { transform: scale(1.04); filter: grayscale(0); }
.pfx .film-card:not(.is-main) .film-big.is-soon span { font-size: clamp(44px, 4.6vw, 76px); }
.pfx .film-txt { display: grid; gap: 12px; justify-items: start; }
.pfx .film-txt h3 { font-size: clamp(38px, 3.4vw, 56px); line-height: 1; }
.pfx .film-card.is-main .film-txt h3 { font-size: clamp(54px, 5.4vw, 92px); }
.pfx .film-txt .muted { font-size: 17px; line-height: 1.65; }
.pfx .film-card:not(.is-main) .film-txt .muted { font-size: 15px; }
.pfx .film-meta { font-size: 13px; line-height: 1.5; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--c-art); }
.pfx .film-play { position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 50%; background: var(--c-art); box-shadow: 0 10px 40px -10px rgba(219, 0, 0, .8); }
.pfx .film-play::after { content: ''; position: absolute; left: 26px; top: 21px; border-left: 16px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.pfx .films-note { margin-top: 56px; font-size: 15px; }
.pfx .films-note a { color: var(--c-art); }

/* ---------- прозорците: видео от YouTube и филмът с обяснение (извън секцията, в <body>) ---------- */

.art-lb { position: fixed; inset: 0; z-index: 10050; display: grid; place-items: center; padding: var(--pad, 24px); background: rgba(5, 6, 7, .92); animation: art-fade .5s var(--ease-out, ease); font-family: inherit; }
.art-lb-frame { width: min(100%, 1280px); aspect-ratio: 16 / 9; background: #000; box-shadow: 0 40px 120px rgba(0, 0, 0, .6); }
.art-lb-frame iframe, .fb-video iframe { display: block; width: 100%; height: 100%; border: 0; }
#ajax-content-wrap ~ .art-lb .art-x, .art-lb .art-x, .fb .art-x {
  position: absolute; right: 22px; top: 22px; width: 52px; height: 52px; margin: 0; padding: 0 !important; border: 0; border-radius: 50% !important;
  background: transparent !important; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); font: 400 22px / 1 inherit; cursor: pointer;
}
@keyframes art-fade { from { opacity: 0; } }
.fb { position: fixed; inset: 0; z-index: 10050; display: grid; place-items: center; padding: clamp(16px, 4vw, 60px); background: rgba(0, 0, 0, .94); color: #F2F0EB; animation: art-fade .4s var(--ease-out, ease); }
.fb-in { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(20px, 3vw, 44px); width: min(100%, 1500px); align-items: center; }
.fb-video { position: relative; aspect-ratio: 16 / 9; background: #000; }
.fb-video iframe { position: absolute; inset: 0; }
.fb-text { display: grid; gap: 14px; align-content: start; max-height: 80svh; overflow-y: auto; overscroll-behavior: contain; }
.fb-text :is(p, h3) { margin: 0; padding: 0; color: inherit; }
.fb-k { font-size: 12px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: #DB0000 !important; }
.fb-text h3 { font-family: 'Plabo Playfair', 'Playfair Display', Georgia, serif; font-style: italic; font-weight: 400; font-size: clamp(30px, 2.8vw, 46px); line-height: 1.05; letter-spacing: -.01em; }
.fb-meta { font-size: 13px; color: rgba(242, 240, 235, .6) !important; }
.fb-text p { line-height: 1.65; }
.fb-more { color: rgba(242, 240, 235, .7) !important; }
.fb-text .link { justify-self: start; position: relative; display: inline-flex; padding-bottom: 4px; color: inherit; font-weight: 700; text-decoration: none; }
.fb-text .link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; }
html.art-modal { overflow: hidden; }
html.art-modal #header-outer { opacity: 0; pointer-events: none; }

/* ---------- изкуство за стена ---------- */

.pfx.prints { background: #0A0A0A; color: #fff; overflow-x: clip; }
.pfx.prints .eyebrow { align-items: flex-end; }
.pfx .prints-sub { max-width: 380px; color: #B5B5B5; font-size: 17px; line-height: 1.6; }
.pfx .prints-note { margin-top: 10px; font-size: 14px; color: #8A8A8A; }
/* галерия на стена; отпечатъците са групирани по серии. Лентата се влачи (мишка, пръст) */
.pfx .prints-pin { position: relative; margin-top: 40px; padding-bottom: 50px; }
.pfx .prints-scroller { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; cursor: grab; user-select: none; -webkit-user-select: none; -webkit-overflow-scrolling: touch; }
.pfx .prints-scroller::-webkit-scrollbar { display: none; }
.pfx .prints-scroller.is-drag { cursor: grabbing; }
.pfx .prints-scroller img { -webkit-user-drag: none; pointer-events: none; }
.pfx .prints-rail { display: flex; align-items: flex-end; gap: clamp(60px, 7vw, 130px); width: max-content; padding: 30px 12vw 30px max(var(--pad, 24px), calc((100vw - var(--max, 1320px)) / 2)); }
/* името на серията е над творбите ѝ, с тънка линия над тях */
.pfx .pr-group { display: flex; flex-direction: column; gap: 26px; }
.pfx .pr-series { display: flex; align-items: baseline; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .2); }
.pfx .pr-row { display: flex; align-items: flex-end; gap: clamp(22px, 2.6vw, 44px); }
.pfx .pr-s { font-size: clamp(22px, 2.2vw, 34px); font-weight: 900; line-height: .95; letter-spacing: -.03em; text-transform: uppercase; }
.pfx .pr-note { font-size: 13px; color: #8A8A8A; }
.pfx .print { display: block; flex-shrink: 0; margin: 0; }
.pfx .print-mat { padding: clamp(14px, 1.6vw, 24px); background: #F2F2EE; box-shadow: 0 50px 90px -50px rgba(0, 0, 0, .9); }
/* докато снимката се зарежда, мястото ѝ е запазено, за да не мърда лентата */
.pfx .print-mat img { display: block; width: auto; height: clamp(160px, 27svh, 270px); max-width: none; filter: grayscale(1); transition: filter .8s; }
.pfx .print:nth-child(3n) .print-mat img { height: clamp(190px, 33svh, 320px); }
.pfx .print:hover .print-mat img { filter: grayscale(.2); }
.pfx .print-cap { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; margin-top: 16px; }
.pfx .print-cap b { font-size: 18px; font-weight: 800; }
.pfx .print-cap span { font-size: 15px; font-weight: 300; color: #B5B5B5; }
.pfx .prints-bar { position: absolute; left: max(var(--pad, 24px), calc((100vw - var(--max, 1320px)) / 2)); right: max(var(--pad, 24px), calc((100vw - var(--max, 1320px)) / 2)); bottom: 18px; height: 1px; background: rgba(255, 255, 255, .14); }
.pfx .prints-bar i { display: block; height: 100%; background: var(--c-art); transform-origin: left; transform: scaleX(var(--pr-p, 0)); }
.pfx .prints-cta { display: flex; margin-top: 40px; align-items: center; gap: 28px; }
.pfx [data-magnetic] { transition: transform .6s var(--ease-out); }

/* ---------- книгата ---------- */

.pfx.book { background: var(--sec-bg, #fff); color: #161616; }
.pfx .book-in { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(36px, 6vw, 110px); align-items: end; }
.pfx .book-copy > * + * { margin-top: 20px; }
.pfx .book-copy .muted { font-size: 17px; line-height: 1.65; }
/* „с цитати.“ е по-малко, за да е заглавието на два реда */
.pfx.book .book-sub { font-size: .6em; }
.pfx .book-form { display: flex; flex-direction: column; gap: 12px; }
.pfx .book-form label { font-size: 12px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; }
#ajax-content-wrap .pfx .book-form input[type="email"], .pfx .book-form input[type="email"] {
  width: 100%; height: 54px; margin: 0; padding: 0 2px; border: 0; border-bottom: 2px solid #161616; border-radius: 0;
  background: transparent; box-shadow: none; font: inherit; font-size: 18px; color: #161616; outline: none; transition: border-color .3s;
}
#ajax-content-wrap .pfx .book-form input[type="email"]:focus { border-color: var(--c-art); background: transparent; box-shadow: none; }
/* съгласието: отметка (червен квадрат, когато е отбелязана) и текстът до нея */
.pfx .book-form label.book-ok { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 14px; align-items: start; margin-top: 8px;
  font-size: 14px; font-weight: 400; line-height: 1.6; letter-spacing: 0; text-transform: none; color: #3c3c3c; cursor: pointer; }
#ajax-content-wrap .pfx .book-ok input[type="checkbox"], .pfx .book-ok input[type="checkbox"] {
  -webkit-appearance: none; appearance: none; display: grid; place-content: center; width: 20px; height: 20px; margin: 2px 0 0; padding: 0;
  border: 1.5px solid #161616; border-radius: 0; background: transparent; box-shadow: none; cursor: pointer; }
.pfx .book-ok input[type="checkbox"]::before { content: ''; width: 10px; height: 10px; background: var(--c-art); transform: scale(0); transition: transform .2s var(--ease-out); }
.pfx .book-ok input[type="checkbox"]:checked::before { transform: scale(1); }
.pfx .book-ok input[type="checkbox"]:focus-visible { outline: 2px solid var(--c-art); outline-offset: 3px; }
.pfx .book-ok a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.pfx .book-ok a:hover { color: var(--c-art); }
.pfx .book-err { margin: 0; font-size: 14px; font-weight: 600; color: var(--c-art); }
/* капанът за роботи: човек не го вижда */
.pfx .book-hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.pfx .book-form { position: relative; }
.pfx .book-form.is-busy .btn { opacity: .5; pointer-events: none; }
.pfx .book-form .btn { margin-top: 12px; align-self: flex-start; }
.pfx .book-thanks { font-size: 26px; font-weight: 300; font-style: italic; line-height: 1.35; outline: none; }
.pfx .book-thanks[hidden] { display: none; }

/* ---------- органичното: черен прах и бели мазки боя ---------- */
/* черен прах: на цялата ширина на секцията, започва от горния ѝ ръб и се стопява надолу.
   --gh докъде стига; --gm как избледнява; --go колко се вижда */
.grit { position: relative; isolation: isolate; }
.grit::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: var(--gh, 100%); z-index: -1; pointer-events: none;
  background: url(img/grit-dark.webp) center top / cover no-repeat; opacity: var(--go, .42); filter: brightness(1.5) contrast(1.05);
  -webkit-mask-image: linear-gradient(to bottom, var(--gm, #000 0%, rgba(0, 0, 0, .78) 38%, transparent 100%));
  mask-image: linear-gradient(to bottom, var(--gm, #000 0%, rgba(0, 0, 0, .78) 38%, transparent 100%)); }
.pfx.prints.grit { --gh: clamp(620px, 100vh, 1000px); }
.grit .gn, .gn.grit { --gh: 90%; }

/* бели мазки боя: неподвижна част от фона. multiply: на бяло се виждат само сенките им;
   меката кръгла маска скрива ръбовете. Редът ги изрязва (клас art-sec на реда: виж CSS на страницата) */
.paint { position: absolute; z-index: -1; left: var(--x); width: var(--pw); max-width: none !important; height: auto; margin: 0; pointer-events: none; mix-blend-mode: multiply; opacity: .6;
  translate: -50% -50%; transform: rotate(var(--rot)) scaleX(var(--fx));
  -webkit-mask-image: radial-gradient(circle closest-side at 50% 50%, #000 54%, transparent 96%);
  mask-image: radial-gradient(circle closest-side at 50% 50%, #000 54%, transparent 96%); }
@media (max-width: 600px) { .paint { left: var(--mx); width: calc(var(--pw) * .62); } }

/* ---------- телефон ---------- */

@media (max-width: 900px) {
  .pfx .fs-grid { grid-template-columns: minmax(0, 1fr); }
  .pfx .fs-side { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .pfx .fs-a { grid-column: 1 / -1; height: 260px; }
  .fb-in, .pfx .book-in { grid-template-columns: minmax(0, 1fr); }
  .pfx .films-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pfx .film-card.is-main { grid-row: auto; grid-column: 1 / -1; }
  .fb-text { max-height: 40svh; }
}
@media (max-width: 600px) {
  .pfx .fs-side { grid-template-columns: minmax(0, 1fr); }
  .pfx .print-mat img { height: 34svh; }
  .pfx .print:nth-child(3n) .print-mat img { height: 40svh; }
  .pfx .films-grid { grid-template-columns: minmax(0, 1fr); }
  .pfx.redband { padding: 12px 0; }
}

/* „намалено движение“: нищо не се движи само */
@media (prefers-reduced-motion: reduce) {
  .pfx .grain { animation: none; }
  .pfx .ah-title > span, .pfx .ah-line { animation: none; }
  .pfx .fs-video .img, .pfx .film-big img { transition: none; }
  .pfx .book-ok input[type="checkbox"]::before { transition: none; }
}
.pfx .book-form [hidden] { display: none !important; }

/* белият цитат („Някои от най-хубавите неща…“): тъмен текст върху бялото */
.pfx.quote.q-ink { color: #161616; }

/* Salient дава на всяка снимка в ред на WPBakery „.row .col img { height: auto; margin-bottom: 15px }“
   и това е по-силно от правилата с два класа: тук снимките са без отстъп и с височината си */
#ajax-content-wrap .pfx:is(.ah, .redband, .fromshows, .films, .prints, .book) img { margin-bottom: 0; }
#ajax-content-wrap .pfx .fl-img, #ajax-content-wrap .pfx.fromshows .img { height: 100%; }
