/* ==========================================================================
   HAVAL Co. — Water Works Construction & Trading
   ========================================================================== */

:root {
  --bg: #eceef4;
  --surface: #ffffff;
  --ink: #0c111b;
  --ink-2: #3b4354;
  --muted: #737b8c;
  --line: rgba(12, 17, 27, .12);

  --navy: #0e141d;
  --navy-2: #151c2a;
  --navy-3: #1c2537;
  --indigo: #725ce0;
  --indigo-2: #5e48cf;
  --sky: #84bcd2;
  --grad: linear-gradient(90deg, #725ce0 0%, #84bcd2 100%);

  --ease: cubic-bezier(.7, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --pad: clamp(16px, 2.4vw, 40px);
  --radius: clamp(18px, 2vw, 30px);
  --f: 'Poppins', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* Registered so the light/dark theme colours interpolate smoothly instead of snapping */
@property --bg { syntax: '<color>'; inherits: true; initial-value: #eceef4; }
@property --surface { syntax: '<color>'; inherits: true; initial-value: #ffffff; }
@property --ink { syntax: '<color>'; inherits: true; initial-value: #0c111b; }
@property --ink-2 { syntax: '<color>'; inherits: true; initial-value: #3b4354; }
@property --muted { syntax: '<color>'; inherits: true; initial-value: #737b8c; }
@property --line { syntax: '<color>'; inherits: true; initial-value: rgba(12, 17, 27, .12); }

body.theme-dark {
  --bg: #0b1018;
  --surface: #151c2a;
  --ink: #eef1f7;
  --ink-2: #b8c0d0;
  --muted: #7d8699;
  --line: rgba(238, 241, 247, .12);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--f);
  font-size: 16px;
  line-height: 1.55;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  --theme-t: 1.4s cubic-bezier(.37, 0, .63, 1);
  transition: --bg var(--theme-t), --surface var(--theme-t), --ink var(--theme-t),
    --ink-2 var(--theme-t), --muted var(--theme-t), --line var(--theme-t);
}
html.is-loading body { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
svg { display: block; }
::selection { background: var(--indigo); color: #fff; }

/* Keyboard focus stays visible even though the custom cursor hides the pointer */
:focus-visible { outline: 2px solid var(--indigo); outline-offset: 3px; }
[tabindex="-1"]:focus { outline: none; }
.skip-link {
  position: fixed; left: 16px; top: 16px; z-index: 300; padding: 12px 18px; border-radius: 999px;
  background: var(--navy); color: #fff; font-size: 13px; font-weight: 500;
  transform: translateY(-180%); transition: transform .3s var(--ease-out);
}
.skip-link:focus { transform: none; }

html.has-cursor, html.has-cursor * { cursor: none !important; }

.container { width: 100%; max-width: 1520px; margin: 0 auto; padding: 0 var(--pad); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hide-sm { }

.label, .eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow--light { color: rgba(255, 255, 255, .6); }

.section-label {
  display: flex; align-items: center; gap: 14px;
  font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
  color: var(--muted);
}
.section-label .idx { color: var(--indigo); }
.section-label::before { content: ''; width: 36px; height: 1px; background: var(--grad); order: -1; }

.h2 {
  font-size: clamp(42px, 6.2vw, 108px);
  line-height: .98;
  letter-spacing: -.04em;
  font-weight: 400;
  margin-top: 28px;
}
.lede { font-size: clamp(16px, 1.25vw, 20px); line-height: 1.6; color: var(--ink-2); max-width: 520px; }

.ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.ln > span { display: inline-block; will-change: transform; }

/* rolling text (hover) */
.roll { display: inline-block; overflow: hidden; height: 1.3em; line-height: 1.3em; vertical-align: top; }
.roll > span { display: inline-block; position: relative; transition: transform .7s var(--ease); }
.roll > span::after { content: attr(data-text); position: absolute; left: 0; top: 100%; }
a:hover .roll > span, button:hover .roll > span, .roll:hover > span { transform: translateY(-100%); }

/* ==========================================================================
   Loader
   ========================================================================== */
.loader {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: var(--navy); color: #fff;
}
.loader__mark { position: relative; width: clamp(72px, 7vw, 100px); aspect-ratio: 1374 / 2000; }
.loader__logo { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
/* pieces start hidden; main.js animates them in one by one */
.loader__logo .lp { fill-opacity: 0; stroke-opacity: 0; stroke-width: 26; stroke-linejoin: miter; }
.loader.is-static .loader__logo .lp { fill-opacity: 1; }
.loader__count {
  position: absolute; left: var(--pad); bottom: calc(var(--pad) - .14em);
  font-size: clamp(72px, 13vw, 200px); line-height: 1; font-weight: 300; letter-spacing: -.05em;
}
.loader__meta {
  position: absolute; right: var(--pad); bottom: var(--pad);
  text-align: right; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.5); line-height: 2;
}
.loader__bar { position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: var(--grad); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* ==========================================================================
   Cursor
   ========================================================================== */
.cursor { position: fixed; inset: 0; pointer-events: none; z-index: 200; display: none; transition: opacity .3s; }
html.has-cursor .cursor { display: block; }
.cursor.is-hidden { opacity: 0; }
.cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; will-change: transform; }
.cursor__dot::before {
  content: ''; position: absolute; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%;
  background: var(--indigo); transition: transform .35s var(--ease-out);
}
.cursor__circle {
  position: absolute; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%;
  border: 1px solid rgba(114, 92, 224, .55);
  transition: transform .55s var(--ease-out), background-color .4s, border-color .4s;
}
.cursor__label {
  position: absolute; transform: translate(-50%, -50%) scale(.4); opacity: 0;
  font-size: 12px; font-weight: 500; letter-spacing: .04em; color: #fff; white-space: nowrap;
  transition: transform .5s var(--ease-out), opacity .3s;
}
.cursor.is-hover .cursor__circle { transform: scale(1.5); background: rgba(114, 92, 224, .14); border-color: transparent; }
.cursor.is-hover .cursor__dot::before,
.cursor.is-label .cursor__dot::before { transform: scale(0); }
.cursor.is-label .cursor__circle { transform: scale(2.3); background: var(--indigo); border-color: transparent; }
.cursor.is-label .cursor__label { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.cursor.is-down .cursor__circle { transform: scale(.75); }
.cursor.is-down.is-label .cursor__circle { transform: scale(1.9); }
/* Loading: the cursor fades in under the logo; its ring fills with load progress and turns slowly */
.cursor.is-loading { animation: cursorIn 1.2s var(--ease-out) both; }
.cursor.is-loading .cursor__circle {
  border-color: rgba(255, 255, 255, .14);
  background: conic-gradient(#84bcd2 calc(var(--p, 0) * 360deg), transparent 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
  animation: ringIn 1.4s var(--ease-out) both, cursorSpin 3s linear infinite;
}
.cursor.is-loading .cursor__dot::before { background: #fff; animation: cursorPulse 1.6s ease-in-out infinite; }
@keyframes cursorIn { from { opacity: 0; } }
@keyframes ringIn { from { scale: 0; } }
@keyframes cursorSpin { to { rotate: 360deg; } }
@keyframes cursorPulse { 50% { transform: scale(1.8); opacity: .45; } }

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 70;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 4vw;
  padding: 16px var(--pad);
  transition: transform .8s var(--ease), color .6s;
  pointer-events: none;
}
.header > * { pointer-events: auto; }
.header.is-hidden { transform: translateY(-120%); }

.brand {
  display: flex; align-items: center; gap: 12px; padding: 6px 14px 6px 6px; border-radius: 999px;
  transition: background-color .5s, backdrop-filter .5s;
}
.brand__mark { width: 29px; height: 42px; color: var(--ink); transition: color .6s; }
.brand__name { font-weight: 600; font-size: 17px; line-height: 1.1; letter-spacing: -.01em; }
.brand__name small { display: block; font-size: 8.5px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.header.is-scrolled .brand { background: color-mix(in srgb, var(--bg) 72%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }

.header__tag {
  max-width: 440px; font-size: clamp(14px, 1.15vw, 18px); line-height: 1.35; letter-spacing: -.01em;
  transition: opacity .6s, transform .8s var(--ease-out);
}
.header.is-scrolled .header__tag { opacity: 0; transform: translateY(-10px); pointer-events: none; }
.header__actions { display: flex; gap: 8px; }

html.menu-open .header { color: #fff; }
html.menu-open .brand__mark { color: #fff; }
html.menu-open .header .brand { background: transparent; }
html.menu-open .header__tag { opacity: 0; }

/* Pills & buttons */
.pill, .btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 12px;
  border-radius: 999px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  transition: color .5s var(--ease);
  will-change: transform;
}
.pill::before, .btn::before {
  content: ''; position: absolute; inset: -1px; z-index: -1;
  background: var(--hover-bg);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  transform: translateY(102%);
  transition: transform .7s var(--ease), border-radius .7s var(--ease);
}
.pill:hover::before, .btn:hover::before { transform: translateY(0); border-radius: 0; }

.pill { height: 44px; padding: 0 20px; font-size: 12px; }
.pill--dark { background: var(--navy); color: #fff; --hover-bg: var(--indigo); }
.pill--light { background: var(--surface); color: var(--ink); --hover-bg: var(--navy); }
.pill--light:hover { color: #fff; }
body.theme-dark .pill--dark { background: var(--indigo); --hover-bg: #fff; }
body.theme-dark .pill--dark:hover { color: var(--navy); }
body.theme-dark .pill--light { background: var(--navy-3); color: #fff; --hover-bg: #fff; }
body.theme-dark .pill--light:hover { color: var(--navy); }
html.menu-open .pill--light { background: #fff; color: var(--navy); --hover-bg: var(--indigo); }
html.menu-open .pill--light:hover { color: #fff; }

.pill__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill__dots { display: flex; gap: 3px; transition: transform .6s var(--ease); }
.pill__dots i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
html.menu-open .pill__dots { transform: rotate(90deg); }

.btn {
  height: 60px; padding: 0 8px 0 28px; font-size: 13px; margin-top: 36px;
  background: var(--navy); color: #fff; --hover-bg: var(--indigo);
}
.btn__arrow {
  width: 44px; height: 44px; border-radius: 50%; background: var(--indigo); display: grid; place-items: center;
  transition: transform .7s var(--ease), background-color .5s;
}
.btn__arrow svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover .btn__arrow { transform: rotate(-45deg); background: var(--navy); }
.btn--xl { height: 84px; padding: 0 12px 0 40px; font-size: 15px; background: #fff; color: var(--navy); }
.btn--xl .btn__arrow { width: 62px; height: 62px; }
.btn--xl:hover { color: #fff; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 620px;
  padding: 82px var(--pad) 0; display: flex; flex-direction: column;
}
.hero__stage {
  position: relative; flex: 1; overflow: hidden; border-radius: var(--radius);
  background:
    radial-gradient(90% 80% at 85% 0%, rgba(80, 76, 170, .45) 0%, rgba(80, 76, 170, 0) 60%),
    radial-gradient(80% 70% at 0% 100%, rgba(52, 88, 120, .45) 0%, rgba(52, 88, 120, 0) 60%),
    var(--navy);
  transform-origin: 50% 0%;
  will-change: transform;
}
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(70% 60% at 0% 100%, rgba(8, 11, 18, .75) 0%, rgba(8, 11, 18, 0) 70%);
}
.hero__copy { position: absolute; left: clamp(22px, 3.2vw, 56px); bottom: clamp(22px, 3.2vw, 52px); color: #fff; pointer-events: none; z-index: 2; }
.hero__title { font-size: clamp(46px, 7.6vw, 136px); line-height: .94; letter-spacing: -.045em; font-weight: 400; margin-top: 18px; }
.hero__meta {
  position: absolute; right: clamp(22px, 3.2vw, 56px); bottom: clamp(22px, 3.2vw, 52px); z-index: 2;
  display: flex; gap: 44px; color: #fff; font-size: 15px; pointer-events: none;
}
.hero__meta .label { color: rgba(255,255,255,.5); margin-bottom: 6px; }
.hero__hint {
  position: absolute; top: 22px; right: 22px; z-index: 2; pointer-events: none;
  display: flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 999px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: rgba(255,255,255,.75); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
}
.hero__hint-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 0 rgba(132, 188, 210,.6); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(132, 188, 210,.6); } 80%, 100% { box-shadow: 0 0 0 10px rgba(132, 188, 210,0); } }

.hero__foot {
  height: 58px; display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500;
}
.plus { font-weight: 300; font-size: 18px; color: var(--muted); }

html.no-webgl .hero__stage::after {
  content: ''; position: absolute; width: 60vmin; height: 60vmin; right: 10%; top: 12%; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #84bcd2, #725ce0 55%, transparent 70%); filter: blur(20px); opacity: .7;
}

/* ==========================================================================
   Intro
   ========================================================================== */
.intro { padding: clamp(110px, 18vh, 220px) 0 clamp(90px, 14vh, 170px); }
.intro__text { font-size: clamp(30px, 4vw, 68px); line-height: 1.12; letter-spacing: -.03em; margin-top: 40px; max-width: 1360px; }

/* Why Haval Co.: sticky heading + button beside a grid of flip-in tiles */
.why {
  display: grid; grid-template-columns: minmax(260px, .8fr) 2fr; gap: clamp(40px, 6vw, 110px);
  align-items: start; margin-top: clamp(80px, 12vh, 150px);
}
.why__head { position: relative; } /* static, like the rest of section 01 */
.why__title { font-size: clamp(38px, 4.4vw, 76px); line-height: 1; letter-spacing: -.04em; font-weight: 400; margin-top: 18px; }
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.why__item {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: space-between; gap: 48px;
  min-height: 250px; padding: clamp(20px, 2vw, 30px); border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  transition: color .5s var(--ease), border-color .5s;
}
.why__item::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(150deg, #725ce0 0%, #7b8cd9 55%, #84bcd2 100%);
  clip-path: circle(0% at 100% 100%); transition: clip-path .9s var(--ease);
}
.why__item:hover { color: #fff; border-color: transparent; }
.why__item:hover::before { clip-path: circle(150% at 100% 100%); }
.why__num { font-size: 12px; letter-spacing: .14em; color: var(--indigo); transition: color .5s; }
.why__item:hover .why__num { color: rgba(255, 255, 255, .8); }
.why__icon {
  position: absolute; top: clamp(20px, 2vw, 30px); right: clamp(20px, 2vw, 30px); width: 44px; height: 44px;
  fill: none; stroke: var(--indigo); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .9s var(--ease-out), stroke .5s;
}
.why__item:hover .why__icon { stroke: #fff; transform: rotate(-10deg) scale(1.15); }
.why__item p { font-size: clamp(18px, 1.5vw, 24px); line-height: 1.2; letter-spacing: -.02em; font-weight: 500; }

/* ==========================================================================
   Stats
   ========================================================================== */
.stats { padding-bottom: clamp(60px, 10vh, 120px); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat {
  position: relative; overflow: hidden; aspect-ratio: 1 / 1.08;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(20px, 2vw, 32px); border-radius: var(--radius);
  background: var(--surface);
  will-change: transform;
}
.stat::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(114, 92, 224, .22), transparent 60%);
}
.stat:hover::after { opacity: 1; }
.stat__num { font-size: clamp(54px, 6.8vw, 124px); font-weight: 300; letter-spacing: -.055em; line-height: .9; position: relative; z-index: 1; }
.stat--dark { background: var(--navy); color: #fff; }
.stat--dark .label, .stat--grad .label { color: rgba(255,255,255,.6); }
.stat--grad { background: linear-gradient(140deg, #725ce0 0%, #7b8cd9 55%, #84bcd2 100%); color: #fff; }
.stat--grad::after { background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.3), transparent 60%); }

/* ==========================================================================
   Services (horizontal)
   ========================================================================== */
.services { position: relative; overflow: hidden; }
.services__pin { height: 100vh; display: flex; align-items: center; }
.services__track { display: flex; gap: 16px; padding: 0 var(--pad); will-change: transform; }
.services__intro {
  flex: 0 0 min(560px, 84vw); height: min(74vh, 660px);
  display: flex; flex-direction: column; justify-content: space-between; padding-right: 48px;
}
.services__progress { margin-top: 36px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.services__progress span { display: block; height: 100%; background: var(--grad); transform-origin: left; transform: scaleX(0); }
.services__hint { margin-top: 16px; }

.scard { flex: 0 0 clamp(300px, 29vw, 450px); height: min(74vh, 660px); will-change: transform; }
.scard__inner {
  position: relative; height: 100%; overflow: hidden;
  display: flex; flex-direction: column;
  padding: clamp(22px, 2vw, 32px); border-radius: var(--radius);
  background: var(--navy); color: #fff;
  transition: box-shadow .6s;
}
.scard:hover .scard__inner { box-shadow: 0 40px 80px -30px rgba(14, 20, 29, .55); }
.scard--light .scard__inner { background: var(--surface); color: var(--ink); }
.scard--grad .scard__inner { background: linear-gradient(150deg, #6a52d6 0%, #7b8cd9 60%, #84bcd2 100%); }
.scard__top { display: flex; justify-content: space-between; font-size: 13px; letter-spacing: .12em; opacity: .6; }
.scard__art { flex: 1; display: grid; place-items: center; min-height: 140px; }
.scard__art svg {
  width: min(62%, 240px); overflow: visible;
  fill: none; stroke: url(#strokeGrad); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .9s var(--ease-out);
}
.scard--grad .scard__art svg { stroke: #fff; }
.scard:hover .scard__art svg { transform: scale(1.08) rotate(-3deg); }
.scard__art .faint { opacity: .3; }
.scard__art .dot { fill: var(--indigo); }
.scard--grad .scard__art .dot { fill: #fff; }
.scard__art .flow { stroke-dasharray: 8 12; animation: flow 2.4s linear infinite; }
.scard:hover .scard__art .flow { animation-duration: .7s; }
.scard__art .wave { animation: wave 3s ease-in-out infinite; }
.scard__art .spin { transform-origin: 50px 118px; animation: spin 6s linear infinite; }
.scard:hover .scard__art .spin { animation-duration: 1s; }
.scard__art .bubble { animation: bubble 2.8s ease-in-out infinite; }
.scard__art .bubble.b2 { animation-delay: -1.3s; }
.scard__art .pulse { animation: blink 1.4s ease-in-out infinite; }
@keyframes flow { to { stroke-dashoffset: -80; } }
@keyframes wave { 50% { transform: translateY(-8px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bubble { 0%, 100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(-14px); opacity: .4; } }
@keyframes blink { 50% { opacity: .15; } }

.scard h3 { font-size: clamp(21px, 1.7vw, 30px); line-height: 1.12; letter-spacing: -.025em; font-weight: 500; margin-bottom: 14px; }
.scard p { font-size: 14px; line-height: 1.6; opacity: .68; }
.scard__glare {
  position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(132, 188, 210, .22), transparent 50%);
}
.scard:hover .scard__glare { opacity: 1; }

/* ==========================================================================
   Process
   ========================================================================== */
.process { min-height: 100vh; display: flex; align-items: center; padding: clamp(90px, 12vh, 140px) 0; }
.process__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: clamp(70px, 12vh, 140px); }
.process__flow { position: relative; }
.process__line { position: absolute; top: 0; left: 12.5%; right: 12.5%; height: 2px; background: var(--line); }
.process__fill { position: absolute; inset: 0; background: var(--grad); transform-origin: left; transform: scaleX(0); }
.process__drop {
  position: absolute; top: 50%; left: 0; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%;
  background: var(--sky); box-shadow: 0 0 0 7px rgba(114, 92, 224, .18), 0 0 40px 6px rgba(114, 92, 224, .55);
}
.process__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { position: relative; padding: 54px 18px 0; text-align: center; opacity: .3; transition: opacity .7s var(--ease-out); }
.step.is-active { opacity: 1; }
.step__node {
  position: absolute; top: -11px; left: 50%; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--line);
  transition: background-color .6s, border-color .6s, box-shadow .6s, transform .6s var(--ease-out);
}
.step.is-active .step__node { background: var(--indigo); border-color: var(--indigo); box-shadow: 0 0 0 7px rgba(114, 92, 224, .16); transform: scale(1.1); }
.step__num { display: block; font-size: clamp(64px, 6.4vw, 118px); font-weight: 300; letter-spacing: -.06em; line-height: 1; transition: transform .8s var(--ease-out); transform: translateY(20px); }
.step.is-active .step__num { transform: none; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { font-size: clamp(22px, 1.8vw, 30px); font-weight: 500; letter-spacing: -.02em; margin: 18px 0 10px; }
.step p { font-size: 15px; color: var(--ink-2); max-width: 260px; margin: 0 auto; }

/* ==========================================================================
   Trading
   ========================================================================== */
.trading { position: relative; padding: clamp(90px, 14vh, 180px) 0; }
.trading__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: clamp(60px, 9vh, 110px); }

.tlist { border-top: 1px solid var(--line); }
.trow { position: relative; border-bottom: 1px solid var(--line); }
.trow::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--grad);
  transform: scaleX(0); transform-origin: right; transition: transform .9s var(--ease);
}
.trow:hover::after, .trow.is-open::after { transform: scaleX(1); transform-origin: left; }
.trow__head {
  width: 100%; display: grid; grid-template-columns: 70px 1fr auto 58px; align-items: center; gap: 20px;
  padding: clamp(24px, 3vw, 44px) 0; text-align: left;
}
.trow__idx { font-size: 13px; color: var(--indigo); letter-spacing: .12em; }
.trow__title { font-size: clamp(26px, 4.1vw, 70px); line-height: 1; letter-spacing: -.035em; transition: transform 1s cubic-bezier(.22, 1, .36, 1); }
.trow__count { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.trow__plus {
  position: relative; width: 58px; height: 58px; border-radius: 50%; border: 1px solid var(--line);
  transition: background-color .5s, border-color .5s, transform .7s var(--ease);
}
.trow__plus::before, .trow__plus::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 16px; height: 1.5px; margin: -.75px 0 0 -8px;
  background: currentColor; transition: transform .6s var(--ease);
}
.trow__plus::after { transform: rotate(90deg); }
.trow:hover .trow__plus { background: var(--navy); border-color: var(--navy); color: #fff; }
.trow.is-open .trow__plus { transform: rotate(45deg); background: var(--indigo); border-color: var(--indigo); color: #fff; }
.trow__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .8s var(--ease); }
.trow__body > div { overflow: hidden; }
.trow.is-open .trow__body { grid-template-rows: 1fr; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 0 40px 90px; }
.chips li {
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px;
  transform: translateY(16px); opacity: 0;
  transition: transform .7s var(--ease-out), opacity .5s, background-color .4s, color .4s, border-color .4s;
}
.trow.is-open .chips li { transform: none; opacity: 1; }
.trow.is-open .chips li:nth-child(2) { transition-delay: .04s; }
.trow.is-open .chips li:nth-child(3) { transition-delay: .08s; }
.trow.is-open .chips li:nth-child(4) { transition-delay: .12s; }
.trow.is-open .chips li:nth-child(5) { transition-delay: .16s; }
.trow.is-open .chips li:nth-child(6) { transition-delay: .2s; }
.trow.is-open .chips li:nth-child(7) { transition-delay: .24s; }
.chips li:hover { background: var(--navy); border-color: var(--navy); color: #fff; }


/* ==========================================================================
   Marquee
   ========================================================================== */
.clients { padding-bottom: clamp(60px, 10vh, 120px); }
.clients .section-label { margin-bottom: 28px; }
.marquee { overflow: hidden; padding: clamp(24px, 3.4vw, 50px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group {
  display: flex; align-items: center; gap: clamp(26px, 3vw, 56px); padding-right: clamp(26px, 3vw, 56px);
  font-size: clamp(36px, 5.6vw, 96px); font-weight: 300; letter-spacing: -.04em; white-space: nowrap; line-height: 1.1;
}
.marquee__group span { transition: color .4s; }
.marquee__group span:hover { color: var(--indigo); }
.drop {
  flex: 0 0 auto; width: .42em; height: .42em; background: var(--grad);
  border-radius: 50% 0 50% 50%; transform: rotate(-45deg);
}

/* ==========================================================================
   Values
   ========================================================================== */
.values { padding: clamp(110px, 16vh, 200px) 0 clamp(80px, 12vh, 150px); }
.values__statement { font-weight: 400; font-size: clamp(32px, 4.6vw, 80px); line-height: 1.06; letter-spacing: -.035em; margin-top: 40px; max-width: 1300px; }
.policies { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 48px); margin: clamp(80px, 12vh, 150px) 0 clamp(60px, 9vh, 110px); }
.policy { padding-top: 22px; border-top: 1px solid var(--line); position: relative; }
.policy::before { content: ''; position: absolute; top: -1px; left: 0; width: 40px; height: 1px; background: var(--grad); transition: width .9s var(--ease); }
.policy p { margin-top: 16px; color: var(--ink-2); font-size: 15px; }

.vcards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.vcard {
  position: relative; overflow: hidden; min-height: 400px;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(22px, 2vw, 32px); border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  transition: border-color .6s;
  will-change: transform;
}
.vcard::before {
  content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity .5s; pointer-events: none;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(114, 92, 224, .3), transparent 60%);
}
.vcard:hover::before { opacity: 1; }
.vcard:hover { border-color: rgba(132, 188, 210, .35); }
.vcard > * { position: relative; }
.vcard__icon {
  width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(114, 92, 224, .14); transition: transform .9s var(--ease-out), background-color .5s;
}
.vcard__icon svg { width: 36px; height: 36px; fill: none; stroke: url(#strokeGrad); stroke: var(--sky); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vcard:hover .vcard__icon { background: var(--indigo); }
.vcard:hover .vcard__icon svg { stroke: #fff; }
.vcard h3 { font-size: clamp(26px, 2.2vw, 38px); font-weight: 400; letter-spacing: -.03em; margin-bottom: 12px; }
.vcard p { color: var(--ink-2); font-size: 15px; }

/* ==========================================================================
   Technical staff (diagram built in main.js)
   ========================================================================== */
.team { position: relative; }
.team__pin { min-height: 100vh; display: flex; align-items: center; padding: clamp(90px, 12vh, 140px) 0; }
.team__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 110px); align-items: center; }
.team__roles { margin-top: 40px; border-top: 1px solid var(--line); }
.team__roles li {
  display: flex; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line);
  font-size: clamp(17px, 1.4vw, 22px); letter-spacing: -.01em;
}
.team__roles i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 5px color-mix(in srgb, var(--c) 22%, transparent); }
.team__viz { position: relative; width: 100%; max-width: 640px; aspect-ratio: 1; justify-self: center; }
.team__svg { width: 100%; height: 100%; overflow: visible; }
.team__svg .tl-link { stroke: rgba(132, 188, 210, .5); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; }
.team__svg .tl-spoke { stroke: rgba(132, 188, 210, .28); stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 1; }
.team__svg .tl-core { fill: var(--surface); stroke: #725ce0; stroke-width: 2; }
.team__svg .tl-logo { color: var(--ink); }
.team__svg .tl-ring {
  fill: none; stroke: rgba(114, 92, 224, .5); stroke-width: 1.5;
  transform-box: fill-box; transform-origin: center; animation: teamRing 2.8s var(--ease-out) infinite;
}
@keyframes teamRing { 0% { transform: scale(.7); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.team__total { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; pointer-events: none; }
.team__num {
  font-size: clamp(120px, 16vw, 260px); font-weight: 300; letter-spacing: -.06em; line-height: .85;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.team__total .label { margin-top: 14px; }

/* ==========================================================================
   Contact / CTA
   ========================================================================== */
.cta {
  position: relative; overflow: hidden; min-height: 100vh;
  display: flex; flex-direction: column; justify-content: space-between;
  background: var(--navy); color: #fff;
}
#rippleCanvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.cta::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(14,20,29,.2) 0%, rgba(14,20,29,0) 40%, rgba(14,20,29,.7) 100%);
}
.cta__inner { position: relative; z-index: 2; padding-top: clamp(130px, 20vh, 230px); pointer-events: none; }
.cta__inner a, .cta__title { pointer-events: auto; }
.cta__title { font-size: clamp(58px, 11.5vw, 210px); line-height: .92; letter-spacing: -.055em; font-weight: 400; margin: 26px 0 20px; }
.cta__title .ln { padding-bottom: .1em; margin-bottom: -.1em; }
.cta__title .word { display: inline-block; white-space: nowrap; }
.cta__title .ch { display: inline-block; transition: transform .6s var(--ease-out), color .4s; will-change: transform; }
.cta__title .ch:hover { transform: translateY(-.1em) rotate(-4deg); color: var(--sky); }

.contact__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px;
  margin-top: clamp(70px, 10vh, 120px); padding-top: 32px; border-top: 1px solid rgba(255,255,255,.14);
}
.contact__grid .label { color: rgba(255,255,255,.5); margin-bottom: 10px; }
.contact__grid p, .contact__grid a { font-size: clamp(15px, 1.2vw, 19px); font-weight: 500; }
.ulink { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease); }
.ulink:hover { background-size: 100% 1px; }

.footer {
  position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 26px var(--pad); font-size: 12px; letter-spacing: .08em; color: rgba(255,255,255,.5);
}
.footer .scroll-cta { text-transform: uppercase; letter-spacing: .2em; color: #fff; }

/* ==========================================================================
   Menu
   ========================================================================== */
.menu {
  position: fixed; inset: 0; z-index: 60;
  display: grid; grid-template-columns: 1.5fr 1fr; align-items: end; gap: 40px;
  padding: 120px var(--pad) calc(var(--pad) + 10px);
  background:
    radial-gradient(70% 60% at 100% 0%, rgba(80, 76, 170, .35), transparent 60%),
    var(--navy);
  color: #fff;
  clip-path: circle(0px at var(--cx, 95%) var(--cy, 40px));
  transition: clip-path 1s var(--ease);
  pointer-events: none; visibility: hidden;
}
.menu.is-open { clip-path: circle(150vmax at var(--cx, 95%) var(--cy, 40px)); pointer-events: auto; visibility: visible; }
.menu:not(.is-open) { transition: clip-path .8s var(--ease), visibility 0s .8s; }
.menu__link { display: block; overflow: hidden; font-size: clamp(38px, 6vw, 92px); line-height: 1.12; letter-spacing: -.045em; }
.menu__in { display: inline-flex; align-items: baseline; gap: 22px; transform: translateY(105%); transition: transform .9s var(--ease-out); }
.menu.is-open .menu__in { transform: none; transition-delay: calc(var(--i) * 55ms + .3s); }
.menu__in em { font-style: normal; font-size: 13px; letter-spacing: .12em; color: var(--sky); transform: translateY(-1.2em); }
.menu__link .roll { height: 1.12em; line-height: 1.12em; }
.menu__link:hover .roll > span::after { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.menu__aside { display: grid; gap: 28px; padding-bottom: 12px; opacity: 0; transform: translateY(20px); transition: opacity .6s, transform .8s var(--ease-out); }
.menu.is-open .menu__aside { opacity: 1; transform: none; transition-delay: .6s; }
.menu__aside .label { color: rgba(255,255,255,.5); margin-bottom: 6px; }
.menu__aside a, .menu__aside p { font-size: 18px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .header__tag { display: none; }
  .header { grid-template-columns: auto 1fr auto; }
  .stats__grid, .vcards, .policies { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: 1fr; }
  .why__head { position: static; }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 899px) {
  .services__pin { height: auto; display: block; padding: 90px 0; }
  .services__track { flex-direction: column; gap: 14px; }
  .services__intro { flex: none; height: auto; padding: 0 0 40px; }
  .services__progress, .services__hint { display: none; }
  .scard { flex: none; height: auto; }
  .scard__art { min-height: 220px; }

  .process__head, .trading__head { flex-direction: column; align-items: flex-start; }
  .process__line { left: 11px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .process__fill { transform-origin: top; transform: scaleY(0); }
  .process__drop { display: none; }
  .process__steps { grid-template-columns: 1fr; gap: 50px; }
  .step { text-align: left; padding: 0 0 0 52px; }
  .step__node { top: 8px; left: 0; margin-left: 0; }
  .step p { margin: 0; }

  .team__inner { grid-template-columns: 1fr; }
  .team__pin { min-height: 0; }
  .trow__head { grid-template-columns: 40px 1fr 46px; gap: 12px; }
  .trow__count { display: none; }
  .trow__plus { width: 46px; height: 46px; }
  .chips { padding-left: 0; }
  .contact__grid { grid-template-columns: 1fr 1fr; }
  .menu { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 640px) {
  .hide-sm { display: none; }
  .brand__name small { display: none; }
  .pill--dark { display: none; }
  .hero { padding-top: 74px; }
  .hero__meta { display: none; }
  .hero__hint { left: 16px; right: auto; top: 16px; }
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat { aspect-ratio: 1 / 1.15; }
  .vcards, .policies, .why__grid, .contact__grid { grid-template-columns: 1fr; }
  .why__item { min-height: 180px; }
  .vcard { min-height: 300px; }
  .btn--xl { height: 70px; padding-left: 28px; }
  .btn--xl .btn__arrow { width: 50px; height: 50px; }
  .footer { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
