/* ==========================================================================
   Paper Perfect — Design System
   ========================================================================== */
:root {
  --ink: #07060b;
  --ink-2: #0e0c16;
  --ink-3: #171424;
  --line-dark: rgba(255, 255, 255, .09);
  --text-on-dark: #f3f1f8;
  --muted-on-dark: #a5a0b8;

  --paper: #f6f4f0;
  --paper-2: #edeae4;
  --white: #ffffff;
  --text: #110f18;
  --muted: #5f5b6b;
  --line: rgba(17, 15, 24, .1);

  --violet: #7c3aed;
  --violet-2: #a78bfa;
  --electric: #8b5cf6;
  --blue: #4f7cff;
  --grad: linear-gradient(120deg, #7c3aed 0%, #8b5cf6 40%, #4f7cff 100%);
  --grad-soft: linear-gradient(120deg, rgba(124,58,237,.16), rgba(79,124,255,.12));
  --wa: #25d366;

  --radius: 22px;
  --radius-lg: 32px;
  --radius-sm: 14px;
  --container: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --section-y: clamp(88px, 12vw, 168px);
  --header-h: 84px;

  --font: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--text);
  background: var(--paper); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 600; line-height: 1.05; letter-spacing: -.03em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--violet); color: #fff; }
:focus-visible { outline: 2px solid var(--electric); outline-offset: 3px; border-radius: 6px; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 16px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; overflow-x: clip; }
.section-dark { background: var(--ink); color: var(--text-on-dark); }
.section-dark .muted, .section-dark .lead { color: var(--muted-on-dark); }
.section-white { background: var(--white); }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--violet); margin-bottom: 22px;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.section-dark .eyebrow { color: var(--violet-2); }
.display-xl { font-size: clamp(2.9rem, 8.6vw, 9.2rem); font-weight: 700; letter-spacing: -.055em; line-height: .92; }
.display-lg { font-size: clamp(2.4rem, 6vw, 6rem); font-weight: 650; letter-spacing: -.05em; line-height: .96; }
.display-md { font-size: clamp(2rem, 4.4vw, 4rem); font-weight: 600; letter-spacing: -.045em; line-height: 1; }
.display-sm { font-size: clamp(1.6rem, 2.8vw, 2.5rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.08; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-dark .grad-text { background: linear-gradient(120deg, #c4b5fd, #a78bfa 40%, #7aa2ff); -webkit-background-clip: text; background-clip: text; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.3rem); line-height: 1.55; color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.section-head { display: grid; gap: 28px; margin-bottom: clamp(48px, 6vw, 88px); }
.section-head--split { grid-template-columns: 1.3fr 1fr; align-items: end; }
.section-head--center { text-align: center; justify-items: center; }
.section-head--center .eyebrow::after { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .6; }

/* word reveal */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.w > span { display: inline-block; }
.js .split .w > span { transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 55ms + var(--d, 0ms)); }
.js .split.is-in .w > span { transform: none; }

/* ---------- Buttons ---------- */
.btn {
  --bh: 54px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--bh); padding: 0 26px; border-radius: 999px; font-weight: 600; font-size: 15.5px; letter-spacing: -.01em;
  white-space: nowrap; overflow: hidden; isolation: isolate; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn .icon { transition: transform .4s var(--ease); flex: none; }
.btn:hover .icon { transform: translateX(3px); }
.btn-sm { --bh: 44px; padding: 0 20px; font-size: 14.5px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -10px rgba(124, 58, 237, .7), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-primary::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, #6d28d9, #4f46e5); opacity: 0; transition: opacity .35s; }
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover { box-shadow: 0 16px 40px -12px rgba(124, 58, 237, .85), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }
.btn-outline { border: 1px solid var(--line); background: transparent; color: var(--text); }
.btn-outline:hover { border-color: var(--text); }
.btn-ghost-light { border: 1px solid rgba(255,255,255,.2); color: #fff; background: rgba(255,255,255,.04); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.4); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.link-arrow .icon { transition: transform .4s var(--ease); }
.link-arrow:hover .icon { transform: translate(3px, -3px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); color: #fff;
  transition: background .45s var(--ease), box-shadow .45s, height .45s var(--ease), transform .5s var(--ease);
}
.site-header::before { content: ''; position: absolute; inset: 0; background: rgba(9, 8, 14, .62); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-bottom: 1px solid var(--line-dark); opacity: 0; transition: opacity .45s; }
.site-header.is-scrolled { --header-h: 70px; }
.site-header.is-scrolled::before { opacity: 1; }
.site-header.is-hidden { transform: translateY(-100%); }
.nav { position: relative; height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 40px; width: auto; }
.brand__word { font-size: 23px; font-weight: 700; letter-spacing: -.045em; line-height: 1; }
.brand__word em { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: 1.12em; letter-spacing: -.02em; margin-left: 2px; background: linear-gradient(120deg, #c4b5fd, #8b5cf6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav__menu { position: relative; margin-left: auto; }
.nav__list { display: flex; gap: 4px; }
.nav__link { position: relative; display: block; padding: 10px 16px; font-size: 15px; font-weight: 500; color: rgba(255,255,255,.72); border-radius: 999px; transition: color .3s; }
.nav__link:hover, .nav__link.is-active { color: #fff; }
.nav__indicator { position: absolute; bottom: 2px; left: 0; height: 2px; width: 0; border-radius: 2px; background: var(--grad); transition: transform .5s var(--ease), width .5s var(--ease), opacity .3s; opacity: 0; pointer-events: none; }
.nav__cta { margin-left: 8px; }
.nav__toggle { display: none; position: relative; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); margin-left: auto; z-index: 120; }
.nav__toggle span { position: absolute; left: 14px; right: 14px; height: 1.6px; background: #fff; border-radius: 2px; transition: transform .5s var(--ease), top .5s var(--ease); }
.nav__toggle span:first-child { top: 19px; }
.nav__toggle span:last-child { top: 27px; right: 20px; }
.menu-open .nav__toggle span:first-child { top: 23px; transform: rotate(45deg); }
.menu-open .nav__toggle span:last-child { top: 23px; right: 14px; transform: rotate(-45deg); }

.mobile-menu { position: fixed; inset: 0; z-index: 110; visibility: hidden; pointer-events: none; color: #fff; }
.mobile-menu__bg { position: absolute; inset: 0; background: radial-gradient(120% 80% at 100% 0%, rgba(124,58,237,.35), transparent 60%), var(--ink); clip-path: circle(0% at calc(100% - 44px) 42px); transition: clip-path .8s var(--ease-in-out); }
.mobile-menu__inner { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--header-h) + 24px) var(--gutter) max(32px, env(safe-area-inset-bottom)); overflow-y: auto; }
.mobile-menu ul li { overflow: hidden; border-bottom: 1px solid var(--line-dark); }
.mobile-menu ul a { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; font-size: clamp(2rem, 9vw, 3rem); font-weight: 600; letter-spacing: -.04em; transform: translateY(110%); transition: transform .7s var(--ease); transition-delay: calc(var(--i) * 50ms); }
.mobile-menu ul a[aria-current] { color: var(--violet-2); }
.mm-num { font-size: 13px; font-weight: 500; color: var(--muted-on-dark); letter-spacing: 0; }
.mobile-menu__foot { display: grid; gap: 14px; margin-top: 36px; opacity: 0; transform: translateY(20px); transition: opacity .6s .35s, transform .6s .35s var(--ease); }
.mobile-menu__foot .btn { width: 100%; }
.mm-contact { display: flex; align-items: center; gap: 10px; color: var(--muted-on-dark); font-size: 15px; }
.menu-open .mobile-menu { visibility: visible; pointer-events: auto; }
.menu-open .mobile-menu__bg { clip-path: circle(150% at calc(100% - 44px) 42px); }
.menu-open .mobile-menu ul a { transform: none; transition-delay: calc(200ms + var(--i) * 60ms); }
.menu-open .mobile-menu__foot { opacity: 1; transform: none; }
.menu-open { overflow: hidden; }

/* ---------- Page curtain + cursor ---------- */
.page-curtain { position: fixed; inset: 0; z-index: 2000; background: var(--ink); display: grid; place-items: center; pointer-events: none; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s .5s; }
.page-curtain__mark { color: #fff; font-size: clamp(28px, 4vw, 44px); font-weight: 700; letter-spacing: -.05em; opacity: .9; }
.is-loading .page-curtain, .is-leaving .page-curtain { opacity: 1; visibility: visible; transition: opacity .45s var(--ease); }
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .has-cursor .cursor { display: block; position: fixed; inset: 0; pointer-events: none; z-index: 1500; mix-blend-mode: difference; }
  .cursor__dot, .cursor__ring { position: fixed; top: 0; left: 0; border-radius: 50%; will-change: transform; }
  .cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; }
  .cursor__ring { width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid rgba(255,255,255,.7); transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, opacity .3s; }
  .cursor.is-hover .cursor__ring { width: 72px; height: 72px; margin: -36px 0 0 -36px; background: rgba(255,255,255,.95); }
  .cursor.is-hidden { opacity: 0; }
}

/* ---------- Hero (home) ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 48px) 0 clamp(96px, 12vh, 140px); overflow: hidden; background: var(--ink); color: #fff; isolation: isolate; }
.hero__canvas { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.hero__grid { position: absolute; inset: 0; z-index: -3; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 72px 72px; mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%); }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); z-index: -2; pointer-events: none; will-change: transform; }
.orb--1 { width: 46vw; height: 46vw; max-width: 720px; max-height: 720px; right: -10vw; top: -14vw; background: radial-gradient(circle at 30% 30%, rgba(139,92,246,.75), rgba(124,58,237,.15) 60%, transparent 70%); animation: drift 18s ease-in-out infinite alternate; }
.orb--2 { width: 34vw; height: 34vw; max-width: 520px; max-height: 520px; left: -12vw; bottom: -10vw; background: radial-gradient(circle, rgba(79,124,255,.5), transparent 65%); animation: drift 22s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate3d(-6%, 8%, 0) scale(1.08); } }
.hero__inner { position: relative; width: 100%; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
.hero__badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px; border: 1px solid var(--line-dark); border-radius: 999px; background: rgba(255,255,255,.04); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 13.5px; color: var(--muted-on-dark); margin-bottom: 32px; }
.hero__badge b { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.hero h1 { font-size: clamp(2.7rem, 6vw, 6.4rem); font-weight: 700; letter-spacing: -.058em; line-height: .93; }
.hero h1 .serif { font-weight: 400; letter-spacing: -.03em; }
.hero__sub { margin-top: 32px; max-width: 54ch; font-size: clamp(1.05rem, 1.35vw, 1.25rem); color: var(--muted-on-dark); line-height: 1.6; }
.hero .btn-row { margin-top: 40px; }
.hero__services { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line-dark); font-size: 14px; color: var(--muted-on-dark); }
.hero__services li { display: inline-flex; align-items: center; gap: 8px; }
.hero__services li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--violet-2); }

/* hero visual composition */
.hero__visual { position: relative; aspect-ratio: 1 / 1.08; width: 100%; max-width: 560px; justify-self: end; perspective: 1200px; }
.hv-core { position: absolute; inset: 14% 10%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #c4b5fd 0%, #8b5cf6 22%, #4c1d95 52%, #0e0c16 78%); box-shadow: 0 0 120px 10px rgba(124,58,237,.35), inset -30px -40px 80px rgba(0,0,0,.6), inset 20px 20px 60px rgba(255,255,255,.15); animation: float 9s ease-in-out infinite; }
.hv-core::after { content: ''; position: absolute; inset: -1px; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 70%, rgba(255,255,255,.35) 80%, transparent 90%); mix-blend-mode: overlay; animation: spin 10s linear infinite; }
.hv-ring { position: absolute; inset: 4%; border-radius: 50%; border: 1px solid rgba(167,139,250,.22); transform: rotateX(70deg) rotateZ(0deg); animation: ringspin 26s linear infinite; }
.hv-ring--2 { inset: -4%; border-color: rgba(122,162,255,.16); animation-duration: 38s; animation-direction: reverse; transform: rotateX(72deg) rotateY(18deg); }
.hv-ring::before { content: ''; position: absolute; top: 50%; left: -5px; width: 10px; height: 10px; border-radius: 50%; background: #c4b5fd; box-shadow: 0 0 18px #a78bfa; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ringspin { to { transform: rotateX(70deg) rotateZ(360deg); } }
@keyframes float { 50% { transform: translateY(-14px); } }
.hv-card { position: absolute; padding: 14px 16px; border-radius: 18px; background: rgba(20, 17, 32, .55); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); font-size: 13px; color: #e9e6f2; will-change: transform; }
.hv-card__row { display: flex; align-items: center; gap: 10px; }
.hv-card__ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--grad); color: #fff; flex: none; }
.hv-card small { display: block; color: var(--muted-on-dark); font-size: 11.5px; }
.hv-card--a { top: 6%; left: -6%; animation: float 7s ease-in-out infinite; }
.hv-card--b { top: 40%; right: -8%; animation: float 8s 1s ease-in-out infinite; }
.hv-card--c { bottom: 6%; left: 4%; width: 230px; animation: float 9s .5s ease-in-out infinite; }
.hv-bars { display: flex; align-items: end; gap: 5px; height: 46px; margin-top: 10px; }
.hv-bars i { flex: 1; border-radius: 4px 4px 2px 2px; background: linear-gradient(to top, rgba(124,58,237,.4), #a78bfa); height: var(--h); transform-origin: bottom; animation: grow 2.8s var(--ease) infinite alternate; animation-delay: calc(var(--n) * .15s); }
@keyframes grow { from { transform: scaleY(.55); } }
.hv-typing { display: inline-flex; gap: 4px; margin-left: 4px; }
.hv-typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--violet-2); animation: blink 1.2s infinite; }
.hv-typing i:nth-child(2) { animation-delay: .2s; } .hv-typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 50% { opacity: .2; } }
.scroll-indicator { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted-on-dark); }
.scroll-indicator__line { width: 1px; height: 54px; background: rgba(255,255,255,.14); position: relative; overflow: hidden; }
.scroll-indicator__line::after { content: ''; position: absolute; left: 0; top: -50%; width: 100%; height: 50%; background: linear-gradient(to bottom, transparent, #c4b5fd); animation: scrollline 2s var(--ease-in-out) infinite; }
@keyframes scrollline { to { top: 110%; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: calc(var(--header-h) + clamp(56px, 9vw, 120px)) 0 clamp(64px, 9vw, 120px); isolation: isolate; }
.page-hero .orb--1 { opacity: .7; }
.page-hero h1 { max-width: 18ch; }
.page-hero .lead { margin-top: 28px; color: var(--muted-on-dark); }
.page-hero .btn-row { margin-top: 36px; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: 13.5px; border: 1px solid var(--line); background: var(--white); }
.section-dark .chip, .page-hero .chip { border-color: var(--line-dark); background: rgba(255,255,255,.04); color: #ddd9ea; }
.page-hero__icon { position: absolute; right: var(--gutter); bottom: clamp(48px, 8vw, 100px); width: clamp(120px, 18vw, 260px); height: clamp(120px, 18vw, 260px); border-radius: 36%; display: grid; place-items: center; color: #fff; background: radial-gradient(circle at 30% 25%, rgba(196,181,253,.5), rgba(124,58,237,.3) 40%, rgba(14,12,22,.2) 75%); border: 1px solid rgba(255,255,255,.12); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 40px 120px -20px rgba(124,58,237,.5); transform: rotate(-8deg); animation: float 8s ease-in-out infinite; }
.page-hero__icon .icon { width: 42%; height: 42%; stroke-width: 1.2; }
.breadcrumbs { margin-bottom: 36px; font-size: 13.5px; color: var(--muted-on-dark); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumbs li + li::before { content: '/'; margin-right: 8px; opacity: .45; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs [aria-current] { color: #d8d3ea; }

/* ---------- Reveal animations ---------- */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-img { clip-path: inset(18% 0 0 0 round var(--radius)); transform: scale(1.06); opacity: .001; transition: clip-path 1.2s var(--ease), transform 1.4s var(--ease), opacity .4s; }
.js .reveal-img.is-in { clip-path: inset(0 0 0 0 round var(--radius)); transform: none; opacity: 1; }
.stagger > * { --d: calc(var(--si, 0) * 70ms); }

/* ---------- Divider ---------- */
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line) 20%, var(--line) 80%, transparent); transform-origin: left; }
.js .divider { transform: scaleX(0); transition: transform 1.4s var(--ease); }
.js .divider.is-in { transform: none; }

/* ---------- Intro (We are Paper Perfect) ---------- */
.intro-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 110px); align-items: center; }
.intro-copy p + p { margin-top: 20px; }
.intro-copy .lead { color: var(--text); font-size: clamp(1.15rem, 1.6vw, 1.45rem); line-height: 1.5; letter-spacing: -.01em; }
.intro-pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 44px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.intro-pillars li { background: var(--paper); padding: 22px; display: flex; gap: 14px; align-items: flex-start; font-weight: 600; font-size: 15.5px; letter-spacing: -.01em; }
.intro-pillars li span { display: block; font-weight: 400; font-size: 14px; color: var(--muted); margin-top: 4px; letter-spacing: 0; }
.intro-pillars .icon { color: var(--violet); flex: none; margin-top: 2px; }
.intro-art { position: relative; aspect-ratio: 4 / 4.4; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink); isolation: isolate; }
.intro-art__mesh { position: absolute; inset: -20%; background: radial-gradient(40% 40% at 30% 30%, rgba(139,92,246,.9), transparent 70%), radial-gradient(35% 35% at 75% 65%, rgba(79,124,255,.75), transparent 70%), radial-gradient(30% 30% at 60% 20%, rgba(236,72,153,.35), transparent 70%); filter: blur(30px); animation: mesh 16s ease-in-out infinite alternate; }
@keyframes mesh { to { transform: rotate(25deg) scale(1.15); } }
.intro-art__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 44px 44px; }
.intro-art__word { position: absolute; left: 28px; bottom: 24px; right: 28px; color: #fff; font-size: clamp(2.6rem, 6vw, 5.4rem); font-weight: 700; letter-spacing: -.06em; line-height: .88; }
.intro-art__word .serif { display: block; font-weight: 400; color: #ddd6fe; }
.intro-art__chip { position: absolute; top: 24px; left: 24px; right: 24px; display: flex; justify-content: space-between; color: rgba(255,255,255,.75); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.intro-art__float { position: absolute; top: 22%; right: 8%; width: 46%; padding: 16px; border-radius: 18px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #fff; font-size: 13px; }
.intro-art__float code { display: block; font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace; font-size: 11.5px; line-height: 1.7; color: #e9e3ff; white-space: pre; overflow: hidden; }
.intro-art__float code b { color: #93c5fd; font-weight: 500; } .intro-art__float code i { color: #f9a8d4; font-style: normal; }

/* ---------- Services grid ---------- */
.services-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.svc-card { --acc: 262; position: relative; grid-column: span 4; display: flex; flex-direction: column; min-height: 400px; padding: 30px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line-dark); overflow: hidden; color: var(--text-on-dark); isolation: isolate; transform-style: preserve-3d; transition: border-color .4s, transform .6s var(--ease); }
.svc-card:nth-child(1), .svc-card:nth-child(5) { grid-column: span 6; }
.svc-card:nth-child(4), .svc-card:nth-child(10) { grid-column: span 6; }
.svc-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(500px circle at var(--mx, 70%) var(--my, 0%), hsla(var(--acc), 85%, 62%, .22), transparent 45%); opacity: .6; transition: opacity .5s; }
.svc-card:hover { border-color: hsla(var(--acc), 85%, 70%, .35); }
.svc-card:hover::before { opacity: 1; }
.svc-card__top { display: flex; justify-content: space-between; align-items: flex-start; }
.svc-card__num { font-size: 13px; color: var(--muted-on-dark); font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.svc-card__ic { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 18px; color: #fff; background: linear-gradient(140deg, hsla(var(--acc), 85%, 65%, .9), hsla(calc(var(--acc) - 40), 85%, 55%, .7)); box-shadow: 0 16px 40px -12px hsla(var(--acc), 85%, 55%, .7), inset 0 1px 0 rgba(255,255,255,.3); transition: transform .6s var(--ease); }
.svc-card:hover .svc-card__ic { transform: rotate(-8deg) scale(1.06); }
.svc-card h3 { margin-top: auto; padding-top: 48px; font-size: clamp(1.45rem, 2vw, 1.85rem); letter-spacing: -.035em; line-height: 1.1; }
.svc-card p { margin-top: 12px; color: var(--muted-on-dark); font-size: 15.5px; line-height: 1.55; max-width: 46ch; }
.svc-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.svc-card__tags span { font-size: 12px; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-dark); color: #cfc9e2; }
.svc-card__cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; font-weight: 600; font-size: 15px; color: #fff; }
.svc-card__cta span.arrow { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); transition: background .4s, border-color .4s, transform .5s var(--ease); }
.svc-card:hover .svc-card__cta span.arrow { background: #fff; color: var(--ink); border-color: #fff; transform: rotate(-45deg); }
.svc-card__link { position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.svc-card__deco { position: absolute; right: -40px; bottom: -40px; width: 220px; height: 220px; z-index: -1; border-radius: 50%; border: 1px solid hsla(var(--acc), 80%, 70%, .14); }
.svc-card__deco::after { content: ''; position: absolute; inset: 30px; border-radius: 50%; border: 1px dashed hsla(var(--acc), 80%, 70%, .14); animation: spin 40s linear infinite; }

/* ---------- Why us ---------- */
.why-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.why-sticky { position: sticky; top: calc(var(--header-h) + 40px); }
.why-panel { margin-top: 40px; position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink); color: #fff; aspect-ratio: 5 / 4; isolation: isolate; }
.why-panel__bg { position: absolute; inset: -10%; background: radial-gradient(50% 50% at 30% 30%, rgba(124,58,237,.85), transparent 70%), radial-gradient(45% 45% at 80% 80%, rgba(79,124,255,.6), transparent 70%); filter: blur(24px); transition: transform 1s var(--ease); }
.why-panel__content { position: absolute; inset: 0; padding: 32px; display: flex; flex-direction: column; justify-content: space-between; }
.why-panel__ic { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 22px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.why-panel__ic .icon { width: 34px; height: 34px; }
.why-panel h3 { font-size: clamp(1.6rem, 2.6vw, 2.4rem); }
.why-panel p { color: rgba(255,255,255,.78); margin-top: 10px; max-width: 40ch; }
.why-panel__swap { transition: opacity .35s, transform .5s var(--ease); }
.why-panel.is-swapping .why-panel__swap { opacity: 0; transform: translateY(12px); }
.why-list { border-top: 1px solid var(--line); }
.why-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 18px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); cursor: default; transition: padding .5s var(--ease); }
.why-item__n { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.why-item h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); letter-spacing: -.035em; transition: color .3s; }
.why-item p { grid-column: 2 / 4; color: var(--muted); font-size: 15.5px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .4s, margin .5s; }
.why-item__ic { color: var(--muted); transition: color .3s, transform .5s var(--ease); }
.why-item.is-active h3 { color: var(--violet); }
.why-item.is-active .why-item__ic { color: var(--violet); transform: rotate(-12deg); }
.why-item.is-active p { max-height: 120px; opacity: 1; margin-top: -6px; }

/* ---------- Portfolio ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filter-btn { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-dark); font-size: 14px; font-weight: 500; color: var(--muted-on-dark); transition: all .3s; }
.filter-btn:hover { color: #fff; border-color: rgba(255,255,255,.3); }
.filter-btn[aria-pressed="true"] { background: #fff; color: var(--ink); border-color: #fff; }
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 2.5vw, 32px); }
.work-card { position: relative; transition: opacity .5s var(--ease), transform .6s var(--ease); }
.work-card:nth-child(even) { margin-top: clamp(0px, 8vw, 120px); }
.work-card.is-hidden { display: none; }
.work-card__media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--ink-3); }
.work-card__media > * { transition: transform 1.2s var(--ease); }
.work-card:hover .work-card__media > * { transform: scale(1.045); }
.work-card__media img { width: 100%; height: 100%; object-fit: cover; }
.work-card__meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-top: 20px; }
.work-card h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); letter-spacing: -.035em; }
.work-card__cat { font-size: 14px; color: var(--muted-on-dark); margin-top: 6px; }
.work-card__go { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-dark); transition: all .5s var(--ease); }
.work-card:hover .work-card__go { background: #fff; color: var(--ink); transform: rotate(-45deg); }
.work-card__link { position: absolute; inset: 0; z-index: 2; border-radius: var(--radius); }
.work-note { margin-top: 48px; font-size: 14px; color: var(--muted-on-dark); display: flex; gap: 10px; align-items: center; }
.section-light-work .filter-btn { border-color: var(--line); color: var(--muted); }

/* Mock placeholder visuals */
.mock { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; color: hsl(var(--h1), 90%, 75%); }
.mock__bg { position: absolute; inset: 0; background: radial-gradient(60% 70% at 20% 10%, hsla(var(--h1), 80%, 55%, .65), transparent 70%), radial-gradient(60% 60% at 90% 90%, hsla(var(--h2), 80%, 55%, .5), transparent 70%), #100e18; }
.mock__bg::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 32px 32px; }
.mock__tag { position: absolute; top: 16px; left: 16px; z-index: 3; padding: 6px 12px; border-radius: 999px; background: rgba(0,0,0,.45); border: 1px dashed rgba(255,255,255,.35); color: #fff; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.mock-win { position: relative; width: 78%; aspect-ratio: 16 / 10; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); overflow: hidden; }
.mock-win__bar { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid rgba(255,255,255,.1); }
.mock-win__bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.3); }
.mock-site { padding: 7%; }
.mock-hero b { display: block; height: 14px; width: 70%; border-radius: 6px; background: rgba(255,255,255,.85); }
.mock-hero b.s { width: 45%; margin-top: 8px; background: rgba(255,255,255,.4); }
.mock-hero span { display: block; margin-top: 14px; width: 26%; height: 16px; border-radius: 999px; background: hsl(var(--h1), 85%, 65%); }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8%; }
.mock-cards i { aspect-ratio: 1 / .8; border-radius: 8px; background: rgba(255,255,255,.12); }
.mock-phone { position: relative; width: 24%; aspect-ratio: 9 / 19; border-radius: 22px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); padding: 8% 2.5% 0; display: flex; flex-direction: column; gap: 6px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); transform: translateX(-30%) rotate(-6deg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.mock-phone--2 { position: absolute; transform: translateX(45%) rotate(6deg) translateY(6%); }
.mock-phone span { height: 30%; border-radius: 12px; background: linear-gradient(140deg, hsl(var(--h1), 85%, 65%), hsl(var(--h2), 85%, 55%)); }
.mock-phone i { height: 8px; border-radius: 4px; background: rgba(255,255,255,.6); width: 80%; }
.mock-phone i.s { width: 50%; background: rgba(255,255,255,.3); }
.mock-phone b { height: 14%; border-radius: 10px; background: rgba(255,255,255,.12); }
.mock-dash { display: grid; grid-template-columns: 20% 1fr; height: calc(100% - 29px); }
.mock-side { border-right: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04); }
.mock-main { padding: 6%; display: flex; flex-direction: column; gap: 8%; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mock-kpis i { height: 34px; border-radius: 8px; background: rgba(255,255,255,.12); }
.mock-kpis i:first-child { background: hsla(var(--h1), 85%, 65%, .6); }
.mock-bars { flex: 1; display: flex; align-items: end; gap: 6px; }
.mock-bars i { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(to top, hsla(var(--h1), 85%, 60%, .3), hsl(var(--h1), 85%, 72%)); }
.mock-bars i:nth-child(1) { height: 40%; } .mock-bars i:nth-child(2) { height: 55%; } .mock-bars i:nth-child(3) { height: 35%; } .mock-bars i:nth-child(4) { height: 70%; } .mock-bars i:nth-child(5) { height: 60%; } .mock-bars i:nth-child(6) { height: 85%; } .mock-bars i:nth-child(7) { height: 65%; } .mock-bars i:nth-child(8) { height: 92%; } .mock-bars i:nth-child(9) { height: 78%; }
.mock-chat { position: relative; z-index: 1; width: 62%; padding: 18px; border-radius: 18px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); display: flex; flex-direction: column; gap: 10px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.mock-chat p { height: 26px; border-radius: 12px; width: 70%; }
.mock-chat .u { align-self: flex-end; background: rgba(255,255,255,.55); }
.mock-chat .b { background: hsla(var(--h1), 85%, 65%, .7); }
.mock-chat .s { width: 45%; }
.mock-input { height: 30px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); margin-top: 6px; }
.mock-orb { position: absolute; width: 38%; aspect-ratio: 1; border-radius: 50%; right: 4%; top: 6%; background: radial-gradient(circle at 35% 30%, #fff, hsl(var(--h1), 85%, 65%) 30%, transparent 70%); filter: blur(2px); opacity: .7; }
.mock-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; width: 64%; transform: rotate(-8deg); }
.mock-tiles i { aspect-ratio: 1; border-radius: 18px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); }
.mock-tiles i:nth-child(1) { background: linear-gradient(140deg, hsl(var(--h1), 85%, 65%), hsl(var(--h2), 85%, 55%)); }
.mock-tiles i:nth-child(4) { border-radius: 50%; background: rgba(255,255,255,.75); }
.mock-line { width: 100%; height: calc(100% - 29px); padding: 8%; color: hsl(var(--h1), 90%, 75%); }

/* ---------- Process ---------- */
.process { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; counter-reset: step; }
.process__track { position: absolute; left: 0; right: 0; top: 35px; height: 1px; background: var(--line-dark); }
.process__fill { position: absolute; left: 0; top: 0; height: 100%; width: 100%; background: var(--grad); transform-origin: left; transform: scaleX(var(--p, 0)); }
.step { position: relative; padding-right: 22px; }
.step__dot { position: relative; z-index: 1; width: 70px; height: 70px; display: grid; place-items: center; border-radius: 50%; background: var(--ink-2); border: 1px solid var(--line-dark); color: var(--muted-on-dark); transition: all .6s var(--ease); }
.step.is-active .step__dot { color: #fff; background: var(--grad); border-color: transparent; box-shadow: 0 0 0 8px rgba(124,58,237,.15), 0 20px 40px -10px rgba(124,58,237,.6); }
.step__n { display: block; margin-top: 28px; font-size: 13px; color: var(--muted-on-dark); letter-spacing: .1em; }
.step h3 { margin-top: 8px; font-size: clamp(1.4rem, 2vw, 1.8rem); letter-spacing: -.035em; }
.step p { margin-top: 10px; font-size: 15px; color: var(--muted-on-dark); line-height: 1.55; }
.process--light .step__dot { background: var(--white); border-color: var(--line); color: var(--muted); }
.process--light .process__track { background: var(--line); }
.process--light .step__n, .process--light .step p { color: var(--muted); }

/* ---------- Industries ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.ind-card { position: relative; background: var(--paper); padding: 30px 24px 26px; min-height: 230px; display: flex; flex-direction: column; overflow: hidden; isolation: isolate; transition: color .5s; }
.ind-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: translateY(101%); transition: transform .6s var(--ease); }
.ind-card::after { content: ''; position: absolute; width: 180px; height: 180px; right: -60px; bottom: -60px; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(139,92,246,.7), transparent 70%); opacity: 0; transition: opacity .6s; }
.ind-card:hover { color: #fff; }
.ind-card:hover::before { transform: none; }
.ind-card:hover::after { opacity: 1; }
.ind-card .icon { width: 32px; height: 32px; color: var(--violet); transition: color .5s, transform .6s var(--ease); }
.ind-card:hover .icon { color: var(--violet-2); transform: translateY(-4px); }
.ind-card h3 { margin-top: auto; padding-top: 40px; font-size: 1.3rem; letter-spacing: -.03em; }
.ind-card p { font-size: 14px; color: var(--muted); margin-top: 8px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .5s; }
.ind-card:hover p, .ind-card:focus-within p { max-height: 140px; opacity: 1; color: var(--muted-on-dark); }
.ind-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.ind-row { display: grid; grid-template-columns: auto 1fr; gap: 22px; padding: 30px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s; }
.ind-row:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(17,15,24,.25); }
.ind-row__ic { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: var(--grad-soft); color: var(--violet); }
.ind-row h2 { font-size: 1.5rem; letter-spacing: -.03em; }
.ind-row p { color: var(--muted); margin-top: 8px; }
.ind-row__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ind-row__links a { font-size: 13px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); transition: all .3s; }
.ind-row__links a:hover { border-color: var(--violet); color: var(--violet); }

/* ---------- Tech ecosystem ---------- */
.tech-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.tech-orbit { container-type: inline-size; position: relative; aspect-ratio: 1; width: 100%; max-width: 560px; justify-self: center; }
.tech-orbit__ring { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.14); inset: var(--in); }
.tech-orbit__ring--1 { --in: 0%; } .tech-orbit__ring--2 { --in: 17%; border-style: dashed; } .tech-orbit__ring--3 { --in: 33%; }
.tech-orbit__center { position: absolute; inset: 39%; border-radius: 50%; display: grid; place-items: center; text-align: center; background: radial-gradient(circle at 35% 30%, #c4b5fd, #7c3aed 40%, #2e1065 85%); box-shadow: 0 0 80px rgba(124,58,237,.55); color: #fff; font-weight: 700; font-size: clamp(12px, 1.4vw, 15px); letter-spacing: -.02em; line-height: 1.1; }
.tech-orbit__spin { position: absolute; inset: 0; animation: spin 60s linear infinite; }
.tech-orbit__spin--inner { inset: 17%; animation-duration: 45s; animation-direction: reverse; }
.tech-node { position: absolute; left: 50%; top: 50%; transform: rotate(var(--a)) translateY(calc(var(--r) * -1)) rotate(calc(var(--a) * -1)); }
.tech-node > span { display: grid; place-items: center; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 16px; background: var(--ink-3); border: 1px solid rgba(255,255,255,.14); color: #e9e3ff; font-weight: 700; font-size: 15px; letter-spacing: -.02em; animation: spin 60s linear infinite reverse; box-shadow: 0 10px 30px -10px rgba(0,0,0,.6); }
.tech-orbit__spin--inner .tech-node > span { animation-duration: 45s; animation-direction: normal; }
.tech-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 36px; }
.tech-item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line-dark); background: rgba(255,255,255,.025); transition: border-color .3s, background .3s, transform .4s var(--ease); }
.tech-item:hover { border-color: rgba(167,139,250,.45); background: rgba(167,139,250,.07); transform: translateX(4px); }
.tech-item__m { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--grad); color: #fff; font-weight: 700; font-size: 14px; }
.tech-item b { display: block; font-weight: 600; font-size: 15px; letter-spacing: -.01em; }
.tech-item small { color: var(--muted-on-dark); font-size: 12.5px; }

/* ---------- About block ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 110px); }
.about-body p { color: var(--muted); font-size: 1.08rem; }
.about-body p + p { margin-top: 18px; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 48px; }
.mv-card { position: relative; padding: 30px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); overflow: hidden; }
.mv-card::after { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.mv-card:hover::after { transform: scaleX(1); }
.mv-card .icon { color: var(--violet); width: 30px; height: 30px; }
.mv-card h3 { margin-top: 22px; font-size: 1.35rem; letter-spacing: -.03em; }
.mv-card p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); }
.value .icon { color: var(--violet); }
.value h3 { margin-top: 20px; font-size: 1.2rem; letter-spacing: -.025em; }
.value p { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* ---------- Testimonials ---------- */
.testi { position: relative; max-width: 1000px; margin-inline: auto; text-align: center; }
.testi__viewport { overflow: hidden; }
.testi__track { display: flex; transition: transform .9s var(--ease); }
.testi__slide { flex: 0 0 100%; margin: 0; padding: 0 8px; }
.testi__q { width: 54px; height: 54px; margin: 0 auto 28px; color: var(--violet-2); }
.testi blockquote { margin: 0; font-size: clamp(1.4rem, 3vw, 2.4rem); line-height: 1.25; letter-spacing: -.03em; font-weight: 500; }
.testi figcaption { margin-top: 32px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.testi figcaption b { font-weight: 600; }
.testi figcaption span { color: var(--muted-on-dark); font-size: 14px; }
.testi__ph { display: inline-block; margin-top: 12px; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; border: 1px dashed rgba(255,255,255,.3); color: var(--muted-on-dark); }
.testi__nav { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 44px; }
.testi__btn { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-dark); transition: all .3s; }
.testi__btn:hover { background: #fff; color: var(--ink); }
.testi__dots { display: flex; gap: 8px; }
.testi__dots button { width: 8px; height: 8px; border-radius: 999px; background: rgba(255,255,255,.25); transition: width .5s var(--ease), background .3s; }
.testi__dots button[aria-current="true"] { width: 28px; background: var(--violet-2); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.faq-grid .section-head { position: sticky; top: calc(var(--header-h) + 40px); margin-bottom: 0; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { font-size: inherit; letter-spacing: normal; line-height: inherit; font-weight: inherit; }
.faq-q button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; text-align: left; font-size: clamp(1.08rem, 1.5vw, 1.3rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.3; transition: color .3s; }
.faq-q button:hover { color: var(--violet); }
.faq-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); transition: transform .5s var(--ease), background .3s, color .3s, border-color .3s; }
.faq-item.is-open .faq-icon { transform: rotate(45deg); background: var(--violet); border-color: var(--violet); color: #fff; }
.faq-a { overflow: hidden; height: 0; transition: height .5s var(--ease); }
.faq-a[hidden] { display: block; }
.faq-a__inner { padding: 0 60px 28px 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.section-dark .faq-list, .section-dark .faq-item { border-color: var(--line-dark); }
.section-dark .faq-icon { border-color: var(--line-dark); }
.section-dark .faq-a__inner { color: var(--muted-on-dark); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.contact-side .lead { color: var(--muted-on-dark); margin-top: 24px; }
.contact-channels { display: grid; gap: 12px; margin-top: 40px; }
.channel { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 18px; border: 1px solid var(--line-dark); background: rgba(255,255,255,.03); transition: border-color .3s, background .3s, transform .4s var(--ease); }
.channel:hover { border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.06); transform: translateX(4px); }
.channel__ic { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.08); }
.channel--wa .channel__ic { background: var(--wa); color: #fff; }
.channel small { display: block; color: var(--muted-on-dark); font-size: 13px; }
.channel b { font-weight: 600; font-size: 16px; word-break: break-word; }
.channel .icon-go { margin-left: auto; color: var(--muted-on-dark); }
.form-card { padding: clamp(24px, 4vw, 48px); border-radius: var(--radius-lg); background: var(--white); color: var(--text); box-shadow: 0 50px 100px -40px rgba(0,0,0,.6); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 18px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; letter-spacing: -.005em; }
.field label .req { color: var(--violet); }
.field input, .field select, .field textarea { width: 100%; padding: 15px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper); font-size: 16px; transition: border-color .25s, box-shadow .25s, background .25s; -webkit-appearance: none; appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235f5b6b' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet); background: #fff; box-shadow: 0 0 0 4px rgba(124,58,237,.12); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #dc2626; background: #fff7f7; }
.field__err { font-size: 13px; color: #dc2626; min-height: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; }
.form-foot p { font-size: 13px; color: var(--muted); max-width: 40ch; }
.form-foot p a { text-decoration: underline; }
.btn .spinner { display: none; animation: spin .9s linear infinite; }
.btn.is-loading .spinner { display: block; }
.btn.is-loading .icon-send { display: none; }
.btn[disabled] { opacity: .75; cursor: progress; }
.form-status { display: none; align-items: flex-start; gap: 12px; margin-top: 20px; padding: 16px 18px; border-radius: 14px; font-size: 15px; }
.form-status.is-success { display: flex; background: #ecfdf3; color: #065f46; border: 1px solid #a7f3d0; }
.form-status.is-error { display: flex; background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.form-status .icon { flex: none; margin-top: 1px; }

/* ---------- Service detail ---------- */
.svc-intro { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 110px); }
.svc-intro__body p { color: var(--muted); font-size: 1.1rem; }
.svc-intro__body p + p { margin-top: 18px; }
.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.benefit { padding: 30px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s; }
.benefit:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(17,15,24,.25); }
.benefit__n { font-family: var(--serif); font-style: italic; font-size: 2.6rem; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.benefit h3 { margin-top: 26px; font-size: 1.2rem; letter-spacing: -.025em; }
.benefit p { margin-top: 10px; color: var(--muted); font-size: 15px; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.feature { display: flex; align-items: center; gap: 14px; padding: 20px 22px; border-radius: 18px; border: 1px solid var(--line-dark); background: rgba(255,255,255,.03); font-weight: 500; transition: border-color .3s, background .3s; }
.feature:hover { border-color: rgba(167,139,250,.5); background: rgba(167,139,250,.06); }
.feature__ic { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--grad); color: #fff; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.related-grid .svc-card { grid-column: auto; min-height: 320px; }

/* ---------- Project detail ---------- */
.project-hero-media { position: relative; aspect-ratio: 16 / 8; border-radius: var(--radius-lg); overflow: hidden; margin-top: -60px; background: var(--ink-3); box-shadow: 0 60px 120px -50px rgba(17,15,24,.6); }
.project-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.project-body { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(40px, 6vw, 100px); }
.project-facts { display: grid; gap: 22px; align-content: start; }
.project-facts dt { font-size: 13px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.project-facts dd { margin: 6px 0 0; font-weight: 600; }
.project-facts dd a { color: var(--violet); }
.project-sec + .project-sec { margin-top: 44px; }
.project-sec h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -.035em; }
.project-sec p { margin-top: 14px; color: var(--muted); font-size: 1.08rem; }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 18px 20px; border-radius: 16px; border: 1px dashed rgba(124,58,237,.45); background: rgba(124,58,237,.06); color: #4c1d95; font-size: 15px; }
.notice .icon { flex: none; }

/* ---------- Legal ---------- */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.6rem; margin-top: 48px; letter-spacing: -.03em; }
.legal h3 { font-size: 1.2rem; margin-top: 28px; }
.legal p, .legal li { color: var(--muted); margin-top: 14px; }
.legal ul { list-style: disc; padding-left: 22px; }
.legal a { color: var(--violet); text-decoration: underline; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; padding-block: clamp(96px, 12vw, 170px); text-align: center; isolation: isolate; }
.cta-band__glow { position: absolute; left: 50%; top: 50%; width: min(1100px, 120vw); aspect-ratio: 2 / 1; transform: translate(-50%, -50%); z-index: -1; background: radial-gradient(50% 50% at 50% 50%, rgba(124,58,237,.55), transparent 70%); filter: blur(40px); animation: pulseglow 8s ease-in-out infinite; }
@keyframes pulseglow { 50% { opacity: .6; transform: translate(-50%, -50%) scale(1.1); } }
.cta-band__inner { display: grid; justify-items: center; gap: 24px; }
.cta-band h2 { max-width: 16ch; }
.cta-band .lead { color: var(--muted-on-dark); }
.cta-band .btn-row { justify-content: center; margin-top: 12px; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 26px 0; background: var(--paper); }
.marquee__track { display: flex; gap: 48px; width: max-content; animation: marquee 40s linear infinite; }
.marquee__track span { font-size: clamp(1.4rem, 3vw, 2.4rem); font-weight: 600; letter-spacing: -.04em; white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; }
.marquee__track span::after { content: '✦'; color: var(--violet); font-size: .6em; }
.marquee__track span:nth-child(even) { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--muted); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Footer ---------- */
.site-footer { position: relative; padding-bottom: 40px; overflow: hidden; }
.footer-marquee { overflow: hidden; border-bottom: 1px solid var(--line-dark); padding: clamp(36px, 5vw, 64px) 0; }
.footer-marquee__track { display: flex; gap: 40px; width: max-content; animation: marquee 34s linear infinite; }
.footer-marquee__track span { font-size: clamp(2.4rem, 7vw, 6.5rem); font-weight: 700; letter-spacing: -.055em; white-space: nowrap; line-height: 1; background: linear-gradient(180deg, #fff 30%, rgba(255,255,255,.35)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer-marquee__track .star { background: var(--grad); -webkit-background-clip: text; background-clip: text; font-size: clamp(1.6rem, 4vw, 3.5rem); align-self: center; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1.3fr 1.2fr; gap: 40px; padding-block: clamp(56px, 7vw, 96px); }
.footer-brand p { margin-top: 20px; color: var(--muted-on-dark); font-size: 15px; max-width: 38ch; }
.footer-h { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-on-dark); margin-bottom: 22px; }
.footer-links { display: grid; gap: 12px; }
.footer-links--2col { grid-template-columns: 1fr 1fr; column-gap: 20px; }
.footer-links a { font-size: 15px; color: #d9d5e6; transition: color .25s; position: relative; }
.footer-links a:hover { color: #fff; }
.footer-contact { display: grid; gap: 14px; margin-bottom: 26px; }
.footer-contact a, .footer-contact__plain { display: flex; align-items: center; gap: 12px; font-size: 15px; color: #d9d5e6; word-break: break-word; }
.footer-contact a:hover { color: #fff; }
.footer-contact svg { flex: none; color: var(--violet-2); }
.socials { display: flex; gap: 10px; margin-top: 26px; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-dark); transition: all .3s; }
.socials a:hover { background: #fff; color: var(--ink); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 28px; border-top: 1px solid var(--line-dark); font-size: 14px; color: var(--muted-on-dark); }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Floating WhatsApp ---------- */
.wa-float { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 900; display: flex; align-items: center; justify-content: center; width: 62px; height: 62px; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 14px 34px -8px rgba(37,211,102,.6), 0 4px 12px rgba(0,0,0,.18); transition: transform .4s var(--ease), box-shadow .4s; }
.wa-float:hover { transform: scale(1.08) translateY(-2px); box-shadow: 0 20px 44px -8px rgba(37,211,102,.75), 0 6px 16px rgba(0,0,0,.2); }
.wa-float svg { position: relative; z-index: 1; }
.wa-float__pulse { position: absolute; inset: 0; border-radius: 50%; background: var(--wa); animation: wapulse 2.4s ease-out infinite; }
@keyframes wapulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.75); opacity: 0; } }
.wa-float__label { position: absolute; right: calc(100% + 12px); top: 50%; transform: translate(8px, -50%); white-space: nowrap; padding: 8px 14px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13.5px; font-weight: 500; opacity: 0; pointer-events: none; transition: opacity .3s, transform .4s var(--ease); }
.wa-float:hover .wa-float__label, .wa-float:focus-visible .wa-float__label { opacity: 1; transform: translate(0, -50%); }
.to-top { position: fixed; right: max(28px, calc(env(safe-area-inset-right) + 10px)); bottom: calc(max(18px, env(safe-area-inset-bottom)) + 76px); z-index: 890; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.9); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 8px 20px rgba(0,0,0,.12); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .4s var(--ease); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.to-top .icon { transform: rotate(180deg); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

/* ---------- 404 ---------- */
.nf { min-height: 100svh; display: grid; place-items: center; text-align: center; }
.nf__code { font-size: clamp(7rem, 26vw, 20rem); font-weight: 800; letter-spacing: -.08em; line-height: .85; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .nav__list .nav__link { padding: 10px 11px; font-size: 14.5px; }
  .ind-grid { grid-template-columns: repeat(3, 1fr); }
  .process { grid-template-columns: repeat(3, 1fr); row-gap: 56px; }
  .process__track { display: none; }
  .benefit-grid, .values { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1024px) {
  :root { --header-h: 72px; }
  .nav__menu, .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 460px; justify-self: center; margin-top: 24px; }
  .intro-grid, .why-grid, .tech-wrap, .about-grid, .faq-grid, .contact-grid, .svc-intro, .project-body, .section-head--split { grid-template-columns: 1fr; }
  .why-sticky, .faq-grid .section-head { position: static; }
  .why-panel { display: none; }
  .why-item p { max-height: 200px; opacity: 1; margin-top: -6px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-card, .svc-card:nth-child(n) { grid-column: auto; min-height: 360px; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .page-hero__icon { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .services-grid, .work-grid, .related-grid, .ind-list, .mv-grid, .form-grid, .tech-list { grid-template-columns: 1fr; }
  .work-card:nth-child(even) { margin-top: 0; }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .ind-card { min-height: 190px; padding: 22px 18px; }
  .ind-card p { max-height: none; opacity: 1; }
  .process { grid-template-columns: 1fr; row-gap: 0; }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; padding: 0 0 36px; }
  .step::before { content: ''; position: absolute; left: 27px; top: 56px; bottom: 0; width: 1px; background: var(--line-dark); }
  .process--light .step::before { background: var(--line); }
  .step:last-child::before { display: none; }
  .step__dot { width: 56px; height: 56px; grid-row: span 3; }
  .step__n { margin-top: 4px; }
  .benefit-grid, .values { grid-template-columns: 1fr; }
  .intro-pillars { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .hv-card--a { left: 0; } .hv-card--b { right: 0; } .hv-card--c { width: 200px; }
  .hero__services { display: none; }
  .faq-a__inner { padding-right: 0; }
  .ind-row { grid-template-columns: 1fr; padding: 24px; }
  .project-hero-media { aspect-ratio: 4 / 3; margin-top: -40px; }
  .wa-float { width: 56px; height: 56px; }
  .to-top { right: max(25px, calc(env(safe-area-inset-right) + 7px)); bottom: calc(max(18px, env(safe-area-inset-bottom)) + 68px); }
  .scroll-indicator { display: none; }
  .tech-node > span { width: 42px; height: 42px; margin: -21px 0 0 -21px; font-size: 12.5px; border-radius: 12px; }
  .work-note { align-items: flex-start; }
}
@media (max-width: 420px) {
  .ind-grid { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
  .hv-card--b { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0ms !important; }
  .js .reveal, .js .reveal-img, .js .split .w > span, .js .divider { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .marquee__track, .footer-marquee__track { animation: none !important; }
  .wa-float__pulse { display: none; }
}

/* ---------- Menu-open & floating button safety ---------- */
.menu-open .site-header { z-index: 130; transform: none; }
.menu-open .site-header::before { opacity: 0; }
.menu-open .wa-float, .menu-open .to-top { opacity: 0; visibility: hidden; pointer-events: none; }
@media (max-width: 760px) { .site-footer { padding-bottom: 96px; } }
