/* ============================================================
   NYAUNG STUDIO — Design System
   Style: Motion-driven, dark, premium
   Type:  Satoshi (display) + General Sans (body)
   Color: Indigo -> Violet brand, emerald "live" accent
   ============================================================ */

/* ---------- Fonts (Fontshare) ----------
   Loaded via <link rel="preload"/stylesheet> in each page <head> (faster than @import). */

/* ---------- Tokens ---------- */
:root {
  /* surfaces */
  --bg:           #060609;
  --bg-2:         #0B0B12;
  --panel:        #10101A;
  --panel-2:      #15151F;
  --line:         rgba(255,255,255,0.07);
  --line-strong:  rgba(255,255,255,0.12);

  /* VIVID neon accent system */
  --indigo:       #6366F1;
  --violet:       #818CF8;
  --fuchsia:      #C084FC;
  --cyan:         #38BDF8;
  --emerald:      #34D399;
  --emerald-deep: #22C55E;

  /* text */
  --text:         #F5F5FA;
  --muted:        #A9A9C6;
  --muted-2:      #8E8EA8;

  /* gradients — full neon spectrum */
  --grad-brand:   linear-gradient(120deg, #818CF8 0%, #6366F1 38%, #C084FC 72%, #E879F9 100%);
  --grad-btn:     linear-gradient(120deg, #6366F1 0%, #8B5CF6 55%, #A855F7 100%);
  --grad-text:    linear-gradient(120deg, #FFFFFF 0%, #C7C9F7 50%, #E0AEFF 100%);
  --glow:         0 0 0 1px rgba(129,140,248,0.35), 0 0 30px -4px rgba(129,140,248,0.5), 0 24px 70px -18px rgba(192,132,252,0.55);

  /* layout */
  --maxw:         1200px;
  --radius:       16px;
  --radius-sm:    12px;
  --ease:         cubic-bezier(0.22, 1, 0.36, 1);

  --font-display: 'Satoshi', 'General Sans', system-ui, sans-serif;
  --font-body:    'General Sans', 'Satoshi', system-ui, sans-serif;
  --font-mono:    'IBM Plex Mono', ui-monospace, 'SF Mono', monospace;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  html.js .reveal { opacity: 1 !important; transform: none !important; }
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ambient background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 560px at 12% -8%, rgba(99,102,241,0.26), transparent 60%),
    radial-gradient(820px 620px at 100% 4%, rgba(192,132,252,0.20), transparent 56%),
    radial-gradient(760px 760px at 50% 120%, rgba(56,189,248,0.12), transparent 60%);
  pointer-events: none;
  animation: ambient-drift 22s ease-in-out infinite alternate;
}
@keyframes ambient-drift {
  0%   { transform: translate3d(0,0,0) scale(1); filter: hue-rotate(0deg); }
  100% { transform: translate3d(0,-2%,0) scale(1.08); filter: hue-rotate(18deg); }
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(129,140,248,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(129,140,248,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 78%);
  pointer-events: none;
}

::selection { background: rgba(129,140,248,0.35); color: #fff; }

/* ---------- WebGL hero canvas ---------- */
#hero-canvas {
  position: fixed; inset: 0; width: 100vw; height: 100vh;
  z-index: -1; pointer-events: none;
  will-change: opacity;
}

/* ---------- Lenis smooth scroll (recommended) ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--violet);
}
.eyebrow::before {
  content: ""; width: 22px; height: 1px; background: var(--violet); opacity: 0.7;
}

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand-text {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.mono-inline { font-family: var(--font-mono); color: var(--text); font-weight: 600; letter-spacing: -0.02em; }
/* line-mask headline reveal — hidden ONLY when motion.js confirms GSAP is active
   (html.motion). If motion is off/reduced/mobile, headings stay fully visible. */
html.motion .lm-reveal { clip-path: inset(0 110% 0 0); will-change: clip-path; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
section { position: relative; padding: 92px 0; }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(32px, 5.2vw, 56px); letter-spacing: -0.03em; line-height: 1.02; margin: 18px 0 14px; }
.section-head p { color: var(--muted); font-size: 18px; max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn {
  --pad: 14px 24px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: var(--pad);
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  border-radius: 999px; cursor: pointer; border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); } /* arrow nudge, translate only */
.btn:active { transform: translateY(0) scale(0.99); }
.btn-primary {
  background: var(--grad-btn); color: #fff;
  box-shadow: 0 0 24px -4px rgba(129,140,248,0.55), 0 12px 34px -12px rgba(168,85,247,0.6), inset 0 1px 0 rgba(255,255,255,0.18);
}
.btn-primary:hover { box-shadow: 0 0 36px -2px rgba(129,140,248,0.8), 0 18px 46px -12px rgba(168,85,247,0.8), inset 0 1px 0 rgba(255,255,255,0.22); transform: translateY(-2px); }
.btn-ghost {
  background: rgba(255,255,255,0.05); color: var(--text); border-color: var(--line-strong);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: var(--indigo); transform: translateY(-2px); }
.btn-lg { --pad: 17px 30px; font-size: 16px; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; top: 14px; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: center; padding: 0 16px;
  transition: top .3s var(--ease);
}
.nav-inner {
  width: 100%; max-width: var(--maxw);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 11px 12px 11px 22px;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(12,12,18,0.55); backdrop-filter: blur(18px) saturate(150%);
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.nav.scrolled .nav-inner {
  background: rgba(10,10,16,0.82);
  border-color: var(--line-strong);
  box-shadow: 0 16px 50px -22px rgba(0,0,0,0.9);
}
.logo { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
.logo .mark {
  width: 30px; height: 30px; border-radius: 9px; flex: none;
  background: var(--grad-brand);
  display: grid; place-items: center; color: #0a0a14; font-weight: 900; font-size: 15px;
  box-shadow: 0 6px 18px -6px rgba(129,140,248,0.8);
}
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 9px 15px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--muted);
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { padding: 190px 0 90px; text-align: center; }
/* soft scrim keeps hero text legible over the bright 3D core */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse 62% 52% at 50% 46%, rgba(7,7,11,0.62), transparent 72%);
}
.hero .wrap { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: rgba(255,255,255,0.03);
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.02em; color: var(--muted); margin-bottom: 30px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 0 4px rgba(52,211,153,0.18); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero h1 {
  font-size: clamp(38px, 8.5vw, 96px); font-weight: 900; max-width: 13ch; margin-bottom: 26px;
  letter-spacing: -0.035em; line-height: 1.0;
  filter: drop-shadow(0 0 34px rgba(129,140,248,0.4)) drop-shadow(0 0 70px rgba(192,132,252,0.22));
}
.brand-text { filter: drop-shadow(0 0 26px rgba(192,132,252,0.35)); }
.hero h1 .line { display: block; }
.hero p.lede {
  font-size: clamp(17px, 2.3vw, 21px); color: var(--muted); max-width: 60ch; margin-bottom: 38px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero-stats {
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 64px;
}
.hero-stat {
  padding: 18px 26px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: rgba(255,255,255,0.025);
  min-width: 150px;
}
.hero-stat .n { font-family: var(--font-mono); font-size: 28px; font-weight: 600; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.hero-stat .l { font-size: 12.5px; color: var(--muted-2); margin-top: 9px; line-height: 1.3; text-transform: uppercase; letter-spacing: 0.08em; }

/* ---------- Marquee (tech ticker) ---------- */
.marquee { border-block: 1px solid var(--line); padding: 26px 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: scroll-x 26s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--font-display); font-weight: 600; font-size: 19px; color: var(--muted-2); white-space: nowrap; display: inline-flex; align-items: center; gap: 56px; }
.marquee-track span::after { content: "•"; color: var(--violet); }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ---------- Bento ---------- */
.bento {
  display: grid; gap: 18px;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(150px, auto);
}
.bento-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  border: 1px solid rgba(129,140,248,0.18); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  padding: 28px;
  transition: border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.bento-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  opacity: 0; transition: opacity .45s var(--ease);
  background: radial-gradient(460px 240px at 50% -10%, rgba(129,140,248,0.22), transparent 70%);
}
.bento-card:hover { border-color: rgba(129,140,248,0.5); transform: translateY(-4px); box-shadow: var(--glow); }
.bento-card:hover::before { opacity: 1; }
.bento-card h3 { font-size: 20px; margin-bottom: 8px; }
.bento-card p { color: var(--muted); font-size: 15px; }
.bento-card .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; background: rgba(129,140,248,0.12); color: var(--violet); border: 1px solid rgba(129,140,248,0.2); }
.bento-card .ico svg { width: 22px; height: 22px; }
.col-3 { grid-column: span 3; } .col-2 { grid-column: span 2; } .col-4 { grid-column: span 4; }
.row-2 { grid-row: span 2; }
.bento-glow { position: absolute; inset: 0; background: radial-gradient(400px 200px at var(--mx,50%) var(--my,0%), rgba(129,140,248,0.18), transparent 70%); opacity: 0; transition: opacity .4s var(--ease); pointer-events: none; }
.bento-card:hover .bento-glow { opacity: 1; }
.bento-big-num { font-family: var(--font-display); font-size: clamp(40px,6vw,68px); font-weight: 900; line-height: 1; }

/* ---------- Filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter {
  padding: 11px 18px; border-radius: 999px; font-size: 14px; font-weight: 500; cursor: pointer;
  border: 1px solid var(--line); background: rgba(255,255,255,0.02); color: var(--muted);
  transition: all .25s var(--ease);
}
.filter:hover { color: var(--text); border-color: var(--line-strong); }
.filter.active { color: #fff; background: var(--grad-btn); border-color: transparent; font-weight: 600; }

/* ---------- Project grid ---------- */
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.proj {
  position: relative; display: flex; flex-direction: column;
  border: 1px solid rgba(129,140,248,0.16); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  overflow: hidden; cursor: pointer;
  transition: border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.proj:hover { border-color: rgba(129,140,248,0.45); transform: translateY(-5px); box-shadow: var(--glow); }
.proj:focus-within { border-color: rgba(129,140,248,0.55); box-shadow: var(--glow); }
.proj-top { position: relative; height: 168px; overflow: hidden; display: grid; place-items: center; }

/* ---------- Cohesive project covers (category-tinted, all on-brand) ---------- */
.cat-saas    { --acc: 99,102,241;  --acc2: 129,140,248; }
.cat-ai      { --acc: 168,85,247;  --acc2: 192,132,252; }
.cat-quant   { --acc: 56,189,248;  --acc2: 96,165,250;  }
.cat-web     { --acc: 96,165,250;  --acc2: 129,140,248; }
.cat-content { --acc: 232,121,249; --acc2: 244,114,182; }
.cat-tool    { --acc: 129,140,248; --acc2: 148,163,184; }
.cover {
  background:
    radial-gradient(135% 120% at 22% -12%, rgba(var(--acc),0.36), transparent 58%),
    radial-gradient(120% 130% at 112% 118%, rgba(var(--acc2),0.24), transparent 60%),
    linear-gradient(180deg, #11111b, #0a0a11);
}
.cover::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1.4px);
  background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(120% 95% at 50% 0%, #000, transparent 78%);
          mask-image: radial-gradient(120% 95% at 50% 0%, #000, transparent 78%);
  opacity: 0.5;
}
.proj-emblem {
  position: relative; z-index: 2; display: grid; place-items: center;
  width: 74px; height: 74px; border-radius: 20px; color: #fff;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 14px 34px -14px rgba(0,0,0,0.75);
  backdrop-filter: blur(4px); transition: transform .3s var(--ease);
}
.proj-emblem svg { width: 34px; height: 34px; }
.proj:hover .proj-emblem { transform: translateY(-3px) scale(1.04); }
.proj-body { padding: 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.proj-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.proj-cat { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--violet); }
.proj h3 { font-size: 22px; }
/* the project name is a real button; stretch it over the whole card */
.proj-trigger {
  display: inline; background: none; border: 0; padding: 0; margin: 0;
  font: inherit; color: inherit; letter-spacing: inherit; text-align: left; cursor: pointer;
}
.proj-trigger::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.proj-trigger:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
/* clickable "Live" link on cards for deployed projects */
.proj-live-link { position: absolute; top: 12px; right: 12px; z-index: 4; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 600; color: var(--emerald); background: rgba(7,7,11,0.55); border: 1px solid rgba(52,211,153,0.4); backdrop-filter: blur(6px); transition: background .2s var(--ease), transform .2s var(--ease); }
.proj-live-link:hover { background: rgba(52,211,153,0.18); transform: translateY(-1px); }
.proj-live-link svg { width: 13px; height: 13px; }
.proj .tagline { color: var(--muted); font-size: 15px; }
.proj .desc { color: var(--muted-2); font-size: 14px; line-height: 1.6; }
.proj-result { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; line-height: 1.45; font-weight: 600; color: var(--emerald); margin-top: 2px; }
.proj-result svg { width: 15px; height: 15px; flex: none; margin-top: 2px; }
.proj-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; padding-top: 12px; }
.proj-tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: -0.01em; color: var(--muted); padding: 4px 10px; border-radius: 7px; border: 1px solid var(--line); background: rgba(255,255,255,0.02); }
.status {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600;
  padding: 4px 10px; border-radius: 999px;
}
.status .sd { width: 7px; height: 7px; border-radius: 50%; }
.status.live   { color: var(--emerald); background: rgba(52,211,153,0.10); border: 1px solid rgba(52,211,153,0.25); }
.status.live .sd   { background: var(--emerald); box-shadow: 0 0 0 3px rgba(52,211,153,0.2); }
.status.built  { color: var(--violet); background: rgba(129,140,248,0.10); border: 1px solid rgba(129,140,248,0.22); }
.status.built .sd  { background: var(--violet); }
.status.proto  { color: #FBBF24; background: rgba(251,191,36,0.10); border: 1px solid rgba(251,191,36,0.22); }
.status.proto .sd  { background: #FBBF24; }

/* ---------- Services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  background: rgba(255,255,255,0.018);
  transition: border-color .3s var(--ease), transform .3s var(--ease), background .3s var(--ease);
}
.svc:hover { border-color: var(--line-strong); transform: translateY(-3px); background: rgba(255,255,255,0.03); }
.svc .ico { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 20px; background: var(--grad-brand); color: #0a0a14; }
.svc .ico svg { width: 24px; height: 24px; }
.svc h3 { font-size: 21px; margin-bottom: 10px; }
.svc p { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.svc ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.svc li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.svc li svg { width: 16px; height: 16px; color: var(--emerald); flex: none; margin-top: 3px; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 28px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,0.018); }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-display); font-weight: 900; font-size: 40px; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: 0.85; }
.step h3 { font-size: 18px; margin: 10px 0 8px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.about-copy h2 { font-size: clamp(30px, 4.5vw, 46px); margin-bottom: 22px; }
.about-copy p { color: var(--muted); font-size: 17px; margin-bottom: 18px; }
.about-panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; background: linear-gradient(180deg, var(--panel), var(--bg-2)); }
.about-panel .row { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.about-panel .row:last-child { border-bottom: 0; }
.about-panel .k { color: var(--muted); font-size: 14.5px; }
.about-panel .v { font-family: var(--font-display); font-weight: 700; font-size: 16px; text-align: right; }

/* ---------- CTA / Contact ---------- */
.cta-band { text-align: center; }
.cta-card {
  position: relative; overflow: hidden;
  border: 1px solid rgba(99,102,241,0.16); border-radius: 24px;
  padding: clamp(44px, 8vw, 80px) clamp(24px, 5vw, 40px); text-align: center;
  background:
    radial-gradient(700px 220px at 50% 0%, rgba(99,102,241,0.14), transparent 70%),
    var(--panel);
}
.cta-card h2 { font-size: clamp(32px, 5.5vw, 56px); letter-spacing: -0.03em; line-height: 1.04; margin-bottom: 18px; }
.cta-card p { color: var(--muted); font-size: 19px; max-width: 52ch; margin: 0 auto 34px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-trust { margin-top: 20px; font-size: 14px; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }
.cta-trust .sd { width: 7px; height: 7px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 0 3px rgba(52,211,153,0.18); flex: none; }
.cta-trust a { color: var(--violet); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 56px 0 40px; }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 40px; }
.footer-brand { max-width: 320px; }
.footer-brand p { color: var(--muted); font-size: 14.5px; margin-top: 16px; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h3 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-2); margin-bottom: 16px; font-weight: 600; }
.footer-col a { display: block; color: var(--muted); font-size: 14.5px; padding: 5px 0; transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 13.5px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--muted); transition: all .25s var(--ease); }
.socials a:hover { color: var(--text); border-color: var(--violet); background: rgba(129,140,248,0.1); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }

/* ---------- Reveal animations (progressive enhancement) ---------- */
/* Hidden state only applies when JS is active, so content is never lost. */
.reveal { opacity: 1; transform: none; } /* no-JS fallback: always visible */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; } /* must out-specify html.js .reveal */
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }

/* ---------- Modal ---------- */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 100; display: none; place-items: center; padding: 24px;
  background: rgba(4,4,8,0.72); backdrop-filter: blur(10px);
}
.modal-backdrop.open { display: grid; }
.modal {
  width: 100%; max-width: 640px; max-height: 88vh; overflow-y: auto;
  overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line-strong); border-radius: 24px;
  background: linear-gradient(180deg, var(--panel-2), var(--bg-2));
  padding: 34px; position: relative;
  animation: modal-in .4s var(--ease);
}
@keyframes modal-in { from { opacity: 0; transform: translateY(20px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-close { position: absolute; top: 18px; right: 18px; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255,255,255,0.04); color: var(--muted); cursor: pointer; display: grid; place-items: center; transition: all .2s var(--ease); }
.modal-close:hover { color: #fff; border-color: var(--line-strong); }
.m-emblem { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; color: #fff; flex: none;
  background: linear-gradient(140deg, rgba(var(--acc,129,140,248),0.95), rgba(var(--acc2,99,102,241),0.7));
  border: 1px solid rgba(255,255,255,0.16); box-shadow: inset 0 1px 0 rgba(255,255,255,0.18); }
.m-emblem svg { width: 28px; height: 28px; }
.modal h3 { font-size: 28px; margin: 6px 0 6px; }
.modal .m-cat { color: var(--violet); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.modal .m-desc { color: var(--muted); margin: 16px 0 18px; font-size: 16px; }
.m-result { display: flex; gap: 11px; align-items: flex-start; margin: 0 0 4px; padding: 14px 16px; border-radius: 13px; background: rgba(52,211,153,0.09); border: 1px solid rgba(52,211,153,0.24); color: var(--emerald); font-weight: 600; font-size: 15px; line-height: 1.5; }
.m-result svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.modal h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-2); margin: 22px 0 12px; }
.modal .m-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.modal .m-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 15px; }
.modal .m-list li svg { width: 17px; height: 17px; color: var(--emerald); flex: none; margin-top: 3px; }

/* ---------- Full-screen 3D moment ---------- */
.moment { min-height: 100vh; display: grid; place-items: center; text-align: center; position: relative; padding: 80px 0; }
.moment::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(closest-side at 50% 50%, rgba(6,6,9,0.62), rgba(6,6,9,0.28) 45%, transparent 72%); }
.moment-inner { position: relative; z-index: 1; max-width: min(92vw, 1000px); margin: 0 auto; }
.moment-line { font-family: var(--font-display); font-weight: 900; font-size: clamp(38px, 8vw, 104px); line-height: 0.98; letter-spacing: -0.04em; margin: 18px 0 22px; filter: drop-shadow(0 0 42px rgba(129,140,248,0.5)) drop-shadow(0 0 90px rgba(192,132,252,0.3)); }
.moment-sub { color: var(--muted); font-size: clamp(16px, 2.2vw, 20px); max-width: 46ch; margin: 0 auto; }

/* ---------- Animated traveling gradient border (cards) ---------- */
@property --ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.proj::after, .bento-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; z-index: 2; pointer-events: none;
  background: conic-gradient(from var(--ang), transparent 0deg, var(--indigo) 55deg, var(--fuchsia) 120deg, var(--cyan) 180deg, transparent 240deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
  opacity: 0; transition: opacity .45s var(--ease);
}
.proj:hover::after, .bento-card:hover::after { opacity: 0.9; animation: ang-spin 3.6s linear infinite; }
@keyframes ang-spin { to { --ang: 360deg; } }

/* ---------- Writing / journal ---------- */
.post { max-width: 760px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.post:last-of-type { border-bottom: 0; }
.post-meta { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted-2); letter-spacing: 0.02em; margin-bottom: 12px; }
.post-cat { color: var(--violet); }
.post h2 { font-size: clamp(24px, 3.4vw, 34px); letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 16px; }
.post p { color: var(--muted); font-size: 17px; line-height: 1.75; margin-bottom: 16px; max-width: 68ch; }
.post p em { color: var(--text); font-style: italic; }
.post-note { color: var(--muted); font-size: 16px; margin-top: 34px; }
.post-note a { color: var(--violet); }

/* ---------- Testimonials ---------- */
.tcard { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: rgba(255,255,255,0.02); }
.tcard blockquote { font-size: 18px; line-height: 1.6; color: var(--text); margin: 0 0 18px; }
.tcard figcaption { display: flex; flex-direction: column; gap: 2px; }
.tcard .tname { font-family: var(--font-display); font-weight: 700; }
.tcard .ttitle { color: var(--muted); font-size: 14px; }
.tcard .tlink { color: var(--violet); font-size: 13px; margin-top: 4px; }

/* ---------- Case-study pages ---------- */
.case-back { display: flex; width: fit-content; align-items: center; gap: 7px; white-space: nowrap; color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.case-back svg { width: 16px; height: 16px; flex: none; }
.case-back:hover { color: var(--text); }
.case-meta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 24px; }
.case-wrap { max-width: 840px; }
.case-cover { height: 200px; border-radius: var(--radius); margin: 8px 0 4px; position: relative; overflow: hidden; display: grid; place-items: center; border: 1px solid rgba(255,255,255,0.1); }
.case-cover .proj-emblem { width: 90px; height: 90px; border-radius: 24px; }
.case-cover .proj-emblem svg { width: 42px; height: 42px; }
.case-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.case-nav a { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; transition: border-color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease); }
.case-nav a:hover { border-color: rgba(129,140,248,0.4); background: rgba(255,255,255,0.03); transform: translateY(-2px); }
.case-nav .dir { font-size: 12px; color: var(--muted-2); text-transform: uppercase; letter-spacing: .12em; }
.case-nav .nm { font-family: var(--font-display); font-weight: 700; font-size: 20px; margin-top: 6px; }
.case-nav .next { text-align: right; }
.case-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin: 4px 0; }
.case-list li { display: flex; gap: 11px; align-items: flex-start; color: var(--muted); font-size: 16px; line-height: 1.6; }
.case-list li svg { width: 18px; height: 18px; color: var(--violet); flex: none; margin-top: 4px; }
@media (max-width: 640px) { .case-nav { grid-template-columns: 1fr; } .case-nav .next { text-align: left; } }

/* ---------- Scroll progress + custom cursor ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 60;
  transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, #818CF8, #6366F1, #C084FC, #38BDF8);
  box-shadow: 0 0 14px rgba(129,140,248,0.7); pointer-events: none;
}
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 26px; height: 26px; border-radius: 50%;
  pointer-events: none; z-index: 70; mix-blend-mode: screen; will-change: transform;
  background: radial-gradient(circle, rgba(168,130,255,0.55), transparent 70%);
  transition: width .25s var(--ease), height .25s var(--ease), background .25s var(--ease);
}
.cursor-glow.big { width: 64px; height: 64px; background: radial-gradient(circle, rgba(129,140,248,0.45), transparent 70%); }
.cursor-glow.press { width: 20px; height: 20px; background: radial-gradient(circle, rgba(224,170,255,0.7), transparent 70%); }
@media (pointer: coarse) { .cursor-glow { display: none; } }

/* ---------- Studio Assistant ---------- */
.assistant-btn { position: fixed; bottom: 22px; right: 22px; z-index: 80; width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(129,140,248,0.4); background: var(--grad-btn); color: #fff; cursor: pointer; display: grid; place-items: center; box-shadow: 0 0 24px -4px rgba(129,140,248,0.6), 0 12px 30px -12px rgba(168,85,247,0.7); transition: transform .25s var(--ease); }
.assistant-btn svg { width: 24px; height: 24px; }
.assistant-btn:hover { transform: translateY(-2px) scale(1.04); }
.assistant-btn.open { transform: scale(0.92); }
.assistant-panel { position: fixed; bottom: 90px; right: 22px; z-index: 81; width: min(360px, calc(100vw - 36px)); max-height: min(560px, calc(100vh - 130px)); display: flex; flex-direction: column; border: 1px solid var(--line-strong); border-radius: 18px; background: linear-gradient(180deg, var(--panel-2), var(--bg-2)); box-shadow: 0 30px 80px -20px rgba(0,0,0,0.85); overflow: hidden; animation: ap-in .3s var(--ease); }
.assistant-panel[hidden] { display: none; }
@keyframes ap-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.ap-head { display: flex; align-items: center; gap: 9px; padding: 14px 16px; border-bottom: 1px solid var(--line); font-family: var(--font-display); }
.ap-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 0 3px rgba(52,211,153,0.2); }
.ap-close { margin-left: auto; background: none; border: 0; color: var(--muted); font-size: 24px; cursor: pointer; line-height: 1; }
.ap-close:hover { color: var(--text); }
.ap-log { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.amsg { font-size: 14.5px; line-height: 1.55; padding: 11px 14px; border-radius: 14px; max-width: 90%; }
.amsg.bot { background: rgba(255,255,255,0.05); border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 4px; color: var(--text); }
.amsg.user { background: var(--grad-btn); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.amsg a { color: var(--violet); }
.amsg.user a { color: #fff; text-decoration: underline; }
.ap-chips { display: flex; flex-wrap: wrap; gap: 7px; padding: 0 16px 12px; }
.ap-chip { font-size: 12.5px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(255,255,255,0.04); color: var(--muted); cursor: pointer; transition: color .2s var(--ease), border-color .2s var(--ease); }
.ap-chip:hover { color: var(--text); border-color: var(--violet); }
.ap-form { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--line); }
.ap-form input { flex: 1; padding: 11px 13px; border-radius: 11px; background: rgba(255,255,255,0.04); border: 1px solid var(--line-strong); color: var(--text); font: inherit; font-size: 16px; }
.ap-form input:focus { outline: none; border-color: var(--violet); }
.ap-form button { width: 42px; border-radius: 11px; border: 0; background: var(--grad-btn); color: #fff; cursor: pointer; display: grid; place-items: center; }
.ap-form button svg { width: 17px; height: 17px; }
@media (pointer: coarse) { .assistant-btn { bottom: 16px; right: 16px; } }

/* ---------- Focus ---------- */
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 6px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .proj-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .col-3 { grid-column: span 6; } .col-2 { grid-column: span 3; } .col-4 { grid-column: span 6; }
}
@media (max-width: 768px) {
  .hero { padding: 160px 0 80px; }
  .section-head p { font-size: 16px; }
}
@media (max-width: 720px) {
  section { padding: 80px 0; }
  .wrap { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-toggle {
    display: grid; place-items: center; width: 44px; height: 44px; border-radius: 11px;
    border: 1px solid var(--line-strong); background: rgba(255,255,255,0.04); color: var(--text); cursor: pointer;
  }
  .nav-cta .btn-ghost, .nav-cta .btn-primary { display: none; }
  .hero { padding: 150px 0 70px; }
  .proj-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .col-3, .col-2, .col-4 { grid-column: span 1; }
  .steps { grid-template-columns: 1fr; }
  .hero-stat { flex: 1; min-width: 130px; }
  .cta-card { padding: 50px 24px; }
}

/* ============================================================
   MULTI-PAGE ADDITIONS
   ============================================================ */

/* active nav link */
.nav-links a.active { color: var(--text); background: rgba(129,140,248,0.14); }

/* a11y utilities */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -120px; left: 16px; z-index: 300; padding: 12px 18px; border-radius: 10px; background: var(--grad-btn); color: #fff; font-weight: 600; transition: top .2s var(--ease); }
.skip-link:focus { top: 16px; }

/* case-study block in the project modal */
.m-case { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 6px 0 8px; }
.m-case > div { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: rgba(255,255,255,0.02); }
.m-case h5 { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 6px; font-weight: 600; }
.m-case p { color: var(--muted); font-size: 14px; line-height: 1.55; margin: 0; }
@media (max-width: 560px) { .m-case { grid-template-columns: 1fr; } }

/* ---------- Preloader / intro ---------- */
body.pre-lock { overflow: hidden; }
.preloader {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: radial-gradient(700px 400px at 50% 40%, rgba(99,102,241,0.18), transparent 60%), #07070B;
  transition: opacity .6s var(--ease), visibility .6s var(--ease);
}
.preloader.done { opacity: 0; visibility: hidden; }
.pre-inner { display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 24px; text-align: center; }
.pre-mark {
  width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 900; font-size: 36px; color: #0a0a14;
  background: var(--grad-brand); box-shadow: 0 18px 50px -12px rgba(129,140,248,0.8);
  animation: pre-pop .7s var(--ease) both;
}
.pre-greeting {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 4vw, 30px);
  letter-spacing: -0.02em; max-width: 18ch; color: var(--text);
  animation: pre-rise .7s var(--ease) .15s both;
}
.pre-bar { width: 200px; max-width: 60vw; height: 3px; border-radius: 3px; background: rgba(255,255,255,0.1); overflow: hidden; }
.pre-bar span { display: block; height: 100%; width: 0; background: var(--grad-brand); animation: pre-fill 2.3s var(--ease) .2s forwards; }
.pre-skip {
  position: absolute; bottom: 26px; right: 26px; padding: 9px 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line-strong); background: rgba(255,255,255,0.05); color: var(--muted); font: inherit; font-size: 13px;
  transition: color .2s, border-color .2s;
}
.pre-skip:hover { color: var(--text); border-color: var(--violet); }
@keyframes pre-pop { from { opacity: 0; transform: scale(.7) translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes pre-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pre-fill { to { width: 100%; } }

/* ---------- Page hero (subpage headers) ---------- */
.page-hero { padding: 170px 0 50px; }
.page-hero .wrap { max-width: 760px; }
.page-hero h1 { font-size: clamp(34px, 6vw, 64px); font-weight: 900; margin: 16px 0 18px; }
.page-hero .lede { font-size: clamp(17px, 2.2vw, 21px); color: var(--muted); }

/* ---------- Stat band ---------- */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-band .stat {
  padding: 26px 22px; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
}
.stat-band .n { font-family: var(--font-mono); font-weight: 600; font-size: clamp(28px, 3.6vw, 40px); color: var(--text); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.stat-band .l { color: var(--muted); font-size: 13px; margin-top: 10px; }

/* ---------- Prose / story ---------- */
.prose p { color: var(--muted); font-size: 17.5px; line-height: 1.75; margin-bottom: 20px; max-width: 68ch; }
.prose p:last-child { margin-bottom: 0; }
.prose mark { background: rgba(129,140,248,0.16); color: var(--text); padding: 1px 5px; border-radius: 5px; }

/* ---------- About layout ---------- */
.about-hero-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 48px; align-items: center; }
.portrait {
  position: relative; aspect-ratio: 4/5; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(120% 90% at 30% 10%, rgba(129,140,248,0.4), transparent 55%),
    radial-gradient(120% 90% at 80% 90%, rgba(192,132,252,0.35), transparent 55%),
    linear-gradient(180deg, var(--panel-2), var(--bg-2));
  display: grid; place-items: center;
}
.portrait .ph { text-align: center; color: var(--muted); font-size: 13.5px; padding: 20px; }
.portrait .ph .mono { font-family: var(--font-display); font-weight: 900; font-size: 52px; color: rgba(255,255,255,0.85); margin-bottom: 8px; }
.portrait { margin: 0; }
.portrait-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; opacity: 0; transition: opacity .5s ease; }
.portrait-mark { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.portrait-mark .pm-n {
  font-family: var(--font-display); font-weight: 900; line-height: 1; font-size: clamp(76px, 12vw, 132px);
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 10px 34px rgba(129,140,248,0.5));
}
.portrait-mark .pm-tag { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); }
.portrait-cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  display: flex; flex-direction: column; gap: 2px; padding: 16px 18px;
  background: linear-gradient(0deg, rgba(7,7,11,0.9), rgba(7,7,11,0.4) 58%, transparent);
}
.portrait-cap .pc-name { font-weight: 700; font-size: 15px; color: var(--text); }
.portrait-cap .pc-role { font-size: 12.5px; color: var(--muted); }

/* ---------- Metric strip (project modal + case pages) ---------- */
.metric-strip { display: flex; flex-wrap: wrap; gap: 10px; }
.metric-strip .metric { flex: 1 1 130px; min-width: 116px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 14px; background: rgba(255,255,255,0.03); }
.metric-strip .mv { display: block; font-family: var(--font-mono); font-weight: 600; font-size: clamp(20px, 2.3vw, 26px); color: var(--text); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.metric-strip .ml { display: block; color: var(--muted); font-size: 12px; margin-top: 4px; line-height: 1.35; }
.m-approach { margin-top: 6px; }

/* ---------- Proof band (home) ---------- */
.proof-band { padding: 4px 0 18px; }
.proof-band .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; justify-content: center; }
.hp-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.hp-chip { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text); border: 1px solid var(--line-strong); background: rgba(255,255,255,0.03); border-radius: 999px; padding: 7px 13px; transition: border-color .2s var(--ease), transform .2s var(--ease); }
a.hp-chip:hover { border-color: rgba(52,211,153,0.5); transform: translateY(-1px); }
.hp-chip .sd { width: 7px; height: 7px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 0 3px rgba(52,211,153,0.18); flex: none; }

/* ---------- Engagement price posture (services) ---------- */
.eng-price { display: inline-block; margin-top: 12px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.02em; color: var(--violet); border: 1px solid rgba(129,140,248,0.3); border-radius: 999px; padding: 4px 11px; }

/* ---------- Now page ---------- */
.now-list { display: flex; flex-direction: column; gap: 16px; max-width: 780px; }
.now-item { display: flex; gap: 18px; align-items: flex-start; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; background: linear-gradient(180deg, var(--panel), var(--bg-2)); }
.now-item h3 { font-size: 18px; margin-bottom: 6px; }
.now-item p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.now-item p a { color: var(--violet); }
.now-tag { flex: none; margin-top: 3px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted); white-space: nowrap; }
.now-tag.live { color: var(--emerald); border-color: rgba(52,211,153,0.4); }
.now-tag.open { color: var(--violet); border-color: rgba(129,140,248,0.45); }
@media (max-width: 560px) { .now-item { flex-direction: column; gap: 10px; } }

/* ---------- Uses page ---------- */
.uses-list { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.uses-list li { font-size: 13px; color: var(--text); background: rgba(255,255,255,0.04); border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px; }

/* ---------- Interactive: cursor spotlight on cards ---------- */
.io-glow {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 5;
  background: radial-gradient(280px 220px at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,0.18), transparent 55%);
  opacity: 0; transition: opacity .3s var(--ease); mix-blend-mode: soft-light;
}
.io-card:hover > .io-glow { opacity: 1; }

/* ---------- Command palette (⌘K / "/") ---------- */
.cmdk { position: fixed; inset: 0; z-index: 200; display: grid; place-items: start center; padding-top: 13vh; background: rgba(5,5,9,0.62); backdrop-filter: blur(6px); animation: cmdk-fade .2s var(--ease); }
.cmdk[hidden] { display: none; }
.cmdk-box { width: min(564px, calc(100vw - 32px)); background: linear-gradient(180deg, var(--panel-2), var(--bg-2)); border: 1px solid var(--line-strong); border-radius: 18px; box-shadow: 0 40px 100px -24px rgba(0,0,0,0.9); overflow: hidden; animation: cmdk-pop .25s var(--ease); }
.cmdk-input-wrap { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.cmdk-input-wrap > svg { width: 20px; height: 20px; color: var(--muted); flex: none; }
.cmdk-input-wrap input { flex: 1; background: transparent; border: none; outline: none; color: var(--text); font-size: 16px; font-family: inherit; }
.cmdk-esc { font-size: 11px; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 2px 7px; font-family: var(--font-mono); }
.cmdk-list { list-style: none; max-height: 52vh; overflow-y: auto; padding: 8px; margin: 0; }
.cmdk-opt { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; cursor: pointer; }
.cmdk-opt .ico { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: rgba(255,255,255,0.05); border: 1px solid var(--line); color: var(--violet); flex: none; }
.cmdk-opt .ico svg { width: 17px; height: 17px; }
.cmdk-opt .meta { display: flex; flex-direction: column; min-width: 0; }
.cmdk-opt .lbl { font-weight: 600; font-size: 14.5px; color: var(--text); }
.cmdk-opt .sb { font-size: 12.5px; color: var(--muted); }
.cmdk-opt[aria-selected="true"] { background: rgba(129,140,248,0.16); }
.cmdk-opt[aria-selected="true"] .ico { border-color: rgba(129,140,248,0.5); color: #fff; background: var(--grad-btn); }
.cmdk-empty { padding: 26px 16px; text-align: center; color: var(--muted); font-size: 14px; }
.cmdk-foot { display: flex; gap: 18px; padding: 10px 16px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--muted); }
.cmdk-foot kbd, .cmdk-hint kbd { font-family: var(--font-mono); font-size: 11px; background: rgba(255,255,255,0.06); border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px; }
.cmdk-hint { position: fixed; left: 18px; bottom: 18px; z-index: 70; display: inline-flex; align-items: center; gap: 9px; padding: 9px 13px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(7,7,11,0.62); color: var(--muted); font-size: 12.5px; cursor: pointer; backdrop-filter: blur(8px); transition: color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease); }
.cmdk-hint:hover { color: var(--text); border-color: rgba(129,140,248,0.5); transform: translateY(-1px); }
.cmdk-hint svg { width: 15px; height: 15px; }
@keyframes cmdk-fade { from { opacity: 0 } to { opacity: 1 } }
@keyframes cmdk-pop { from { opacity: 0; transform: translateY(-10px) scale(.985) } to { opacity: 1; transform: none } }
@media (max-width: 768px) { .cmdk-hint { left: 14px; bottom: 14px; padding: 8px 12px; } }
@media (prefers-reduced-motion: reduce) { .cmdk, .cmdk-box { animation: none; } }

/* ---------- Cover parallax shine (moving gloss on project covers) ---------- */
.cover-shine {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3;
  background: radial-gradient(150px 110px at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,0.28), transparent 60%);
  opacity: 0; transition: opacity .3s var(--ease); mix-blend-mode: screen;
}
.io-card:hover .cover-shine, .io-cover:hover .cover-shine { opacity: 0.7; }

/* ---------- Section indicator (right rail) ---------- */
.section-nav { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 70; display: flex; flex-direction: column; gap: 14px; align-items: flex-end; }
.sn-dot { position: relative; width: 13px; height: 13px; padding: 0; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(255,255,255,0.1); cursor: pointer; display: grid; place-items: center; transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); }
.sn-dot::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--muted); transition: background .25s var(--ease); }
.sn-dot:hover { border-color: rgba(129,140,248,0.6); }
.sn-dot.active { border-color: transparent; background: var(--grad-btn); transform: scale(1.18); }
.sn-dot.active::after { background: #fff; }
.sn-label { position: absolute; right: 24px; top: 50%; transform: translateY(-50%) translateX(6px); white-space: nowrap; font-size: 12px; color: var(--text); background: rgba(7,7,11,0.82); border: 1px solid var(--line); padding: 4px 10px; border-radius: 8px; opacity: 0; pointer-events: none; backdrop-filter: blur(6px); transition: opacity .2s var(--ease), transform .2s var(--ease); }
.sn-dot:hover .sn-label { opacity: 1; transform: translateY(-50%) translateX(0); }
@media (max-width: 1100px) { .section-nav { display: none; } }

/* ---------- Sound toggle ---------- */
.snd-toggle { position: fixed; left: 18px; bottom: 66px; z-index: 70; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); background: rgba(7,7,11,0.62); color: var(--muted); cursor: pointer; backdrop-filter: blur(8px); transition: color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease); }
.snd-toggle:hover { color: var(--text); border-color: rgba(129,140,248,0.5); transform: translateY(-1px); }
.snd-toggle.off { opacity: 0.75; }
.snd-toggle svg { width: 18px; height: 18px; }
@media (max-width: 768px) { .snd-toggle { left: 14px; bottom: 60px; } }

/* ---------- Drag-to-explore: hint + cursor ---------- */
.drag-hint { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 60; font-size: 12.5px; color: var(--muted); background: rgba(7,7,11,0.6); border: 1px solid var(--line); padding: 8px 14px; border-radius: 999px; backdrop-filter: blur(8px); pointer-events: none; opacity: 0; animation: hint-in .6s var(--ease) 1s forwards; transition: opacity .5s var(--ease); }
.drag-hint.gone { opacity: 0 !important; }
@keyframes hint-in { to { opacity: 1; } }
body.grabbing, body.grabbing * { cursor: grabbing !important; }
@media (max-width: 768px) { .drag-hint { display: none; } }
@media (prefers-reduced-motion: reduce) { .drag-hint { display: none; } }

/* ---------- Feature cards (values / engagement) ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  background: rgba(255,255,255,0.018); transition: border-color .3s var(--ease), transform .3s var(--ease), background .3s var(--ease);
}
.feature:hover { border-color: var(--line-strong); transform: translateY(-3px); background: rgba(255,255,255,0.03); }
.feature .fnum { font-family: var(--font-display); font-weight: 900; font-size: 18px; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.feature h3 { font-size: 20px; margin: 12px 0 10px; }
.feature p { color: var(--muted); font-size: 15px; line-height: 1.6; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; max-width: 820px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(255,255,255,0.02); overflow: hidden; }
.faq-item summary { cursor: pointer; list-style: none; padding: 20px 24px; font-family: var(--font-display); font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 24px; color: var(--violet); transition: transform .3s var(--ease); flex: none; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--muted); font-size: 15.5px; line-height: 1.7; padding: 0 24px 22px; margin: 0; max-width: 70ch; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
.form { display: flex; flex-direction: column; gap: 18px; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; background: linear-gradient(180deg, var(--panel), var(--bg-2)); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 15px; border-radius: 12px; font: inherit; font-size: 16px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--line-strong); color: var(--text);
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--violet); background: rgba(255,255,255,0.05); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--violet); outline-offset: 1px; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #f87171; }
.field-error { font-size: 12.5px; color: #f87171; min-height: 1em; }
.field select option { background: #14141f; color: var(--text); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 14px; color: var(--emerald); opacity: 0; transition: opacity .3s; }
.form-note.show { opacity: 1; }
.expect { display: flex; flex-direction: column; gap: 18px; }
.expect .feature { padding: 22px; }
.contact-direct { margin-top: 22px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(255,255,255,0.02); color: var(--muted); font-size: 14.5px; }
.contact-direct a { color: var(--violet); }

/* ---------- responsive for new pieces ---------- */
@media (max-width: 980px) {
  .about-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .feature-grid { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .page-hero { padding: 140px 0 40px; }
  .field-row { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: repeat(2, 1fr); }
}

/* mobile menu panel */
.mobile-menu {
  position: fixed; inset: 64px 16px auto 16px; z-index: 49;
  border: 1px solid var(--line-strong); border-radius: 20px;
  background: rgba(10,10,16,0.96); backdrop-filter: blur(20px);
  padding: 16px; display: none; flex-direction: column; gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 13px 16px; border-radius: 12px; color: var(--muted); font-weight: 500; }
.mobile-menu a:hover { background: rgba(255,255,255,0.06); color: var(--text); }
