/* ============================================================
   STACKSOL TECHNOLOGIES — Design System
   Dark, kinetic, editorial. Syne / Instrument Serif / Manrope.
   ============================================================ */

:root {
  --bg: #06070b;
  --bg-2: #0a0c13;
  --surface: #0f121b;
  --surface-2: #151926;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #eef1f6;
  --muted: #8b94a8;
  --dim: #5a6275;
  --accent: #4ee0c2;
  --accent-2: #4f7cff;
  --accent-ink: #04201a;
  --paper: #efeee9;
  --ink: #0a0b10;
  --grad: linear-gradient(100deg, #4ee0c2 0%, #4fb3ff 50%, #4f7cff 100%);

  --f-display: "Syne", "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1380px;
  --radius: 22px;
  --hdr-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
body {
  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;
  text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* grain overlay */
body::after {
  content: "";
  position: fixed; inset: -50%;
  z-index: 9990; pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.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 8s steps(10) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0); } 10% { transform: translate(-5%,-10%); }
  30% { transform: translate(3%,-15%); } 50% { transform: translate(12%,9%); }
  70% { transform: translate(9%,4%); } 90% { transform: translate(-1%,7%); }
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: clamp(90px, 13vw, 180px) 0; }
.section--tight { padding: clamp(60px, 8vw, 110px) 0; }
.section--paper { background: var(--paper); color: var(--ink); }
.section--paper .muted { color: #5b5f6b; }
.muted { color: var(--muted); }
.section--paper .lead, .section--paper .stat__l { color: #50545f; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 700; letter-spacing: -0.035em; line-height: 0.98; }
.display-xl { font-size: clamp(3rem, 9.4vw, 10rem); line-height: 0.9; letter-spacing: -0.05em; }
.display-l { font-size: clamp(2.6rem, 6.6vw, 6.6rem); line-height: 0.94; letter-spacing: -0.045em; }
.display-m { font-size: clamp(2.1rem, 4.4vw, 4.2rem); }
.h3 { font-size: clamp(1.4rem, 2vw, 1.9rem); letter-spacing: -0.02em; line-height: 1.1; }
.serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.accent { color: var(--accent); }
.lead { font-size: clamp(1.05rem, 1.35vw, 1.3rem); line-height: 1.6; color: var(--muted); max-width: 46ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px var(--accent); }
.section--paper .eyebrow { color: #5b5f6b; }
.section--paper .eyebrow::before { background: var(--ink); box-shadow: none; }
.mono { font-family: var(--f-mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }

/* split text */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.w__i { display: inline-block; will-change: transform; }
.js [data-split] .w__i { transform: translateY(110%) rotate(4deg); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 45ms + var(--d, 0ms)); }
.js [data-split].in .w__i { transform: none; }
.c { display: inline-block; will-change: transform; }
.js [data-split="chars"] .c { transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 28ms + var(--d, 0ms)); }
.js [data-split="chars"].in .c { transform: none; }

/* reveal */
.js [data-reveal] { opacity: 0; transform: translateY(46px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="scale"] { transform: scale(0.94); }
.js [data-reveal="left"] { transform: translateX(-60px); }
.js [data-reveal="right"] { transform: translateX(60px); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(100% 0 0 0 round var(--radius)); transition: clip-path 1.4s var(--ease-io); }
.js [data-reveal="clip"].in { clip-path: inset(0 0 0 0 round var(--radius)); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 0.75rem;
  height: 58px; padding: 0 1.8rem; border-radius: 100px;
  font-weight: 600; font-size: 0.98rem; letter-spacing: -0.01em;
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: color 0.5s var(--ease), border-color 0.4s, transform 0.4s var(--ease);
}
.btn::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 100%;
  width: 140%; aspect-ratio: 1; border-radius: 50%;
  transform: translate(-50%, 0) scale(0.2); transition: transform 0.7s var(--ease), top 0.7s var(--ease);
}
.btn:hover::before { top: -40%; transform: translate(-50%, 0) scale(1); }
.btn svg { width: 18px; height: 18px; transition: transform 0.5s var(--ease); }
.btn:hover svg { transform: translateX(4px) rotate(-45deg); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary::before { background: #fff; }
.btn--ghost { border: 1px solid var(--line-2); color: var(--text); }
.btn--ghost::before { background: var(--text); }
.btn--ghost:hover { color: var(--ink); border-color: var(--text); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink::before { background: var(--accent); }
.btn--ink:hover { color: var(--accent-ink); }
.btn-label { display: inline-block; position: relative; }

.link-u { position: relative; display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; }
.link-u::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.6s var(--ease); }
.link-u:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Loader ---------- */
.loader { display: none; }
.js:not(.first) .loader, .no-anim .loader { display: none !important; }
.no-anim .pt { display: none !important; }
.no-anim [data-reveal], .no-anim [data-split] .w__i, .no-anim [data-split="chars"] .c { opacity: 1 !important; transform: none !important; clip-path: none !important; }
.js .loader {
  position: fixed; inset: 0; z-index: 10000; display: flex; flex-direction: column; justify-content: space-between;
  padding: var(--gutter); background: var(--bg); color: var(--text);
  transition: clip-path 1.2s var(--ease-io);
  clip-path: inset(0 0 0 0);
}
.loader.done { clip-path: inset(0 0 100% 0); }
.loader.gone { display: none; }
.loader__top { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.loader__word { font-family: var(--f-display); font-weight: 800; font-size: clamp(3rem, 14vw, 13rem); letter-spacing: -0.06em; line-height: 0.85; overflow: hidden; }
.loader__word span { display: inline-block; transform: translateY(100%); animation: loadUp 1s var(--ease) forwards; animation-delay: calc(var(--i) * 60ms + 100ms); }
.loader__word span.a { color: var(--accent); }
@keyframes loadUp { to { transform: none; } }
.loader__bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.loader__bar { flex: 1; height: 1px; background: var(--line-2); position: relative; overflow: hidden; margin-bottom: 1.2rem; }
.loader__bar i { position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.loader__count { font-family: var(--f-display); font-weight: 700; font-size: clamp(3rem, 8vw, 7rem); line-height: 0.8; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; min-width: 3ch; text-align: right; }

/* ---------- Page transition ---------- */
.pt { position: fixed; inset: 0; z-index: 9995; pointer-events: none; display: none; }
.js .pt { display: grid; grid-template-columns: repeat(5, 1fr); }
.pt__col { background: var(--surface-2); transform: scaleY(1); transform-origin: top; transition: transform 0.85s var(--ease-io); border-right: 1px solid var(--line); }
.pt__col:nth-child(2) { transition-delay: 0.05s; } .pt__col:nth-child(3) { transition-delay: 0.1s; }
.pt__col:nth-child(4) { transition-delay: 0.15s; } .pt__col:nth-child(5) { transition-delay: 0.2s; }
.pt__logo { position: fixed; inset: 0; display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; font-size: clamp(2rem, 6vw, 4.5rem); letter-spacing: -0.05em; transition: opacity 0.4s, transform 0.8s var(--ease); }
.pt__logo span { color: var(--accent); }
.pt.is-open .pt__col { transform: scaleY(0); }
.pt.is-open .pt__logo { opacity: 0; transform: translateY(-30px); }
.pt.is-leaving { pointer-events: all; }
.pt.is-leaving .pt__col { transform-origin: bottom; transform: scaleY(1); }
.pt.is-leaving .pt__logo { opacity: 1; transform: none; transition-delay: 0.35s; }

/* ---------- Cursor ---------- */
.cursor, .cursor-dot { display: none; }
@media (hover: hover) and (pointer: fine) {
  .js .cursor, .js .cursor-dot { display: block; position: fixed; top: 0; left: 0; z-index: 9998; pointer-events: none; border-radius: 50%; }
  .cursor { width: 42px; height: 42px; margin: -21px 0 0 -21px; border: 1px solid rgba(255,255,255,0.5); display: grid !important; place-items: center; transition: width 0.45s var(--ease), height 0.45s var(--ease), margin 0.45s var(--ease), background 0.35s, border-color 0.35s, opacity 0.3s; mix-blend-mode: difference; }
  .cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--accent); }
  .cursor__label { font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity 0.3s; }
  .cursor.is-hover { width: 70px; height: 70px; margin: -35px 0 0 -35px; background: rgba(255,255,255,0.12); border-color: transparent; }
  .cursor.is-label { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--accent); border-color: var(--accent); mix-blend-mode: normal; }
  .cursor.is-label .cursor__label { opacity: 1; }
  .cursor.is-hidden, .cursor-dot.is-hidden { opacity: 0; }
}

/* ---------- Scroll progress ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 1001; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--grad); transform-origin: left; transform: scaleX(0); }

/* ---------- Header ---------- */
.hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: var(--hdr-h); transition: transform 0.6s var(--ease), background 0.4s, border-color 0.4s; border-bottom: 1px solid transparent; }
.hdr.scrolled { background: rgba(6, 7, 11, 0.72); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border-color: var(--line); }
.hdr.hide { transform: translateY(-100%); }
.hdr__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.logo { display: inline-flex; align-items: center; gap: 0.65rem; font-family: var(--f-display); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.04em; }
.logo svg { width: 34px; height: 34px; transition: transform 0.8s var(--ease); }
.logo:hover svg { transform: rotate(180deg); }
.logo b { color: var(--accent); font-weight: 800; }
.nav { display: flex; align-items: center; gap: 0.3rem; }
.nav > a, .nav__dd > a { position: relative; padding: 0.55rem 0.95rem; font-size: 0.93rem; font-weight: 500; color: rgba(238,241,246,0.78); border-radius: 100px; transition: color 0.3s, background 0.3s; display: inline-flex; align-items: center; gap: 0.35rem; }
.nav > a:hover, .nav__dd:hover > a, .nav a.active { color: var(--text); background: rgba(255,255,255,0.06); }
.nav a.active::before { content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--accent); }
.nav__dd { position: relative; }
.nav__dd svg { width: 10px; height: 10px; transition: transform 0.4s var(--ease); }
.nav__dd:hover svg { transform: rotate(180deg); }
.nav__menu { position: absolute; top: calc(100% + 12px); left: 50%; width: 560px; padding: 0.9rem; transform: translate(-50%, 10px); opacity: 0; visibility: hidden; transition: all 0.45s var(--ease); background: rgba(15, 18, 27, 0.96); backdrop-filter: blur(20px); border: 1px solid var(--line-2); border-radius: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 0.25rem; box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.nav__menu::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.nav__dd:hover .nav__menu, .nav__dd:focus-within .nav__menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__menu a { padding: 0.8rem 0.9rem; border-radius: 12px; display: flex; flex-direction: column; gap: 0.1rem; transition: background 0.3s; }
.nav__menu a:hover { background: rgba(255,255,255,0.05); }
.nav__menu a strong { font-weight: 600; font-size: 0.93rem; }
.nav__menu a span { font-size: 0.78rem; color: var(--muted); line-height: 1.4; }
.hdr__cta { display: flex; align-items: center; gap: 0.8rem; }
.hdr__cta .btn { height: 46px; padding: 0 1.3rem; font-size: 0.9rem; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--text); transition: transform 0.5s var(--ease), top 0.5s var(--ease); }
.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); }

/* fullscreen menu (mobile) */
.menu { position: fixed; inset: 0; z-index: 999; background: var(--bg-2); clip-path: circle(0% at calc(100% - 44px) 42px); transition: clip-path 0.9s var(--ease-io); display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--hdr-h) + 24px) var(--gutter) 32px; overflow-y: auto; visibility: hidden; }
.menu-open .menu { clip-path: circle(150% at calc(100% - 44px) 42px); visibility: visible; }
.menu__links a { display: block; overflow: hidden; font-family: var(--f-display); font-weight: 700; font-size: clamp(2.3rem, 10vw, 4rem); letter-spacing: -0.045em; line-height: 1.08; }
.menu__links a span { display: inline-block; transform: translateY(110%); transition: transform 0.8s var(--ease); }
.menu-open .menu__links a span { transform: none; transition-delay: calc(0.25s + var(--i) * 0.06s); }
.menu__links a.active span { color: var(--accent); }
.menu__foot { display: flex; flex-wrap: wrap; gap: 1rem 2rem; color: var(--muted); font-size: 0.9rem; margin-top: 2rem; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: calc(var(--hdr-h) + 40px) 0 40px; overflow: hidden; }
.hero__canvas { position: absolute; inset: 0; z-index: 0; }
.hero__canvas canvas { width: 100%; height: 100%; }
.hero__glow { position: absolute; width: 60vw; height: 60vw; right: -12vw; top: -10vw; border-radius: 50%; background: radial-gradient(circle, rgba(79,124,255,0.22), transparent 62%); filter: blur(20px); pointer-events: none; }
.hero__glow--2 { left: -20vw; right: auto; top: auto; bottom: -30vw; background: radial-gradient(circle, rgba(78,224,194,0.16), transparent 60%); }
.hero .container { position: relative; z-index: 2; }
.hero__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; margin-bottom: clamp(24px, 4vw, 48px); }
.hero__title { margin-bottom: clamp(28px, 4vw, 52px); }
.hero__title .row { display: block; }
.hero__title .serif { font-size: 1.04em; color: var(--accent); padding-right: 0.06em; }
.hero__bottom { display: grid; grid-template-columns: 1.1fr 1fr auto; gap: 2rem; align-items: end; padding-top: 28px; border-top: 1px solid var(--line); }
.hero__bottom .lead { max-width: 44ch; }
.hero__btns { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.scroll-cue { display: inline-flex; flex-direction: column; align-items: center; gap: 0.6rem; font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.scroll-cue i { width: 1px; height: 54px; background: var(--line-2); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -50%; width: 100%; height: 50%; background: var(--accent); animation: cue 2s var(--ease-io) infinite; }
@keyframes cue { to { top: 110%; } }
.badge-rot { position: relative; width: 132px; height: 132px; flex-shrink: 0; }
.badge-rot svg { width: 100%; height: 100%; animation: spin 18s linear infinite; }
.badge-rot text { font-family: var(--f-mono); font-size: 9.6px; letter-spacing: 3.2px; fill: var(--muted); text-transform: uppercase; }
.badge-rot b { position: absolute; inset: 0; display: grid; place-items: center; }
.badge-rot b span { width: 50px; height: 50px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; color: var(--accent-ink); }
.badge-rot b svg { width: 20px; height: 20px; animation: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.45rem 0.9rem; border-radius: 100px; border: 1px solid var(--line-2); font-size: 0.8rem; color: var(--muted); background: rgba(255,255,255,0.02); backdrop-filter: blur(6px); }
.chip svg { width: 14px; height: 14px; color: var(--accent); }

/* ---------- Marquee ---------- */
.marquee { position: relative; overflow: hidden; padding: 34px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; align-items: center; gap: clamp(40px, 6vw, 90px); padding-right: clamp(40px, 6vw, 90px); }
.marquee__item { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.6rem, 3.4vw, 3rem); letter-spacing: -0.04em; color: rgba(238,241,246,0.28); transition: color 0.4s; white-space: nowrap; }
.marquee__item:hover { color: var(--text); }
.marquee__star { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; }
.marquee--big .marquee__item { font-size: clamp(3rem, 9vw, 8.5rem); color: transparent; -webkit-text-stroke: 1px rgba(238,241,246,0.35); }
.marquee--big .marquee__item.fill { color: var(--text); -webkit-text-stroke: 0; }
.marquee--big { background: transparent; border: 0; padding: 20px 0; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 12vw; z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg-2), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--bg-2), transparent); }
.marquee--big::before { background: linear-gradient(90deg, var(--bg), transparent); }
.marquee--big::after { background: linear-gradient(-90deg, var(--bg), transparent); }

/* ---------- Manifesto (text fill) ---------- */
.manifesto__text { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.9rem, 4.3vw, 4.1rem); line-height: 1.08; letter-spacing: -0.035em; max-width: 22ch; }
.manifesto__text .fw { opacity: 1; transition: opacity 0.2s; }
.js .manifesto__text.has-fill .fw { opacity: 0.14; }
.manifesto__text .serif { color: var(--accent); }
.section--paper .manifesto__text .serif { color: #0e8a72; }
.manifesto__grid { display: grid; grid-template-columns: 220px 1fr; gap: 3rem; }
.manifesto__meta { display: flex; flex-direction: column; gap: 1.4rem; }

/* ---------- Section head ---------- */
.shead { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem 4rem; flex-wrap: wrap; margin-bottom: clamp(48px, 6vw, 88px); }
.shead__l { display: flex; flex-direction: column; gap: 1.4rem; max-width: 820px; }
.shead .lead { max-width: 40ch; }

/* ---------- Horizontal scroll (solutions) ---------- */
.hscroll { position: relative; overflow: hidden; }
.hscroll__pin { padding: clamp(90px, 12vw, 160px) 0; }
.is-pinned .hscroll__pin { height: 100vh; padding: 0; display: flex; align-items: center; }
.hscroll__track { display: flex; gap: 22px; padding: 0 var(--gutter) 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hscroll__track::-webkit-scrollbar { display: none; }
.is-pinned .hscroll__track { overflow: visible; width: max-content; will-change: transform; padding-bottom: 0; }
.is-pinned .sol { min-height: min(540px, 70vh); }
.hscroll__prog { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 5vh; height: 1px; background: var(--line); display: none; }
.is-pinned .hscroll__prog { display: block; }
.hscroll__prog i { position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.swipe-hint { display: none; }
@media (max-width: 960px) { .swipe-hint { display: inline-flex; } }
.sol { position: relative; flex: 0 0 auto; width: min(80vw, 460px); min-height: 540px; padding: 34px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; overflow: hidden; scroll-snap-align: start; transition: border-color 0.5s, transform 0.6s var(--ease); isolation: isolate; }
.sol:hover { border-color: rgba(78,224,194,0.4); }
.sol::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 0%), rgba(78,224,194,0.14), transparent 45%); opacity: 0; transition: opacity 0.5s; }
.sol:hover::before { opacity: 1; }
.sol__num { font-family: var(--f-mono); font-size: 0.8rem; color: var(--muted); display: flex; gap: 1rem; padding-right: 70px; }
.sol__num span + span::before { content: "/ "; opacity: 0.5; }
.sol__icon { width: 86px; height: 86px; margin: 44px 0 auto; color: var(--accent); }
.sol__icon svg { width: 100%; height: 100%; stroke-width: 1; }
.sol h3 { font-size: clamp(1.9rem, 2.6vw, 2.5rem); margin: 30px 0 14px; }
.sol p { color: var(--muted); font-size: 0.98rem; }
.sol__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.sol__tags span { font-size: 0.74rem; padding: 0.3rem 0.7rem; border-radius: 100px; border: 1px solid var(--line-2); color: var(--muted); }
.sol__go { position: absolute; top: 28px; right: 28px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: all 0.5s var(--ease); }
.sol__go svg { width: 18px; height: 18px; transition: transform 0.5s var(--ease); }
.sol:hover .sol__go { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.sol:hover .sol__go svg { transform: rotate(-45deg); }
.sol--intro { background: transparent; border: 0; width: min(80vw, 380px); justify-content: flex-end; padding-left: 0; }
.sol--end { background: var(--accent); color: var(--accent-ink); justify-content: space-between; }
.sol--end p { color: rgba(4,32,26,0.75); }
.sol--end h3 { font-size: clamp(2.3rem, 3.4vw, 3.3rem); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 42px 28px 12px 0; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat + .stat { padding-left: 28px; }
.stat__n { font-family: var(--f-display); font-weight: 700; font-size: clamp(3rem, 6vw, 5.8rem); letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat__n sup { font-size: 0.45em; color: var(--accent); vertical-align: top; position: relative; top: 0.25em; margin-left: 0.05em; }
.stat__l { margin-top: 14px; color: var(--muted); font-size: 0.95rem; }
.section--paper .stats, .section--paper .stat { border-color: rgba(10,11,16,0.12); }
.section--paper .stat__n sup { color: #0e8a72; }

/* ---------- Cards / service grid ---------- */
.grid { display: grid; gap: 20px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.card { position: relative; padding: 34px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; isolation: isolate; transition: border-color 0.5s, transform 0.6s var(--ease), background 0.5s; }
.card::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(78,224,194,0.13), transparent 45%); opacity: 0; transition: opacity 0.4s; }
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(78,224,194,0.7), transparent 50%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity 0.4s; pointer-events: none; }
.card:hover::before, .card:hover::after { opacity: 1; }
.card__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: rgba(78,224,194,0.08); border: 1px solid rgba(78,224,194,0.2); color: var(--accent); margin-bottom: 28px; transition: transform 0.6s var(--ease), background 0.4s; }
.card__icon svg { width: 26px; height: 26px; }
.card:hover .card__icon { transform: rotate(-8deg) scale(1.08); background: var(--accent); color: var(--accent-ink); }
.card h3 { font-size: 1.45rem; letter-spacing: -0.025em; margin-bottom: 12px; line-height: 1.15; }
.card p { color: var(--muted); font-size: 0.96rem; }
.card__foot { margin-top: 26px; display: flex; justify-content: space-between; align-items: center; font-size: 0.88rem; color: var(--muted); }
.card__num { position: absolute; top: 30px; right: 32px; font-family: var(--f-mono); font-size: 0.75rem; color: var(--dim); }
[data-tilt] { transform-style: preserve-3d; will-change: transform; }

/* ---------- Process ---------- */
.process { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.process__line { position: absolute; left: 0; right: 0; top: 27px; height: 1px; background: var(--line-2); }
.process__line i { position: absolute; inset: 0; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform 2.2s var(--ease-io); }
.process.in .process__line i { transform: scaleX(1); }
.step { position: relative; padding-right: 10px; }
.step__dot { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--bg); display: grid; place-items: center; font-family: var(--f-mono); font-size: 0.8rem; margin-bottom: 30px; transition: background 0.6s, color 0.6s, border-color 0.6s; transition-delay: calc(var(--i) * 0.4s); position: relative; z-index: 1; }
.process.in .step__dot { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.step h3 { font-size: 1.35rem; margin-bottom: 10px; letter-spacing: -0.02em; }
.step p { color: var(--muted); font-size: 0.93rem; }

/* ---------- Industries list ---------- */
.ind { border-top: 1px solid var(--line); position: relative; }
.ind__row { position: relative; display: grid; grid-template-columns: 80px 1fr auto; align-items: center; gap: 2rem; padding: 34px 0; border-bottom: 1px solid var(--line); overflow: hidden; isolation: isolate; }
.ind__row::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent); transform: scaleY(0); transform-origin: bottom; transition: transform 0.6s var(--ease-io); }
.ind__row:hover::before { transform: scaleY(1); transform-origin: top; }
.ind__row:hover { color: var(--accent-ink); }
.ind__n { font-family: var(--f-mono); font-size: 0.8rem; color: var(--muted); padding-left: 12px; transition: color 0.4s; }
.ind__row:hover .ind__n, .ind__row:hover .ind__d { color: rgba(4,32,26,0.7); }
.ind__t { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.8rem, 4.4vw, 4rem); letter-spacing: -0.045em; line-height: 1; transition: transform 0.6s var(--ease); }
.ind__row:hover .ind__t { transform: translateX(22px); }
.ind__d { color: var(--muted); max-width: 34ch; font-size: 0.95rem; padding-right: 12px; transition: color 0.4s; text-align: right; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(230px, auto); gap: 20px; }
.bento > * { grid-column: span 2; }
.bento .b-wide { grid-column: span 4; }
.bento .b-tall { grid-row: span 2; }
.bento .card { display: flex; flex-direction: column; justify-content: space-between; }
.b-big { font-family: var(--f-display); font-weight: 800; font-size: clamp(3rem, 4.6vw, 4.6rem); letter-spacing: -0.06em; line-height: 0.85; }
.card--accent { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.card--accent p { color: rgba(4,32,26,0.72); }
.card--accent .card__icon { background: rgba(4,32,26,0.1); border-color: rgba(4,32,26,0.15); color: var(--accent-ink); }
.card--grad { background: linear-gradient(145deg, #0d2a3d, #0a1220 55%, #131b3b); }
.orbit { position: relative; width: 100%; height: 150px; }
.orbit span { position: absolute; left: 50%; top: 50%; border: 1px dashed var(--line-2); border-radius: 50%; transform: translate(-50%,-50%); animation: spin 20s linear infinite; }
.orbit span::after { content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.orbit span:nth-child(1) { width: 60px; height: 60px; animation-duration: 6s; }
.orbit span:nth-child(2) { width: 110px; height: 110px; animation-duration: 10s; animation-direction: reverse; }
.orbit span:nth-child(3) { width: 160px; height: 160px; animation-duration: 16s; }
.orbit b { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 30px rgba(78,224,194,0.6); }

/* ---------- Testimonials ---------- */
.testi { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start; }
.testi__stage { position: relative; min-height: 340px; }
.testi__item { position: absolute; inset: 0; opacity: 0; visibility: hidden; }
.testi__item.active { opacity: 1; visibility: visible; position: relative; }
.testi__q { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.5rem, 2.6vw, 2.35rem); line-height: 1.2; letter-spacing: -0.03em; }
.testi__q .w__i { transform: translateY(110%); transition: transform 0.9s var(--ease); transition-delay: calc(var(--i) * 18ms); }
.testi__item.active .testi__q .w__i { transform: none; }
.testi__who { display: flex; align-items: center; gap: 1rem; margin-top: 36px; opacity: 0; transform: translateY(10px); transition: all 0.8s var(--ease) 0.4s; }
.testi__item.active .testi__who { opacity: 1; transform: none; }
.avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; color: var(--accent-ink); }
.testi__who strong { display: block; font-weight: 600; }
.testi__who span { color: var(--muted); font-size: 0.88rem; }
.testi__nav { display: flex; align-items: center; gap: 1rem; margin-top: 40px; }
.testi__btn { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: all 0.4s var(--ease); }
.testi__btn:hover { background: var(--text); color: var(--ink); }
.testi__btn svg { width: 18px; height: 18px; }
.testi__count { font-family: var(--f-mono); font-size: 0.85rem; color: var(--muted); margin-left: 0.6rem; }
.testi__bar { height: 1px; background: var(--line-2); margin-top: 28px; position: relative; overflow: hidden; }
.testi__bar i { position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.testi__bar.run i { transform: scaleX(1); transition: transform 7s linear; }
.quote-mark { font-family: var(--f-serif); font-size: 9rem; line-height: 0.6; color: var(--accent); height: 60px; }

/* ---------- Big CTA ---------- */
.cta { position: relative; padding: clamp(110px, 16vw, 220px) 0; text-align: center; overflow: hidden; }
.cta__bg { position: absolute; inset: 0; background: radial-gradient(60% 70% at 50% 110%, rgba(78,224,194,0.25), transparent 70%), radial-gradient(50% 60% at 50% 120%, rgba(79,124,255,0.35), transparent 70%); pointer-events: none; }
.cta__grid { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 72px 72px; mask-image: radial-gradient(ellipse at 50% 100%, #000 10%, transparent 65%); -webkit-mask-image: radial-gradient(ellipse at 50% 100%, #000 10%, transparent 65%); pointer-events: none; }
.cta .container { position: relative; }
.cta__title { margin: 1.6rem auto 3rem; max-width: 14ch; }
.cta__title .serif { color: var(--accent); }
.circle-btn { position: relative; display: inline-grid; place-items: center; width: clamp(150px, 16vw, 200px); aspect-ratio: 1; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 1.02rem; overflow: hidden; isolation: isolate; transition: transform 0.5s var(--ease); }
.circle-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #fff; border-radius: 50%; transform: scale(0); transition: transform 0.6s var(--ease); }
.circle-btn:hover::before { transform: scale(1); }
.circle-btn span { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.circle-btn svg { width: 22px; height: 22px; transition: transform 0.5s var(--ease); }
.circle-btn:hover svg { transform: rotate(-45deg); }

/* ---------- Footer ---------- */
.ftr { position: relative; background: var(--bg-2); border-top: 1px solid var(--line); padding-top: clamp(70px, 9vw, 120px); overflow: hidden; }
.ftr__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 3rem; padding-bottom: 60px; }
.ftr h4 { font-family: var(--f-mono); font-weight: 500; font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.ftr__about p { color: var(--muted); max-width: 34ch; margin: 20px 0 26px; font-size: 0.95rem; }
.ftr ul { display: flex; flex-direction: column; gap: 10px; }
.ftr ul a { color: rgba(238,241,246,0.82); font-size: 0.95rem; transition: color 0.3s, padding 0.4s var(--ease); display: inline-block; }
.ftr ul a:hover { color: var(--accent); padding-left: 6px; }
.ftr__contact li { color: rgba(238,241,246,0.82); font-size: 0.93rem; display: flex; gap: 0.7rem; align-items: flex-start; line-height: 1.5; }
.ftr__contact svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.ftr__word { font-family: var(--f-display); font-weight: 800; font-size: clamp(3rem, 14.2vw, 17rem); line-height: 0.8; letter-spacing: -0.065em; text-align: center; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(238,241,246,0.2); user-select: none; margin-bottom: -0.1em; overflow: hidden; }
.ftr__word .w { overflow: hidden; padding: 0; margin: 0; }
.js .ftr__word[data-split] .c { transition: transform 1.2s var(--ease), color 0.5s, -webkit-text-stroke-color 0.5s; transition-delay: calc(var(--i, 0) * 50ms); }
.ftr__word .c:hover { color: var(--accent); -webkit-text-stroke-color: var(--accent); transition-delay: 0s; }
.ftr__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 26px 0; border-top: 1px solid var(--line); color: var(--dim); font-size: 0.85rem; }
.ftr__bottom a:hover { color: var(--text); }
.socials { display: flex; gap: 0.6rem; }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: all 0.4s var(--ease); }
.socials a:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); transform: translateY(-3px); }
.socials svg { width: 17px; height: 17px; }
.to-top { display: inline-flex; align-items: center; gap: 0.5rem; }

/* ---------- WhatsApp FAB ---------- */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 990; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px rgba(37,211,102,0.35); transition: transform 0.5s var(--ease), opacity 0.4s; }
.fab svg { width: 26px; height: 26px; }
.fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: fabPulse 2.4s var(--ease) infinite; }
.fab:hover { transform: scale(1.08) rotate(-8deg); }
.menu-open .fab { opacity: 0; pointer-events: none; }
@keyframes fabPulse { from { transform: scale(1); opacity: 0.8; } to { transform: scale(1.7); opacity: 0; } }

/* ---------- Page hero (inner pages) ---------- */
.phero { position: relative; padding: calc(var(--hdr-h) + clamp(70px, 10vw, 140px)) 0 clamp(60px, 8vw, 110px); overflow: hidden; }
.phero__grid { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 80px 80px; mask-image: radial-gradient(ellipse at 70% 0%, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 0%, #000 0%, transparent 70%); pointer-events: none; }
.phero__orb { position: absolute; right: -10vw; top: -20vw; width: 55vw; height: 55vw; border-radius: 50%; background: conic-gradient(from 200deg, rgba(78,224,194,0.35), rgba(79,124,255,0.35), rgba(78,224,194,0.05), rgba(78,224,194,0.35)); filter: blur(90px); opacity: 0.55; animation: spin 26s linear infinite; pointer-events: none; }
.phero .container { position: relative; }
.crumbs { display: flex; gap: 0.6rem; align-items: center; font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 34px; }
.crumbs a:hover { color: var(--accent); }
.phero__title { max-width: 15ch; }
.phero__title .serif { color: var(--accent); }
.phero__foot { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: end; margin-top: clamp(36px, 5vw, 64px); padding-top: 28px; border-top: 1px solid var(--line); }

/* ---------- Split / feature blocks ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.split--top { align-items: start; }
.prose p { color: var(--muted); margin-bottom: 1.1rem; font-size: 1.04rem; }
.prose strong { color: var(--text); font-weight: 600; }
.section--paper .prose p { color: #4d515c; }
.section--paper .prose strong { color: var(--ink); }
.visual { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 4.4; background: linear-gradient(150deg, #0c2233 0%, #0a0f1c 50%, #151a3d 100%); border: 1px solid var(--line); isolation: isolate; }
.visual__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px); background-size: 40px 40px; mask-image: linear-gradient(180deg, #000, transparent); -webkit-mask-image: linear-gradient(180deg, #000, transparent); }
.visual__glow { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; left: 15%; top: 18%; background: radial-gradient(circle, rgba(78,224,194,0.45), transparent 60%); filter: blur(30px); animation: pulse 6s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.15); opacity: 0.7; } }
.visual__center { position: absolute; inset: 0; display: grid; place-items: center; }
.visual__tag { position: absolute; padding: 0.65rem 1rem; border-radius: 14px; background: rgba(15,18,27,0.8); border: 1px solid var(--line-2); backdrop-filter: blur(10px); font-size: 0.82rem; display: flex; gap: 0.6rem; align-items: center; animation: float 6s ease-in-out infinite; }
.visual__tag svg { width: 16px; height: 16px; color: var(--accent); }
.visual__tag b { font-weight: 600; }
@keyframes float { 50% { transform: translateY(-12px); } }
.stack3d { position: relative; width: 58%; aspect-ratio: 1; transform-style: preserve-3d; transform: rotateX(58deg) rotateZ(-45deg); }
.stack3d span { position: absolute; inset: 0; border-radius: 22px; border: 1px solid rgba(78,224,194,0.5); background: linear-gradient(135deg, rgba(78,224,194,0.18), rgba(79,124,255,0.12)); box-shadow: 0 0 40px rgba(78,224,194,0.15); animation: layer 5s var(--ease-io) infinite; }
.stack3d span:nth-child(1) { transform: translateZ(0); animation-delay: 0s; }
.stack3d span:nth-child(2) { transform: translateZ(50px); animation-delay: 0.15s; }
.stack3d span:nth-child(3) { transform: translateZ(100px); animation-delay: 0.3s; background: linear-gradient(135deg, rgba(78,224,194,0.5), rgba(79,124,255,0.4)); }
@keyframes layer { 50% { translate: 0 0 30px; } }

/* ---------- Timeline ---------- */
.tl { position: relative; max-width: 980px; margin: 0 auto; }
.tl__line { position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--line-2); transform: translateX(-50%); }
.tl__line i { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: var(--grad); transform-origin: top; transform: scaleY(0); }
.tl__item { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 90px; padding: 40px 0; }
.tl__item::before { content: ""; position: absolute; left: 50%; top: 52px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); z-index: 1; transition: background 0.5s, box-shadow 0.5s; }
.tl__item.in::before { background: var(--accent); box-shadow: 0 0 0 8px rgba(78,224,194,0.15); }
.tl__date { font-family: var(--f-display); font-weight: 700; font-size: clamp(2rem, 3.6vw, 3.4rem); letter-spacing: -0.04em; text-align: right; line-height: 1; }
.tl__item:nth-child(odd) .tl__date { order: 2; text-align: left; }
.tl__item:nth-child(odd) .tl__body { order: 1; text-align: right; }
.tl__body h3 { font-size: 1.4rem; margin-bottom: 10px; letter-spacing: -0.02em; }
.tl__body p { color: var(--muted); font-size: 0.97rem; }

/* ---------- Stacked service cards ---------- */
.stack { display: flex; flex-direction: column; gap: 30px; }
.scard { position: sticky; top: calc(var(--hdr-h) + 20px + var(--i) * 16px); min-height: min(640px, 78vh); border-radius: 30px; background: var(--surface); border: 1px solid var(--line-2); display: grid; grid-template-columns: 1.1fr 1fr; overflow: hidden; transform-origin: 50% 0; will-change: transform; box-shadow: 0 -30px 60px rgba(0,0,0,0.45); }
.scard__body { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; }
.scard__num { font-family: var(--f-mono); font-size: 0.8rem; color: var(--muted); display: flex; gap: 1rem; align-items: center; }
.scard__num::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.scard h2 { font-size: clamp(2.2rem, 4.4vw, 4.2rem); margin: 28px 0 20px; }
.scard h2 .serif { color: var(--accent); }
.scard p { color: var(--muted); max-width: 48ch; }
.scard ul { margin: 26px 0 32px; display: flex; flex-direction: column; gap: 12px; }
.scard li { display: flex; gap: 0.8rem; align-items: center; font-weight: 500; }
.scard li::before { content: ""; width: 20px; height: 20px; flex-shrink: 0; border-radius: 50%; background: rgba(78,224,194,0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234ee0c2' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat; }
.scard__foot { margin-top: auto; display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.scard__art { position: relative; background: linear-gradient(160deg, #0b1f2e, #0a0d18 60%, #141a3a); border-left: 1px solid var(--line); overflow: hidden; display: grid; place-items: center; }
.scard__art .visual__grid { background-size: 44px 44px; }
.scard__icon { position: relative; width: 44%; aspect-ratio: 1; color: var(--accent); filter: drop-shadow(0 0 30px rgba(78,224,194,0.45)); }
.scard__icon svg { width: 100%; height: 100%; stroke-width: 0.8; }
.scard__stats { position: absolute; left: 24px; right: 24px; bottom: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.scard__stats div { padding: 16px 18px; border-radius: 16px; background: rgba(6,7,11,0.6); border: 1px solid var(--line-2); backdrop-filter: blur(10px); }
.scard__stats b { display: block; font-family: var(--f-display); font-size: 1.6rem; letter-spacing: -0.03em; line-height: 1.1; }
.scard__stats span { font-size: 0.8rem; color: var(--muted); }
.ring { position: absolute; border-radius: 50%; border: 1px solid rgba(78,224,194,0.18); animation: spin 30s linear infinite; }
.ring::after { content: ""; position: absolute; top: 50%; left: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* ---------- GeM band ---------- */
.band { border-radius: 30px; padding: clamp(36px, 5vw, 70px); background: linear-gradient(120deg, #0f3b3b 0%, #0b1a2e 45%, #16215a 100%); border: 1px solid rgba(78,224,194,0.25); display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: center; position: relative; overflow: hidden; }
.band::before { content: ""; position: absolute; right: -80px; top: -80px; width: 340px; height: 340px; border-radius: 50%; border: 1px dashed rgba(78,224,194,0.3); animation: spin 40s linear infinite; }
.band h2 { font-size: clamp(2rem, 4vw, 3.6rem); margin: 18px 0; }
.band p { color: rgba(238,241,246,0.72); max-width: 52ch; }
.band__side { display: flex; flex-direction: column; gap: 12px; position: relative; }
.band__row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 16px 20px; border-radius: 16px; background: rgba(6,7,11,0.4); border: 1px solid var(--line-2); font-size: 0.92rem; }
.band__row span { color: var(--muted); }
.band__row b { font-family: var(--f-mono); font-weight: 500; font-size: 0.85rem; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding: 28px 0; text-align: left; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.15rem, 1.8vw, 1.5rem); letter-spacing: -0.02em; transition: color 0.3s; }
.faq__q:hover { color: var(--accent); }
.faq__plus { position: relative; width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--line-2); transition: all 0.5s var(--ease); }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; margin: -0.75px 0 0 -7px; background: currentColor; transition: transform 0.5s var(--ease); }
.faq__plus::after { transform: rotate(90deg); }
.faq__item.open .faq__plus { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); transform: rotate(180deg); }
.faq__item.open .faq__plus::after { transform: rotate(0deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.6s var(--ease); }
.faq__a > div { overflow: hidden; }
.faq__a p { color: var(--muted); padding-bottom: 28px; max-width: 70ch; }
.faq__item.open .faq__a { grid-template-rows: 1fr; }

/* ---------- Portfolio ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 48px; }
.filter { position: relative; padding: 0.7rem 1.3rem; border-radius: 100px; border: 1px solid var(--line-2); font-size: 0.9rem; font-weight: 500; color: var(--muted); transition: all 0.4s var(--ease); }
.filter:hover { color: var(--text); border-color: var(--text); }
.filter.active { background: var(--text); color: var(--ink); border-color: var(--text); }
.filter sup { font-family: var(--f-mono); font-size: 0.65rem; margin-left: 3px; opacity: 0.6; }
.works { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 24px; }
.work { display: block; }
.work.hidden { display: none; }
.work__media { position: relative; aspect-ratio: 16 / 11; border-radius: var(--radius); overflow: hidden; background: var(--surface); isolation: isolate; }
.work__art { position: absolute; inset: 0; transition: transform 1.2s var(--ease); background: var(--art, linear-gradient(135deg, #0c2a3a, #111838)); }
.work:hover .work__art { transform: scale(1.07); }
.work__art .visual__grid { background-size: 36px 36px; }
.work__icon { position: absolute; left: 50%; top: 50%; width: 22%; transform: translate(-50%, -50%); color: rgba(255,255,255,0.9); filter: drop-shadow(0 10px 40px rgba(0,0,0,0.4)); transition: transform 1.2s var(--ease); }
.work:hover .work__icon { transform: translate(-50%, -50%) scale(0.9) rotate(-6deg); }
.work__icon svg { width: 100%; height: auto; stroke-width: 0.9; }
.work__cat { position: absolute; left: 20px; top: 20px; display: flex; gap: 6px; flex-wrap: wrap; }
.work__cat span { font-size: 0.72rem; padding: 0.35rem 0.75rem; border-radius: 100px; background: rgba(6,7,11,0.55); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.15); }
.work__meta { display: flex; justify-content: space-between; gap: 1.5rem; align-items: flex-start; padding: 22px 4px 0; }
.work__meta h3 { font-size: clamp(1.25rem, 1.8vw, 1.6rem); letter-spacing: -0.025em; line-height: 1.15; }
.work__meta p { color: var(--muted); font-size: 0.92rem; margin-top: 8px; max-width: 48ch; }
.work__yr { font-family: var(--f-mono); font-size: 0.78rem; color: var(--muted); flex-shrink: 0; padding-top: 6px; }

/* ---------- Team ---------- */
.people { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.person { position: relative; border-radius: 28px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.person__img { position: relative; aspect-ratio: 5 / 4; overflow: hidden; background: linear-gradient(150deg, #0d2c3a, #0a0f1c 55%, #1a1f4a); display: grid; place-items: center; }
.person__img .visual__grid { background-size: 38px 38px; }
.person__mono { position: relative; font-family: var(--f-display); font-weight: 800; font-size: clamp(6rem, 13vw, 11rem); letter-spacing: -0.07em; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; transition: transform 1s var(--ease), letter-spacing 1s var(--ease); }
.person:hover .person__mono { transform: scale(1.08); letter-spacing: -0.03em; }
.person__body { padding: 30px 32px 34px; }
.person__role { font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); }
.person h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); margin: 10px 0 14px; letter-spacing: -0.035em; }
.person p { color: var(--muted); font-size: 0.97rem; }

/* ---------- Order / categories ---------- */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cat { position: relative; text-align: left; padding: 28px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); transition: all 0.5s var(--ease); overflow: hidden; isolation: isolate; }
.cat::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent); transform: translateY(101%); transition: transform 0.6s var(--ease-io); }
.cat svg { width: 40px; height: 40px; color: var(--accent); margin-bottom: 36px; stroke-width: 1.3; transition: color 0.4s, transform 0.6s var(--ease); }
.cat h3 { font-size: 1.35rem; letter-spacing: -0.02em; }
.cat p { color: var(--muted); font-size: 0.88rem; margin-top: 6px; transition: color 0.4s; }
.cat__check { position: absolute; right: 20px; top: 20px; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: all 0.4s; }
.cat__check svg { width: 13px; height: 13px; margin: 0; opacity: 0; color: var(--accent-ink); }
.cat:hover { border-color: rgba(78,224,194,0.45); transform: translateY(-4px); }
.cat:hover svg { transform: scale(1.1) rotate(-6deg); }
.cat.selected { color: var(--accent-ink); border-color: var(--accent); }
.cat.selected::before { transform: none; }
.cat.selected svg, .cat.selected p { color: var(--accent-ink); }
.cat.selected .cat__check { background: var(--accent-ink); border-color: var(--accent-ink); }
.cat.selected .cat__check svg { opacity: 1; color: var(--accent); }
.brands { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.brand { aspect-ratio: 16 / 10; display: grid; place-items: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-family: var(--f-display); font-weight: 700; font-size: clamp(1.1rem, 2vw, 1.7rem); letter-spacing: -0.03em; color: rgba(238,241,246,0.4); transition: color 0.4s, background 0.4s; }
.brand:hover { color: var(--text); background: rgba(78,224,194,0.05); }

/* ---------- Forms ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.form .full { grid-column: 1 / -1; }
.field { position: relative; }
.field input, .field select, .field textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-2); padding: 28px 0 12px; font-size: 1.05rem; color: var(--text); outline: none; border-radius: 0; transition: border-color 0.4s; appearance: none; -webkit-appearance: none; }
.field textarea { resize: vertical; min-height: 130px; }
.field select { cursor: pointer; }
.field select option { background: var(--surface); color: var(--text); }
.field label { position: absolute; left: 0; top: 28px; color: var(--muted); font-size: 1.05rem; pointer-events: none; transition: all 0.4s var(--ease); transform-origin: left; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select:focus + label, .field select.has-value + label, .field--static label { top: 4px; transform: scale(0.78); color: var(--accent); }
.field::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease); }
.field:focus-within::after { transform: scaleX(1); }
.field--select::before { content: ""; position: absolute; right: 4px; top: 36px; width: 8px; height: 8px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg); pointer-events: none; }
.field.error input, .field.error textarea, .field.error select { border-color: #ff6b6b; }
.field__err { font-size: 0.78rem; color: #ff6b6b; margin-top: 6px; display: none; }
.field.error .field__err { display: block; }
.form__actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 16px; }
.form__note { font-size: 0.85rem; color: var(--muted); }
.pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 8px; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span { display: inline-block; padding: 0.6rem 1.1rem; border-radius: 100px; border: 1px solid var(--line-2); font-size: 0.88rem; color: var(--muted); cursor: pointer; transition: all 0.3s var(--ease); }
.pill span:hover { color: var(--text); border-color: var(--text); }
.pill input:checked + span { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.pill input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.pills-label { font-size: 0.88rem; color: var(--muted); display: block; margin-top: 18px; }
.panel { padding: clamp(28px, 4vw, 52px); border-radius: 28px; background: var(--surface); border: 1px solid var(--line); }

/* contact */
.cinfo { display: flex; flex-direction: column; }
.cinfo__row { display: grid; grid-template-columns: 54px 1fr; gap: 1.2rem; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cinfo__row:first-child { border-top: 1px solid var(--line); }
.cinfo__ic { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--accent); transition: all 0.4s var(--ease); }
.cinfo__row:hover .cinfo__ic { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); transform: rotate(-10deg); }
.cinfo__ic svg { width: 20px; height: 20px; }
.cinfo__row small { display: block; font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.cinfo__row a, .cinfo__row p { font-size: 1.05rem; font-weight: 500; line-height: 1.45; }
.cinfo__row a:hover { color: var(--accent); }
.map { border-radius: 28px; overflow: hidden; border: 1px solid var(--line); height: 420px; position: relative; background: var(--surface); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(0.92) contrast(0.9) hue-rotate(180deg); }

/* toast */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 9997; transform: translate(-50%, 140%); padding: 16px 22px; border-radius: 16px; background: var(--surface-2); border: 1px solid rgba(78,224,194,0.4); display: flex; gap: 0.8rem; align-items: center; box-shadow: 0 20px 60px rgba(0,0,0,0.5); transition: transform 0.7s var(--ease); max-width: calc(100vw - 32px); font-size: 0.95rem; }
.toast.show { transform: translate(-50%, 0); }
.toast svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }

/* values */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value { padding: 40px 34px; border-radius: var(--radius); border: 1px solid rgba(10,11,16,0.12); background: rgba(255,255,255,0.45); transition: background 0.5s, transform 0.6s var(--ease), color 0.5s; }
.value:hover { background: var(--ink); color: var(--paper); transform: translateY(-6px); }
.value:hover p { color: rgba(239,238,233,0.7); }
.value__n { font-family: var(--f-mono); font-size: 0.78rem; color: #5b5f6b; }
.value:hover .value__n { color: var(--accent); }
.value h3 { font-size: clamp(1.7rem, 2.4vw, 2.2rem); margin: 60px 0 14px; letter-spacing: -0.035em; }
.value p { color: #4d515c; transition: color 0.5s; }

/* utilities */
.mt-s { margin-top: 1rem; } .mt-m { margin-top: 2rem; } .mt-l { margin-top: 3.5rem; } .mt-xl { margin-top: 5rem; }
.center { text-align: center; }
.flex { display: flex; } .gap { gap: 1rem; } .wrap { flex-wrap: wrap; } .aic { align-items: center; } .jcb { justify-content: space-between; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.divider { height: 1px; background: var(--line); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: block; }
  .hdr__cta .btn { display: none; }
  .ftr__top { grid-template-columns: 1fr 1fr; }
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(3, 1fr); row-gap: 50px; }
  .process__line { display: none; }
  .brands { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1181px) { .menu { display: none; } }
@media (max-width: 960px) {
  :root { --hdr-h: 72px; }
  .hero__bottom { grid-template-columns: 1fr; }
  .hero__bottom .scroll-cue { display: none; }
  .badge-rot { width: 104px; height: 104px; }
  .split, .testi, .band, .manifesto__grid { grid-template-columns: 1fr; }
  .manifesto__grid { gap: 2rem; }
  .manifesto__meta { flex-direction: row; flex-wrap: wrap; }
  .g-3, .values, .cats { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3) { padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento > *, .bento .b-wide { grid-column: span 1; }
  .bento .b-wide { grid-column: span 2; }
  .bento .b-tall { grid-row: span 1; }
  .scard { grid-template-columns: 1fr; position: relative; top: auto; min-height: 0; }
  .scard__art { min-height: 380px; border-left: 0; border-top: 1px solid var(--line); order: -1; place-items: start center; padding-top: 40px; }
  .scard__icon { width: 30%; }
  .ind__row { grid-template-columns: 48px 1fr; }
  .ind__d { grid-column: 2; text-align: left; }
  .tl__line { left: 8px; }
  .tl__item { grid-template-columns: 1fr; gap: 10px; padding-left: 44px; }
  .tl__item::before { left: 8px; top: 48px; }
  .tl__item .tl__date, .tl__item:nth-child(odd) .tl__date { order: 0; text-align: left; }
  .tl__item:nth-child(odd) .tl__body { order: 1; text-align: left; }
  .works, .people { grid-template-columns: 1fr; }
  .phero__foot { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero__top { flex-direction: column-reverse; }
  .hero__btns .btn { flex: 1; justify-content: center; }
  .g-2, .g-3, .g-4, .values, .form, .ftr__top { grid-template-columns: 1fr; }
  .cats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cat { padding: 20px; }
  .cat svg { margin-bottom: 22px; }
  .bento { grid-template-columns: 1fr; }
  .bento .b-wide { grid-column: span 1; }
  .process { grid-template-columns: 1fr; }
  .brands { grid-template-columns: repeat(3, 1fr); }
  .sol { min-height: 480px; padding: 26px; }
  .card, .panel { padding: 26px; }
  .scard__stats { grid-template-columns: 1fr 1fr; left: 14px; right: 14px; bottom: 14px; }
  .band__row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .btn { height: 54px; padding: 0 1.5rem; }
  .ftr__bottom { flex-direction: column; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0ms !important; }
  body::after { display: none; }
}
