/* ==========================================================================
   ORPHÉE X — Design system
   Palette tirée du logo : nuit profonde, indigo satiné, argent lavande, éclat doré
   ========================================================================== */

:root {
  --bg: #05060b;
  --bg-2: #090a14;
  --bg-3: #0e1020;
  --surface: rgba(255, 255, 255, 0.025);
  --surface-2: rgba(255, 255, 255, 0.05);
  --line: rgba(207, 203, 240, 0.10);
  --line-2: rgba(207, 203, 240, 0.18);

  --text: #eceaf8;
  --muted: #9b99b8;
  --dim: #6c6a8a;

  --indigo-900: #1b1a52;
  --indigo-700: #2e2c86;
  --indigo: #3e3ba8;
  --violet: #6e68e0;
  --violet-2: #8f8af0;
  --lavender: #cfcbf0;
  --silver: #e8e6f6;
  --gold: #f3c77a;
  --gold-2: #ffe4ae;
  --gold-3: #c99543;

  --grad-satin: linear-gradient(135deg, #e8e6f6 0%, #8f8af0 35%, #3e3ba8 65%, #cfcbf0 100%);
  --grad-gold: linear-gradient(90deg, #c99543, #ffe4ae 50%, #f3c77a);
  --grad-text: linear-gradient(100deg, #ffffff 0%, #cfcbf0 40%, #8f8af0 75%, #cfcbf0 100%);

  --f-display: "Jost", "Futura", system-ui, sans-serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);

  color-scheme: dark;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 400; line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--violet); color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -60px; left: 16px; z-index: 1000; background: var(--gold); color: #111; padding: 10px 16px; border-radius: 8px; font-weight: 700; transition: top .3s; }
.skip-link:focus { top: 16px; }

/* ---------- Ambient background ---------- */
.bg-grain {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .045;
  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='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.bg-aurora { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bg-aurora span {
  position: absolute; border-radius: 50%; opacity: .35;
  animation: float-blob 30s var(--ease-in-out) infinite alternate;
  will-change: transform; transform: translateZ(0);
}
.bg-aurora span:nth-child(1) { width: 46vw; height: 46vw; left: -12vw; top: -14vw; background: radial-gradient(circle, #2e2c86, transparent 70%); }
.bg-aurora span:nth-child(2) { width: 38vw; height: 38vw; right: -10vw; top: 30vh; background: radial-gradient(circle, #3e3ba8, transparent 70%); animation-delay: -8s; opacity: .25; }
.bg-aurora span:nth-child(3) { width: 26vw; height: 26vw; left: 40vw; bottom: -12vw; background: radial-gradient(circle, rgba(243, 199, 122, .5), transparent 70%); animation-delay: -14s; opacity: .12; }
@keyframes float-blob {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(6vw, 4vh) scale(1.08); }
  100% { transform: translate(-4vw, 8vh) scale(.95); }
}
main, .site-header, .site-footer { position: relative; z-index: 2; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(80px, 12vw, 160px) 0; position: relative; }
.section--tight { padding: clamp(60px, 8vw, 110px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-display); font-size: 12.5px; font-weight: 400;
  letter-spacing: .32em; text-transform: uppercase; color: var(--lavender);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px; background: var(--grad-gold);
  box-shadow: 0 0 10px rgba(243, 199, 122, .7);
}
.center .eyebrow::after { content: ""; width: 28px; height: 1px; background: var(--grad-gold); box-shadow: 0 0 10px rgba(243, 199, 122, .7); }

.h-display { font-size: clamp(42px, 7.2vw, 104px); font-weight: 300; letter-spacing: -0.025em; line-height: 1.02; }
.h1 { font-size: clamp(38px, 5.6vw, 76px); font-weight: 300; letter-spacing: -0.02em; }
.h2 { font-size: clamp(32px, 4.4vw, 58px); font-weight: 300; letter-spacing: -0.02em; }
.h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 400; }
.lead { font-size: clamp(17px, 1.35vw, 20px); color: var(--muted); line-height: 1.7; max-width: 640px; }
.center .lead { margin-left: auto; margin-right: auto; }
.section-head .lead { margin-top: 22px; }
.text-grad {
  background: var(--grad-text); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: text-shine 8s linear infinite;
}
.text-gold { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.italic { font-style: italic; font-weight: 300; }
@keyframes text-shine { to { background-position: 200% center; } }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  --bx: 0px; --by: 0px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 56px; padding: 0 30px; border-radius: 100px;
  font-family: var(--f-display); font-size: 15px; letter-spacing: .08em; font-weight: 400;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .4s, border-color .4s, color .4s;
  transform: translate(var(--bx), var(--by));
  overflow: hidden; isolation: isolate; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .5s var(--ease); flex: none; }
.btn:hover svg { transform: translateX(4px); }
.btn--primary {
  color: #0b0b18; background: linear-gradient(120deg, #ffe4ae, #f3c77a 45%, #e0ad5e);
  box-shadow: 0 10px 40px -10px rgba(243, 199, 122, .55), inset 0 1px 0 rgba(255, 255, 255, .6);
  font-weight: 500;
}
.btn--primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .75) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s var(--ease);
}
.btn--primary:hover { box-shadow: 0 16px 60px -10px rgba(243, 199, 122, .8), inset 0 1px 0 rgba(255, 255, 255, .6); }
.btn--primary:hover::after { transform: translateX(120%); }
.btn--ghost {
  color: var(--text); border: 1px solid var(--line-2); background: rgba(255, 255, 255, .02);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.btn--ghost::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: radial-gradient(120px circle at var(--mx, 50%) var(--my, 50%), rgba(143, 138, 240, .35), transparent 70%);
  opacity: 0; transition: opacity .4s;
}
.btn--ghost:hover { border-color: rgba(207, 203, 240, .4); }
.btn--ghost:hover::before { opacity: 1; }
.btn--sm { height: 46px; padding: 0 22px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display);
  letter-spacing: .06em; color: var(--lavender); position: relative; padding-bottom: 4px;
}
.link-arrow::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--grad-gold); transform: scaleX(.25); transform-origin: left; transition: transform .6s var(--ease);
}
.link-arrow:hover::after { transform: scaleX(1); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .5s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--header-h);
  transition: transform .6s var(--ease), background .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(5, 6, 11, .66); border-color: var(--line);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 14px; position: relative; z-index: 3; }
.brand-mark { width: 44px; height: 38px; overflow: visible; }
.brand-word { font-family: var(--f-display); font-weight: 300; font-size: 17px; letter-spacing: .34em; white-space: nowrap; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  position: relative; padding: 10px 16px; font-family: var(--f-display); font-size: 14.5px; letter-spacing: .06em;
  color: var(--muted); transition: color .3s; border-radius: 100px;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 10px var(--gold); transform: translateX(-50%);
}
.header-cta { display: flex; align-items: center; gap: 12px; }

.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; z-index: 3; }
.burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--text); transition: transform .5s var(--ease), top .5s var(--ease), opacity .3s; }
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 26px; }
.menu-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: rgba(5, 6, 11, .97);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: center; padding: 100px var(--gutter) 40px;
  clip-path: circle(0% at calc(100% - 40px) 38px); transition: clip-path .9s var(--ease-in-out); visibility: hidden;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 40px) 38px); visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 6px; }
.mobile-menu nav a {
  font-family: var(--f-display); font-weight: 300; font-size: clamp(34px, 9vw, 52px); line-height: 1.25;
  opacity: 0; transform: translateY(30px); transition: opacity .6s var(--ease), transform .6s var(--ease);
  display: flex; align-items: baseline; gap: 16px;
}
.mobile-menu nav a small { font-size: 12px; color: var(--gold); letter-spacing: .2em; font-weight: 400; }
.menu-open .mobile-menu nav a { opacity: 1; transform: none; }
.menu-open .mobile-menu nav a:nth-child(1) { transition-delay: .25s; }
.menu-open .mobile-menu nav a:nth-child(2) { transition-delay: .3s; }
.menu-open .mobile-menu nav a:nth-child(3) { transition-delay: .35s; }
.menu-open .mobile-menu nav a:nth-child(4) { transition-delay: .4s; }
.menu-open .mobile-menu nav a:nth-child(5) { transition-delay: .45s; }
.menu-open .mobile-menu nav a:nth-child(6) { transition-delay: .5s; }
.mobile-menu-foot { margin-top: 48px; color: var(--muted); font-size: 14px; opacity: 0; transition: opacity .6s .6s; }
.menu-open .mobile-menu-foot { opacity: 1; }

@media (max-width: 1020px) {
  .nav, .header-cta .btn { display: none; }
  .burger { display: block; }
}

/* ---------- Animated logo mark ---------- */
.alpha .a-stroke { fill: none; stroke: url(#satin); stroke-linecap: round; stroke-linejoin: round; }
.alpha .a-spark { stroke: url(#sparkGrad); stroke-linecap: round; }
.alpha .a-flare { fill: url(#flareGrad); transform-box: fill-box; transform-origin: center; }
.js .alpha.draw .a-stroke { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.2s var(--ease) .2s forwards; }
.js .alpha.draw .a-spark { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1s var(--ease) 1.4s forwards; }
.js .alpha.draw .a-flare { opacity: 0; animation: flare 3.6s var(--ease) 2s infinite; }
.alpha:not(.draw) .a-flare { animation: flare 3.6s var(--ease) infinite; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes flare {
  0% { opacity: 0; transform: scale(.4); }
  12% { opacity: 1; transform: scale(1.15); }
  40% { opacity: .7; transform: scale(1); }
  100% { opacity: 0; transform: scale(.5); }
}
.brand:hover .a-flare { animation-duration: 1.2s; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 1000; background: var(--bg);
  display: grid; place-items: center; transition: opacity .9s var(--ease), visibility .9s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader-inner { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.loader .alpha { width: 130px; height: 110px; }
.loader-word {
  font-family: var(--f-display); font-weight: 300; letter-spacing: .5em; font-size: 22px; padding-left: .5em;
  opacity: 0; animation: fade-up 1s var(--ease) 1.2s forwards;
}
.loader-bar { width: 160px; height: 1px; background: var(--line); overflow: hidden; }
.loader-bar i { display: block; height: 100%; width: 100%; background: var(--grad-gold); transform: scaleX(0); transform-origin: left; animation: load 2.2s var(--ease) forwards; }
@keyframes load { to { transform: scaleX(1); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
html:not(.js) .loader { display: none; }

/* ---------- Page transition ---------- */
.page-veil {
  position: fixed; inset: 0; z-index: 900; pointer-events: none;
  background: var(--bg); transform: scaleY(0); transform-origin: bottom;
  transition: transform .7s var(--ease-in-out);
}
.page-veil::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--grad-gold);
  box-shadow: 0 0 20px 2px rgba(243, 199, 122, .6);
}
.is-leaving .page-veil { transform: scaleY(1); }

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 101; transform-origin: left; transform: scaleX(0); background: var(--grad-gold); box-shadow: 0 0 12px rgba(243, 199, 122, .6); }

/* ---------- Reveal system ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="left"] { transform: translateX(-50px); }
.js [data-reveal="right"] { transform: translateX(50px); }
.js [data-reveal="scale"] { transform: scale(.94); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.js [data-split] .w > span { display: inline-block; transform: translateY(110%) rotate(4deg); transform-origin: left bottom; transition: transform 1.2s var(--ease); transition-delay: calc(var(--i) * 0.055s + var(--d, 0s)); }
.js [data-split].is-in .w > span { transform: none; }

.js [data-line] { position: relative; }
.js [data-line]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease); }
.js [data-line].is-in::after { transform: scaleX(1); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 80px; overflow: hidden;
}
.hero-canvas-wrap { position: absolute; inset: 0; z-index: 0; }
.hero-canvas-wrap canvas { width: 100%; height: 100%; }
.hero-canvas-wrap::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 30% 50%, transparent 30%, rgba(5, 6, 11, .5) 100%), linear-gradient(to bottom, transparent 70%, var(--bg));
}
.hero-fallback { position: absolute; right: 6%; top: 50%; transform: translateY(-50%); width: min(44vw, 560px); opacity: 0; transition: opacity 1s; pointer-events: none; }
.no-webgl .hero-fallback { opacity: 1; animation: hero-float 7s var(--ease-in-out) infinite alternate; transition: opacity 1s, translate .8s var(--ease); }
.no-webgl #hero-canvas { display: none; }
@keyframes hero-float { from { transform: translateY(-50%) rotate(-2deg); } to { transform: translateY(-46%) rotate(2deg); } }
@media (max-width: 1000px) { .no-webgl .hero-fallback { right: -10%; width: 80vw; opacity: .35; } }
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 720px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 10px; border-radius: 100px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 13.5px; color: var(--lavender); margin-bottom: 30px;
}
.hero-badge .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(243, 199, 122, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(243, 199, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(243, 199, 122, 0); } }
.hero h1 { margin-bottom: 30px; }
.hero .lead { margin-bottom: 42px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 56px; color: var(--muted); font-size: 14px; }
.hero-meta div { display: flex; align-items: center; gap: 10px; }
.hero-meta svg { width: 18px; height: 18px; color: var(--gold); }
.scroll-hint {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--dim);
}
.scroll-hint i { width: 1px; height: 46px; background: linear-gradient(var(--line-2), transparent); position: relative; overflow: hidden; }
.scroll-hint i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--gold); animation: scroll-line 2.2s var(--ease-in-out) infinite; }
@keyframes scroll-line { to { top: 110%; } }

/* Page hero (inner pages) */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(70px, 12vw, 150px)) 0 clamp(60px, 8vw, 100px); overflow: hidden; }
.page-hero .lead { margin-top: 26px; }
.page-hero-mark { position: absolute; right: -6vw; top: 50%; transform: translateY(-46%); width: min(52vw, 640px); opacity: .22; pointer-events: none; }
.breadcrumb { display: flex; gap: 10px; font-size: 13px; color: var(--dim); margin-bottom: 26px; letter-spacing: .04em; }
.breadcrumb a:hover { color: var(--text); }

/* ---------- Marquee ---------- */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 26px 0; position: relative; z-index: 2; background: rgba(5, 6, 11, .6); }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: flex; align-items: center; gap: 40px; padding-right: 40px; font-family: var(--f-display); font-weight: 300; font-size: clamp(22px, 3vw, 38px); white-space: nowrap; color: var(--lavender); }
.marquee-item:nth-child(even) { color: transparent; -webkit-text-stroke: 1px rgba(207, 203, 240, .5); }
.marquee-item svg { width: 22px; height: 22px; color: var(--gold); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.stat { padding: clamp(28px, 3.5vw, 44px); border-right: 1px solid var(--line); position: relative; }
.stat:last-child { border-right: 0; }
.stat-num { font-family: var(--f-display); font-weight: 200; font-size: clamp(46px, 5.6vw, 76px); line-height: 1; display: flex; align-items: baseline; gap: 4px; }
.stat-num small { font-size: .38em; font-weight: 300; color: var(--gold); letter-spacing: .04em; }
.stat p { color: var(--muted); margin-top: 14px; font-size: 15px; }
@media (max-width: 860px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ---------- Cards / spotlight ---------- */
.card {
  --mx: 50%; --my: 50%;
  position: relative; border-radius: var(--r-lg); background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01));
  border: 1px solid var(--line); padding: clamp(26px, 3vw, 38px); overflow: hidden; isolation: isolate;
  transition: border-color .5s, transform .6s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s;
  background: radial-gradient(400px circle at var(--mx) var(--my), rgba(110, 104, 224, .16), transparent 60%);
}
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: radial-gradient(300px circle at var(--mx) var(--my), rgba(243, 199, 122, .6), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.card:hover::before, .card:hover::after { opacity: 1; }
.card:hover { border-color: rgba(207, 203, 240, .16); }

.icon-badge {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 26px;
  background: linear-gradient(145deg, rgba(110, 104, 224, .25), rgba(46, 44, 134, .15)); border: 1px solid rgba(143, 138, 240, .25);
  color: var(--lavender); position: relative;
}
.icon-badge svg { width: 26px; height: 26px; }
.icon-badge::after { content: ""; position: absolute; top: -1px; right: 10px; width: 18px; height: 1px; background: var(--gold); box-shadow: 0 0 8px var(--gold); }

/* ---------- Services grid ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card h3 { margin-bottom: 14px; }
.service-card p { color: var(--muted); font-size: 15.5px; }
.service-card .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tag { font-size: 12.5px; padding: 6px 12px; border-radius: 100px; border: 1px solid var(--line); color: var(--lavender); background: rgba(255, 255, 255, .02); }
.service-card .num { position: absolute; top: 28px; right: 30px; font-family: var(--f-display); font-size: 13px; letter-spacing: .2em; color: var(--dim); }
.service-card--wide { grid-column: span 2; }
@media (max-width: 1020px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .services-grid { grid-template-columns: 1fr; } .service-card--wide { grid-column: auto; } }

/* ---------- Horizontal showcase ---------- */
.hscroll { position: relative; }
.hscroll-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.hscroll-head { flex-wrap: wrap; display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 48px; }
.hscroll-track { display: flex; gap: 24px; padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); will-change: transform; }
.hcard { flex: none; width: clamp(300px, 30vw, 420px); min-height: 440px; display: flex; flex-direction: column; }
.hcard .icon-badge { margin-bottom: auto; }
.hcard h3 { margin-top: 60px; margin-bottom: 14px; }
.hcard p { color: var(--muted); font-size: 15.5px; }
.hcard .num { font-family: var(--f-display); font-weight: 200; font-size: 64px; line-height: 1; position: absolute; right: 28px; top: 22px; color: transparent; -webkit-text-stroke: 1px rgba(207, 203, 240, .2); }
.hscroll-progress { margin-top: 44px; height: 1px; background: var(--line); position: relative; }
.hscroll-progress i { position: absolute; inset: 0; background: var(--grad-gold); transform-origin: left; transform: scaleX(0); }
@media (max-width: 860px) {
  .hscroll { height: auto !important; }
  .hscroll-sticky { position: relative; height: auto; padding: 90px 0; }
  .hscroll-track { flex-direction: column; padding: 0 var(--gutter); transform: none !important; }
  .hcard { width: 100%; min-height: 0; }
  .hcard h3 { margin-top: 30px; }
  .hscroll-progress { display: none; }
}

/* ---------- Projects ---------- */
.projects { display: grid; gap: clamp(60px, 9vw, 130px); }
.project { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.project:nth-child(even) .project-visual { order: 2; }
.project-visual { position: relative; }
.browser {
  position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2);
  background: #0c0d18; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .02), 0 30px 80px -40px rgba(110, 104, 224, .5);
  transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .8s var(--ease);
}
.browser-bar { height: 40px; display: flex; align-items: center; gap: 14px; padding: 0 16px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
.browser-dots { display: flex; gap: 7px; }
.browser-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.browser-dots i:first-child { background: #ff5f57; } .browser-dots i:nth-child(2) { background: #febc2e; } .browser-dots i:nth-child(3) { background: #28c840; }
.browser-url { flex: 1; height: 24px; border-radius: 8px; background: rgba(255, 255, 255, .05); font-size: 12px; color: var(--muted); display: flex; align-items: center; justify-content: center; gap: 8px; }
.browser-url svg { width: 11px; height: 11px; color: #28c840; }
.browser-screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.browser-screen img { width: 100%; height: auto; position: absolute; top: 0; left: 0; transform: translateY(0); }
.browser-screen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 75%, rgba(5, 6, 11, .35)); pointer-events: none; }
.phone {
  position: absolute; right: -6%; bottom: -10%; width: 26%; border-radius: 26px; padding: 7px; background: #0c0d18;
  border: 1px solid var(--line-2); box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .9);
}
.phone-screen { border-radius: 20px; overflow: hidden; aspect-ratio: 9 / 19; position: relative; }
.phone-screen img { width: 100%; height: auto; position: absolute; top: 0; left: 0; }
.phone::before { content: ""; position: absolute; top: 14px; left: 50%; width: 30%; height: 5px; border-radius: 4px; background: #000; transform: translateX(-50%); z-index: 2; }
.project:nth-child(even) .phone { right: auto; left: -6%; }
.project-info .eyebrow { margin-bottom: 18px; }
.project-info h3 { font-size: clamp(30px, 3.4vw, 46px); font-weight: 300; margin-bottom: 18px; }
.project-info p { color: var(--muted); }
.project-list { margin: 26px 0 32px; display: grid; gap: 12px; }
.project-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--lavender); font-size: 15.5px; }
.project-list svg { width: 18px; height: 18px; color: var(--gold); margin-top: 4px; flex: none; }
@media (max-width: 900px) {
  .project { grid-template-columns: 1fr; }
  .project:nth-child(even) .project-visual { order: 0; }
  .phone { right: -2%; width: 30%; }
  .project:nth-child(even) .phone { left: auto; right: -2%; }
  .project-info { margin-top: 30px; }
}

/* ---------- Process timeline ---------- */
.process { position: relative; display: grid; gap: 0; }
.process-line { position: absolute; left: 31px; top: 10px; bottom: 10px; width: 1px; background: var(--line); }
.process-line i { position: absolute; inset: 0; background: linear-gradient(var(--gold), var(--violet)); transform-origin: top; transform: scaleY(0); box-shadow: 0 0 12px rgba(243, 199, 122, .5); }
.step { display: grid; grid-template-columns: 64px 1fr; gap: clamp(20px, 4vw, 48px); padding: 34px 0; position: relative; }
.step-dot {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; position: relative; z-index: 1;
  background: var(--bg-2); border: 1px solid var(--line-2); font-family: var(--f-display); font-size: 18px; color: var(--lavender);
  transition: border-color .6s, box-shadow .6s, color .6s;
}
.step.is-in .step-dot { border-color: rgba(243, 199, 122, .7); color: var(--gold-2); box-shadow: 0 0 30px -4px rgba(243, 199, 122, .5); }
.step-body { padding-top: 10px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 30px; }
.step-body h3 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 300; }
.step-body p { color: var(--muted); }
.step-body .when { display: block; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; font-family: var(--f-display); }
@media (max-width: 760px) {
  .step-body { grid-template-columns: 1fr; gap: 12px; }
  .step { grid-template-columns: 48px 1fr; }
  .step-dot { width: 48px; height: 48px; font-size: 15px; }
  .process-line { left: 23.5px; }
}

/* ---------- All-inclusive ---------- */
.included { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.included-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.inc { display: flex; gap: 14px; padding: 20px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); align-items: flex-start; }
.inc svg { width: 22px; height: 22px; color: var(--gold); flex: none; margin-top: 2px; }
.inc strong { display: block; font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.inc span { color: var(--muted); font-size: 14px; line-height: 1.55; display: block; }
@media (max-width: 960px) { .included { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .included-list { grid-template-columns: 1fr; } }

/* ---------- Demo: quote simulator ---------- */
.demo-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 24px; align-items: stretch; }
.demo-panel { border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); padding: clamp(24px, 3vw, 36px); }
.demo-panel h3 { font-size: 22px; margin-bottom: 6px; }
.demo-panel .muted { font-size: 14.5px; }
.field { display: grid; gap: 10px; margin-top: 24px; }
.field > label, .field-label { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--lavender); font-family: var(--f-display); }
.field-label .opt { text-transform: none; letter-spacing: 0; color: var(--dim); font-family: var(--f-body); font-size: 12.5px; margin-left: 6px; }
.input, .select, .textarea {
  width: 100%; height: 54px; padding: 0 18px; border-radius: 14px; border: 1px solid var(--line-2);
  background: rgba(5, 6, 11, .6); color: var(--text); outline: none; transition: border-color .3s, box-shadow .3s, background .3s;
}
.textarea { height: auto; min-height: 140px; padding: 16px 18px; resize: vertical; line-height: 1.6; }
.select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23cfcbf0' stroke-width='1.5'><path d='M1 1l5 5 5-5'/></svg>"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 44px; }
.select option { background: #0e1020; }
.input::placeholder, .textarea::placeholder { color: var(--dim); }
.input:focus, .select:focus, .textarea:focus { border-color: rgba(143, 138, 240, .7); box-shadow: 0 0 0 4px rgba(110, 104, 224, .15); background: rgba(5, 6, 11, .85); }
.input.is-invalid, .textarea.is-invalid, .select.is-invalid { border-color: #ff7a8a; box-shadow: 0 0 0 4px rgba(255, 122, 138, .12); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 100px; border: 1px solid var(--line-2);
  font-size: 14.5px; color: var(--muted); cursor: pointer; transition: all .35s var(--ease); background: rgba(255, 255, 255, .015); user-select: none;
}
.chip span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--dim); transition: all .35s var(--ease); }
.chip:hover span { border-color: rgba(207, 203, 240, .35); color: var(--text); }
.chip input:checked + span { border-color: rgba(243, 199, 122, .7); color: var(--text); background: rgba(243, 199, 122, .08); box-shadow: 0 0 24px -8px rgba(243, 199, 122, .5); }
.chip input:checked + span::before { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 8px var(--gold); }
.chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.chips.is-invalid .chip span { border-color: rgba(255, 122, 138, .5); }

.range { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--gold) var(--p, 30%), var(--line-2) var(--p, 30%)); outline: none; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--gold); cursor: pointer; box-shadow: 0 0 16px rgba(243, 199, 122, .6); }
.range::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid var(--gold); cursor: pointer; }
.range-value { font-family: var(--f-display); color: var(--gold-2); }

/* Generated quote document */
.quote-doc {
  position: relative; border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px);
  background: linear-gradient(180deg, #f5f4fb, #e9e7f6); color: #17163a; overflow: hidden;
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .8), 0 0 80px -30px rgba(110, 104, 224, .6);
  min-height: 100%;
}
.quote-doc::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, #3e3ba8, #8f8af0, #f3c77a); }
.qd-head { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid rgba(23, 22, 58, .12); }
.qd-brand { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); letter-spacing: .26em; font-size: 14px; }
.qd-brand svg { width: 34px; height: 30px; }
.qd-meta { text-align: right; font-size: 12px; color: #5a5880; line-height: 1.6; }
.qd-meta strong { display: block; font-size: 13px; color: #17163a; letter-spacing: .08em; }
.qd-client { margin: 20px 0; font-size: 13.5px; color: #5a5880; }
.qd-client strong { color: #17163a; font-size: 16px; display: block; }
.qd-lines { display: grid; gap: 0; }
.qd-line { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed rgba(23, 22, 58, .14); font-size: 14px; animation: line-in .6s var(--ease) both; }
.qd-line span:last-child { color: #3e3ba8; font-weight: 600; white-space: nowrap; }
.qd-line.empty { color: #8a88a8; font-style: italic; }
@keyframes line-in { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }
.qd-foot { margin-top: 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.qd-delay { font-size: 13px; color: #5a5880; }
.qd-delay strong { color: #17163a; }
.qd-stamp {
  font-family: var(--f-display); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: #3e3ba8;
  border: 1.5px solid #3e3ba8; padding: 7px 12px; border-radius: 8px; transform: rotate(-4deg);
}
.qd-generating { position: absolute; top: 18px; right: 18px; display: none; align-items: center; gap: 8px; font-size: 12px; color: #3e3ba8; }
.qd-generating.on { display: inline-flex; }
.qd-generating i { width: 6px; height: 6px; border-radius: 50%; background: #3e3ba8; animation: blink 1s infinite; }
.qd-generating i:nth-child(2) { animation-delay: .15s; } .qd-generating i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .2; } }
@media (max-width: 960px) { .demo-grid { grid-template-columns: 1fr; } }

/* ---------- Demo: AI agent ---------- */
.agent { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.chat { border-radius: var(--r-lg); border: 1px solid var(--line-2); background: rgba(9, 10, 20, .85); overflow: hidden; box-shadow: 0 40px 100px -40px rgba(110, 104, 224, .55); }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.chat-avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, #2e2c86, #6e68e0); position: relative; }
.chat-avatar svg { width: 24px; height: 20px; }
.chat-avatar::after { content: ""; position: absolute; right: 0; bottom: 0; width: 10px; height: 10px; border-radius: 50%; background: #28c840; border: 2px solid #090a14; }
.chat-head strong { display: block; font-size: 15px; }
.chat-head small { color: var(--muted); font-size: 12.5px; }
.chat-head .tag { margin-left: auto; }
.chat-body { height: 360px; overflow-y: auto; padding: 22px 20px; display: flex; flex-direction: column; gap: 12px; scroll-behavior: smooth; }
.msg { max-width: 82%; padding: 12px 16px; border-radius: 18px; font-size: 14.5px; line-height: 1.55; animation: msg-in .5s var(--ease) both; }
.msg.bot { background: rgba(255, 255, 255, .05); border: 1px solid var(--line); border-bottom-left-radius: 6px; align-self: flex-start; }
.msg.user { background: linear-gradient(135deg, #3e3ba8, #6e68e0); border-bottom-right-radius: 6px; align-self: flex-end; }
.msg.typing { display: inline-flex; gap: 5px; padding: 16px 18px; }
.msg.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--lavender); animation: blink 1s infinite; }
.msg.typing i:nth-child(2) { animation-delay: .15s; } .msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes msg-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.chat-suggest { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 20px 20px; border-top: 1px solid var(--line); }
.chat-suggest button { font-size: 13px; padding: 9px 14px; border-radius: 100px; border: 1px solid var(--line-2); color: var(--lavender); transition: all .3s; }
.chat-suggest button:hover { border-color: var(--gold); color: var(--text); background: rgba(243, 199, 122, .06); }
.chat-suggest button:disabled { opacity: .4; pointer-events: none; }
.agent-points { display: grid; gap: 18px; margin-top: 32px; }
.agent-points li { display: flex; gap: 14px; align-items: flex-start; color: var(--lavender); }
.agent-points svg { width: 20px; height: 20px; color: var(--gold); flex: none; margin-top: 3px; }
@media (max-width: 960px) { .agent { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); transition: border-color .4s, background .4s; }
.faq-item.is-open { border-color: rgba(143, 138, 240, .35); background: rgba(110, 104, 224, .05); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 26px; text-align: left; font-size: 17px; font-weight: 500; }
.faq-q .plus { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; flex: none; transition: transform .5s var(--ease), border-color .4s, background .4s; }
.faq-q .plus::before, .faq-q .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--text); transform: translate(-50%, -50%); }
.faq-q .plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .5s var(--ease); }
.faq-item.is-open .plus { transform: rotate(180deg); border-color: var(--gold); background: rgba(243, 199, 122, .1); }
.faq-item.is-open .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 26px 26px; color: var(--muted); max-width: 820px; }
.faq-a p + p { margin-top: -12px; }
.faq-layout { display: grid; grid-template-columns: 280px 1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.faq-nav { position: sticky; top: calc(var(--header-h) + 30px); display: grid; gap: 4px; }
.faq-nav a { padding: 12px 16px; border-radius: 12px; color: var(--muted); font-size: 15px; transition: all .3s; border: 1px solid transparent; }
.faq-nav a:hover, .faq-nav a.is-active { color: var(--text); background: var(--surface-2); border-color: var(--line); }
.faq-group + .faq-group { margin-top: 64px; }
.faq-group h2 { font-size: clamp(24px, 2.6vw, 34px); font-weight: 300; margin-bottom: 24px; scroll-margin-top: calc(var(--header-h) + 30px); }
@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; } .faq-nav { position: relative; top: 0; display: flex; flex-wrap: wrap; } }

/* ---------- CTA ---------- */
.cta {
  position: relative; border-radius: clamp(24px, 3vw, 40px); overflow: hidden; padding: clamp(50px, 8vw, 110px) clamp(24px, 6vw, 90px);
  border: 1px solid var(--line-2); text-align: center; isolation: isolate;
  background: radial-gradient(ellipse at 50% 120%, rgba(110, 104, 224, .45), transparent 60%), radial-gradient(ellipse at 80% -20%, rgba(243, 199, 122, .15), transparent 50%), var(--bg-2);
}
.cta-mark { position: absolute; left: 50%; top: 50%; width: min(70vw, 760px); transform: translate(-50%, -50%); opacity: .08; z-index: -1; }
.cta h2 { max-width: 860px; margin: 0 auto 24px; }
.cta .lead { margin: 0 auto 40px; }
.cta .btn-row { justify-content: center; }
.cta-spark {
  position: absolute; z-index: -1; width: 160%; height: 2px; left: -30%; top: 50%; transform: rotate(-24deg);
  background: linear-gradient(90deg, transparent, rgba(243, 199, 122, .0) 30%, rgba(255, 228, 174, .9) 50%, rgba(243, 199, 122, 0) 70%, transparent);
  filter: blur(.5px); box-shadow: 0 0 30px rgba(243, 199, 122, .6); opacity: .5;
  animation: spark-sweep 7s var(--ease-in-out) infinite;
}
@keyframes spark-sweep { 0%, 100% { transform: rotate(-24deg) translateX(-20%); opacity: 0; } 50% { transform: rotate(-24deg) translateX(20%); opacity: .7; } }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.member { padding: 0; }
.member-photo {
  aspect-ratio: 4 / 5; position: relative; overflow: hidden; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 35%, rgba(110, 104, 224, .28), transparent 60%), linear-gradient(180deg, #11122a, #08091a);
  border-bottom: 1px solid var(--line);
}
.member-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.member-photo .placeholder { display: grid; place-items: center; gap: 16px; text-align: center; color: var(--dim); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; }
.member-photo .initial { font-family: var(--f-display); font-weight: 200; font-size: clamp(90px, 12vw, 160px); line-height: 1; letter-spacing: 0; text-transform: none; background: var(--grad-satin); -webkit-background-clip: text; background-clip: text; color: transparent; }
.member-photo .frame { position: absolute; inset: 18px; border: 1px dashed rgba(207, 203, 240, .2); border-radius: 18px; pointer-events: none; }
.member-body { padding: 28px 30px 32px; }
.member-body h3 { font-size: 30px; font-weight: 300; }
.member-role { color: var(--gold); font-family: var(--f-display); font-size: 13px; letter-spacing: .22em; text-transform: uppercase; margin: 8px 0 16px; display: block; }
.member-body p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 760px) { .team { grid-template-columns: 1fr; } }

/* Values */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value h3 { font-size: 22px; margin-bottom: 10px; }
.value p { color: var(--muted); font-size: 15px; }
@media (max-width: 1020px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 100px); align-items: center; }
.split p + p { margin-top: 18px; }
.split .prose p { color: var(--muted); font-size: 17px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.quote-big { font-family: var(--f-display); font-weight: 300; font-size: clamp(26px, 3.2vw, 44px); line-height: 1.3; letter-spacing: -0.01em; }
.quote-big em { font-style: normal; color: var(--gold-2); }

/* ---------- Service detail ---------- */
.svc { display: grid; grid-template-columns: 90px 1fr 1fr; gap: clamp(20px, 4vw, 60px); padding: clamp(40px, 6vw, 70px) 0; border-top: 1px solid var(--line); scroll-margin-top: var(--header-h); }
.svc:last-child { border-bottom: 1px solid var(--line); }
.svc-num { font-family: var(--f-display); font-weight: 200; font-size: 44px; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(207, 203, 240, .45); }
.svc h2 { font-size: clamp(30px, 3.4vw, 46px); font-weight: 300; margin-bottom: 18px; }
.svc .lead { font-size: 17px; }
.svc-list { display: grid; gap: 14px; align-content: start; }
.svc-list li { display: flex; gap: 14px; align-items: flex-start; padding-bottom: 14px; border-bottom: 1px solid var(--line); color: var(--lavender); }
.svc-list li:last-child { border-bottom: 0; }
.svc-list svg { width: 18px; height: 18px; color: var(--gold); flex: none; margin-top: 4px; }
.svc-for { margin-top: 26px; font-size: 14px; color: var(--dim); }
.svc-for strong { color: var(--muted); font-weight: 600; }
@media (max-width: 900px) { .svc { grid-template-columns: 1fr; } }

.svc-index { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }

/* ---------- Contact / multistep form ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.contact-aside { position: sticky; top: calc(var(--header-h) + 30px); display: grid; gap: 20px; }
.contact-aside .card { padding: 26px; }
.contact-line { display: flex; gap: 14px; align-items: flex-start; }
.contact-line + .contact-line { margin-top: 18px; }
.contact-line svg { width: 20px; height: 20px; color: var(--gold); margin-top: 3px; flex: none; }
.contact-line small { display: block; color: var(--dim); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.contact-line a:hover { color: var(--gold-2); }
.promise li { display: flex; gap: 12px; color: var(--lavender); font-size: 15px; }
.promise li + li { margin-top: 12px; }
.promise svg { width: 18px; height: 18px; color: var(--gold); flex: none; margin-top: 4px; }

.form-card { border-radius: var(--r-lg); border: 1px solid var(--line-2); background: rgba(9, 10, 20, .7); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding: clamp(24px, 4vw, 48px); position: relative; overflow: hidden; }
.form-progress { display: flex; gap: 8px; margin-bottom: 34px; }
.form-progress button { flex: 1; text-align: left; padding-top: 14px; position: relative; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); font-family: var(--f-display); transition: color .4s; }
.form-progress button::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; border-radius: 2px; background: var(--line-2); }
.form-progress button::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; border-radius: 2px; background: var(--grad-gold); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); box-shadow: 0 0 10px rgba(243, 199, 122, .5); }
.form-progress button.is-done, .form-progress button.is-current { color: var(--lavender); }
.form-progress button.is-done::after, .form-progress button.is-current::after { transform: scaleX(1); }
.form-progress button:disabled { cursor: default; }
.form-progress .lbl { display: inline; }
@media (max-width: 560px) { .form-progress .lbl { display: none; } }

.js .form-step { display: none; }
.js .form-step.is-active { display: block; animation: step-in .7s var(--ease) both; }
.js .form-step.is-back { animation-name: step-in-back; }
@keyframes step-in { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }
@keyframes step-in-back { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: none; } }
.form-step h2 { font-size: clamp(26px, 2.8vw, 36px); font-weight: 300; margin-bottom: 8px; }
.form-step > p.muted { margin-bottom: 8px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
.form-nav { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 38px; flex-wrap: wrap; }
.form-nav .spacer { flex: 1; }
.form-error { color: #ff9aa6; font-size: 14px; margin-top: 16px; display: none; }
.form-error.on { display: block; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); margin-top: 26px; cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; border-radius: 7px; border: 1px solid var(--line-2); flex: none; margin: 1px 0 0; display: grid; place-items: center; cursor: pointer; transition: all .3s; background: rgba(5, 6, 11, .6); }
.check input:checked { background: var(--gold); border-color: var(--gold); }
.check input:checked::after { content: ""; width: 6px; height: 11px; border: solid #0b0b18; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); }
.check input.is-invalid { border-color: #ff7a8a; }
.check a { color: var(--lavender); text-decoration: underline; text-underline-offset: 3px; }
.file-drop { position: relative; border: 1px dashed var(--line-2); border-radius: 14px; padding: 22px; text-align: center; color: var(--muted); font-size: 14px; transition: all .3s; cursor: pointer; }
.file-drop:hover, .file-drop.is-over { border-color: var(--gold); background: rgba(243, 199, 122, .04); color: var(--text); }
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-drop svg { width: 26px; height: 26px; margin: 0 auto 8px; color: var(--lavender); }
.file-drop .file-name { display: block; margin-top: 6px; color: var(--gold-2); font-size: 13px; }
.recap { margin-top: 24px; border-radius: 16px; border: 1px solid var(--line); padding: 18px 20px; background: rgba(255, 255, 255, .02); font-size: 14px; display: grid; gap: 8px; }
.recap div { display: flex; gap: 12px; }
.recap dt { color: var(--dim); min-width: 110px; }
.recap dd { margin: 0; color: var(--lavender); }
.hp { position: absolute; left: -9999px; }
.btn.is-loading { pointer-events: none; opacity: .8; }
.btn.is-loading svg { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 960px) { .contact-layout { grid-template-columns: 1fr; } .contact-aside { position: relative; top: 0; order: 2; } }

/* ---------- Legal ---------- */
.legal { max-width: 820px; }
.legal h2 { font-size: 26px; font-weight: 400; margin: 48px 0 14px; }
.legal p, .legal li { color: var(--muted); }
.legal p + p { margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; margin-top: 10px; }
.legal a { color: var(--lavender); text-decoration: underline; text-underline-offset: 3px; }
.todo { color: var(--gold-2); background: rgba(243, 199, 122, .08); border: 1px dashed rgba(243, 199, 122, .4); padding: 1px 8px; border-radius: 6px; font-size: .95em; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: clamp(60px, 8vw, 100px) 0 36px; overflow: hidden; background: linear-gradient(180deg, transparent, rgba(46, 44, 134, .08)); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { color: var(--muted); margin-top: 20px; max-width: 340px; font-size: 15px; }
.footer-col h4 { font-family: var(--f-display); font-size: 12.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--lavender); margin-bottom: 20px; font-weight: 400; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: var(--muted); font-size: 15px; transition: color .3s; }
.footer-col a:hover { color: var(--text); }
.socials { display: flex; gap: 10px; margin-top: 26px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--lavender); transition: all .4s var(--ease); }
.socials a:hover { border-color: var(--gold); color: var(--gold-2); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.footer-word {
  font-family: var(--f-display); font-weight: 200; font-size: clamp(64px, 16.5vw, 250px); letter-spacing: .12em; line-height: .9;
  text-align: center; margin: clamp(50px, 8vw, 90px) 0 30px; white-space: nowrap; user-select: none;
  background: linear-gradient(180deg, rgba(207, 203, 240, .18), rgba(207, 203, 240, 0)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--dim); font-size: 13.5px; padding-top: 26px; border-top: 1px solid var(--line); }
.footer-bottom a:hover { color: var(--text); }
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Misc ---------- */
.divider-spark { height: 1px; position: relative; background: var(--line); margin: 0 auto; max-width: var(--container); }
.divider-spark::after { content: ""; position: absolute; top: -1px; left: 0; width: 140px; height: 3px; border-radius: 3px; background: var(--grad-gold); filter: blur(1px); animation: divider-run 6s var(--ease-in-out) infinite; }
@keyframes divider-run { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 140px); opacity: 0; } }

.center-msg { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter) 60px; }
.center-msg .alpha { width: 140px; height: 120px; margin: 0 auto 36px; }
.center-msg h1 { margin-bottom: 20px; }
.center-msg .lead { margin: 0 auto 40px; }
.center-msg .btn-row { justify-content: center; }
.big-404 { font-family: var(--f-display); font-weight: 200; font-size: clamp(120px, 24vw, 280px); line-height: 1; background: var(--grad-satin); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal], .js [data-split] .w > span { opacity: 1 !important; transform: none !important; }
  .marquee-track { animation: none; }
}
