/* ==========================================================================
   Can Tuncer — portfolio
   Brand: near-black canvas + violet → magenta → orange duotone (from hero photo)
   Experience: GSAP ScrollTrigger + Lenis + three.js, all enhancement-only.
   ========================================================================== */

:root {
  --bg: #050507;
  --bg-alt: #0c0c10;
  --surface: #121217;
  --surface-2: #1a1a21;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --dim: #71717a;

  --violet: #7c3aed;
  --magenta: #c026d3;
  --orange: #ff8a3d;
  --grad: linear-gradient(100deg, var(--violet) 0%, var(--magenta) 45%, var(--orange) 100%);
  --ok: #4ade80;

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius: 24px;
  --wrap: 1280px;
  --nav-h: 72px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav-h); }
html:not(.motion) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.05; margin: 0; letter-spacing: -0.03em; font-weight: 700; }
p { margin: 0 0 1rem; }
::selection { background: var(--magenta); color: #fff; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

.mono { font-family: var(--font-mono); }
.muted { color: var(--muted); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.outline, .outline-brand { color: var(--outline-bg, var(--bg)); paint-order: stroke fill; }
.outline { -webkit-text-stroke: 1.5px rgba(255, 255, 255, .5); }
.outline-brand { -webkit-text-stroke: 2px var(--orange); }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: #fff; color: #000; padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; }

.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); animation: pulse 1.8s ease-in-out infinite; font-style: normal; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  height: 48px; padding: 0 22px; border-radius: 999px;
  font: 600 15px/1 var(--font-body); white-space: nowrap;
  transition: box-shadow .3s ease, background .3s ease, border-color .3s ease;
}
.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn--lg { height: 58px; padding: 0 30px; font-size: 16px; }
.btn--block { width: 100%; height: 58px; font-size: 17px; }
.btn--grad { background: var(--grad); color: #fff; }
.btn--grad:hover { box-shadow: 0 0 50px rgba(192, 38, 211, .55); }
.btn--ghost { border: 1px solid var(--line-strong); background: rgba(255,255,255,.04); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--ghost:hover { border-color: rgba(255,138,61,.6); }
.link { font-weight: 500; border-bottom: 1px solid rgba(255,138,61,.5); transition: color .2s, border-color .2s; }
.link:hover { color: var(--orange); border-color: var(--orange); }

.pill { display: inline-flex; align-items: center; gap: 6px; font: 600 10.5px/1 var(--font-mono); text-transform: uppercase; letter-spacing: .08em; padding: 5px 10px; border-radius: 999px; }
.pill--live { color: var(--ok); }
.pill--live i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); animation: pulse 1.8s infinite; }
.pill--soon { color: var(--orange); background: rgba(255,138,61,.1); border: 1px solid rgba(255,138,61,.3); }

/* Preloader, grain, progress, cursor ------------------------------------ */
.preloader { display: none; }
.js.motion .preloader {
  position: fixed; inset: 0; z-index: 900; display: flex; flex-direction: column; justify-content: space-between;
  padding: 24px; background: #000;
}
@media (min-width: 768px) { .js.motion .preloader { padding: 40px; } }
.pl-meta { display: flex; justify-content: space-between; gap: 12px; font-size: 11px; color: var(--dim); text-transform: uppercase; letter-spacing: .2em; }
.pl-bottom { display: block; }
.pl-row { display: flex; align-items: flex-end; justify-content: space-between; }
.pl-count { font: 700 clamp(3rem, 7vw, 5rem)/1 var(--font-display); color: var(--text); letter-spacing: -0.04em; }
.pl-track { margin-top: 16px; height: 1px; background: rgba(255,255,255,.1); }
.pl-bar { height: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; box-shadow: 0 0 14px rgba(192,38,211,.8); }
.pl-word { display: flex; justify-content: center; align-items: baseline; overflow: hidden; font: 700 clamp(4rem, 17vw, 16rem)/.9 var(--font-display); letter-spacing: -0.06em; padding-bottom: .05em; }
.pl-letter { display: inline-block; }

.grain { position: fixed; inset: 0; z-index: 800; pointer-events: none; overflow: hidden; opacity: .07; mix-blend-mode: overlay; }
.grain div {
  position: absolute; inset: -50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(5) infinite;
}
@keyframes grain { 0%,100% { transform: translate(0,0); } 20% { transform: translate(-5%,4%); } 40% { transform: translate(4%,-6%); } 60% { transform: translate(-3%,-2%); } 80% { transform: translate(6%,3%); } }

.progress { position: fixed; left: 0; top: 0; z-index: 850; width: 100%; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; box-shadow: 0 0 10px rgba(192,38,211,.9); }

.cursor { display: none; }
.has-cursor .cursor { display: block; }
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }
.cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; z-index: 950; pointer-events: none; opacity: 0; }
.cursor__dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--orange); }
.cursor__ring {
  display: grid; place-items: center; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%;
  border: 1px solid rgba(255,138,61,.6); backdrop-filter: blur(1px);
}
.cursor__ring span { font-size: 5px; font-weight: 600; text-transform: uppercase; letter-spacing: .15em; color: var(--orange); }

/* Header ----------------------------------------------------------------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 700; height: var(--nav-h); border-bottom: 1px solid transparent; transition: background .5s, border-color .5s, backdrop-filter .5s; }
.nav.is-scrolled { background: rgba(5,5,7,.6); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border-color: var(--line); }
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 20px/1 var(--font-display); letter-spacing: -0.02em; }
.brand__mark { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--grad); color: #fff; font: 600 13px/1 var(--font-mono); letter-spacing: -0.05em; }
.nav__links { display: flex; gap: 4px; }
.nav__links a { position: relative; padding: 8px 12px; font-size: 14px; color: var(--muted); transition: color .2s; }
.nav__links a i { font-style: normal; font-size: 10px; color: rgba(255,138,61,.75); margin-right: 6px; }
.nav__links a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 1px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { color: var(--text); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__right { display: flex; align-items: center; gap: 10px; }
.nav__cta .live-dot { background: #fff; }
.nav__toggle { display: none; }

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__toggle {
    display: grid; gap: 6px; place-content: center; width: 44px; height: 44px; cursor: pointer;
    background: transparent; border: 1px solid var(--line-strong); border-radius: 12px;
  }
  .nav__toggle span { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease); }
  .nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
}
.menu { position: fixed; inset: 0; z-index: 650; display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--nav-h) + 24px) 16px 32px; background: var(--bg); }
.menu[hidden] { display: none; }
.menu nav a { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font: 700 clamp(2.2rem, 9vw, 3rem)/1.1 var(--font-display); letter-spacing: -0.03em; }
.menu nav a i { font: 400 12px/1 var(--font-mono); font-style: normal; color: var(--orange); }

/* Hero ------------------------------------------------------------------- */
.hero { position: relative; height: 100svh; min-height: 700px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__glow { position: absolute; right: -10%; top: 50%; width: 1000px; height: 1000px; transform: translateY(-50%); background: radial-gradient(circle, rgba(192,38,211,.2) 0%, rgba(124,58,237,.08) 35%, transparent 62%); }
.hero__grid {
  position: absolute; inset: 0; opacity: .07;
  background-image: linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.hero__universe { position: absolute; inset: 0; }
.hero__fade { position: absolute; inset: auto 0 0 0; height: 160px; background: linear-gradient(0deg, var(--bg), transparent); pointer-events: none; }
.hero__content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: var(--nav-h); }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .22em; margin-bottom: 24px; }
.hero__title { font-size: clamp(3rem, 8vw, 7.2rem); line-height: .9; letter-spacing: -0.05em; text-transform: uppercase; }
.hero__title .line { display: block; }
.hero__role { margin: 28px 0 14px; min-height: 1.6em; font-size: clamp(14px, 1.6vw, 17px); }
.scramble { color: var(--orange); }
.hero__lead { max-width: 36rem; font-size: clamp(16px, 1.5vw, 18.5px); color: var(--muted); }
.hero__lead strong { color: var(--text); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 30px; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(5,5,7,.5); backdrop-filter: blur(8px); transition: border-color .3s, background .3s; }
.socials a:hover { border-color: var(--orange); background: rgba(255,138,61,.1); }
.socials svg { width: 18px; height: 18px; fill: var(--text); }

.hero__hud { position: absolute; inset: auto 0 0 0; z-index: 2; padding-bottom: 26px; font-size: 10px; text-transform: uppercase; letter-spacing: .2em; color: var(--dim); }
.hud__inner { display: flex; justify-content: space-between; align-items: flex-end; }
.hud__scroll { display: flex; align-items: center; gap: 12px; }
.hud__scroll i { position: relative; display: block; width: 1px; height: 40px; overflow: hidden; background: rgba(255,255,255,.1); }
.hud__scroll b { position: absolute; inset: 0; background: var(--grad); animation: scroll-line 2s cubic-bezier(.65,0,.35,1) infinite; }
@keyframes scroll-line { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.clock { font-variant-numeric: tabular-nums; }

@media (max-width: 1023px) {
  .hero__universe { opacity: .5; }
  .hero { height: auto; min-height: 100svh; }
  .hero__content { height: auto; min-height: 100svh; justify-content: flex-end; padding-top: calc(var(--nav-h) + 40px); padding-bottom: 110px; }
  .hero__glow { right: 50%; top: 32%; transform: translate(50%, -50%); width: 700px; height: 700px; }
}
@media (max-width: 767px) {
  .hud__coords { display: none; }
  .hero, .hero__content { min-height: max(640px, 100svh); }
  .hero__role { min-height: 3.2em; }
  .hero__cta .btn { flex: 1 1 auto; }
}
@media (max-width: 480px) { .hud__clock { display: none; } }

/* Split words ------------------------------------------------------------ */
.sw-mask { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .12em; margin-bottom: -.12em; }
.sw { display: inline-block; will-change: transform; }

/* Partners --------------------------------------------------------------- */
.partners { padding: 36px 0; border-block: 1px solid var(--line); background: rgba(255,255,255,.015); }
.partners__title { text-align: center; font-size: 10px; text-transform: uppercase; letter-spacing: .25em; color: var(--dim); margin-bottom: 26px; }
.logos { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.logos__track { display: flex; align-items: center; gap: 56px; width: max-content; animation: marquee 40s linear infinite; }
.logos:hover .logos__track { animation-play-state: paused; }
.logos img { height: 30px; width: 120px; object-fit: contain; filter: grayscale(1) invert(1) brightness(1.4); mix-blend-mode: screen; opacity: .55; transition: opacity .3s; }
.logos img:hover { opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Velocity marquee ------------------------------------------------------- */
.vmq { padding: clamp(56px, 8vw, 96px) 0; display: grid; gap: 8px; overflow: hidden; }
.vmq__row { overflow: hidden; white-space: nowrap; padding: 6px 0; }
.vmq__track { display: inline-flex; align-items: center; gap: clamp(28px, 4vw, 52px); font: 700 clamp(3.5rem, 9vw, 8.5rem)/1 var(--font-display); text-transform: uppercase; letter-spacing: -0.04em; will-change: transform; }
.mq-dot { display: inline-block; width: clamp(12px, 1.4vw, 20px); height: clamp(12px, 1.4vw, 20px); border-radius: 50%; background: var(--grad); flex: none; }
html:not(.motion) .vmq__row { overflow-x: auto; }

/* Sections --------------------------------------------------------------- */
.section { padding: clamp(96px, 12vw, 160px) 0; }
.section--tight { padding-top: clamp(64px, 8vw, 110px); }
.kicker { display: flex; align-items: center; gap: 12px; font-size: 11px; color: var(--orange); text-transform: uppercase; letter-spacing: .22em; margin-bottom: 22px; }
.kicker i { display: block; width: 32px; height: 1px; background: var(--grad); }
.h2 { font-size: clamp(2.6rem, 6.5vw, 5.4rem); line-height: .95; letter-spacing: -0.045em; max-width: 14ch; }
.h2--wide { max-width: 20ch; }
.sub { color: var(--muted); font-size: 17px; margin-top: 22px; max-width: 46rem; }

/* About ------------------------------------------------------------------ */
.read { font: 500 clamp(1.8rem, 4.4vw, 3.8rem)/1.12 var(--font-display); letter-spacing: -0.03em; max-width: 22ch; margin: 0; }
@media (min-width: 900px) { .read { max-width: 26ch; } }
.rw { transition: none; }
.about { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: center; margin-top: clamp(64px, 9vw, 120px); }
.about__photo { margin: 0; }
.about__clip { overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; background: #000; border: 1px solid var(--line); }
.about__clip img { width: 100%; height: 100%; object-fit: cover; object-position: 86% 30%; transform-origin: 70% 40%; }
.about__photo figcaption { margin-top: 14px; font-size: 12px; color: var(--dim); }
.about__body .h2 { font-size: clamp(2.2rem, 4.4vw, 3.8rem); max-width: 16ch; margin-bottom: 28px; }
.about__body > p { color: var(--muted); font-size: 17px; max-width: 42rem; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 32px 0; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.facts > div { background: var(--bg); padding: 18px 20px; }
.facts dt { font-size: 10px; color: var(--dim); text-transform: uppercase; letter-spacing: .2em; }
.facts dd { margin: 6px 0 0; font: 600 18px/1.3 var(--font-display); }
.facts .ok { color: var(--ok); }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } .about__clip { aspect-ratio: 4 / 4.2; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { padding: 7px 14px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 14px; color: var(--muted); }
.chips--mono span { font: 400 11.5px/1.4 var(--font-mono); text-transform: uppercase; letter-spacing: .06em; background: rgba(255,255,255,.03); border-color: var(--line); color: #c4c4cc; transition: border-color .2s, color .2s; }
.chips--mono span:hover { border-color: rgba(255,138,61,.6); color: var(--orange); }

/* Spotlight -------------------------------------------------------------- */
.spot { position: relative; isolation: isolate; }
.spot::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; opacity: 0; transition: opacity .4s; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(192,38,211,.16), transparent 45%);
}
.spot:hover::before { opacity: 1; }

/* Ventures: pinned horizontal ------------------------------------------- */
.ventures { border-top: 1px solid var(--line); }
.h-pin { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--nav-h) + 24px) 0 48px; overflow: hidden; }
.h-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.h-count { text-align: right; }
@media (max-width: 720px) { .h-head { align-items: flex-start; } .h-count { text-align: left; display: flex; align-items: baseline; gap: 12px; } .h-count strong { font-size: 3rem; } }
.h-count strong { display: block; font: 700 clamp(4rem, 8vw, 7rem)/.9 var(--font-display); color: rgba(255,255,255,.1); letter-spacing: -0.05em; }
.h-count span { font-size: 11px; color: var(--dim); text-transform: uppercase; letter-spacing: .2em; }
.h-viewport { margin-top: clamp(28px, 4vw, 48px); perspective: 1400px; }
.h-track { display: flex; gap: 18px; width: max-content; padding: 0 12vw 0 max(16px, calc((100vw - var(--wrap)) / 2 + 32px)); }
html:not(.motion) .h-viewport { overflow-x: auto; padding-bottom: 12px; }

.h-card {
  display: flex; flex-direction: column; flex: none; width: min(82vw, 380px); height: clamp(420px, 58vh, 470px); padding: 28px;
  border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.01));
  transition: border-color .3s;
}
a.h-card:hover { border-color: rgba(192,38,211,.55); }
.h-card__top { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: var(--dim); }
.h-card__logo {
  display: grid; place-items: center; width: 64px; height: 64px; margin-top: 30px; border-radius: 18px;
  background: var(--grad); font-size: 18px; font-weight: 600; color: #fff; box-shadow: 0 0 40px rgba(192,38,211,.3);
  transition: transform .5s var(--ease);
}
a.h-card:hover .h-card__logo { transform: scale(1.1) rotate(-6deg); }
.h-card__logo--img { background: var(--surface-2); box-shadow: none; overflow: hidden; border: 1px solid var(--line); }
.h-card__logo--img img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.h-card__logo--cover { width: 56px; height: 78px; border-radius: 8px; }
.h-card__logo--cover img { object-fit: cover; padding: 0; }
.pill--talks { color: #fbbf24; background: rgba(251,191,36,.1); border: 1px solid rgba(251,191,36,.3); }
.pill--paused { color: var(--muted); background: rgba(255,255,255,.06); border: 1px solid var(--line-strong); }
.deal__open--talks { color: #fbbf24; }
.deal__open--paused { color: var(--muted); }
.h-card--soon .h-card__logo { background: var(--surface-2); color: var(--muted); box-shadow: none; border: 1px dashed var(--line-strong); }
.h-card__tag { margin: 28px 0 8px; font-size: 10.5px; color: var(--dim); text-transform: uppercase; letter-spacing: .18em; }
.h-card h3 { font-size: 2rem; }
.h-card__desc { flex: 1; margin: 12px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.h-card__foot { display: flex; justify-content: space-between; align-items: center; padding-top: 18px; margin-top: 18px; border-top: 1px solid var(--line); font-size: 12px; color: var(--dim); }
a.h-card:hover .h-card__foot .mono { color: var(--orange); }
.h-card__go { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-strong); transition: all .35s var(--ease); }
.h-card__go svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
a.h-card:hover .h-card__go { transform: rotate(45deg); background: var(--grad); border-color: transparent; }

.h-card--hero {
  width: min(88vw, 560px);
  background:
    radial-gradient(80% 90% at 100% 0%, rgba(192,38,211,.35), transparent 60%),
    radial-gradient(60% 80% at 0% 100%, rgba(255,138,61,.2), transparent 60%),
    var(--surface);
}
.h-card--hero h3 { font-size: clamp(3.4rem, 6vw, 5rem); letter-spacing: -0.05em; }
.h-card--hero .h-card__tag { margin-top: auto; }
.h-card--hero .h-card__desc { flex: none; color: #d4d4d8; }
.h-card__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 20px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.h-card__stats > div { display: grid; padding: 12px 14px; background: rgba(5,5,7,.7); }
.h-card__stats strong { font: 700 1.4rem/1.1 var(--font-display); }
.h-card__stats span { font-size: 10px; color: var(--dim); text-transform: uppercase; letter-spacing: .1em; }
.h-card--ad { background: linear-gradient(170deg, rgba(255,138,61,.16), transparent 60%), var(--surface); }
.h-card--ad h3 { font-size: 2.4rem; }
.adparcel b { color: var(--orange); }
.h-card__big { display: grid; margin-top: auto; }
.h-card__big strong { font: 700 clamp(4.2rem, 7vw, 6rem)/.9 var(--font-display); letter-spacing: -0.05em; }
.h-card__big span { font-size: 11px; color: var(--muted); margin-top: 8px; }
.h-card--ad .h-card__desc { flex: none; }
.h-card--soon { background: transparent; border-style: dashed; }
.h-card--cta { justify-content: space-between; background: var(--grad); color: #fff; border: 0; }
.h-card--cta .mono { font-size: 11px; text-transform: uppercase; letter-spacing: .2em; }
.h-card__cta { font: 700 clamp(2.6rem, 4vw, 3.2rem)/.95 var(--font-display); letter-spacing: -0.04em; margin: 0; }
.h-card__ctalink { margin: 18px 0 0; font-weight: 700; }

.h-progress { height: 1px; margin-top: 36px; background: rgba(255,255,255,.1); }
.h-progress div { height: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; box-shadow: 0 0 10px rgba(192,38,211,.8); }
html:not(.motion) .h-progress { display: none; }

/* Services: stacked sticky cards ---------------------------------------- */
.stack { margin-top: clamp(56px, 8vw, 96px); }
.stack-card { position: relative; margin-bottom: 24px; }
@media (min-width: 1024px) { .stack-card { position: sticky; top: calc(12vh + var(--i) * 18px); margin-bottom: 8vh; } }
.stack-card:last-child { margin-bottom: 0; }
.stack-inner {
  --outline-bg: #0a0a0e;
  position: relative; overflow: hidden; transform-origin: top center; padding: clamp(28px, 5vw, 60px);
  border-radius: 32px; border: 1px solid rgba(255,255,255,.09); background: #0a0a0e; box-shadow: 0 -30px 80px -30px rgba(0,0,0,.9);
}
.stack-inner::after { content: ""; position: absolute; right: -100px; top: -100px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(192,38,211,.2), transparent 65%); pointer-events: none; }
.stack-shade { position: absolute; inset: 0; z-index: 5; border-radius: inherit; background: #000; opacity: 0; pointer-events: none; }
.stack-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.stack-num { font: 700 clamp(5rem, 11vw, 9rem)/.85 var(--font-display); letter-spacing: -0.05em; margin: 0; }
.stack-card h3 { margin-top: 22px; font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.stack-lead { margin-top: 12px; color: var(--muted); font-size: 17px; }
.stack-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.stack-card li { position: relative; padding-left: 26px; color: var(--muted); font-size: 16px; }
.stack-card li::before { content: "→"; position: absolute; left: 0; color: var(--orange); font-family: var(--font-mono); }
.stack-card li strong { color: var(--text); font-weight: 600; }
.stack-inner > .chips { margin-top: 32px; }
@media (max-width: 860px) { .stack-grid { grid-template-columns: 1fr; } }

/* Process: pinned, line draws ------------------------------------------- */
.process { border-top: 1px solid var(--line); }
.process-pin { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 110px 0; }
.proc { position: relative; margin-top: 80px; }
.proc-rail { position: absolute; left: 0; right: 0; top: 5px; height: 1px; background: rgba(255,255,255,.1); }
.proc-line { height: 100%; background: var(--grad); transform-origin: left; box-shadow: 0 0 14px 2px rgba(192,38,211,.7); }
.proc ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.proc-node { width: 12px; height: 12px; border-radius: 50%; background: var(--magenta); }
.proc-step > .mono { margin: 30px 0 10px; color: var(--orange); font-size: 13px; }
.proc-step h3 { font-size: clamp(1.8rem, 2.6vw, 2.2rem); }
.proc-step > p:last-child { margin-top: 12px; color: var(--muted); }
@media (max-width: 1023px) {
  .proc-rail { display: none; }
  .proc ol { grid-template-columns: 1fr 1fr; gap: 48px 24px; }
  .process-pin { min-height: 0; }
}
@media (max-width: 560px) { .proc ol { grid-template-columns: 1fr; } }

/* Experience ------------------------------------------------------------- */
/* Items slide in from x:40 — clip so they can't widen the page on mobile */
#experience { overflow-x: clip; }
.tl { position: relative; list-style: none; margin: clamp(48px, 7vw, 80px) 0 0; padding: 0 0 0 36px; }
.tl__line { position: absolute; left: 6px; top: 8px; bottom: 8px; width: 1px; background: rgba(255,255,255,.1); }
.tl__line div { height: 100%; background: var(--grad); transform-origin: top; box-shadow: 0 0 12px rgba(192,38,211,.8); }
html:not(.motion) .tl__line div { transform: none; }
.tl__item { position: relative; display: grid; grid-template-columns: 220px 1fr; gap: 28px; padding-bottom: 48px; }
.tl__item::before {
  content: ""; position: absolute; left: -36px; top: 6px; width: 13px; height: 13px; border-radius: 50%;
  background: var(--bg); border: 2px solid rgba(255,255,255,.2); transition: all .4s var(--ease);
}
.tl__item.is-on::before, html:not(.motion) .tl__item::before { background: var(--orange); border-color: var(--orange); box-shadow: 0 0 0 5px rgba(255,138,61,.15), 0 0 18px rgba(255,138,61,.7); }
.tl__date { font-size: 12.5px; color: var(--dim); padding-top: 4px; }
.tl h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); letter-spacing: -0.02em; }
.tl .at { display: block; margin-top: 6px; font: 400 14px/1.4 var(--font-body); letter-spacing: 0; color: var(--orange); }
.tl p { margin: 10px 0 0; color: var(--muted); max-width: 70ch; }
@media (max-width: 720px) { .tl { padding-left: 28px; } .tl__item { grid-template-columns: 1fr; gap: 6px; } .tl__item::before { left: -28px; } .tl__line { left: 6px; } }

.twocol { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 40px; padding-top: 48px; border-top: 1px solid var(--line); }
.minihead { font-size: 11px; font-weight: 400; color: var(--dim); text-transform: uppercase; letter-spacing: .2em; margin-bottom: 18px; }
.plain { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.plain li { display: grid; gap: 2px; }
.plain strong { font-weight: 600; }
.plain span { color: var(--muted); font-size: 14px; }
.twocol--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .twocol--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .twocol, .twocol--3 { grid-template-columns: 1fr; gap: 36px; } }

.skills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 56px; }
@media (max-width: 980px) { .skills { grid-template-columns: 1fr; gap: 32px; } }

/* Stats ------------------------------------------------------------------ */
.stats { border-block: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats__grid > div { padding: clamp(48px, 7vw, 80px) 24px; border-right: 1px solid var(--line); }
.stats__grid > div:first-child { padding-left: 0; }
.stats__grid > div:last-child { border-right: 0; }
.stats strong { display: block; font: 700 clamp(2.8rem, 6vw, 5rem)/1 var(--font-display); letter-spacing: -0.04em; }
.stats span { display: block; margin-top: 12px; font-size: 11px; color: var(--dim); text-transform: uppercase; letter-spacing: .18em; }
@media (max-width: 900px) {
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stats__grid > div { padding: 40px 16px; }
  .stats__grid > div:nth-child(odd) { padding-left: 0; }
  .stats__grid > div:nth-child(2) { border-right: 0; }
  .stats__grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* Invest & partner ------------------------------------------------------ */
.invest { position: relative; overflow: hidden; padding: 0 0 clamp(96px, 12vw, 160px); border-top: 1px solid var(--line); }
.invest::before { content: ""; position: absolute; left: -20%; top: 20%; width: 900px; height: 900px; background: radial-gradient(circle, rgba(124,58,237,.14), transparent 62%); pointer-events: none; }
.invest__band { margin: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); }
.invest__band .vmq__track { font: 700 clamp(3rem, 7.5vw, 7rem)/1 var(--font-display); text-transform: uppercase; letter-spacing: -0.04em; display: inline-flex; align-items: center; gap: clamp(28px, 4vw, 52px); }

.paths { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(48px, 7vw, 80px); }
.path { display: flex; flex-direction: column; gap: 14px; padding: clamp(28px, 3vw, 40px); border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.01)); transition: border-color .3s, transform .4s var(--ease); }
.path:hover { border-color: rgba(192,38,211,.5); transform: translateY(-6px); }
.path__n { font-size: 11px; color: var(--orange); text-transform: uppercase; letter-spacing: .2em; margin: 0; }
.path h3 { font-size: clamp(1.9rem, 2.8vw, 2.6rem); letter-spacing: -0.04em; }
.path p:not(.path__n) { color: var(--muted); margin: 0; flex: 1; }
.path .btn { align-self: flex-start; margin-top: 18px; }
.path--hot { background: radial-gradient(90% 70% at 100% 0%, rgba(192,38,211,.3), transparent 60%), radial-gradient(70% 60% at 0% 100%, rgba(255,138,61,.16), transparent 60%), var(--surface); border-color: rgba(192,38,211,.35); }
@media (max-width: 980px) { .paths { grid-template-columns: 1fr; } }

.board { position: relative; margin-top: clamp(64px, 8vw, 104px); }
.board__head { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line-strong); font-size: 11px; color: var(--dim); text-transform: uppercase; letter-spacing: .2em; }
.deals { list-style: none; margin: 0; padding: 0; }
.deal {
  position: relative; display: grid; grid-template-columns: 48px 1.3fr 1fr 1.6fr auto auto; align-items: center; gap: 20px;
  padding: 22px 8px; border-bottom: 1px solid var(--line); isolation: isolate;
}
.deal::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(124,58,237,.16), rgba(192,38,211,.1), rgba(255,138,61,.12)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.deal:hover::before { transform: scaleX(1); }
.deal__n { font-size: 12px; color: var(--dim); }
.deal__name { font: 700 clamp(1.4rem, 2.2vw, 2rem)/1.1 var(--font-display); letter-spacing: -0.03em; transition: transform .4s var(--ease); }
.deal:hover .deal__name { transform: translateX(8px); }
.deal__tag { font-size: 11px; color: var(--dim); text-transform: uppercase; letter-spacing: .12em; }
.deal__note { color: var(--muted); font-size: 15px; }
.deal__open { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; color: var(--ok); text-transform: uppercase; letter-spacing: .12em; white-space: nowrap; }
.deal__cta { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 14px; font-weight: 600; white-space: nowrap; transition: background .3s, border-color .3s; }
.deal__cta svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.deal:hover .deal__cta { background: var(--grad); border-color: transparent; }
.deal:hover .deal__cta svg { transform: rotate(45deg); }
.disclaimer { margin-top: 24px; font-size: 11px; color: var(--dim); line-height: 1.6; max-width: 70ch; }
@media (max-width: 1100px) { .deal { grid-template-columns: 40px 1fr auto; } .deal__tag, .deal__note, .deal__open { display: none; } }
@media (max-width: 520px) { .deal__cta { padding: 9px 12px; font-size: 13px; } .board__head span:last-child { display: none; } }

/* Testimonials: pinned quote stage ------------------------------------ */
.voices { position: relative; border-top: 1px solid var(--line); }
.voices-pin { position: relative; overflow: hidden; padding: clamp(96px, 12vw, 150px) 0; }
.voices__mark {
  position: absolute; right: -4vw; top: 50%; transform: translateY(-50%);
  font: 700 clamp(24rem, 52vw, 50rem)/.7 Georgia, "Times New Roman", serif; pointer-events: none; user-select: none;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .16;
}
.voices__head { margin-bottom: clamp(40px, 6vw, 72px); }
.voices__stage { position: relative; display: grid; gap: 64px; }
.voice { margin: 0; max-width: 1040px; }
.voice blockquote {
  margin: 0; font: 600 clamp(1.7rem, 4.2vw, 3.6rem)/1.12 var(--font-display); letter-spacing: -0.035em;
}
.voice blockquote::before { content: "\201C"; color: var(--orange); }
.voice blockquote::after { content: "\201D"; color: var(--orange); }
.voice figcaption { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin-top: 32px; }
.voice figcaption::before { content: ""; width: 48px; height: 2px; background: var(--grad); }
.voice__name { font: 700 clamp(1.1rem, 1.6vw, 1.35rem)/1.2 var(--font-display); }
.voice__role { font-size: 11px; color: var(--dim); text-transform: uppercase; letter-spacing: .2em; }
.voices__meta { display: none; }

/* Stage mode: quotes share one spot and play one after another while pinned */
html.motion .voices-pin { min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 24px) 0 40px; }
html.motion .voices__inner { width: 100%; }
html.motion .voices__stage { display: block; }
html.motion .voice { position: absolute; left: 0; top: 0; width: 100%; }
html.motion .voice blockquote .qw { opacity: .12; }
html.motion .voices__meta { display: flex; align-items: center; gap: 24px; margin-top: clamp(40px, 6vw, 64px); font-size: 12px; color: var(--dim); }
.voices__count b { font: 700 1.6rem/1 var(--font-display); color: var(--text); letter-spacing: -0.03em; }
.voices__bars { display: flex; gap: 6px; flex: 1; max-width: 420px; }
.voices__bars i { flex: 1; height: 2px; background: rgba(255,255,255,.1); overflow: hidden; }
.voices__bars b { display: block; height: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; }
@media (max-width: 720px) { .voices__mark { right: -18vw; top: 38%; } }

/* Contact ---------------------------------------------------------------- */
.contact { position: relative; overflow: hidden; padding: clamp(110px, 14vw, 180px) 0; }
.contact__glow { position: absolute; left: 50%; bottom: -30%; width: 1100px; height: 720px; transform: translateX(-50%); background: radial-gradient(circle, rgba(192,38,211,.2), rgba(255,138,61,.06) 40%, transparent 65%); pointer-events: none; }
.cta-big { transform-origin: left center; font-size: clamp(3rem, 11vw, 9.5rem); line-height: .86; letter-spacing: -0.055em; text-transform: uppercase; margin-top: 12px; }
.contact__row { display: grid; grid-template-columns: auto 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; margin-top: clamp(56px, 7vw, 88px); }
.cta-orb {
  position: relative; display: grid; place-items: center; width: clamp(160px, 16vw, 210px); aspect-ratio: 1; border-radius: 50%;
  background: var(--grad); color: #fff; font: 700 1.3rem/1.1 var(--font-display); text-align: center; transition: box-shadow .4s;
}
.cta-orb:hover { box-shadow: 0 0 90px rgba(192,38,211,.65); }
.cta-orb svg { position: absolute; right: 22%; top: 22%; width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.cta-orb:hover svg { transform: rotate(45deg); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ccard { display: grid; gap: 6px; min-width: 0; padding: 22px 24px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255,255,255,.03); transition: border-color .3s; }
.ccard:hover { border-color: rgba(255,138,61,.55); }
.ccard span { font-size: 10px; color: var(--dim); text-transform: uppercase; letter-spacing: .2em; }
.ccard strong { font-weight: 500; overflow-wrap: anywhere; }
.contact .sub { margin-top: 40px; }
@media (max-width: 860px) { .contact__row { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .contact__grid { grid-template-columns: 1fr; } }

/* Footer ----------------------------------------------------------------- */
.footer { position: relative; overflow: hidden; border-top: 1px solid var(--line); padding-top: 28px; }
.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 11.5px; color: var(--dim); }
.footer__top:hover { color: var(--orange); }
.footer-mark {
  --outline-bg: var(--bg);
  display: flex; justify-content: center; margin-top: 24px; padding-bottom: 2vw; user-select: none;
  font: 700 19.5vw/.78 var(--font-display); letter-spacing: -0.065em;
  color: var(--bg); -webkit-text-stroke: 1.5px rgba(255,255,255,.5); paint-order: stroke fill;
}
.footer-mark .outline-brand { -webkit-text-stroke-width: 2px; }

/* Reduced motion --------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .logos { overflow-x: auto; }
}
