/* ═══════════════════════════════════════════════════════════
   PRISM® — Creative Web Studio · dark cinematic one-pager
   Zero dependencies. Sections shift the page background as
   you scroll; accents travel with them.
   ═══════════════════════════════════════════════════════════ */

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  --bg: #050509;
  --ink: #f4f4f6;
  --muted: rgba(244, 244, 246, 0.55);
  --faint: rgba(244, 244, 246, 0.32);
  --line: rgba(255, 255, 255, 0.09);
  --card: rgba(255, 255, 255, 0.03);
  --accent: #8b5cf6;
  --accent-soft: rgba(139, 92, 246, 0.14);
  --accent-glow: rgba(139, 92, 246, 0.45);
  --on-accent: #06060a;
  --font-display: "Space Grotesk", "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 24px;
  --container: 1280px;
}

/* ── Reset / base ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.05; letter-spacing: -0.02em; }

/* Native pointer is hidden ONLY after app.js confirms the custom
   cursor is live (adds .js-cursor to <html>) — so the mouse pointer
   can never vanish without its green replacement on screen. */
@media (pointer: fine) {
  html.js-cursor,
  html.js-cursor * { cursor: none !important; }
}

::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,.16); border-radius: 99px;
  border: 3px solid transparent; background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,.3); border: 3px solid transparent; background-clip: content-box; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 4vw, 48px); }
.section { position: relative; padding-block: clamp(90px, 13vh, 170px); }

/* ── Custom cursor — green orb ──────────────────────────── */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none;
  will-change: transform; z-index: 6000;
}
.cursor-dot {
  width: 15px; height: 15px; margin: -7.5px 0 0 -7.5px;
  border-radius: 50%; background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74,222,128,.16),
              0 0 18px rgba(74,222,128,.55),
              0 0 54px rgba(74,222,128,.28);
}
.cursor-ring {
  width: 42px; height: 42px; margin: -21px 0 0 -21px;
  background: transparent;
  border: 2px solid #4ade80; border-radius: 50%;
  opacity: .9;
  display: grid; place-items: center;
  transition: width .35s var(--ease-out), height .35s var(--ease-out),
              margin .35s var(--ease-out), border-color .3s,
              background-color .3s, box-shadow .3s, opacity .3s;
}
.cursor-ring.is-active {
  width: 60px; height: 60px; margin: -30px 0 0 -30px;
  border-color: #4ade80;
  background: rgba(74,222,128,.12);
  box-shadow: 0 0 26px rgba(74,222,128,.25);
}
.cursor-ring.has-label {
  width: 92px; height: 92px; margin: -46px 0 0 -46px;
  background: rgba(5, 10, 6, 0.62);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border-color: rgba(74,222,128,.65);
}
#cursorLabel {
  font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink); opacity: 0; transform: scale(.6);
  transition: opacity .25s, transform .35s var(--ease-out);
}
.cursor-ring.has-label #cursorLabel { opacity: 1; transform: scale(1); }
@media (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* ── Scroll progress ────────────────────────────────────── */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 2500;
  background: linear-gradient(90deg, var(--accent), #fff);
  transform-origin: 0 50%; transform: scaleX(0);
}

/* ── Film grain ─────────────────────────────────────────── */
.grain {
  position: fixed; inset: -60%; z-index: 2000; pointer-events: none; opacity: .20;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 9s steps(8) infinite;
}
@keyframes grainShift {
  0%,100% { transform: translate(0,0); } 25% { transform: translate(-4%,3%); }
  50% { transform: translate(3%,-4%); } 75% { transform: translate(-3%,-2%); }
}
/* ── Preloader ──────────────────────────────────────────── */
.preloader {
  position: fixed; inset: 0; z-index: 5000; background: #050509;
  display: flex; align-items: center; justify-content: center;
  transition: transform .9s var(--ease-out); will-change: transform;
}
.preloader.done { transform: translateY(-101%); }
.preloader__inner { text-align: center; transition: opacity .4s, transform .5s var(--ease-out); }
.preloader.done .preloader__inner { opacity: 0; transform: translateY(-40px); }
.preloader__logo {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.4rem, 7vw, 4.5rem); letter-spacing: -0.03em;
  animation: breathe 1.6s ease-in-out infinite alternate;
}
.preloader__logo span { color: var(--accent); font-size: .4em; vertical-align: super; }
@keyframes breathe { from { opacity: .55; } to { opacity: 1; } }
.preloader__tag { margin-top: 10px; font-size: 12px; letter-spacing: .34em; text-transform: uppercase; color: var(--muted); }
.preloader__count {
  position: absolute; right: clamp(20px, 5vw, 64px); bottom: clamp(16px, 4vh, 48px);
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(3rem, 10vw, 6.5rem); line-height: 1;
}
.preloader__count span::after { content: "%"; font-size: .35em; color: var(--accent); margin-left: .1em; }
.preloader__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255,255,255,.08); }
.preloader__bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), #fff); }

/* ── Header ─────────────────────────────────────────────── */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1500;
  margin-inline: auto; width: 100%; border-radius: 0;
  border-bottom: 1px solid transparent;
  will-change: transform;
  transition: transform .55s var(--ease-out), top .45s var(--ease-out),
              width .45s var(--ease-out), border-radius .45s var(--ease-out),
              background-color .35s, border-color .35s, box-shadow .45s,
              backdrop-filter .35s;
}
.header.is-scrolled {
  background: rgba(7, 7, 13, 0.55);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}
.header.is-floating {
    /* top: 14px; */
    width: 100%;
    border: 1px solid var(--line);
    /* border-radius: 22px; */
    background: rgba(8, 8, 15, 0.68);
    -webkit-backdrop-filter: blur(22px);
    backdrop-filter: blur(22px);
    box-shadow: 0 26px 60px -18px rgba(0, 0, 0, .6);
}
.header.is-hidden {
    transform: translateY(0%);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 84px; gap: 24px;
  transition: height .4s var(--ease-out);
}
.header.is-scrolled .nav { height: 68px; }
.header .logo { transition: font-size .35s var(--ease-out); }
.header.is-scrolled .logo { font-size: 1.26rem; }
.logo { font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; letter-spacing: -0.03em; }
.logo span { color: var(--accent); font-size: .5em; vertical-align: super; transition: color .3s; }
.nav__links { display: flex; gap: clamp(18px, 3vw, 38px); }
.nav__links a {
  position: relative; font-size: 14.5px; font-weight: 500; color: var(--muted);
  padding-block: 6px; transition: color .3s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--accent); transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__right { display: flex; align-items: center; gap: 14px; }

.burger { display: inline-flex; width: 44px; height: 44px; position: relative; z-index: 1600; flex: none; }
.burger span {
  position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink);
  border-radius: 2px; transition: transform .4s var(--ease-out), top .4s var(--ease-out);
}
.burger span:nth-child(1) { top: 17px; } .burger span:nth-child(2) { top: 25px; }
.burger.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger.open span:nth-child(2) { top: 21px; transform: rotate(-45deg); }
/* ── Fullscreen menu: staggered curtain strips ──────────── */
.mobile-menu {
  position: fixed; inset: 0; z-index: 1450;
  visibility: hidden; pointer-events: none;
  transition: visibility 0s .95s;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(110px, 16vh, 160px) clamp(24px, 7vw, 96px) 46px;
  overflow: hidden;
}
.mobile-menu.open { visibility: visible; pointer-events: auto; transition-delay: 0s; }

.menu-stripes { position: absolute; inset: 0; display: flex; }
.menu-stripes i {
  flex: 1; background: #07070f;
  transform: scaleY(0); transform-origin: top;
  transition: transform .6s cubic-bezier(.76, 0, .24, 1);
}
.menu-stripes i:nth-child(even) { background: #0b0b18; }
.mobile-menu.open .menu-stripes i { transform: scaleY(1); }
.mobile-menu.open .menu-stripes i:nth-child(1) { transition-delay: 0s }
.mobile-menu.open .menu-stripes i:nth-child(2) { transition-delay: .05s }
.mobile-menu.open .menu-stripes i:nth-child(3) { transition-delay: .1s }
.mobile-menu.open .menu-stripes i:nth-child(4) { transition-delay: .15s }
.mobile-menu.open .menu-stripes i:nth-child(5) { transition-delay: .2s }
.mobile-menu.open .menu-stripes i:nth-child(6) { transition-delay: .25s }
.mobile-menu.open .menu-stripes i:nth-child(7) { transition-delay: .3s }
.mobile-menu.open .menu-stripes i:nth-child(8) { transition-delay: .35s }
.mobile-menu:not(.open) .menu-stripes i { transform-origin: bottom; }
.mobile-menu:not(.open) .menu-stripes i:nth-child(1) { transition-delay: .35s }
.mobile-menu:not(.open) .menu-stripes i:nth-child(2) { transition-delay: .3s }
.mobile-menu:not(.open) .menu-stripes i:nth-child(3) { transition-delay: .25s }
.mobile-menu:not(.open) .menu-stripes i:nth-child(4) { transition-delay: .2s }
.mobile-menu:not(.open) .menu-stripes i:nth-child(5) { transition-delay: .15s }
.mobile-menu:not(.open) .menu-stripes i:nth-child(6) { transition-delay: .1s }
.mobile-menu:not(.open) .menu-stripes i:nth-child(7) { transition-delay: .05s }
.mobile-menu:not(.open) .menu-stripes i:nth-child(8) { transition-delay: 0s }

.menu-word {
  position: absolute; right: -1%; bottom: -6%;
  font-family: var(--font-display); font-weight: 700;
  font-size: min(26vw, 320px); line-height: 1; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.07);
  pointer-events: none; user-select: none;
}
.menu-glow {
  position: absolute; left: -10%; top: -20%;
  width: 60vmin; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow), transparent 65%);
  filter: blur(90px); opacity: .35; pointer-events: none;
}

.mobile-menu__nav, .mobile-menu__footer { position: relative; z-index: 1; }
.mobile-menu__link {
  display: block; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.9rem, 5.4vw, 2.6rem); padding: 10px 0;
  letter-spacing: -.02em; line-height: 1.15;
  opacity: 0; transform: translateY(44px);
  transition: opacity .45s ease, transform .65s var(--ease-out), color .3s;
}
.mobile-menu.open .mobile-menu__link { opacity: 1; transform: translateY(0); }
.mobile-menu.open .mobile-menu__link:nth-child(1) { transition-delay: .4s, .4s, 0s }
.mobile-menu.open .mobile-menu__link:nth-child(2) { transition-delay: .47s, .47s, 0s }
.mobile-menu.open .mobile-menu__link:nth-child(3) { transition-delay: .54s, .54s, 0s }
.mobile-menu.open .mobile-menu__link:nth-child(4) { transition-delay: .61s, .61s, 0s }
.mobile-menu.open .mobile-menu__link:nth-child(5) { transition-delay: .68s, .68s, 0s }
.mobile-menu.open .mobile-menu__link:nth-child(6) { transition-delay: .75s, .75s, 0s }
.mobile-menu:not(.open) .mobile-menu__link { transition-delay: 0s; }
.mobile-menu__link em { font-style: normal; font-size: .35em; color: var(--accent); vertical-align: super; margin-right: 14px; }
.mobile-menu__link:hover { color: var(--accent); }
.mobile-menu__footer {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: var(--muted); font-size: 14px;
  opacity: 0; transform: translateY(20px);
  transition: opacity .5s ease, transform .6s var(--ease-out);
}
.mobile-menu.open .mobile-menu__footer { opacity: 1; transform: none; transition-delay: .85s, .85s; }
.mobile-menu:not(.open) .mobile-menu__footer { transition-delay: 0s; }
.mobile-menu__footer a { color: var(--ink); font-weight: 500; }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; border-radius: 99px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  border: 1px solid transparent; white-space: nowrap;
  transition: background-color .35s, color .35s, border-color .35s, box-shadow .35s;
}
.btn svg { transition: transform .35s var(--ease-out); }
.btn:hover svg { transform: translate(3px, -3px); }
.btn--primary { background: var(--ink); color: #0a0a10; }
.btn--primary:hover { background: var(--accent); color: var(--on-accent); box-shadow: 0 12px 44px -10px var(--accent-glow); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: rgba(255,255,255,.02); }
.btn--ghost:hover { border-color: var(--accent); background: var(--accent-soft); }
.btn--sm { padding: 11px 22px; font-size: 13.5px; }

/* ── Reveal system ──────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity .85s ease, transform .95s var(--ease-out);
  transition-delay: var(--rd, 0s);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

[data-split] .wm { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .13em; margin-bottom: -.13em; }
[data-split] .w { display: inline-block; transform: translateY(115%); transition: transform 1s var(--ease-out); }
[data-split].in-view .w { transform: translateY(0); }

.reveal-load { opacity: 0; transform: translateY(26px); transition: opacity .9s ease var(--ld, 0s), transform 1s var(--ease-out) var(--ld, 0s); }
body.loaded .reveal-load { opacity: 1; transform: translateY(0); }

.h-line { display: block; overflow: hidden; padding-bottom: .07em; margin-bottom: -.07em; }
.h-word {
  display: inline-block; transform: translateY(112%) rotate(3deg);
  transform-origin: 0 100%;
  transition: transform 1.15s var(--ease-out) var(--ld, 0s);
}
body.loaded .h-word { transform: translateY(0) rotate(0); }
.asterisk { display: inline-block; color: var(--accent); font-size: .5em; vertical-align: super; margin-left: .08em; animation: spin 9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Section headers ────────────────────────────────────── */
.section-head { margin-bottom: clamp(48px, 8vh, 92px); }
.section-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.section-count { font-family: var(--font-display); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); white-space: nowrap; }
.eyebrow {
  font-family: var(--font-display); font-size: 13px; font-weight: 500;
  letter-spacing: .24em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 20px;
}
.eyebrow span { color: var(--accent); font-weight: 600; margin-right: 12px; }
.section-title { font-size: clamp(2.3rem, 5.2vw, 3.4rem); letter-spacing: -0.03em; max-width: 21ch; }
/* ── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative;
  display: flex; align-items: center; overflow: hidden;
  padding-top: 120px; padding-bottom: 56px;
  min-height: 100vh;
  min-height: 100lvh;
  min-height: 100svh;
  background:
    radial-gradient(1100px 720px at 82% -12%, rgba(139,92,246,.30), transparent 62%),
    radial-gradient(940px 660px at -8% 108%, rgba(56,189,248,.17), transparent 62%),
    radial-gradient(760px 560px at 55% 118%, rgba(236,72,153,.13), transparent 65%),
    #0a0714;
}
#heroCanvas { position: absolute; inset: 0; z-index: 1; opacity: .85; }
.constellation-canvas {
  position: absolute; inset: 0;
  z-index: 0; opacity: .6;
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 3; width: 100%; }

.aurora { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.aurora__blob { position: absolute; width: clamp(340px, 74vmin, 780px); aspect-ratio: 1; border-radius: 50%; will-change: transform; }
.aurora__blob::after { content: ""; position: absolute; inset: -20%; border-radius: 50%; filter: blur(90px); opacity: .5; }
.aurora__blob--1 { top: -14%; left: -10%; }
.aurora__blob--1::after { background: radial-gradient(circle, #7c3aed, transparent 65%); animation: drift1 26s ease-in-out infinite alternate; }
.aurora__blob--2 { top: 16%; right: -16%; }
.aurora__blob--2::after { background: radial-gradient(circle, #0e7490, transparent 65%); animation: drift2 32s ease-in-out infinite alternate; }
.aurora__blob--3 { bottom: -22%; left: 28%; }
.aurora__blob--3::after { background: radial-gradient(circle, #be185d, transparent 62%); opacity: .38; animation: drift3 29s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(9%, 12%) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-10%, 10%) scale(1.08); } }
@keyframes drift3 { to { transform: translate(6%, -14%) scale(1.2); } }

.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px; margin-bottom: clamp(24px, 4vh, 44px);
  border: 1px solid var(--line); border-radius: 99px;
  background: rgba(255,255,255,.03); backdrop-filter: blur(8px);
  font-size: 13px; color: var(--muted);
}
.pulse-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #34d399; flex: none; }
.pulse-dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: inherit; animation: pulse 2s ease-out infinite;
}
@keyframes pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(3.4); opacity: 0; } }

.hero__title {
  font-size: clamp(3rem, 10.5vw, 7rem); font-weight: 700;
  text-transform: uppercase; line-height: .96; letter-spacing: -0.025em;
  margin-bottom: clamp(24px, 4vh, 42px);
}
.h-word--outline { color: transparent; -webkit-text-stroke: 1.5px rgba(244,244,246,.92); }
@supports not (-webkit-text-stroke: 1px #fff) { .h-word--outline { color: var(--muted); } }

.hero__sub { max-width: 545px; font-size: clamp(1rem, 1.4vw, 1.16rem); color: var(--muted); margin-bottom: clamp(28px, 4.5vh, 46px); }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__meta {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
  margin-top: clamp(48px, 9vh, 96px); padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 13px; color: var(--muted); line-height: 1.55;
}
.scroll-hint { display: flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; }
.mouse { display: block; position: relative; width: 20px; height: 32px; border: 1.5px solid var(--faint); border-radius: 12px; }
.mouse b {
  position: absolute; left: 50%; top: 6px; width: 3px; height: 7px; margin-left: -1.5px;
  border-radius: 3px; background: var(--accent);
  animation: wheel 1.9s ease-in-out infinite;
}
@keyframes wheel {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(11px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ── Marquee ────────────────────────────────────────────── */
.marquee {
  overflow: hidden; padding-block: clamp(18px, 3vh, 30px);
  border-block: 1px solid var(--line); background: rgba(255,255,255,.015);
}
.marquee__track {
  display: flex; width: max-content; will-change: transform;
  transform: translate3d(0, 0, 0); /* position scrubbed by js/app.js */
}
.marquee__group {
  display: flex; align-items: center; white-space: nowrap;
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  font-size: clamp(2rem, 2.6vw, 2.6rem); letter-spacing: -0.01em;
}
.marquee__group span { padding-inline: .38em; }
.marquee__group i { font-style: normal; color: var(--accent); font-size: .5em; transition: color .4s; }
/* ── Services ───────────────────────────────────────────── */
.container--narrow { max-width: 920px; }
.services__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 20px);
}
.service {
  position: relative; display: flex; flex-direction: column;
  gap: 14px;
  padding: clamp(20px, 2vw, 28px);
  padding-top: clamp(52px, 4vw, 64px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(165deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  overflow: hidden;
}
@media (max-width: 1100px) {
  .services__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .services__list { grid-template-columns: 1fr; }
}
.service::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--accent-soft), transparent 72%);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .5s var(--ease-out);
}
.service:hover::before { transform: scaleY(1); }
.service > * { position: relative; }
.service__num { font-family: var(--font-display); font-size: 12px; letter-spacing: .14em; color: var(--faint); }
.service h3 { font-size: clamp(1.05rem, 1.4vw, 1.2rem); margin-bottom: 8px; transition: transform .45s var(--ease-out); }
.service:hover h3 { transform: translateX(10px); }
.service__main { padding-right: 4px; }
.service__main > p { max-width: 58ch; color: var(--muted); font-size: 13.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.chips li {
  font-size: 11.5px; padding: 5px 11px; border-radius: 99px;
  border: 1px solid var(--line); background: rgba(255,255,255,.02); color: var(--muted);
  transition: border-color .3s, color .3s;
}
.service:hover .chips li, .step:hover .chips li { border-color: rgba(255,255,255,.18); color: var(--ink); }
.service__arrow {
  position: absolute; top: clamp(18px, 1.8vw, 26px); right: clamp(18px, 1.8vw, 26px);
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink);
  transition: background-color .35s, border-color .35s, color .35s, transform .5s var(--ease-out);
}
.service:hover .service__arrow {
  background: var(--accent); border-color: transparent; color: var(--on-accent);
  transform: translate(5px, -5px);
}

/* ── Work grid ──────────────────────────────────────────── */
.work__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(22px, 3.4vw, 46px) clamp(20px, 3vw, 42px); }
.project { outline-offset: 8px; }
.project:nth-child(odd)  { grid-column: span 7; }
.project:nth-child(even) { grid-column: span 5; margin-top: clamp(30px, 8vw, 120px); }
.project:nth-child(even) .project__media { aspect-ratio: 4 / 4.6; }
.project__media {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius);
  overflow: hidden; display: grid; place-items: center;
  border: 1px solid var(--line);
  will-change: transform;
}
.g1 { background: linear-gradient(135deg, #191033 0%, #0c0c1a 62%); --pa: #8b5cf6; }
.g2 { background: linear-gradient(135deg, #301a26 0%, #160b14 62%); --pa: #ec4899; }
.g3 { background: linear-gradient(135deg, #0e1c33 0%, #0a1018 62%); --pa: #38bdf8; }
.g4 { background: linear-gradient(135deg, #14232a 0%, #0a1416 62%); --pa: #2dd4bf; }
.g5 { background: linear-gradient(135deg, #23182b 0%, #120c17 62%); --pa: #c084fc; }
.g6 { background: linear-gradient(135deg, #2a2110 0%, #151009 62%); --pa: #f59e0b; }
.g7 { background: linear-gradient(135deg, #1c1a17 0%, #0d0c0b 62%); --pa: #d4af37; }
.g8 { background: linear-gradient(135deg, #2b1608 0%, #140a04 62%); --pa: #f97316; }
.project__media::before {
  content: ""; position: absolute; width: 68%; aspect-ratio: 1; border-radius: 50%;
  top: -22%; left: -14%;
  background: radial-gradient(circle, var(--pa), transparent 66%);
  filter: blur(58px); opacity: .75;
  transition: transform .9s var(--ease-out), opacity .5s;
}
.project__media::after {
  content: ""; position: absolute; inset: 16%;
  border: 1px solid rgba(255,255,255,.13); border-radius: 50%;
  transition: inset .6s var(--ease-out), border-color .4s;
}
.project:hover .project__media::before { transform: scale(1.28) translate(9%, 12%); opacity: .95; }
.project:hover .project__media::after { inset: 21%; border-color: rgba(255,255,255,.28); }
.project__glyph {
  position: relative; z-index: 1;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(5rem, 11vw, 9.5rem); line-height: 1;
  color: rgba(255,255,255,.09); letter-spacing: -0.04em;
  transition: transform .7s var(--ease-out), color .5s;
}
.project:hover .project__glyph { transform: translateY(-8px) scale(1.04); color: rgba(255,255,255,.16); }
.project__view {
  position: absolute; z-index: 2; right: 18px; bottom: 18px;
  padding: 12px 20px; border-radius: 99px;
  background: var(--ink); color: #0a0a10;
  font-family: var(--font-display); font-weight: 600; font-size: 13.5px;
  transform: translateY(140%) rotate(-4deg); transform-origin: bottom right;
  transition: transform .55s cubic-bezier(.34,1.56,.64,1);
}
.project:hover .project__view { transform: translateY(0) rotate(0); }
.project__info { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 20px; }
.project__info h3 { font-size: 1.35rem; margin-bottom: 4px; }
.project__info p { font-size: 14px; color: var(--muted); }
.project__year { font-family: var(--font-display); font-size: 13px; color: var(--faint); white-space: nowrap; }

/* ── Real photos inside cards & modal ───────────────────── */
.project__photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform .9s var(--ease-out);
  will-change: transform;
}
.project:hover .project__photo,
.project:focus-visible .project__photo { transform: scale(1.07); }
.modal__media img {
    position: relative;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}
/* ── Case study modal ───────────────────────────────────── */
.modal {
  position: fixed; inset: 0; z-index: 3000;
  display: grid; place-items: center; padding: 24px;
  visibility: hidden; transition: visibility 0s .55s;
}
.modal.open { visibility: visible; transition-delay: 0s; }
.modal__backdrop {
  position: absolute; inset: 0; background: rgba(3,3,6,.72);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  opacity: 0; transition: opacity .45s;
}
.modal.open .modal__backdrop { opacity: 1; }
.modal__box {
  position: relative; width: min(920px, 100%);
  max-height: min(88vh, 880px); overflow: auto;
  background: #0b0b12; border: 1px solid var(--line); border-radius: 28px;
  transform: translateY(46px) scale(.97); opacity: 0;
  transition: transform .55s var(--ease-out), opacity .45s;
}
.modal.open .modal__box { transform: none; opacity: 1; }
.modal__close {
  position: absolute; top: 16px; right: 16px; z-index: 5;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(10,10,16,.6); border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--ink);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background-color .3s, color .3s, transform .4s var(--ease-out);
}
.modal__close:hover { background: var(--accent); color: var(--on-accent); transform: rotate(90deg); }
.modal__media { position: relative; aspect-ratio: 16 / 7; display: grid; place-items: center; overflow: hidden; }
.modal__media::before {
  content: ""; position: absolute; width: 62%; aspect-ratio: 1; border-radius: 50%;
  top: -32%; left: -12%;
  background: radial-gradient(circle, var(--pa), transparent 66%);
  filter: blur(70px); opacity: .8;
}
.modal__glyph {
  font-family: var(--font-display); font-weight: 700; line-height: 1;
  font-size: clamp(6rem, 14vw, 11rem); color: rgba(255,255,255,.1); letter-spacing: -.04em;
}
.modal__body { padding: clamp(24px, 4vw, 44px); }
.modal__meta {
  font-family: var(--font-display); font-size: 13px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 14px;
}
.modal__body h3 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 16px; }
.modal__desc { color: var(--muted); max-width: 64ch; margin-bottom: 30px; }
.modal__results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 34px; }
.modal__results li {
  list-style: none; border: 1px solid var(--line); border-radius: 18px;
  padding: 18px 16px; background: rgba(255,255,255,.02);
}
.modal__results strong {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem); letter-spacing: -.02em; margin-bottom: 4px;
}
.modal__results span { font-size: 13px; color: var(--muted); }

/* ── Process ────────────────────────────────────────────── */
.manifesto {
  font-family: var(--font-display); letter-spacing: -.01em;
  font-size: clamp(1.25rem, 2.6vw, 1.4rem); line-height: 1.45;
  color: rgba(244,244,246,.86); max-width: 38ch;
  margin-bottom: clamp(56px, 9vh, 110px);
}
.steps {
  position: relative;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 38px);
}
.step {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 14px;
  padding: clamp(24px, 3vw, 36px);
  background: linear-gradient(165deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  border: 1px solid var(--line); border-radius: 28px;
  transition: transform .45s var(--ease-out), border-color .35s, box-shadow .35s;
}
.step__num {
  width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(0,0,0,.45);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 600; color: var(--accent);
  position: relative; z-index: 1;
  transition: border-color .35s, box-shadow .35s;
}
.step:hover .step__num { border-color: var(--accent); box-shadow: 0 0 0 6px var(--accent-soft); }
.step h3 { font-size: clamp(1.3rem, 2.3vw, 1.75rem); margin-bottom: 8px; }
.step p { color: var(--muted); max-width: 54ch; }
.step .chips { margin-top: 14px; }

/* ── Stats ──────────────────────────────────────────────── */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(64px, 10vh, 120px);
  padding-top: clamp(40px, 6vh, 64px);
  border-top: 1px solid var(--line);
}
.stat__value { font-size: clamp(2.4rem, 5.5vw, 4.3rem); font-weight: 700; letter-spacing: -.03em; }
.stat p { color: var(--muted); font-size: 14px; margin-top: 10px; }
/* ── Testimonials — draggable card deck ─────────────────── */
.testimonials { overflow: hidden; }
.t-mark {
  position: absolute; z-index: 0; pointer-events: none; user-select: none;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(9rem, 24vw, 19rem); line-height: .78;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.055);
}
.t-mark--l { left: -1%; top: -2%; }
.t-mark--r { right: -1%; bottom: -4%; }

.deck {
  position: relative; z-index: 1;
  height: clamp(430px, 54vh, 540px);
  perspective: 1400px; touch-action: pan-y;
}
.slide {
  position: absolute; top: 0;
  width: min(560px, calc(50% - 14px)); height: 100%;
  padding: clamp(28px, 5vw, 46px);
  display: flex; flex-direction: column; justify-content: center;
  list-style: none;
  background: linear-gradient(160deg, rgb(20 20 32 / 14%), rgba(12, 12, 20, .78));
  border: 1px solid var(--line); border-radius: 30px;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 34px 70px -30px rgba(0, 0, 0, .55);
  transform-origin: 50% 100%;
  transition: transform .6s var(--ease-out), opacity .45s ease, box-shadow .4s ease;
  will-change: transform, opacity;
}
.slide.is-top { cursor: grab; border-color: rgba(255,255,255,.14); }
.slide.pos-r.is-top { cursor: grab; }
.slide.dragging { cursor: grabbing; transition: none !important; }
.slide.pos-l { left: 0; right: auto; }
.slide.pos-r { left: auto; right: 0; }
.slide.is-hidden {
  opacity: 0 !important; pointer-events: none !important;
  transform: translateY(34px) scale(.92);
}
@media (max-width: 900px) {
  .deck { height: clamp(420px, 58vh, 500px); }
  .slide { width: 100%; }
  .slide.pos-r { display: none; }
}
.slide::before {
  content: "\201C"; position: absolute; top: 12px; left: 28px;
  font-family: var(--font-display); font-size: 5rem; line-height: 1;
  color: var(--accent); opacity: .9;
}
.slide.is-top:hover { box-shadow: 0 44px 90px -30px rgba(0,0,0,.65); }
.slide blockquote {
  margin-top: 40px;
  font-family: var(--font-display); font-weight: 500; text-align: left;
  font-size: clamp(1.15rem, 2.3vw, 1.32rem); line-height: 1.42; letter-spacing: -.01em;
}
.slide figcaption {
    margin-top: 30px;
    padding-top: 22px;
    display: flex; align-items: center; gap: 14px;
}
.avatar {
  width: 52px; height: 52px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 600; font-size: 14px; color: #0a0a10;
}
.av1 { background: linear-gradient(135deg, #fda4af, #fb7185); }
.av2 { background: linear-gradient(135deg, #93c5fd, #38bdf8); }
.av3 { background: linear-gradient(135deg, #f9a8d4, #ec4899); }
.av4 { background: linear-gradient(135deg, #86efac, #34d399); }
.slide .name { font-weight: 600; font-size: 15px; }
.slide .role { font-size: 13px; color: var(--muted); }

.slider__nav { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 44px; position: relative; z-index: 1; }
.slider__arrow {
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted);
  transition: border-color .3s, color .3s, background-color .3s, transform .3s;
}
.slider__arrow:hover { border-color: var(--accent); color: var(--ink); background: var(--accent-soft); transform: scale(1.06); }
.slider__dots { display: flex; gap: 6px; }
.slider__dot {
  width: 26px; height: 4px; padding: 0; border-radius: 99px;
  background: rgba(255,255,255,.18);
  transition: width .45s var(--ease-out), background-color .3s;
}
.slider__dot.active { width: 44px; background: var(--accent); }

/* ── FAQ — sticky intro + numbered glass cards ──────────── */
.faq-grid {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    /* gap: clamp(40px, 6vw, 96px); */
    align-items: start;
    margin-top: 30px;
    padding-top: 30px;
}
.faq-side { position: sticky; top: 130px; }
.faq-side .section-title { margin-bottom: 22px; }
.faq-note { color: var(--muted); max-width: 38ch; margin-bottom: 30px; }
.faq-cta {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 22px; border-radius: 18px;
  border: 1px solid var(--line); background: rgba(255,255,255,.03);
  color: var(--muted); font-size: 13.5px; line-height: 1.45;
  transition: border-color .3s, background-color .3s, transform .35s var(--ease-out);
}
.faq-cta b { color: var(--ink); font-weight: 600; }
.faq-cta:hover {
  border-color: var(--accent); background: var(--accent-soft);
  color: var(--ink); transform: translateY(-3px);
}
.fq-badge {
  width: 42px; height: 42px; border-radius: 12px; flex: none;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 19px;
  color: var(--on-accent); background: var(--accent);
  box-shadow: 0 10px 26px -8px var(--accent-glow);
}

.accordion { counter-reset: q; }
.accordion.has-open .acc:not(.open) { opacity: .5; transform: scale(.985); }
.acc {
  position: relative;
  border: 1px solid var(--line); border-radius: 20px;
  background: rgba(255,255,255,.02);
  margin-bottom: 14px; overflow: hidden;
  transition: opacity .4s ease, transform .45s var(--ease-out),
              border-color .3s, background-color .3s, box-shadow .3s;
}
.acc.open {
  border-color: rgba(255,255,255,.22);
  background: rgba(255,255,255,.04);
  box-shadow: 0 30px 60px -32px rgba(0,0,0,.55);
}
.acc__btn {
  width: 100%; display: flex; align-items: center;
  gap: 18px; padding: 24px 26px; text-align: left;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.05rem, 2vw, 1.3rem); letter-spacing: -.01em; color: var(--ink);
  transition: color .3s;
}
.acc__btn::before {
  content: "0" counter(q); counter-increment: q;
  font-family: var(--font-display); font-weight: 600; font-size: 12.5px;
  letter-spacing: .1em; color: var(--faint);
  transition: color .3s;
}
.acc:hover .acc__btn::before,
.acc.open .acc__btn::before { color: var(--accent); }
.acc__btn > span:first-of-type { flex: 1; }
.acc__icon {
  position: relative; flex: none; width: 36px; height: 36px;
  border: 1px solid var(--line); border-radius: 50%;
  transition: transform .5s var(--ease-out), background-color .3s, border-color .3s;
}
.acc__icon::before, .acc__icon::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 13px; height: 1.6px; background: currentColor;
  transform: translate(-50%, -50%);
}
.acc__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc.open .acc__icon { transform: rotate(45deg); border-color: var(--accent); background: var(--accent-soft); }
.acc__panel { max-height: 0; overflow: hidden; transition: max-height .55s var(--ease-out); }
.acc__panel p { padding: 0 26px 26px 70px; color: var(--muted); max-width: 60ch; }

@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; gap: 36px; }
  .faq-side { position: static; }
  .faq-cta { width: 100%; }
  .acc__panel p { padding-left: 26px; }
}
/* ── CTA / Contact ──────────────────────────────────────── */
.cta__wrap { text-align: center; display: flex; flex-direction: column; align-items: center; }
.cta__title {
  font-size: clamp(2.6rem, 8.5vw, 7rem); font-weight: 700;
  text-transform: uppercase; line-height: 1.02; letter-spacing: -.02em;
  margin-bottom: 26px;
}
.cta-line { display: block; }
.cta-line--outline { color: transparent; -webkit-text-stroke: 1.5px rgba(244,244,246,.92); }
@supports not (-webkit-text-stroke: 1px #fff) { .cta-line--outline { color: var(--muted); } }
.cta__note { color: var(--muted); font-size: 14px; margin-bottom: 36px; }
.cta__mail {
  position: relative; margin-bottom: 46px;
  font-family: var(--font-display); font-weight: 600; letter-spacing: -.02em;
  font-size: clamp(1.5rem, 4.5vw, 3rem);
  transition: color .3s;
}
.cta__mail em {
  display: block; font-style: normal; margin-top: 10px;
  font-family: var(--font-body); font-size: 12px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--faint);
  transition: color .3s;
}
.cta__mail::after {
  content: ""; position: absolute; left: 0; bottom: -12px;
  height: 2px; width: 100%;
  background: linear-gradient(90deg, var(--accent), transparent);
  transform: scaleX(.25); transform-origin: left;
  transition: transform .65s var(--ease-out);
}
.cta__mail:hover::after { transform: scaleX(1); }
.cta__mail.copied, .cta__mail.copied em { color: var(--accent); }
.cta__actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ── Footer ─────────────────────────────────────────────── */
.footer { padding-block: clamp(70px, 10vh, 115px) 36px; border-top: 1px solid var(--line); }
.footer__top {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px; flex-wrap: wrap; margin-bottom: clamp(48px, 7vh, 84px);
}
.footer__logo { font-size: clamp(3rem, 9vw, 6.5rem); font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.footer__logo span { color: var(--accent); font-size: .35em; vertical-align: super; }
.footer__tag { color: var(--muted); text-align: right; }
.footer__grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px;
  padding-block: 46px; border-top: 1px solid var(--line);
}
.footer__col h4 {
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
  letter-spacing: .2em; text-transform: uppercase; color: var(--faint);
  margin-bottom: 18px;
}
.footer__col li { margin-bottom: 11px; font-size: 14.5px; color: var(--muted); }
.footer__col a { color: var(--muted); transition: color .3s; }
.footer__col a:hover { color: var(--ink); }
.footer__bar {
  display: flex; justify-content: space-between; align-items: center;
  gap: 18px; flex-wrap: wrap; padding-top: 28px;
  border-top: 1px solid var(--line); font-size: 13px; color: var(--faint);
}
.footer__time { font-family: var(--font-display); letter-spacing: .08em; color: var(--muted); }
.toTop {
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink);
  transition: background-color .3s, color .3s, border-color .3s, transform .35s var(--ease-out);
}
.toTop:hover { background: var(--accent); border-color: transparent; color: var(--on-accent); transform: translateY(-5px); }
/* ═══════════════════════════════════════════════════════════
   PER-SECTION SIGNATURE ANIMATIONS
   Each screen enters with its own choreography:
   services are dealt in from the sides · work zooms up and
   straightens · the process spine draws itself · the manifesto
   condenses out of a blur · stats strike an underline · quotes
   flip in · FAQ drops from above · the CTA halves slam together
   under a light burst · the footer signs its name.
   ═══════════════════════════════════════════════════════════ */

/* ── Marquee: center-out wipe ── */
.marquee.reveal-wipe { clip-path: inset(0 46% 0 46%); transition: clip-path 1.15s var(--ease-out) .05s; will-change: clip-path; }
.marquee.reveal-wipe.in-view { clip-path: inset(0 0% 0 0%); }

/* ── Services: dealt in from alternating sides ── */
.services__list .service:nth-child(odd)  { transform: translateX(-64px) rotate(-1.2deg); }
.services__list .service:nth-child(even) { transform: translateX(64px) rotate(1.2deg); }
.services__list .service.reveal         { transition-duration: .55s, .85s; }
.services__list .service.reveal.in-view { transform: none; }
.services__list .service:nth-child(2) { transition-delay: .07s }
.services__list .service:nth-child(3) { transition-delay: .14s }
.services__list .service:nth-child(4) { transition-delay: .21s }
.services__list .service:nth-child(5) { transition-delay: .28s }
.services__list .service:nth-child(6) { transition-delay: .35s }
.services__list .service:nth-child(7) { transition-delay: .42s }
.services__list .service:nth-child(8) { transition-delay: .49s }

/* ── Work: zoom up from below, straighten mid-air ── */
.work__grid .project:nth-child(odd)  { transform: translateY(96px) scale(.93); }
.work__grid .project:nth-child(even) { transform: translateY(128px) scale(.93) rotate(2.5deg); }
.work__grid .project.reveal          { transition-duration: .7s, 1.1s; }
.work__grid .project.reveal.in-view  { transform: none; }

/* ── Process: cards deal in from both sides (two rows) ── */
.steps .step:nth-child(odd)  { transform: translateY(46px) rotate(-1.1deg); }
.steps .step:nth-child(even) { transform: translateY(70px) rotate(1.1deg); }
.steps .step.reveal          { transition-duration: .55s, .85s; }
.steps .step.reveal.in-view  { transform: none; }
.steps .step:nth-child(2) { transition-delay: .08s }
.steps .step:nth-child(3) { transition-delay: .16s }
.steps .step:nth-child(4) { transition-delay: .24s }
.steps .step.reveal.in-view .step__num { animation: numPop .6s var(--ease-out) both; }
@keyframes numPop {
  0%   { transform: scale(.4); opacity: 0 }
  60%  { transform: scale(1.12) }
  100% { transform: scale(1); opacity: 1 }
}
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
  .steps .step:nth-child(odd),
  .steps .step:nth-child(even) { transform: translateY(42px) }
}

/* ── Manifesto: condenses out of a blur ── */
.manifesto .w { filter: blur(12px); transition: transform 1s var(--ease-out), filter 1.25s ease; }
.manifesto.in-view .w { filter: blur(0); }
/* ── Stats: underline strike + value pop ── */
.stat::after {
  content: ""; display: block; height: 2px; margin-top: 18px;
  background: linear-gradient(90deg, var(--accent), transparent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.1s var(--ease-out) .4s;
}
.stat.in-view::after { transform: scaleX(1); }
.stat__value.done { animation: statPop .7s var(--ease-out); }
@keyframes statPop {
  0%   { transform: scale(1) }
  35%  { transform: scale(1.16); color: var(--accent) }
  100% { transform: scale(1) }
}

/* ── Testimonials: the whole card flips up ── */
.reveal-flip {
  opacity: 0;
  transform: perspective(1300px) rotateX(16deg) translateY(52px);
  transform-origin: 50% 100%;
  transition: opacity .9s ease, transform 1.1s var(--ease-out);
}
.reveal-flip.in-view { opacity: 1; transform: none; }

/* ── FAQ: items drop in from above ── */
.accordion .acc { transform: translateY(-30px); }
.accordion .acc.reveal.in-view { transform: none; }

/* ── CTA: halves collide + light burst ── */
.cta__wrap { position: relative; }
.cta__wrap::before {
  content: ""; position: absolute; left: 50%; top: 34%;
  width: min(880px, 92vw); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow), transparent 62%);
  filter: blur(46px); opacity: 0; pointer-events: none;
  transform: translate(-50%, -50%) scale(.25);
}
.section.cta.in-view .cta__wrap::before { animation: flashBurst 1.6s var(--ease-out) .3s both; }
@keyframes flashBurst {
  0%   { opacity: 0;  transform: translate(-50%, -50%) scale(.25) }
  22%  { opacity: .9 }
  100% { opacity: 0;  transform: translate(-50%, -50%) scale(1.7) }
}
.cta__wrap > * { position: relative; z-index: 1; }
.cta__title .cta-line { transition-duration: 1s, 1.3s; }
.cta__title .cta-line:nth-child(1) { transform: translate3d(-120px, -26px, 0) rotate(-2.5deg); }
.cta__title .cta-line:nth-child(2) { transform: translate3d(120px, 26px, 0) rotate(2.5deg); }
.cta__title .cta-line.reveal.in-view { transform: none; }

/* ── Footer: signs its name ── */
.footer { position: relative; }
.footer::before {
  content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: scaleX(0); transition: transform 1.7s var(--ease-out);
}
.footer.in-view::before { transform: scaleX(1); }
.footer .footer__logo {
  opacity: 0; letter-spacing: .1em;
  transition: opacity .9s ease .1s, letter-spacing 1.5s var(--ease-out) .1s;
}
.footer.in-view .footer__logo { opacity: 1; letter-spacing: -.04em; }
.footer .footer__col { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .9s var(--ease-out); }
.footer__col:nth-child(1) { transition-delay: .15s }
.footer__col:nth-child(2) { transition-delay: .27s }
.footer__col:nth-child(3) { transition-delay: .39s }
.footer.in-view .footer__col { opacity: 1; transform: none; }
.footer .footer__bar { opacity: 0; transition: opacity 1s ease .5s; }
.footer.in-view .footer__bar { opacity: 1; }

/* Reduced-motion overrides intentionally removed:
   this showcase always plays its full choreography. */


/* ── Language switcher ──────────────────────────────────── */
.lang { position: relative; }
.lang__btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 99px;
  border: 1px solid var(--line); background: rgba(255,255,255,.03);
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
  letter-spacing: .08em; color: var(--ink);
  transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.lang__btn:hover {
  border-color: var(--accent); background: var(--accent-soft);
  box-shadow: 0 0 22px -6px var(--accent-glow);
}
.lang__globe { transition: transform .8s var(--ease-out); }
.lang__btn:hover .lang__globe { transform: rotate(180deg) scale(1.08); }
.lang__chev { transition: transform .35s var(--ease-out); opacity: .7; }
.lang.open .lang__chev { transform: rotate(180deg); }
.lang__code { min-width: 20px; text-align: left; }

.lang__panel {
  position: absolute; top: calc(100% + 12px); right: 0;
  min-width: 230px; padding: 8px;
  background: rgba(11, 11, 19, 0.92);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .65);
  opacity: 0; transform: translateY(-10px) scale(.95);
  transform-origin: top right; pointer-events: none;
  transition: opacity .3s ease, transform .38s var(--ease-out), visibility 0s .38s;
  visibility: hidden; z-index: 1700;
}
.lang.open .lang__panel {
  opacity: 1; transform: none; pointer-events: auto;
  visibility: visible; transition-delay: 0s;
}
.lang__row {
  width: 100%; display: flex; align-items: center; gap: 11px;
  padding: 10px 12px; border-radius: 12px; text-align: left;
  font-size: 14px; color: var(--muted);
  opacity: 0; transform: translateX(-14px);
  transition: opacity .35s ease, transform .45s var(--ease-out),
              background-color .25s, color .25s;
}
.lang.open .lang__row { opacity: 1; transform: none; }
.lang.open .lang__row:nth-child(1) { transition-delay: .05s, .05s, 0s, 0s }
.lang.open .lang__row:nth-child(2) { transition-delay: .09s, .09s, 0s, 0s }
.lang.open .lang__row:nth-child(3) { transition-delay: .13s, .13s, 0s, 0s }
.lang.open .lang__row:nth-child(4) { transition-delay: .17s, .17s, 0s, 0s }
.lang.open .lang__row:nth-child(5) { transition-delay: .21s, .21s, 0s, 0s }
.lang.open .lang__row:nth-child(6) { transition-delay: .25s, .25s, 0s, 0s }
.lang.open .lang__row:nth-child(7) { transition-delay: .29s, .29s, 0s, 0s }
.lang__row:hover { background: rgba(255,255,255,.05); color: var(--ink); }
.lang__dot {
  width: 7px; height: 7px; border-radius: 50%; flex: none;
  border: 1px solid var(--faint);
  transition: background-color .3s, box-shadow .3s, border-color .3s;
}
.lang__row.active .lang__dot {
  background: var(--accent); border-color: transparent;
  box-shadow: 0 0 10px var(--accent-glow);
  animation: dotPulse 2.2s ease-out infinite;
}
@keyframes dotPulse {
  0% { box-shadow: 0 0 0 0 var(--accent-glow) }
  70% { box-shadow: 0 0 0 8px transparent }
  100% { box-shadow: 0 0 0 0 transparent }
}
.lang__row b {
  font-family: var(--font-display); font-weight: 600;
  font-size: 12px; letter-spacing: .06em; width: 34px; flex: none;
  color: var(--ink); text-transform: uppercase;
}
.lang__row.active { color: var(--ink); }

/* ── Char cascade for split titles ──────────────────────── */
html.anim-ready [data-split]:not([data-split="words"]) .cm {
  display: inline-block; overflow: hidden; vertical-align: top;
  padding-bottom: .15em; margin-bottom: -.15em;
}
html.anim-ready [data-split]:not([data-split="words"]) .c {
  display: inline-block; opacity: 0;
  transform: translateY(118%) rotateX(-70deg);
  transform-origin: 50% 100%;
  transition: transform .9s var(--ease-out), opacity .5s ease;
  will-change: transform;
}
html.anim-ready [data-split].in-view:not([data-split="words"]) .c {
  transform: none; opacity: 1;
}

/* ── Section energy line (transition between screens) ──── */
.section::before {
  content: ""; position: absolute; top: -1px; left: 0; right: 0;
  height: 2px; z-index: 2;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: scaleX(0);
  transition: transform 1.5s var(--ease-out) .05s;
}
.section.in-view::before { transform: scaleX(1); }

/* ── Dots navigation ────────────────────────────────────── */
.dots-nav {
  position: fixed; right: 22px; top: 50%; transform: translateY(-50%);
  z-index: 1400; display: flex; flex-direction: column; gap: 14px;
}
.dots-nav button {
  width: 10px; height: 10px; padding: 0; border-radius: 50%;
  border: 1px solid var(--faint); background: transparent;
  position: relative;
  transition: background-color .35s, border-color .35s,
              box-shadow .35s, transform .35s var(--ease-out);
}
.dots-nav button:hover { transform: scale(1.45); border-color: var(--accent); }
.dots-nav button.active {
  background: var(--accent); border-color: var(--accent);
  box-shadow: 0 0 14px var(--accent-glow); transform: scale(1.25);
}
.dots-nav button span {
  position: absolute; right: 20px; top: 50%;
  transform: translateY(-50%) translateX(10px);
  white-space: nowrap; font-family: var(--font-display);
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .35s var(--ease-out);
}
.dots-nav button:hover span { opacity: 1; transform: translateY(-50%); }
@media (max-width: 1100px) { .dots-nav { display: none; } }

/* ── Orbital work carousel ──────────────────────────────── */
.reveal-orbit { opacity: 0; transform: scale(.93) rotate(-8deg); transition: opacity 1s ease, transform 1.25s var(--ease-out); }
.reveal-orbit.in-view { opacity: 1; transform: none; }

.orbit {
  position: relative;
  width: min(1120px, 100%); aspect-ratio: 1 / 1;
  margin-inline: auto;
}
.orbit::before {
  content: ""; position: absolute; inset: 7%;
  border: 1px dashed rgba(255,255,255,.16); border-radius: 50%;
}
.orbit::after {
  content: ""; position: absolute; inset: -4%; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft), transparent 62%);
  filter: blur(46px); opacity: .55; pointer-events: none;
}
.orbit .project {
  position: absolute; left: 50%; top: 50%;
  width: clamp(185px, 24vw, 270px);
  margin: 0; z-index: 1; will-change: transform;
  transition: box-shadow .4s;
}
.orbit .project:hover, .orbit .project:focus-visible {
  z-index: 60;
  filter: drop-shadow(0 34px 46px rgba(0, 0, 0, .5));
}
.orbit .project__media { aspect-ratio: 1 / 1; border-radius: 28px; }
.orbit .project__view { font-size: 12.5px; padding: 10px 16px; }
.orbit .project__info { margin-top: 12px; gap: 8px; }
.orbit .project__info h3 { font-size: 1rem; margin-bottom: 2px; }
.orbit .project__info p { font-size: 12.5px; }
.orbit .project__year { font-size: 12px; }
.orbit .project.fly-out {
  z-index: 2500;
  transition: transform .5s cubic-bezier(.22, 1, .36, 1), box-shadow .5s;
  box-shadow: 0 50px 90px -20px rgba(0, 0, 0, .65);
}

@media (min-width: 901px) {
  .orbit .project__info p,
  .orbit .project__year { display: none; }
  .orbit .project__info { justify-content: center; text-align: center; display: flex; }
}

@media (max-width: 900px) {
  .orbit {
    width: 100%; aspect-ratio: auto;
    display: flex; flex-direction: column; gap: 40px;
  }
  .orbit::before, .orbit::after { display: none; }
  .orbit .project {
    position: relative; left: auto; top: auto;
    width: 100%; transform: none !important;
  }
  .orbit .project__media { aspect-ratio: 16 / 10; border-radius: 20px; }
  .orbit .project__info p,
  .orbit .project__year { display: block; }
}

/* ── Contact page ───────────────────────────────────────── */
.nav__links a.active { color: var(--ink); }
.nav__links a.active::after { transform: scaleX(1); }

.page-hero { padding-block: clamp(150px, 22vh, 220px) clamp(60px, 9vh, 120px); overflow: visible; }
.page-title { font-size: clamp(2.6rem, 6.5vw, 5.4rem); letter-spacing: -.03em; margin-bottom: clamp(20px, 3vh, 32px); max-width: 18ch; }
.page-sub { max-width: 560px; color: var(--muted); font-size: clamp(1rem, 1.35vw, 1.15rem); margin-bottom: clamp(30px, 4vh, 44px); }
.page-meta { display: flex; flex-wrap: wrap; gap: 12px; }
.page-meta p {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 16px; border: 1px solid var(--line); border-radius: 99px;
  font-size: 13px; color: var(--muted); background: rgba(255,255,255,.02);
}

.c-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(34px, 5vw, 70px); align-items: start; }
.form-card {
  position: relative;
  background: linear-gradient(165deg, rgba(22,22,36,.86), rgba(12,12,20,.78));
  border: 1px solid var(--line); border-radius: 30px;
  padding: clamp(28px, 4vw, 48px);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .6);
}
.field { position: relative; margin-bottom: 26px; }
.field input, .field textarea {
  width: 100%; background: transparent; border: none;
  border-bottom: 1px solid var(--line);
  padding: 15px 2px 11px; color: var(--ink);
  font-family: var(--font-body); font-size: 16px; outline: none; border-radius: 0;
  transition: border-color .3s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field label {
  position: absolute; left: 2px; top: 15px; color: var(--muted);
  font-size: 15px; pointer-events: none;
  transition: transform .28s var(--ease-out), color .28s, font-size .28s;
  transform-origin: left top;
}
.field input:focus, .field textarea:focus { border-bottom-color: var(--accent); }
.field input:focus ~ label,
.field textarea:focus ~ label,
.field input:not(:placeholder-shown) ~ label,
.field textarea:not(:placeholder-shown) ~ label {
  transform: translateY(-24px) scale(.76); color: var(--accent);
}
.field .bar {
  position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: linear-gradient(90deg, var(--accent), transparent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease-out);
}
.field:focus-within .bar { transform: scaleX(1); }
.budget-label { display: block; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; font-family: var(--font-display); }
.pills { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.pills input { position: absolute; opacity: 0; pointer-events: none; }
.pills label {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 10px; border: 1px solid var(--line); border-radius: 14px;
  font-family: var(--font-display); font-weight: 500; font-size: 14px; color: var(--muted);
  cursor: pointer; transition: border-color .3s, background-color .3s, color .3s, box-shadow .3s;
}
.pills label:hover { border-color: rgba(255,255,255,.25); color: var(--ink); }
.pills input:checked + label {
  border-color: var(--accent); color: var(--on-accent);
  background: var(--accent); box-shadow: 0 10px 30px -10px var(--accent-glow);
}
.form-submit { width: 100%; justify-content: center; margin-top: 6px; }
.form-note { margin-top: 14px; font-size: 12.5px; color: var(--faint); text-align: center; }
.form-success { text-align: center; padding: clamp(20px, 4vw, 40px) 0; }
.form-success .ok {
  width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 50%;
  border: 1px solid var(--accent); display: grid; place-items: center;
  box-shadow: 0 0 40px -8px var(--accent-glow);
}
.form-success h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 10px; }
.form-success p { color: var(--muted); margin-bottom: 24px; }

.info-stack { display: grid; gap: 18px; }
.info-card {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 26px; border-radius: 24px;
  border: 1px solid var(--line); background: rgba(255,255,255,.02);
  transition: transform .45s var(--ease-out), border-color .3s, background-color .3s;
}
.info-card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.035); }
.info-ico {
  width: 48px; height: 48px; border-radius: 14px; flex: none;
  display: grid; place-items: center; color: var(--on-accent);
  background: var(--accent); box-shadow: 0 12px 30px -10px var(--accent-glow);
}
.info-card h4 { font-family: var(--font-display); font-size: 17px; margin-bottom: 6px; }
.info-card p, .info-card a.plain { color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.info-card a.plain:hover { color: var(--ink); }
.socials-row { display: flex; flex-wrap: wrap; gap: 10px; }
.socials-row a {
  padding: 9px 16px; border-radius: 99px; border: 1px solid var(--line);
  font-size: 13px; color: var(--muted); transition: .3s;
}
.socials-row a:hover { border-color: var(--accent); color: var(--ink); background: var(--accent-soft); }

@media (max-width: 900px) {
  .c-grid { grid-template-columns: 1fr; }
  .pills { grid-template-columns: 1fr 1fr; }
}

/* ── Subpages ───────────────────────────────────────────── */
.footer--mini { padding-block: 46px; }
.footer--mini .footer__bar { border-top: none; padding-top: 0; }
.sub-hero { padding-top: clamp(160px, 24vh, 230px); padding-bottom: clamp(36px, 7vh, 80px); }
.sub-hero .page-meta { margin-top: 28px; }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px; }
.svc-card {
  position: relative; overflow: hidden;
  padding: 34px 30px; border-radius: 26px;
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  transition: transform .45s var(--ease-out), border-color .3s, box-shadow .35s;
}
.svc-card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.22); box-shadow: 0 34px 70px -35px rgba(0,0,0,.55); }
.svc-num {
  position: absolute; top: 16px; right: 22px;
  font-family: var(--font-display); font-weight: 700;
  font-size: 3rem; line-height: 1; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.14);
}
.svc-card h3 { font-size: 1.35rem; margin-bottom: 10px; max-width: 82%; }
.svc-card > p { color: var(--muted); font-size: 14.5px; margin-bottom: 16px; }
.svc-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--accent);
}
.band { text-align: center; }
.band .section-title { margin-inline: auto; }
.band .btn { margin-top: 28px; }

/* ── Floating parallax orbs (site-wide depth) ───────────── */
.float-orb {
  position: absolute; border-radius: 50%;
  pointer-events: none; z-index: 0;
  background: radial-gradient(circle, var(--accent-glow), transparent 64%);
  filter: blur(52px); opacity: .32;
  will-change: transform;
}
.fo-1 { width: clamp(320px, 46vw, 620px); aspect-ratio: 1; top: -10%; right: -7%; }
.fo-2 { width: clamp(280px, 40vw, 540px); aspect-ratio: 1; bottom: -12%; left: -9%; opacity: .26; }
.fo-3 { width: clamp(240px, 32vw, 430px); aspect-ratio: 1; top: 26%; left: 55%; opacity: .2; }
.section > .container { position: relative; z-index: 1; }

/* ── Responsive polish · final pass ─────────────────────── */
.slide { overflow: hidden; }
@media (max-width: 900px) {
  .hero__title { font-size: clamp(2rem, 8.6vw, 3.6rem); }
}
@media (max-width: 600px) {
  .slide { padding: 26px 22px; border-radius: 24px; }
  .slide blockquote { margin-top: 30px; font-size: 1.05rem; }
  .stats { grid-template-columns: 1fr; gap: 22px; }
  .stat::after { margin-top: 12px; }
  .modal__body { padding: 22px; }
  .svc-card { padding: 28px 24px; }
  .footer--mini .footer__bar { flex-direction: column; gap: 12px; text-align: center; }
}

/* ── Overflow guards · final pass ───────────────────────── */
html { overflow-x: clip; }
.section { overflow-x: clip; }
.testimonials { overflow: hidden; }
@media (max-width: 1024px) {
  /* on touch devices the custom scrollbar reads as a stray edge */
  ::-webkit-scrollbar { width: 0; height: 0; }
  * { scrollbar-width: none; }
}

/* ── Messenger dock (floating, all pages) ───────────────── */
.msgr-dock {
  position: fixed; left: 18px; bottom: 18px; z-index: 1400;
  display: flex; flex-direction: column; gap: 10px;
}
.msgr {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  color: rgba(244, 244, 246, .85);
  position: relative;
  background: rgba(10, 10, 18, .72);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 12px 28px -12px rgba(0, 0, 0, .6);
  transition: transform .35s var(--ease-out), box-shadow .35s,
              color .3s, border-color .3s, background-color .3s;
}
.msgr:hover {
  color: var(--accent); border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-4px);
  box-shadow: 0 0 26px -6px var(--accent-glow), 0 12px 28px -12px rgba(0, 0, 0, .6);
}
.msgr svg { width: 21px; height: 21px; fill: currentColor; }
.msgr span {
  position: absolute; left: 56px; top: 50%;
  transform: translateY(-50%) translateX(-6px);
  white-space: nowrap; background: rgba(10,10,18,.92);
  border: 1px solid var(--line); padding: 6px 12px; border-radius: 10px;
  font-size: 12px; font-family: var(--font-display); letter-spacing: .04em;
  color: var(--ink); opacity: 0; pointer-events: none;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: opacity .25s, transform .3s var(--ease-out);
}
.msgr:hover span { opacity: 1; transform: translateY(-50%); }
@media (max-width: 600px) {
  .msgr-dock { left: auto; right: 14px; bottom: 14px; flex-direction: row; gap: 8px; }
  .msgr { width: 42px; height: 42px; }
  .msgr span { display: none; }
}
@media (max-width: 1024px) and (orientation: portrait) {
  .hero { padding-top: 136px; }
  .aurora__blob { width: clamp(420px, 96vmin, 820px); }
  .hero__cta .btn { min-width: 220px; justify-content: center; }
}
@media (max-width: 1100px) {
  .project:nth-child(odd),
  .project:nth-child(even) { grid-column: span 6; margin-top: clamp(24px, 5vw, 72px); }
  .project:nth-child(even) .project__media { aspect-ratio: 4 / 3; }
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__right .btn--sm { display: none; }
  .hero { padding-top: 108px; }
  .hero__meta { flex-direction: column; align-items: flex-start; gap: 18px; }
  .section-head--row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .service { grid-template-columns: 1fr; gap: 12px; }
  .service__num { order: -1; }
  .service__arrow { display: none; }
  .project:nth-child(odd),
  .project:nth-child(even) { grid-column: span 12; margin-top: 0; }
  .work__grid { gap: 42px 20px; }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .modal__results { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__tag { text-align: left; }
}

@media (max-width: 600px) {
  html { scroll-padding-top: 84px; }
  .container { padding-inline: 20px; }
  .nav { height: 70px; }
  .scroll-hint { display: none; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .cta__actions { width: 100%; }
  .cta__actions .btn { width: 100%; justify-content: center; }
  .stats { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .footer__bar { justify-content: center; text-align: center; }
  .modal { padding: 12px; }
  .slider__nav { gap: 14px; }
}

/* Reduced-motion overrides intentionally removed:
   this showcase always plays its full choreography. */

/* ═══ CINE — screen-by-screen cinematic transitions ═══ */
@keyframes cineIn {
  0%   { transform: perspective(1100px) translateZ(-170px) scale(.9); opacity: .12; filter: blur(12px); }
  55%  { filter: blur(2px); }
  100% { transform: perspective(1100px) translateZ(0) scale(1); opacity: 1; filter: blur(0); }
}
section.cine-go, footer.cine-go {
  animation: cineIn .9s var(--ease-out) both;
  will-change: transform, opacity, filter;
}
@keyframes cineFlash { 0% { opacity: 0; } 12% { opacity: .6; } 100% { opacity: 0; } }
html.cine-shift body::after {
  content: ""; position: fixed; inset: 0; z-index: 1600; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 50%, transparent 52%, rgba(0, 0, 0, .6) 100%);
  animation: cineFlash .9s ease-out both;
}
@media (prefers-reduced-motion: reduce) {
  section.cine-go, footer.cine-go { animation: none; }
  html.cine-shift body::after { animation: none; display: none; }
}

/* ── Central orbit CTA (Start a project) ────────────────── */
.orbit-cta {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  width: clamp(120px, 13vw, 160px); aspect-ratio: 1;
  border-radius: 50%;
  display: grid; place-items: center;
  text-align: center; padding: 16px;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(.85rem, 1.05vw, .95rem);
  letter-spacing: .02em; line-height: 1.2;
  background: var(--ink); color: #0a0a10;
  box-shadow: 0 24px 60px -18px var(--accent-glow);
  transition: background-color .35s, color .35s, transform .4s var(--ease-out), box-shadow .4s;
  will-change: transform;
}
.orbit-cta:hover {
  background: var(--accent); color: var(--on-accent);
  transform: translate(-50%, -50%) scale(1.07);
  box-shadow: 0 34px 80px -18px var(--accent-glow);
}
.orbit-cta:active,
.orbit-cta.is-glow {
  background: #8b5cf7; color: #fff;
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 0 0 4px rgba(139,92,247,.28),
              0 0 34px 8px rgba(139,92,247,.65),
              0 34px 90px -14px rgba(139,92,247,.95);
}
@media (max-width: 900px) {
  .orbit-cta { display: none; }
}

/* ═══ SCROLL PARALLAX — layered hero exit + image drift ═══ */
.hero__inner { will-change: transform, opacity; }

/* ── Section shapes — spinning decorative figures ───────── */
.section-shape {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  color: var(--accent);
  opacity: .13;
  will-change: transform;
}
.section-shape--tl { top: clamp(28px, 6vh, 80px); left: clamp(18px, 4vw, 56px); }
.section-shape--tr { top: clamp(28px, 6vh, 80px); right: clamp(18px, 4vw, 56px); }
.hero-shape { z-index: 2; top: clamp(96px, 12vh, 130px) !important; right: clamp(20px, 5vw, 72px) !important; opacity: .22; }
.section-shape--bl { bottom: clamp(28px, 7vh, 90px); left: clamp(18px, 4vw, 56px); }
.section-shape--br { bottom: clamp(28px, 7vh, 90px); right: clamp(18px, 4vw, 56px); }
.shape--tri { width: 84px; height: 84px; background: currentColor; clip-path: polygon(50% 0, 0 100%, 100% 100%); }
.shape--sq  { width: 66px; height: 66px; background: currentColor; }
.shape--circ{ width: 60px; height: 60px; background: currentColor; border-radius: 50%; }
.shape--dia { width: 58px; height: 58px; background: currentColor; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.shape--hex { width: 62px; height: 72px; background: currentColor; clip-path: polygon(25% 4%, 75% 4%, 100% 50%, 75% 96%, 25% 96%, 0 50%); }
.shape--oct { width: 64px; height: 64px; background: currentColor; clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%); }
.shape--star{ width: 72px; height: 72px; background: currentColor; clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
@media (max-width: 620px) {
  .section-shape { opacity: .09; }
  .shape--tri { width: 56px; height: 56px; }
  .shape--sq, .shape--circ, .shape--dia, .shape--hex, .shape--oct, .shape--star { width: 44px; height: 44px; }
  .shape--hex { height: 52px; }
}
.aurora { will-change: transform; }
.project__photo { transform: translate3d(0, 0, 0) scale(1.14); }

/* ── Book-a-call modal (messenger chooser) ──────────────── */
.book-modal .modal__box { width: min(520px, 100%); }
.book-modal__body { padding: clamp(28px, 5vw, 48px); text-align: center; }
.book-modal__body h3 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin-bottom: 10px; }
.book-modal__note { color: var(--muted); font-size: 14px; margin-bottom: 30px; }
.book-options { display: grid; gap: 12px; text-align: left; }
.book-opt {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px; border-radius: 18px;
  border: 1px solid var(--line); background: rgba(255,255,255,.03);
  transition: border-color .3s, background-color .3s, transform .35s var(--ease-out);
}
.book-opt:hover { border-color: var(--accent); background: var(--accent-soft); transform: translateX(6px); }
.book-opt__ico {
  width: 46px; height: 46px; border-radius: 14px; flex: none;
  display: grid; place-items: center;
  background: rgba(255,255,255,.06); color: var(--ink);
  transition: background-color .3s, color .3s;
}
.book-opt:hover .book-opt__ico { background: var(--accent); color: var(--on-accent); }
.book-opt__ico svg { width: 22px; height: 22px; }
.book-opt__txt { flex: 1; line-height: 1.35; }
.book-opt__txt b { display: block; font-family: var(--font-display); font-size: 15.5px; letter-spacing: -.01em; }
.book-opt__txt em { font-style: normal; font-size: 12.5px; color: var(--muted); }
.book-opt:hover .book-opt__txt em { color: var(--ink); }
.book-opt__arrow { color: var(--faint); transition: color .3s, transform .35s var(--ease-out); }
.book-opt:hover .book-opt__arrow { color: var(--accent); transform: translate(3px, -3px); }

/* ══════════ GEOMETRIC SHAPES FOR PORTFOLIO IMAGES ══════════ */

/* Triangle, Rhombus, Pentagon, Hexagon, Star, Parallelogram — remove border */
.project__media.g1,
.project__media.g4,
.project__media.g5,
.project__media.g6,
.project__media.g7,
.project__media.g8 { border-color: transparent; }

/* g1 — Triangle */
.project__media.g1 .project__photo { clip-path: polygon(50% 0%, 0% 100%, 100% 100%); object-position: center 25%; }

/* g2 — Circle */
.project__media.g2 .project__photo { border-radius: 50%; }

/* g3 — Square */
.project__media.g3 { border-radius: 0; }
.project__media.g3 .project__photo { border-radius: 0; }
.project__media.g3::after { border-radius: 0; }

/* g4 — Rhombus */
.project__media.g4 .project__photo { clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%); }

/* g5 — Pentagon */
.project__media.g5 .project__photo { clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%); }

/* g6 — Hexagon */
.project__media.g6 .project__photo { clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%); }

/* g7 — Star */
.project__media.g7 .project__photo { clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }

/* g8 — Parallelogram */
.project__media.g8 .project__photo { clip-path: polygon(20% 0%, 100% 0%, 80% 100%, 0% 100%); }

/* Hide decorative ring on clip-path shapes */
.project__media.g1::after,
.project__media.g4::after,
.project__media.g5::after,
.project__media.g6::after,
.project__media.g7::after,
.project__media.g8::after { display: none; }

/* Square aspect ratio for shape cards (override even/odd rules) */
.project__media.g1,
.project__media.g2,
.project__media.g3,
.project__media.g4,
.project__media.g5,
.project__media.g6,
.project__media.g7 { aspect-ratio: 1 / 1 !important; }
.project__media.g8 { aspect-ratio: 4 / 3 !important; }

/* ══════════ CLEAN SHAPES — remove background, glow, ring ══════════ */
.project__media.g1,
.project__media.g2,
.project__media.g3,
.project__media.g4,
.project__media.g5,
.project__media.g6,
.project__media.g7,
.project__media.g8 {
  background: transparent !important;
  border-color: transparent !important;
}
.project__media.g1::before,
.project__media.g2::before,
.project__media.g3::before,
.project__media.g4::before,
.project__media.g5::before,
.project__media.g6::before,
.project__media.g7::before,
.project__media.g8::before { display: none !important; }
.project__media.g2::after,
.project__media.g3::after { display: none !important; }

/* ══════════ ALL TRIANGLES — clean edges ══════════ */
.project__media.g1 .project__photo,
.project__media.g2 .project__photo,
.project__media.g3 .project__photo,
.project__media.g4 .project__photo,
.project__media.g5 .project__photo,
.project__media.g6 .project__photo,
.project__media.g7 .project__photo,
.project__media.g8 .project__photo {
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%) !important;
  border-radius: 0 !important;
  object-position: center center !important;
  transform: scale(1.15) !important;
}
.project__media.g1,
.project__media.g2,
.project__media.g3,
.project__media.g4,
.project__media.g5,
.project__media.g6,
.project__media.g7,
.project__media.g8 {
  aspect-ratio: 1 / 1 !important;
  background: transparent !important;
  border-color: transparent !important;
}

/* ══════════ ALL STARS ══════════ */
.project__media.g1 .project__photo,
.project__media.g2 .project__photo,
.project__media.g3 .project__photo,
.project__media.g4 .project__photo,
.project__media.g5 .project__photo,
.project__media.g6 .project__photo,
.project__media.g7 .project__photo,
.project__media.g8 .project__photo {
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%) !important;
  border-radius: 0 !important;
  object-position: center center !important;
  transform: scale(1.3) !important;
}

/* ══════════ ALL CIRCLES ══════════ */
.project__media.g1 .project__photo,
.project__media.g2 .project__photo,
.project__media.g3 .project__photo,
.project__media.g4 .project__photo,
.project__media.g5 .project__photo,
.project__media.g6 .project__photo,
.project__media.g7 .project__photo,
.project__media.g8 .project__photo {
  clip-path: none !important;
  border-radius: 50% !important;
  object-position: center center !important;
  transform: scale(1.15) !important;
}

/* ══════════ FIX CIRCLES — round container too ══════════ */
.project__media.g1,
.project__media.g2,
.project__media.g3,
.project__media.g4,
.project__media.g5,
.project__media.g6,
.project__media.g7,
.project__media.g8 {
  border-radius: 50% !important;
  overflow: hidden !important;
}
