/* The arrow is anchored to the photo, so the tip stays on its top edge. */
.hero-home .gallery .photo-edge-arrow{position:absolute;right:20%;bottom:calc(100% + 5px);width:clamp(16px,1.55vw,25px);height:auto;fill:none;stroke:var(--gold);stroke-width:1.35;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.hero-home .gallery .photo-side-arrow{position:absolute;right:calc(100% + 6px);top:46%;width:clamp(24px,3.1vw,50px);height:auto;fill:none;stroke:var(--gold);stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
@media(max-width:760px){.hero-home .gallery .photo-edge-arrow{right:18%;width:17px}.hero-home .gallery .photo-side-arrow{top:49%}}

/* Home event artwork fills its frame. Each image is positioned to keep faces visible. */
.reference-home .schedule-cards .event-photo{object-fit:cover;display:block}
.reference-home .home-venue-entry{position:relative;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto 1fr;align-items:start;aspect-ratio:328/111;min-height:112px;padding:7px calc(37% + 14px) 7px 12px}
.home-venue-entry .entrance-photo{position:absolute;inset:7px 7px 7px auto;width:37%;overflow:hidden;border-radius:8px;border:1px solid #50433a;background:#171310}
.entrance-photo img{display:block;width:100%;height:100%;object-fit:cover}
.entrance-photo .entrance-belinskogo{object-position:50% 32%}
.entrance-photo .entrance-sign{object-position:56% 65%;filter:brightness(1.1) contrast(1.12)}
.entrance-photo .entrance-marata{object-position:57% 50%}
.home-venue-entry h3{font-size:clamp(15px,1.45vw,20px);margin:6px 0 0}
.home-venue-entry p{margin:5px 0 7px}
.reference-home .home-venue-entry .button{align-self:end;min-height:30px;padding:6px 10px;font-size:11px}
.home-footer{padding:42px max(4.65vw,calc((100% - 1320px)/2)) 0;background:#1b1714;border-top:1px solid #474039;color:#f7efde;font:14px/1.5 "Review Sans",sans-serif}
.footer-grid{display:grid;grid-template-columns:1.15fr .85fr 1fr 1.3fr;gap:28px;align-items:start}
.footer-grid h2{font:700 16px/1.25 "Review Sans",sans-serif;letter-spacing:0;margin:0 0 12px}
.footer-grid a:not(.button){display:block;margin:0 0 7px}
.footer-grid a:not(.button):hover{color:var(--gold)}
.footer-brand img{width:120px;height:auto}
.footer-grid p{margin:0 0 15px;color:#cab9aa}
.footer-telegram{background:#28211b;border:1px solid #474039;border-radius:14px;padding:17px 18px}
.footer-telegram .button{font:700 12px/1.2 "Review Sans",sans-serif;border-radius:12px;min-height:38px;padding:8px 12px}
.footer-bottom{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #474039;margin-top:30px;padding:15px 0;color:#cab9aa;font-size:12px}
@media(max-width:850px){.footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:420px){.footer-grid{gap:22px 14px}.footer-telegram{grid-column:1/-1}}
.hero-periods a{flex:1;min-width:0;padding-inline:6px;white-space:nowrap}
.hero-periods a[data-period="today"]{background:var(--gold);border-color:var(--gold);color:var(--ink)}

.home-schedule-heading{margin-bottom:22px}
.home-schedule-heading h2{margin-bottom:6px}
.home-schedule-caption{margin:0;color:#cab9aa;font-size:14px}
.home-carousel-controls{display:flex;justify-content:flex-end;gap:8px;margin-bottom:2px}
.home-carousel-controls[hidden],.home-carousel-toggle[hidden]{display:none}
.home-carousel-controls .button{width:44px;min-height:44px;padding:0;font-size:22px;border-radius:50%}
.home-carousel-controls .home-carousel-toggle{font-size:16px}
.home-carousel-controls .button:disabled{opacity:.3;cursor:default}

.reference-home .schedule-cards{display:block;position:relative;overflow:hidden;padding:12px 0 18px;margin:0;touch-action:pan-y pinch-zoom;overscroll-behavior-x:contain;isolation:isolate;scrollbar-width:none}
.schedule-cards::-webkit-scrollbar{display:none}
.reference-home .schedule-cards>.tile{position:absolute;top:12px;left:50%;width:46%;max-width:490px;transform:translateX(calc(-50% + var(--step,0)*68% + var(--drag-x,0px))) scale(var(--scale,1));transform-origin:center center;transition:transform .55s cubic-bezier(.22,.68,.25,1),opacity .4s,filter .4s;box-shadow:0 16px 26px #0005;cursor:pointer;opacity:.7;filter:brightness(.8)}
.reference-home .schedule-cards>.tile.is-active{opacity:1;filter:none;cursor:default}
.reference-home .schedule-cards>.tile.is-hidden{opacity:0;pointer-events:none}
.reference-home .schedule-cards>.tile:not(.is-active) a{pointer-events:none}
.reference-home .schedule-cards .home-afisha-link{min-height:350px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:30px;background:#262119;border-color:#62562e}
.reference-home .schedule-cards .home-afisha-link h3{font-size:clamp(24px,2.5vw,36px);margin:14px 0;max-width:260px}
.home-afisha-link p{color:#cab9aa;margin:0 0 24px;max-width:270px}
.home-afisha-link .home-afisha-eyebrow{color:var(--gold);font:700 10px/1.6 monospace;letter-spacing:.1em;margin-bottom:0}
.home-afisha-link .button{display:inline-flex;min-height:48px;padding:13px 20px;font-size:14px}
.home-carousel-dots{display:flex;justify-content:center;gap:9px;padding:8px 0 14px}
.home-carousel-dots button{border:0;width:8px;height:8px;border-radius:50%;background:#665c50;padding:0;cursor:pointer;transition:background .2s,transform .2s}
.home-carousel-dots button[aria-current="true"]{background:var(--gold);transform:scale(1.25)}
@media(max-width:640px){.reference-home .schedule-cards>.tile{width:78%;transform:translateX(calc(-50% + var(--step,0)*75% + var(--drag-x,0px))) scale(var(--scale,1))}.home-carousel-controls .button{width:36px;min-height:36px}.home-schedule-heading h2{font-size:28px}.reference-home .schedule-cards .home-afisha-link{padding:24px;min-height:330px}}
@media(prefers-reduced-motion:reduce){.reference-home .schedule-cards>.tile{transition:none}}

.reference-home .schedule-cards .home-afisha-link{padding:140px 28px 28px;min-height:390px;align-items:center;justify-content:flex-end;text-align:center;overflow:hidden}
.home-afisha-link .home-afisha-sketch{position:absolute;left:28px;top:20px;width:106px;height:118px;object-fit:contain;mix-blend-mode:lighten;transform:rotate(-12deg);pointer-events:none}
.reference-home .schedule-cards .home-afisha-link .home-afisha-eyebrow{position:absolute;top:25px;right:22px;width:58%;max-width:245px;color:var(--gold);font:500 clamp(23px,2.25vw,31px)/.95 Caveat,"Hero Hand",cursive;letter-spacing:0;text-align:right;text-transform:none;transform:rotate(7deg);margin:0}
.reference-home .schedule-cards .home-afisha-link h3{max-width:none;margin:0 0 14px;font-size:clamp(25px,2.5vw,34px)}
.home-afisha-link p:not(.home-afisha-eyebrow){margin:0 0 24px;max-width:290px}
.reference-home .schedule-cards .home-afisha-link .button{align-self:center;min-height:48px;font-size:14px;padding:14px 22px;box-shadow:0 5px 20px #ffe44e15}
@media(max-width:640px){.reference-home .schedule-cards .home-afisha-link{padding:140px 22px 25px;min-height:390px}.home-afisha-link .home-afisha-sketch{left:14px;width:85px;top:23px}.reference-home .schedule-cards .home-afisha-link .home-afisha-eyebrow{right:19px;top:29px;font-size:25px;width:60%}}

.footer-telegram{position:relative}.footer-gift-icon{width:58px;height:58px;object-fit:contain;margin-bottom:12px}.month-with-icon{display:flex;align-items:center;gap:14px}.month-with-icon img{width:44px;height:44px}.private-event-icon{width:86px;height:86px;margin-bottom:20px}

/* Original approved raster art: retain the source strokes and colours. */
img[src^="/icons/approved/"]{mix-blend-mode:lighten;object-fit:contain}

.home-date-picker{margin:0 0 12px}
.home-date-picker[hidden],.home-carousel-dots[hidden]{display:none}
.home-date-picker h3{margin:0 0 12px;color:var(--cream);font-size:clamp(20px,2.4vw,28px)}
.home-date-picker h3 img{width:35px;height:35px}
.home-date-row{display:grid;grid-template-columns:auto auto minmax(0,1fr) auto;gap:8px;align-items:stretch}
.home-date-list{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;scroll-snap-type:x proximity}
.home-date-list::-webkit-scrollbar,.home-carousel-dots::-webkit-scrollbar{display:none}
.home-date-row .button{padding:8px 12px;min-height:56px}
.home-date-row .home-date-arrow{width:40px;padding:0}
.home-date-row .home-date-arrow:disabled{opacity:.35;cursor:default}
.home-date-row .home-date-pill{flex:0 0 55px;display:grid;place-content:center;gap:3px;line-height:1.03;scroll-snap-align:start}
.home-date-pill strong{font-size:20px}
.home-date-pill span{font-size:11px;font-weight:500}
.home-date-row .button[aria-pressed=true]{background:var(--gold);border-color:var(--gold);color:#1d1507}
.home-date-row .button:focus-visible{outline-offset:-3px}
.reference-home .schedule-cards>.tile{top:20px;transition:transform .55s cubic-bezier(.22,.68,.25,1),opacity .4s,filter .4s,box-shadow .4s}
.reference-home .schedule-cards>.tile.is-active{box-shadow:0 13px 35px -8px #ffe45238,0 0 25px #f1a84918,0 16px 26px #0006}
.home-carousel-dots{position:relative;justify-content:safe center;overflow-x:auto;scrollbar-width:none}
.home-carousel-dots button{flex-shrink:0}
@media(max-width:640px){.home-date-row{gap:5px}.home-date-list{gap:5px}.home-date-row .button{min-height:49px;border-radius:10px}.home-date-row .home-date-all{padding:6px 8px;font-size:11px}.home-date-row .home-date-arrow{width:27px}.home-date-row .home-date-pill{flex-basis:42px;padding:5px}.home-date-pill strong{font-size:18px}}
@media(prefers-reduced-motion:reduce){.reference-home .schedule-cards>.tile{transition:none}}

.reference-home .schedule-cards.is-dragging>.tile{transition:none;cursor:grabbing;user-select:none}
