/* ============================================================
   m4motions — palette pulled from the brand reel
   ============================================================ */
:root {
  --butter: #FCEFB4;
  --cream:  #FBE7D3;
  --peach:  #F8CDB8;
  --blush:  #F3B6B0;
  --coral:  #EE998A;
  --lilac:  #D7A4DC;
  --mauve:  #8A6F78;
  --blue:   #4361EE;
  --blue-2: #6E86FF;
  --ink:    #1E1A24;
  --ink-2:  #4A4250;
  --ink-3:  #7A6F7E;

  --glass-bg: rgba(255, 255, 255, .26);
  --glass-bg-strong: rgba(255, 255, 255, .44);
  --glass-brd: rgba(255, 255, 255, .62);
  --glass-shadow: 0 1px 0 rgba(255,255,255,.75) inset, 0 -1px 0 rgba(255,255,255,.18) inset, 0 20px 50px -20px rgba(138, 80, 90, .35);

  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 14px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --max: 100%;
  --gutter: clamp(16px, 3.2vw, 56px); /* edge spacing; layout is full width */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--peach);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
::selection { background: var(--blue); color: #fff; }

/* ---------- Backdrop ---------- */
.aurora {
  position: fixed; inset: -10vmax; z-index: -3; overflow: hidden;
  background: linear-gradient(160deg, var(--butter) 0%, var(--cream) 35%, var(--peach) 60%, var(--blush) 100%);
}
.blob {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .85;
  will-change: transform; animation: drift 26s var(--ease) infinite alternate;
}
.b1 { width: 55vmax; height: 55vmax; background: var(--butter); top: -10%; left: -8%; }
.b2 { width: 42vmax; height: 30vmax; background: var(--lilac); top: 30%; left: 45%; animation-duration: 32s; animation-delay: -6s; opacity: .7; }
.b3 { width: 38vmax; height: 38vmax; background: var(--coral); bottom: -12%; left: 20%; animation-duration: 28s; animation-delay: -12s; opacity: .55; }
.b4 { width: 30vmax; height: 30vmax; background: var(--blush); top: 5%; right: -6%; animation-duration: 36s; }
.b5 { width: 18vmax; height: 26vmax; background: var(--mauve); bottom: 4%; left: 6%; opacity: .32; filter: blur(90px); animation-duration: 40s; }
.b6 { width: 34vmax; height: 22vmax; background: var(--butter); bottom: 10%; right: 4%; animation-duration: 30s; animation-delay: -18s; }
@keyframes drift {
  0%   { transform: translate3d(0,0,0) rotate(0deg) scale(1); }
  33%  { transform: translate3d(8vmax,-4vmax,0) rotate(40deg) scale(1.12); }
  66%  { transform: translate3d(-5vmax,6vmax,0) rotate(-25deg) scale(.92); }
  100% { transform: translate3d(4vmax,3vmax,0) rotate(15deg) scale(1.05); }
}
/* Parallax layers */
.plx { position: absolute; inset: 0; will-change: transform; }
.depth { position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.d-item { position: absolute; left: 0; top: 0; will-change: transform; }
.d-item > i { display: block; transition: opacity .6s; }
.d-orb {
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.95), rgba(255,255,255,.35) 28%, rgba(215,164,220,.35) 62%, rgba(238,153,138,.35) 100%);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: inset -10px -14px 30px rgba(190,110,140,.25), inset 8px 10px 20px rgba(255,255,255,.6), 0 20px 50px -20px rgba(138,80,90,.45);
}
.d-orb.blue { background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.95), rgba(255,255,255,.3) 28%, rgba(110,134,255,.35) 65%, rgba(215,164,220,.4) 100%); }
.d-ring { border-radius: 50%; border: 1.5px solid rgba(255,255,255,.75); box-shadow: 0 0 30px rgba(255,255,255,.45), inset 0 0 20px rgba(255,255,255,.35); }
.d-pill {
  white-space: nowrap; padding: 9px 16px; border-radius: 999px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--ink-2);
  background: rgba(255,255,255,.38); border: 1px solid rgba(255,255,255,.85);
  box-shadow: 0 1px 0 #fff inset, 0 0 24px rgba(255,255,255,.55), 0 12px 30px -16px rgba(138,80,90,.45);
}
.d-pill b { color: var(--blue); font-weight: 500; }
/* Planets */
.d-sat { position: relative; }
.d-planet {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 30% 26%, #fff 0%, var(--p1) 16%, var(--p2) 55%, var(--p3) 100%);
  box-shadow: inset -18px -24px 44px rgba(90,40,70,.26), inset 10px 12px 26px rgba(255,255,255,.55),
              0 0 70px var(--glow), 0 30px 70px -28px rgba(138,80,90,.55);
}
.d-planet::after { /* soft surface bands */
  content: ""; position: absolute; inset: 0; border-radius: 50%; opacity: .35; mix-blend-mode: soft-light;
  background: repeating-linear-gradient(-18deg, transparent 0 14%, rgba(255,255,255,.7) 16% 19%, transparent 21% 33%);
}
.d-pring { position: absolute; left: -45%; right: -45%; top: 39%; height: 22%; border-radius: 50%;
  border: 2.5px solid rgba(255,255,255,.85); box-shadow: 0 0 16px rgba(255,255,255,.7), inset 0 0 10px rgba(255,255,255,.5); }
.d-pring.back { clip-path: inset(0 0 50% 0); }
.d-pring.front { clip-path: inset(50% 0 0 0); }

/* Stars */
.d-stars { position: absolute; left: 0; top: 0; width: 100%; will-change: transform; }
.star {
  position: absolute; width: var(--s); height: var(--s); border-radius: 50%;
  background: #fff; box-shadow: 0 0 6px 1px rgba(255,255,255,.95), 0 0 16px rgba(255,255,255,.6);
  animation: twinkle var(--d) ease-in-out var(--dl) infinite;
}
.star.c-blue { background: #6E86FF; box-shadow: 0 0 8px 2px rgba(110,134,255,.8), 0 0 20px rgba(110,134,255,.5); }
.star.c-lilac { background: #C98ED0; box-shadow: 0 0 8px 2px rgba(201,142,208,.85), 0 0 20px rgba(215,164,220,.55); }
.star.st4 { width: auto; height: auto; background: none; box-shadow: none; border-radius: 0; font-size: var(--s); line-height: 1; font-style: normal;
  color: #fff; text-shadow: 0 0 6px #fff, 0 0 16px rgba(110,134,255,.9), 0 0 2px rgba(67,97,238,.6); }
.star.st4.c-blue { color: #5B74F5; text-shadow: 0 0 10px rgba(110,134,255,.8), 0 0 22px rgba(110,134,255,.5); }
.star.st4.c-lilac { color: #C98ED0; text-shadow: 0 0 10px rgba(215,164,220,.9), 0 0 22px rgba(215,164,220,.5); }
@keyframes twinkle { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .2; transform: scale(.5); } }
.d-spark { color: var(--blue); font-style: normal; text-shadow: 0 0 14px rgba(67,97,238,.45); }
.grain {
  position: fixed; inset: 0; z-index: -2; pointer-events: none; opacity: .14; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.cursor-glow {
  position: fixed; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px;
  border-radius: 50%; pointer-events: none; z-index: -1;
  background: radial-gradient(circle, rgba(255,255,255,.55), rgba(255,255,255,0) 65%);
  transform: translate3d(50vw, 40vh, 0); transition: opacity .4s;
}
@media (hover: none) { .cursor-glow { display: none; } }

/* ---------- Glass ---------- */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-brd);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  backdrop-filter: blur(22px) saturate(160%);
}
.glass-in {
  background: rgba(255,255,255,.5);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: var(--r-sm);
  box-shadow: 0 1px 0 #fff inset, 0 8px 20px -14px rgba(138,80,90,.4);
}

/* ---------- Typography helpers ---------- */
.lt { font-style: italic; font-weight: 300; letter-spacing: -.02em; }
.bd { font-style: italic; font-weight: 800; letter-spacing: -.035em; }
.mono { font-family: var(--mono); letter-spacing: .02em; }
.small { font-size: 11px; color: var(--ink-3); }
h1, h2, h3 { margin: 0; line-height: 1.02; }
h2 { font-size: clamp(38px, 6vw, 84px); }
h3 { font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; color: var(--ink-2); }
em { font-style: italic; color: var(--blue); font-weight: 600; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; border-radius: 999px;
  font-weight: 600; letter-spacing: -.01em; white-space: nowrap;
  transition: transform .5s var(--ease), box-shadow .3s, background .3s;
}
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-dark { background: var(--ink); color: #fff; box-shadow: 0 10px 30px -10px rgba(30,26,36,.6), 0 1px 0 rgba(255,255,255,.25) inset; }
.btn-dark:hover { background: #000; }
.btn-glass { color: var(--ink); }
.btn-glass:hover { background: var(--glass-bg-strong); }
.play-ico { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; margin-left: -10px; }
.chip { display: inline-block; padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 22px; }

/* ---------- Nav ---------- */
.nav-wrap { position: fixed; top: 16px; left: 0; right: 0; z-index: 50; padding: 0 var(--gutter); }
.nav {
  max-width: var(--max); margin: 0 auto; border-radius: 999px;
  display: flex; align-items: center; gap: 20px; padding: 10px 10px 10px 24px;
  transition: background .3s, padding .3s;
}
.nav.scrolled { background: var(--glass-bg-strong); }
.brand img { height: 20px; width: auto; }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.nav-links a { padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-2); transition: background .25s, color .25s; }
.nav-links a:hover, .nav-links a.on { background: rgba(255,255,255,.55); color: var(--ink); }
/* Industries dropdown */
.has-drop { position: relative; }
.drop-btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-2); transition: background .25s, color .25s; }
.drop-btn:hover, .has-drop.open .drop-btn { background: rgba(255,255,255,.55); color: var(--ink); }
.chev { transition: transform .35s var(--ease); }
.has-drop.open .chev { transform: rotate(180deg); }
.drop {
  position: absolute; top: calc(100% + 16px); left: 50%; width: 360px; padding: 8px; border-radius: 24px;
  background: rgba(255,250,246,.93); border: 1px solid rgba(255,255,255,.95);
  box-shadow: 0 1px 0 #fff inset, 0 30px 60px -20px rgba(138,80,90,.45);
  -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%);
  opacity: 0; pointer-events: none; transform: translate(-50%, 10px) scale(.98); transform-origin: 50% 0;
  transition: opacity .3s var(--ease), transform .4s var(--ease);
}
.drop::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; } /* hover bridge */
.has-drop.open .drop { opacity: 1; pointer-events: auto; transform: translate(-50%, 0) scale(1); }
.drop a { display: flex; align-items: center; gap: 14px; padding: 11px 12px; border-radius: 16px; transition: background .2s; }
.drop a:hover, .drop a:focus-visible { background: rgba(255,255,255,.85); outline: none; }
.drop b { display: block; font-size: 15px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.drop small { display: block; font-size: 12.5px; color: var(--ink-3); margin-top: 1px; }
.d-ico { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: 16px; color: #fff; background: linear-gradient(135deg, var(--coral), var(--lilac) 60%, var(--blue)); box-shadow: 0 6px 14px -6px var(--coral); transition: transform .4s var(--ease); }
.drop a:hover .d-ico { transform: scale(1.08) rotate(-6deg); }
.mm-label { padding: 10px 18px 2px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.mm-ind { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px 12px 12px; border-bottom: 1px solid rgba(255,255,255,.7); margin-bottom: 4px; }
.mobile-menu .mm-ind a { font-size: 14px; padding: 9px 14px; border-radius: 999px; background: rgba(255,255,255,.5); border: 1px solid rgba(255,255,255,.85); }
.menu-toggle { display: none; width: 42px; height: 42px; border-radius: 50%; position: relative; background: rgba(255,255,255,.5); }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .4s var(--ease); }
.menu-toggle span:first-child { top: 16px; } .menu-toggle span:last-child { top: 24px; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu {
  display: none; flex-direction: column; gap: 4px; margin: 10px auto 0; max-width: var(--max);
  border-radius: var(--r-lg); padding: 10px; opacity: 0; transform: translateY(-8px); pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.mobile-menu a { padding: 14px 18px; border-radius: 16px; font-weight: 600; font-size: 18px; }
.mobile-menu a:active { background: rgba(255,255,255,.5); }
.mobile-menu.open { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- Layout ---------- */
main { position: relative; }
.section { max-width: var(--max); margin: 0 auto; padding: 120px var(--gutter); }
.section-head { max-width: 760px; margin-bottom: 64px; }
.section-head p { font-size: 18px; margin-top: 22px; max-width: 600px; }
.section-head.row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }

/* ---------- Hero ---------- */
.hero {
  max-width: var(--max); margin: 0 auto; padding: 160px var(--gutter) 60px; text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--ink-2); margin-bottom: 28px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(67,97,238,.18); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(67,97,238,0); } }
.hero-title { font-size: clamp(54px, 11vw, 150px); line-height: .92; color: var(--ink); text-shadow: 0 0 40px rgba(255,255,255,.55); }
.hero-title .lt { font-weight: 300; }
.hero-title .bd {
  background: linear-gradient(100deg, var(--ink) 10%, #2B3A9E 55%, var(--blue) 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none;
  padding-right: .08em; /* keeps the italic overhang from clipping */
}
.type-pill {
  margin: 34px 0 30px; padding: 16px 30px; border-radius: 999px;
  font-size: clamp(20px, 3.2vw, 36px); font-weight: 600; letter-spacing: -.02em;
  display: inline-flex; align-items: center; min-height: 1.6em;
  box-shadow: var(--glass-shadow), 0 0 0 1px rgba(255,255,255,.4), 0 0 40px rgba(255,255,255,.55);
}
.type-text { background: linear-gradient(90deg, var(--ink) 0%, #2B3A9E 55%, var(--blue) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.caret { width: 3px; height: 1.05em; margin-left: 6px; border-radius: 2px; background: var(--blue); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-sub { max-width: 620px; font-size: clamp(16px, 1.6vw, 19px); }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 34px; }

.hero-reel {
  position: relative; width: 100%; margin-top: 80px; border-radius: 32px; overflow: hidden; cursor: pointer;
  aspect-ratio: 16 / 9; border: 1px solid var(--glass-brd);
  box-shadow: 0 50px 120px -40px rgba(138,80,90,.55), 0 1px 0 rgba(255,255,255,.8) inset;
  transform: perspective(1400px) rotateX(var(--tilt, 14deg)) scale(var(--sc, .92));
  transform-origin: 50% 0; transition: transform .2s linear;
  animation: reelIn 1.4s var(--ease) .5s both;
}
@keyframes reelIn { from { opacity: 0; translate: 0 60px; } to { opacity: 1; translate: 0 0; } }
.hero-reel video { width: 100%; height: 100%; object-fit: cover; }
.reel-play {
  position: absolute; left: 50%; top: 50%; width: 86px; height: 86px; margin: -43px 0 0 -43px; border-radius: 50%;
  display: grid; place-items: center; color: var(--ink); transition: transform .5s var(--ease);
}
.hero-reel:hover .reel-play { transform: scale(1.12); }

/* Viewfinder overlay */
.vf { position: absolute; inset: 0; pointer-events: none; font-family: var(--mono); font-size: 12px; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.25); }
.vf-c { position: absolute; width: 28px; height: 28px; border: 2px solid rgba(255,255,255,.85); }
.vf-c.tl { top: 22px; left: 22px; border-right: 0; border-bottom: 0; border-radius: 6px 0 0 0; }
.vf-c.tr { top: 22px; right: 22px; border-left: 0; border-bottom: 0; border-radius: 0 6px 0 0; }
.vf-c.bl { bottom: 22px; left: 22px; border-right: 0; border-top: 0; border-radius: 0 0 0 6px; }
.vf-c.br { bottom: 22px; right: 22px; border-left: 0; border-top: 0; border-radius: 0 0 6px 0; }
.vf-rec { position: absolute; top: 30px; left: 64px; display: flex; align-items: center; gap: 7px; font-weight: 500; }
.vf-rec i { width: 9px; height: 9px; border-radius: 50%; background: #ff4d4d; animation: blink 1.2s steps(1) infinite; }
.vf-tc { position: absolute; top: 30px; right: 64px; }
.vf-meta, .vf-move { position: absolute; bottom: 30px; left: 64px; }
.small-vf .vf-c { width: 18px; height: 18px; }
.small-vf .vf-c.tl, .small-vf .vf-c.tr { top: 14px; } .small-vf .vf-c.bl, .small-vf .vf-c.br { bottom: 14px; }
.small-vf .vf-c.tl, .small-vf .vf-c.bl { left: 14px; } .small-vf .vf-c.tr, .small-vf .vf-c.br { right: 14px; }
.small-vf .vf-rec { top: 18px; left: 42px; font-size: 10px; } .small-vf .vf-tc { top: 18px; right: 42px; font-size: 10px; }
.small-vf .vf-move { bottom: 18px; left: 42px; font-size: 10px; letter-spacing: .12em; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: 30px 0; border-block: 1px solid rgba(255,255,255,.55); background: rgba(255,255,255,.14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.marquee-track { display: flex; gap: 34px; width: max-content; animation: marquee 40s linear infinite; align-items: center; }
.marquee span { font-size: clamp(24px, 3.4vw, 44px); font-style: italic; font-weight: 800; letter-spacing: -.03em; white-space: nowrap; }
.marquee span:nth-of-type(even) { font-weight: 300; color: var(--ink-2); }
.marquee i { font-style: normal; color: var(--blue); font-size: 22px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- AI Films ---------- */
.films-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 28px; align-items: start; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pillar { border-radius: var(--r-md); padding: 26px; transition: transform .5s var(--ease), background .3s; }
.pillar:hover { transform: translateY(-4px); background: var(--glass-bg-strong); }
.pillar h3 { margin: 14px 0 8px; font-size: 18px; }
.pillar p { font-size: 14.5px; }
.p-ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 20px; color: #fff; background: linear-gradient(135deg, var(--coral), var(--lilac)); box-shadow: 0 8px 20px -8px var(--coral); }

.lab { border-radius: var(--r-lg); padding: 22px; position: sticky; top: 100px; }
.lab-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.lab-top h3 { font-size: 22px; margin-top: 4px; }
.lab-lens { padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.5); white-space: nowrap; }
.lab-stage { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; perspective: 900px; background: #f5c6b4; }
.world { position: absolute; inset: 0; transform-style: preserve-3d; }
.layer { position: absolute; inset: -18%; transform-style: preserve-3d; }
.l-sky { background: linear-gradient(180deg, #F9D9C6 0%, #F7C2B4 45%, #EFA79A 70%, #E59A9C 100%); transform: translateZ(-400px) scale(1.5); }
.l-sun { inset: auto; width: 26%; aspect-ratio: 1; left: 37%; top: 22%; border-radius: 50%; background: radial-gradient(circle, #FFF6D6 0 45%, rgba(252,239,180,.6) 60%, transparent 72%); transform: translateZ(-320px) scale(1.4); }
.l-far { background: #D9A0B5; clip-path: polygon(0 68%, 12% 58%, 24% 63%, 38% 52%, 52% 60%, 66% 50%, 80% 58%, 100% 52%, 100% 100%, 0 100%); transform: translateZ(-220px) scale(1.25); opacity: .85; }
.l-mid { background: #B9849A; clip-path: polygon(0 76%, 18% 66%, 30% 72%, 46% 64%, 62% 74%, 78% 66%, 100% 72%, 100% 100%, 0 100%); transform: translateZ(-100px) scale(1.12); }
.l-subject { transform: translateZ(0); }
.monolith { position: absolute; left: 47%; top: 46%; width: 7%; height: 30%; border-radius: 4px; background: linear-gradient(100deg, rgba(255,255,255,.75), rgba(255,255,255,.25) 60%, rgba(255,255,255,.55)); border: 1px solid rgba(255,255,255,.9); box-shadow: 0 0 30px rgba(255,255,255,.7); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.figure { position: absolute; left: 42%; top: 62%; width: 2.2%; height: 12%; background: #3A2C36; border-radius: 40% 40% 10% 10%; }
.figure::before { content: ""; position: absolute; left: 50%; top: -38%; width: 110%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: #3A2C36; }
.l-near { background: #6E5262; clip-path: polygon(0 86%, 22% 82%, 40% 88%, 60% 84%, 82% 90%, 100% 85%, 100% 100%, 0 100%); transform: translateZ(140px) scale(.85); }
.lab-stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at center, transparent 55%, rgba(60,30,40,.35)); }

.world.m-dolly    { animation: m-dolly 5s var(--ease) infinite; }
.world.m-orbit    { animation: m-orbit 6s ease-in-out infinite alternate; }
.world.m-crane    { animation: m-crane 5.5s var(--ease) infinite; }
.world.m-truck    { animation: m-truck 6s ease-in-out infinite alternate; }
.world.m-fpv      { animation: m-fpv 4.5s cubic-bezier(.6,0,.2,1) infinite; }
.world.m-handheld { animation: m-hand 3.2s ease-in-out infinite; }
@keyframes m-dolly { 0% { transform: translateZ(-60px); } 85%,100% { transform: translateZ(260px); } }
@keyframes m-orbit { from { transform: translateZ(40px) rotateY(-14deg); } to { transform: translateZ(40px) rotateY(14deg); } }
@keyframes m-crane { 0% { transform: translateY(26%) rotateX(-6deg); } 85%,100% { transform: translateY(-6%) rotateX(9deg); } }
@keyframes m-truck { from { transform: translateX(-9%); } to { transform: translateX(9%); } }
@keyframes m-fpv { 0% { transform: translate3d(0,-14%,-80px) rotateX(16deg) rotateZ(-4deg); } 60% { transform: translate3d(2%,4%,220px) rotateX(-2deg) rotateZ(5deg); } 100% { transform: translate3d(-2%,2%,320px) rotateX(0) rotateZ(-2deg); } }
@keyframes m-hand { 0%{transform:translate(0,0) rotate(0)} 15%{transform:translate(.6%,-.4%) rotate(.4deg)} 30%{transform:translate(-.4%,.5%) rotate(-.3deg)} 50%{transform:translate(.5%,.3%) rotate(.2deg)} 70%{transform:translate(-.6%,-.3%) rotate(-.5deg)} 85%{transform:translate(.2%,.5%) rotate(.3deg)} 100%{transform:translate(0,0) rotate(0)} }
.world.m-rack .l-far, .world.m-rack .l-mid, .world.m-rack .l-sky, .world.m-rack .l-sun { animation: rack-bg 4.4s ease-in-out infinite; }
.world.m-rack .l-near, .world.m-rack .l-subject { animation: rack-fg 4.4s ease-in-out infinite; }
.world.m-rack { transform: translateZ(80px); }
@keyframes rack-bg { 0%,40% { filter: blur(0); } 55%,90% { filter: blur(6px); } 100% { filter: blur(0); } }
@keyframes rack-fg { 0%,40% { filter: blur(5px); } 55%,90% { filter: blur(0); } 100% { filter: blur(5px); } }

.lab-moves { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.move { padding: 9px 15px; border-radius: 999px; font-size: 13.5px; font-weight: 600; background: rgba(255,255,255,.4); border: 1px solid rgba(255,255,255,.7); transition: all .3s var(--ease); }
.move:hover { background: rgba(255,255,255,.7); }
.move.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.lab-note { margin-top: 14px; font-size: 14.5px; min-height: 2.6em; }

/* ---------- Process timeline ---------- */
.timeline { position: relative; display: grid; gap: 26px; padding-left: 90px; }
.tl-rail { position: absolute; left: 30px; top: 10px; bottom: 10px; width: 2px; background: rgba(255,255,255,.6); border-radius: 2px; overflow: hidden; }
.tl-fill { position: absolute; inset: 0; background: linear-gradient(var(--coral), var(--lilac), var(--blue)); transform-origin: top; transform: scaleY(0); }
.step { position: relative; }
.step-num {
  position: absolute; left: -90px; top: 18px; width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-style: italic; font-size: 20px;
  background: rgba(255,255,255,.55); border: 1px solid #fff; box-shadow: var(--glass-shadow); transition: background .4s, color .4s;
}
.step.lit .step-num { background: var(--ink); color: #fff; }
.step-card { border-radius: var(--r-lg); padding: 30px; }
.step-head { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 10px; }
.step-head h3 { font-size: clamp(20px, 2.4vw, 28px); font-style: italic; font-weight: 800; letter-spacing: -.02em; }
.del { font-size: 12.5px; font-weight: 600; color: var(--blue); background: rgba(67,97,238,.1); padding: 6px 12px; border-radius: 999px; }
.step-card > p { max-width: 720px; }
.script-snippet { margin-top: 18px; padding: 16px 18px; border-radius: var(--r-sm); background: rgba(255,255,255,.55); font-size: 13px; display: grid; gap: 6px; color: var(--ink-2); }
.script-snippet .sl { font-weight: 500; color: var(--ink); }
.swatches { display: flex; gap: 10px; margin-top: 18px; }
.swatches i { width: 46px; height: 46px; border-radius: 14px; background: var(--c); border: 2px solid rgba(255,255,255,.85); box-shadow: 0 6px 14px -8px rgba(0,0,0,.3); transition: transform .4s var(--ease); }
.swatches i:hover { transform: translateY(-6px) rotate(-6deg); }
.boards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 18px; }
.board { aspect-ratio: 16/10; border-radius: 10px; border: 1.5px dashed rgba(74,66,80,.35); background: rgba(255,255,255,.4); padding: 8px; display: flex; flex-direction: column; justify-content: space-between; font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); }
.board em { font-style: normal; color: var(--ink); font-weight: 500; }
.takes { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; font-size: 12px; }
.takes span { padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.45); color: var(--ink-3); text-decoration: line-through; }
.takes .ok { background: var(--ink); color: #fff; text-decoration: none; }
.wave { display: flex; align-items: center; gap: 4px; height: 48px; margin-top: 18px; }
.wave i { flex: 1; max-width: 8px; border-radius: 4px; background: linear-gradient(var(--blue), var(--lilac)); height: 30%; animation: wave 1.2s ease-in-out infinite; }
.wave i:nth-child(3n) { animation-delay: -.3s; } .wave i:nth-child(3n+1) { animation-delay: -.7s; } .wave i:nth-child(4n) { animation-delay: -.5s; animation-duration: 1.5s; }
@keyframes wave { 50% { height: 100%; } }
.formats { display: flex; align-items: flex-end; gap: 12px; margin-top: 18px; }
.fmt { display: grid; place-items: center; border-radius: 8px; font-family: var(--mono); font-size: 11px; background: rgba(255,255,255,.55); border: 1.5px solid rgba(30,26,36,.2); }
.f169 { width: 96px; height: 54px; } .f916 { width: 36px; height: 64px; } .f11 { width: 54px; height: 54px; } .f45 { width: 48px; height: 60px; }

/* ---------- Motion design ---------- */
.motion-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 28px; align-items: start; }
.app-demo { position: relative; border-radius: var(--r-lg); overflow: hidden; padding: 0; position: sticky; top: 100px; }
.app-bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,.6); }
.app-bar i { width: 11px; height: 11px; border-radius: 50%; background: #F38B7E; } .app-bar i:nth-child(2) { background: #F6CF6B; } .app-bar i:nth-child(3) { background: #8BD48F; }
.app-url { margin-left: 14px; font-size: 11.5px; color: var(--ink-3); padding: 5px 14px; border-radius: 999px; background: rgba(255,255,255,.45); }
.app-body { display: grid; grid-template-columns: 64px 1fr; min-height: 380px; }
.app-side { display: flex; flex-direction: column; gap: 12px; align-items: center; padding: 18px 0; border-right: 1px solid rgba(255,255,255,.55); }
.side-logo { width: 30px; height: 30px; border-radius: 10px; background: linear-gradient(135deg, var(--coral), var(--lilac), var(--blue)); margin-bottom: 10px; }
.side-item { width: 26px; height: 8px; border-radius: 4px; background: rgba(30,26,36,.18); }
.side-item.on { background: var(--blue); }
.app-main { padding: 18px; display: grid; gap: 14px; }
.app-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: center; }
.kpi { padding: 14px 16px; display: grid; gap: 2px; }
.k-lbl { font-size: 12px; color: var(--ink-3); font-weight: 500; }
.k-val { font-size: clamp(20px, 2.4vw, 28px); font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.k-trend { font-size: 12px; color: #2F9E5B; font-weight: 600; }
.chart { height: 150px; display: flex; align-items: flex-end; gap: 8%; padding: 16px 18px; }
.chart .bar { flex: 1; height: var(--h); border-radius: 6px 6px 3px 3px; background: linear-gradient(var(--lilac), var(--blush)); transform-origin: bottom; transform: scaleY(0); }
.chart .bar.hi { background: linear-gradient(var(--blue-2), var(--blue)); }
.toggle-card { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; font-size: 14px; font-weight: 600; }
.tgl { width: 42px; height: 24px; border-radius: 999px; background: rgba(30,26,36,.18); position: relative; transition: background .3s; }
.tgl i { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.2); transition: transform .4s var(--ease); }
.upgrade { justify-self: stretch; padding: 14px; border-radius: 14px; background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; }
.toast { position: absolute; left: 50%; bottom: 22px; padding: 12px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; white-space: nowrap; transform: translate(-50%, 140%); opacity: 0; background: rgba(255,255,255,.7); }
.t-ok { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #2F9E5B; color: #fff; font-size: 12px; margin-right: 6px; }
.cursor { position: absolute; left: 0; top: 0; opacity: 0; filter: drop-shadow(0 3px 5px rgba(0,0,0,.25)); }

/* demo choreography, triggered when .play is added */
.app-demo.play .bar { animation: barUp 1.1s var(--ease) forwards; }
.app-demo.play .bar:nth-child(2){animation-delay:.06s}.app-demo.play .bar:nth-child(3){animation-delay:.12s}.app-demo.play .bar:nth-child(4){animation-delay:.18s}.app-demo.play .bar:nth-child(5){animation-delay:.24s}.app-demo.play .bar:nth-child(6){animation-delay:.3s}.app-demo.play .bar:nth-child(7){animation-delay:.36s}.app-demo.play .bar:nth-child(8){animation-delay:.42s}.app-demo.play .bar:nth-child(9){animation-delay:.48s}
@keyframes barUp { to { transform: scaleY(1); } }
.app-demo.play .cursor { animation: cur 6s var(--ease) 1.2s forwards; }
@keyframes cur {
  0% { opacity: 0; transform: translate(80%, 120%); }
  8% { opacity: 1; }
  28% { transform: translate(var(--tx1), var(--ty1)); }
  33% { transform: translate(var(--tx1), var(--ty1)) scale(.85); }
  38% { transform: translate(var(--tx1), var(--ty1)); }
  64% { transform: translate(var(--tx2), var(--ty2)); }
  69% { transform: translate(var(--tx2), var(--ty2)) scale(.85); }
  74%, 100% { transform: translate(var(--tx2), var(--ty2)); opacity: 1; }
}
.app-demo.toggled .tgl { background: var(--blue); }
.app-demo.toggled .tgl i { transform: translateX(18px); }
.app-demo.clicked .upgrade { animation: press .5s var(--ease); background: var(--blue); }
@keyframes press { 40% { transform: scale(.94); } }
.app-demo.clicked .toast { animation: toastIn .7s var(--ease) forwards; }
@keyframes toastIn { to { transform: translate(-50%, 0); opacity: 1; } }

.services { display: grid; gap: 14px; }
.svc { display: flex; gap: 18px; align-items: flex-start; border-radius: var(--r-md); padding: 22px 24px; transition: transform .5s var(--ease), background .3s; }
.svc:hover { transform: translateX(6px); background: var(--glass-bg-strong); }
.svc-n { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 14px; }
.svc h3 { font-size: 18px; margin-bottom: 4px; }
.svc p { font-size: 14.5px; }

/* ---------- Work ---------- */
.filters { display: flex; gap: 4px; padding: 5px; border-radius: 999px; }
.filter { padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink-2); transition: all .3s var(--ease); }
.filter.active { background: var(--ink); color: #fff; }
.work-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; grid-auto-flow: dense; }
.card {
  position: relative; border-radius: var(--r-lg); overflow: hidden; cursor: pointer; grid-column: span 2; aspect-ratio: 4 / 5;
  border: 1px solid var(--glass-brd); box-shadow: 0 30px 60px -30px rgba(138,80,90,.5);
  transition: transform .6s var(--ease), opacity .4s, box-shadow .4s;
}
.card.wide { grid-column: span 4; aspect-ratio: auto; }
.card.hide { display: none; }
.card:hover { transform: translateY(-6px); box-shadow: 0 40px 80px -30px rgba(138,80,90,.6); }
.card-media { position: absolute; inset: 0; background: var(--poster); background-size: cover; background-position: center; transition: transform 1.2s var(--ease); }
.card:hover .card-media { transform: scale(1.06); }
.card-media video { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s; }
.card.playing .card-media video { opacity: 1; }
.card-info { position: absolute; left: 14px; right: 14px; bottom: 14px; border-radius: 18px; padding: 14px 18px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.card-info h3 { font-size: 17px; }
.card-info span { font-size: 12.5px; color: var(--ink-2); }
.card-tag { position: absolute; top: 16px; left: 16px; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.card .card-info, .card .card-tag { background: rgba(255,255,255,.74); color: var(--ink); }
.card-go { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; transition: transform .5s var(--ease); }
.card:hover .card-go { transform: rotate(-45deg); }
.card-soon { position: absolute; top: 16px; right: 16px; font-family: var(--mono); font-size: 10.5px; color: rgba(255,255,255,.95); letter-spacing: .1em; }

/* ---------- Approach ---------- */
.approach { padding-top: 40px; }
.approach-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 18px; }
.ap { border-radius: var(--r-lg); padding: 30px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.ap-big { font-size: clamp(40px, 5vw, 64px); font-weight: 800; font-style: italic; letter-spacing: -.04em; line-height: 1; }
.ap-arrow { font-size: 40px; color: var(--blue); }
.ap p { flex-basis: 100%; margin-top: 10px; }

/* ---------- Contact ---------- */
.contact-card { border-radius: 36px; padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; }
.contact-copy h2 { font-size: clamp(36px, 5vw, 66px); }
.contact-copy p { margin: 22px 0 26px; font-size: 17px; }
.mail-link { font-size: clamp(18px, 2vw, 24px); font-weight: 700; font-style: italic; color: var(--blue); border-bottom: 2px solid currentColor; padding-bottom: 2px; word-break: break-all; }
.contact-form { display: grid; gap: 18px; align-content: start; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field legend { font-size: 13px; font-weight: 600; color: var(--ink-2); padding: 0; margin-bottom: 8px; }
.field > span { margin-bottom: 0; }
input, textarea {
  font: inherit; font-size: 16px; color: var(--ink); width: 100%;
  background: rgba(255,255,255,.5); border: 1px solid rgba(255,255,255,.9); border-radius: 16px; padding: 14px 16px;
  box-shadow: 0 1px 2px rgba(138,80,90,.08) inset; transition: border-color .25s, box-shadow .25s, background .25s; resize: vertical;
}
input::placeholder, textarea::placeholder { color: var(--ink-3); }
input:focus, textarea:focus { outline: none; background: rgba(255,255,255,.75); border-color: var(--blue); box-shadow: 0 0 0 4px rgba(67,97,238,.15); }
.pick { display: flex; flex-wrap: wrap; gap: 8px; }
.pick label { cursor: pointer; }
.pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pick span { display: inline-block; padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; background: rgba(255,255,255,.45); border: 1px solid rgba(255,255,255,.85); transition: all .25s var(--ease); }
.pick input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.pick input:focus-visible + span { box-shadow: 0 0 0 3px rgba(67,97,238,.4); }
.contact-form .btn { justify-self: start; }
.form-status { font-size: 14px; min-height: 1.4em; }

/* ---------- Footer ---------- */
.footer { max-width: var(--max); margin: 0 auto; padding: 40px var(--gutter) 50px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.6); }
.foot-logo { height: 22px; width: auto; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-links a { font-weight: 600; font-size: 14px; color: var(--ink-2); }
.foot-links a:hover { color: var(--blue); }
.foot-copy { font-size: 13px; color: var(--ink-3); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(40,22,30,.45); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); opacity: 0; pointer-events: none; transition: opacity .4s var(--ease); }
.modal.open { opacity: 1; pointer-events: auto; }
.modal-inner { position: relative; width: min(1200px, 100%); border-radius: 24px; padding: 10px; transform: scale(.94); transition: transform .5s var(--ease); }
.modal.open .modal-inner { transform: none; }
.modal video { width: 100%; border-radius: 16px; background: #000; max-height: 80vh; }
.modal-close { position: absolute; top: -16px; right: -16px; width: 42px; height: 42px; border-radius: 50%; background: #fff; font-size: 16px; z-index: 2; box-shadow: 0 6px 20px rgba(0,0,0,.25); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px); filter: blur(8px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; filter: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .films-grid, .motion-grid, .contact-card { grid-template-columns: 1fr; }
  .lab, .app-demo { position: relative; top: 0; }
  .lab { order: -1; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .card, .card.wide { grid-column: span 1; aspect-ratio: 4 / 5; }
  .card.wide { grid-column: span 2; aspect-ratio: 16 / 10; }
  .approach-grid { grid-template-columns: 1fr 1fr; }
  .approach-grid .ap:first-child { grid-column: span 2; }
}
@media (max-width: 820px) {
  .nav-links, .nav > .btn { display: none; }
  .menu-toggle { display: block; margin-left: auto; }
  .mobile-menu { display: flex; }
  .section { padding: 90px 16px; }
  .hero { padding: 130px 16px 40px; }
  .hero-reel { margin-top: 50px; border-radius: 20px; }
  .timeline { padding-left: 0; }
  .tl-rail { display: none; }
  .step-num { position: static; width: 46px; height: 46px; font-size: 16px; margin-bottom: 12px; }
  .boards { grid-template-columns: repeat(2, 1fr); }
  .step-card { padding: 22px; }
}
@media (max-width: 560px) {
  .pillars { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .card, .card.wide { grid-column: span 1; aspect-ratio: 4 / 5; }
  .approach-grid { grid-template-columns: 1fr; }
  .approach-grid .ap:first-child { grid-column: span 1; }
  .vf-meta, .vf-tc { display: none; }
  .vf-c { width: 18px; height: 18px; }
  .vf-rec { top: 22px; left: 46px; font-size: 10px; }
  .reel-play { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
  .app-body { grid-template-columns: 44px 1fr; min-height: 320px; }
  .app-main { padding: 12px; gap: 10px; }
  .app-row { gap: 10px; }
  .toast { font-size: 12px; }
  .toggle-card { padding: 10px 12px; font-size: 12.5px; gap: 8px; white-space: nowrap; }
  .tgl { flex: none; }
  .upgrade { font-size: 12.5px; padding: 12px 8px; }
  .filters { width: 100%; overflow-x: auto; }
  .lab { padding: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
  .chart .bar { transform: scaleY(1); }
}
