:root {
  --bg: #f7f7f5;
  --bg-2: #ffffff;
  --ink: #0f1420;
  --ink-2: #4b5160;
  --muted: #6b7280;
  --line: rgba(15, 20, 32, 0.09);
  --dark: #0b1220;
  --dark-2: #111a2c;
  --accent: #6366f1;
  --accent-2: #818cf8;
  --accent-deep: #4f46e5;
  --serif: "Source Serif 4", "Noto Serif", Georgia, serif;
  --sans: "Source Sans 3", "Noto Sans", "Segoe UI", sans-serif;
  --header: 4.5rem;
  --pad: clamp(1.25rem, 4.5vw, 5rem);
  --measure: 76rem;
  --radius: 1.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
html.is-loading { overflow: hidden; }

body {
  margin: 0;
  color: var(--ink);
  background: #f4f5f7;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body::before {
  content: "";
  position: fixed;
  inset: -10vh 0 auto;
  height: 140vh;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 55% 45% at 12% 30%, rgba(99, 102, 241, 0.16), transparent 68%),
    radial-gradient(ellipse 42% 36% at 88% 62%, rgba(129, 140, 248, 0.12), transparent 70%);
}
main, .site-footer { position: relative; z-index: 1; }

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a, button, summary, .work, .card { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }

/* ---------- motion primitives ---------- */
html.has-motion [data-reveal],
html.has-motion [data-reveal-group] > * ,
html.has-motion [data-split] { visibility: hidden; }
html.has-motion [data-split].is-ready { visibility: visible; }

.line-mask { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.line { display: block; will-change: transform; }

.serif {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.028em;
  line-height: 0.98;
}
.serif em { font-style: italic; color: var(--accent-deep); }
.on-dark .serif em, .hero .serif em { color: #c7d2fe; }

.display-xl { font-size: clamp(2.75rem, 7.6vw, 7rem); }
.display-l { font-size: clamp(2.4rem, 5.4vw, 4.9rem); }
.display-m { font-size: clamp(1.9rem, 3.6vw, 3.1rem); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
}
.eyebrow::before { content: ""; width: 1.6rem; height: 1px; background: currentColor; opacity: 0.7; }
.on-dark .eyebrow, .hero .eyebrow { color: #c7d2fe; }

.lead { color: var(--ink-2); font-size: clamp(1.05rem, 1.35vw, 1.25rem); line-height: 1.55; max-width: 40rem; }
.on-dark .lead { color: rgba(255, 255, 255, 0.72); }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: #fff; padding: 0.6rem 0.9rem; border-radius: 999px;
}
.skip-link:focus { top: 0.75rem; }

/* ---------- preloader ---------- */
[data-preloader] {
  position: fixed; inset: 0; z-index: 90;
  display: grid; place-items: center;
  background: var(--dark); color: #fff;
}
[data-preloader][hidden] { display: none; }
.preloader-inner { display: grid; gap: 1.2rem; justify-items: center; }
.preloader-mark { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.6rem); letter-spacing: -0.03em; }
.preloader-count { font-variant-numeric: tabular-nums; font-size: 0.8rem; letter-spacing: 0.18em; opacity: 0.6; }
.preloader-track { width: min(18rem, 60vw); height: 1px; background: rgba(255, 255, 255, 0.18); }
[data-preloader-bar] { display: block; width: 100%; height: 1px; background: #fff; transform: scaleX(0); transform-origin: left center; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  color: #fff;
  pointer-events: auto;
  transition: color 0.5s var(--ease), background 0.5s var(--ease), box-shadow 0.5s var(--ease), backdrop-filter 0.5s;
}
.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(247, 247, 245, 0.86);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner {
  display: flex; align-items: center; gap: 1rem;
  min-height: var(--header); padding: 0 var(--pad);
  max-width: 96rem; margin: 0 auto;
}
.progress { position: absolute; left: 0; bottom: 0; height: 1.5px; width: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform: scaleX(0); transform-origin: left; }

.logo { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-name { font-weight: 700; letter-spacing: -0.03em; }
.logo-sub { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.72; }

.nav-desktop { display: none; margin-left: auto; }
.nav-desktop ul { display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav-desktop a { position: relative; text-decoration: none; font-size: 0.9rem; font-weight: 600; padding: 0.3rem 0; }
.nav-desktop a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.45s var(--ease);
}
.nav-desktop a:not(.nav-cta):hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { border: 1px solid currentColor; border-radius: 999px; padding: 0.5rem 0.95rem !important; transition: background 0.4s var(--ease), color 0.4s var(--ease); }
.nav-cta:hover { background: currentColor; }
.site-header:not(.is-scrolled) .nav-cta:hover { color: var(--ink); }
.site-header.is-scrolled .nav-cta:hover { color: #fff; }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 0.9rem; }
.nav-desktop + .header-actions { margin-left: 0; }
.lang-toggle { text-decoration: none; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.85; }
.lang-toggle:hover { opacity: 1; }

.nav-toggle {
  width: 2.75rem; height: 2.75rem; border: 0; background: transparent; padding: 0;
  display: grid; place-content: center; gap: 6px; cursor: pointer;
}
.nav-toggle-bar { display: block; width: 1.3rem; height: 1.5px; background: currentColor; transition: transform 0.4s var(--ease), opacity 0.3s; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }

.nav-mobile {
  position: fixed; inset: 0; z-index: 55;
  display: none; padding: calc(var(--header) + 0.5rem) var(--pad) 1.5rem;
  background: var(--dark); color: #fff;
  overflow-y: auto;
}
.nav-mobile.is-open { display: block; }
.nav-mobile-grid, .nav-mobile-links { list-style: none; margin: 0; padding: 0; }
.nav-mobile-card {
  display: flex; gap: 1rem; align-items: baseline; text-decoration: none;
  padding: 1.1rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.nav-mobile-card strong { font-family: var(--serif); font-weight: 400; font-size: 2rem; letter-spacing: -0.03em; display: block; line-height: 1; }
.nav-mobile-card small { display: block; color: rgba(255, 255, 255, 0.6); font-size: 0.85rem; margin-top: 0.3rem; }
.nav-mobile-card-icon { font-size: 0.75rem; letter-spacing: 0.14em; color: var(--accent-2); font-weight: 700; }
.nav-mobile-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; padding: 1.4rem 0; }
.nav-mobile-links a { text-decoration: none; font-weight: 600; color: rgba(255, 255, 255, 0.78); }

/* ---------- buttons ---------- */
.btn {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3.1rem; padding: 0.8rem 1.35rem; border-radius: 999px;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  font-weight: 650; letter-spacing: -0.01em; overflow: hidden;
  transition: color 0.22s var(--ease), border-color 0.22s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--accent-deep); transform: translateY(101%); transition: transform 0.28s var(--ease);
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover::before { transform: translateY(0); }
.btn-ghost { background: transparent; color: inherit; border-color: rgba(255, 255, 255, 0.4); }
.btn-ghost::before { background: #fff; }
.btn-ghost:hover { color: var(--ink); border-color: #fff; }
.btn-ghost:hover::before { transform: translateY(0); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark::before { background: var(--accent); }
.btn-dark:hover::before { transform: translateY(0); }
.btn-block { width: 100%; }
.btn .arrow { display: inline-block; transition: transform 0.4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; color: #fff; background: var(--bg); }
.hero-pin { position: relative; height: 100svh; min-height: 34rem; overflow: hidden; }
.hero-frame {
  position: absolute; inset: 0; overflow: hidden; background: var(--dark);
  transform-origin: 50% 50%; will-change: transform, border-radius;
}
.hero-video, .hero-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 10, 18, 0.62) 0%, rgba(6, 10, 18, 0.28) var(--header), rgba(6, 10, 18, 0.08) 34%, rgba(6, 10, 18, 0.16) 58%, rgba(6, 10, 18, 0.72) 100%),
    radial-gradient(120% 90% at 50% 40%, transparent 30%, rgba(6, 10, 18, 0.55) 100%);
}
.hero-shade::after {
  content: ""; position: absolute; inset: 0; opacity: 0.14; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.6'/></svg>");
}
.hero-dim { position: absolute; inset: 0; background: var(--dark); opacity: 0; }

.hero-copy {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 1.1rem;
  padding: calc(var(--header) + 1rem) var(--pad) 6.5rem;
  max-width: 84rem;
}
.hero h1 { max-width: 16ch; }
.hero-sub { max-width: 34rem; color: rgba(255, 255, 255, 0.84); font-size: clamp(1rem, 1.3vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 0.4rem; }
.hero-meta {
  position: absolute; z-index: 2; left: var(--pad); right: var(--pad); bottom: 1.5rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.72);
}
.scroll-hint { display: inline-flex; align-items: center; gap: 0.6rem; }
.scroll-hint i { display: block; width: 1px; height: 2.2rem; background: currentColor; opacity: 0.7; transform-origin: top; animation: hint 2.4s var(--ease) infinite; }
@keyframes hint { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- sections ---------- */
.section {
  position: relative;
  padding: clamp(2.75rem, 5.5vw, 4.5rem) var(--pad);
  background-image: linear-gradient(
    180deg,
    transparent 0%,
    rgba(255, 255, 255, 0.78) 8.5rem,
    rgba(255, 255, 255, 0.78) calc(100% - 8.5rem),
    transparent 100%
  );
}
.section.tight { padding-block: clamp(2.25rem, 4.5vw, 3.5rem); }
.wrap { max-width: var(--measure); margin: 0 auto; }
.section-head { display: grid; gap: 1rem; max-width: 46rem; margin-bottom: clamp(2.4rem, 5vw, 4rem); }
.section-head .lead { margin-top: 0.4rem; }
.on-dark { color: #fff; }
.on-dark .line-mask { color: inherit; }

/* intro */
.intro-grid { display: grid; gap: 2.5rem; }
.intro h2 { margin: 0.7rem 0 1.3rem; }
.rotate-wrap { display: inline-block; vertical-align: bottom; min-width: 9ch; }
.rotate { display: inline-block; font-style: italic; color: var(--accent-deep); transition: opacity 0.35s var(--ease), transform 0.35s var(--ease); }
.rotate.is-out { opacity: 0; transform: translateY(0.3em); }
.intents { display: grid; gap: 0.75rem; margin-top: 1.8rem; }
.intent {
  display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center;
  text-decoration: none; background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 1.1rem; padding: 1.05rem 1.2rem; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.intent:hover { box-shadow: none; }
.intent .num { font-size: 0.72rem; letter-spacing: 0.14em; color: var(--accent-deep); font-weight: 700; }
.intent strong { display: block; letter-spacing: -0.015em; }
.intent span { color: var(--muted); font-size: 0.92rem; }
.intent .arrow { color: var(--ink-2); transition: transform 0.4s var(--ease); }
.intent:hover .arrow { transform: translateX(4px); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2.2rem; }
.stat { padding-top: 0.9rem; border-top: 1px solid var(--line); }
.stat b { display: block; font-family: var(--serif); font-size: clamp(1.9rem, 2.6vw, 2.6rem); font-weight: 400; letter-spacing: -0.03em; line-height: 1; }
.stat span { color: var(--muted); font-size: 0.82rem; display: block; margin-top: 0.3rem; }

.proof {
  position: relative; overflow: hidden;
  background: var(--dark); color: #fff; border-radius: var(--radius); padding: 1.8rem;
  align-self: end;
}
.proof::before {
  content: ""; position: absolute; inset: -40% -20% auto auto; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(129, 140, 248, 0.5), transparent 65%); filter: blur(10px);
}
.proof > * { position: relative; }
.proof-badge { color: #fbbf24; letter-spacing: 0.1em; font-size: 0.82rem; font-weight: 700; }
.proof-label { margin-top: 0.6rem; color: rgba(255, 255, 255, 0.78); }
.proof-metric { font-family: var(--serif); font-size: clamp(3.8rem, 7vw, 6rem); line-height: 0.9; letter-spacing: -0.04em; margin: 0.5rem 0 0.6rem; }
.proof-desc { color: rgba(255, 255, 255, 0.62); font-size: 0.95rem; }
.proof-bars { display: flex; align-items: flex-end; gap: 0.5rem; height: 5rem; margin-top: 1.4rem; }
.proof-bars span { flex: 1; height: var(--h); border-radius: 0.4rem 0.4rem 0 0; background: linear-gradient(180deg, var(--accent-2), var(--accent-deep)); transform-origin: bottom; }

/* credentials — same strip as the live site */
.credentials { padding-block: 1.15rem; background: transparent; overflow: hidden; }
.credentials-marquee { overflow: hidden; mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
.credentials-track { display: flex; width: max-content; animation: marquee-scroll 36s linear infinite; }
.credentials-set { display: flex; gap: 0.75rem; padding-right: 0.75rem; flex: none; }
.credential {
  flex-shrink: 0; padding: 0.35rem 0.85rem; font-size: 0.6875rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap;
  color: var(--accent); background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.18); border-radius: 999px;
}
@keyframes marquee-scroll { to { transform: translateX(-50%); } }

.section-testimonials,
.section-contact {
  background-image: linear-gradient(
    180deg,
    transparent 0%,
    rgba(228, 231, 237, 0.9) 8.5rem,
    rgba(228, 231, 237, 0.9) calc(100% - 8.5rem),
    transparent 100%
  );
}
.section-bg { position: absolute; inset: -18% 0; pointer-events: none; z-index: 0; }
.section > .wrap, .section > .dark-stage, .section > .cta { position: relative; z-index: 1; }
.parallax-bg {
  background:
    radial-gradient(ellipse 70% 55% at 18% 40%, rgba(99, 102, 241, 0.22), transparent 70%),
    radial-gradient(ellipse 55% 45% at 82% 75%, rgba(100, 80, 180, 0.14), transparent 70%);
}
.parallax-bg-alt {
  background:
    radial-gradient(ellipse 50% 40% at 70% 30%, rgba(99, 102, 241, 0.18), transparent),
    radial-gradient(ellipse 40% 30% at 10% 70%, rgba(80, 120, 200, 0.06), transparent);
}

/* case */
.case-grid { display: grid; gap: 2.5rem; align-items: center; }
.case-visual { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: #e6e7ea; }
.case-visual img { position: absolute; inset: -12% 0; width: 100%; height: 124%; object-fit: cover; object-position: top; will-change: transform; }
.case-visual .tag { position: absolute; left: 1.2rem; top: 1.2rem; background: rgba(255, 255, 255, 0.9); color: var(--ink); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; padding: 0.45rem 0.8rem; border-radius: 999px; }
.case-copy { display: grid; gap: 1.2rem; }
.case-metric { display: flex; align-items: baseline; gap: 1rem; padding-top: 1.3rem; border-top: 1px solid var(--line); }
.case-metric b { font-family: var(--serif); font-weight: 400; font-size: clamp(3.4rem, 6.4vw, 5.6rem); line-height: 0.9; letter-spacing: -0.04em; }
.case-metric span { color: var(--muted); }

/* results */
.results-grid { display: grid; gap: 0.9rem; }
.result {
  background: #fff; border: 1px solid var(--line); border-radius: 1.25rem;
  padding: 1.6rem 1.2rem 1.4rem; display: grid; gap: 0.45rem; justify-items: center; text-align: center;
}
.result b { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 0.9; letter-spacing: -0.04em; color: var(--accent-deep); }
.result span { color: var(--ink-2); font-size: 0.92rem; }

/* services */
.stack { display: grid; gap: 0.9rem; }
.svc {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 1.25rem;
  padding: 1.45rem 1.4rem 1.5rem;
  display: grid; gap: 0.85rem; align-content: start;
  transition: border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.svc:hover { box-shadow: none; }
.svc .idx { font-family: var(--serif); font-size: 1.7rem; line-height: 1; letter-spacing: -0.04em; color: var(--accent-deep); }
.svc h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.55rem, 2vw, 2rem); letter-spacing: -0.03em; line-height: 1.05; }
.svc p { color: var(--ink-2); max-width: 36rem; }
.svc .svc-line { display: block; width: 2.4rem; height: 2px; background: var(--accent); }

/* dark stages — same shell as the consultation band */
.dark-stage, .why .wrap {
  position: relative; overflow: hidden;
  background: var(--dark); color: #fff; border-radius: var(--radius);
  padding: clamp(2.4rem, 5vw, 4.2rem) clamp(1.4rem, 4vw, 3rem);
}
.dark-stage::before, .why .wrap::before {
  content: ""; position: absolute; right: -8%; bottom: -55%; width: 52%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.55), transparent 65%);
  filter: blur(18px); pointer-events: none;
}
.dark-stage > *, .why .wrap > * { position: relative; z-index: 1; }
.dark-stage .lead { color: rgba(255, 255, 255, 0.74); }
.dark-stage .eyebrow { color: #c7d2fe; }
.dark-stage .serif em { color: #c7d2fe; }
.why { color: var(--ink); }
.why .card { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.14); }
.why .card h3, .why .card .num { color: #fff; }
.why .card p { color: rgba(255, 255, 255, 0.72); }

/* process */
.process { background-color: transparent; }
.process .dark-stage { max-width: var(--measure); margin-inline: auto; }
.process-head { max-width: 46rem; margin-bottom: 2.2rem; }
.process-steps { display: grid; gap: 1.4rem 1.2rem; }
.step-card { display: grid; gap: 0.55rem; align-content: start; min-width: 0; }
.step-card .big {
  font-family: var(--serif); font-size: clamp(3.2rem, 5vw, 4.6rem); line-height: 0.85; letter-spacing: -0.04em;
  color: rgba(199, 210, 254, 0.28);
}
.step-card h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.35rem, 2vw, 1.7rem); letter-spacing: -0.03em; line-height: 1.15; }
.step-card p { color: rgba(255, 255, 255, 0.78); font-size: 0.98rem; line-height: 1.55; }

/* portfolio */
.work-stack { display: grid; gap: clamp(1.4rem, 3vw, 2.2rem); }
.work {
  position: relative; display: grid; text-decoration: none; overflow: hidden;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.work:hover { box-shadow: none; }
.work-media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: #e6e7ea; }
.work-media img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; object-position: top; transition: transform 0.9s var(--ease); will-change: transform; }
.work:hover .work-media img { transform: scale(1.04); }
.work-info { padding: 1.4rem 1.4rem 1.6rem; display: grid; gap: 0.35rem; align-content: start; }
.work-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 0.4rem; }
.work-tags span { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; padding: 0.35rem 0.7rem; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); }
.work-tags span:first-child { background: var(--accent); color: #fff; border-color: transparent; }
.work h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.8rem); letter-spacing: -0.03em; line-height: 1; }
.work p { color: var(--ink-2); margin-top: 0.4rem; }
.work .more { margin-top: 1rem; font-weight: 650; display: inline-flex; gap: 0.4rem; align-items: center; }
.work .more .arrow { transition: transform 0.4s var(--ease); }
.work:hover .more .arrow { transform: translateX(5px); }

/* testimonials */
.quotes { overflow: hidden; margin-top: 0.4rem; }
.quotes-row { display: flex; width: max-content; animation: quote-marquee 42s linear infinite; }
.quotes:hover .quotes-row { animation-play-state: paused; }
.quotes-set { display: flex; gap: 1rem; padding-right: 1rem; }
.quote { flex: none; width: min(22rem, 78vw); margin: 0; background: var(--bg-2); border: 1px solid var(--line); border-radius: 1.2rem; padding: 1.45rem 1.4rem 1.3rem; display: grid; gap: 1.1rem; align-content: start; }
@keyframes quote-marquee { to { transform: translateX(-50%); } }
.quote p { font-family: var(--serif); font-size: 1.35rem; line-height: 1.25; letter-spacing: -0.015em; }
.quote footer { display: flex; flex-direction: column; font-size: 0.9rem; }
.quote footer span { color: var(--muted); }

/* guides / why */
.grid-2 { display: grid; gap: 1rem; }
.card {
  display: grid; gap: 0.5rem; align-content: start; text-decoration: none;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 1.2rem; padding: 1.5rem;
  transition: border-color 0.22s var(--ease), box-shadow 0.22s var(--ease), background 0.22s var(--ease);
}
.card:hover { box-shadow: none; }
.card .num { font-size: 0.72rem; letter-spacing: 0.14em; color: var(--accent-deep); font-weight: 700; }
.card h3 { font-size: 1.25rem; letter-spacing: -0.02em; line-height: 1.25; }
.card p { color: var(--ink-2); }
.card .more { color: var(--accent-deep); font-weight: 650; margin-top: 0.4rem; }
.svc, .card, .quote, .intent, .result, .work, .proof, .faq-item, .contact-form,
.dark-stage, .why .wrap, .cta {
  --spot-x: 50%;
  --spot-y: 42%;
}
.svc, .card, .quote, .intent, .result, .work, .proof, .faq-item, .contact-form {
  position: relative; overflow: hidden; isolation: isolate;
}
.svc::before, .card::before, .quote::before, .intent::before, .result::before, .work::before, .proof::before, .faq-item::before, .contact-form::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; border-radius: inherit; opacity: 0;
  background: radial-gradient(460px circle at var(--spot-x) var(--spot-y), rgba(99, 102, 241, 0.2), transparent 42%);
  transition: opacity 0.35s var(--ease);
}
.svc:hover::before, .svc:focus-within::before, .svc.is-active::before,
.card:hover::before, .card:focus-within::before, .card.is-active::before,
.quote:hover::before, .quote.is-active::before,
.intent:hover::before, .intent:focus-within::before, .intent.is-active::before,
.result:hover::before, .result.is-active::before,
.work:hover::before, .work:focus-within::before, .work.is-active::before,
.proof:hover::before, .proof.is-active::before,
.faq-item:hover::before, .faq-item[open]::before,
.contact-form:hover::before, .contact-form:focus-within::before { opacity: 1; }
.svc > *, .card > *, .quote > *, .intent > *, .result > *, .work > *, .proof > *, .faq-item > *, .contact-form > * { position: relative; z-index: 2; }
.why .card::before { display: none; }
.dark-stage::after, .why .wrap::after, .cta::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; border-radius: inherit; opacity: 0;
  background: radial-gradient(760px circle at var(--spot-x) var(--spot-y), rgba(199, 210, 254, 0.38), transparent 52%);
  transition: opacity 0.35s var(--ease);
}
.dark-stage:hover::after, .dark-stage.is-active::after,
.why .wrap:hover::after, .why .wrap.is-active::after,
.cta:hover::after, .cta.is-active::after { opacity: 1; }
#guides .grid-3 { gap: 0; border-top: 1px solid var(--line); }
#guides .card { background: transparent; border: 0; border-radius: 0; border-bottom: 1px solid var(--line); padding: 1.2rem 0; box-shadow: none; }
#guides .card:hover { box-shadow: none; background: transparent; }
#guides .card h3 { font-family: var(--serif); font-weight: 400; font-size: 1.45rem; }
.why .card { background: transparent; border-color: rgba(255, 255, 255, 0.14); }
.why .card:hover { box-shadow: none; background: rgba(255, 255, 255, 0.04); }
.why .card p { color: rgba(255, 255, 255, 0.68); }
.why .card h3 { font-family: var(--serif); font-weight: 400; font-size: 1.8rem; letter-spacing: -0.03em; }
.why .card .num { color: var(--accent-2); }

/* cta band */
.cta {
  position: relative; overflow: hidden; margin: 0 var(--pad);
  max-width: var(--measure); margin-inline: auto;
  background: var(--dark); color: #fff; border-radius: var(--radius);
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.5rem, 5vw, 4rem);
  display: grid; gap: 1.2rem; justify-items: start;
}
.cta::before { content: ""; position: absolute; inset: auto -10% -60% auto; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(99, 102, 241, 0.55), transparent 65%); filter: blur(20px); }
.cta > * { position: relative; z-index: 1; }
.cta p { color: rgba(255, 255, 255, 0.72); }

/* faq */
.faq-list { display: grid; gap: 0; border-top: 1px solid var(--line); max-width: 52rem; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.2rem 0; font-weight: 600; font-size: 1.05rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--serif); font-size: 1.8rem; line-height: 1; color: var(--accent-deep); transition: transform 0.4s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 0 1.3rem; color: var(--ink-2); max-width: 44rem; }

/* contact */
.contact-grid { display: grid; gap: 2.5rem; }
.contact-copy { display: grid; gap: 1.2rem; align-content: start; justify-items: start; }
.contact-details { font-style: normal; color: var(--muted); line-height: 1.7; }
.contact-details a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.contact-form { display: grid; gap: 1rem; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.2rem, 2.4vw, 2rem); }
.field { display: grid; gap: 0.35rem; }
.field label { font-size: 0.85rem; font-weight: 650; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line); background: var(--bg); border-radius: 0.85rem; padding: 0.85rem 0.95rem; min-height: 3.1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15); }
.form-error { color: #b91c1c; font-size: 0.8rem; min-height: 1em; }
.form-success { color: #047857; font-weight: 650; }
.form-note { color: var(--muted); font-size: 0.8rem; }

/* footer */
.site-footer {
  padding: 1.5rem var(--pad) 3.25rem;
  color: var(--muted);
  background-image: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.92) 3.5rem);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem 3.5rem;
  max-width: var(--measure);
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(15, 20, 32, 0.08);
}
.footer-brand-block { display: grid; gap: 0.4rem; justify-items: start; min-width: 0; }
.footer-brand { display: flex; align-items: center; gap: 0.7rem; color: var(--ink); font-family: var(--serif); font-size: 1.2rem; font-weight: 400; letter-spacing: -0.02em; }
.footer-copy { margin: 0; font-size: 0.84rem; line-height: 1.45; color: var(--muted); }
.footer-mail { font-size: 0.84rem; color: var(--ink); text-decoration: none; border-bottom: 1px solid rgba(15, 20, 32, 0.16); width: fit-content; }
.footer-mail:hover { color: var(--accent-deep); border-color: var(--accent); }
.footer-nav { display: flex; flex-wrap: nowrap; gap: 0.4rem 1.15rem; align-items: center; justify-content: flex-end; }
.footer-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.footer-nav a:hover { color: var(--accent-deep); }

.sticky-cta { position: fixed; z-index: 50; left: 1rem; right: 1rem; bottom: calc(0.8rem + env(safe-area-inset-bottom)); display: none; box-shadow: 0 16px 40px rgba(15, 20, 32, 0.25); }
.sticky-cta.is-visible { display: inline-flex; }

/* ---------- responsive ---------- */
@media (min-width: 900px) {
  .nav-desktop { display: block; }
  .nav-toggle, .nav-mobile, .sticky-cta { display: none !important; }
  .header-actions { margin-left: 0.4rem; }
  .hero-copy { justify-content: center; padding-bottom: 7rem; }
  .intro-grid { grid-template-columns: 1.25fr 0.75fr; gap: 3.5rem; align-items: end; }
  .case-grid { grid-template-columns: 1.1fr 0.9fr; gap: 4rem; }
  .results-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: 0.85fr 1.15fr; gap: 4rem; }
  .stack { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .svc { grid-template-columns: auto 1fr; align-items: start; gap: 1rem 1.25rem; padding: 1.6rem 1.5rem 1.7rem; }
  .svc .idx { grid-row: span 2; }
  .work { grid-template-columns: 1.15fr 0.85fr; align-items: stretch; }
  .work:nth-child(even) { grid-template-columns: 0.85fr 1.15fr; }
  .work:nth-child(even) .work-media { order: 2; }
  .work-media { aspect-ratio: 16 / 10; min-height: 18rem; }
  #guides .grid-3 { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
  #guides .card { grid-template-columns: 3.2rem minmax(14rem, 0.9fr) minmax(0, 1.4fr) auto; align-items: center; gap: 1.25rem; background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 1.25rem 0.2rem; box-shadow: none; }
  #guides .card:hover { box-shadow: none; }
  #guides .card h3 { font-family: var(--serif); font-weight: 400; font-size: 1.55rem; }
  #guides .card p { margin: 0; }
  .work-info { padding: 2.2rem 2.4rem; align-content: center; }
  .process-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 899px) {
  .nav-desktop + .header-actions { margin-left: auto; }
  .site-header {
    color: var(--ink);
    background: rgba(244, 245, 247, 0.94);
    backdrop-filter: blur(18px) saturate(140%);
    box-shadow: 0 1px 0 var(--line);
  }
  .hero { background: transparent; }
  .section,
  .section-testimonials,
  .section-contact,
  .site-footer { background-image: none; }
  .hero, .hero-pin { min-height: 0; height: auto; }
  .hero-pin { display: flex; flex-direction: column; overflow: visible; }
  .hero-frame {
    position: relative; inset: auto;
    height: auto; aspect-ratio: 16 / 9;
    margin: calc(var(--header) + 0.75rem) var(--pad) 0;
    border-radius: 1.15rem;
  }
  .hero-video { object-fit: cover; object-position: center center; }
  .hero-shade {
    background: linear-gradient(180deg, rgba(6, 10, 18, 0.08), rgba(6, 10, 18, 0.28));
  }
  .hero-copy {
    position: relative; inset: auto; z-index: 2;
    color: var(--ink);
    padding: 1.25rem var(--pad) 0.4rem;
    max-width: none;
  }
  .hero h1 { max-width: none; }
  .hero .eyebrow, .hero .serif em { color: var(--accent-deep); }
  .hero-sub { color: var(--ink-2); }
  .hero .btn-ghost { color: var(--ink); border-color: rgba(15, 20, 32, 0.22); }
  .hero-meta {
    position: relative; inset: auto;
    color: var(--muted);
    padding: 0.8rem var(--pad) 1.1rem;
  }
  .display-xl { font-size: clamp(2.5rem, 11vw, 3.6rem); }
  .site-footer { padding-bottom: 6.75rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-nav { flex-wrap: wrap; justify-content: flex-start; }
  .hero-meta span:last-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .credentials-track, .quotes-row, .scroll-hint i, .panel::before { animation: none; }
  .credentials-track { flex-wrap: wrap; width: auto; justify-content: center; }
  .quotes-row { flex-wrap: wrap; width: auto; }
  .quote-clone { display: none; }
}
