/* Outbox Studio. Brand: condensed OUTBOX wordmark, Swiss spaced labels, graphite + one electric green. */

:root {
  --bg: #131416;
  --bg-2: #1a1b1e;
  --line: #2a2c30;
  --ink: #ecebe6;
  --ink-2: #a3a29d;
  --green: #22c03a;
  --green-ink: #0b1a0e;
  --paper: #eeede7;
  --paper-ink: #1c1d20;

  --f-display: "Anton", "Heebo Variable", sans-serif;
  --f-text: "Archivo Variable", "Heebo Variable", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(16px, 3.2vw, 44px);
  --nav-h: 68px;
  color-scheme: dark;
}
html[lang="he"] { --f-text: "Heebo Variable", system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; scrollbar-color: #3a3c41 var(--bg); scrollbar-width: thin; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f-text); font-size: 1rem; line-height: 1.55;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
::selection { background: var(--green); color: var(--green-ink); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #34363b; border-radius: 10px; border: 2px solid var(--bg); }
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.2em; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; top: 8px; inset-inline-start: 8px; z-index: 100; padding: 10px 14px; background: var(--green); color: var(--green-ink); border-radius: 8px; transform: translateY(-160%); transition: transform .2s; }
.skip:focus { transform: none; }

/* Display type */
.nav__logo, .hero__title, .viewer__cat, .footer__word {
  font-family: var(--f-display); font-weight: 400; text-transform: uppercase; letter-spacing: 0.005em;
}
html[lang="he"] :is(.hero__title, .viewer__cat) {
  font-family: "Heebo Variable", sans-serif; font-weight: 850; letter-spacing: -0.02em;
}

/* Buttons: pill for small controls only */
.btn {
  display: inline-flex; align-items: center; gap: 0.55em; white-space: nowrap;
  padding: 0.9em 1.35em; border-radius: 999px; text-decoration: none;
  font-weight: 650; font-size: 0.95rem; letter-spacing: 0.01em;
  transition: transform .25s var(--ease-out), background-color .25s, box-shadow .25s;
}
.btn i { font-size: 1.25em; }
.btn:active { transform: scale(0.97); }
.btn--wa { background: var(--green); color: var(--green-ink); box-shadow: 0 8px 20px -10px rgb(0 0 0 / .6); }
.btn--wa:hover { background: #2bd445; }
.btn--sm { padding: 0.62em 1.05em; font-size: 0.875rem; }
.btn--dark { background: var(--bg); color: var(--ink); box-shadow: 0 14px 34px -14px rgb(0 0 0 / .6); }
.btn--dark i { color: var(--green); }
.btn--dark:hover { background: #202226; }
.btn--lg { padding: 1.05em 1.7em; font-size: 1.05rem; }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 30; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; padding-inline: var(--gutter);
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out);
}
.nav.is-hidden { opacity: 0; transform: translateY(-12px); pointer-events: none; }
.nav__logo { font-size: 1.75rem; line-height: 1; text-decoration: none; }
.nav__right { display: flex; align-items: center; gap: 10px; }
.lang {
  display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; background: rgb(255 255 255 / .06);
  font-size: 0.8rem; font-weight: 650; letter-spacing: 0.06em;
}
.lang span { padding: 0.42em 0.7em; border-radius: 999px; color: var(--ink-2); transition: background-color .25s, color .25s; }
html[lang="en"] .lang [data-lang="en"], html[lang="he"] .lang [data-lang="he"] { background: var(--ink); color: var(--bg); }

/* ---------- HERO ---------- */
.hero { position: relative; height: 100dvh; min-height: 560px; overflow: hidden; overflow: clip; isolation: isolate; }
.stage { position: absolute; inset: 0; will-change: transform; }
.stage__poster, .stage__vid { position: absolute; object-fit: cover; max-width: none; }
.stage__vid { visibility: hidden; }
.stage__gl { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .5s; }
.stage.gl-ready .stage__gl { opacity: 1; }
.stage.gl-ready .stage__poster { opacity: 0; transition: opacity .6s .2s; }
.stage.no-gl .stage__vid.is-on { visibility: visible; }
.stage__fallback-screen { position: absolute; overflow: hidden; background: #000; }
.stage__fallback-screen > * { width: 100%; height: 100%; object-fit: cover; }
.stage__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to bottom, rgb(19 20 22 / .55), transparent 18%),
    linear-gradient(to top, rgb(19 20 22 / .9), transparent 34%);
  transition: opacity .6s var(--ease-out);
}
.hero.is-open .stage__shade { opacity: 0.25; }

.flash {
  position: absolute; z-index: 6; width: 46vmin; height: 46vmin; left: 0; top: 0;
  margin: -23vmin 0 0 -23vmin; border-radius: 50%; pointer-events: none; opacity: 0;
  background: radial-gradient(circle, rgb(255 255 255 / .95) 0 6%, rgb(150 255 165 / .55) 16%, rgb(34 192 58 / .22) 36%, transparent 66%);
  mix-blend-mode: screen;
}

.hero__copy {
  position: absolute; z-index: 5; inset-inline-start: var(--gutter); bottom: clamp(24px, 5vh, 56px);
  max-width: min(36ch, 80vw); transition: opacity .4s var(--ease-out);
}
.hero.is-open .hero__copy, .hero.is-busy .hero__copy { opacity: 0 !important; pointer-events: none; }
.hero__title { margin: 0 0 0.35em; font-size: clamp(2rem, 3.6vw, 3.6rem); line-height: 0.98; text-wrap: balance; }
.hero__sub { margin: 0; color: var(--ink-2); font-size: clamp(0.95rem, 1.1vw, 1.08rem); max-width: 40ch; }

/* Polaroids */
.polaroids { position: absolute; inset: 0; z-index: 4; pointer-events: none; perspective: 900px; }
.pola { position: absolute; left: var(--x); top: var(--y); pointer-events: auto; will-change: transform; }
.pola__scroll, .pola__float { will-change: transform; pointer-events: none; }   /* only the button itself takes clicks */
.pola__card { pointer-events: auto; }

/* Work buttons: a glowing frame with a light that travels around it */
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.pola__card {
  position: relative; display: inline-flex; align-items: center; gap: 0.7em; white-space: nowrap;
  padding: 1em 1.35em 1em 1.15em; border-radius: 14px;
  background: rgb(16 18 17 / .62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: var(--ink); font-weight: 650; font-size: clamp(0.82rem, 0.95vw, 0.98rem);
  letter-spacing: 0.1em; text-transform: uppercase; font-variation-settings: "wdth" 110;
  border: 1px solid rgb(34 192 58 / .45);
  box-shadow: 0 0 14px rgb(34 192 58 / .35), 0 0 42px rgb(34 192 58 / .14), inset 0 0 14px rgb(34 192 58 / .12);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), background-color .3s, color .3s;
}
.pola__card::before {                     /* the travelling light on the frame */
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--ang), transparent 0 62%, rgb(150 255 165 / .95) 78%, #fff 82%, transparent 92%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: frame-spin 4.5s linear infinite;
}
.pola:nth-child(2) .pola__card::before { animation-delay: -1.4s; }
.pola:nth-child(3) .pola__card::before { animation-delay: -2.9s; }
.pola:nth-child(4) .pola__card::before { animation-delay: -3.7s; }
@keyframes frame-spin { to { --ang: 360deg; } }
.pola__card i { font-size: 1.35em; color: var(--green); transition: color .3s; }
.pola__label { line-height: 1; }
.pola__count {
  min-width: 1.7em; padding: 0.28em 0.45em; border-radius: 999px; text-align: center; line-height: 1;
  background: rgb(34 192 58 / .16); color: #9ff0ab; font-size: 0.78em; letter-spacing: 0; font-variant-numeric: tabular-nums;
}
html[lang="he"] .pola__card { letter-spacing: 0.01em; font-size: clamp(0.92rem, 1.05vw, 1.05rem); }
@media (hover: hover) {
  .pola:hover .pola__card {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 0 20px rgb(34 192 58 / .6), 0 0 60px rgb(34 192 58 / .25), inset 0 0 18px rgb(34 192 58 / .2);
  }
}
.pola__card:focus-visible { outline-offset: 6px; }
/* clicked: the button charges up before it jumps */
.pola.is-charging .pola__card {
  background: var(--green); color: var(--green-ink); border-color: #b9ffc4; transform: scale(1.1);
  box-shadow: 0 0 26px rgb(120 255 140 / .9), 0 0 80px rgb(34 192 58 / .6), 0 0 160px rgb(34 192 58 / .3);
}
.pola.is-charging .pola__card i { color: var(--green-ink); }
.pola.is-charging .pola__count { background: rgb(11 26 14 / .2); color: var(--green-ink); }
.pola.is-hint .pola__card { animation: hint-pulse 2.6s ease-in-out infinite; }
@keyframes hint-pulse {
  0%, 60%, 100% { box-shadow: 0 0 14px rgb(34 192 58 / .35), 0 0 42px rgb(34 192 58 / .14), inset 0 0 14px rgb(34 192 58 / .12); }
  30% { box-shadow: 0 0 24px rgb(34 192 58 / .75), 0 0 70px rgb(34 192 58 / .3), inset 0 0 20px rgb(34 192 58 / .25); }
}

/* Viewer (phone up) */
.viewer { position: absolute; inset: 0; z-index: 8; pointer-events: none; }
.viewer[hidden] { display: none; }
.viewer > * { pointer-events: auto; }
.viewer__top {
  position: absolute; inset: 0 0 auto 0; height: var(--nav-h); padding-inline: var(--gutter);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
}
.viewer__top > :last-child { justify-self: end; }
.viewer__cat { margin: 0; font-size: clamp(1.25rem, 2vw, 1.7rem); line-height: 1; }
.icon-btn {
  display: inline-flex; align-items: center; gap: 0.5em; justify-self: start;
  padding: 0.62em 1em; border-radius: 999px; background: rgb(255 255 255 / .08);
  font-weight: 600; font-size: 0.9rem; transition: background-color .2s, transform .2s var(--ease-out);
}
.icon-btn i { font-size: 1.15em; }
.icon-btn:hover { background: rgb(255 255 255 / .16); }
.icon-btn:active { transform: scale(0.96); }
.icon-btn--round { padding: 0; width: 44px; height: 44px; justify-content: center; }
html[dir="rtl"] .ph-arrow-left, html[dir="rtl"] .ph-caret-left, html[dir="rtl"] .ph-caret-right { transform: scaleX(-1); }
html[dir="rtl"] .reel__bar i { transform: none; }   /* the reel always runs left to right */

.screen-ui { position: absolute; overflow: hidden; }
.bars { position: absolute; inset: 9px 10px auto; display: flex; gap: 4px; z-index: 2; }
.bars span { flex: 1; height: 3px; border-radius: 3px; background: rgb(255 255 255 / .32); overflow: hidden; }
.bars i { display: block; height: 100%; width: 0; background: #fff; }
.tap { position: absolute; top: 0; bottom: 0; width: 38%; cursor: pointer; }
.tap--prev { inset-inline-start: 0; }
.tap--next { inset-inline-end: 0; width: 62%; }
.site-open {
  position: absolute; z-index: 2; inset-inline: 12px; bottom: 12px; display: flex; justify-content: center; align-items: center; gap: .4em;
  padding: 0.7em; border-radius: 999px; background: rgb(19 20 22 / .82); backdrop-filter: blur(8px);
  font-weight: 650; font-size: 0.85rem; text-decoration: none;
}
.site-open[hidden] { display: none; }
.viewer__title { position: absolute; left: 0; right: 0; margin: 0; text-align: center; font-weight: 650; letter-spacing: 0.02em; }

.viewer__bottom { position: absolute; left: 0; right: 0; display: flex; justify-content: center; align-items: center; gap: 14px; }

/* ---------- WORK REEL ---------- */
.reel { position: relative; padding: clamp(5rem, 10vw, 8.5rem) 0 clamp(3rem, 6vw, 5rem); overflow: clip; }
.reel__head {
  max-width: 1320px; margin: 0 auto clamp(2rem, 4vw, 3.2rem); padding-inline: var(--gutter);
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.2rem 2rem;
}
.reel__title { margin: 0; font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(2.6rem, 6.4vw, 6rem); line-height: 0.95; }
html[lang="he"] .reel__title { font-family: "Heebo Variable", sans-serif; font-weight: 850; letter-spacing: -0.02em; }
.reel__filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 0.6em 1.05em; border-radius: 999px; font-size: 0.875rem; font-weight: 600;
  background: rgb(255 255 255 / .06); color: var(--ink-2); transition: background-color .25s, color .25s;
}
.chip:hover { background: rgb(255 255 255 / .12); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); }

.reel__stage {
  --cw: clamp(230px, 22vw, 330px);
  position: relative; height: calc(var(--cw) * 16 / 9 + 40px); perspective: 1400px; perspective-origin: 50% 40%;
  touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; outline: none;
}
.reel__stage:active { cursor: grabbing; }
.reel__stage:focus-visible .rcard.is-center .rcard__inner { outline: 2px solid var(--green); outline-offset: 5px; }
.reel__track { position: absolute; inset: 0; transform-style: preserve-3d; }
.rcard {
  position: absolute; left: 50%; top: 20px; width: var(--cw); margin-left: calc(var(--cw) / -2);
  aspect-ratio: 9 / 16; transform-style: preserve-3d; will-change: transform;
}
.rcard__inner {
  position: absolute; inset: 0; overflow: hidden; border-radius: 18px; background: #0d0e10;
  border: 1px solid rgb(255 255 255 / .07);
  box-shadow: 0 40px 70px -30px rgb(0 0 0 / .9), 0 8px 20px rgb(0 0 0 / .35);
  transition: border-color .4s, box-shadow .4s;
}
.rcard__inner::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: rgb(10 11 12 / calc(var(--dim, 1) * .5)); transition: background-color .3s;
}
.rcard.is-center .rcard__inner {
  border-color: rgb(34 192 58 / .7);
  box-shadow: 0 0 22px rgb(34 192 58 / .3), 0 40px 80px -30px rgb(0 0 0 / .95);
}
.rcard__media { position: absolute; top: 0; bottom: 0; left: -9%; width: 118%; will-change: transform; }
.rcard__media img, .rcard__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rcard__shade { position: absolute; inset: auto 0 0 0; height: 34%; background: linear-gradient(to top, rgb(10 11 12 / .85), transparent); pointer-events: none; }
.rcard__foot {
  position: absolute; left: 16px; right: 16px; bottom: 20px; z-index: 2; display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
  font-weight: 650; font-size: 0.95rem; text-shadow: 0 1px 8px rgb(0 0 0 / .5);
}
.rcard__title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rcard__dur { color: rgb(236 235 230 / .75); font-weight: 500; font-variant-numeric: tabular-nums; flex: none; }
.rcard__progress { position: absolute; left: 16px; right: 16px; bottom: 10px; z-index: 2; height: 3px; border-radius: 3px; background: rgb(255 255 255 / .2); overflow: hidden; opacity: 0; transition: opacity .3s; }
.rcard__progress i { display: block; height: 100%; width: 0; background: var(--green); }
.rcard.is-center .rcard__progress { opacity: 1; }
.rcard__sound {
  position: absolute; top: 14px; inset-inline-start: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px; border-radius: 999px; background: rgb(19 20 22 / .7); backdrop-filter: blur(6px);
  font-size: 0.78rem; font-weight: 650; opacity: 0; transform: translateY(-4px); transition: opacity .3s, transform .3s var(--ease-out);
}
.rcard.is-center:not(.has-sound) .rcard__sound { opacity: 1; transform: none; }
.rcard__state {
  position: absolute; left: 50%; top: 50%; z-index: 2; width: 66px; height: 66px; margin: -33px 0 0 -33px; border-radius: 50%;
  display: grid; place-items: center; font-size: 26px; background: rgb(19 20 22 / .6); backdrop-filter: blur(6px);
  opacity: 0; transform: scale(.85); transition: opacity .25s, transform .35s var(--ease-out);
}
.rcard.is-center.is-paused .rcard__state { opacity: 1; transform: none; }
.reel__bar {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px 44px; align-items: center; gap: 10px;
  width: min(560px, calc(100% - 2 * var(--gutter))); margin: clamp(1.6rem, 3vw, 2.4rem) auto 0;
}
.reel__now { margin: 0; text-align: center; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.reel__time { margin-inline-start: 0.7em; color: var(--ink-2); font-weight: 500; font-variant-numeric: tabular-nums; }
@media (max-width: 767px) {
  .reel__stage { --cw: 64vw; }
  .reel__head { align-items: flex-start; }
}

/* ---------- LOWER PAGE (scrollcraft acts inside #craft) ---------- */
:root {
  --sc-canvas: var(--bg); --sc-surface: var(--bg-2); --sc-ink: var(--ink); --sc-ink-soft: var(--ink-2);
  --sc-accent: var(--green); --sc-accent-ink: var(--green-ink);
  --sc-font-display: var(--f-display); --sc-font-text: var(--f-text);
}
body { background: var(--bg); }

/* Breath: one sentence, lit word by word. Deliberately still. */
.breath__stage { height: 100vh; height: 100dvh; display: flex; align-items: center; padding-inline: var(--gutter); }
.breath__text {
  margin: 0 auto; max-width: 26ch; font-size: clamp(1.9rem, 4.1vw, 3.9rem); font-weight: 650; line-height: 1.12;
  letter-spacing: -0.02em; font-variation-settings: "wdth" 108; text-wrap: balance;
}
.breath__text .w { opacity: var(--o, 0.16); transition: opacity .25s linear; }
html[lang="he"] .breath__text { letter-spacing: 0; font-weight: 700; }

/* Peak: the box */
.unbox__stage { height: 100vh; height: 100dvh; overflow: hidden; }
.unbox__copy {
  position: absolute; z-index: 5; inset-inline-start: var(--gutter); top: 50%; transform: translateY(-50%);
  max-width: min(34rem, 42vw);
}
.unbox__title { margin: 0; font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(3rem, 7.2vw, 7rem); line-height: 0.92; }
html[lang="he"] .unbox__title { font-family: "Heebo Variable", sans-serif; font-weight: 850; letter-spacing: -0.02em; }
.unbox__sub { margin: 1.1rem 0 0; max-width: 32ch; color: var(--ink-2); font-size: clamp(1.02rem, 1.25vw, 1.2rem); }
.unbox__world { position: absolute; inset: 0; perspective: 1100px; perspective-origin: 58% 40%; }
/* The real box: a film scrubbed by the scroll. Edges feathered into the page ground. */
.unbox__plate {
  position: absolute; left: 33%; top: 50%; width: 76%; aspect-ratio: 1284 / 716; transform: translateY(-50%); will-change: transform;
  -webkit-mask-image: radial-gradient(ellipse 54% 48% at 58% 50%, #000 42%, transparent 100%);
          mask-image: radial-gradient(ellipse 54% 48% at 58% 50%, #000 42%, transparent 100%);
}
.unbox__poster, .unbox__film {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: 58% 50%;
}
.unbox__film { opacity: 0; transition: opacity .4s var(--ease-out); }
.unbox__film.is-ready { opacity: 1; }
.unbox__items { position: absolute; inset: 0; transform-style: preserve-3d; pointer-events: none; }
.uitem {
  position: absolute; left: 0; top: 0; width: var(--iw, 150px); border-radius: 10px; overflow: hidden; opacity: 0;
  background: #0d0e10; border: 1px solid rgb(255 255 255 / .08); will-change: transform, opacity;
  box-shadow: 0 30px 50px -24px rgb(0 0 0 / .9), 0 6px 14px rgb(0 0 0 / .35);
}
.uitem img { display: block; width: 100%; height: auto; }

/* What is in the box: a labelled index */
.svc { padding: clamp(5rem, 11vw, 9rem) var(--gutter) clamp(4rem, 8vw, 7rem); }
.svc__inner { max-width: 1320px; margin-inline: auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); }
.svc__index { position: sticky; top: 16vh; align-self: start; }
.svc__title { margin: 0 0 2.2rem; font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(2.4rem, 5vw, 4.6rem); line-height: 0.95; }
html[lang="he"] .svc__title { font-family: "Heebo Variable", sans-serif; font-weight: 850; letter-spacing: -0.02em; }
.svc__list { list-style: none; margin: 0; padding: 0; }
.svc__list li { position: relative; padding: 1rem 0 1rem 1.6rem; border-top: 1px solid var(--line); opacity: .38; transition: opacity .35s var(--ease-out); }
html[dir="rtl"] .svc__list li { padding: 1rem 1.6rem 1rem 0; }
.svc__list li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 1.42rem; width: .62rem; height: .62rem; background: var(--green);
  transform: scale(0); transition: transform .35s var(--ease-out);
}
.svc__list li.is-on { opacity: 1; }
.svc__list li.is-on::before { transform: none; }
.svc__name { display: block; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; font-variation-settings: "wdth" 118; font-size: clamp(1.05rem, 1.5vw, 1.3rem); }
html[lang="he"] .svc__name { letter-spacing: 0; }
.svc__fact { display: block; margin-top: .35rem; color: var(--ink-2); max-width: 44ch; font-size: .98rem; }
.svc__media { display: grid; gap: clamp(1.5rem, 4vw, 3rem); }
.svc__fig { position: relative; margin: 0; height: min(78vh, 760px); border-radius: 16px; overflow: hidden; background: #0d0e10; }
.svc__fig img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; max-width: none; object-fit: cover; will-change: transform; }
.svc__fig figcaption { display: none; }

/* Close: the green square grows until it is the screen */
.close__stage { height: 100vh; height: 100dvh; overflow: hidden; }
.close__outline {
  position: absolute; left: 50%; top: 50%; width: 60vmin; height: 60vmin; margin: -30vmin 0 0 -30vmin;
  border: 1.5px solid var(--green); opacity: clamp(0, calc(1 - var(--sc-p, 0) * 2.4), 1);
}
.close__box {
  --k: clamp(0, calc(1 - var(--sc-p, 0) * 1.9), 1);
  position: absolute; inset: 0; background: var(--green); color: var(--green-ink);
  clip-path: inset(calc(var(--k) * (50% - 30vmin)) calc(var(--k) * (50% - 30vmin)));
  display: flex; flex-direction: column; justify-content: center; gap: 1.4rem; padding: 0 max(var(--gutter), 8vw);
}
.close__title { margin: 0; font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(2.8rem, 8vw, 8rem); line-height: 0.92; max-width: 12ch; }
html[lang="he"] .close__title { font-family: "Heebo Variable", sans-serif; font-weight: 850; letter-spacing: -0.02em; }
.close__body { margin: 0; max-width: 40ch; font-size: clamp(1.05rem, 1.35vw, 1.25rem); color: rgb(11 26 14 / .82); }
.close__box .btn { align-self: flex-start; }

@media (max-width: 767px) {
  .unbox__copy { top: calc(var(--nav-h) + 4vh); transform: none; max-width: calc(100% - 2 * var(--gutter)); }
  .unbox__plate {
    inset: auto; left: 50%; top: 66%; width: 175vw; height: calc(175vw * 716 / 1284); transform: translate(-58%, -50%);
    -webkit-mask-image: radial-gradient(ellipse 40% 50% at 58% 50%, #000 60%, transparent 100%);
            mask-image: radial-gradient(ellipse 40% 50% at 58% 50%, #000 60%, transparent 100%);
  }
  .unbox__world { perspective-origin: 50% 60%; }
  .svc__inner { grid-template-columns: 1fr; }
  .svc__index { position: static; }
  .svc__list { display: none; }
  .svc__fig { height: 62vh; }
  .svc__fig figcaption { display: block; position: absolute; inset: auto 0 0 0; padding: 3.5rem 1.1rem 1.1rem; background: linear-gradient(to top, rgb(10 11 12 / .9), transparent); }
}

/* ---------- FOOTER ---------- */
.footer { padding: 0 var(--gutter) 28px; overflow: hidden; }
.footer__word { margin: 0 0 1.2rem; font-size: 25.5vw; line-height: 0.8; color: var(--bg-2); text-align: center; user-select: none; }
.footer__row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--ink-2); font-size: 0.875rem; }
.footer__row a { text-decoration: none; }
.footer__row a:hover { color: var(--ink); }

/* ---------- MOBILE ---------- */
@media (max-width: 767px) {
  :root { --nav-h: 60px; }
  .nav__logo { font-size: 1.45rem; }
  .nav .btn--sm span { display: none; }
  .nav .btn--sm { padding: 0.62em; }
  .hero__copy { bottom: 22px; }
  .hero__title { font-size: clamp(1.7rem, 7.4vw, 2.3rem); }
  .viewer__top { grid-template-columns: auto 1fr auto; gap: 10px; }
  .viewer__cat { text-align: center; font-size: 1.15rem; }
  .icon-btn span:not(.sr) { display: none; }
  .icon-btn:not(.icon-btn--round) { padding: 0; width: 44px; height: 44px; justify-content: center; }
  .pola__card { font-size: 0.74rem; padding: 0.85em 1em 0.85em 0.9em; letter-spacing: 0.06em; gap: 0.55em; }
}

.shot .hero { display: none; }
.shot .nav { position: absolute; }

@media (prefers-reduced-motion: reduce) {
  .pola__card::before { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Comparison edition: faster access, explicit controls, project context. */
html { scroll-behavior: smooth; }
#work { scroll-margin-top: 80px; }
[hidden] { display: none !important; }
.transition-exit { position: absolute; top: 14px; inset-inline-start: var(--gutter); z-index: 12; }
.hero-status { position: absolute; inset-inline: var(--gutter); bottom: 4px; z-index: 12; margin: 0; background: var(--bg); text-align: center; font-size: .8rem; }
.hero-status:empty { display: none; }
.phone-controls { position: absolute; z-index: 4; inset-inline: 12px; bottom: 12px; display: flex; justify-content: center; gap: 8px; pointer-events: none; }
.phone-controls button { pointer-events: auto; background: rgb(19 20 22 / .8); backdrop-filter: blur(8px); }
.reel__bar { grid-template-columns: 44px 44px minmax(0, 1fr) 44px 44px 44px; width: min(680px, calc(100% - 2 * var(--gutter))); }
.reel__time { display: block; margin: 2px 0 0; font-size: .8rem; }
.rcard.is-center .rcard__media { transform: none !important; left: 0; width: 100%; }
.eyebrow { color: var(--ink-2); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.reel-status { min-height: 1.6em; width: min(680px, calc(100% - 2 * var(--gutter))); margin: 12px auto 0; font-size: .85rem; }
.about__inner { display: grid; grid-template-columns: 1.1fr 1fr; align-items: end; gap: clamp(32px, 6vw, 90px); }
.about__title { font-size: clamp(2.6rem, 5.8vw, 5.5rem); }
.about__body { margin: 0; padding-top: 24px; }
.expanded-player { position: fixed; inset: 0; width: 100%; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 16px; border: 0; background: #101113; color: var(--ink); overflow: auto; }
.expanded-player::backdrop { background: #101113; }
.expanded-player__head { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 1100px; margin: 0 auto 12px; }
.expanded-player h2 { margin: 0; font-size: 1rem; }
.expanded-player video { width: 100%; height: calc(100dvh - 110px); object-fit: contain; background: #101113; }
.expanded-player #expandedStatus { text-align: center; }
@media (max-width: 767px) {
  .hero__copy { bottom: 28px; }
  .hero__title { font-size: clamp(1.6rem, 7vw, 2.2rem); }
  .hero__sub { font-size: .82rem; }
  .nav__right { gap: 8px; }
  .reel__bar { grid-template-columns: repeat(5, 44px); justify-content: center; gap: 10px; }
  .reel__now { grid-column: 1 / -1; grid-row: 1; margin-bottom: 8px; }
  .about__inner { grid-template-columns: 1fr; gap: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
@media (max-width: 767px) and (max-height: 700px) {
  .hero { min-height: 700px; }
}
