:root {
  --silver-0: #fbfcfe;
  --silver-1: #f1f3f7;
  --silver-2: #e0e4eb;
  --silver-3: #c8ced9;
  --ink: #10131b;
  --ink-soft: #272b35;
  --muted: #676d7b;
  --line: rgba(22, 27, 41, .12);
  --blue: #3154f4;
  --blue-2: #7690ff;
  --violet: #8e7cf6;
  --cyan: #74d9ff;
  --glass: rgba(255,255,255,.54);
  --glass-strong: rgba(255,255,255,.76);
  --shadow: 0 32px 90px rgba(37, 45, 67, .17), inset 0 1px 0 rgba(255,255,255,.9);
  --shadow-soft: 0 18px 48px rgba(45, 53, 73, .11), inset 0 1px 0 rgba(255,255,255,.86);
  --radius: 30px;
  --shell: min(1380px, calc(100vw - 64px));
  --ease: cubic-bezier(.2,.8,.2,1);
  --spring: cubic-bezier(.16,1,.3,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--silver-1); }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 5%, rgba(255,255,255,.98), transparent 34%),
    radial-gradient(circle at 90% 12%, rgba(117,142,255,.15), transparent 28%),
    linear-gradient(135deg, #f5f6f9 0%, #d9dde6 36%, #f9fafc 70%, #dfe3ea 100%);
  font: 16px/1.5 -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -5;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255,255,255,.7), transparent 22%, transparent 78%, rgba(255,255,255,.5));
}
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
img, video { display: block; max-width: 100%; }
button { border: 0; }
::selection { background: rgba(49,84,244,.18); }
code { padding: 3px 8px; border-radius: 8px; background: rgba(20,25,38,.07); font-size: .84em; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 9999;
  padding: 10px 14px;
  color: #fff;
  background: #111;
  border-radius: 12px;
  transition: .2s;
}
.skip-link:focus { top: 16px; }
.section-shell { width: var(--shell); margin-inline: auto; }
.glass-panel {
  background: linear-gradient(145deg, rgba(255,255,255,.76), rgba(255,255,255,.34));
  border: 1px solid rgba(255,255,255,.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(26px) saturate(155%);
  -webkit-backdrop-filter: blur(26px) saturate(155%);
}
.noise {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: .042;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.48'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
.ambient {
  position: fixed;
  z-index: -4;
  width: 48vw;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .2;
  pointer-events: none;
}
.ambient-a { left: -18vw; top: 30vh; background: #fff; }
.ambient-b { right: -20vw; top: 120vh; background: #7e8fff; opacity: .13; }

/* Preloader */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 30%, #fff, #dfe3eb 56%, #cdd3de);
  transition: opacity .8s var(--ease), visibility .8s;
}
.preloader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-shell { width: min(390px, calc(100vw - 44px)); }
.preloader-box {
  position: relative;
  width: 112px;
  height: 112px;
  margin: 0 auto 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.95);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(255,255,255,.38));
  box-shadow: 0 26px 70px rgba(35,43,64,.18), inset 0 1px 0 #fff;
  animation: preloaderMorph 2.7s infinite var(--ease);
}
.preloader-logo { width: 54px; height: 54px; z-index: 2; animation: logoPulse 1.6s infinite var(--ease); }
.preloader-logo img { width: 100%; height: 100%; object-fit: contain; }
.preloader-rings, .preloader-rings i { position: absolute; inset: 0; }
.preloader-rings i { border: 1px solid rgba(49,84,244,.2); border-radius: inherit; animation: loaderRing 1.9s infinite ease-out; }
.preloader-rings i:nth-child(2) { animation-delay: .45s; }
.preloader-rings i:nth-child(3) { animation-delay: .9s; }
.preloader-copy { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 13px; letter-spacing: .02em; color: var(--muted); }
.preloader-copy strong { font-size: 17px; color: var(--ink); }
.preloader-track { height: 5px; overflow: hidden; border-radius: 999px; background: rgba(16,19,27,.09); }
.preloader-track i { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--violet), var(--cyan)); box-shadow: 0 0 16px rgba(49,84,244,.5); transition: width .12s linear; }
@keyframes preloaderMorph {
  0%,100% { border-radius: 28px; transform: rotate(0deg) scale(1); }
  35% { border-radius: 48px 24px 44px 22px; transform: rotate(6deg) scale(1.04); }
  70% { border-radius: 24px 48px 22px 44px; transform: rotate(-5deg) scale(.98); }
}
@keyframes loaderRing { 0% { transform: scale(.82); opacity: .7; } 100% { transform: scale(1.75); opacity: 0; } }
@keyframes logoPulse { 50% { transform: scale(1.1) rotate(4deg); } }

/* Header */
.scroll-progress { position: fixed; z-index: 980; top: 0; left: 0; right: 0; height: 3px; pointer-events: none; }
.scroll-progress i { display: block; height: 100%; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--blue), var(--violet), var(--cyan)); }
.site-header { position: fixed; z-index: 100; top: 20px; left: 0; right: 0; transition: transform .5s var(--ease); }
.site-header.is-hidden { transform: translateY(-130%); }
.nav-wrap {
  width: min(1180px, calc(100vw - 42px));
  height: 70px;
  margin: 0 auto;
  padding: 8px 10px 8px 16px;
  display: flex;
  align-items: center;
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(42,50,70,.12), inset 0 1px 0 rgba(255,255,255,.95);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 760; letter-spacing: -.045em; white-space: nowrap; }
.brand img { width: 38px; height: 38px; object-fit: contain; }
.desktop-nav { margin: 0 auto; display: flex; align-items: center; gap: 6px; }
.desktop-nav a { position: relative; padding: 10px 14px; border-radius: 14px; color: #505664; font-size: 14px; font-weight: 620; transition: .3s; }
.desktop-nav a:hover, .desktop-nav a.is-active { color: var(--ink); background: rgba(255,255,255,.54); box-shadow: inset 0 1px 0 rgba(255,255,255,.9); }
.menu-button { display: none; width: 48px; height: 48px; padding: 0; background: transparent; cursor: pointer; }
.menu-button span { display: block; width: 22px; height: 2px; margin: 5px auto; border-radius: 2px; background: var(--ink); transition: .3s; }
.menu-button[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu { display: none; width: min(1180px, calc(100vw - 42px)); margin: 8px auto 0; padding: 12px; border-radius: 22px; }
.mobile-menu a { padding: 14px 16px; border-radius: 14px; font-weight: 650; }
.mobile-menu a:hover { background: rgba(255,255,255,.56); }

.apple-button {
  position: relative;
  isolation: isolate;
  min-height: 50px;
  padding: 0 18px 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  overflow: hidden;
  border-radius: 17px;
  cursor: pointer;
  font-weight: 720;
  letter-spacing: -.02em;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-radius .35s var(--ease);
}
.apple-button::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(105deg, transparent 22%, rgba(255,255,255,.34), transparent 70%); transform: translateX(-120%); transition: transform .65s var(--ease); }
.apple-button:hover::before { transform: translateX(120%); }
.apple-button:hover { border-radius: 24px 14px 24px 14px; }
.apple-button i { font-style: normal; }
.apple-button--dark { color: #fff; background: linear-gradient(135deg, #1b1f2b, #05070b); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 10px 28px rgba(8,10,16,.18); }
.apple-button--primary { color: #fff; background: linear-gradient(135deg, #2448e9, #6a78ff 58%, #8c75ee); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 18px 40px rgba(50,75,225,.25); }
.apple-button--glass { border: 1px solid rgba(255,255,255,.85); background: rgba(255,255,255,.42); box-shadow: var(--shadow-soft); backdrop-filter: blur(18px); }
.apple-button--large { min-height: 62px; padding-inline: 27px 22px; border-radius: 21px; font-size: 17px; }

/* General typography */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: #555d70; font-size: 12px; font-weight: 760; letter-spacing: .11em; text-transform: uppercase; }
.eyebrow > span { width: 26px; height: 1px; background: currentColor; }
.section-label { color: #616878; font-size: 12px; font-weight: 760; letter-spacing: .12em; text-transform: uppercase; }
.section-head { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(300px,.65fr); gap: 80px; align-items: end; margin: 28px 0 56px; }
.section-head > p { margin: 0; max-width: 560px; justify-self: end; color: var(--muted); font-size: 18px; }
.display-title { margin: 0; max-width: 990px; font-size: clamp(48px, 6.2vw, 92px); line-height: .96; letter-spacing: -.072em; font-weight: 760; }
.display-title em, h2 em { color: transparent; background: linear-gradient(110deg, #1a35c9, #6f77ff 52%, #9a75dc); -webkit-background-clip: text; background-clip: text; font-style: normal; }
.split-word { display: inline-block; will-change: transform, filter, opacity; }
.reveal { will-change: transform, opacity, filter; }

/* Hero */
.hero { position: relative; min-height: 100svh; padding: 148px 0 88px; display: grid; grid-template-columns: minmax(0,.92fr) minmax(560px,1.08fr); align-items: center; gap: 44px; }
.hero-copy { position: relative; z-index: 5; padding-left: clamp(0px, 3vw, 38px); }
.hero-title { margin: 26px 0 26px; max-width: 760px; font-size: clamp(64px, 7.7vw, 126px); line-height: .86; letter-spacing: -.086em; font-weight: 780; }
.hero-title em { display: block; margin-top: .06em; color: transparent; background: linear-gradient(110deg, #1839d1, #6c79ff 45%, #9c78e5 74%, #3a4257); -webkit-background-clip: text; background-clip: text; font-style: normal; }
.hero-lede { max-width: 700px; margin: 0; color: #5f6573; font-size: clamp(18px, 1.6vw, 22px); letter-spacing: -.025em; }
.hero-switcher { width: fit-content; margin: 23px 0 0; padding: 8px 9px 8px 14px; display: flex; align-items: center; gap: 12px; border: 1px solid rgba(255,255,255,.76); border-radius: 14px; background: rgba(255,255,255,.42); box-shadow: inset 0 1px 0 rgba(255,255,255,.9); color: #747a88; font-size: 13px; }
.hero-switcher strong { min-width: 145px; padding: 7px 10px; border-radius: 10px; color: var(--ink); background: rgba(255,255,255,.7); transition: opacity .28s, transform .28s, filter .28s; }
.hero-switcher strong.is-changing { opacity: 0; transform: translateY(7px); filter: blur(5px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-proof { display: flex; align-items: center; gap: 16px; margin-top: 34px; }
.hero-proof p { margin: 0; color: #717785; font-size: 13px; line-height: 1.42; }
.hero-proof strong { color: var(--ink); }
.avatar-stack { display: flex; padding-left: 10px; }
.avatar-stack img { width: 44px; height: 44px; margin-left: -10px; object-fit: contain; border: 2px solid rgba(255,255,255,.92); border-radius: 50%; background: linear-gradient(145deg,#fff,#dfe4ed); box-shadow: 0 8px 18px rgba(28,34,52,.12); }

.hero-stage { position: relative; min-height: 720px; perspective: 1500px; transform-style: preserve-3d; }
.stage-glow { position: absolute; left: 10%; top: 18%; width: 78%; height: 62%; border-radius: 50%; background: radial-gradient(circle, rgba(112,130,255,.34), rgba(255,255,255,.18) 48%, transparent 70%); filter: blur(42px); }
.stage-orbit { position: absolute; left: 50%; top: 48%; border: 1px solid rgba(77,93,152,.14); border-radius: 50%; transform: translate(-50%,-50%) rotateX(68deg); }
.orbit-one { width: 690px; height: 690px; animation: orbitRotate 18s linear infinite; }
.orbit-two { width: 530px; height: 530px; animation: orbitRotate 13s linear infinite reverse; }
.orbit-three { width: 410px; height: 410px; border-style: dashed; animation: orbitRotate 10s linear infinite; }
@keyframes orbitRotate { to { transform: translate(-50%,-50%) rotateX(68deg) rotateZ(360deg); } }

.motion-lab {
  position: absolute;
  z-index: 5;
  left: 3%;
  top: 13%;
  width: min(760px, 96%);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.88);
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(250,251,254,.9), rgba(218,224,235,.8));
  box-shadow: 0 55px 120px rgba(38,46,69,.23), inset 0 1px 0 #fff;
  transform: rotateY(-10deg) rotateX(6deg) rotateZ(1deg);
  transform-style: preserve-3d;
  transition: transform .45s var(--ease);
  animation: deviceFloat 6s ease-in-out infinite;
}
@keyframes deviceFloat { 50% { translate: 0 -10px; } }
.lab-topbar { height: 52px; padding: 0 17px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid rgba(26,31,45,.09); background: rgba(255,255,255,.52); }
.traffic { display: flex; gap: 5px; }
.traffic i { width: 9px; height: 9px; border-radius: 50%; background: #c1c6d0; }
.traffic i:nth-child(1) { background: #ff7569; }.traffic i:nth-child(2) { background: #ffc95e; }.traffic i:nth-child(3) { background: #5fd68c; }
.lab-title { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 720; }
.lab-title img { width: 23px; height: 23px; }
.render-pill { justify-self: end; display: flex; align-items: center; gap: 7px; padding: 6px 9px; border-radius: 999px; color: #3a4357; background: rgba(255,255,255,.68); font-size: 10px; font-weight: 740; }
.render-pill i { width: 7px; height: 7px; border-radius: 50%; background: #39cf78; box-shadow: 0 0 0 4px rgba(57,207,120,.13); animation: livePulse 1.4s infinite; }
@keyframes livePulse { 50% { opacity: .45; transform: scale(.82); } }
.lab-body { min-height: 365px; display: grid; grid-template-columns: 142px 1fr; }
.lab-sidebar { padding: 20px 12px; border-right: 1px solid rgba(26,31,45,.08); background: rgba(255,255,255,.3); }
.lab-sidebar > span { display: block; margin: 0 9px 10px; color: #9096a4; font-size: 9px; font-weight: 780; letter-spacing: .12em; text-transform: uppercase; }
.lab-sidebar button { width: 100%; padding: 10px 9px; display: flex; align-items: center; gap: 8px; border-radius: 10px; background: transparent; color: #777e8c; font-size: 11px; text-align: left; }
.lab-sidebar button.is-active { color: #1b2130; background: rgba(255,255,255,.7); box-shadow: inset 0 1px 0 #fff, 0 8px 18px rgba(45,52,70,.07); }
.lab-sidebar button i { width: 18px; font-style: normal; color: var(--blue); }
.health-card { margin-top: 45px; padding: 12px; border-radius: 14px; background: linear-gradient(145deg, rgba(255,255,255,.8), rgba(234,237,244,.56)); box-shadow: inset 0 1px 0 #fff; }
.health-card small { display: block; color: #8b92a1; font-size: 8px; text-transform: uppercase; }
.health-card strong { display: block; margin: 4px 0 8px; font-size: 19px; }
.health-card > span { display: block; height: 4px; border-radius: 999px; background: rgba(26,31,45,.08); }
.health-card > span i { display: block; width: 98%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.lab-canvas { position: relative; overflow: hidden; background: radial-gradient(circle at 64% 43%, rgba(121,139,255,.27), transparent 30%), linear-gradient(140deg,#161b2a,#0b0e16); }
.canvas-grid { position: absolute; inset: 0; opacity: .15; background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px); background-size: 34px 34px; mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent); }
.kinetic-copy { position: absolute; left: 31px; top: 38px; z-index: 3; }
.kinetic-copy small { color: #7888ff; font-size: 8px; font-weight: 760; letter-spacing: .16em; }
.kinetic-copy strong { display: block; margin-top: 8px; color: #fff; font-size: clamp(28px, 3.5vw, 54px); line-height: .77; letter-spacing: -.075em; }
.kinetic-copy strong span { display: block; animation: kineticWords 4.8s infinite var(--ease); transform-origin: left; }
.kinetic-copy strong span:nth-child(2) { margin-left: 22px; color: #7f91ff; animation-delay: -.2s; }
.kinetic-copy strong span:nth-child(3) { margin-left: 44px; animation-delay: -.4s; }
@keyframes kineticWords { 0%,100% { transform: translateX(0) skewX(0); } 50% { transform: translateX(10px) skewX(-4deg); } }
.motion-core { position: absolute; right: 15%; top: 50%; width: 190px; height: 190px; transform: translateY(-44%); transform-style: preserve-3d; }
.core-ring { position: absolute; inset: 0; border: 1px solid rgba(129,145,255,.35); border-radius: 50%; }
.ring-a { animation: coreSpinA 8s linear infinite; }.ring-b { inset: 16px; animation: coreSpinB 6s linear infinite; }.ring-c { inset: 34px; border-style: dashed; animation: coreSpinA 5s linear infinite reverse; }
@keyframes coreSpinA { to { transform: rotateX(68deg) rotateZ(360deg); } }
@keyframes coreSpinB { to { transform: rotateY(70deg) rotateZ(-360deg); } }
.core-box { position: absolute; left: 50%; top: 50%; width: 70px; height: 70px; display: grid; place-items: center; border-radius: 20px; background: linear-gradient(145deg,#fff,#bfc8ef); box-shadow: 0 16px 38px rgba(37,57,162,.36), inset 0 1px 0 #fff; transform: translate(-50%,-50%) rotate(8deg); animation: coreBox 4s ease-in-out infinite; }
.core-box img { width: 44px; }
@keyframes coreBox { 50% { transform: translate(-50%,-56%) rotate(-7deg) scale(1.07); border-radius: 30px 17px 28px 18px; } }
.ui-chip { position: absolute; z-index: 4; padding: 7px 10px; border: 1px solid rgba(255,255,255,.14); border-radius: 9px; color: rgba(255,255,255,.78); background: rgba(255,255,255,.07); backdrop-filter: blur(12px); font-size: 8px; }
.chip-one { left: 38px; bottom: 28px; }.chip-two { right: 27px; top: 29px; }.chip-three { right: 33px; bottom: 27px; }
.gesture-tip { position: absolute; left: 50%; bottom: 29px; display: flex; align-items: center; gap: 7px; color: rgba(255,255,255,.55); font-size: 8px; transform: translateX(-50%); }
.gesture-tip i { width: 13px; height: 13px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; animation: gesturePulse 1.6s infinite; }
@keyframes gesturePulse { 50% { transform: scale(1.45); opacity: .35; } }
.lab-timeline { position: relative; height: 126px; padding: 11px 16px 12px; border-top: 1px solid rgba(26,31,45,.08); background: rgba(247,248,251,.78); }
.timeline-head { display: flex; justify-content: space-between; color: #7f8694; font: 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.timeline-head div { display: flex; gap: 4px; }.timeline-head i { width: 5px; height: 5px; border-radius: 50%; background: #afb4bf; }
.timeline-row { position: relative; height: 27px; margin-top: 5px; padding-left: 54px; border-radius: 7px; background: rgba(28,34,49,.035); }
.timeline-row b { position: absolute; left: 8px; top: 7px; color: #737a88; font-size: 8px; }
.clip { position: absolute; top: 5px; height: 17px; border-radius: 5px; }
.clip-a { left: 58px; width: 52%; background: linear-gradient(90deg,rgba(59,82,222,.72),rgba(122,128,255,.52)); }
.clip-b { left: 132px; width: 40%; background: linear-gradient(90deg,rgba(138,104,221,.66),rgba(111,207,238,.45)); }
.clip-c { left: 75px; width: 66%; background: repeating-linear-gradient(90deg,rgba(59,82,222,.35) 0 3px,rgba(59,82,222,.08) 3px 6px); }
.key { position: absolute; top: 10px; width: 7px; height: 7px; background: #fff; border: 2px solid #5169ef; transform: rotate(45deg); }
.key-a { left: 39%; }.key-b { left: 57%; }.key-c { left: 68%; }
.playhead { position: absolute; left: 48%; top: 25px; bottom: 8px; width: 1px; background: #f05068; animation: playhead 4s linear infinite; }
.playhead i { position: absolute; left: -4px; top: -6px; width: 9px; height: 7px; border-radius: 3px 3px 6px 6px; background: #f05068; }
@keyframes playhead { 0% { transform: translateX(-140px); } 100% { transform: translateX(180px); } }
.floating-stat { position: absolute; z-index: 9; padding: 16px 18px; border-radius: 20px; box-shadow: var(--shadow-soft); animation: statFloat 5s ease-in-out infinite; }
.floating-stat small { color: #7b8290; font-size: 8px; font-weight: 780; letter-spacing: .12em; }
.floating-stat strong { display: block; font-size: 26px; letter-spacing: -.04em; }
.floating-stat span { color: #737a88; font-size: 10px; }
.floating-stat-a { right: -1%; top: 20%; }
.floating-stat-b { left: 0; bottom: 10%; display: flex; align-items: center; gap: 12px; animation-delay: -2.1s; }
.floating-stat-b strong { font-size: 13px; }.floating-stat-b small { display: block; margin-top: 2px; letter-spacing: 0; text-transform: none; }
.status-icon { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 10px; color: #fff!important; background: linear-gradient(145deg,#3154f4,#7b78f7); font-weight: 800; }
.floating-memoji { position: absolute; z-index: 8; right: 4%; bottom: 4%; width: 112px; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.85); border-radius: 34px 20px 38px 22px; background: linear-gradient(145deg, rgba(255,255,255,.82), rgba(215,221,235,.56)); box-shadow: var(--shadow-soft); animation: memojiMorph 6s ease-in-out infinite; }
.floating-memoji img { width: 100%; height: 100%; object-fit: contain; }
@keyframes statFloat { 50% { transform: translateY(-12px) rotate(1deg); } }
@keyframes memojiMorph { 50% { transform: translateY(-14px) rotate(-5deg); border-radius: 22px 38px 20px 34px; } }
.scroll-indicator { position: absolute; left: 50%; bottom: 20px; display: flex; align-items: center; gap: 10px; color: #757b88; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; transform: translateX(-50%); }
.scroll-indicator i { width: 1px; height: 36px; background: linear-gradient(to bottom,#737988,transparent); animation: scrollLine 1.8s infinite; }
@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Moving logos */
.logo-strip { overflow: hidden; padding: 24px 0; border-block: 1px solid rgba(27,32,45,.08); background: rgba(255,255,255,.28); backdrop-filter: blur(18px); }
.logo-track { width: max-content; display: flex; align-items: center; gap: 72px; animation: logoMarquee 26s linear infinite; }
.logo-track span { color: #727987; font-size: 14px; font-weight: 780; letter-spacing: .12em; }
@keyframes logoMarquee { to { transform: translateX(-50%); } }

/* Blur transitions */
.blur-divider { position: relative; height: 150px; overflow: hidden; pointer-events: none; }
.blur-divider i { position: absolute; left: 50%; top: 50%; width: 32vw; height: 58px; border-radius: 999px; filter: blur(20px); background: rgba(255,255,255,.68); transform: translate(-50%,-50%) rotate(-5deg); }
.blur-divider i:nth-child(2) { width: 22vw; background: rgba(104,125,255,.18); transform: translate(-90%,-10%) rotate(8deg); }
.blur-divider i:nth-child(3) { width: 26vw; background: rgba(150,125,226,.13); transform: translate(18%,-80%) rotate(-12deg); }
.blur-divider--reverse { transform: scaleX(-1); }

/* Showreel */
.showreel { padding: 100px 0 130px; }
.showreel-card { position: relative; width: 100%; aspect-ratio: 16/7.7; padding: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.86); border-radius: 38px; background: #0c0f18; box-shadow: 0 44px 100px rgba(36,44,66,.24), inset 0 1px 0 rgba(255,255,255,.12); cursor: pointer; }
.showreel-card video { width: 100%; height: 100%; object-fit: cover; opacity: .92; transform: scale(1.03); transition: transform 1s var(--ease), filter 1s var(--ease); }
.showreel-card:hover video { transform: scale(1.08); filter: saturate(1.2) contrast(1.05); }
.showreel-shade { position: absolute; inset: 0; background: linear-gradient(90deg,rgba(8,10,17,.76),transparent 54%,rgba(8,10,17,.15)); }
.showreel-meta { position: absolute; left: clamp(28px,5vw,76px); bottom: clamp(28px,5vw,70px); color: #fff; text-align: left; }
.showreel-meta small { color: rgba(255,255,255,.58); font-size: 10px; font-weight: 760; letter-spacing: .14em; }
.showreel-meta strong { display: block; max-width: 620px; margin-top: 12px; font-size: clamp(34px,4.5vw,68px); line-height: .94; letter-spacing: -.055em; }
.play-disc { position: absolute; right: clamp(28px,5vw,70px); bottom: clamp(28px,5vw,70px); width: 88px; height: 88px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.38); border-radius: 50%; color: #fff; background: rgba(255,255,255,.1); backdrop-filter: blur(14px); box-shadow: inset 0 1px 0 rgba(255,255,255,.32); transition: .45s var(--spring); }
.showreel-card:hover .play-disc { transform: scale(1.12) rotate(8deg); border-radius: 33% 67% 52% 48%; background: rgba(90,111,255,.52); }
.play-disc i { font-style: normal; margin-left: 4px; }

/* Services */
.services { padding: 100px 0 150px; }
.service-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; perspective: 1200px; }
.service-card { position: relative; min-height: 500px; padding: 25px; display: grid; grid-template-rows: auto 1fr auto auto; overflow: hidden; border: 1px solid rgba(255,255,255,.84); border-radius: 32px; background: linear-gradient(145deg, rgba(255,255,255,.72), rgba(232,235,242,.48)); box-shadow: var(--shadow-soft); transition: box-shadow .45s var(--ease), border-radius .5s var(--ease); }
.service-card::after { content: ""; position: absolute; inset: auto auto -80px -80px; width: 210px; height: 210px; border-radius: 50%; background: radial-gradient(circle, rgba(83,107,255,.17), transparent 70%); filter: blur(8px); opacity: 0; transition: opacity .4s; }
.service-card:hover { border-radius: 52px 24px 52px 24px; box-shadow: 0 34px 90px rgba(39,49,79,.19), inset 0 1px 0 #fff; }
.service-card:hover::after { opacity: 1; }
.service-top { display: flex; justify-content: space-between; color: #747b89; font-size: 12px; font-weight: 780; letter-spacing: .08em; }
.service-top i { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 12px; background: rgba(255,255,255,.64); box-shadow: inset 0 1px 0 #fff; font-style: normal; transition: .4s; }
.service-card:hover .service-top i { transform: rotate(45deg); color: #fff; background: var(--blue); border-radius: 50%; }
.service-art { position: relative; width: 220px; height: 170px; align-self: center; justify-self: center; transform-style: preserve-3d; }
.service-art span, .service-art b { position: absolute; display: block; }
.service-art-ui span { width: 145px; height: 90px; left: 38px; top: 36px; border: 1px solid rgba(255,255,255,.88); border-radius: 24px; background: linear-gradient(145deg,#fff,#cbd3e8); box-shadow: 0 22px 45px rgba(41,55,93,.2); }
.service-art-ui span:nth-child(2) { transform: translate3d(-22px,15px,-10px) rotate(-9deg); opacity: .55; }.service-art-ui span:nth-child(3) { transform: translate3d(22px,-15px,10px) rotate(9deg); opacity: .72; }
.service-art-ui b { left: 88px; top: 65px; width: 52px; height: 34px; border-radius: 11px; background: linear-gradient(135deg,var(--blue),var(--violet)); box-shadow: 0 12px 24px rgba(52,73,220,.26); }
.service-art-film span { left: 47px; top: 28px; width: 126px; height: 126px; border: 1px solid rgba(72,83,125,.15); border-radius: 50%; animation: artOrbit 7s linear infinite; }
.service-art-film span:nth-child(2) { transform: rotateX(65deg); animation-duration: 5s; }.service-art-film span:nth-child(3) { transform: rotateY(65deg); animation-duration: 6s; animation-direction: reverse; }
.service-art-film b { left: 82px; top: 62px; width: 58px; height: 58px; border-radius: 19px 28px 18px 27px; background: linear-gradient(145deg,#161b28,#6a78ff); box-shadow: 0 20px 38px rgba(48,62,153,.32); animation: coreBox 4s ease-in-out infinite; }
@keyframes artOrbit { to { rotate: 360deg; } }
.service-art-short span { top: 20px; width: 62px; height: 126px; border: 1px solid rgba(255,255,255,.88); border-radius: 19px; background: linear-gradient(145deg,#232a43,#101522); box-shadow: 0 22px 45px rgba(30,38,68,.22); }
.service-art-short span:nth-child(1) { left: 18px; transform: rotate(-8deg) translateY(13px); }.service-art-short span:nth-child(2) { left: 79px; z-index: 2; }.service-art-short span:nth-child(3) { right: 18px; transform: rotate(8deg) translateY(13px); }
.service-art-short b { left: 95px; top: 65px; z-index: 4; width: 31px; height: 31px; border-radius: 50%; background: linear-gradient(145deg,#6d7cff,#9c78e8); box-shadow: 0 10px 20px rgba(77,94,226,.28); }
.service-art-long span { left: 21px; top: 38px; width: 178px; height: 104px; border: 1px solid rgba(255,255,255,.86); border-radius: 19px; background: linear-gradient(145deg,#20263a,#0c101a); box-shadow: 0 22px 45px rgba(30,38,68,.22); }
.service-art-long span:nth-child(2) { transform: translate(10px,-10px); opacity: .55; }.service-art-long span:nth-child(3) { transform: translate(-10px,10px); opacity: .4; }
.service-art-long b { left: 91px; top: 73px; z-index: 4; width: 38px; height: 38px; clip-path: polygon(20% 0,100% 50%,20% 100%); background: linear-gradient(145deg,#fff,#7d8cff); filter: drop-shadow(0 10px 18px rgba(77,94,226,.3)); }
.service-card small { color: #747b8b; font-size: 10px; font-weight: 780; letter-spacing: .14em; }
.service-card h3 { margin: 9px 0 12px; font-size: clamp(31px,3vw,48px); line-height: .98; letter-spacing: -.055em; }
.service-card p { max-width: 570px; margin: 0; color: var(--muted); font-size: 16px; }
.service-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 24px; }
.service-tags span { padding: 8px 10px; border: 1px solid rgba(255,255,255,.82); border-radius: 999px; color: #5f6675; background: rgba(255,255,255,.42); font-size: 10px; }

/* Formats */
.formats { padding: 100px 0 150px; }
.format-stage { display: grid; gap: 24px; }
.format-card { position: relative; min-height: 620px; padding: 54px; display: grid; grid-template-columns: minmax(0,.8fr) minmax(420px,1.2fr); align-items: center; overflow: hidden; border: 1px solid rgba(255,255,255,.84); border-radius: 38px; background: linear-gradient(145deg, rgba(255,255,255,.72), rgba(221,225,235,.5)); box-shadow: var(--shadow); }
.format-card::before { content: ""; position: absolute; width: 460px; height: 460px; right: -8%; top: 50%; border-radius: 50%; background: radial-gradient(circle,rgba(104,124,255,.23),transparent 66%); filter: blur(12px); transform: translateY(-50%); }
.format-card--long { grid-template-columns: minmax(0,.72fr) minmax(500px,1.28fr); }
.format-card--long::before { left: 32%; right: auto; background: radial-gradient(circle,rgba(131,103,221,.17),transparent 66%); }
.format-number { color: #5f687c; font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.format-copy { position: relative; z-index: 4; }
.format-copy h3 { max-width: 590px; margin: 16px 0; font-size: clamp(42px,5vw,72px); line-height: .94; letter-spacing: -.068em; }
.format-copy p { max-width: 560px; margin: 0; color: var(--muted); font-size: 17px; }
.format-specs { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 30px; }
.format-specs span { min-width: 126px; padding: 12px 14px; border: 1px solid rgba(255,255,255,.82); border-radius: 15px; background: rgba(255,255,255,.43); box-shadow: inset 0 1px 0 rgba(255,255,255,.88); }
.format-specs small { display: block; color: #858c9b; font-size: 7px; font-weight: 800; letter-spacing: .13em; }
.format-specs strong { display: block; margin-top: 3px; font-size: 12px; }
.phone-frame { position: relative; z-index: 3; justify-self: center; width: min(286px,70%); aspect-ratio: 9/16; padding: 9px; overflow: hidden; border: 1px solid rgba(255,255,255,.75); border-radius: 48px; background: #090c12; box-shadow: 0 42px 80px rgba(28,35,57,.3), inset 0 0 0 2px #10141d; transform: rotate(7deg); cursor: pointer; transition: .65s var(--spring); }
.phone-frame:hover { transform: rotate(2deg) translateY(-12px) scale(1.03); border-radius: 36px 56px 38px 54px; }
.phone-frame video { width: 100%; height: 100%; border-radius: 39px; object-fit: cover; opacity: .86; }
.phone-frame::after { content: ""; position: absolute; inset: 9px; border-radius: 39px; background: linear-gradient(to top,rgba(6,8,14,.83),transparent 62%); }
.phone-island { position: absolute; z-index: 5; left: 50%; top: 18px; width: 88px; height: 24px; border-radius: 999px; background: #05070b; transform: translateX(-50%); }
.phone-ui { position: absolute; z-index: 6; left: 28px; right: 28px; bottom: 30px; color: #fff; text-align: left; }
.phone-ui small { color: rgba(255,255,255,.58); font-size: 7px; letter-spacing: .13em; }
.phone-ui strong { display: block; margin-top: 8px; font-size: 32px; line-height: .83; letter-spacing: -.065em; }
.phone-ui i { position: absolute; right: 0; bottom: 0; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.18); backdrop-filter: blur(10px); font-style: normal; }
.screen-frame { position: relative; z-index: 3; width: min(770px,100%); aspect-ratio: 16/10; padding: 9px; justify-self: end; overflow: hidden; border: 1px solid rgba(255,255,255,.8); border-radius: 31px; background: #0a0d14; box-shadow: 0 42px 85px rgba(28,35,57,.29); transform: rotate(-3deg); cursor: pointer; transition: .65s var(--spring); }
.screen-frame:hover { transform: rotate(0deg) translateY(-10px) scale(1.02); border-radius: 49px 25px 48px 25px; }
.screen-frame video { width: 100%; height: 100%; border-radius: 22px; object-fit: cover; opacity: .88; }
.screen-frame::after { content: ""; position: absolute; inset: 9px; border-radius: 22px; background: linear-gradient(to top,rgba(6,8,14,.74),transparent 55%); }
.screen-bar { position: absolute; z-index: 6; left: 25px; top: 23px; display: flex; gap: 5px; }
.screen-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.45); }
.screen-ui { position: absolute; z-index: 6; left: 42px; right: 42px; bottom: 38px; color: #fff; text-align: left; }
.screen-ui small { color: rgba(255,255,255,.58); font-size: 8px; letter-spacing: .14em; }
.screen-ui strong { display: block; max-width: 490px; margin-top: 8px; font-size: clamp(31px,4vw,58px); line-height: .91; letter-spacing: -.058em; }
.screen-ui i { position: absolute; right: 0; bottom: 2px; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.18); backdrop-filter: blur(10px); font-style: normal; }
.format-mini-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 18px; }
.mini-spec { padding: 20px 22px; display: grid; grid-template-columns: 1fr auto; align-items: center; border-radius: 20px; box-shadow: var(--shadow-soft); }
.mini-spec span { color: #717887; font-size: 12px; }.mini-spec strong { font-size: 18px; letter-spacing: -.03em; }.mini-spec small { grid-column: 2; color: #8a91a0; font-size: 9px; text-align: right; }

/* Impact metrics */
.impact { padding: 100px 0 150px; }
.impact-grid { margin-top: 34px; display: grid; grid-template-columns: .86fr 1.14fr; gap: 24px; }
.impact-intro { min-height: 570px; padding: 48px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; border: 1px solid rgba(255,255,255,.82); border-radius: 36px; background: radial-gradient(circle at 75% 20%,rgba(103,124,255,.25),transparent 38%), linear-gradient(145deg,#161c2c,#080b12); box-shadow: 0 40px 90px rgba(29,36,58,.25); color: #fff; }
.impact-intro::before { content: ""; position: absolute; width: 260px; height: 260px; right: -40px; top: -40px; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; box-shadow: 0 0 0 42px rgba(255,255,255,.025),0 0 0 84px rgba(255,255,255,.018); }
.impact-intro small { position: relative; z-index: 2; color: #8290ff; font-size: 9px; font-weight: 800; letter-spacing: .15em; }
.impact-intro h2 { position: relative; z-index: 2; margin: 14px 0; font-size: clamp(42px,4.5vw,68px); line-height: .95; letter-spacing: -.065em; }
.impact-intro p { position: relative; z-index: 2; max-width: 520px; margin: 0; color: rgba(255,255,255,.62); }
.percentage-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.percentage-card { min-height: 275px; padding: 28px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 30px; box-shadow: var(--shadow-soft); text-align: center; }
.percentage-ring { position: relative; width: 136px; height: 136px; }
.percentage-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.percentage-ring circle { fill: none; stroke: rgba(28,34,49,.08); stroke-width: 6; }
.percentage-ring .ring-progress { stroke: var(--blue); stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: 327; filter: drop-shadow(0 5px 8px rgba(49,84,244,.22)); }
.percentage-ring strong { position: absolute; inset: 0; display: grid; place-items: center; font-size: 31px; letter-spacing: -.05em; }
.percentage-card > span { max-width: 200px; margin-top: 12px; color: #666e7e; font-size: 13px; }

/* Work */
.work { padding: 100px 0 150px; }
.work-head { margin-bottom: 48px; }
.project-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.project-card { min-width: 0; }
.project-card--wide { grid-column: span 2; }
.project-media { position: relative; width: 100%; aspect-ratio: 16/10; padding: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.75); border-radius: 31px; background: #0b0e16; box-shadow: var(--shadow-soft); cursor: pointer; }
.project-card--wide .project-media { aspect-ratio: 16/7.5; }
.project-media video { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .9s var(--ease); }
.project-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top,rgba(6,8,13,.32),transparent 45%); opacity: 0; transition: .4s; }
.project-media:hover video { transform: scale(1.055); filter: saturate(1.12) contrast(1.04); }
.project-media:hover::after { opacity: 1; }
.project-play { position: absolute; z-index: 3; left: 50%; top: 50%; width: 78px; height: 78px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.38); border-radius: 50%; color: #fff; background: rgba(16,20,31,.28); backdrop-filter: blur(14px); font-size: 10px; font-weight: 820; letter-spacing: .12em; transform: translate(-50%,-50%) scale(.75); opacity: 0; transition: .42s var(--spring); }
.project-media:hover .project-play { transform: translate(-50%,-50%) scale(1); opacity: 1; }
.project-meta { padding: 17px 3px 7px; display: flex; justify-content: space-between; gap: 20px; align-items: end; }
.project-meta small { color: #7b8291; font-size: 9px; font-weight: 780; letter-spacing: .13em; }
.project-meta h3 { margin: 3px 0 0; font-size: 28px; letter-spacing: -.045em; }
.project-meta > span { color: #777e8d; font-size: 12px; }

/* 3D dimension */
.dimension { padding: 100px 0 160px; }
.dimension-wrap { min-height: 760px; padding: 64px; display: grid; grid-template-columns: .86fr 1.14fr; align-items: center; gap: 46px; overflow: hidden; border: 1px solid rgba(255,255,255,.85); border-radius: 42px; background: radial-gradient(circle at 74% 50%,rgba(104,123,255,.21),transparent 38%), linear-gradient(145deg,rgba(255,255,255,.72),rgba(221,226,236,.5)); box-shadow: var(--shadow); }
.dimension-copy { position: relative; z-index: 4; }
.dimension-copy .display-title { margin: 25px 0 25px; font-size: clamp(48px,5.6vw,82px); }
.dimension-copy > p { max-width: 590px; color: var(--muted); font-size: 17px; }
.dimension-steps { margin-top: 44px; display: grid; gap: 10px; }
.dimension-steps article { padding: 15px 0; display: grid; grid-template-columns: 45px 1fr; border-top: 1px solid rgba(26,31,45,.09); }
.dimension-steps article > span { color: var(--blue); font-size: 10px; font-weight: 800; }
.dimension-steps h3 { margin: 0 0 3px; font-size: 17px; }.dimension-steps p { margin: 0; color: #747b8b; font-size: 13px; }
.dimension-scene { position: relative; min-height: 620px; perspective: 1100px; transform-style: preserve-3d; }
.scene-halo { position: absolute; left: 50%; top: 50%; width: 440px; height: 440px; border-radius: 50%; background: radial-gradient(circle,rgba(119,135,255,.32),rgba(255,255,255,.15) 48%,transparent 70%); filter: blur(25px); transform: translate(-50%,-50%); }
.scene-ring { position: absolute; left: 50%; top: 50%; border: 1px solid rgba(61,78,144,.17); border-radius: 50%; transform-style: preserve-3d; }
.scene-ring-a { width: 480px; height: 480px; transform: translate(-50%,-50%) rotateX(70deg); animation: sceneRingA 15s linear infinite; }
.scene-ring-b { width: 350px; height: 350px; border-style: dashed; transform: translate(-50%,-50%) rotateY(68deg); animation: sceneRingB 11s linear infinite; }
@keyframes sceneRingA { to { transform: translate(-50%,-50%) rotateX(70deg) rotateZ(360deg); } }
@keyframes sceneRingB { to { transform: translate(-50%,-50%) rotateY(68deg) rotateZ(-360deg); } }
.scene-cube { position: absolute; z-index: 5; left: 50%; top: 50%; width: 170px; height: 170px; transform-style: preserve-3d; transform: translate(-50%,-50%) rotateX(-18deg) rotateY(28deg); animation: cubeRotate 11s linear infinite; }
.cube-face { position: absolute; inset: 0; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.75); background: linear-gradient(145deg,rgba(255,255,255,.76),rgba(178,190,229,.42)); box-shadow: inset 0 1px 0 rgba(255,255,255,.85); backdrop-filter: blur(18px); color: #283459; font-size: 18px; font-weight: 850; letter-spacing: .08em; }
.cube-face img { width: 90px; }
.cube-front { transform: translateZ(85px); }.cube-back { transform: rotateY(180deg) translateZ(85px); }.cube-right { transform: rotateY(90deg) translateZ(85px); }.cube-left { transform: rotateY(-90deg) translateZ(85px); }.cube-top { transform: rotateX(90deg) translateZ(85px); }.cube-bottom { transform: rotateX(-90deg) translateZ(85px); }
@keyframes cubeRotate { to { transform: translate(-50%,-50%) rotateX(342deg) rotateY(388deg); } }
.scene-card { position: absolute; z-index: 7; padding: 18px; border-radius: 20px; box-shadow: var(--shadow-soft); animation: statFloat 5s ease-in-out infinite; }
.scene-card small { color: #7d8494; font-size: 8px; letter-spacing: .13em; }.scene-card strong { display: block; margin-top: 8px; font-size: 19px; line-height: 1.05; letter-spacing: -.04em; }
.scene-card-a { left: 3%; top: 17%; transform: rotate(-6deg); }.scene-card-b { right: 3%; bottom: 18%; text-align: center; animation-delay: -2.2s; }.scene-card-b span { display: block; font-size: 42px; font-weight: 780; letter-spacing: -.06em; }
.scene-avatar { position: absolute; z-index: 8; right: 4%; top: 12%; width: 126px; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.8); border-radius: 34px 20px 38px 22px; background: rgba(255,255,255,.48); box-shadow: var(--shadow-soft); animation: memojiMorph 6.5s ease-in-out infinite; }
.scene-avatar img { width: 100%; height: 100%; object-fit: contain; }

/* Quote and CTA */
.testimonial { padding: 40px 0 130px; }
.quote-card { padding: 46px; display: grid; grid-template-columns: 110px 1fr 160px; gap: 35px; align-items: center; border-radius: 34px; box-shadow: var(--shadow-soft); }
.quote-avatar { width: 98px; height: 98px; border-radius: 30px; background: linear-gradient(145deg,#fff,#dce2ec); box-shadow: inset 0 1px 0 #fff; overflow: hidden; }
.quote-avatar img { width: 100%; height: 100%; object-fit: contain; }
.quote-rating { color: #5269ed; letter-spacing: .18em; }
.quote-card blockquote { margin: 12px 0 18px; max-width: 900px; font-size: clamp(27px,3vw,43px); line-height: 1.08; letter-spacing: -.045em; }
.quote-card footer { display: flex; gap: 10px; align-items: center; font-size: 12px; }.quote-card footer span { color: #7b8290; }
.quote-score { padding-left: 24px; border-left: 1px solid rgba(25,30,43,.09); }.quote-score strong { display: block; font-size: 47px; letter-spacing: -.07em; }.quote-score span { color: #747b89; font-size: 11px; }
.final-cta { padding: 45px 0 100px; }
.cta-card { position: relative; min-height: 650px; padding: clamp(38px,6vw,90px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; overflow: hidden; border: 1px solid rgba(255,255,255,.88); border-radius: 44px; background: radial-gradient(circle at 83% 38%,rgba(115,130,255,.26),transparent 34%), linear-gradient(145deg,rgba(255,255,255,.8),rgba(218,223,234,.58)); box-shadow: var(--shadow); }
.cta-card h2 { position: relative; z-index: 4; max-width: 970px; margin: 24px 0 20px; font-size: clamp(52px,7vw,108px); line-height: .88; letter-spacing: -.078em; }
.cta-card > p { position: relative; z-index: 4; max-width: 620px; margin: 0 0 30px; color: var(--muted); font-size: 17px; }
.cta-card .apple-button { z-index: 4; }
.cta-orbit { position: absolute; right: -10%; top: 10%; width: 590px; height: 590px; border: 1px solid rgba(59,74,127,.11); border-radius: 50%; box-shadow: 0 0 0 70px rgba(76,96,204,.026),0 0 0 140px rgba(76,96,204,.018); animation: orbitRotate 18s linear infinite; }
.cta-mark { position: absolute; right: 3%; top: 50%; width: min(35vw,460px); opacity: .22; transform: translateY(-50%) rotate(-8deg); filter: drop-shadow(0 35px 45px rgba(52,71,160,.2)); }

/* Footer */
.site-footer { padding: 60px 0 30px; }
.footer-top { padding: 36px 0 54px; display: grid; grid-template-columns: auto 1fr auto; gap: 70px; align-items: start; border-top: 1px solid rgba(25,30,43,.1); }
.brand--footer img { width: 45px; height: 45px; }.brand--footer { font-size: 24px; }
.footer-top p { margin: 5px 0 0; color: #747b89; font-size: 14px; }
.footer-links { display: grid; grid-template-columns: repeat(2,auto); gap: 10px 32px; font-size: 13px; font-weight: 650; }
.footer-links a:hover { color: var(--blue); }
.footer-bottom { padding-top: 18px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(25,30,43,.08); color: #7d8492; font-size: 11px; }

/* Modal */
.video-modal { position: fixed; inset: 0; z-index: 1200; display: grid; place-items: center; visibility: hidden; opacity: 0; transition: opacity .4s var(--ease), visibility .4s; }
.video-modal.is-open { visibility: visible; opacity: 1; }
.video-modal-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; background: rgba(8,10,16,.64); backdrop-filter: blur(30px) saturate(120%); cursor: pointer; }
.video-modal-shell { position: relative; z-index: 2; width: min(1120px,calc(100vw - 40px)); overflow: hidden; border: 1px solid rgba(255,255,255,.35); border-radius: 30px; background: #090c13; box-shadow: 0 60px 150px rgba(0,0,0,.55); transform: translateY(40px) scale(.92); filter: blur(12px); transition: transform .55s var(--spring), filter .55s var(--spring); }
.video-modal.is-open .video-modal-shell { transform: translateY(0) scale(1); filter: blur(0); }
.video-modal-top { height: 58px; padding: 0 14px 0 22px; display: flex; align-items: center; justify-content: space-between; color: #fff; background: rgba(255,255,255,.06); }
.video-modal-top strong { font-size: 13px; }.video-modal-top button { width: 38px; height: 38px; border-radius: 12px; color: #fff; background: rgba(255,255,255,.09); font-size: 24px; cursor: pointer; }
.video-modal video { width: 100%; max-height: 78vh; aspect-ratio: 16/9; object-fit: contain; background: #05070b; }

/* Cursor */
.cursor { position: fixed; left: 0; top: 0; z-index: 1100; width: 20px; height: 20px; pointer-events: none; mix-blend-mode: difference; }
.cursor::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #fff; transition: .28s var(--ease); }
.cursor span { position: absolute; inset: 0; display: grid; place-items: center; color: #000; font-size: 0; font-weight: 850; letter-spacing: .12em; }
.cursor.is-label { width: 72px; height: 72px; mix-blend-mode: normal; }
.cursor.is-label::before { background: rgba(255,255,255,.88); box-shadow: 0 10px 30px rgba(0,0,0,.18); backdrop-filter: blur(12px); }
.cursor.is-label span { font-size: 9px; }

/* Contact page */
.contact-main { padding-top: 150px; }
.contact-hero { padding: 36px 0 100px; display: grid; grid-template-columns: minmax(0,.78fr) minmax(560px,1.22fr); gap: 62px; align-items: start; }
.contact-intro { position: sticky; top: 140px; }
.contact-title { margin: 25px 0 24px; font-size: clamp(60px,7vw,104px); line-height: .88; letter-spacing: -.08em; }
.contact-title .title-line { display: block; overflow: hidden; }.contact-title .title-line > span { display: block; }
.contact-title .title-line--gradient > span { color: transparent; background: linear-gradient(110deg,#1d3bd1,#6c79ff 50%,#9676df); -webkit-background-clip: text; background-clip: text; }
.contact-intro > p { max-width: 590px; color: var(--muted); font-size: 18px; }
.contact-pills { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 25px; }.contact-pills span { padding: 8px 11px; border: 1px solid rgba(255,255,255,.82); border-radius: 999px; background: rgba(255,255,255,.45); color: #687080; font-size: 10px; }
.contact-direct { margin-top: 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.contact-direct > * { position: relative; padding: 18px; border: 1px solid rgba(255,255,255,.82); border-radius: 18px; background: rgba(255,255,255,.42); box-shadow: var(--shadow-soft); }
.contact-direct small { display: block; color: #878e9c; font-size: 8px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }.contact-direct strong { display: block; margin-top: 5px; font-size: 13px; }.contact-direct i { position: absolute; right: 15px; top: 15px; font-style: normal; }
.contact-form-card { padding: 30px; border-radius: 32px; box-shadow: var(--shadow); }
.form-top { padding-bottom: 23px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(25,30,43,.08); }.form-top small { display: block; color: #7c8492; font-size: 8px; font-weight: 800; letter-spacing: .14em; }.form-top strong { display: block; margin-top: 5px; font-size: 19px; }.form-top > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: rgba(255,255,255,.55); font-size: 11px; }
.form-grid { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.form-grid label { display: grid; gap: 8px; }.form-grid label > span { color: #656d7c; font-size: 10px; font-weight: 720; }.form-full { grid-column: span 2; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; border: 1px solid rgba(37,43,61,.1); outline: 0; border-radius: 14px; background: rgba(255,255,255,.55); box-shadow: inset 0 1px 0 rgba(255,255,255,.88); transition: .25s; }
.form-grid input, .form-grid select { height: 51px; padding: 0 14px; }.form-grid textarea { padding: 14px; resize: vertical; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { border-color: rgba(49,84,244,.38); background: rgba(255,255,255,.8); box-shadow: 0 0 0 4px rgba(49,84,244,.08), inset 0 1px 0 #fff; }
.form-submit-row { margin-top: 21px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }.form-submit-row p { max-width: 330px; margin: 0; color: #838a98; font-size: 10px; }.form-status { min-height: 24px; padding-top: 10px; color: #4859ba; font-size: 12px; }
.contact-next { padding: 80px 0 120px; }.next-grid { margin-top: 28px; display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }.next-grid article { min-height: 250px; padding: 26px; border-radius: 26px; box-shadow: var(--shadow-soft); }.next-grid article > span { color: var(--blue); font-size: 10px; font-weight: 800; }.next-grid h2 { margin: 45px 0 8px; font-size: 31px; letter-spacing: -.05em; }.next-grid p { margin: 0; color: #737b8a; font-size: 13px; }
.contact-faq { padding: 10px 0 130px; display: grid; grid-template-columns: .62fr 1.38fr; gap: 80px; }.faq-title h2 { margin: 18px 0 0; font-size: 56px; line-height: .95; letter-spacing: -.06em; }.faq-list { display: grid; gap: 10px; }.faq-list details { padding: 0 22px; border-radius: 19px; box-shadow: var(--shadow-soft); }.faq-list summary { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; font-weight: 680; list-style: none; }.faq-list summary::-webkit-details-marker { display: none; }.faq-list summary span { font-size: 20px; transition: .25s; }.faq-list details[open] summary span { transform: rotate(45deg); }.faq-list details p { margin: -3px 0 22px; color: #707887; font-size: 13px; }

/* Morph states applied by JS */
.morph-card { transform-style: preserve-3d; will-change: transform, filter, border-radius; }
html[data-scroll-direction="down"] [data-float] { animation-play-state: running; }
html[data-scroll-direction="up"] [data-float] { animation-duration: 3.8s; }

/* Responsive */
@media (max-width: 1180px) {
  :root { --shell: min(100% - 42px, 1120px); }
  .hero { grid-template-columns: .9fr 1.1fr; gap: 15px; }
  .hero-stage { min-height: 640px; }
  .motion-lab { left: 0; width: 100%; }
  .floating-stat-a { right: -2%; }.floating-memoji { width: 94px; }
  .section-head { gap: 44px; }
  .format-card { padding: 42px; grid-template-columns: .85fr 1.15fr; }
  .dimension-wrap { padding: 48px; }
  .contact-hero { grid-template-columns: .8fr 1.2fr; gap: 38px; }
}

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .nav-wrap > .apple-button { margin-left: auto; }
  .menu-button { display: block; }
  .mobile-menu.is-open { display: grid; }
  .hero { min-height: auto; padding-top: 135px; grid-template-columns: 1fr; gap: 20px; }
  .hero-copy { padding: 0; }
  .hero-title { max-width: 900px; font-size: clamp(68px,12vw,112px); }
  .hero-stage { min-height: 650px; width: min(820px,100%); margin-inline: auto; }
  .motion-lab { left: 5%; width: 90%; top: 8%; transform: rotateY(-5deg) rotateX(4deg) rotateZ(1deg); }
  .floating-stat-a { right: 2%; top: 12%; }.floating-stat-b { left: 1%; bottom: 8%; }
  .scroll-indicator { display: none; }
  .section-head { grid-template-columns: 1fr; gap: 24px; }
  .section-head > p { justify-self: start; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 470px; }
  .format-card, .format-card--long { min-height: auto; grid-template-columns: 1fr; gap: 50px; }
  .phone-frame { width: min(300px,75%); }.screen-frame { justify-self: center; }
  .impact-grid { grid-template-columns: 1fr; }
  .impact-intro { min-height: 510px; }
  .dimension-wrap { grid-template-columns: 1fr; }
  .dimension-scene { min-height: 570px; }
  .quote-card { grid-template-columns: 90px 1fr; }.quote-score { grid-column: 2; padding: 0; border: 0; }
  .contact-hero { grid-template-columns: 1fr; }.contact-intro { position: static; }.contact-form-card { max-width: 820px; }
  .contact-faq { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 720px) {
  :root { --shell: calc(100vw - 28px); --radius: 24px; }
  body { font-size: 15px; }
  .site-header { top: 10px; }
  .nav-wrap { width: calc(100vw - 20px); height: 62px; padding-left: 12px; border-radius: 20px; }
  .nav-wrap > .apple-button { display: none; }
  .brand { font-size: 18px; }.brand img { width: 34px; height: 34px; }
  .mobile-menu { width: calc(100vw - 20px); }
  .hero { padding: 112px 0 50px; }
  .hero-title { margin-top: 20px; font-size: clamp(58px,17vw,86px); line-height: .86; }
  .hero-lede { font-size: 17px; }
  .hero-switcher { max-width: 100%; flex-wrap: wrap; }.hero-switcher strong { min-width: 0; }
  .hero-actions { display: grid; }.hero-actions .apple-button { width: 100%; }
  .hero-proof { align-items: flex-start; }
  .hero-stage { min-height: 510px; margin-top: 6px; perspective: 1000px; }
  .motion-lab { left: 0; top: 8%; width: 100%; border-radius: 26px; transform: rotateY(-3deg) rotateX(4deg) rotateZ(.6deg) scale(.94); transform-origin: center top; animation: mobileDeviceFloat 6s ease-in-out infinite; }
  @keyframes mobileDeviceFloat { 0%,100% { transform: rotateY(-3deg) rotateX(4deg) rotateZ(.6deg) scale(.94) translateY(0); } 50% { transform: rotateY(3deg) rotateX(1deg) rotateZ(-.8deg) scale(.96) translateY(-12px); } }
  .lab-topbar { height: 43px; }.lab-title span { font-size: 10px; }.render-pill { padding: 5px 7px; }
  .lab-body { min-height: 258px; grid-template-columns: 80px 1fr; }
  .lab-sidebar { padding: 14px 7px; }.lab-sidebar > span { margin-inline: 4px; font-size: 7px; }.lab-sidebar button { padding: 8px 4px; font-size: 8px; }.lab-sidebar button i { width: 12px; }.health-card { display: none; }
  .kinetic-copy { left: 18px; top: 25px; }.kinetic-copy strong { font-size: 28px; }.kinetic-copy strong span:nth-child(2) { margin-left: 10px; }.kinetic-copy strong span:nth-child(3) { margin-left: 20px; }
  .motion-core { right: 5%; width: 130px; height: 130px; }.core-box { width: 50px; height: 50px; border-radius: 15px; }.core-box img { width: 31px; }
  .ui-chip { display: none; }.gesture-tip { bottom: 15px; }.lab-timeline { height: 95px; padding-inline: 10px; }.timeline-row { height: 19px; margin-top: 4px; padding-left: 41px; }.timeline-row b { top: 5px; left: 5px; font-size: 6px; }.clip { top: 4px; height: 11px; }.playhead { top: 20px; }
  .floating-stat { padding: 11px 13px; border-radius: 15px; }.floating-stat strong { font-size: 20px; }.floating-stat-a { right: -1%; top: 2%; }.floating-stat-b { left: 0; bottom: 1%; }.floating-memoji { width: 70px; right: 2%; bottom: 5%; border-radius: 22px 14px 24px 15px; }
  .orbit-one { width: 450px; height: 450px; }.orbit-two { width: 350px; height: 350px; }.orbit-three { width: 260px; height: 260px; }
  .logo-strip { padding: 18px 0; }.logo-track { gap: 42px; }.logo-track span { font-size: 11px; }
  .blur-divider { height: 95px; }
  .showreel, .services, .formats, .impact, .work, .dimension { padding: 68px 0 95px; }
  .section-head { margin: 22px 0 36px; }
  .display-title { font-size: clamp(44px,13vw,68px); }
  .section-head > p { font-size: 15px; }
  .showreel-card { aspect-ratio: 9/12; border-radius: 28px; }.showreel-card video { object-fit: cover; }.showreel-shade { background: linear-gradient(to top,rgba(8,10,17,.82),transparent 70%); }.showreel-meta { left: 24px; right: 24px; bottom: 28px; }.showreel-meta strong { font-size: 38px; }.play-disc { right: 22px; top: 22px; bottom: auto; width: 62px; height: 62px; }
  .service-card { min-height: 500px; padding: 22px; border-radius: 26px; }.service-art { transform: scale(.86); }.service-card h3 { font-size: 36px; }
  .format-card { padding: 28px 20px; border-radius: 28px; }.format-copy h3 { font-size: 48px; }.format-copy p { font-size: 15px; }.format-specs { display: grid; grid-template-columns: 1fr 1fr; }.format-specs span:first-child { grid-column: span 2; }.phone-frame { width: min(280px,86%); transform: rotate(3deg); }.screen-frame { transform: rotate(-1deg); }.screen-ui { left: 24px; right: 24px; bottom: 24px; }.screen-ui strong { padding-right: 52px; font-size: 31px; }.screen-ui i { width: 44px; height: 44px; }.format-mini-grid { grid-template-columns: 1fr; }
  .impact-intro { min-height: 480px; padding: 30px; border-radius: 28px; }.impact-intro h2 { font-size: 47px; }.percentage-grid { grid-template-columns: 1fr 1fr; gap: 10px; }.percentage-card { min-height: 220px; padding: 18px; border-radius: 23px; }.percentage-ring { width: 110px; height: 110px; }.percentage-ring strong { font-size: 25px; }
  .project-grid { grid-template-columns: 1fr; }.project-card--wide { grid-column: auto; }.project-card--wide .project-media,.project-media { aspect-ratio: 4/3; border-radius: 24px; }.project-meta { align-items: flex-start; flex-direction: column; gap: 4px; }.project-meta > span { font-size: 10px; }
  .dimension-wrap { min-height: auto; padding: 30px 22px; border-radius: 30px; }.dimension-copy .display-title { font-size: 49px; }.dimension-scene { min-height: 430px; }.scene-cube { width: 120px; height: 120px; }.cube-front { transform: translateZ(60px); }.cube-back { transform: rotateY(180deg) translateZ(60px); }.cube-right { transform: rotateY(90deg) translateZ(60px); }.cube-left { transform: rotateY(-90deg) translateZ(60px); }.cube-top { transform: rotateX(90deg) translateZ(60px); }.cube-bottom { transform: rotateX(-90deg) translateZ(60px); }.scene-ring-a { width: 330px; height: 330px; }.scene-ring-b { width: 245px; height: 245px; }.scene-card-a { left: -2%; top: 10%; }.scene-card-b { right: -2%; bottom: 12%; }.scene-avatar { width: 82px; right: 1%; top: 7%; }
  .testimonial { padding: 20px 0 85px; }.quote-card { padding: 28px 22px; grid-template-columns: 70px 1fr; gap: 20px; border-radius: 26px; }.quote-avatar { width: 68px; height: 68px; border-radius: 20px; }.quote-rating { display: none; }.quote-card blockquote { margin-top: 0; font-size: 24px; }.quote-card footer { align-items: flex-start; flex-direction: column; gap: 2px; }.quote-score { grid-column: span 2; }
  .final-cta { padding: 25px 0 70px; }.cta-card { min-height: 610px; padding: 36px 24px; border-radius: 30px; }.cta-card h2 { font-size: clamp(54px,15vw,78px); }.cta-mark { width: 78vw; right: -20%; top: 35%; opacity: .14; }.cta-orbit { width: 390px; height: 390px; right: -40%; }
  .footer-top { grid-template-columns: 1fr; gap: 22px; }.footer-links { grid-template-columns: repeat(2,1fr); }.footer-bottom { flex-direction: column; gap: 8px; }
  .cursor { display: none; }
  .contact-main { padding-top: 105px; }.contact-hero { padding-bottom: 70px; }.contact-title { font-size: clamp(58px,16vw,80px); }.contact-direct { grid-template-columns: 1fr; }.contact-form-card { padding: 21px; border-radius: 25px; }.form-grid { grid-template-columns: 1fr; }.form-full { grid-column: auto; }.form-submit-row { align-items: stretch; flex-direction: column; }.form-submit-row .apple-button { width: 100%; }.next-grid { grid-template-columns: 1fr; }.contact-next { padding: 55px 0 90px; }.contact-faq { padding-bottom: 90px; }.faq-title h2 { font-size: 46px; }
}

@media (max-width: 420px) {
  .hero-title { font-size: 55px; }
  .hero-stage { min-height: 475px; }
  .floating-stat-a { display: none; }
  .floating-memoji { right: -2%; }
  .percentage-grid { grid-template-columns: 1fr; }
  .percentage-card { min-height: 205px; }
}

@media (pointer: coarse) { .cursor { display: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .motion-lab { transform: none; }
  .cursor { display: none; }
}

/* ========================================================================== */
/* Motionmate responsive refinement V3                                        */
/* ========================================================================== */

/* Safer viewport sizing and shared morph variables */
html, body { width: 100%; max-width: 100%; }
body.nav-open { overflow: hidden; }
.morph-card {
  --pointer-x: 50%;
  --pointer-y: 50%;
  --morph-radius: 30px;
  position: relative;
  transition: border-radius .65s var(--spring), box-shadow .65s var(--spring), background-position .65s var(--spring);
}
.service-card:hover,
.format-card:hover,
.impact-intro:hover,
.percentage-card:hover,
.quote-card:hover,
.cta-card:hover {
  border-radius: 50px 24px 48px 26px !important;
}

/* Fully responsive preloader */
.preloader {
  min-height: 100dvh;
  overflow: hidden;
  padding: max(22px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) max(22px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
  place-items: center;
  isolation: isolate;
}
.preloader::before,
.preloader::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}
.preloader::before {
  width: min(78vw, 720px);
  aspect-ratio: 1;
  border: 1px solid rgba(74, 92, 170, .09);
  box-shadow: 0 0 0 80px rgba(72, 96, 220, .025), 0 0 0 160px rgba(116, 217, 255, .018);
  animation: loaderUniverse 16s linear infinite;
}
.preloader::after {
  width: 42vw;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(83, 109, 255, .17), transparent 68%);
  filter: blur(34px);
  animation: loaderGlow 4s ease-in-out infinite;
}
.preloader-shell {
  position: relative;
  width: min(390px, 100%);
  margin: auto;
  padding: clamp(20px, 5vw, 30px);
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(255,255,255,.55), rgba(255,255,255,.22));
  box-shadow: 0 30px 90px rgba(45, 55, 82, .14), inset 0 1px 0 rgba(255,255,255,.96);
  backdrop-filter: blur(26px) saturate(155%);
  -webkit-backdrop-filter: blur(26px) saturate(155%);
}
.preloader-box { margin-bottom: clamp(26px, 6vh, 42px); }
.preloader-copy {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  margin-bottom: 15px;
}
.preloader-copy span {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: clamp(11px, 3.2vw, 13px);
  line-height: 1.25;
  transition: opacity .22s var(--ease), transform .22s var(--ease), filter .22s var(--ease);
}
.preloader-copy span.is-changing { opacity: 0; transform: translateY(8px); filter: blur(5px); }
.preloader-copy strong {
  min-width: 66px;
  justify-self: end;
  font-size: clamp(23px, 7vw, 30px);
  line-height: .9;
  letter-spacing: -.06em;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.preloader-track { height: 7px; border: 1px solid rgba(255,255,255,.62); background: rgba(28,35,52,.08); }
.preloader-track i { position: relative; overflow: hidden; }
.preloader-track i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.75), transparent); transform: translateX(-100%); animation: loaderShine .95s linear infinite; }
@keyframes loaderUniverse { to { transform: rotate(360deg); } }
@keyframes loaderGlow { 50% { transform: scale(1.18) translate3d(8%, -4%, 0); opacity: .72; } }
@keyframes loaderShine { to { transform: translateX(100%); } }

/* Header: no clipping, no fixed-width overflow, animated mobile drawer */
.site-header {
  padding-inline: max(10px, env(safe-area-inset-left)) max(10px, env(safe-area-inset-right));
}
.nav-wrap {
  width: min(1180px, 100%);
  max-width: 100%;
}
.mobile-menu {
  width: min(1180px, 100%);
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  max-height: 0;
  margin-top: 0;
  padding: 0 12px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-14px) scale(.985);
  transform-origin: top center;
  transition: max-height .55s var(--spring), padding .45s var(--spring), margin .45s var(--spring), opacity .3s ease, visibility .3s, transform .55s var(--spring);
}
.mobile-menu.is-open {
  max-height: 420px;
  margin-top: 8px;
  padding: 12px;
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.mobile-menu a { text-align: center; }
.site-header.menu-open { transform: none !important; }

/* Hero: less compressed typography and a reliably visible accent line */
.hero {
  grid-template-columns: minmax(0, 1.04fr) minmax(480px, .96fr);
  gap: clamp(18px, 2vw, 38px);
}
.hero-copy { min-width: 0; }
.hero-title {
  max-width: 790px;
  margin: 28px 0 28px;
  font-size: clamp(62px, 6.55vw, 108px);
  line-height: .935;
  letter-spacing: -.062em;
  font-weight: 770;
}
.hero-line {
  position: relative;
  display: block;
  width: max-content;
  max-width: 100%;
  padding: 0 .03em .07em 0;
  overflow: visible;
  white-space: nowrap;
}
.hero-line--accent {
  color: transparent;
  background: linear-gradient(105deg, #1f40dd 0%, #6579ff 36%, #9a75e6 68%, #3154f4 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: accentTextFlow 6s ease-in-out infinite alternate;
  filter: drop-shadow(0 14px 24px rgba(68, 82, 202, .11));
}
.hero-line--accent::after {
  content: "";
  position: absolute;
  left: 0;
  right: 3%;
  bottom: -.04em;
  height: .085em;
  border-radius: 999px;
  background: linear-gradient(90deg, #3154f4, #8e7cf6, #74d9ff, transparent);
  transform: scaleX(.18);
  transform-origin: left;
  opacity: .66;
  animation: accentUnderline 4.5s var(--spring) infinite;
}
@keyframes accentTextFlow { to { background-position: 100% 0; } }
@keyframes accentUnderline { 0%, 12% { transform: scaleX(.12); opacity: .2; } 45%, 82% { transform: scaleX(1); opacity: .72; } 100% { transform: scaleX(.55); opacity: .3; } }
.mobile-hero-orb { display: none; }

/* Stronger card morphism and capability popup controls */
.service-card {
  grid-template-rows: auto 1fr auto auto auto;
  min-height: 555px;
  background:
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(98,119,255,.17), transparent 29%),
    linear-gradient(145deg, rgba(255,255,255,.74), rgba(232,235,242,.48));
}
.service-card::after {
  left: calc(var(--pointer-x) - 120px);
  top: calc(var(--pointer-y) - 120px);
  bottom: auto;
  width: 240px;
  height: 240px;
  opacity: .42;
  transition: left .18s linear, top .18s linear, opacity .35s ease;
  pointer-events: none;
}
.service-card:hover .service-art { transform: translateY(-7px) rotateX(7deg) rotateY(-6deg) scale(1.04); }
.service-art { transition: transform .75s var(--spring); }
.service-pop-trigger {
  position: relative;
  z-index: 4;
  width: 100%;
  min-height: 47px;
  margin-top: 18px;
  padding: 0 14px 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255,255,255,.84);
  border-radius: 15px;
  color: #343b4c;
  background: rgba(255,255,255,.44);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.94);
  font-size: 12px;
  font-weight: 740;
  cursor: pointer;
  transition: .42s var(--spring);
}
.service-pop-trigger i { font-style: normal; transition: transform .42s var(--spring); }
.service-pop-trigger:hover { color: #fff; border-radius: 23px 12px 23px 12px; background: linear-gradient(135deg,#2448e9,#7d78f7); box-shadow: 0 14px 28px rgba(55,76,210,.2), inset 0 1px 0 rgba(255,255,255,.35); transform: translateY(-3px); }
.service-pop-trigger:hover i { transform: rotate(45deg); }

/* Advanced metrics */
.percentage-grid { gap: 16px; }
.percentage-card {
  min-height: 360px;
  padding: 23px;
  display: grid;
  grid-template-columns: 118px minmax(0,1fr);
  grid-template-rows: auto 1fr auto auto;
  gap: 18px 19px;
  align-items: center;
  justify-items: stretch;
  overflow: hidden;
  text-align: left;
  background:
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(77,103,255,.18), transparent 28%),
    linear-gradient(145deg, rgba(255,255,255,.78), rgba(239,241,247,.46));
}
.percentage-card::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -80px;
  bottom: -95px;
  border: 1px solid rgba(64,82,156,.1);
  border-radius: 44% 56% 68% 32% / 37% 36% 64% 63%;
  animation: metricBlob 8s ease-in-out infinite;
}
.percentage-card:nth-child(2)::before { animation-delay: -2s; }
.percentage-card:nth-child(3)::before { animation-delay: -4s; }
.percentage-card:nth-child(4)::before { animation-delay: -6s; }
@keyframes metricBlob { 50% { transform: rotate(120deg) scale(1.15); border-radius: 65% 35% 36% 64% / 54% 66% 34% 46%; } }
.metric-top {
  position: relative;
  z-index: 2;
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #727a8b;
  font-size: 8px;
  font-weight: 820;
  letter-spacing: .15em;
}
.metric-top i { width: 8px; height: 8px; border-radius: 50%; background: #4e6aff; box-shadow: 0 0 0 6px rgba(78,106,255,.1); animation: metricLive 1.5s ease-in-out infinite; }
@keyframes metricLive { 50% { transform: scale(.7); opacity: .35; box-shadow: 0 0 0 12px rgba(78,106,255,0); } }
.percentage-ring { width: 112px; height: 112px; margin: 0; }
.percentage-ring svg { overflow: visible; filter: drop-shadow(0 14px 18px rgba(56,78,212,.16)); }
.percentage-ring svg circle:first-child { stroke: rgba(29,37,61,.07); }
.percentage-ring .ring-progress { stroke-width: 7; stroke-linecap: round; filter: drop-shadow(0 0 5px rgba(49,84,244,.38)); }
.ring-orbit {
  position: absolute;
  inset: -7px;
  border: 1px dashed rgba(72,92,181,.14);
  border-radius: 50%;
  animation: metricOrbit 11s linear infinite;
}
.ring-orbit::after { content: ""; position: absolute; left: 50%; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: #6e7eff; box-shadow: 0 0 14px rgba(61,83,237,.7); }
@keyframes metricOrbit { to { transform: rotate(360deg); } }
.percentage-ring strong { font-size: 29px; font-variant-numeric: tabular-nums; }
.metric-copy { position: relative; z-index: 2; min-width: 0; }
.metric-copy > strong { display: block; color: var(--ink); font-size: 19px; line-height: 1.02; letter-spacing: -.045em; }
.metric-copy > span { display: block; max-width: 230px; margin-top: 9px; color: #777f8e; font-size: 11px; line-height: 1.4; }
.metric-bars {
  position: relative;
  z-index: 2;
  grid-column: 1 / -1;
  height: 42px;
  padding: 7px 9px;
  display: flex;
  align-items: end;
  gap: 6px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 13px;
  background: rgba(255,255,255,.34);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}
.metric-bars i {
  width: 100%;
  height: 0;
  max-height: 100%;
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(to top, #3154f4, #8e7cf6 68%, #9ce7ff);
  box-shadow: 0 5px 12px rgba(56,75,205,.15);
  transition: height 1.05s var(--spring);
}
.percentage-card.is-metric-live .metric-bars i { height: var(--bar); }
.metric-track {
  position: relative;
  z-index: 2;
  grid-column: 1 / -1;
  height: 7px;
  border-radius: 999px;
  background: rgba(24,31,50,.07);
}
.metric-track i { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#3154f4,#8e7cf6,#74d9ff); box-shadow: 0 0 14px rgba(49,84,244,.28); transition: width 1.45s var(--spring); }
.percentage-card.is-metric-live .metric-track i { width: calc(var(--metric-value, 0) * 1%); }
.metric-track b { position: absolute; right: 0; top: 12px; color: #8a91a0; font-size: 7px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

/* Short-form portfolio previews */
.work-format-head {
  margin: 32px 0 28px;
  padding-top: 25px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr);
  gap: 44px;
  align-items: end;
  border-top: 1px solid rgba(23,29,43,.09);
}
.work-format-head > div > span { color: #56617a; font-size: 9px; font-weight: 820; letter-spacing: .16em; }
.work-format-head h3 { max-width: 720px; margin: 9px 0 0; font-size: clamp(31px, 4vw, 54px); line-height: .96; letter-spacing: -.058em; }
.work-format-head p { max-width: 520px; margin: 0; color: #747c8c; font-size: 14px; justify-self: end; }
.work-format-head--long { margin-top: 105px; }
.portrait-project-grid {
  width: min(1060px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: clamp(14px, 2vw, 26px);
  align-items: start;
  perspective: 1400px;
}
.portrait-project { min-width: 0; }
.portrait-project--a { transform: rotate(-2.4deg) translateY(22px); }
.portrait-project--b { transform: translateY(-4px); }
.portrait-project--c { transform: rotate(2.4deg) translateY(22px); }
.portrait-project-media {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.76);
  border-radius: 36px;
  background: #090c13;
  box-shadow: 0 34px 80px rgba(31,39,64,.25), inset 0 1px 0 rgba(255,255,255,.18);
  cursor: pointer;
  transition: transform .75s var(--spring), border-radius .75s var(--spring), box-shadow .75s var(--spring);
}
.portrait-project-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,9,15,.84), transparent 62%), linear-gradient(125deg, rgba(49,84,244,.15), transparent 45%); }
.portrait-project-media video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.2); filter: saturate(.82) contrast(1.05); transition: transform 1.2s var(--ease), filter 1.2s var(--ease); }
.portrait-project-media:hover { border-radius: 58px 24px 55px 26px; transform: translateY(-14px) rotateY(-3deg) scale(1.018); box-shadow: 0 50px 110px rgba(31,39,64,.3), inset 0 1px 0 rgba(255,255,255,.26); }
.portrait-project-media:hover video { transform: scale(1.28); filter: saturate(1.12) contrast(1.08); }
.portrait-overlay { position: absolute; z-index: 3; left: 24px; right: 24px; bottom: 31px; color: #fff; text-align: left; }
.portrait-overlay small { color: rgba(255,255,255,.57); font-size: 8px; font-weight: 820; letter-spacing: .15em; }
.portrait-overlay strong { display: block; margin-top: 10px; font-size: clamp(28px, 3.2vw, 42px); line-height: .91; letter-spacing: -.055em; }
.portrait-overlay i { width: 55px; height: 55px; margin-top: 18px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: rgba(255,255,255,.11); backdrop-filter: blur(14px); font-size: 8px; font-style: normal; font-weight: 850; letter-spacing: .13em; transition: .55s var(--spring); }
.portrait-project-media:hover .portrait-overlay i { border-radius: 35% 65% 52% 48%; background: rgba(85,104,255,.58); transform: rotate(9deg) scale(1.1); }
.portrait-spec { position: absolute; z-index: 3; right: 17px; top: 18px; padding: 8px 10px; border: 1px solid rgba(255,255,255,.23); border-radius: 999px; color: rgba(255,255,255,.7); background: rgba(8,11,19,.26); backdrop-filter: blur(12px); font-size: 7px; font-weight: 780; letter-spacing: .06em; }
.portrait-meta { padding: 17px 6px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.portrait-meta strong { font-size: 16px; letter-spacing: -.03em; }
.portrait-meta span { color: #777f8e; font-size: 9px; }

/* Dynamic shared-element video popup */
.video-modal {
  padding: max(14px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s;
}
.video-modal.is-open { opacity: 1; visibility: visible; }
.video-modal-backdrop {
  opacity: 0;
  background: rgba(7,9,15,.68);
  backdrop-filter: blur(0) saturate(115%);
  -webkit-backdrop-filter: blur(0) saturate(115%);
  transition: opacity .45s ease, backdrop-filter .55s var(--ease), -webkit-backdrop-filter .55s var(--ease);
}
.video-modal.is-open .video-modal-backdrop { opacity: 1; backdrop-filter: blur(26px) saturate(130%); -webkit-backdrop-filter: blur(26px) saturate(130%); }
.video-modal-shell {
  width: min(1120px, calc(100vw - 34px));
  max-height: calc(100dvh - 28px);
  overflow: hidden;
  border-radius: 32px;
  transform: none;
  filter: none;
  opacity: 1;
  transition: none;
  will-change: transform, border-radius, filter, opacity;
  isolation: isolate;
}
.video-modal--portrait .video-modal-shell {
  width: min(460px, calc((100dvh - 30px) * .61), calc(100vw - 28px));
  border-radius: 38px;
}
.modal-glow { position: absolute; z-index: -1; width: 280px; height: 280px; border-radius: 50%; filter: blur(50px); pointer-events: none; opacity: .35; }
.modal-glow-a { left: -120px; top: -130px; background: #4f68ff; }
.modal-glow-b { right: -120px; bottom: -150px; background: #8d72e4; }
.video-modal-top { position: relative; z-index: 3; height: 64px; padding: 0 13px 0 22px; }
.video-modal-top > div { min-width: 0; }
.video-modal-top span { display: block; margin-bottom: 2px; color: #7889ff; font-size: 7px; font-weight: 850; letter-spacing: .16em; }
.video-modal-top strong { display: block; max-width: min(70vw, 720px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.video-modal-top button { flex: 0 0 auto; }
.video-modal-frame { position: relative; overflow: hidden; background: #05070b; }
.video-modal video { width: 100%; height: auto; max-height: calc(100dvh - 94px); aspect-ratio: 16 / 9; object-fit: contain; background: #05070b; }
.video-modal--portrait video { height: calc(100dvh - 94px); max-height: 820px; aspect-ratio: 9 / 16; object-fit: cover; }
.modal-scanline { position: absolute; left: 0; right: 0; top: -10%; height: 12%; background: linear-gradient(to bottom, transparent, rgba(132,153,255,.12), transparent); mix-blend-mode: screen; pointer-events: none; animation: modalScan 4.8s linear infinite; }
@keyframes modalScan { to { transform: translateY(950%); } }

/* Dynamic capability popup */
.service-modal { position: fixed; inset: 0; z-index: 1210; display: grid; place-items: center; padding: 18px; visibility: hidden; opacity: 0; transition: opacity .25s ease, visibility .25s; }
.service-modal.is-open { visibility: visible; opacity: 1; }
.service-modal-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; background: rgba(9,11,18,.44); backdrop-filter: blur(24px) saturate(125%); -webkit-backdrop-filter: blur(24px) saturate(125%); cursor: pointer; opacity: 0; transition: opacity .4s ease; }
.service-modal.is-open .service-modal-backdrop { opacity: 1; }
.service-modal-shell { position: relative; z-index: 2; width: min(760px, calc(100vw - 28px)); max-height: calc(100dvh - 28px); overflow: auto; border-radius: 38px; will-change: transform, border-radius, filter, opacity; }
.service-modal-top { min-height: 64px; padding: 12px 14px 12px 24px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(29,35,51,.08); color: #727a89; font-size: 9px; font-weight: 790; letter-spacing: .11em; text-transform: uppercase; }
.service-modal-top button { width: 39px; height: 39px; border-radius: 13px; background: rgba(255,255,255,.54); box-shadow: inset 0 1px 0 rgba(255,255,255,.9); font-size: 23px; cursor: pointer; }
.service-modal-content { position: relative; z-index: 3; padding: clamp(28px, 6vw, 62px); }
.service-modal-kicker { color: #4962e6; font-size: 9px; font-weight: 840; letter-spacing: .16em; }
.service-modal-content h2 { max-width: 650px; margin: 15px 0 18px; font-size: clamp(42px, 7vw, 74px); line-height: .92; letter-spacing: -.066em; }
.service-modal-content > p { max-width: 630px; margin: 0; color: #626b7b; font-size: clamp(15px, 2vw, 18px); }
.service-modal-items { margin: 30px 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.service-modal-items span { min-height: 58px; padding: 14px 16px; display: flex; align-items: center; gap: 10px; border: 1px solid rgba(255,255,255,.78); border-radius: 17px; background: rgba(255,255,255,.4); box-shadow: inset 0 1px 0 rgba(255,255,255,.9); color: #434b5c; font-size: 12px; font-weight: 670; }
.service-modal-items span::before { content: "✦"; color: #526af0; }
.service-modal-orb { position: absolute; right: -130px; top: -150px; width: 390px; height: 390px; border-radius: 43% 57% 63% 37% / 38% 39% 61% 62%; background: radial-gradient(circle at 36% 38%, rgba(126,143,255,.42), rgba(132,112,225,.1) 48%, transparent 70%); filter: blur(8px); animation: serviceOrb 9s ease-in-out infinite; }
@keyframes serviceOrb { 50% { transform: rotate(130deg) scale(1.12); border-radius: 62% 38% 37% 63% / 55% 68% 32% 45%; } }

/* Responsive refinements */
@media (max-width: 1180px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(430px, .9fr); }
  .hero-title { font-size: clamp(60px, 6.8vw, 91px); }
}

@media (max-width: 980px) {
  .nav-wrap > .apple-button { display: none; }
  .menu-button { margin-left: auto; }
  .mobile-menu { grid-template-columns: repeat(5, minmax(0,1fr)); }
  .hero { grid-template-columns: 1fr; padding-top: 132px; }
  .hero-title { max-width: 880px; font-size: clamp(62px, 10.2vw, 94px); }
  .hero-stage { margin-top: -6px; }
  .work-format-head { grid-template-columns: 1fr; gap: 15px; }
  .work-format-head p { justify-self: start; }
  .percentage-card { min-height: 330px; }
}

@media (max-width: 720px) {
  .site-header { top: max(8px, env(safe-area-inset-top)); }
  .nav-wrap { width: 100%; height: 60px; padding: 7px 8px 7px 11px; border-radius: 19px; }
  .brand { min-width: 0; gap: 8px; font-size: 17px; }
  .brand img { flex: 0 0 auto; width: 33px; height: 33px; }
  .menu-button { flex: 0 0 44px; width: 44px; height: 44px; }
  .mobile-menu { grid-template-columns: 1fr 1fr; }
  .mobile-menu a { min-width: 0; padding: 13px 8px; }
  .mobile-menu a:last-child { grid-column: 1 / -1; }

  .hero { position: relative; padding: 104px 0 54px; gap: 8px; overflow: visible; }
  .hero-copy { position: relative; isolation: isolate; }
  .hero-title {
    position: relative;
    z-index: 3;
    max-width: 100%;
    margin: 21px 0 22px;
    font-size: clamp(38px, 12.35vw, 62px);
    line-height: .96;
    letter-spacing: -.052em;
  }
  .hero-line { width: max-content; max-width: 100%; padding-bottom: .09em; }
  .hero-line--accent::after { height: .075em; bottom: 0; }
  .hero-lede { position: relative; z-index: 3; max-width: 94%; font-size: 16px; line-height: 1.48; }
  .hero-switcher, .hero-actions, .hero-proof, .eyebrow { position: relative; z-index: 3; }
  .mobile-hero-orb {
    position: absolute;
    z-index: 1;
    right: -70px;
    top: 82px;
    width: 190px;
    aspect-ratio: 1;
    display: block;
    opacity: .74;
    perspective: 800px;
    transform: rotate(-8deg);
    pointer-events: none;
  }
  .mobile-orbit { position: absolute; inset: 10%; border: 1px solid rgba(72,93,183,.18); border-radius: 50%; }
  .mobile-orbit-a { animation: mobileOrbA 8s linear infinite; }
  .mobile-orbit-b { inset: 22%; transform: rotateX(68deg); animation: mobileOrbB 6s linear infinite reverse; }
  .mobile-orbit-c { inset: 34%; border-style: dashed; animation: mobileOrbA 4.8s linear infinite; }
  .mobile-orb-core { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.86); border-radius: 19px 28px 18px 27px; background: rgba(255,255,255,.66); box-shadow: 0 18px 38px rgba(47,63,137,.2), inset 0 1px 0 #fff; transform: translate(-50%,-50%) rotateY(-18deg) rotateX(12deg); animation: mobileCore 4s ease-in-out infinite; }
  .mobile-orb-core img { width: 37px; }
  .mobile-hero-orb i, .mobile-hero-orb b { position: absolute; padding: 5px 7px; border: 1px solid rgba(255,255,255,.8); border-radius: 8px; background: rgba(255,255,255,.45); backdrop-filter: blur(10px); color: #59637a; font-size: 6px; font-style: normal; font-weight: 830; }
  .mobile-hero-orb i { left: 8px; top: 48%; }
  .mobile-hero-orb b { right: 4px; bottom: 32px; }
  @keyframes mobileOrbA { to { transform: rotate(360deg); } }
  @keyframes mobileOrbB { to { transform: rotateX(68deg) rotateZ(360deg); } }
  @keyframes mobileCore { 50% { transform: translate(-50%,-58%) rotateY(18deg) rotateX(-7deg) scale(1.08); border-radius: 29px 17px 27px 18px; } }

  .hero-stage { width: calc(100% + 8px); min-height: 480px; margin-left: -4px; margin-top: -5px; }
  .motion-lab { top: 5%; transform: rotateY(-2deg) rotateX(3deg) rotateZ(.4deg) scale(.95); }
  .floating-stat-b { max-width: 190px; }

  .service-card { min-height: 535px; }
  .percentage-grid { grid-template-columns: 1fr; gap: 14px; }
  .percentage-card { min-height: 300px; padding: 21px; grid-template-columns: 104px minmax(0,1fr); }
  .percentage-ring { width: 101px; height: 101px; }
  .metric-copy > strong { font-size: 18px; }
  .metric-copy > span { font-size: 10px; }

  .work-format-head { margin-top: 25px; }
  .work-format-head--long { margin-top: 76px; }
  .portrait-project-grid {
    width: calc(100vw - 14px);
    margin-left: calc((var(--shell) - 100vw) / 2 + 7px);
    padding: 10px 16px 25px;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: min(78vw, 285px);
    grid-template-columns: none;
    gap: 15px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .portrait-project-grid::-webkit-scrollbar { display: none; }
  .portrait-project { scroll-snap-align: center; transform: none; }
  .portrait-project-media { border-radius: 31px; }
  .portrait-overlay { left: 21px; right: 21px; bottom: 25px; }
  .portrait-overlay strong { font-size: 33px; }
  .portrait-meta { align-items: flex-start; flex-direction: column; gap: 2px; }

  .video-modal { padding: 8px; }
  .video-modal-shell { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); border-radius: 24px; }
  .video-modal--portrait .video-modal-shell { width: min(calc(100vw - 16px), calc((100dvh - 16px) * .61)); border-radius: 28px; }
  .video-modal-top { height: 57px; padding-left: 17px; }
  .video-modal-top strong { max-width: 68vw; font-size: 11px; }
  .video-modal video { max-height: calc(100dvh - 73px); }
  .video-modal--portrait video { height: calc(100dvh - 73px); }

  .service-modal { padding: 8px; }
  .service-modal-shell { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); border-radius: 28px; }
  .service-modal-content { padding: 28px 21px 24px; }
  .service-modal-content h2 { font-size: clamp(38px, 12vw, 55px); }
  .service-modal-items { grid-template-columns: 1fr; }
}

@media (max-width: 390px) {
  .brand { font-size: 16px; }
  .brand img { width: 31px; height: 31px; }
  .hero-title { font-size: clamp(36px, 11.9vw, 47px); }
  .mobile-hero-orb { right: -78px; width: 175px; opacity: .62; }
  .hero-stage { min-height: 455px; }
  .percentage-card { grid-template-columns: 92px minmax(0,1fr); padding: 18px; gap: 15px; }
  .percentage-ring { width: 90px; height: 90px; }
  .percentage-ring strong { font-size: 25px; }
  .metric-copy > strong { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-line--accent, .hero-line--accent::after, .mobile-hero-orb *, .ring-orbit, .metric-top i, .percentage-card::before, .modal-scanline, .service-modal-orb, .preloader::before, .preloader::after { animation: none !important; }
}
.hero-line--accent .split-word {
  color: transparent;
  background: inherit;
  -webkit-background-clip: text;
  background-clip: text;
}
.percentage-card.is-metric-live .metric-track i { width: var(--metric-width, 0%); }
/* Keep the text-up reveal clean without clipping the new accent underline. */
.hero-line { overflow: hidden; padding-bottom: .12em; }
.hero-line--accent::after { bottom: .015em; }
/* The longer accent phrase is intentionally a touch smaller, keeping the hero airy instead of squeezed. */
.hero-line--accent { font-size: .82em; letter-spacing: -.035em; margin-top: .08em; }
@media (max-width: 720px) { .hero-line--accent { font-size: .88em; margin-top: .07em; } }
.no-gsap .video-modal.is-open .video-modal-shell { animation: fallbackModalIn .62s var(--spring) both; }
.no-gsap .service-modal.is-open .service-modal-shell { animation: fallbackServiceIn .62s var(--spring) both; }
@keyframes fallbackModalIn { from { transform: translateY(42px) scale(.9); filter: blur(14px); opacity: 0; border-radius: 58px 22px 58px 22px; } to { transform: none; filter: blur(0); opacity: 1; } }
@keyframes fallbackServiceIn { from { transform: translateY(45px) scale(.92) rotateX(7deg); filter: blur(14px); opacity: 0; border-radius: 58px 24px 54px 24px; } to { transform: none; filter: blur(0); opacity: 1; } }

/* ===== Motionmate revision v5: premium polish, responsiveness, and stronger previews ===== */
body {
  background: linear-gradient(135deg, #f7f8fc 0%, #eef2ff 22%, #f7f2ff 48%, #e9f6ff 72%, #f8f9fc 100%);
  background-size: 240% 240%;
  animation: bodyGradientShift 20s ease-in-out infinite;
}
body::before {
  background:
    linear-gradient(120deg, rgba(255,255,255,.55), transparent 16%, transparent 82%, rgba(255,255,255,.42)),
    radial-gradient(circle at 10% 20%, rgba(116, 150, 255, .09), transparent 24%),
    radial-gradient(circle at 90% 65%, rgba(182, 124, 255, .10), transparent 28%);
  animation: pageSheenShift 18s ease-in-out infinite alternate;
}
body::after {
  content: "";
  position: fixed;
  inset: auto auto -18vh -12vw;
  width: 40vw;
  height: 40vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(114, 144, 255, .18), rgba(140, 112, 228, .08) 38%, transparent 68%);
  filter: blur(42px);
  pointer-events: none;
  z-index: -1;
  animation: pageBlobDrift 22s ease-in-out infinite;
}
.ambient { animation: ambientFloat 17s ease-in-out infinite alternate; }
.ambient-b { animation-duration: 23s; }
@keyframes bodyGradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes pageSheenShift {
  0% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(-1.5%, 1.2%, 0) scale(1.02); }
  100% { transform: translate3d(2%, -1%, 0) scale(1.04); }
}
@keyframes pageBlobDrift {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(14vw, -16vh, 0) scale(1.18); }
}
@keyframes ambientFloat {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(2vw,-3vh,0) scale(1.08); }
}

.nav-wrap,
.mobile-menu,
.glass-panel {
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
}

/* Faster, safer preloader */
.preloader-shell {
  width: min(390px, calc(100vw - 28px));
  padding: clamp(18px, 3vw, 26px);
  border-radius: 28px;
}
.preloader-box {
  margin-inline: auto;
  width: min(180px, 52vw);
  aspect-ratio: 1;
}
.preloader-copy {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: end;
  gap: 12px;
}
.preloader-copy strong { min-width: 72px; }

/* Hero title: less compressed, with accent only on remember */
.hero-title {
  max-width: 730px;
  margin: 26px 0 18px;
  font-size: clamp(58px, 6.2vw, 103px);
  line-height: .965;
  letter-spacing: -.045em;
  font-weight: 770;
}
.hero-line {
  width: auto;
  max-width: 100%;
  white-space: nowrap;
  overflow: visible;
}
.hero-line--memory {
  margin-top: .09em;
  color: #1b2338;
  font-size: .74em;
  letter-spacing: -.028em;
}
.hero-word-accent {
  position: relative;
  display: inline-block;
  color: transparent;
  background: linear-gradient(105deg, #2448e9 0%, #6e7eff 38%, #9577e0 72%, #6fd8ff 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 10px 20px rgba(60,80,214,.14));
  animation: accentTextFlow 6s ease-in-out infinite alternate;
}
.hero-word-accent::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -.05em;
  height: .08em;
  border-radius: 999px;
  background: linear-gradient(90deg, #3154f4, #8e7cf6, #74d9ff, transparent 95%);
  transform-origin: left;
  animation: accentUnderline 4.5s var(--spring) infinite;
}

/* Fill the blank hero area with premium pop-up cards */
.hero-quick-grid {
  max-width: 830px;
  margin: 10px 0 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
}
.hero-quick-card {
  position: relative;
  min-height: 144px;
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  text-align: left;
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 24px;
  background:
    radial-gradient(circle at var(--pointer-x,50%) var(--pointer-y,50%), rgba(94,120,255,.17), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.68), rgba(241,244,249,.42));
  box-shadow: 0 20px 50px rgba(36,44,72,.09), inset 0 1px 0 rgba(255,255,255,.9);
  cursor: pointer;
  transition: transform .65s var(--spring), border-radius .65s var(--spring), box-shadow .65s var(--spring), background .5s ease;
  overflow: hidden;
}
.hero-quick-card::before {
  content: "";
  position: absolute;
  inset: auto -18% -42% auto;
  width: 120px;
  height: 120px;
  border-radius: 38% 62% 66% 34% / 42% 35% 65% 58%;
  background: radial-gradient(circle, rgba(91,115,255,.22), rgba(122,120,255,.05) 56%, transparent 72%);
  filter: blur(10px);
  animation: heroCardBlob 8.5s ease-in-out infinite;
}
.hero-quick-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-radius: 34px 18px 32px 18px;
  box-shadow: 0 28px 70px rgba(38,49,87,.14), inset 0 1px 0 rgba(255,255,255,.95);
}
.hero-quick-card small {
  color: #64708c;
  font-size: 8px;
  font-weight: 820;
  letter-spacing: .16em;
}
.hero-quick-card strong {
  display: block;
  max-width: 15ch;
  color: var(--ink);
  font-size: 22px;
  line-height: .96;
  letter-spacing: -.052em;
}
.hero-quick-card span {
  display: block;
  max-width: 25ch;
  color: #6f7788;
  font-size: 11px;
  line-height: 1.35;
}
.hero-quick-card i {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.84);
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, rgba(36,72,233,.9), rgba(110,126,255,.86));
  box-shadow: 0 12px 22px rgba(50,72,203,.24);
  font-style: normal;
  font-size: 12px;
}
.hero-quick-card--service i {
  background: linear-gradient(135deg, rgba(28,35,58,.92), rgba(89,102,174,.84));
}
@keyframes heroCardBlob {
  50% { transform: rotate(120deg) scale(1.16); border-radius: 61% 39% 36% 64% / 54% 66% 34% 46%; }
}

/* More obvious preview strip for short-form projects */
.short-preview-rail {
  margin-top: 40px;
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr);
  gap: 28px;
  border: 1px solid rgba(255,255,255,.86);
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(255,255,255,.72), rgba(230,235,244,.44));
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.short-preview-copy span {
  color: #5d6782;
  font-size: 9px;
  font-weight: 820;
  letter-spacing: .16em;
}
.short-preview-copy h3 {
  margin: 12px 0 14px;
  font-size: clamp(30px, 4.2vw, 54px);
  line-height: .95;
  letter-spacing: -.058em;
}
.short-preview-copy p {
  max-width: 46ch;
  margin: 0;
  color: #707989;
}
.short-preview-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
  align-items: start;
}
.short-preview-card {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.76);
  border-radius: 30px;
  background: #090c13;
  box-shadow: 0 24px 60px rgba(31,39,64,.2), inset 0 1px 0 rgba(255,255,255,.16);
  cursor: pointer;
  transition: transform .75s var(--spring), border-radius .75s var(--spring), box-shadow .75s var(--spring);
}
.short-preview-card:nth-child(1) { transform: rotate(-3deg) translateY(14px); }
.short-preview-card:nth-child(2) { transform: translateY(-2px); }
.short-preview-card:nth-child(3) { transform: rotate(3deg) translateY(14px); }
.short-preview-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-radius: 46px 22px 44px 22px;
  box-shadow: 0 34px 90px rgba(31,39,64,.28), inset 0 1px 0 rgba(255,255,255,.22);
}
.short-preview-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  filter: saturate(.9) contrast(1.05);
}
.short-preview-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6,9,15,.88), transparent 66%), linear-gradient(135deg, rgba(49,84,244,.16), transparent 45%);
}
.short-preview-card span {
  position: absolute;
  z-index: 2;
  left: 18px;
  right: 18px;
  bottom: 18px;
  color: #fff;
}
.short-preview-card small {
  color: rgba(255,255,255,.6);
  font-size: 8px;
  font-weight: 810;
  letter-spacing: .16em;
}
.short-preview-card strong {
  display: block;
  margin-top: 8px;
  font-size: 23px;
  line-height: .95;
  letter-spacing: -.045em;
}
.short-preview-card em {
  display: block;
  margin-top: 4px;
  color: rgba(255,255,255,.72);
  font-style: normal;
  font-size: 10px;
}

/* More advanced percentage micro-animation */
.metric-bars i {
  position: relative;
  overflow: hidden;
}
.metric-bars i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.38), transparent 55%);
  transform: translateY(-100%);
  animation: metricBarShimmer 2.6s ease-in-out infinite;
}
.metric-bars i:nth-child(2)::after { animation-delay: .12s; }
.metric-bars i:nth-child(3)::after { animation-delay: .24s; }
.metric-bars i:nth-child(4)::after { animation-delay: .36s; }
.metric-bars i:nth-child(5)::after { animation-delay: .48s; }
.metric-copy > span {
  transition: transform .7s var(--spring), opacity .7s ease;
}
.percentage-card.is-metric-live .metric-copy > span {
  transform: translateY(0);
  opacity: 1;
}
@keyframes metricBarShimmer {
  0%, 100% { transform: translateY(-100%); }
  50% { transform: translateY(0%); }
}

@media (max-width: 1120px) {
  .hero-quick-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hero-quick-card--service { grid-column: 1 / -1; }
  .short-preview-rail { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .hero-title {
    max-width: 100%;
    font-size: clamp(54px, 9.4vw, 88px);
  }
  .hero-quick-grid { max-width: 100%; }
}

@media (max-width: 720px) {
  .nav-wrap {
    width: 100%;
    grid-template-columns: minmax(0,1fr) auto;
    height: 62px;
  }
  .desktop-nav { display: none; }
  .mobile-menu {
    grid-template-columns: 1fr;
    width: 100%;
    gap: 8px;
  }
  .mobile-menu a {
    padding: 13px 12px;
    text-align: left;
  }
  .preloader-shell {
    width: calc(100vw - 22px);
    padding: 18px 16px 16px;
    border-radius: 24px;
  }
  .preloader-box { width: min(160px, 48vw); }
  .hero-title {
    margin-bottom: 16px;
    font-size: clamp(40px, 11vw, 62px);
    line-height: .98;
    letter-spacing: -.038em;
  }
  .hero-line { white-space: normal; }
  .hero-line--memory { font-size: .88em; }
  .hero-word-accent::after { bottom: -.03em; }
  .hero-quick-grid {
    width: calc(100vw - 12px);
    margin-left: calc((var(--shell) - 100vw) / 2 + 6px);
    padding: 0 6px 8px;
    grid-auto-flow: column;
    grid-auto-columns: min(78vw, 260px);
    grid-template-columns: none;
    overflow-x: auto;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
  }
  .hero-quick-grid::-webkit-scrollbar,
  .short-preview-track::-webkit-scrollbar { display: none; }
  .hero-quick-card,
  .hero-quick-card--service { grid-column: auto; min-height: 138px; }
  .hero-quick-card strong { font-size: 20px; }
  .hero-quick-card span { font-size: 10px; }
  .short-preview-rail {
    margin-top: 28px;
    padding: 22px 18px;
    border-radius: 28px;
  }
  .short-preview-copy h3 { font-size: clamp(28px, 9vw, 42px); }
  .short-preview-track {
    padding-bottom: 6px;
    grid-auto-flow: column;
    grid-auto-columns: min(44vw, 180px);
    grid-template-columns: none;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
  }
  .short-preview-card { border-radius: 24px; }
  .short-preview-card:nth-child(1),
  .short-preview-card:nth-child(2),
  .short-preview-card:nth-child(3) { transform: none; }
  .short-preview-card strong { font-size: 19px; }
}

@media (max-width: 390px) {
  .hero-title { font-size: clamp(37px, 10.8vw, 49px); }
  .hero-quick-card { min-height: 132px; }
  .preloader-copy span { font-size: 10.5px; }
  .preloader-copy strong { font-size: 22px; }
}
