/* Art Story – הסיור (WebGL) והשכבות שמעליו */
:where(.page-home) .tour, .tour:where(.page-home) { position: relative; height: 1500vh; }
:where(.page-home) .tour-stage, .tour-stage:where(.page-home) { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
:where(.page-home) #tour-gl, #tour-gl:where(.page-home) { touch-action: pan-y; position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
:where(.page-home) .tour-top__end, .tour-top__end:where(.page-home) { display: flex; align-items: center; gap: 10px; }
:where(.page-home) .tour-snd, .tour-snd:where(.page-home) { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; color: var(--cream); background: rgba(11,10,9,.25); border: 1px solid var(--line); border-radius: 999px; cursor: pointer; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
:where(.page-home) .tour-snd:hover, .tour-snd:hover:where(.page-home) { border-color: var(--brass); }
:where(.page-home) .tour-snd[aria-pressed=true], .tour-snd[aria-pressed=true]:where(.page-home) { color: var(--brass); border-color: var(--brass); }
:where(.page-home) .tour-snd[aria-pressed=true] .snd-off, .tour-snd[aria-pressed=true]:where(.page-home) .snd-off, :where(.page-home) .tour-snd[aria-pressed=false] .snd-on, .tour-snd[aria-pressed=false]:where(.page-home) .snd-on { display: none; }
:where(.page-home) .tour-rail, .tour-rail:where(.page-home) { position: fixed; z-index: 20; inset-inline-start: max(24px, env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-50%); display: grid; grid-template-columns: 1px auto; gap: 0 14px; align-items: stretch; }
:where(.page-home) .tour-rail__line, .tour-rail__line:where(.page-home) { grid-row: 1 / span 6; background: var(--line); position: relative; }
:where(.page-home) #tour-rail-fill, #tour-rail-fill:where(.page-home) { position: absolute; inset: 0; background: var(--brass); transform-origin: top; transform: scaleY(0); }
:where(.page-home) .tour-rail a, .tour-rail:where(.page-home) a { font-size: 11.5px; letter-spacing: .08em; color: rgba(239,230,214,.38); text-decoration: none; padding: 7px 0; transition: color .4s; }
:where(.page-home) .tour-rail a.is-on, .tour-rail:where(.page-home) a.is-on { color: var(--cream); }
:where(.page-home) .tour-rail a:hover, .tour-rail:where(.page-home) a:hover { color: var(--brass); }
:where(.page-home) .tour-text, .tour-text:where(.page-home) { position: fixed; z-index: 10; inset-inline: 0; display: grid; justify-items: center; text-align: center; pointer-events: none; visibility: hidden; opacity: 0; will-change: opacity, transform; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
:where(.page-home) .tour-text::before { content:''; position:absolute; inset:-14vh -10vw; z-index:-1; background: radial-gradient(closest-side, rgba(8,7,6,.62), rgba(8,7,6,0)); }
:where(.page-home) .tour-text--low, .tour-text--low:where(.page-home) { bottom: calc(env(safe-area-inset-bottom, 0px) + 9vh); }
:where(.page-home) .tour-text--mid, .tour-text--mid:where(.page-home) { top: 50%; margin-top: -1.2em; }
:where(.page-home) .tour-text--side, .tour-text--side:where(.page-home) { top: 34%; inset-inline: auto; inset-inline-start: max(150px, env(safe-area-inset-right, 0px)); width: min(30vw, 420px); justify-items: start; text-align: start; }
:where(.page-home) .tour-text--side .t-s, .tour-text--side:where(.page-home) .t-s { margin-inline: 0; }
:where(.page-home) .tour-text--high, .tour-text--high:where(.page-home) { top: calc(env(safe-area-inset-top, 0px) + 13vh); }
:where(.page-home) #tour-hud, #tour-hud:where(.page-home) { position: fixed; z-index: 12; inset-inline: 0; bottom: calc(env(safe-area-inset-bottom, 0px) + 22px); display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; opacity: 0; visibility: hidden; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); pointer-events: none; }
:where(.page-home) .hud-chip, .hud-chip:where(.page-home) { font-size: 12px; letter-spacing: .04em; color: var(--cream); background: rgba(11,10,9,.62); border: 1px solid var(--line); padding: 9px 14px; border-radius: 999px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: flex; gap: 8px; align-items: baseline; font-variant-numeric: tabular-nums; }
:where(.page-home) .hud-chip b, .hud-chip:where(.page-home) b { font-weight: 500; color: var(--brass); }
:where(.page-home) .hud-chip span[dir=ltr], .hud-chip:where(.page-home) span[dir=ltr] { direction: ltr; unicode-bidi: isolate; }
:where(.page-home) .tour-sizes, .tour-sizes:where(.page-home) { position: fixed; z-index: 14; inset-inline: 0; top: calc(env(safe-area-inset-top, 0px) + 72px); display: grid; justify-items: center; gap: 18px; text-align: center; opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .6s, transform .6s, visibility 0s .6s; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
:where(.page-home) .tour-shade, .tour-shade:where(.page-home) { position: absolute; inset: auto 0 0 0; height: 60%; pointer-events: none; z-index: 11; opacity: 0; background: linear-gradient(to top, rgba(22,15,10,.94) 0%, rgba(22,15,10,.78) 38%, rgba(22,15,10,0) 100%); }
:where(.page-home) .tour-caps, .tour-caps:where(.page-home) { position: absolute; inset-inline: 0; bottom: calc(env(safe-area-inset-bottom, 0px) + 10vh); display: grid; justify-items: center; pointer-events: none; z-index: 12; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
:where(.page-home) .tour-cap, .tour-cap:where(.page-home) { grid-area: 1 / 1; visibility: hidden; text-align: center; }
:where(.page-home) .tour-cap.is-on, .tour-cap.is-on:where(.page-home) { visibility: visible; }
:where(.page-home) .tour-cap--end, .tour-cap--end:where(.page-home) { transform: translateY(-84px); }
:where(.page-home) .tour-cap--top, .tour-cap--top:where(.page-home) { align-self: end; transform: translateY(calc(-62vh + 100%)); }
@media (max-width: 760px) { :where(.page-home) .tour-cap--top, .tour-cap--top:where(.page-home) { transform: translateY(calc(-58vh + 100%)); } }
:where(.page-home) .cap-t, .cap-t:where(.page-home) { margin: 0; font-family: var(--sans); font-weight: 800; font-size: clamp(36px, 6vw, 104px); line-height: 1.02; letter-spacing: -.025em; color: #fff7ea; text-wrap: balance; text-shadow: 0 4px 40px rgba(10,6,3,.7), 0 1px 3px rgba(10,6,3,.5); }
:where(.page-home) .cap-t b, .cap-t:where(.page-home) b { font-weight: 800; color: #e2b96f; }
:where(.page-home) .cap-t .w, .cap-t:where(.page-home) .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.06em; }
:where(.page-home) .cap-t .w > span, .cap-t:where(.page-home) .w > span { display: inline-block; transform: translateY(105%); transition: transform .85s cubic-bezier(.2,.8,.2,1); }
:where(.page-home) .tour-cap.is-on .cap-t .w > span, .tour-cap.is-on:where(.page-home) .cap-t .w > span { transform: none; }
:where(.page-home) .tour-cap.is-out .cap-t .w > span, .tour-cap.is-out:where(.page-home) .cap-t .w > span { transform: translateY(-105%); transition-duration: .55s; }
:where(.page-home) .tour-end, .tour-end:where(.page-home) { position: absolute; z-index: 16; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 9vh); transform: translate(-50%, 14px); opacity: 0; visibility: hidden; transition: opacity .6s, transform .6s, visibility 0s .6s; white-space: nowrap; }
:where(.page-home) .tour-end.is-on, .tour-end.is-on:where(.page-home) { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .6s, transform .6s; }
:where(.page-home) .tour-credit, .tour-credit:where(.page-home) { position: fixed; z-index: 5; bottom: calc(env(safe-area-inset-bottom, 0px) + 8px); inset-inline-end: max(16px, env(safe-area-inset-left, 0px)); font-size: 10px; color: rgba(239,230,214,.3); direction: ltr; }
:where(.page-home) .no-gl .tour, .no-gl:where(.page-home) .tour, :where(.page-home) .no-gl .tour-rail, .no-gl:where(.page-home) .tour-rail, :where(.page-home) .no-gl .tour-text, .no-gl:where(.page-home) .tour-text, :where(.page-home) .no-gl #tour-hud, .no-gl:where(.page-home) #tour-hud { display: none; }
:where(.page-home) .tour-fallback, .tour-fallback:where(.page-home) { display: none; }
:where(.page-home) .no-gl .tour-fallback, .no-gl:where(.page-home) .tour-fallback { display: grid; min-height: 100vh; place-items: center; padding: 100px 16px 40px; gap: 24px; text-align: center; }
:where(.page-home) .tour-fallback img, .tour-fallback:where(.page-home) img { width: min(420px, 86vw); outline: 10px solid #1a1714; }
@media (max-width: 760px) { :where(.page-home) .tour-text--side, .tour-text--side:where(.page-home) { top: auto; bottom: calc(env(safe-area-inset-bottom, 0px) + 86px); transform: none; inset-inline: 0; width: auto; justify-items: center; text-align: center; } }
@media (max-width: 760px) { :where(.page-home) .tour-rail, .tour-rail:where(.page-home) { display: none; } }
@media (max-width: 760px) { :where(.page-home) .tour-text::before { content:''; position:absolute; inset:-14vh -10vw; z-index:-1; background: radial-gradient(closest-side, rgba(8,7,6,.62), rgba(8,7,6,0)); } }
@media (max-width: 760px) { :where(.page-home) .tour-text--low, .tour-text--low:where(.page-home) { bottom: calc(env(safe-area-inset-bottom, 0px) + 7vh); } }
@media (max-width: 760px) { :where(.page-home) .hud-chip, .hud-chip:where(.page-home) { font-size: 11px; padding: 7px 11px; } }
.tour-end { left: 0 !important; right: 0 !important; margin-inline: auto !important; width: max-content; transform: translateY(14px) !important; transition: opacity .6s ease, transform .6s ease, visibility 0s linear .6s !important; }
.tour-end.is-on { transform: none !important; transition: opacity .6s ease, transform .6s ease !important; }
.tour .cta, .tour-end { background: var(--blue) !important; color: var(--brown) !important; }
.tour, .tour * { --cream: #f3ebdd; --cream-dim: rgba(243,235,221,.74); }
.tour-end { background: var(--blue) !important; color: var(--brown) !important; font-weight: 600 !important; }
.tour-end { background: var(--blue) !important; color: var(--brown) !important; border: 0 !important; font-weight: 600 !important; box-shadow: 0 8px 18px -10px rgba(58,34,22,.55) !important; }

.tour-stage { background: #2a1a10; }
