/* =========================================================================
   תיק העבודות ועמודי הפרויקט: המוקאפים (ht-cs), הגלריה הקעורה (ht-ring), העולמות (ht-world) והרשת (ht-all).
   טלפון קודם. הנתונים ב-inc/cases.php, התנועה ב-assets/js/cases.js.
   ========================================================================= */

/* ---------- מוקאפ: כל המידות ביחס לתיבה שלו (cqw, cqh) ---------- */
.ht-cs { position: absolute; inset: 0; display: block; overflow: hidden; background: var(--plate); container-type: size; }
.ht-cs__view { position: absolute; inset: 0; display: block; overflow: hidden; container-type: size; background: #fff; }
.ht-cs__long { position: absolute; top: 0; inset-inline-start: 0; display: block; width: 100%; height: auto; max-width: none; transform: translateY(0); }
/* האתר גולל למטה ולמעלה כל עוד המכשיר במרכז המסך או בריחוף (is-live, cases.js) */
@keyframes ht-scroll { 0%, 8% { transform: translateY(0); } 92%, 100% { transform: translateY(min(0px, calc(-100% + 100cqh))); } }
.ht-cs__long { animation: ht-scroll 13s cubic-bezier(.45, .05, .35, 1) infinite alternate paused; }
.ht-cs.is-live .ht-cs__long { animation-play-state: running; }

/* סט צילום: תמונה עם חור שקוף במסך, והאתר רץ מאחוריה */
.ht-cs__set { position: absolute; top: 50%; left: 50%; display: block; width: max(100cqw, 133.334cqh); aspect-ratio: 4 / 3; transform: translate(-50%, -50%); }
.ht-cs__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ht-cs__screen { position: absolute; left: calc(var(--x) * 1% - .3%); top: calc(var(--y) * 1% - .4%); width: calc(var(--w) * 1% + .6%); height: calc(var(--h) * 1% + .8%); overflow: hidden; background: var(--top, #fff); }
.ht-cs__screen .ht-cs__view { top: calc(var(--bar) * 1%); }

/* דפדפן וטלפון על משטח בצבע הלקוח */
.ht-cs--duo::after, .ht-cs--trio::after, .ht-cs--tall::after { content: ''; position: absolute; inset: 0; background: radial-gradient(90% 80% at 24% 12%, rgba(255, 255, 255, .34), rgba(255, 255, 255, 0) 62%); pointer-events: none; }
.ht-cs__win { position: absolute; display: block; border-radius: 1.6cqw; overflow: hidden; background: #fff; box-shadow: 0 4cqw 8cqw -3cqw rgba(0, 0, 0, .42); }
.ht-cs__bar { position: absolute; inset: 0 0 auto; z-index: 2; display: flex; align-items: center; gap: .9cqw; height: 4cqw; padding-inline: 1.8cqw; background: #f1eff3; }
.ht-cs__bar i { width: 1.2cqw; height: 1.2cqw; border-radius: 50%; background: #d7d3dc; }
.ht-cs__win .ht-cs__view { top: 4cqw; }
.ht-cs__phone { position: absolute; display: block; width: var(--pw, 22cqw); aspect-ratio: 9 / 19.3; padding: calc(var(--pw, 22cqw) * .04); border-radius: calc(var(--pw, 22cqw) * .16); background: #17171c; box-shadow: inset 0 0 0 calc(var(--pw, 22cqw) * .012) #4b4b55, 0 4cqw 8cqw -2cqw rgba(0, 0, 0, .5); }
.ht-cs__phone .ht-cs__view { inset: calc(var(--pw, 22cqw) * .04); border-radius: calc(var(--pw, 22cqw) * .125); background: var(--top, #fff); }
.ht-cs__phone::before { content: ''; position: absolute; z-index: 2; top: calc(var(--pw, 22cqw) * .075); left: 50%; width: 30%; height: calc(var(--pw, 22cqw) * .07); border-radius: 99px; background: #000; transform: translateX(-50%); }
.ht-cs__phone .ht-cs__view { padding-top: 0; }
.ht-cs--duo .ht-cs__win { left: 27cqw; top: 14cqh; width: 78cqw; height: 90cqh; rotate: -2deg; }
.ht-cs--duo .ht-cs__phone { --pw: min(23cqw, 33cqh); left: 8cqw; top: 22cqh; rotate: 4deg; z-index: 1; }
.ht-cs--tall .ht-cs__win { left: 11cqw; top: 13cqh; width: 78cqw; height: 100cqh; }
.ht-cs--tall.is-short .ht-cs__win { top: 50%; height: auto; aspect-ratio: 16 / 10; translate: 0 -50%; }
.ht-cs--trio .ht-cs__phone { --pw: min(25cqw, 40cqh); top: 20cqh; left: 50%; translate: -50% 0; }
.ht-cs--trio .ht-cs__phone:nth-child(1) { translate: -158% 13cqh; rotate: -5deg; }
.ht-cs--trio .ht-cs__phone:nth-child(2) { z-index: 1; }
.ht-cs--trio .ht-cs__phone:nth-child(3) { translate: 58% 13cqh; rotate: 5deg; }
.ht-cs--trio .ht-cs__phone:not(:nth-child(2)) .ht-cs__long { animation: none; transform: translateY(calc((-100% + 100cqh) * .42)); }
.ht-cs--trio .ht-cs__phone:nth-child(3) .ht-cs__long { transform: translateY(calc((-100% + 100cqh) * .8)); }
.ht-cs__pic { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ht-cs--win { background: none; overflow: visible; }
.ht-cs--win .ht-cs__win { inset: 0; border-radius: 16px; }
.ht-cs--win .ht-cs__bar { height: 30px; gap: 7px; padding-inline: 14px; }
.ht-cs--win .ht-cs__bar i { width: 9px; height: 9px; }
.ht-cs--win .ht-cs__view { top: 30px; }

/* גובה: כל אזור במסך אחד (הדר, 25.11.2026: "שוב פעם ה-VH נראה גבוה מדי"), וריווח קטן בין אזורים */
.ht-fl, .ht-case { --sec: 56px; }
@media (min-width: 900px) { .ht-fl, .ht-case { --sec: 72px; } }
@media (min-width: 640px) { .ht-all__head .ht-thin, .ht-case__next .ht-thin { display: inline; } }

/* ---------- 1. הפתיחה והגלריה הקעורה ---------- */
.ht-fl { overflow: clip; }
.ht-fl__hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; padding-block: 30px 34px; }
.ht-fl__head { display: grid; justify-items: center; gap: 12px; text-align: center; }
.ht-fl__title { margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(50px, 16vw, 92px); line-height: .9; white-space: nowrap; letter-spacing: -.01em; }
.ht-fl__lead { margin: 0; max-width: 30ch; font-size: var(--fs-lead); line-height: 1.4; color: var(--ink-2); text-wrap: balance; }
.ht-fl__lead span { display: block; }
@media (min-width: 640px) { .ht-fl__lead span { display: inline; } }
.ht-ring { --tw: 62vw; --th: calc(var(--tw) * 1.1); position: relative; }
.ht-ring__track { display: flex; gap: 14px; margin: 0; padding: 18px var(--side); list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.ht-ring__track::-webkit-scrollbar { display: none; }
.ht-ring__tile { flex: 0 0 var(--tw); height: var(--th); scroll-snap-align: center; }
.ht-ring__tile > * { display: block; height: 100%; border-radius: 26px; overflow: hidden; background: var(--plate); outline-offset: 4px; }
.ht-ring__tile img { display: block; width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.ht-ring__cap, .ht-ring__pause { display: none; }
.ht-ring.is-3d { height: calc(var(--th) * 1.16 + 74px); perspective: var(--persp, 1300px); perspective-origin: 50% 46%; touch-action: pan-y; cursor: grab; user-select: none; }
.ht-ring.is-3d.is-drag { cursor: grabbing; }
.ht-ring.is-3d .ht-ring__track { position: absolute; inset: 0; display: block; padding: 0; overflow: visible; transform-style: preserve-3d; transform: translateZ(var(--r)) rotateY(var(--a, 0deg)); will-change: transform; }
.ht-ring.is-3d .ht-ring__track { pointer-events: none; }
.ht-ring.is-3d .ht-ring__tile { pointer-events: auto; position: absolute; top: calc(var(--th) * .07); left: 50%; width: var(--tw); margin-left: calc(var(--tw) / -2); transform: rotateY(calc(var(--i) * var(--step))) translateZ(calc(var(--r) * -1)); backface-visibility: hidden; }
.ht-ring.is-3d .ht-ring__tile.is-off { visibility: hidden; }
.ht-ring.is-3d .ht-ring__cap { position: absolute; inset-inline: 0; bottom: 0; display: grid; justify-items: center; margin: 0; text-align: center; pointer-events: none; transition: opacity .25s var(--ease-ui); }
.ht-ring__cap strong { font-family: var(--display); font-weight: 900; font-size: 30px; line-height: 1.1; }
.ht-ring__cap span { font-size: var(--fs-small); color: var(--ink-2); }
.ht-ring.is-3d .ht-ring__pause { position: absolute; z-index: 3; bottom: 6px; inset-inline-end: var(--side); display: grid; place-items: center; width: 46px; height: 46px; border: 1.5px solid var(--line); border-radius: 50%; background: var(--page); color: var(--ink); cursor: pointer; transition: border-color .4s var(--ease), color .4s var(--ease); }
.ht-ring__pause path { fill: currentColor; }
.ht-ring__pause .is-play, .ht-ring__pause[aria-pressed="true"] .is-pause { display: none; }
.ht-ring__pause[aria-pressed="true"] .is-play { display: block; }
@media (hover: hover) and (pointer: fine) { .ht-ring__pause:hover { color: var(--pink-hot); border-color: currentColor; } }

/* ---------- 2. עולמות ---------- */
.ht-worlds { display: grid; gap: 14px; padding: 26px 12px 0; }
.ht-world { color: var(--ink); }
.ht-world.is-dark { color: #fff; }
.ht-world__in { position: relative; display: grid; overflow: hidden; border-radius: 34px; background: linear-gradient(var(--bg) 44%, var(--floor) 78%); isolation: isolate; }
.ht-world__set { position: relative; order: 2; aspect-ratio: 4 / 3.5; }
.ht-world__set .ht-cs { background: none; }
.ht-world__text { position: relative; z-index: 2; display: grid; justify-items: center; gap: 10px; padding: 28px 22px 0; text-align: center; }
.ht-world__name { margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(46px, 14vw, 64px); line-height: .92; letter-spacing: -.01em; text-wrap: balance; }
.ht-world__kind { margin: 0; font-weight: var(--bold); font-size: 16px; }
.ht-world__line { margin: 0; max-width: 32ch; color: inherit; font-size: var(--fs-body); line-height: 1.5; text-wrap: balance; }
.ht-world__btn { margin-top: 6px; min-height: 50px; background: var(--ink); border-color: var(--ink); color: #fff; }
.ht-world.is-dark .ht-world__btn { background: #fff; border-color: #fff; color: var(--ink); }
/* ריחוף: רק החלפת צבע (הדר, 23.11) */
.ht-world__btn::before, .ht-all__more .ht-btn::before, .ht-all__none .ht-btn::before { display: none; }
.ht-world__btn { transition: background-color .45s var(--ease), border-color .45s var(--ease), color .45s var(--ease); }
@media (hover: hover) and (pointer: fine) { .ht-world__btn:hover, .ht-world.is-dark .ht-world__btn:hover { background: var(--pink); border-color: var(--pink); color: #fff; } .ht-all__more .ht-btn:hover, .ht-all__none .ht-btn:hover { background: var(--pink-hot); border-color: var(--pink-hot); } }
.ht-world__win { display: none; }
@media (max-width: 899px) {
	.ht-world--hero:not(.has-scene) .ht-world__set { aspect-ratio: 4 / 3.6; }
	.ht-world__set { -webkit-mask-image: linear-gradient(transparent, #000 16%); mask-image: linear-gradient(transparent, #000 16%); margin-top: -26px; }
}

/* ---------- 3. כל העבודות ---------- */
.ht-all { padding-block: 60px; }
.ht-all__head { display: grid; justify-items: center; gap: 24px; text-align: center; }
.ht-all__tools { display: grid; justify-items: center; gap: 14px; width: 100%; }
.ht-all__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.ht-all__chip { min-height: 46px; padding: 0 18px; border: 1.5px solid var(--line); border-radius: 99px; background: #fff; color: var(--ink); font: inherit; font-size: 16px; font-weight: var(--bold); cursor: pointer; transition: background-color .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease); }
.ht-all__chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.ht-all__search { display: flex; align-items: center; gap: 10px; width: min(100%, 360px); min-height: 50px; padding: 0 18px; border: 1.5px solid var(--line); border-radius: 99px; background: #fff; transition: border-color .4s var(--ease); }
.ht-all__search:focus-within { border-color: var(--pink); }
.ht-all__search svg { flex: none; color: var(--pink); }
.ht-all__search input { flex: 1; min-width: 0; height: 48px; border: 0; background: none; color: var(--ink); font: inherit; font-size: 17px; outline: 0; }
.ht-all__search input::placeholder { color: var(--ink-2); opacity: 1; }
.ht-all__grid { display: grid; gap: 28px; margin: 30px 0 0; padding: 0; list-style: none; }
.ht-all__card[hidden] { display: none; }
.ht-all__link { display: grid; gap: 14px; color: inherit; text-decoration: none; }
.ht-all__vis { position: relative; display: block; aspect-ratio: 1 / .82; overflow: hidden; border-radius: 28px; isolation: isolate; }
.ht-all__cap { display: grid; gap: 2px; padding-inline: 4px; }
.ht-all__cap strong { font-family: var(--display); font-weight: 900; font-size: 27px; line-height: 1.1; }
.ht-all__cap span { font-size: 16px; color: var(--ink-2); }
.ht-all__more { margin: 46px 0 0; text-align: center; }
.ht-all__more[hidden] { display: none; }
.ht-all__more .ht-btn { min-width: 220px; }
.ht-all__none { display: grid; justify-items: center; gap: 16px; padding-block: 40px 10px; text-align: center; }
.ht-all__none[hidden] { display: none; }
.ht-all__none p { margin: 0; font-family: var(--display); font-weight: 900; font-size: 34px; }
/* האריח נשאר במקום ורק התוכן גדל אליו (toyfight R2) */
html.js .ht-all__vis .ht-cs { scale: 1.14; transition: scale 1.1s var(--ease); }
html.js .ht-all__vis.is-in .ht-cs { scale: 1; }
@media (hover: hover) and (pointer: fine) {
	.ht-all__chip:hover, .ht-all__search:hover { border-color: var(--ink); }
	.ht-all__cap strong { transition: color .45s var(--ease); }
	.ht-all__link:hover .ht-all__cap strong { color: var(--pink-hot); }
	html.js .ht-all__link:hover .ht-all__vis.is-in .ht-cs { scale: 1.035; transition-duration: 1.4s; }
}

@media (max-width: 400px) { .ht-all__chip { padding-inline: 13px; font-size: 15px; } .ht-all__chips { gap: 7px; } }
/* טלפון לרוחב: הטקסט ליד הסט */
@media (min-width: 640px) and (max-width: 899px) and (max-height: 500px) {
	.ht-world__in { grid-template-columns: 1fr 1.1fr; align-items: center; }
	.ht-world__text { padding: 22px 26px; }
	.ht-world__name { font-size: 46px; }
	.ht-world__set { margin-top: 0; aspect-ratio: auto; height: 310px; -webkit-mask-image: linear-gradient(to left, transparent, #000 24%); mask-image: linear-gradient(to left, transparent, #000 24%); }
	.ht-fl__title { font-size: 76px; }
	.ht-ring { --tw: 200px; }
}

/* ---------- טאבלט ומחשב ---------- */
@media (min-width: 640px) {
	.ht-ring { --tw: min(38vw, 340px); }
	.ht-all__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 34px 22px; margin-top: 34px; }
	.ht-all__card { grid-column: span 6; }
	.ht-all__vis { aspect-ratio: auto; height: clamp(240px, 34vw, 360px); }
}
@media (min-width: 900px) {
	.ht-fl__hero { padding-block: clamp(10px, 1.6vh, 24px) 14px; gap: clamp(0px, .6vh, 10px); }
	.ht-fl__title { font-size: clamp(72px, min(9.4vw, 15.5vh), 150px); }
	.ht-fl__lead { max-width: none; }
	.ht-ring { --tw: min(25vw, 38vh, 340px); --th: calc(var(--tw) * 1.06); }
	.ht-ring__cap strong { font-size: 38px; }
	.ht-worlds { gap: 18px; padding: 40px 16px 0; }
	.ht-world__in { border-radius: 44px; }
	.ht-world__name { font-size: clamp(56px, min(6.6vw, 13vh), 112px); }
	.ht-world__kind { font-size: 18px; }
	.ht-world__text { align-content: start; justify-items: start; gap: 14px; padding: clamp(28px, 5.4vh, 52px) clamp(36px, 5vw, 96px) 0; text-align: start; width: 50%; }
	.ht-world__line { font-size: clamp(19px, 1.5vw, 24px); }
	.ht-world__in { height: clamp(440px, calc(100svh - var(--hh) - 110px), 580px); display: block; }
	.ht-world__set { position: absolute; inset-block: 0; inset-inline-end: 0; width: 66%; aspect-ratio: auto; -webkit-mask-image: linear-gradient(to left, transparent, #000 34%); mask-image: linear-gradient(to left, transparent, #000 34%); }
	.ht-world__win { position: absolute; z-index: 1; display: block; inset-inline-start: clamp(36px, 5vw, 96px); top: 64%; width: 35%; height: 62%; rotate: -2.5deg; translate: 0 calc((1 - var(--in, 1)) * 120px); }
	/* כל עולם שני הפוך */
	.ht-world:nth-child(even) .ht-world__text { margin-inline-start: auto; width: 46%; }
	.ht-world:nth-child(even) .ht-world__set { inset-inline: 0 auto; -webkit-mask-image: linear-gradient(to right, transparent, #000 34%); mask-image: linear-gradient(to right, transparent, #000 34%); }
	.ht-world:nth-child(even) .ht-world__win { inset-inline: 52% auto; rotate: 2.5deg; }
	.ht-all__head { justify-items: stretch; text-align: center; }
	.ht-all__tools { display: flex; justify-content: space-between; gap: 20px; }
	.ht-all__search { width: 280px; }
	/* שורות של שניים ושל שלושה מתחלפות (cases.js מחשב מחדש בסינון) */
	.ht-all__card.s7 { grid-column: span 7; } .ht-all__card.s5 { grid-column: span 5; }
	.ht-all__card.s4 { grid-column: span 4; } .ht-all__card.s6 { grid-column: span 6; } .ht-all__card.s12 { grid-column: span 12; }
	.ht-all__card.s7 .ht-all__vis, .ht-all__card.s5 .ht-all__vis, .ht-all__card.s6 .ht-all__vis { height: clamp(320px, 27vw, 430px); }
	.ht-all__card.s4 .ht-all__vis { height: clamp(260px, 22vw, 350px); }
	.ht-all__card.s12 .ht-all__vis { height: clamp(340px, 30vw, 460px); }
	.ht-all__cap strong { font-size: 32px; }
}
@media (min-width: 900px) and (min-height: 600px) {
	html.js .ht-world { position: sticky; top: calc(var(--hh) + 16px); }
	html.js .ht-world__in { transform: scale(calc(1 - var(--out, 0) * .05)); transform-origin: 50% 0; }
	html.js .ht-world__in::after { content: ''; position: absolute; inset: 0; z-index: 5; background: var(--ink); opacity: calc(var(--out, 0) * .35); pointer-events: none; }
}
@media (min-width: 900px) and (max-height: 720px) { .ht-world__win { top: 74%; } }

/* ---------- עמוד פרויקט ---------- */
.ht-case { padding-top: 0 !important; overflow: clip; }
.ht-world--hero { padding: 10px 12px 0; }
.ht-world--hero .ht-breadcrumbs, .ht-world--hero .ht-crumbs { color: inherit; opacity: .85; }
.ht-world--hero .ht-world__text a:not(.ht-btn) { color: inherit; }
.ht-case__title { margin: 0; max-width: 24ch; font-family: var(--display); font-weight: 400; font-size: clamp(24px, 7vw, 30px); line-height: 1.15; text-wrap: balance; }
.ht-case__stage { position: relative; margin: 0; overflow: hidden; border-radius: 34px; background: var(--plate); }
.ht-case__stage { margin-inline: 12px; }
.ht-case__pair .ht-case__stage { margin-inline: 0; }
.ht-case__stage--win { aspect-ratio: 4 / 3.4; }
.ht-case__stage--win .ht-cs__win { border-radius: 12px; }
.ht-case__pair { display: grid; gap: 12px; margin: 12px 12px 0; }
.ht-case__pair .ht-case__stage { aspect-ratio: 1 / .86; }
.ht-case__stage--soft .ht-cs { background: color-mix(in srgb, var(--plate) 34%, #fff); }
.ht-cs--peek .ht-cs__peek { position: absolute; inset: 11cqh -22cqw -2cqh 9cqw; overflow: hidden; border-radius: 2cqw; box-shadow: 0 4cqw 8cqw -3cqw rgba(0, 0, 0, .4); }
.ht-case__wall { position: relative; margin: 12px 12px 0; height: 88vw; overflow: hidden; border-radius: 34px; background: var(--plate); }
.ht-case__wall-in { position: absolute; inset: -30% -34%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 3%; rotate: -13deg; }
.ht-case__col { display: grid; gap: 3.6%; align-content: start; translate: 0 calc((var(--p, .5) - .5) * -14%); }
.ht-case__col:nth-child(even) { translate: 0 calc((var(--p, .5) - .5) * 14% - 9%); }
.ht-case__tile { display: block; aspect-ratio: 4 / 4.6; overflow: hidden; border-radius: 14px; background: #fff; box-shadow: 0 18px 34px -18px rgba(0, 0, 0, .45); }
.ht-case__tile img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ht-case .ht-proj__gallery { margin-top: 56px; }
.ht-case__next { padding-top: 56px; text-align: center; }
.ht-case__next .ht-all__cap { text-align: start; }
.ht-case ~ .ht-lead-band { margin-top: 60px; }
@media (min-width: 900px) {
	.ht-world--hero { padding: 14px 16px 0; }
	html.js .ht-world--hero { position: static; }
	.ht-world--hero:not(.has-scene) .ht-world__set { width: 60%; -webkit-mask-image: none; mask-image: none; }
	.ht-world--hero .ht-world__in { height: clamp(440px, calc(100svh - var(--hh) - 118px), 580px); }
	.ht-world--hero .ht-world__text { height: 100%; align-content: center; padding-block: 30px; }
	.ht-world--hero .ht-world__name { font-size: clamp(56px, min(7vw, 14vh), 120px); }
	.ht-case__title { font-size: clamp(28px, 2.4vw, 38px); }
	.ht-case__stage, .ht-case__wall { border-radius: 44px; }
	.ht-case__stage { margin-inline: 16px; }
	.ht-case__pair .ht-case__stage { margin-inline: 0; }
	.ht-case__stage--win { aspect-ratio: auto; height: clamp(420px, calc(100svh - var(--hh) - 130px), 600px); }
	.ht-case__stage--win .ht-cs__win { left: 50%; top: 9cqh; width: min(72cqw, 146cqh); height: 100cqh; translate: -50% 0; border-radius: 16px; }
	.ht-case__stage--win .ht-cs__bar { height: 34px; padding-inline: 16px; gap: 8px; }
	.ht-case__stage--win .ht-cs__bar i { width: 10px; height: 10px; }
	.ht-case__stage--win .ht-cs__win .ht-cs__view { top: 34px; }
	.ht-case__pair { grid-template-columns: 1fr 1fr; gap: 16px; margin: 16px 16px 0; }
	.ht-case__pair .ht-case__stage { aspect-ratio: auto; height: clamp(380px, 33vw, 520px); }
	.ht-case__wall { margin: 16px 16px 0; height: clamp(400px, 36vw, 560px); }
	.ht-case__wall-in { inset: -34% -8%; gap: 1.8%; }
	.ht-case__tile { aspect-ratio: 4 / 3.6; border-radius: 18px; }
}

@media (prefers-reduced-motion: reduce) {
	.ht-case__col, .ht-case__col:nth-child(even) { translate: none; }
	.ht-cs__long { animation: none; }
	html.js .ht-all__vis .ht-cs { scale: 1; transition: none; }
	html.js .ht-world__in { transform: none; }
	.ht-world__win { translate: none; }
}
