/* AZURIFY — studio homepage (Lusion-inspired layout) */
:root {
  --bg: #eef3fb;
  --bg-2: #e2e9f5;
  --ink: #050b18;
  --ink-2: #4a5468;
  --white: #fff;
  --azure: #0a5cff;
  --azure-2: #0046d6;
  --cyan: #12d8e4;
  --navy: #061733;
  --radius: 20px;
  --pad-x: max(5vw, 40px);
  --pad-y: clamp(30px, 4vw, 50px);
  --font: "Inter Tight", "Manrope", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
@media (max-width: 900px) { :root { --radius: 14px; --pad-x: 25px; --pad-y: 25px; } }
@media (max-width: 480px) { :root { --pad-x: 16px; --pad-y: 16px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.45; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; padding: 0; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 500; letter-spacing: -.04em; line-height: .98; }
em { font-style: italic; font-weight: 400; }
.wrap { padding-left: var(--pad-x); padding-right: var(--pad-x); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .02em; text-transform: uppercase; }
.muted { color: var(--ink-2); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--azure); outline-offset: 3px; }

/* ---------- Header ---------- */
.hdr { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: var(--pad-y) var(--pad-x) 0; pointer-events: none; transition: transform .6s var(--ease); }
.hdr > * { pointer-events: auto; }
.hdr.hide { transform: translateY(-140%); }
.hdr.menu-open { transform: none; }
.hdr-logo { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: .08em; font-size: 15px; }
.hdr-logo img { width: 40px; height: auto; }
.hdr-right { display: flex; gap: 8px; }
.btn-talk, .btn-menu { height: 48px; border-radius: 999px; display: inline-flex; align-items: center; gap: 12px; padding: 0 20px; font-weight: 500; font-size: 13px; text-transform: uppercase; letter-spacing: .02em; transition: background .4s var(--ease), color .4s var(--ease); }
.btn-talk { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.btn-talk-arrow { width: 0; opacity: 0; transition: width .4s var(--ease), opacity .4s; overflow: hidden; }
.btn-talk-dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; transition: transform .4s var(--ease); }
.btn-talk:hover { background: var(--azure); }
.btn-talk:hover .btn-talk-arrow { width: 14px; opacity: 1; }
.btn-talk:hover .btn-talk-dot { transform: scale(0); }
.btn-menu { background: var(--white); }
.btn-round { width: 48px; height: 48px; border-radius: 50%; background: var(--white); display: inline-grid; place-items: center; font-size: 18px; transition: background .4s var(--ease), color .4s var(--ease); }
.btn-round[hidden] { display: none; }
.btn-round:hover { background: var(--ink); color: var(--bg); }
.btn-theme span { grid-area: 1/1; transition: transform .6s var(--ease), opacity .4s; }
.btn-theme .ico-sun, .storm-mode .btn-theme .ico-moon { opacity: 0; transform: rotate(-90deg) scale(.5); }
.storm-mode .btn-theme .ico-sun { opacity: 1; transform: none; }
.eq { display: flex; align-items: flex-end; gap: 2px; height: 14px; }
.eq i { width: 2px; height: 3px; background: currentColor; border-radius: 1px; transition: height .3s; }
.btn-sound.on .eq i { animation: eq .9s ease-in-out infinite alternate; }
.btn-sound.on .eq i:nth-child(2) { animation-delay: -.3s; }
.btn-sound.on .eq i:nth-child(3) { animation-delay: -.6s; }
.btn-sound.on .eq i:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { from { height: 3px; } to { height: 14px; } }
.btn-menu-label { display: grid; height: 1.2em; overflow: hidden; line-height: 1.2em; }
.btn-menu-label span { grid-area: 1/1; transition: transform .5s var(--ease); }
.btn-menu-label span + span { transform: translateY(110%); }
.btn-menu-dots { display: grid; gap: 4px; }
.btn-menu-dots i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; transition: transform .5s var(--ease); }
.btn-menu:hover { background: var(--ink); color: #fff; }
.menu-open .btn-menu-label span:first-child { transform: translateY(-110%); }
.menu-open .btn-menu-label span + span { transform: none; }
.menu-open .btn-menu-dots i:first-child { transform: translateY(4.5px); }
.menu-open .btn-menu-dots i:last-child { transform: translateY(-4.5px); }

.menu { position: absolute; top: calc(var(--pad-y) + 56px); right: var(--pad-x); width: min(380px, calc(100vw - 2 * var(--pad-x))); display: grid; gap: 8px; opacity: 0; visibility: hidden; transform: translateY(-10px) scale(.98); transform-origin: top right; transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s .45s; }
.menu-open .menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.menu-links { background: var(--white); border-radius: var(--radius); padding: 10px; display: grid; }
.menu-links a { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-radius: 12px; font-size: 22px; font-weight: 500; letter-spacing: -.02em; overflow: hidden; }
.menu-links a::before { content: ""; position: absolute; inset: 0; background: var(--bg); border-radius: inherit; transform: scaleY(0); transform-origin: bottom; transition: transform .4s var(--ease); }
.menu-links a > * { position: relative; }
.menu-links a b { font-weight: 400; opacity: 0; transform: translateX(-8px); transition: .4s var(--ease); }
.menu-links a:hover::before { transform: none; }
.menu-links a:hover b { opacity: 1; transform: none; }
.menu-card { background: var(--azure); color: #fff; border-radius: var(--radius); padding: 22px; display: grid; gap: 14px; }
.menu-card p { font-size: 18px; letter-spacing: -.02em; line-height: 1.2; }
.menu-mail { font-size: 14px; display: flex; justify-content: space-between; gap: 8px; border-top: 1px solid rgba(255,255,255,.3); padding-top: 14px; word-break: break-all; }

/* ---------- Buttons ---------- */
.btn-pill { display: inline-flex; align-items: center; gap: 14px; height: 52px; padding: 0 8px 0 24px; border-radius: 999px; background: var(--white); font-weight: 500; font-size: 14px; text-transform: uppercase; letter-spacing: .02em; transition: background .4s var(--ease), color .4s var(--ease); }
.btn-pill i { font-style: normal; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; transition: transform .5s var(--ease), background .4s; }
.btn-pill:hover { background: var(--azure); color: #fff; }
.btn-pill:hover i { background: #fff; color: var(--azure); transform: rotate(-45deg); }
.btn-pill.dark { background: var(--ink); color: #fff; }
.btn-pill.dark i { background: #fff; color: var(--ink); }

/* ---------- Text reveal ---------- */
.split .ln { display: inline-block; vertical-align: top; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.split .ln > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.split.in .ln > span { transform: none; }
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .split .ln > span, .no-js .reveal { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: var(--bg); }
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; }
.hero-fallback { position: absolute; inset: 0; display: none; place-items: center; }
.hero-fallback img { width: min(40vw, 360px); filter: drop-shadow(0 40px 60px rgba(10,92,255,.25)); animation: float 6s ease-in-out infinite; }
.no-webgl .hero-fallback { display: grid; }
@keyframes float { 50% { transform: translateY(-18px) rotate(-2deg); } }
.hero-copy { position: absolute; left: var(--pad-x); right: var(--pad-x); bottom: calc(var(--pad-y) + 56px); pointer-events: none; }
.hero-copy h1 { font-size: clamp(30px, 3.4vw, 58px); max-width: 15.5em; line-height: 1.02; }
.hero-foot { position: absolute; left: var(--pad-x); right: var(--pad-x); bottom: var(--pad-y); display: flex; justify-content: space-between; align-items: center; color: var(--ink-2); pointer-events: none; }
.cross { width: 12px; height: 12px; position: relative; display: inline-block; flex: none; }
.cross::before, .cross::after { content: ""; position: absolute; background: currentColor; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.cross::before { width: 100%; height: 1.5px; }
.cross::after { height: 100%; width: 1.5px; }

/* ---------- Intro ---------- */
.intro { padding-top: clamp(100px, 14vw, 220px); padding-bottom: clamp(60px, 8vw, 120px); }
.intro-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 6vw; align-items: end; }
.big { font-size: clamp(44px, 7.2vw, 132px); }
.huge { font-size: clamp(48px, 8.6vw, 160px); }
.intro-side { display: grid; gap: 22px; justify-items: start; font-size: clamp(17px, 1.35vw, 22px); line-height: 1.35; letter-spacing: -.01em; }
.intro-side .btn-pill { margin-top: 10px; }

/* ---------- Reel ---------- */
.reel { height: 220vh; position: relative; }
.reel-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; place-items: center; overflow: hidden; }
/* The reel only zooms a little (62vw → 72vw): it swings in from the side, settles, and tilts with the pointer like glass. */
.reel-sticky { perspective: 1600px; }
.reel-frame { --p: 0; --tx: 0; --ty: 0; --gx: 30%; --gy: 20%; position: relative; width: calc(62vw + 10vw * var(--p)); aspect-ratio: 16 / 9; max-height: calc(66vh + 8vh * var(--p)); border-radius: 28px; overflow: hidden; background: var(--navy); will-change: transform;
  transform: rotateY(calc((1 - var(--p)) * -34deg + var(--tx) * 11deg)) rotateX(calc((1 - var(--p)) * 9deg + var(--ty) * -8deg)) rotateZ(calc((1 - var(--p)) * -3deg)) scale(calc(.9 + .1 * var(--p)));
  box-shadow: 0 40px 90px -30px rgba(5,11,24,.55), 0 0 0 1px rgba(255,255,255,.55) inset, 0 0 0 1px rgba(10,40,100,.12); }
.reel-frame video { width: 100%; height: 100%; object-fit: cover; }
/* glass: a soft reflection that slides with the pointer, and a bright edge along the top */
.reel-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(60% 70% at var(--gx) var(--gy), rgba(255,255,255,.26), rgba(255,255,255,0) 60%), linear-gradient(115deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,0) 34%, rgba(255,255,255,0) 70%, rgba(160,210,255,.12) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), inset 0 0 0 1px rgba(255,255,255,.22); mix-blend-mode: screen; }
.reel-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 2vw; color: #fff; font-size: clamp(32px, 6vw, 110px); font-weight: 500; letter-spacing: -.04em; background: linear-gradient(0deg, rgba(5,11,24,.35), rgba(5,11,24,0)); }
.reel-play-text { display: flex; gap: .3em; }
.reel-play-icon { font-size: .35em; width: 2.2em; height: 2.2em; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--ink); transition: transform .5s var(--ease); }
.reel-play:hover .reel-play-icon { transform: scale(1.15); background: var(--azure); color: #fff; }
.reel-modal { position: fixed; inset: 0; z-index: 90; background: rgba(5,11,24,.96); display: grid; place-items: center; padding: var(--pad-x); }
.reel-modal[hidden] { display: none; }
.reel-modal video { width: min(1400px, 100%); max-height: 86vh; border-radius: var(--radius); }
.reel-close { position: absolute; top: var(--pad-y); right: var(--pad-x); color: #fff; background: rgba(255,255,255,.12); height: 44px; padding: 0 18px; border-radius: 999px; text-transform: uppercase; font-size: 13px; }

/* ---------- Work grid ---------- */
.work { padding-top: clamp(80px, 10vw, 160px); padding-bottom: clamp(80px, 10vw, 160px); }
.work-head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 6vw; align-items: end; margin-bottom: clamp(40px, 6vw, 90px); }
.work-head p { font-size: clamp(16px, 1.25vw, 20px); color: var(--ink-2); max-width: 30em; }
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2vw; row-gap: 5vw; }
.work-card:nth-child(2), .work-card:nth-child(4) { margin-top: 12vw; }
.work-card.wide { grid-column: 1 / -1; }
.work-media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; display: grid; place-items: center; transition: border-radius .6s var(--ease); isolation: isolate; }
.work-card.wide .work-media { aspect-ratio: 16 / 8; }
.work-card:hover .work-media { border-radius: calc(var(--radius) * 2); }
.work-meta { display: flex; flex-direction: column-reverse; gap: 8px; padding: 18px 4px 0; }
.work-meta .mono { color: var(--ink-2); }
.work-meta h3 { font-size: clamp(24px, 2.2vw, 40px); display: flex; align-items: center; gap: 12px; }
.work-meta h3 b { font-weight: 400; font-size: .7em; opacity: 0; transform: translateX(-12px); transition: .5s var(--ease); }
.work-card:hover .work-meta h3 b { opacity: 1; transform: none; color: var(--azure); }
.work-more { display: flex; justify-content: center; margin-top: clamp(50px, 7vw, 110px); }

/* Service mockups live in services.css */

/* ---------- Statement ---------- */
.statement { padding-top: clamp(80px, 10vw, 160px); padding-bottom: clamp(80px, 10vw, 160px); border-top: 1px solid rgba(5,11,24,.1); }
.statement h2 { max-width: 11.5em; }
.statement-body { display: grid; grid-template-columns: 1fr 1fr; gap: 3vw; margin-left: 40%; margin-top: clamp(40px, 6vw, 90px); font-size: clamp(16px, 1.25vw, 20px); color: var(--ink-2); }
.steps { list-style: none; margin: clamp(60px, 8vw, 130px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2vw; }
.steps li { background: var(--white); border-radius: var(--radius); padding: 26px; min-height: 260px; display: flex; flex-direction: column; transition: background .5s var(--ease), color .5s var(--ease), transform .6s var(--ease); }
.steps li:hover { background: var(--azure); color: #fff; transform: translateY(-6px); }
.steps li:hover p, .steps li:hover .mono { color: rgba(255,255,255,.8); }
.steps .mono { color: var(--ink-2); }
.steps h3 { font-size: clamp(24px, 2vw, 34px); margin-top: auto; margin-bottom: 10px; }
.steps p { color: var(--ink-2); font-size: 15px; }

/* ---------- Tunnel ---------- */
.tunnel { height: 620vh; position: relative; background: #02060f; color: #fff; }   /* the first 60% plays the robot's journey */
.tunnel-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.tunnel-scene { position: absolute; inset: 0; perspective: 600px; perspective-origin: 50% 50%; }
.tunnel-scene .ring { position: absolute; left: 50%; top: 50%; width: 70vmin; height: 70vmin; margin: -35vmin 0 0 -35vmin; border: 1px solid rgba(18,216,228,.45); border-radius: 18px; box-shadow: 0 0 40px rgba(10,92,255,.25) inset; }
.tunnel-scene .ring:nth-child(3n) { border-color: rgba(10,92,255,.6); }
.tunnel-scene .tri { position: absolute; left: 50%; top: 50%; width: 0; height: 0; border-left: 14px solid transparent; border-right: 14px solid transparent; border-bottom: 24px solid var(--cyan); margin: -12px 0 0 -14px; opacity: .8; }
.tunnel-copy { position: absolute; z-index: 1; left: var(--pad-x); bottom: var(--pad-y); display: grid; justify-items: start; gap: 14px; max-width: 46vw; pointer-events: none; opacity: var(--intro-done, 1); transform: translateY(calc((1 - var(--intro-done, 1)) * 24px)); }
.tunnel-copy .mono { color: var(--cyan); }
.tunnel-copy h2 { font-size: clamp(34px, 4.6vw, 84px); }
.tunnel-copy h2 em { color: var(--cyan); }
.tunnel-copy img { width: min(220px, 40vw); opacity: .9; }
#robot-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; cursor: pointer; }
/* In the journey's real world: drag (or swipe sideways) to look round the street; vertical swipes still scroll. */
#robot-canvas { touch-action: pan-y pinch-zoom; }
#robot-canvas.look-around { cursor: grab; }
#robot-canvas.dragging { cursor: grabbing; }
/* Tablet intro: the page the tablet sits on, and the words beside it. robot.js drives --stage and --stage-copy. */
.intro-stage { position: absolute; inset: 0; background: var(--bg); opacity: var(--stage, 1); pointer-events: none; }
.intro-copy { position: absolute; z-index: 2; right: var(--pad-x); top: 50%; width: min(34vw, 520px); display: grid; gap: 18px; color: var(--ink); opacity: var(--stage-copy, 1); transform: translateY(calc(-50% + (1 - var(--stage-copy, 1)) * -30px)); pointer-events: none; }
.intro-copy .mono { color: var(--azure); }
.intro-copy h2 { font-size: clamp(30px, 3.4vw, 58px); line-height: 1.02; }
.intro-copy h2 em { color: var(--azure); }
.intro-copy p:not(.mono) { font-size: clamp(16px, 1.25vw, 21px); line-height: 1.45; color: var(--ink); }
.intro-copy .intro-copy-more { color: var(--ink-2) !important; }
@media (max-width: 820px) {
  .intro-copy { left: var(--pad-x); right: var(--pad-x); top: calc(var(--pad-y) + 64px); width: auto; transform: translateY(calc((1 - var(--stage-copy, 1)) * -30px)); gap: 10px; }
  .intro-copy h2 { font-size: 30px; }
  .intro-copy p:not(.mono) { font-size: 15px; }
  .intro-copy .intro-copy-more { display: none; }
}
@media (prefers-reduced-motion: reduce) { .intro-stage, .intro-copy { display: none; } }
/* The big words in space during the journey (robot.js animates each word). */
.journey-words { position: absolute; left: 0; right: 0; top: clamp(92px, 13vh, 160px); z-index: 3; text-align: center; padding: 0 var(--pad-x); pointer-events: none; visibility: hidden; font-weight: 600; font-size: clamp(22px, 3.4vw, 58px); line-height: 1.12; letter-spacing: 0.02em; text-transform: uppercase; }   /* above him in the wormhole, never across his face */
@media (max-width: 700px) { .journey-words { top: clamp(84px, 11vh, 120px); font-size: clamp(20px, 6.2vw, 30px); } }
/* Neon: a white-hot core in a cyan tube glow, spilling azure light around it. */
.journey-words span { display: inline-block; will-change: opacity, filter; color: #effeff;
  text-shadow: 0 0 2px #fff, 0 0 6px #b9fbff, 0 0 12px #3ff3ff, 0 0 24px #12d8e4, 0 0 46px #1a7bff, 0 0 90px rgba(26, 110, 255, .55); }
@media (prefers-reduced-motion: reduce) { .journey-words { display: none; } }
.robot-bubble { position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none; padding: 12px 18px; border-radius: 18px 18px 18px 4px; background: #fff; color: var(--ink); font-weight: 600; font-size: clamp(14px, 1.2vw, 18px); line-height: 1.3; width: max-content; max-width: min(320px, 70vw); box-shadow: 0 20px 50px rgba(10,92,255,.35); opacity: 0; scale: .6; transform-origin: 0 100%; margin-top: -10px; transition: opacity .35s var(--ease), scale .5s var(--ease); }
.robot-bubble.show { opacity: 1; scale: 1; }
.storm-mode .robot-bubble { background: #fff; color: #050b18; }
.robot-hint { position: absolute; z-index: 1; right: var(--pad-x); bottom: var(--pad-y); color: rgba(255,255,255,.55); pointer-events: none; }
.tunnel-glow { position: absolute; inset: 0; background: radial-gradient(40% 40% at 50% 50%, rgba(10,92,255,.35), transparent 70%); pointer-events: none; }

/* ---------- Team ---------- */
.team { padding-top: clamp(80px, 10vw, 160px); padding-bottom: clamp(60px, 8vw, 120px); }
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); justify-content: center; gap: 6vw; }
.team-grid .person:nth-child(2) { margin-top: 5vw; }
.person-media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; background: linear-gradient(160deg, #d8e5fb, #b8cff5); transition: background .9s var(--ease); }
.person-photo { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease), opacity .9s var(--ease), filter .9s var(--ease); }
.person:hover .person-photo { transform: scale(1.05); }
.person-meta { display: grid; gap: 8px; padding: 18px 4px 0; }
.person-meta .mono { color: var(--azure); }
.person-meta h3 { font-size: clamp(28px, 2.6vw, 46px); }
.person-meta p { color: var(--ink-2); max-width: 28em; }
.person-meta a { font-weight: 500; margin-top: 6px; width: max-content; border-bottom: 1px solid currentColor; }
.person-meta a:hover { color: var(--azure); }

/* ---------- CTA ---------- */
.cta { background: var(--azure); color: #fff; border-radius: calc(var(--radius) * 2) calc(var(--radius) * 2) 0 0; overflow: hidden; margin-top: clamp(60px, 8vw, 120px); }
.cta-inner { padding-top: clamp(80px, 11vw, 180px); padding-bottom: clamp(60px, 8vw, 120px); display: grid; gap: 30px; }
.cta-inner .mono { color: rgba(255,255,255,.75); }
.cta-inner h2 { max-width: 9em; }
.cta-link { display: inline-flex; align-items: center; gap: 20px; font-size: clamp(26px, 3vw, 52px); font-weight: 500; letter-spacing: -.03em; width: max-content; max-width: 100%; }
.cta-link i { font-style: normal; width: 1.6em; height: 1.6em; border-radius: 50%; background: #fff; color: var(--azure); display: grid; place-items: center; font-size: .8em; transition: transform .6s var(--ease); flex: none; }
.cta-link:hover i { transform: rotate(45deg) scale(1.1); }
.cta-link span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .6s var(--ease); }
.cta-link:hover span { background-size: 100% 2px; }
.marquee { border-top: 1px solid rgba(255,255,255,.25); padding: 22px 0; overflow: hidden; white-space: nowrap; }
.marquee > div { display: inline-flex; align-items: center; gap: 40px; animation: marquee 22s linear infinite; padding-right: 40px; font-family: var(--mono); text-transform: uppercase; font-size: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Footer ---------- */
.foot { background: #050b18; color: #fff; overflow: hidden; }
.foot-inner { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 3vw; padding-top: clamp(60px, 7vw, 110px); padding-bottom: 50px; }
.foot-col { display: grid; gap: 10px; align-content: start; }
.foot-col .mono { color: rgba(255,255,255,.5); margin-bottom: 6px; }
.foot-col a { width: max-content; max-width: 100%; overflow-wrap: anywhere; transition: color .3s; }
.foot-col a:hover { color: var(--cyan); }
.foot-col p { color: rgba(255,255,255,.7); }
.foot-logo { width: 56px; height: auto; margin-bottom: 8px; }
.foot-base { display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; padding-bottom: 20px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.6); font-size: 14px; }
.foot-base a:hover { color: #fff; }
.foot-credit { margin: 0; padding-bottom: 18px; color: rgba(255,255,255,.4); font-size: 12px; }
.foot-credit a { text-decoration: underline; text-underline-offset: 2px; }
.foot-credit a:hover { color: #fff; }
.foot-word { font-size: 20vw; font-weight: 600; letter-spacing: -.05em; line-height: 1; text-align: center; white-space: nowrap; padding: .04em .05em .12em; background: linear-gradient(180deg, var(--cyan) 10%, var(--azure) 75%, #0636a8 100%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .intro-grid, .work-head { grid-template-columns: 1fr; gap: 28px; }
  .work-grid { grid-template-columns: 1fr; row-gap: 48px; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 300px)); gap: 20px; }
  .work-card:nth-child(2), .work-card:nth-child(4), .team-grid .person:nth-child(2) { margin-top: 0; }
  .work-card.wide .work-media { aspect-ratio: 4 / 3; }
  .statement-body { margin-left: 0; grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 12px; }
  .steps li { min-height: 200px; }
  .foot-inner { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .reel { height: 160vh; }
  .reel-frame { width: calc(84vw + 8vw * var(--p)); border-radius: 20px; }
  .hdr-logo span { display: none; }
  .tunnel-copy { max-width: none; right: var(--pad-x); }
  .robot-hint { display: none; }
}
@media (max-width: 560px) {
  .btn-talk { display: none; }
  .btn-menu { padding: 0 16px; }
  .btn-talk, .btn-menu, .btn-round { height: 44px; }
  .btn-round { width: 44px; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .team-grid .person:nth-child(2) { margin-top: 48px; }
  .person-meta h3 { font-size: 22px; }
  .person-meta p { font-size: 13px; }
  .person-meta a { font-size: 13px; }
  .steps { grid-template-columns: 1fr; }
  .foot-inner { grid-template-columns: 1fr; }
  .foot-base { flex-direction: column; }
  .hero-copy h1 { font-size: 30px; }
}

/* ---------- Intro loader ---------- */
.loader { display: none; }
.js .loader { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: radial-gradient(60% 60% at 50% 45%, #0b2350 0%, #050b18 70%); color: #fff; transition: transform 1.05s cubic-bezier(.76,0,.24,1), border-radius 1.05s cubic-bezier(.76,0,.24,1); }
.loader.done { transform: translateY(-100%); border-radius: 0 0 50% 50% / 0 0 14vh 14vh; }
.loader-top { position: absolute; top: var(--pad-y); left: var(--pad-x); right: var(--pad-x); display: flex; justify-content: space-between; gap: 20px; color: rgba(255,255,255,.55); }
.loader-logo { width: clamp(70px, 8vw, 120px); filter: drop-shadow(0 0 34px rgba(18,216,228,.6)); animation: float 3s ease-in-out infinite; }
.loader-num { position: absolute; left: var(--pad-x); bottom: calc(var(--pad-y) + 18px); font-size: clamp(72px, 15vw, 240px); font-weight: 500; letter-spacing: -.05em; line-height: .8; font-variant-numeric: tabular-nums; }
.loader-num::after { content: "%"; font-size: .28em; vertical-align: top; margin-left: .1em; color: var(--cyan); }
.loader-enter { position: absolute; left: 50%; top: calc(50% + clamp(70px, 9vw, 130px)); transform: translate(-50%, 8px); opacity: 0; pointer-events: none; padding: 14px 30px; border-radius: 999px; border: 1px solid rgba(18,216,228,.55); background: rgba(18,216,228,.08); color: #fff; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; cursor: pointer; transition: opacity .6s ease, transform .6s ease, background .25s; animation: enterPulse 2s ease-in-out infinite paused; }
.loader.ready { cursor: pointer; }
.loader.ready .loader-enter { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; animation-play-state: running; }
.loader-enter:hover, .loader-enter:focus-visible { background: rgba(18,216,228,.2); outline: none; }
@keyframes enterPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(18,216,228,.45); } 50% { box-shadow: 0 0 0 14px rgba(18,216,228,0); } }
.loader-bar { position: absolute; left: var(--pad-x); right: var(--pad-x); bottom: var(--pad-y); height: 2px; background: rgba(255,255,255,.12); overflow: hidden; border-radius: 2px; }
.loader-bar i { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--azure), var(--cyan)); box-shadow: 0 0 12px var(--cyan); }

/* ---------- Cursor, magnetic buttons, card spotlight, grain ---------- */
.light-cursor { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 150; pointer-events: none; }
.light-cursor-label { position: fixed; left: 0; top: 0; z-index: 151; pointer-events: none; font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; color: var(--azure); text-shadow: 0 0 10px rgba(18,216,228,.7); opacity: 0; transition: opacity .3s; }
.light-cursor-label.on { opacity: 1; }
.storm-mode .light-cursor-label { color: #bff8ff; text-shadow: 0 0 12px var(--cyan); }
.mag { transition: background .4s var(--ease), color .4s var(--ease), translate .5s var(--ease) !important; }
.work-media::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .5s var(--ease); background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.18), transparent 45%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.work-card:hover .work-media::after { opacity: 1; }
body::after { content: ""; position: fixed; inset: -50%; z-index: 70; pointer-events: none; opacity: .045; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1.2s steps(6) infinite; }
.storm-mode::after { opacity: .07; }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); } }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- Dark-mode nudge: a playful "warning" for light-mode visitors ---------- */
.nudge { position: fixed; left: 50%; bottom: 24px; z-index: 140; width: min(440px, calc(100vw - 32px)); padding: 18px 20px 16px; border-radius: 20px; background: rgba(8,15,30,.93); color: #e8f1ff; box-shadow: 0 24px 60px rgba(3,15,45,.45), inset 0 0 0 1px rgba(255,255,255,.08); backdrop-filter: blur(14px); display: grid; gap: 12px; opacity: 0; visibility: hidden; transform: translate(-50%, 24px) scale(.97); transition: opacity .4s var(--ease), transform .55s var(--ease), visibility 0s .55s; }
.nudge.on { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.nudge-badge { justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 99px; background: rgba(255,176,32,.16); color: #ffc24d; font-size: 11px; }
.nudge.on .nudge-badge { animation: nudge-shake .8s var(--ease) .35s both; }
@keyframes nudge-shake { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-7deg); } 40% { transform: rotate(6deg); } 60% { transform: rotate(-4deg); } 80% { transform: rotate(2deg); } }
.nudge-text { font-size: 17px; line-height: 1.35; letter-spacing: -.01em; padding-right: 24px; }
.nudge-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.nudge-go { height: 42px; padding: 0 18px; border-radius: 99px; background: linear-gradient(120deg, var(--azure), var(--cyan)); color: #fff; font-size: 14px; font-weight: 600; box-shadow: 0 8px 24px rgba(10,92,255,.4); transition: transform .3s var(--ease), box-shadow .3s; }
.nudge-go:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(18,216,228,.45); }
.nudge-later { height: 42px; padding: 0 10px; color: #9fb2cc; font-size: 14px; }
.nudge-later:hover { color: #fff; }
.nudge-close { position: absolute; top: 10px; right: 12px; width: 30px; height: 30px; border-radius: 50%; color: #9fb2cc; font-size: 20px; line-height: 1; }
.nudge-close:hover { background: rgba(255,255,255,.08); color: #fff; }
.nudge.done .nudge-badge, .nudge.done .nudge-actions { display: none; }
.btn-theme.nudge-pulse { animation: moon-pulse 1.6s ease-out infinite; }
@keyframes moon-pulse { 0% { box-shadow: 0 0 0 0 rgba(10,92,255,.55); } 100% { box-shadow: 0 0 0 14px rgba(10,92,255,0); } }
@media (max-width: 480px) { .nudge { bottom: 16px; padding: 16px 16px 14px; } .nudge-text { font-size: 16px; } }

/* ---------- Lazy-robot warning, right next to the robot ---------- */
.bot-warn { position: absolute; z-index: 3; top: clamp(80px, calc(var(--head-y, 30%) - 70px), calc(100% - 220px)); left: clamp(16px, calc(var(--head-x, 50%) - 500px), calc(100% - 316px)); width: min(300px, calc(100vw - 32px)); padding: 16px 18px 14px; border-radius: 18px; background: rgba(8,15,30,.88); color: #e8f1ff; box-shadow: 0 20px 50px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,176,32,.28); backdrop-filter: blur(12px); display: grid; gap: 10px; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(14px) scale(.96); transition: opacity .4s var(--ease), transform .5s var(--ease), visibility 0s .5s; }
.bot-warn.on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; animation: warn-float 3s ease-in-out .6s infinite; }
@keyframes warn-float { 50% { translate: 0 -6px; } }
.bot-warn.on .nudge-badge { animation: nudge-shake .8s var(--ease) .3s both; }
.bot-warn-text { font-size: 16px; line-height: 1.35; letter-spacing: -.01em; padding-right: 20px; }
.bot-warn-point { position: absolute; right: -36px; top: 50%; margin-top: -16px; font-size: 26px; line-height: 1; animation: point-at 1s ease-in-out infinite; }
@keyframes point-at { 50% { transform: translateX(8px); } }
.bot-warn-close { position: absolute; top: 8px; right: 10px; width: 28px; height: 28px; border-radius: 50%; color: #9fb2cc; font-size: 18px; line-height: 1; }
.bot-warn-close:hover { background: rgba(255,255,255,.08); color: #fff; }
@media (max-width: 1000px) {
  .bot-warn { top: 76px; left: 16px; right: 16px; width: auto; max-width: 420px; margin: 0 auto; }
  .bot-warn-point { right: auto; left: 50%; top: auto; bottom: -34px; margin: 0 0 0 -13px; rotate: 90deg; }
}

/* ---------- "Don't leave!" note that follows visitors away from the robot ---------- */
.bot-note { position: fixed; right: 24px; bottom: 24px; z-index: 141; width: min(340px, calc(100vw - 32px)); padding: 14px 16px; border-radius: 20px; background: rgba(8,15,30,.94); color: #e8f1ff; box-shadow: 0 24px 60px rgba(3,15,45,.45), inset 0 0 0 1px rgba(18,216,228,.25); backdrop-filter: blur(14px); display: flex; align-items: flex-start; gap: 12px; opacity: 0; visibility: hidden; transform: translateY(24px) scale(.96); transition: opacity .4s var(--ease), transform .55s var(--ease), visibility 0s .55s; }
.bot-note.on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.bot-note-face { position: relative; flex: none; width: 52px; height: 44px; border-radius: 16px; display: flex; align-items: center; justify-content: center; gap: 10px; background: radial-gradient(circle at 50% 30%, #13254a, #050b18); box-shadow: inset 0 0 0 2px rgba(255,255,255,.85), 0 0 18px rgba(18,216,228,.35); }
.bot-note-face i { width: 8px; height: 13px; border-radius: 6px; background: #7ff8ff; box-shadow: 0 0 8px #12d8e4; animation: note-blink 3s infinite; }
.bot-note-face::after { content: ""; position: absolute; left: 14px; top: 28px; width: 5px; height: 7px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: #9fe8ff; animation: note-tear 1.6s ease-in infinite; }
@keyframes note-blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes note-tear { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }
.bot-note-body { display: grid; gap: 6px; min-width: 0; padding-right: 18px; }
.bot-note-name { color: #7ff8ff; font-size: 11px; }
.bot-note-text { font-size: 15px; line-height: 1.35; }
.bot-note-go { justify-self: start; margin-top: 4px; padding: 8px 14px; border-radius: 99px; background: linear-gradient(120deg, var(--azure), var(--cyan)); color: #fff; font-size: 13px; font-weight: 600; box-shadow: 0 8px 20px rgba(10,92,255,.35); }
.bot-note-close { position: absolute; top: 8px; right: 10px; width: 28px; height: 28px; border-radius: 50%; color: #9fb2cc; font-size: 18px; line-height: 1; }
.bot-note-close:hover { background: rgba(255,255,255,.08); color: #fff; }
@media (max-width: 480px) { .bot-note { right: 16px; bottom: 16px; } }

/* ---------- Hero details ---------- */
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(45% 55% at 68% 42%, rgba(18,216,228,.18), transparent 70%), radial-gradient(40% 45% at 75% 50%, rgba(10,92,255,.14), transparent 70%); }
.hero-chip { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 9px 16px; border-radius: 99px; background: rgba(255,255,255,.7); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px rgba(10,92,255,.12); color: var(--ink); font-size: 11px; }
.storm-mode .hero-chip { background: rgba(18,35,56,.7); box-shadow: inset 0 0 0 1px rgba(160,206,242,.18); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(18,216,228,.6); animation: chip-pulse 1.8s infinite; }
@keyframes chip-pulse { to { box-shadow: 0 0 0 10px rgba(18,216,228,0); } }
.js .hero-chip, .js .hero-foot { opacity: 0; transform: translateY(14px); transition: opacity 1s var(--ease) .5s, transform 1.1s var(--ease) .5s; }
.hero.ready .hero-chip, .hero.ready .hero-foot { opacity: 1; transform: none; }
.scroll-cue { display: inline-flex; align-items: center; gap: 10px; }
.scroll-cue i { position: relative; width: 1px; height: 26px; overflow: hidden; background: rgba(5,11,24,.15); }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -100%; width: 100%; height: 100%; background: var(--azure); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }

/* ---------- Dark storm mode ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
#storm-rain, #storm-rain3d, #storm-glass, .storm-lightning, .storm-fog { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; display: none; }
#storm-rain3d { z-index: 0; }
#storm-rain { z-index: 0; }
#storm-glass { z-index: 4; }
.storm-lightning { z-index: 5; opacity: 0; background: radial-gradient(ellipse at var(--strike-x,70%) 8%, rgba(193,208,235,.24), rgba(122,148,181,.06) 45%, transparent 78%); }
.storm-cloud-glow { position: absolute; inset: -15% -10% 35%; background: radial-gradient(ellipse at var(--strike-x,70%) 25%, rgba(211,220,237,.25), transparent 35%), radial-gradient(ellipse at 45% 5%, rgba(138,158,187,.15), transparent 55%); filter: blur(35px); }
.storm-bolt { position: absolute; top: 0; left: var(--strike-x,70%); width: clamp(160px,22vw,430px); height: var(--strike-height,80vh); transform: translateX(-50%) rotate(var(--strike-angle,0deg)); overflow: visible; filter: drop-shadow(0 0 3px rgba(221,231,255,.9)) drop-shadow(0 0 14px rgba(160,184,219,.7)); }
.storm-bolt path { fill: none; stroke-linejoin: round; stroke-linecap: round; }
.bolt-glow { stroke: rgba(167,189,222,.3); stroke-width: 5; }
.bolt-core { stroke: #f3f5ff; stroke-width: 1.5; }
.bolt-branches { stroke: rgba(222,233,251,.7); stroke-width: .65; }
.distant-strike .storm-bolt { filter: blur(2px) drop-shadow(0 0 18px rgba(177,194,220,.4)); opacity: .25; }
.distant-strike .storm-cloud-glow { background: radial-gradient(ellipse at var(--strike-x,70%) 30%, rgba(199,211,231,.36), transparent 60%); }
.storm-fog { inset: -10% -30%; width: auto; height: auto; z-index: 0; opacity: .55; background: radial-gradient(ellipse 40% 22% at 20% 85%, rgba(120,150,190,.16), transparent 70%), radial-gradient(ellipse 35% 20% at 70% 92%, rgba(110,140,180,.14), transparent 70%), radial-gradient(ellipse 50% 30% at 50% 10%, rgba(60,90,130,.18), transparent 70%); animation: fog-roll 38s ease-in-out infinite alternate; }
@keyframes fog-roll { from { transform: translateX(-6%); } to { transform: translateX(6%); } }
.storm-mode #storm-rain, .storm-mode #storm-rain3d, .storm-mode #storm-glass, .storm-mode .storm-lightning, .storm-mode .storm-fog { display: block; }

body.storm-mode {
  --bg: #050b15; --bg-2: #0c1a2c; --ink: #e7f2ff; --ink-2: #9fb2c8; --white: #122338;
  color-scheme: dark;
  background: radial-gradient(ellipse at 75% -10%, #1d3a57, transparent 55%), radial-gradient(ellipse at 10% 110%, #0d2236, transparent 50%), linear-gradient(180deg, #0a1626, #050b15) fixed;
}
.storm-mode main, .storm-mode .foot { position: relative; z-index: 1; }
.storm-mode .hero { background: transparent; }
.storm-mode .hero::before { opacity: .35; }
.storm-mode .btn-talk { background: var(--azure); }
.storm-mode .btn-talk:hover { background: var(--cyan); color: #02060f; }
.storm-mode .btn-menu, .storm-mode .btn-round, .storm-mode .menu-links, .storm-mode .btn-pill, .storm-mode .steps li { background: rgba(18,35,56,.82); backdrop-filter: blur(14px); box-shadow: inset 0 1px 0 rgba(215,241,255,.12); }
.storm-mode .btn-menu:hover, .storm-mode .btn-round:hover { background: var(--ink); color: #02060f; }
.storm-mode .menu-links a::before { background: rgba(109,201,242,.12); }
.storm-mode .btn-pill i { background: var(--cyan); color: #02060f; }
.storm-mode .btn-pill:hover { background: var(--azure); }
.storm-mode .btn-pill:hover i { background: #fff; color: var(--azure); }
.storm-mode .btn-pill.dark { background: var(--azure); color: #fff; }
.storm-mode .btn-pill.dark i { background: #fff; color: var(--azure); }
.storm-mode .steps li:hover { background: var(--azure); }
.storm-mode .statement { border-top-color: rgba(160,206,242,.14); }
.storm-mode .m-web { background: linear-gradient(140deg, #12305c 0%, #0a1830 100%); }
.storm-mode .m-growth { background: linear-gradient(120deg, #10264a 0%, #081428 100%); }
.storm-mode .person-media { background: linear-gradient(160deg, #112435, #0b1a2c); }
.storm-mode .person-meta .mono, .storm-mode .work-card:hover .work-meta h3 b { color: var(--cyan); }
.storm-mode .cta { background: linear-gradient(120deg, rgba(7,54,140,.96), rgba(5,83,110,.96)); }
.storm-mode .foot { background: rgba(2,6,15,.92); }
.storm-mode .skip { background: var(--ink); color: #02060f; }
::view-transition-old(root) { animation: theme-fade-out 800ms ease-in-out both; mix-blend-mode: normal; }
::view-transition-new(root) { animation: theme-fade-in 800ms ease-in-out both; mix-blend-mode: normal; }
@keyframes theme-fade-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes theme-fade-in { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  .storm-fog { display: none !important; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .split .ln > span, .reveal { transform: none; opacity: 1; }
  .reel, .tunnel { height: auto; }
  .reel-sticky, .tunnel-sticky { position: relative; height: auto; min-height: 80vh; }
  .reel-frame { --p: 1; }
}

/* Phones and touch screens: background blur is expensive to repaint while scrolling, and these panels are
   already nearly opaque, so drop the blur there. The storm cloud glow gets a lighter blur too. */
@media (max-width: 820px), (hover: none) and (pointer: coarse) {
  .nudge, .hero-chip,
  .storm-mode .btn-menu, .storm-mode .btn-round, .storm-mode .menu-links, .storm-mode .btn-pill, .storm-mode .steps li {
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  .hero-chip { background: rgba(255,255,255,.92); }
  .storm-mode .btn-menu, .storm-mode .btn-round, .storm-mode .menu-links, .storm-mode .btn-pill, .storm-mode .steps li { background: rgba(18,35,56,.94); }
  .storm-cloud-glow { filter: blur(18px); }
}

/* ---------- Leadership holograms (dark mode) ----------
   In dark mode each portrait becomes a projection of the same person: the original photo cross-fades to a
   cut-out of it (the same picture with its background removed, pixel-aligned), traced by a soft ice-blue rim and
   aura, with faint scanlines, a slow sheen and a scanning beam inside the silhouette, drifting light particles
   and a projector glow underneath. The face itself is only cooled, never covered. holo.js adds the particles, the
   pointer parallax and the silhouette masks. Light mode shows the untouched photos. */
.holo { position: absolute; inset: 0; opacity: 0; visibility: hidden; pointer-events: none; perspective: 900px; transition: opacity .9s var(--ease), visibility 0s linear .9s;
  --rim: #7ff3ff; --rim-soft: rgba(80, 225, 255, .5); --aura: rgba(40, 190, 255, .55); --tint-top: #9ff4ff; --tint-bottom: #2f7dff; --scan: rgba(170, 245, 255, .55); }
.holo[data-holo="ceo"] { --rim: #a9dcff; --rim-soft: rgba(120, 180, 255, .5); --aura: rgba(110, 150, 255, .5); --tint-top: #cfe8ff; --tint-bottom: #5b6dff; --scan: rgba(200, 225, 255, .5); }
.holo > *, .holo-fig > * { position: absolute; inset: 0; }
.holo-bg { background:
  linear-gradient(to top, rgba(63, 243, 255, .08), transparent 40%),
  repeating-linear-gradient(90deg, rgba(120, 220, 255, .06) 0 1px, transparent 1px 48px),
  repeating-linear-gradient(0deg, rgba(120, 220, 255, .05) 0 1px, transparent 1px 48px),
  radial-gradient(120% 85% at 50% 100%, #0c2c4d 0%, #071528 45%, #02060d 100%);
  -webkit-mask-image: linear-gradient(to top, #000 0%, #000 55%, rgba(0, 0, 0, .55) 100%); mask-image: linear-gradient(to top, #000 0%, #000 55%, rgba(0, 0, 0, .55) 100%); }
.holo-dust { width: 100%; height: 100%; }
.holo-fig { transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); clip-path: inset(100% 0 0 0); transition: clip-path 1.5s cubic-bezier(.65, 0, .25, 1) .15s; will-change: transform; }
.holo-fig > * { -webkit-mask-image: var(--cut); mask-image: var(--cut); -webkit-mask-size: cover; mask-size: cover; -webkit-mask-position: 50% 0; mask-position: 50% 0; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.holo-fig > .holo-img { -webkit-mask-image: none; mask-image: none; width: 100%; height: 100%; object-fit: cover; object-position: top; transform: translateZ(0);
  filter: saturate(.72) brightness(1.06) contrast(1.05) drop-shadow(0 0 1.2px var(--rim)) drop-shadow(0 0 10px var(--rim-soft)); }
.holo-aura { background: var(--aura); filter: blur(18px); transform: translateZ(-40px) scale(1.05); opacity: .75; }
.holo-tint { background: linear-gradient(to bottom, var(--tint-top), var(--tint-bottom)); mix-blend-mode: color; opacity: .5; transform: translateZ(1px); }   /* hue toward ice blue; each person's own light and shade (their likeness) stays */
.holo-fig::after { content: ''; position: absolute; inset: 0; -webkit-mask-image: var(--cut); mask-image: var(--cut); -webkit-mask-size: cover; mask-size: cover; -webkit-mask-position: 50% 0; mask-position: 50% 0; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  background: linear-gradient(to bottom, rgba(150, 235, 255, .12), rgba(60, 140, 255, .22)); mix-blend-mode: screen; transform: translateZ(1px); }
.holo-lines { background: repeating-linear-gradient(to bottom, rgba(190, 245, 255, .2) 0 1px, transparent 1px 4px); mix-blend-mode: screen; transform: translateZ(2px); animation: holo-lines 9s linear infinite; }
@keyframes holo-lines { to { background-position: 0 72px; } }
.holo-sheen { background: linear-gradient(105deg, transparent 35%, rgba(200, 248, 255, .22) 48%, rgba(255, 255, 255, .3) 50%, rgba(200, 248, 255, .22) 52%, transparent 65%) no-repeat; background-size: 260% 100%; mix-blend-mode: screen; transform: translateZ(3px); animation: holo-sheen 7.5s ease-in-out infinite; }
@keyframes holo-sheen { 0%, 55% { background-position: 130% 0; } 100% { background-position: -30% 0; } }
.holo-scan { background: linear-gradient(to bottom, transparent 0%, var(--scan) 50%, transparent 100%) no-repeat; background-size: 100% 18%; mix-blend-mode: screen; transform: translateZ(4px); animation: holo-scan 6s cubic-bezier(.45, 0, .55, 1) infinite; }
@keyframes holo-scan { 0% { background-position: 0 -30%; } 70%, 100% { background-position: 0 130%; } }
.holo[data-holo="ceo"] .holo-scan { animation-name: holo-scan-up; animation-duration: 6.8s; animation-delay: -2.4s; }
@keyframes holo-scan-up { 0% { background-position: 0 130%; } 70%, 100% { background-position: 0 -30%; } }
/* The beam across the whole stage, in step with the scan inside the figure. */
.holo-beam { top: 0; bottom: auto; height: 2px; background: linear-gradient(90deg, transparent, var(--rim) 30%, var(--rim) 70%, transparent); opacity: .35; box-shadow: 0 0 14px var(--rim-soft); animation: holo-beam 6s cubic-bezier(.45, 0, .55, 1) infinite; }
@keyframes holo-beam { 0% { transform: translateY(-2%); opacity: 0; } 8% { opacity: .35; } 62% { opacity: .35; } 70%, 100% { transform: translateY(calc(var(--h, 500px) * 1.02)); opacity: 0; } }
.holo[data-holo="ceo"] .holo-beam { animation-name: holo-beam-up; animation-duration: 6.8s; animation-delay: -2.4s; }
@keyframes holo-beam-up { 0% { transform: translateY(calc(var(--h, 500px) * 1.02)); opacity: 0; } 8% { opacity: .35; } 62% { opacity: .35; } 70%, 100% { transform: translateY(-2%); opacity: 0; } }
.holo-base { top: auto; height: 22%; background: radial-gradient(60% 55% at 50% 100%, var(--rim-soft) 0%, rgba(40, 170, 255, .12) 45%, transparent 75%); mix-blend-mode: screen; }
.holo-hud { inset: auto 14px 12px; text-shadow: 0 1px 6px #02060d, 0 0 2px #02060d; display: flex; justify-content: space-between; font: 500 10px/1 var(--mono, 'IBM Plex Mono', monospace); letter-spacing: .14em; color: rgba(190, 245, 255, .65); }
.holo-hud::before { content: ''; position: absolute; left: -2px; right: -2px; bottom: calc(100% + 8px); height: 1px; background: linear-gradient(90deg, var(--rim-soft), transparent 40%, transparent 60%, var(--rim-soft)); }
.holo-live::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--rim); box-shadow: 0 0 8px var(--rim); margin-right: 7px; vertical-align: 1px; animation: holo-live 2.4s ease-in-out infinite; }
@keyframes holo-live { 50% { opacity: .35; } }
.holo-hud span { white-space: nowrap; }
@media (max-width: 600px) { .holo-hud { inset: auto 10px 9px; font-size: 8px; letter-spacing: .08em; } .holo-hud::before { bottom: calc(100% + 6px); } }

/* Dark mode: the photo hands over to its projection. */
.storm-mode .person-media { background: #02060d; }
.storm-mode .person-photo { opacity: 0; filter: blur(8px) saturate(.4); }
.storm-mode .person:hover .person-photo { transform: none; }
.storm-mode .holo { opacity: 1; visibility: visible; transition: opacity .9s var(--ease), visibility 0s; }
.storm-mode .holo-fig { clip-path: inset(0 0 0 0); }
@media (prefers-reduced-motion: reduce) {
  .holo-lines, .holo-sheen, .holo-scan, .holo-beam, .holo-live::before { animation: none; }
  .holo-sheen, .holo-beam { opacity: 0; }
  .holo-scan { background-position: 0 30%; opacity: .5; }
  .holo-fig, .holo, .person-photo { transition-duration: .01s; }
}

