@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:300 700;font-display:swap;src:url(../fonts/spacegrotesk-300-700-normal-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:300 700;font-display:swap;src:url(../fonts/spacegrotesk-300-700-normal-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Inter';font-style:italic;font-weight:300 800;font-display:swap;src:url(../fonts/inter-300-800-italic-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Inter';font-style:italic;font-weight:300 800;font-display:swap;src:url(../fonts/inter-300-800-italic-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Inter';font-style:normal;font-weight:300 800;font-display:swap;src:url(../fonts/inter-300-800-normal-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Inter';font-style:normal;font-weight:300 800;font-display:swap;src:url(../fonts/inter-300-800-normal-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}

/* ==========================================================================
   bio.zooshan.com — "Midnight glass", second pass
   Near-black ground with drifting aurora and a fading dot grid, frosted-glass
   surfaces with hairline borders, one violet→blue→cyan gradient, pointer
   spotlight on cards, outlined watermark numerals, a floating hero cluster.
   Space Grotesk for display, Inter for text. All fonts self-hosted.
   ========================================================================== */

:root {
  --bg: #07080d;
  --bg-2: #0b0d15;
  --bg-3: #12141f;
  --glass: rgba(255, 255, 255, .045);
  --glass-2: rgba(255, 255, 255, .08);
  --stroke: rgba(255, 255, 255, .10);
  --stroke-2: rgba(255, 255, 255, .2);
  --text: #f3f4f8;
  --text-2: #b6bac9;
  --text-3: #7d8297;
  --violet: #a78bfa;
  --blue: #60a5fa;
  --cyan: #22d3ee;
  --grad: linear-gradient(135deg, #a78bfa 0%, #60a5fa 45%, #22d3ee 100%);
  --glow: 0 24px 70px -24px rgba(139, 92, 246, .55);
  --glow-cyan: 0 24px 70px -24px rgba(34, 211, 238, .45);
  --radius: 22px;
  --radius-sm: 14px;
  --display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --sans: 'Inter', system-ui, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --container: min(1180px, calc(100% - 48px));
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; color-scheme: dark; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden; font-variant-numeric: tabular-nums;
}
img, svg { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; letter-spacing: -.025em; margin: 0; line-height: 1.08; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding-inline-start: 1.2em; }
strong { font-weight: 600; color: var(--text); }
.container { width: var(--container); margin-inline: auto; position: relative; }
.skip-link { position: absolute; top: -60px; left: 16px; z-index: 300; padding: 10px 14px; background: var(--violet); color: #0b0d15; font-weight: 600; text-decoration: none; border-radius: 10px; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
::selection { background: rgba(167, 139, 250, .45); color: #fff; }

/* ---------- background layers ---------- */
.aurora { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; background: radial-gradient(60% 40% at 50% -10%, rgba(96, 165, 250, .14), transparent 70%), var(--bg); }
.aurora span { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; will-change: transform; }
.aurora .a1 { width: 60vw; height: 60vw; left: -18vw; top: -22vw; background: radial-gradient(circle, rgba(139, 92, 246, .55), rgba(139, 92, 246, 0) 65%); animation: drift1 38s ease-in-out infinite alternate; }
.aurora .a2 { width: 55vw; height: 55vw; right: -20vw; top: 6vw; background: radial-gradient(circle, rgba(34, 211, 238, .38), rgba(34, 211, 238, 0) 65%); animation: drift2 46s ease-in-out infinite alternate; }
.aurora .a3 { width: 44vw; height: 44vw; left: 30vw; top: 60vh; background: radial-gradient(circle, rgba(244, 114, 182, .22), rgba(244, 114, 182, 0) 65%); animation: drift3 52s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(14vw, 10vw) scale(1.12); } }
@keyframes drift2 { to { transform: translate(-12vw, 16vw) scale(.92); } }
@keyframes drift3 { to { transform: translate(-16vw, -10vw) scale(1.1); } }
.dots { position: fixed; inset: 0; z-index: -1; pointer-events: none; background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1.2px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 10%, transparent 100%); mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 10%, transparent 100%); }
.cursor-glow { position: fixed; left: 0; top: 0; width: 520px; height: 520px; border-radius: 50%; pointer-events: none; z-index: 0; opacity: 0; transition: opacity .6s; background: radial-gradient(circle, rgba(96, 165, 250, .13), rgba(167, 139, 250, .06) 40%, transparent 65%); mix-blend-mode: screen; will-change: transform; }
.cursor-glow.is-on { opacity: 1; }
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 120; background: var(--grad); box-shadow: 0 0 12px rgba(96, 165, 250, .8); }
main { position: relative; z-index: 1; }

/* ---------- helpers ---------- */
.label { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px; font: 600 .72rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); }
.label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 14px rgba(96, 165, 250, .8); }
.label b { font-weight: 600; color: var(--text-2); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: 1.12rem; line-height: 1.65; color: var(--text-2); }
.small { font-size: .88rem; color: var(--text-3); }
.prose p { color: var(--text-2); line-height: 1.7; }
.spot { position: relative; }
.spot::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(167, 139, 250, .16), rgba(34, 211, 238, .06) 45%, transparent 65%); opacity: 0; transition: opacity .35s; pointer-events: none; z-index: 0; }
.spot:hover::before { opacity: 1; }
.spot > * { position: relative; z-index: 1; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 22px; border-radius: 999px;
  border: 1px solid transparent; background: linear-gradient(var(--bg-3), var(--bg-3)) padding-box, var(--grad) border-box;
  color: var(--text); text-decoration: none; cursor: pointer; font: 600 .9rem/1 var(--sans);
  box-shadow: 0 10px 30px -14px rgba(139, 92, 246, .8); transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -16px rgba(96, 165, 250, .9); }
.btn-primary { background: var(--grad); color: #07080d; border-color: transparent; }
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost { background: var(--glass); border-color: var(--stroke-2); box-shadow: none; }
.btn-ghost:hover { background: var(--glass-2); box-shadow: none; }
.btn-sm { padding: 10px 16px; font-size: .82rem; }
.btn svg { width: 16px; height: 16px; }
.link { display: inline-flex; align-items: center; gap: 8px; font: 600 .82rem/1 var(--sans); color: var(--text); text-decoration: none; }
.link::after { content: "\2192"; color: var(--cyan); transition: transform .2s; }
.link:hover::after { transform: translateX(4px); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 80; background: rgba(7, 8, 13, .4); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid transparent; transition: background .3s, border-color .3s; }
.site-header.is-scrolled { background: rgba(7, 8, 13, .72); border-bottom-color: var(--stroke); }
.nav-shell { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand-mark { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); color: #07080d; font: 700 .95rem/1 var(--display); letter-spacing: -.04em; box-shadow: 0 8px 24px -8px rgba(96, 165, 250, .8); }
.brand strong { display: block; font: 600 1rem/1 var(--display); letter-spacing: -.01em; }
.brand small { display: block; margin-top: 4px; font: 500 .7rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav > a { padding: 10px 14px; border-radius: 999px; font: 500 .9rem/1 var(--sans); color: var(--text-2); text-decoration: none; white-space: nowrap; transition: color .2s, background .2s; }
.main-nav > a:hover, .main-nav > a[aria-current="page"] { color: var(--text); background: var(--glass-2); }
.main-nav .btn { margin-left: 10px; }
.main-nav > a.btn { color: var(--text); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--stroke-2); border-radius: 12px; background: var(--glass); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.menu-toggle span { width: 18px; height: 2px; background: var(--text); display: block; border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { padding: 110px 0 72px; position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(400px, .9fr); gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.8rem); line-height: 1.02; letter-spacing: -.035em; margin: 0 0 26px; max-width: 20ch; }
.hero .lede { max-width: 580px; margin-bottom: 34px; font-size: 1.18rem; }
.hero-tags { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-tags li { padding: 8px 12px; border-radius: 999px; border: 1px solid var(--stroke); background: var(--glass); font: 500 .78rem/1 var(--sans); color: var(--text-2); }
.status { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 8px 14px 8px 10px; border-radius: 999px; border: 1px solid var(--stroke); background: var(--glass); font: 500 .78rem/1 var(--sans); color: var(--text-2); }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(34, 211, 238, .6); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34, 211, 238, .55); } 70% { box-shadow: 0 0 0 8px rgba(34, 211, 238, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); } }

/* floating cluster */
.cluster { position: relative; height: 530px; }
.cluster .ring { position: absolute; left: 50%; top: 50%; width: 420px; height: 420px; margin: -210px 0 0 -210px; border-radius: 50%; background: conic-gradient(from 0deg, rgba(167, 139, 250, .0), rgba(167, 139, 250, .7), rgba(96, 165, 250, .0) 40%, rgba(34, 211, 238, .7) 70%, rgba(167, 139, 250, .0)); -webkit-mask: radial-gradient(circle, transparent 66%, #000 67%, #000 68.5%, transparent 69.5%); mask: radial-gradient(circle, transparent 66%, #000 67%, #000 68.5%, transparent 69.5%); animation: spin 22s linear infinite; opacity: .9; }
.cluster .ring::after { content: ""; position: absolute; inset: 12%; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .08); }
@keyframes spin { to { transform: rotate(360deg); } }
.cluster .core { position: absolute; left: 50%; top: 50%; width: 160px; height: 160px; margin: -80px 0 0 -80px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(167, 139, 250, .5), rgba(34, 211, 238, .2) 45%, transparent 70%); filter: blur(12px); }
.chip-card { position: absolute; width: 300px; padding: 18px 20px; border-radius: 18px; text-decoration: none; color: var(--text); background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .035)); border: 1px solid var(--stroke-2); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9), var(--glow); transition: transform .5s var(--ease), box-shadow .3s; }
.chip-card:hover { box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9), var(--glow-cyan); z-index: 3; }
.chip-card .k { display: flex; justify-content: space-between; align-items: center; font: 600 .66rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); margin-bottom: 10px; }
.chip-card .k span { color: var(--text-3); letter-spacing: .04em; text-transform: none; font-weight: 500; }
.chip-card b { display: block; font: 700 1.1rem/1.2 var(--display); margin-bottom: 6px; }
.chip-card small { display: block; font: 400 .82rem/1.45 var(--sans); color: var(--text-2); }
.chip-card .bar { height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .08); margin-top: 14px; overflow: hidden; }
.chip-card .bar i { display: block; height: 100%; border-radius: 3px; background: var(--grad); width: var(--w, 60%); }
.chip-card.c1 { left: 0; top: 0; --rot: -3; transform: rotate(-3deg); }
.chip-card.c2 { right: 0; top: 196px; --rot: 2; transform: rotate(2deg); z-index: 2; }
.chip-card.c3 { left: 36px; bottom: 0; --rot: -1; transform: rotate(-1deg); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 72px; }
.stats div { padding: 22px 24px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--stroke); }
.stats strong { display: block; font: 700 2.3rem/1 var(--display); letter-spacing: -.03em; }
.stats strong b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 700; }
.stats div > span { display: block; margin-top: 8px; font: 500 .76rem/1.4 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.stats strong span { display: inline; margin: 0; font: inherit; letter-spacing: inherit; text-transform: none; color: inherit; }

/* ---------- stack marquee ---------- */
.stack { border-top: 1px solid var(--stroke); border-bottom: 1px solid var(--stroke); background: rgba(255, 255, 255, .02); overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee ul { list-style: none; margin: 0; padding: 16px 0; display: flex; gap: 40px; padding-right: 40px; font: 500 .8rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); white-space: nowrap; }
.marquee li::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--grad); margin-right: 12px; vertical-align: middle; }
@keyframes marquee { to { transform: translateX(-50%); } }
.stack:hover .marquee { animation-play-state: paused; }

/* ---------- sections ---------- */
.section { padding: 110px 0; position: relative; }
.section.tight { padding: 64px 0; }
.section-head { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 20px 60px; align-items: end; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
.section-head .lede { margin: 0; }
.wm { position: absolute; right: -8px; top: -70px; font: 700 clamp(6rem, 14vw, 11rem)/1 var(--display); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .09); pointer-events: none; user-select: none; z-index: 0; }
.section-head > :not(.wm) { position: relative; z-index: 1; }

/* ---------- flagship (bento) ---------- */
.flagship { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.flag { display: grid; grid-template-rows: auto 1fr; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--stroke); text-decoration: none; color: var(--text); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.flag:hover { transform: translateY(-6px); border-color: var(--stroke-2); box-shadow: var(--glow-cyan); }
.flag.large { grid-column: span 2; }
.flag .media { position: relative; margin: 14px 14px 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--stroke); aspect-ratio: 16 / 8; background: var(--bg-3); }
.flag .media.has-tile { aspect-ratio: auto; min-height: 240px; display: grid; }
.flag .media img { width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: .92; }
.flag .media .tile { position: relative; display: grid; place-items: center; padding: 56px 24px 30px; text-align: center; background: radial-gradient(80% 80% at 30% 20%, rgba(139, 92, 246, .35), transparent 60%), radial-gradient(70% 70% at 80% 90%, rgba(34, 211, 238, .25), transparent 60%), var(--bg-3); }
.flag .media .tile b { font: 700 clamp(1.5rem, 2.6vw, 2.1rem)/1.05 var(--display); letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.flag .media .tile small { display: block; margin-top: 12px; font: 500 .78rem/1.4 var(--sans); color: var(--text-3); }
.flag .media .tile .metric { display: block; margin-top: 22px; font: 700 2.6rem/1 var(--display); letter-spacing: -.03em; color: var(--text); }
.flag .media .tile .metric small { margin-top: 6px; }
.flag .badge { position: absolute; top: 12px; left: 12px; padding: 6px 11px; border-radius: 999px; background: rgba(7, 8, 13, .7); border: 1px solid var(--stroke-2); backdrop-filter: blur(8px); color: var(--text); font: 600 .66rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.flag .body { padding: 22px 24px 24px; }
.flag .num { font: 600 .7rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
.flag h3 { font-size: 1.4rem; margin: 10px 0 10px; }
.flag p { color: var(--text-2); margin: 0 0 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { padding: 6px 10px; border-radius: 999px; border: 1px solid var(--stroke); background: rgba(255, 255, 255, .03); font: 500 .72rem/1 var(--sans); color: var(--text-2); }

/* ---------- index (all projects) ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--stroke); background: var(--glass); cursor: pointer; font: 500 .8rem/1 var(--sans); color: var(--text-2); transition: background .2s, color .2s, border-color .2s; }
.chip:hover { color: var(--text); border-color: var(--stroke-2); }
.chip[aria-pressed="true"] { background: var(--grad); color: #07080d; border-color: transparent; }
.chip small { opacity: .7; margin-left: 6px; font-weight: 600; }
.index-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; }
.index { list-style: none; margin: 0; padding: 0; }
.index li { border-top: 1px solid var(--stroke); }
.index li:last-child { border-bottom: 1px solid var(--stroke); }
.index li.more { display: none; }
.index.is-expanded li.more { display: block; }
.index li.is-hidden { display: none !important; }
.show-all { margin: 22px 0 0; }
.show-all.is-hidden { display: none; }
.index a { display: grid; grid-template-columns: 48px minmax(0, 1fr) 190px 32px; gap: 18px; align-items: center; padding: 18px 14px; margin: 0 -14px; border-radius: 14px; text-decoration: none; color: var(--text); transition: background .2s; }
.index a:hover, .index a:focus-visible { background: var(--glass); }
.index .num { font: 600 .78rem/1 var(--sans); color: var(--cyan); }
.index h3 { font-size: 1.05rem; font-weight: 600; letter-spacing: -.01em; }
.index .sub { display: block; margin-top: 4px; font-size: .86rem; color: var(--text-3); }
.index .meta { font: 500 .72rem/1.5 var(--sans); color: var(--text-3); }
.index .meta b { display: block; color: var(--text-2); font-weight: 500; }
.index .arrow { font: 400 1.2rem/1 var(--sans); color: var(--text-3); text-align: right; transition: transform .2s, color .2s; }
.index a:hover .arrow { color: var(--cyan); transform: translateX(3px); }
.preview { position: sticky; top: 100px; }
.preview .card { border-radius: var(--radius); background: var(--glass); border: 1px solid var(--stroke-2); box-shadow: var(--glow); overflow: hidden; }
.preview .frame { aspect-ratio: 16 / 10; display: grid; place-items: center; text-align: center; padding: 24px; position: relative; background: radial-gradient(80% 80% at 30% 20%, rgba(139, 92, 246, .35), transparent 60%), radial-gradient(70% 70% at 80% 90%, rgba(34, 211, 238, .25), transparent 60%), var(--bg-3); }
.preview .frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.preview .frame b { font: 700 1.5rem/1.1 var(--display); letter-spacing: -.03em; position: relative; }
.preview .frame small { position: relative; display: block; margin-top: 10px; font: 500 .76rem/1.4 var(--sans); color: var(--text-3); }
.preview.is-live .frame img + b, .preview.is-live .frame img + b + small { text-shadow: 0 2px 12px rgba(0, 0, 0, .8); }
.preview .cap { padding: 14px 16px; font: 500 .76rem/1.5 var(--sans); color: var(--text-3); border-top: 1px solid var(--stroke); }
.preview .cap b { color: var(--text); font-weight: 600; display: block; }

/* ---------- capabilities ---------- */
.caps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cap { padding: 26px 26px 24px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--stroke); transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.cap:hover { transform: translateY(-4px); border-color: var(--stroke-2); box-shadow: var(--glow); }
.cap .n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--grad); color: #07080d; font: 700 .8rem/1 var(--display); margin-bottom: 18px; }
.cap h3 { font-size: 1.15rem; margin-bottom: 8px; }
.cap p { color: var(--text-2); margin: 0 0 16px; font-size: .95rem; }

/* ---------- journey ---------- */
.journey-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 60px; align-items: start; }
.journey-grid .aside { position: sticky; top: 100px; }
.journey { list-style: none; margin: 0; padding: 0; position: relative; }
.journey::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--violet), var(--blue), var(--cyan)); opacity: .6; border-radius: 2px; }
.journey li { position: relative; padding: 0 0 36px 40px; }
.journey li:last-child { padding-bottom: 0; }
.journey li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 2px solid var(--blue); box-shadow: 0 0 0 4px rgba(96, 165, 250, .15); }
.journey li:last-child::before { background: var(--grad); border-color: transparent; }
.journey .when { font: 600 .74rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
.journey h3 { font-size: 1.3rem; margin: 10px 0 8px; }
.journey p { color: var(--text-2); max-width: 720px; margin: 0; }
.callout { position: relative; padding: 28px; border-radius: var(--radius); background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03)); border: 1px solid var(--stroke-2); box-shadow: var(--glow); overflow: hidden; }
.callout::after { content: ""; position: absolute; width: 260px; height: 260px; right: -100px; top: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(34, 211, 238, .35), transparent 65%); filter: blur(10px); }
.callout h3 { font-size: 1.4rem; margin-bottom: 12px; position: relative; }
.callout p { color: var(--text-2); margin: 0; position: relative; }
.callout .btn { margin-top: 20px; position: relative; }

/* ---------- live products (recent builds) ---------- */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product { display: flex; flex-direction: column; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--stroke); text-decoration: none; color: var(--text); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.product:hover { transform: translateY(-6px); border-color: var(--stroke-2); box-shadow: var(--glow); }
.browser { margin: 14px 14px 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--stroke); background: var(--bg-3); box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .9); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-bottom: 1px solid var(--stroke); background: rgba(255, 255, 255, .03); font: 500 .68rem/1 var(--sans); color: var(--text-3); }
.browser-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.browser-bar span { margin-left: 8px; padding: 4px 10px; border-radius: 6px; background: rgba(255, 255, 255, .05); flex: 1; max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform .8s var(--ease); }
.product:hover .browser img { transform: scale(1.03); }
.product .body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product .num { font: 600 .7rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
.product h3 { font-size: 1.22rem; line-height: 1.2; }
.product p { color: var(--text-2); font-size: .95rem; line-height: 1.55; margin: 0; }
.product .foot { margin-top: auto; padding-top: 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; font: 500 .74rem/1 var(--sans); letter-spacing: .04em; color: var(--text-3); }
.product .foot em { font-style: normal; color: var(--text); }
.product .foot em::after { content: " \2197"; color: var(--cyan); }

/* ---------- live sites (additions) ---------- */
.addition-group { margin-top: 34px; }
.addition-group:first-of-type { margin-top: 0; }
.addition-head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.addition-head h3 { font-size: 1.15rem; }
.addition-head p { margin: 0; color: var(--text-3); font-size: .9rem; }
.additions { list-style: none; margin: 0; padding: 0; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--stroke); overflow: hidden; }
.addition { display: grid; grid-template-columns: 48px minmax(0, 1fr) 220px; gap: 18px; align-items: start; padding: 20px 22px; border-top: 1px solid var(--stroke); }
.addition:first-child { border-top: 0; }
.addition .num { font: 600 .78rem/1.6 var(--sans); color: var(--cyan); }
.addition h3 { font-size: 1.05rem; font-weight: 600; letter-spacing: -.01em; margin-bottom: 6px; }
.addition h3 a { text-decoration: none; color: var(--text); }
.addition h3 a:hover { color: var(--cyan); }
.addition p { color: var(--text-2); font-size: .93rem; margin: 0 0 10px; }
.addition-side { text-align: right; font: 500 .78rem/1.6 var(--sans); color: var(--text-3); }
.addition-side .ext { display: inline-block; font-weight: 600; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--stroke-2); }
.addition-side .ext:hover { color: var(--cyan); border-color: var(--cyan); }
.addition-side .ext.muted { color: var(--text-3); border: 0; font-weight: 500; }
.addition-side small { display: block; margin-top: 6px; }

/* ---------- documents ---------- */
.docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.doc { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 20px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--stroke); text-decoration: none; color: var(--text); transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.doc:hover { transform: translateY(-4px); border-color: var(--stroke-2); box-shadow: var(--glow-cyan); }
.doc .ico { width: 44px; height: 54px; border-radius: 10px; background: var(--grad); color: #07080d; display: grid; place-items: center; font: 700 .66rem/1 var(--sans); letter-spacing: .06em; }
.doc h3 { font-size: 1.02rem; line-height: 1.25; margin-bottom: 6px; }
.doc p { font-size: .9rem; color: var(--text-2); margin: 0 0 10px; }
.doc .link { font-size: .78rem; }

/* ---------- contact ---------- */
.contact { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 48px; align-items: end; padding: 56px; border-radius: 28px; background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .025)); border: 1px solid var(--stroke-2); overflow: hidden; }
.contact::before { content: ""; position: absolute; width: 520px; height: 520px; left: -160px; bottom: -300px; border-radius: 50%; background: radial-gradient(circle, rgba(139, 92, 246, .35), transparent 65%); filter: blur(20px); pointer-events: none; }
.contact::after { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -240px; border-radius: 50%; background: radial-gradient(circle, rgba(34, 211, 238, .28), transparent 65%); filter: blur(20px); pointer-events: none; }
.contact > * { position: relative; }
.contact h2 { font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: -.035em; line-height: 1.02; }
.contact .email { display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; padding: 12px 12px 12px 20px; border-radius: 999px; border: 1px solid var(--stroke-2); background: var(--glass); font: 500 1rem/1 var(--sans); color: var(--text); text-decoration: none; }
.contact .email:hover { border-color: var(--cyan); }
.copy-btn { padding: 9px 14px; border-radius: 999px; border: 0; background: var(--grad); color: #07080d; cursor: pointer; font: 600 .7rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.copy-btn.is-done { background: var(--cyan); }
.contact-side dl { margin: 0; display: grid; gap: 14px; }
.contact-side dt { font: 600 .68rem/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.contact-side dd { margin: 2px 0 0; color: var(--text-2); }
.contact-side dd a { text-decoration: none; color: var(--text); border-bottom: 1px solid var(--stroke-2); }
.contact-side dd a:hover { color: var(--cyan); border-color: var(--cyan); }

/* ---------- footer ---------- */
.site-footer { position: relative; padding: 40px 0 44px; border-top: 1px solid var(--stroke); color: var(--text-3); font: 400 .84rem/1.6 var(--sans); overflow: hidden; }
.footer-grid { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; position: relative; }
.site-footer a { color: var(--text-2); text-decoration: none; }
.site-footer a:hover { color: var(--text); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer p { margin: 0; }
.site-footer .wm { top: auto; bottom: -60px; right: 0; opacity: .8; }

/* ---------- project detail page ---------- */
.detail-hero { padding: 88px 0 48px; }
.crumbs { font: 500 .78rem/1 var(--sans); color: var(--text-3); margin: 0 0 26px; }
.crumbs a { color: var(--text-3); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.crumbs span { margin: 0 8px; color: var(--stroke-2); }
.detail-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.8rem); max-width: 20ch; margin: 0 0 22px; }
.detail-hero .lede { max-width: 760px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; padding: 0; }
.facts span { padding: 8px 12px; border-radius: 999px; border: 1px solid var(--stroke); background: var(--glass); font: 500 .76rem/1.4 var(--sans); color: var(--text-3); }
.facts b { color: var(--text); font-weight: 600; margin-left: 6px; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr); gap: 56px; align-items: start; }
.detail-media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--stroke-2); background: var(--bg-3); box-shadow: var(--glow); margin-bottom: 40px; }
.detail-media img { width: 100%; }
.points { list-style: none; margin: 0; padding: 0; counter-reset: pt; display: grid; gap: 12px; }
.points li { position: relative; padding: 18px 20px 18px 62px; border-radius: 16px; background: var(--glass); border: 1px solid var(--stroke); color: var(--text-2); line-height: 1.6; counter-increment: pt; }
.points li::before { content: counter(pt, decimal-leading-zero); position: absolute; left: 18px; top: 18px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: var(--grad); color: #07080d; font: 700 .72rem/1 var(--display); }
.side-card { padding: 24px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--stroke-2); position: sticky; top: 100px; }
.side-card h3 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; }
.side-card .tags { margin-bottom: 22px; }
.side-card .actions { flex-direction: column; align-items: stretch; }
.side-card .btn { width: 100%; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; }
.pager a { display: block; padding: 20px; border-radius: 16px; background: var(--glass); border: 1px solid var(--stroke); text-decoration: none; color: var(--text); transition: border-color .2s, transform .3s var(--ease); }
.pager a:hover { border-color: var(--stroke-2); transform: translateY(-3px); }
.pager small { display: block; font: 600 .68rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 8px; }
.pager b { font: 600 1rem/1.3 var(--display); }
.pager a.next { text-align: right; }

/* ---------- reveal ---------- */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
html.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .products, .caps { grid-template-columns: repeat(2, 1fr); }
  .flagship { grid-template-columns: repeat(2, 1fr); }
  .flag.large { grid-column: span 2; }
  .index-wrap { grid-template-columns: 1fr; }
  .preview { display: none; }
  .wm { font-size: 7rem; top: -50px; }
}
@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 4px; padding: 12px 24px 20px; background: rgba(7, 8, 13, .96); border-bottom: 1px solid var(--stroke); backdrop-filter: blur(16px); }
  .nav-open .main-nav { display: flex; }
  .main-nav > a { padding: 14px 12px; font-size: 1rem; }
  .main-nav .btn { margin: 12px 0 0; }
  .hero { padding: 64px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .cluster { height: auto; display: grid; gap: 14px; }
  .cluster .ring, .cluster .core { display: none; }
  .chip-card, .chip-card.c1, .chip-card.c2, .chip-card.c3 { position: static; width: auto; transform: none !important; }
  .stats { grid-template-columns: 1fr 1fr; margin-top: 44px; }
  .section { padding: 72px 0; }
  .section-head { grid-template-columns: 1fr; margin-bottom: 32px; }
  .flagship { grid-template-columns: 1fr; }
  .flag.large { grid-column: auto; }
  .index a { grid-template-columns: 36px 1fr 28px; }
  .addition { grid-template-columns: 36px 1fr; }
  .addition-side { grid-column: 2; text-align: left; }
  .index .meta { display: none; }
  .journey-grid { grid-template-columns: 1fr; gap: 36px; }
  .journey-grid .aside { position: static; }
  .contact { grid-template-columns: 1fr; padding: 36px 28px; }
  .detail-grid { grid-template-columns: 1fr; }
  .side-card { position: static; }
  .cursor-glow { display: none; }
}
@media (max-width: 640px) {
  :root { --container: min(1180px, calc(100% - 32px)); }
  .products, .caps { grid-template-columns: 1fr; }
  .brand small { display: none; }
  .stats strong { font-size: 1.7rem; }
  .hero h1 { font-size: clamp(2.1rem, 9vw, 2.6rem); }
  .contact .email { width: 100%; justify-content: space-between; font-size: .88rem; }
  .pager { grid-template-columns: 1fr; }
  .pager a.next { text-align: left; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
  .aurora span { filter: blur(60px); }
  .wm { display: none; }
}
@media (hover: none) { .cursor-glow, .spot::before { display: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  html.js .reveal { opacity: 1; transform: none; }
  .marquee { animation: none; }
  .cluster .ring { animation: none; }
}
@media print {
  .site-header, .site-footer, .preview, .filters, .aurora, .dots, .cursor-glow, .progress { display: none !important; }
  body { background: #fff; color: #000; }
}
