/* ==========================================================================
   Snow הפקות מדיה — style (v5)
   Palette (dark → light):
   night #012A4A · deep #013A63 · navy #01497C · sea #014F86 · steel #2A6F97
   teal #2C7DA0 · mist #468FAF · glacier #61A5C2 · sky #89C2D9 · frost #A9D6E5

   Type: one family across the whole site — Google Sans
   ========================================================================== */

:root {
  --night: #012a4a;
  --deep: #013a63;
  --navy: #01497c;
  --sea: #014f86;
  --steel: #2a6f97;
  --teal: #2c7da0;
  --mist: #468faf;
  --glacier: #61a5c2;
  --sky: #89c2d9;
  --frost: #a9d6e5;
  --snow: #f3f9fb;
  --white: #ffffff;

  --glass: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02));
  --glass-line: rgba(169, 214, 229, 0.18);

  --f-display: 'Google Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-sans: 'Google Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-cond: 'Google Sans', system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1320px;
  --nav-h: 84px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-soft: cubic-bezier(0.45, 0.05, 0.25, 1);

  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--night);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: clip; }

body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--snow);
  background: transparent;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

html.i18n-pending body { visibility: hidden; }
html.js:not(.is-ready) body { overflow: hidden; }

/* side cards, glows and the moving band are wider than the screen: clip sideways only (keeps sticky working) */
main, .footer { overflow-x: clip; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
::selection { background: var(--frost); color: var(--night); }

:focus-visible {
  outline: 2px solid var(--frost);
  outline-offset: 3px;
  border-radius: 8px;
}

.container {
  width: min(100% - 2 * var(--gutter), var(--maxw));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  z-index: 200;
  padding: 0.6em 1em;
  border-radius: 10px;
  background: var(--frost);
  color: var(--night);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s;
}
.skip-link:focus { transform: none; }

.dir-flip { transition: transform 0.2s; }
[dir='rtl'] .dir-flip { transform: scaleX(-1); }

.label {
  font-family: var(--f-sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--sky);
}

/* ==========================================================================
   Living background: blurred palette fields that drift and re-arrange per section
   ========================================================================== */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: radial-gradient(120% 90% at 50% 0%, var(--deep) 0%, var(--night) 60%);
}
.aurora::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.aurora__blob {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--sz, 72vmax);
  aspect-ratio: 1;
  opacity: var(--o, 0.4);
  transform: translate3d(calc(var(--x, 50vw) - 50%), calc(var(--y, 50vh) - 50%), 0) scale(var(--s, 1));
  transition: transform 3.2s var(--ease-soft), opacity 2.4s ease;
  will-change: transform, opacity;
}
.aurora__blob i {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--c) 0%, rgba(1, 42, 74, 0) 100%);
  animation: blob-drift var(--t, 30s) ease-in-out infinite alternate;
}
.aurora__blob--1 { --c: rgba(1, 79, 134, 0.95); --t: 26s; }
.aurora__blob--2 { --c: rgba(42, 111, 151, 0.9); --t: 32s; }
.aurora__blob--3 { --c: rgba(97, 165, 194, 0.85); --t: 38s; --sz: 60vmax; }
.aurora__blob--4 { --c: rgba(169, 214, 229, 0.8); --t: 44s; --sz: 48vmax; }
.aurora__blob--2 i { animation-direction: alternate-reverse; }
.aurora__blob--4 i { animation-direction: alternate-reverse; }

@keyframes blob-drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(7vw, -5vh) scale(1.08); }
  100% { transform: translate(-6vw, 6vh) scale(0.94); }
}

/* scenes */
[data-scene='hero'] .aurora__blob--1 { --x: 82vw; --y: 8vh; --o: 0.55; }
[data-scene='hero'] .aurora__blob--2 { --x: 8vw; --y: 92vh; --o: 0.45; }
[data-scene='hero'] .aurora__blob--3 { --x: 50vw; --y: 115vh; --o: 0.25; }
[data-scene='hero'] .aurora__blob--4 { --x: 92vw; --y: 110vh; --o: 0; }

[data-scene='work'] .aurora__blob--1 { --x: 88vw; --y: 18vh; --o: 0.65; }
[data-scene='work'] .aurora__blob--2 { --x: 6vw; --y: 78vh; --o: 0.55; }
[data-scene='work'] .aurora__blob--3 { --x: 50vw; --y: 55vh; --o: 0.22; --s: 1.15; }
[data-scene='work'] .aurora__blob--4 { --x: 50vw; --y: 120vh; --o: 0.08; }

[data-scene='about'] .aurora__blob--1 { --x: 84vw; --y: 72vh; --o: 0.7; }
[data-scene='about'] .aurora__blob--2 { --x: 14vw; --y: 18vh; --o: 0.6; }
[data-scene='about'] .aurora__blob--3 { --x: 58vw; --y: 32vh; --o: 0.5; --s: 1.2; }
[data-scene='about'] .aurora__blob--4 { --x: 28vw; --y: 86vh; --o: 0.26; }

[data-scene='contact'] .aurora__blob--1 { --x: 12vw; --y: 88vh; --o: 0.7; }
[data-scene='contact'] .aurora__blob--2 { --x: 88vw; --y: 16vh; --o: 0.5; }
[data-scene='contact'] .aurora__blob--3 { --x: 72vw; --y: 96vh; --o: 0.32; }
[data-scene='contact'] .aurora__blob--4 { --x: 50vw; --y: 50vh; --o: 0.06; }

/* ==========================================================================
   Focus-pull reveals
   ========================================================================== */
html.js [data-reveal] {
  opacity: 0;
  filter: blur(14px);
  transform: translateY(32px) scale(0.985);
  transition: opacity 1s ease, filter 1.15s var(--ease), transform 1.3s var(--ease);
  transition-delay: var(--d, 0s);
}
html.js [data-reveal].is-in { opacity: 1; filter: none; transform: none; }

/* headings split into words: each word pulls into focus */
[data-split] .w { display: inline-block; }
html.js [data-split] .w {
  opacity: 0;
  filter: blur(16px);
  transform: translateY(0.3em) scale(1.06);
  transition: opacity 0.9s ease, filter 1.1s var(--ease), transform 1.3s var(--ease);
  transition-delay: calc(var(--i, 0) * 85ms + var(--d, 0s));
}
html.js.is-ready [data-split].is-in .w { opacity: 1; filter: none; transform: none; }

/* ---------- buttons ---------- */
.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 52px;
  padding: 0 1.55em;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--f-sans);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.4s;
}
.btn svg { width: 1.25em; height: 1.25em; flex: none; }
.btn { transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.4s, scale 0.16s cubic-bezier(0.23, 1, 0.32, 1); }
.btn:active { scale: 0.97; }
[data-magnetic] { transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.4s, transform 0.5s var(--ease), scale 0.16s cubic-bezier(0.23, 1, 0.32, 1); }

.btn--frost {
  background: var(--frost);
  color: var(--night);
  box-shadow: 0 10px 40px -12px rgba(169, 214, 229, 0.55);
}
.btn--frost::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.85) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.9s var(--ease);
}
.btn--frost:hover { background: var(--white); box-shadow: 0 14px 50px -10px rgba(169, 214, 229, 0.8); }
.btn--frost:hover::after { transform: translateX(120%); }

.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(169, 214, 229, 0.38);
  color: var(--snow);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  padding-inline-start: 0.45em;
}
.btn--ghost:hover { background: rgba(169, 214, 229, 0.16); border-color: var(--frost); }

.btn--small { min-height: 42px; padding: 0 1.1em; font-size: 0.9375rem; }
.btn--big { min-height: 62px; padding: 0 1.9em; font-size: 1.125rem; }

.btn__play {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--frost);
  color: var(--night);
}
.btn__play svg { width: 16px; height: 16px; fill: currentColor; margin-left: 2px; }

.icon-btn {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(169, 214, 229, 0.32);
  background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  cursor: pointer;
  transition: background-color 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn:hover { background: rgba(169, 214, 229, 0.2); border-color: var(--frost); }
.icon-btn:active { transform: scale(0.94); }

.text-link {
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(169, 214, 229, 0.45);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.35em;
  transition: text-decoration-color 0.2s, color 0.2s;
}
.text-link:hover { color: var(--white); text-decoration-color: var(--frost); }

.rec-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-inline-end: 8px;
  border-radius: 50%;
  background: #ff4d4d;
  box-shadow: 0 0 10px #ff4d4d;
  vertical-align: 1px;
  animation: rec 1.6s steps(1) infinite;
}
@keyframes rec { 50% { opacity: 0.15; } }

/* ==========================================================================
   Intro: the logo is written in light, turns into a window onto the showreel,
   and the camera flies through the S
   ========================================================================== */
.intro,
.intro-logo { display: none; }

html.js .intro {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: block;
  background: radial-gradient(110% 85% at 50% 42%, var(--deep) 0%, var(--night) 62%);
}
html.js .intro-logo {
  position: fixed;
  inset: 0;
  z-index: 151;
  display: grid;
  place-items: center;
  pointer-events: none;
  transition: opacity 0.6s ease;
}
html.js.intro-seen .intro,
html.js.intro-seen .intro-logo { display: none; }
.intro-logo.is-gone { opacity: 0; }

/* the window: everything except the logo shapes stays navy */
.intro.is-window {
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.intro__snow { position: absolute; inset: 0; width: 100%; height: 100%; }

.intro__logo {
  position: relative;
  display: grid;
  justify-items: center;
  gap: clamp(14px, 2.6vw, 28px);
  width: min(74vw, 660px);
}
.intro__wordwrap { position: relative; width: 76%; }
.intro__word {
  width: 100%;
  height: auto;
  clip-path: inset(0 100% 0 0);
  animation: wipe 0.8s var(--ease-io) 0.1s forwards;
}
.intro__scan {
  position: absolute;
  inset-block: -8%;
  left: 0;
  width: 2px;
  border-radius: 2px;
  background: var(--white);
  box-shadow: 0 0 14px 3px rgba(169, 214, 229, 0.9), 0 0 40px 8px rgba(97, 165, 194, 0.5);
  opacity: 0;
  animation: scan 0.8s var(--ease-io) 0.1s forwards;
}
.intro__slogan {
  width: 100%;
  height: auto;
  opacity: 0;
  filter: blur(10px);
  transform: translateY(16px);
  animation: rise 0.6s var(--ease) 0.55s forwards;
}
.intro__tc {
  position: absolute;
  inset-inline: 0;
  bottom: max(28px, env(safe-area-inset-bottom));
  margin: 0;
  font-family: var(--f-cond);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--sky);
  text-align: center;
  font-variant-numeric: tabular-nums;
}

@keyframes wipe { to { clip-path: inset(0 0 0 0); } }
@keyframes scan {
  0% { left: 0; opacity: 1; }
  85% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}
@keyframes rise { to { opacity: 1; filter: none; transform: none; } }

/* ==========================================================================
   Nav — floating glass capsule
   ========================================================================== */
.nav {
  position: fixed;
  top: 14px;
  inset-inline: var(--gutter);
  z-index: 60;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-inline: 22px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: background-color 0.5s, border-color 0.5s, box-shadow 0.5s, transform 0.6s var(--ease);
}
[dir='ltr'] .nav { padding-inline: 22px 10px; }
.nav.is-scrolled {
  background: rgba(1, 42, 74, 0.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  backdrop-filter: blur(20px) saturate(1.4);
  border-color: rgba(169, 214, 229, 0.16);
  box-shadow: 0 20px 50px -25px rgba(0, 10, 25, 0.8);
}
.nav.is-hidden { transform: translateY(-140%); }
html.js:not(.is-ready) .nav { opacity: 0; transform: translateY(-24px); }
.nav { transition: background-color 0.5s, border-color 0.5s, box-shadow 0.5s, transform 0.8s var(--ease), opacity 0.8s ease; }

.nav__brand { display: block; width: 92px; flex: none; }
.nav__brand img { width: 100%; height: auto; }

.nav__links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.nav__links a {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  color: rgba(243, 249, 251, 0.78);
  transition: color 0.25s, background-color 0.25s;
}
.nav__links a:hover { color: var(--white); background: rgba(169, 214, 229, 0.1); }
.nav__links a[aria-current='true'] { color: var(--night); background: var(--frost); }

.nav__actions { display: flex; align-items: center; gap: 8px; }

.lang-toggle {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(169, 214, 229, 0.4);
  background: transparent;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}
.lang-toggle:hover { background: rgba(169, 214, 229, 0.14); border-color: var(--frost); }

.nav__menu {
  display: none;
  place-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.nav__menu span {
  display: block;
  width: 22px;
  height: 1.8px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease);
}
.nav__menu[aria-expanded='true'] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__menu[aria-expanded='true'] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: grid;
  align-content: center;
  gap: 40px;
  padding: calc(var(--nav-h) + 24px) var(--gutter) 40px;
  background: rgba(1, 42, 74, 0.72);
  -webkit-backdrop-filter: blur(30px) saturate(1.3);
  backdrop-filter: blur(30px) saturate(1.3);
  animation: menu-in 0.5s var(--ease);
}
.mobile-menu[hidden] { display: none; }
@keyframes menu-in { from { opacity: 0; backdrop-filter: blur(0); } }
.mobile-menu nav { display: grid; gap: 6px; }
.mobile-menu nav a {
  font-family: var(--f-display);
  font-size: clamp(3rem, 14vw, 4.6rem);
  font-weight: 400;
  line-height: 1.1;
  text-decoration: none;
}
.mobile-menu .btn { justify-self: start; }

/* ==========================================================================
   1. Hero — viewfinder over the showreel
   ========================================================================== */
.hero {
  --hp: 0;
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: calc(var(--nav-h) + 40px) calc(var(--gutter) + clamp(8px, 2vw, 28px)) clamp(36px, 5vh, 52px);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--night);
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
}

.hero__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  animation: drift 26s ease-in-out infinite alternate;
}
.hero__poster:not([src]) { visibility: hidden; }
@keyframes drift { from { transform: scale(1.04); } to { transform: scale(1.14) translateY(-1.5%); } }

.hero__video {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
  container-type: size;
}
.hero__video.is-playing { opacity: 1; transition-duration: 1.4s; }
.hero__video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100vw, 177.78vh);
  height: max(100vh, 56.25vw);
  width: max(100cqw, 177.78cqh);
  height: max(100cqh, 56.25cqw);
  border: 0;
  transform: translate(-50%, -50%) scale(1.2);
  pointer-events: none;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(1, 42, 74, 0.92) 0%, rgba(1, 42, 74, 0.5) 34%, rgba(1, 42, 74, 0.1) 66%, rgba(1, 42, 74, 0.5) 100%),
    linear-gradient(to left, rgba(1, 42, 74, 0.6), rgba(1, 42, 74, 0) 58%);
}
[dir='ltr'] .hero__shade {
  background:
    linear-gradient(to top, rgba(1, 42, 74, 0.92) 0%, rgba(1, 42, 74, 0.5) 34%, rgba(1, 42, 74, 0.1) 66%, rgba(1, 42, 74, 0.5) 100%),
    linear-gradient(to right, rgba(1, 42, 74, 0.6), rgba(1, 42, 74, 0) 58%);
}
.hero__shade::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--sea);
  mix-blend-mode: soft-light;
  opacity: 0.7;
}

.hero__snow { position: absolute; inset: 0; width: 100%; height: 100%; }

/* viewfinder */
.viewfinder {
  position: absolute;
  inset: calc(var(--nav-h) + 6px) var(--gutter) clamp(16px, 2.4vh, 24px);
  z-index: 1;
  pointer-events: none;
}
.vf-corner {
  position: absolute;
  width: clamp(22px, 2.8vw, 38px);
  aspect-ratio: 1;
  border: 0 solid rgba(169, 214, 229, 0.75);
}
.vf-corner--tl { top: 0; left: 0; border-top-width: 1.5px; border-left-width: 1.5px; }
.vf-corner--tr { top: 0; right: 0; border-top-width: 1.5px; border-right-width: 1.5px; }
.vf-corner--bl { bottom: 0; left: 0; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.vf-corner--br { bottom: 0; right: 0; border-bottom-width: 1.5px; border-right-width: 1.5px; }

.vf-hud {
  position: absolute;
  top: 12px;
  left: clamp(30px, 3.6vw, 52px);
  font-family: var(--f-cond);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--frost);
  font-variant-numeric: tabular-nums;
}

/* focus box: confirms focus once the intro lands */
.vf-focus {
  position: absolute;
  top: 30%;
  left: 50%;
  width: 64px;
  height: 44px;
  margin: -22px 0 0 -32px;
  background:
    linear-gradient(var(--frost), var(--frost)) top left / 12px 1.5px,
    linear-gradient(var(--frost), var(--frost)) top left / 1.5px 12px,
    linear-gradient(var(--frost), var(--frost)) top right / 12px 1.5px,
    linear-gradient(var(--frost), var(--frost)) top right / 1.5px 12px,
    linear-gradient(var(--frost), var(--frost)) bottom left / 12px 1.5px,
    linear-gradient(var(--frost), var(--frost)) bottom left / 1.5px 12px,
    linear-gradient(var(--frost), var(--frost)) bottom right / 12px 1.5px,
    linear-gradient(var(--frost), var(--frost)) bottom right / 1.5px 12px;
  background-repeat: no-repeat;
  opacity: 0;
}
html.is-ready .vf-focus { animation: focus-confirm 1.8s var(--ease) 0.2s forwards; }
@keyframes focus-confirm {
  0% { opacity: 0; transform: scale(1.6); }
  35% { opacity: 0.9; transform: scale(1); }
  55% { opacity: 0.35; }
  70% { opacity: 0.9; }
  100% { opacity: 0; transform: scale(1); }
}

.hero__content {
  position: relative;
  z-index: 2;
  align-self: end;
  max-width: min(100%, 1060px);
  padding-block-end: clamp(28px, 6vh, 64px);
}

.hero__title { display: grid; justify-items: start; }

.hero__line--loud {
  font-family: var(--f-display);
  font-size: clamp(3.6rem, 9.4vw, 9.4rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--white);
}
.hero__line--quiet {
  margin-block-start: 0.32em;
  font-family: var(--f-sans);
  font-size: clamp(1.7rem, 3.5vw, 3.3rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--frost);
}
html.js .hero__line--quiet { --d: 0.35s; }

.hero__lead {
  max-width: 44ch;
  margin-block: clamp(20px, 3vh, 30px) clamp(24px, 3.6vh, 34px);
  font-size: clamp(1.05rem, 1.25vw, 1.2rem);
  color: rgba(243, 249, 251, 0.85);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__foot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 0.92rem;
  color: var(--sky);
}
.hero__facts span + span {
  padding-inline-start: 22px;
  border-inline-start: 1px solid rgba(169, 214, 229, 0.35);
}

.scroll-cue {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--sky);
  text-decoration: none;
  transition: color 0.2s;
}
.scroll-cue i {
  position: relative;
  width: 1px;
  height: 52px;
  overflow: hidden;
  background: rgba(169, 214, 229, 0.25);
}
.scroll-cue i::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  top: -40%;
  height: 40%;
  background: var(--frost);
  animation: cue 2.2s var(--ease-io) infinite;
}
@keyframes cue { to { top: 100%; } }
.scroll-cue:hover { color: var(--white); }

/* rack focus in, then the hero drifts out of focus as you scroll away */
.hero__media,
.hero__content,
.hero__foot {
  transition: filter 1.4s var(--ease), transform 1.7s var(--ease), opacity 1.1s ease;
}
.viewfinder { transition: transform 1.5s var(--ease) 0.15s, opacity 1s ease 0.15s; }

html.js:not(.is-ready) .hero__media { filter: blur(3px) brightness(1.25) saturate(1.2); transform: scale(1.22); }
/* while the footage is seen through the logo it plays raw and bright; the grade fades in as we fly through */
.hero__shade { transition: opacity 1.6s ease; }
html.js:not(.is-ready) .hero__shade { opacity: 0; }
html.js:not(.is-ready) .hero__content,
html.js:not(.is-ready) .hero__foot { filter: blur(18px); transform: scale(1.05); opacity: 0; }
html.js:not(.is-ready) .viewfinder { transform: scale(0.94); opacity: 0; }

.hero.is-live .hero__media,
.hero.is-live .hero__content,
.hero.is-live .hero__foot,
.hero.is-live .viewfinder { transition: none; }
.hero.is-live .hero__media {
  clip-path: inset(calc(var(--hp) * 9vh) calc(var(--hp) * 7vw) calc(var(--hp) * 4vh) round calc(var(--hp) * 34px));
  transform: scale(calc(1 - var(--hp) * 0.05));
  filter: blur(calc(var(--hp) * 2px)) brightness(calc(1 - var(--hp) * 0.25));
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(72% + var(--hp) * 18%), transparent 100%);
  mask-image: linear-gradient(to bottom, #000 calc(72% + var(--hp) * 18%), transparent 100%);
}
.hero.is-live .hero__content,
.hero.is-live .hero__foot {
  transform: translateY(calc(var(--hp) * -70px));
  filter: blur(calc(var(--hp) * 8px));
  opacity: calc(1 - var(--hp) * 1.3);
}
.hero.is-live .viewfinder { opacity: calc(1 - var(--hp) * 1.6); }

/* ==========================================================================
   Ticker: a slim moving line between the hero and the work
   ========================================================================== */
.ticker {
  position: relative;
  z-index: 1;
  margin-block: clamp(20px, 4vh, 40px) 0;
  padding-block: 16px;
  overflow: hidden;
  border-block: 1px solid rgba(169, 214, 229, 0.14);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}
.ticker__row {
  display: flex;
  width: max-content;
  white-space: nowrap;
  will-change: transform;
}
.ticker__track {
  display: flex;
  flex: none;
  align-items: center;
  gap: 1.6em;
  padding-inline-end: 1.6em;
  font-family: var(--f-sans);
  font-size: clamp(1rem, 1.35vw, 1.3rem);
  font-weight: 400;
  color: rgba(243, 249, 251, 0.82);
}
.ticker__track span { direction: rtl; unicode-bidi: isolate; }
[lang='en'] .ticker__track span { direction: ltr; }
.flake {
  flex: none;
  width: 0.9em;
  height: 0.9em;
  opacity: 0.85;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a9d6e5' stroke-width='1.4' stroke-linecap='round'%3E%3Cpath d='M12 2v20M3.3 7l17.4 10M3.3 17 20.7 7M12 2l-2.2 2.2M12 2l2.2 2.2M12 22l-2.2-2.2M12 22l2.2-2.2'/%3E%3C/svg%3E");
}

/* ==========================================================================
   2. Work — 3D carousel
   ========================================================================== */
.work {
  position: relative;
  isolation: isolate;
  padding-block: clamp(60px, 9vh, 110px) clamp(110px, 16vh, 180px);
}

.work__ambient {
  position: absolute;
  inset: 0 -10%;
  z-index: -1;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(60% 55% at 50% 55%, #000 30%, transparent 75%);
  mask-image: radial-gradient(60% 55% at 50% 55%, #000 30%, transparent 75%);
}
.work__ambient img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  filter: blur(90px) saturate(1.3);
  transform: scale(1.1);
  transition: opacity 1.4s ease;
}
.work__ambient img.is-on { opacity: 0.55; }

.work__head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 20px 48px;
  margin-block-end: clamp(28px, 5vh, 56px);
}
.work__title {
  font-family: var(--f-display);
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--white);
}
.work__lead {
  max-width: 34ch;
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  color: rgba(243, 249, 251, 0.78);
}

.carousel { position: relative; outline: none; }

.carousel__stage {
  --card-w: min(62vw, 820px);
  --dur: 0.85s;
  position: relative;
  height: calc(var(--card-w) * 0.5625 * 1.32 + 40px);
  perspective: 1800px;
  perspective-origin: 50% 40%;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}

.card {
  position: absolute;
  top: 20px;
  left: 50%;
  width: var(--card-w);
  aspect-ratio: 16 / 9;
  margin-left: calc(var(--card-w) / -2);
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(169, 214, 229, 0.25);
  border-radius: clamp(16px, 2vw, 26px);
  background: var(--deep);
  box-shadow: 0 50px 100px -40px rgba(0, 12, 28, 0.95);
  cursor: pointer;
  transition: transform var(--dur) var(--ease), opacity 0.7s ease, filter 0.7s ease;
  will-change: transform;
  -webkit-box-reflect: below 14px linear-gradient(transparent 66%, rgba(255, 255, 255, 0.2));
}
.card.is-tilting { transition: transform 0.25s ease-out, opacity 0.7s ease, filter 0.7s ease; }
.card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.card.is-active .card__img { animation: kenburns 12s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.09) translate(-1.5%, -1%); } }

.card__glass {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 32%),
    linear-gradient(to top, rgba(1, 42, 74, 0.55), rgba(1, 42, 74, 0) 45%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: clamp(64px, 7vw, 90px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: var(--white);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.85);
  transition: opacity 0.5s ease, transform 0.6s var(--ease), background-color 0.25s;
  pointer-events: none;
}
.card__play svg { width: 34%; fill: currentColor; margin-left: 6%; }
.card.is-active .card__play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.card.is-active:hover .card__play { background: rgba(169, 214, 229, 0.35); }
@media (hover: hover) and (pointer: fine) {
  .card.is-active .card__play { opacity: 0.85; }
}

.carousel__bar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-block-start: clamp(24px, 4vh, 44px);
}
.carousel__info { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); min-width: 0; }
.carousel__count {
  flex: none;
  font-family: var(--f-cond);
  font-size: clamp(3rem, 4.6vw, 4.2rem);
  font-weight: 400;
  line-height: 1;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}
.carousel__total { margin-inline-start: 0.15em; font-size: 0.5em; color: var(--glacier); }
.carousel__meta { display: grid; gap: 12px; min-width: 0; }
.carousel__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  max-width: 44ch;
  font-family: var(--f-sans);
  font-size: clamp(1.1rem, 1.6vw, 1.45rem);
  line-height: 1.35;
}
.carousel__progress {
  position: relative;
  display: block;
  width: min(220px, 40vw);
  height: 2px;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(169, 214, 229, 0.18);
  transition: opacity 0.6s;
}
.carousel__progress i {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--glacier), var(--frost));
  transform-origin: left;
  transform: scaleX(0);
}
[dir='rtl'] .carousel__progress i { transform-origin: right; }
.carousel.is-paused .carousel__progress i { background: linear-gradient(90deg, var(--mist), var(--sky)); }
.carousel__controls { display: flex; flex: none; gap: 10px; }

.work__more { margin-block-start: clamp(20px, 3vh, 32px); }

/* ==========================================================================
   3. About
   ========================================================================== */
.about { position: relative; }

.statement { position: relative; height: 230vh; }
.statement__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: grid;
  place-items: center;
  padding-inline: var(--gutter);
}
.statement__text {
  max-width: min(1180px, 100%);
  font-family: var(--f-display);
  font-size: clamp(2rem, 4.4vw, 4.6rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.025em;
  text-align: center;
  text-wrap: balance;
  color: var(--white);
}
.statement__text .w {
  display: inline-block;
  opacity: calc(0.13 + var(--p, 0) * 0.87);
  filter: blur(calc((1 - var(--p, 0)) * 6px));
  transform: translateY(calc((1 - var(--p, 0)) * 0.12em));
}

/* all in one house: end credits */
.credits {
  position: relative;
  isolation: isolate;
  padding-block: clamp(90px, 14vh, 160px) clamp(40px, 8vh, 90px);
}
.credits__inner { position: relative; z-index: 1; display: grid; justify-items: center; text-align: center; }
.credits__title {
  font-family: var(--f-display);
  font-size: clamp(3rem, 6.6vw, 6.4rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-block-end: clamp(40px, 7vh, 72px);
}
/* the picker: the roles turn on a drum beside one fixed logo */
.picker {
  position: relative;
  display: grid;
  grid-template-columns: auto auto;
  justify-content: center;
  align-items: center;
  gap: clamp(20px, 2.6vw, 40px);
  max-width: 92vw;
}
.picker__band {
  position: absolute;
  inset-inline: calc(-1 * clamp(22px, 3vw, 48px));
  top: 50%;
  height: clamp(74px, 8.6vw, 128px);
  transform: translateY(-50%);
  border-radius: 22px;
  border: 1px solid var(--glass-line);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
  box-shadow: 0 30px 60px -40px rgba(0, 10, 25, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  pointer-events: none;
}
.picker__wheel {
  position: relative;
  height: 300px;
  perspective: 1100px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 30%, #000 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 30%, #000 70%, transparent 100%);
}
.picker__drum { position: absolute; inset: 0; transform-style: preserve-3d; }
.picker__item {
  position: absolute;
  top: 50%;
  inset-inline: 0;
  font-size: clamp(2rem, 3.9vw, 3.6rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.02em;
  text-align: end;
  white-space: nowrap;
  color: var(--sky);
  backface-visibility: hidden;
  will-change: transform, opacity;
  transition: color 0.35s ease;
}
.picker__item.is-current { color: var(--white); }
.picker__logo { position: relative; justify-self: start; }
.picker__mark {
  position: relative;
  display: block;
  height: clamp(58px, 7.2vw, 108px);
  filter: drop-shadow(0 0 10px rgba(169, 214, 229, 0.3));
  transform-origin: center;
}
.picker__mark img { width: auto; height: 100%; }
/* each time a role lands: a bump with a glow, and a light across the letters */
.picker__mark.is-bump { animation: bump 0.7s cubic-bezier(0.23, 1, 0.32, 1); }
@keyframes bump {
  0% { transform: scale(1); filter: drop-shadow(0 0 10px rgba(169, 214, 229, 0.3)); }
  28% { transform: scale(1.1); filter: drop-shadow(0 0 28px rgba(169, 214, 229, 0.95)) brightness(1.18); }
  100% { transform: scale(1); filter: drop-shadow(0 0 10px rgba(169, 214, 229, 0.3)); }
}
.picker__mark::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 35%, rgba(255, 255, 255, 0.95) 50%, transparent 65%) no-repeat;
  background-size: 250% 100%;
  background-position: 120% 0;
  -webkit-mask: url('../img/logo-snow-white.png') center / contain no-repeat;
  mask: url('../img/logo-snow-white.png') center / contain no-repeat;
  opacity: 0;
  pointer-events: none;
}
.picker__mark.is-bump::after { animation: shine 0.9s cubic-bezier(0.4, 0, 0.2, 1) forwards; }
@keyframes shine {
  0% { opacity: 1; background-position: 120% 0; }
  100% { opacity: 1; background-position: -20% 0; }
}
/* no motion: the roles simply stand in a column beside the logo */
.picker.is-static .picker__wheel { height: auto; -webkit-mask-image: none; mask-image: none; perspective: none; }
.picker.is-static .picker__drum { position: static; display: grid; gap: 4px; transform: none !important; }
.picker.is-static .picker__item { position: static; transform: none !important; opacity: 1 !important; filter: none !important; color: var(--white); font-size: clamp(1.4rem, 2.4vw, 2rem); }
.picker.is-static .picker__band { display: none; }
.credits__note {
  max-width: 44ch;
  margin-block-start: clamp(40px, 7vh, 70px);
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  color: rgba(243, 249, 251, 0.82);
}

/* film stills drifting by at different depths */
.credits__stills { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.still {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(169, 214, 229, 0.22);
  background: var(--deep);
  box-shadow: 0 40px 80px -40px rgba(0, 10, 25, 0.95), 0 0 50px -18px rgba(97, 165, 194, 0.45);
  will-change: transform;
}
.still--w { width: clamp(170px, 17vw, 270px); aspect-ratio: 16 / 10; }
.still--t { width: clamp(130px, 12vw, 190px); aspect-ratio: 4 / 5; }
.still img { width: 100%; height: 100%; object-fit: cover; }
.still::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(1, 42, 74, 0.5), transparent 55%);
}

/* clients — moving logo belt */
.clients { padding-block: clamp(80px, 13vh, 140px) clamp(40px, 8vh, 80px); }
.clients__label { margin-block-end: 26px; }
.logos {
  overflow: hidden;
  padding-block: 24px 36px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}
.logos__track {
  display: flex;
  gap: clamp(18px, 2.4vw, 34px);
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
  animation: marquee var(--marquee-dur, 40s) linear infinite;
}
.logos:hover .logos__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

.logo-card {
  --k: 0;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(118px, 11vw, 160px);
  min-width: clamp(170px, 15vw, 230px);
  padding: 0 clamp(26px, 2.6vw, 44px);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 30px 60px -30px rgba(0, 10, 25, 0.9), 0 0 44px -12px rgba(169, 214, 229, 0.4);
  position: relative;
  overflow: hidden;
  animation: bob 6.5s ease-in-out infinite;
  animation-delay: calc(var(--k) * -1.6s);
  transition: box-shadow 0.4s, transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}
/* a soft glare follows the cursor across the card */
.logo-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(220px circle at var(--gx, 50%) var(--gy, 50%), rgba(97, 165, 194, 0.22), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.logo-card:hover::after { opacity: 1; }
.logo-card img {
  display: block;
  width: auto;
  height: 68%;
  max-width: clamp(220px, 22vw, 340px);
  object-fit: contain;
}
.logo-card:hover { box-shadow: 0 30px 60px -30px rgba(0, 10, 25, 0.9), 0 0 64px -6px rgba(169, 214, 229, 0.75); }
@keyframes bob { 50% { translate: 0 -10px; } }

/* ==========================================================================
   4. Contact
   ========================================================================== */
@property --ang {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

.contact {
  position: relative;
  padding-block: clamp(90px, 13vh, 150px) clamp(80px, 11vh, 120px);
}
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 520px);
  align-items: start;
  gap: clamp(48px, 7vw, 120px);
}
.contact__title { display: grid; justify-items: start; }
.contact__loud {
  font-family: var(--f-display);
  font-size: clamp(2.7rem, 5.4vw, 5.4rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--white);
}
.contact__quiet {
  --d: 0.3s;
  margin-block-start: 0.3em;
  font-family: var(--f-sans);
  font-size: clamp(1.7rem, 3.4vw, 3.1rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--frost);
}
.contact__lead {
  max-width: 40ch;
  margin-block: clamp(22px, 3vh, 30px) clamp(26px, 4vh, 36px);
  font-size: 1.125rem;
  color: rgba(243, 249, 251, 0.82);
}
.steps { margin-block: 0 clamp(30px, 4.4vh, 44px); }
.steps__label { margin-block-end: 14px; }
.steps__list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 520px;
}
.steps__list li {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 4px 14px;
  padding-block: 14px;
  border-top: 1px solid rgba(169, 214, 229, 0.14);
}
.steps__list li:last-child { border-bottom: 1px solid rgba(169, 214, 229, 0.14); }
.steps__n {
  font-family: var(--f-cond);
  font-size: 1.9rem;
  font-weight: 400;
  line-height: 1;
  color: var(--glacier);
  font-variant-numeric: tabular-nums;
}
.steps__list h4 { font-size: 1.1rem; font-weight: 500; line-height: 1.3; }
.steps__list p { margin-block-start: 2px; font-size: 0.95rem; color: rgba(243, 249, 251, 0.72); }

.contact__direct {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 48px;
  margin: clamp(36px, 5vh, 52px) 0 0;
}
.contact__direct dt { font-size: 0.9rem; color: var(--sky); }
.contact__direct dd { margin: 2px 0 0; }
.contact__direct a {
  font-family: var(--f-sans);
  font-size: clamp(1.25rem, 1.9vw, 1.6rem);
  text-decoration: none;
  transition: color 0.2s;
}
.contact__direct a:hover { color: var(--frost); }

/* brief form with a living border */
.brief {
  position: relative;
  display: grid;
  gap: 18px;
  padding: clamp(24px, 3vw, 40px);
  border-radius: 30px;
  background: linear-gradient(160deg, rgba(1, 58, 99, 0.55), rgba(1, 42, 74, 0.45));
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
  box-shadow: 0 50px 100px -50px rgba(0, 10, 25, 0.95);
}
/* a light that travels around the frame */
.brief::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: conic-gradient(from var(--ang), rgba(169, 214, 229, 0.14), rgba(169, 214, 229, 0.95) 10%, rgba(97, 165, 194, 0.16) 24%, rgba(169, 214, 229, 0.14) 50%, rgba(42, 111, 151, 0.75) 64%, rgba(169, 214, 229, 0.14) 78%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: border-spin 9s linear infinite;
  pointer-events: none;
}
@keyframes border-spin { to { --ang: 360deg; } }

.brief__title {
  margin-block-end: 4px;
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 2.3vw, 2rem);
  font-weight: 400;
}

.field { display: grid; gap: 7px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label,
.field legend {
  padding: 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--sky);
}
.field input,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1px solid rgba(169, 214, 229, 0.24);
  border-radius: 16px;
  background: rgba(1, 42, 74, 0.5);
  color: var(--snow);
  font: inherit;
  transition: border-color 0.25s, box-shadow 0.25s, background-color 0.25s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder,
.field textarea::placeholder { color: rgba(137, 194, 217, 0.6); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--frost);
  background: rgba(1, 42, 74, 0.7);
  box-shadow: 0 0 0 4px rgba(169, 214, 229, 0.16), 0 0 30px -6px rgba(169, 214, 229, 0.4);
}
.field input[aria-invalid='true'] { border-color: #ff9b9b; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { margin-block-end: 7px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(169, 214, 229, 0.3);
  border-radius: 999px;
  font-size: 0.95rem;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.chip:hover span { border-color: var(--frost); }
.chip input:checked + span {
  background: var(--frost);
  border-color: var(--frost);
  color: var(--night);
  font-weight: 600;
  box-shadow: 0 6px 24px -8px rgba(169, 214, 229, 0.7);
}
.chip input:focus-visible + span { outline: 2px solid var(--frost); outline-offset: 3px; }

.brief__preview {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(1, 42, 74, 0.42);
  border: 1px dashed rgba(169, 214, 229, 0.22);
}
.brief__preview-label { font-size: 0.82rem; font-weight: 500; color: var(--sky); }
.brief__preview-text {
  font-size: 0.95rem;
  line-height: 1.5;
  white-space: pre-line;
  color: rgba(243, 249, 251, 0.9);
}
.brief__preview-text.is-empty { color: rgba(137, 194, 217, 0.75); }
.brief__preview-text.is-changing { animation: refocus 0.26s ease-out; }
@keyframes refocus { from { filter: blur(2px); opacity: 0.6; } }
.brief__error { color: #ffb4b4; font-size: 0.95rem; }
.brief__submit { width: 100%; min-height: 56px; margin-block-start: 4px; }
.brief__note { font-size: 0.875rem; color: rgba(137, 194, 217, 0.85); text-align: center; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  padding-block: 44px max(44px, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(169, 214, 229, 0.12);
  background: linear-gradient(to bottom, rgba(1, 42, 74, 0.2), rgba(1, 42, 74, 0.85));
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
.footer__inner {
  display: grid;
  justify-items: center;
  gap: clamp(30px, 5vh, 52px);
  padding-block-start: clamp(30px, 6vh, 70px);
}
.footer__logo {
  display: grid;
  justify-items: center;
  gap: clamp(10px, 1.6vw, 18px);
  width: min(380px, 62vw);
  text-decoration: none;
}
.outro__word { position: relative; display: block; width: 76%; }
.outro__word img { width: 100%; height: auto; }
.outro__slogan { width: 100%; height: auto; }
.outro__scan {
  position: absolute;
  inset-block: -8%;
  left: 0;
  width: 2px;
  border-radius: 2px;
  background: var(--white);
  box-shadow: 0 0 14px 3px rgba(169, 214, 229, 0.9), 0 0 40px 8px rgba(97, 165, 194, 0.5);
  opacity: 0;
}
html.js [data-outro] .outro__word img { clip-path: inset(0 100% 0 0); }
html.js [data-outro] .outro__slogan { opacity: 0; filter: blur(10px); transform: translateY(14px); }
html.js [data-outro].is-in .outro__word img { animation: wipe 1s var(--ease-io) 0.15s forwards; }
html.js [data-outro].is-in .outro__scan { animation: scan 1s var(--ease-io) 0.15s forwards; }
html.js [data-outro].is-in .outro__slogan { animation: rise 0.8s var(--ease) 0.85s forwards; }

.footer__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 40px;
  width: 100%;
  padding-block-start: 22px;
  border-top: 1px solid rgba(169, 214, 229, 0.12);
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer__links a { text-decoration: none; opacity: 0.85; transition: opacity 0.2s; }
.footer__links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 0.3em; }
.footer__copy { font-size: 0.875rem; color: var(--glacier); }

/* ==========================================================================
   Video player
   ========================================================================== */
.player {
  width: min(92vw, 1280px, calc((88vh - 80px) * 16 / 9));
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  overflow: visible;
  background: transparent;
  color: var(--snow);
}
.player.is-vertical { width: min(92vw, calc((88vh - 80px) * 9 / 16)); }
.player::backdrop {
  background: rgba(1, 30, 52, 0.7);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  backdrop-filter: blur(24px) saturate(1.2);
}
.player[open] { animation: player-in 0.6s var(--ease); }
.player[open]::backdrop { animation: backdrop-in 0.6s ease; }
@keyframes player-in { from { opacity: 0; filter: blur(16px); transform: translateY(20px) scale(0.96); } }
@keyframes backdrop-in { from { opacity: 0; } }
.player.is-closing { opacity: 0; filter: blur(6px); transform: translateY(10px) scale(0.98); transition: opacity 0.2s ease, filter 0.2s ease, transform 0.2s cubic-bezier(0.23, 1, 0.32, 1); }
.player.is-closing::backdrop { opacity: 0; transition: opacity 0.2s ease; }

.player__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 20px;
  background: #000;
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(169, 214, 229, 0.22), 0 0 80px -20px rgba(97, 165, 194, 0.45);
}
.player.is-vertical .player__frame { aspect-ratio: 9 / 16; }
.player__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.player__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-block-start: 14px;
}
.player__title { font-size: clamp(1.05rem, 1.6vw, 1.3rem); }
.player__close { flex: none; width: 48px; height: 48px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__menu { display: grid; }
  .nav__wa span { display: none; }
  .nav__wa { width: 42px; padding: 0; }

  .contact__grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  :root { --nav-h: 76px; }
  .nav { top: 10px; height: 56px; padding-inline: 18px 6px; }

  .hero { padding-inline: calc(var(--gutter) + 10px); }
  .hero__foot { flex-direction: column; align-items: start; }
  .scroll-cue { display: none; }
  .hero__facts { flex-direction: column; gap: 2px; }
  .hero__facts span + span { padding-inline-start: 0; border-inline-start: 0; }
  .hero__actions .btn { flex: 1 1 auto; }

  .carousel__stage { --card-w: 82vw; }
  .carousel__bar { align-items: center; }
  .carousel__info { flex-direction: column; align-items: start; gap: 6px; }
  .icon-btn { width: 48px; height: 48px; }

  .statement { height: 200vh; }
  .statement__text { text-align: start; }

  .credits { padding-block-start: clamp(150px, 26vh, 220px); }
  .picker { gap: 16px; }
  .picker__band { inset-inline: -18px; }
  .picker__item { font-size: clamp(1.6rem, 8vw, 2.4rem); }
  .picker__mark { height: clamp(44px, 12vw, 60px); }
  .picker__band { height: clamp(56px, 15vw, 76px); border-radius: 16px; }
  .still--w { width: 34vw; }
  .still--t { width: 24vw; }
  .still:nth-child(n + 3) { display: none; }
  .still:nth-child(1) { inset-inline-start: 5% !important; top: 3% !important; }
  .still:nth-child(2) { inset-inline-start: auto !important; inset-inline-end: 5%; top: 1% !important; }

  .footer__row { flex-direction: column; align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  html:not(.lenis) { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html.js .intro { display: none; }
  html.js [data-reveal],
  html.js [data-split] .w { opacity: 1; filter: none; transform: none; }
  html.js:not(.is-ready) .hero__media,
  html.js:not(.is-ready) .hero__content,
  html.js:not(.is-ready) .hero__foot { filter: none; transform: none; opacity: 1; }
  .statement { height: auto; }
  .statement__sticky { position: static; height: auto; padding-block: 120px; }
  .statement__text .w { opacity: 1; filter: none; transform: none; }
  .logos__track { animation: none; flex-wrap: wrap; }
  .card { -webkit-box-reflect: none; }
  html.js [data-outro] .outro__word img { clip-path: none; }
  html.js [data-outro] .outro__slogan { opacity: 1; filter: none; transform: none; }
}
