/* =========================================================
   Amran H. Fahim - personal site
   Colors: black, white, blue. Edit tokens below to retheme.
   ========================================================= */
/* Self-hosted fonts (no external requests) */
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("../fonts/inter-tight-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("../fonts/inter-tight-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("../fonts/inter-tight-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --black: #050507;
  --black-2: #0b0d13;
  --black-3: #12151d;
  --white: #f5f7fa;
  --paper: #f3f5f9;
  --ink: #0a0c12;
  --ink-2: #4b5363;
  --muted: #9aa3b4;
  --muted-2: #6b7385;
  --blue: #2f7bff;
  --blue-deep: #0a3ddb;
  --blue-ink: #1a56f0;
  --cyan: #5cc8ff;
  --line: rgba(255, 255, 255, .09);
  --line-dark: rgba(10, 12, 18, .09);
  --glass: rgba(255, 255, 255, .055);
  --radius: 22px;
  --radius-lg: 32px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Inter Tight", "Inter", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
svg { flex-shrink: 0; }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; line-height: 1.05; letter-spacing: -.035em; font-weight: 700; }
p { margin: 0; }
em.serif, .serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
::selection { background: var(--blue); color: #fff; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 600; }
.skip:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: clamp(80px, 11vw, 140px) 0; }
.section--light { background: var(--paper); color: var(--ink); }
.section--light .muted, .section--light .lead { color: var(--ink-2); }
.section--white { background: #fff; color: var(--ink); }
.section--white .lead { color: var(--ink-2); }
.section--tight { padding: clamp(56px, 7vw, 88px) 0; }

.muted { color: var(--muted); }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); line-height: 1.6; max-width: 60ch; }
.blue { color: var(--blue); }
.section--light .blue, .section--white .blue { color: var(--blue-ink); }

/* ---------- Badges / pills ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px 7px 10px; border-radius: 999px;
  font-size: 13px; font-weight: 500; letter-spacing: .01em;
  background: var(--glass); border: 1px solid var(--line); color: var(--white);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  width: fit-content; max-width: 100%;
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(47, 123, 255, .2); }
.section--light .badge, .section--white .badge { background: #fff; border-color: var(--line-dark); color: var(--ink); box-shadow: 0 1px 2px rgba(10, 12, 18, .04); }
.section--white .badge { background: var(--paper); }

.section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.center { text-align: center; justify-items: center; }
.section-head h2 { font-size: clamp(38px, 6vw, 72px); }
.section-head .lead { margin: 0; }
.section-head.center .lead { margin: 0 auto; }

/* ---------- Buttons ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border-radius: 999px;
  font-weight: 600; font-size: 15.5px; letter-spacing: -.005em;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .3s;
}
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translate(2px, -2px); }
.btn:hover { transform: translateY(-1px); }
.btn--white { background: var(--white); color: var(--ink); }
.btn--white:hover { background: #fff; box-shadow: 0 10px 30px -10px rgba(255, 255, 255, .45); }
.btn--blue { background: var(--blue); color: #fff; box-shadow: 0 10px 30px -12px rgba(47, 123, 255, .9), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn--blue:hover { background: #4589ff; }
.btn--ghost { background: var(--glass); color: var(--white); border-color: var(--line); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .09); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #1b1f2a; }
.btn--outline-dark { background: transparent; color: var(--ink); border-color: rgba(10, 12, 18, .16); }
.btn--outline-dark:hover { border-color: var(--ink); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.link-arrow svg { width: 17px; height: 17px; transition: transform .35s var(--ease); }
.link-arrow:hover svg { transform: translate(3px, -3px); }

/* ---------- Header / nav ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 50; padding: 14px 0; transition: background .4s, padding .4s, border-color .4s; border-bottom: 1px solid transparent; }
.header.scrolled { background: rgba(5, 5, 7, .72); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); border-bottom-color: var(--line); padding: 10px 0; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: -.02em; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, #3b82ff, var(--blue-deep)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 6px 18px -6px rgba(47, 123, 255, .8); }
.brand-mark svg { width: 18px; height: 18px; }
.nav-links { display: flex; align-items: center; gap: 4px; padding: 5px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav-links a { padding: 8px 16px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: #c9cfdb; transition: color .25s, background .25s; }
.nav-links a:hover { color: #fff; }
.nav-links a[aria-current="page"] { background: rgba(255, 255, 255, .1); color: #fff; }
.nav-cta { min-height: 44px; padding: 0 18px; font-size: 14.5px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--glass); color: #fff; cursor: pointer; place-items: center; }
.nav-toggle { position: relative; }
.nav-toggle span { position: absolute; left: 50%; top: 50%; width: 18px; height: 1.6px; margin: -.8px 0 0 -9px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease); }
.nav-toggle span:first-child { transform: translateY(-3.5px); }
.nav-toggle span:last-child { transform: translateY(3.5px); }
.nav-open .nav-toggle span:first-child { transform: rotate(45deg); }
.nav-open .nav-toggle span:last-child { transform: rotate(-45deg); }
.mobile-menu { display: none; }

@media (max-width: 860px) {
  .nav-links, .nav .nav-cta { display: none; }
  .nav-toggle { display: grid; }
  .mobile-menu {
    display: block; position: fixed; inset: 0; z-index: 40; background: var(--black);
    padding: 96px var(--gutter) 32px; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  }
  .nav-open .mobile-menu { opacity: 1; visibility: visible; }
  .mobile-menu nav { display: grid; gap: 4px; }
  .mobile-menu nav a { font-family: var(--display); font-size: 38px; font-weight: 700; letter-spacing: -.03em; padding: 6px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
  .mobile-menu nav a[aria-current="page"] { color: var(--blue); }
  .mobile-menu nav a svg { width: 26px; height: 26px; opacity: .5; }
  .mobile-menu .btns { margin-top: 28px; }
  .mobile-menu .btn { flex: 1 1 100%; }
  .nav-open { overflow: hidden; }
}

/* ---------- Backgrounds: stripes, glow, ghost text ---------- */
.stripes {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    repeating-linear-gradient(90deg, rgba(47, 123, 255, 0) 0 2px, rgba(47, 123, 255, .07) 30px, rgba(10, 61, 219, .22) 58px, rgba(0, 0, 0, 0) 60px);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  opacity: .9;
}
.glow { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; z-index: 0; }
.grid-lines {
  position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 30%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 50% at 50% 30%, #000, transparent 75%);
}
.ghost {
  font-family: var(--display); font-weight: 800; letter-spacing: -.06em; line-height: .8; white-space: nowrap;
  background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, 0) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none; pointer-events: none;
}

/* ---------- Hero (home) ---------- */
.hero { position: relative; min-height: 100svh; padding: 120px 0 56px; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero .ghost { position: absolute; left: 50%; bottom: -2vw; transform: translateX(-50%); font-size: clamp(110px, 24vw, 380px); z-index: 0; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero-copy { display: grid; gap: 22px; align-content: center; justify-items: start; }
.hero h1 { font-size: clamp(48px, 6.2vw, 90px); letter-spacing: -.05em; line-height: .95; }
.hero h1 .accent { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; color: transparent; background: linear-gradient(90deg, #7fb0ff, var(--blue) 55%, #9bd8ff); -webkit-background-clip: text; background-clip: text; padding-right: .08em; }
.hero-sub { font-family: var(--display); font-size: clamp(20px, 2.2vw, 26px); font-weight: 600; letter-spacing: -.02em; color: #dfe4ee; }
.hero-text { font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); max-width: 46ch; }
.socials-inline { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; color: var(--muted-2); font-size: 13.5px; }
.socials-inline .icons { display: flex; gap: 8px; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--glass); border: 1px solid var(--line); color: #d6dbe5; transition: background .3s, color .3s, transform .3s var(--ease), border-color .3s; }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; transform: translateY(-2px); }

.portrait-stage { position: relative; justify-self: center; width: min(100%, 520px); }
.portrait-stage::before { content: ""; position: absolute; inset: 8% 6% 18%; background: radial-gradient(closest-side, rgba(47, 123, 255, .55), rgba(10, 61, 219, .18) 55%, transparent 75%); filter: blur(30px); z-index: -1; }
.portrait {
  position: relative; aspect-ratio: 1000 / 1250; width: 100%;
  -webkit-mask-image: radial-gradient(ellipse 70% 72% at 50% 46%, #000 50%, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 72% at 50% 46%, #000 50%, transparent 78%);
}
.portrait picture { display: block; height: 100%; }
.portrait img { width: 100%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(180deg, #000 58%, transparent 96%); mask-image: linear-gradient(180deg, #000 58%, transparent 96%); }
.chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 10px; border-radius: 18px;
  background: rgba(18, 22, 32, .6); border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .08);
  font-size: 13px; line-height: 1.25; white-space: nowrap;
  animation: float 7s ease-in-out infinite;
}
.chip strong { display: block; font-family: var(--display); font-size: 15px; letter-spacing: -.01em; color: #fff; }
.chip span { color: var(--muted); }
.chip .ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(135deg, #3b82ff, var(--blue-deep)); color: #fff; }
.chip .ic svg { width: 18px; height: 18px; }
.chip--a { top: 14%; left: -8%; }
.chip--b { top: 40%; right: -6%; animation-delay: -2s; }
.chip--c { bottom: 18%; left: -4%; animation-delay: -4s; }
.chip--d { bottom: 6%; right: 4%; animation-delay: -5.5s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.scroll-hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 3; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); display: flex; align-items: center; gap: 10px; }
.scroll-hint i { width: 1px; height: 28px; background: linear-gradient(var(--blue), transparent); display: block; }

@media (max-width: 960px) {
  .hero { padding-top: 104px; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .portrait-stage { width: min(88%, 460px); margin-top: 8px; }
  .chip--a { left: -6%; } .chip--b { right: -8%; } .chip--c { left: -8%; }
  .scroll-hint { display: none; }
}
@media (max-width: 520px) {
  .chip { padding: 8px 12px 8px 8px; border-radius: 14px; font-size: 11.5px; }
  .chip strong { font-size: 13px; }
  .chip .ic { width: 28px; height: 28px; border-radius: 9px; }
  .chip .ic svg { width: 15px; height: 15px; }
  .chip--a { left: -4%; top: 10%; } .chip--b { right: -4%; } .chip--c { left: -4%; } .chip--d { right: -2%; }
  .portrait-stage { width: 92%; }
}

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); background: var(--black); overflow: hidden; position: relative; z-index: 2; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee ul { display: flex; list-style: none; margin: 0; padding: 22px 0; }
.marquee li { display: flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--display); font-weight: 600; font-size: clamp(18px, 2vw, 24px); letter-spacing: -.02em; color: #cdd3de; white-space: nowrap; }
.marquee li::after { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--blue); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.stat { background: var(--black-2); padding: clamp(24px, 3vw, 36px); display: grid; gap: 10px; align-content: start; }
.stat b { font-family: var(--display); font-size: clamp(40px, 5vw, 64px); font-weight: 700; letter-spacing: -.05em; line-height: 1; }
.stat b small { font-size: .55em; color: var(--blue); margin-left: 2px; }
.stat p { color: var(--muted); font-size: 15px; }
.stat .stat-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(47, 123, 255, .14); color: var(--blue); }
.stat .stat-ic svg { width: 22px; height: 22px; }
@media (max-width: 860px) { .stats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 340px) { .stats { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .footer-ghost { display: none; } .footer-bottom { margin-top: 40px; } .pxq-visual { max-width: 170px; } }

/* ---------- Journey timeline ---------- */
.journey { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 26px 22px 24px; display: grid; gap: 12px; align-content: start; transition: transform .4s var(--ease), box-shadow .4s; }
.step:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(10, 30, 90, .35); }
.step .num { font-family: var(--display); font-size: 13px; font-weight: 600; color: var(--blue-ink); letter-spacing: .04em; }
.step h3 { font-size: 21px; letter-spacing: -.025em; }
.step p { font-size: 15px; color: var(--ink-2); line-height: 1.55; }
.step .yr { display: inline-block; justify-self: start; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: #e8efff; color: var(--blue-ink); }
.step--now { background: var(--ink); color: #fff; border-color: var(--ink); }
.step--now p { color: #b8c0cf; }
.step--now .num { color: var(--cyan); }
.step--now .yr { background: rgba(92, 200, 255, .15); color: var(--cyan); }
.journey-foot { margin-top: 36px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
@media (max-width: 1060px) { .journey { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .journey { grid-template-columns: 1fr; } }

/* ---------- PixiQor feature ---------- */
.pxq {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: clamp(24px, 3vw, 40px);
  background: linear-gradient(160deg, #0a1638 0%, #061033 40%, #030718 100%);
  border: 1px solid rgba(92, 160, 255, .22);
  padding: clamp(32px, 6vw, 80px);
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: center;
}
.pxq .stripes { -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 80%); mask-image: linear-gradient(90deg, transparent 20%, #000 80%); opacity: 1; }
.pxq .glow { width: 520px; height: 520px; right: -140px; top: -160px; background: rgba(0, 192, 250, .28); }
.pxq-copy { position: relative; z-index: 2; display: grid; gap: 22px; }
.pxq-logo { width: min(260px, 70%); }
.pxq h2 { font-size: clamp(34px, 4.6vw, 58px); }
.pxq .lead { color: #b9c3d6; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 13px; font-weight: 500; padding: 7px 13px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: #dbe3f2; }
.pxq-visual { position: relative; z-index: 2; aspect-ratio: 1; max-width: 340px; justify-self: center; width: 100%; }
.pxq-visual .px { position: absolute; border-radius: 12%; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 30px 60px -20px rgba(0, 120, 255, .6); }
.px1 { width: 32%; height: 32%; left: 18%; top: 4%; background: linear-gradient(135deg, #2a7bff, #0560e8); }
.px2 { width: 32%; height: 32%; left: 52%; top: 4%; background: linear-gradient(135deg, #6fd8ff, #00c0fa); }
.px3 { width: 32%; height: 32%; left: 52%; top: 38%; background: linear-gradient(135deg, #2a7bff, #0560e8); }
.px4 { width: 32%; height: 64%; left: 18%; top: 38%; background: linear-gradient(160deg, #2a7bff, #0447c4); }
.px5 { width: 22%; height: 22%; left: 70%; top: 76%; background: linear-gradient(135deg, #6fd8ff, #00c0fa); }
.pxq-visual .px { animation: float 8s ease-in-out infinite; }
.px2 { animation-delay: -2s !important; } .px3 { animation-delay: -4s !important; } .px5 { animation-delay: -6s !important; }
@media (max-width: 900px) { .pxq { grid-template-columns: 1fr; } .pxq-visual { max-width: 260px; order: -1; justify-self: start; } }

/* ---------- Audience cards ---------- */
.aud { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.aud-card { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); display: grid; gap: 18px; align-content: start; min-height: 380px; }
.aud-card h3 { font-size: clamp(26px, 3vw, 36px); }
.aud-card p { font-size: 16px; }
.aud-card .lang { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.aud-card .platforms { display: grid; gap: 10px; margin-top: auto; }
.aud-card--en { background: #fff; color: var(--ink); border: 1px solid var(--line-dark); }
.aud-card--en p { color: var(--ink-2); }
.aud-card--en .lang { color: var(--blue-ink); }
.aud-card--bn { background: var(--ink); color: #fff; }
.aud-card--bn p { color: #b3bccb; }
.aud-card--bn .lang { color: var(--cyan); }
.aud-card--bn .stripes { -webkit-mask-image: radial-gradient(ellipse 80% 70% at 100% 0%, #000, transparent 70%); mask-image: radial-gradient(ellipse 80% 70% at 100% 0%, #000, transparent 70%); }
.aud-card > * { position: relative; z-index: 1; }
.aud-card > .stripes { position: absolute; z-index: 0; }
.plat { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; transition: transform .35s var(--ease), background .3s, border-color .3s; }
.plat svg.logo { width: 22px; height: 22px; }
.plat .pl-name { font-weight: 600; font-size: 15.5px; }
.plat .pl-handle { font-size: 13.5px; opacity: .7; }
.plat .go { margin-left: auto; width: 18px; height: 18px; transition: transform .35s var(--ease); }
.plat:hover .go { transform: translate(3px, -3px); }
.aud-card--en .plat { background: var(--paper); border: 1px solid var(--line-dark); }
.aud-card--en .plat:hover { border-color: var(--blue-ink); }
.aud-card--bn .plat { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.aud-card--bn .plat:hover { background: rgba(255, 255, 255, .1); border-color: rgba(92, 200, 255, .5); }
.plat-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; }
.aud-card--en .plat-ic { background: #fff; border: 1px solid var(--line-dark); color: var(--blue-ink); }
.aud-card--bn .plat-ic { background: rgba(255, 255, 255, .08); color: #fff; }
@media (max-width: 860px) { .aud { grid-template-columns: 1fr; } .aud-card { min-height: 0; } }

/* ---------- Bento (exploring) ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile { position: relative; overflow: hidden; border-radius: var(--radius); padding: 28px; background: var(--black-2); border: 1px solid var(--line); display: grid; gap: 12px; align-content: start; min-height: 240px; transition: border-color .4s, transform .4s var(--ease); }
.tile:hover { border-color: rgba(47, 123, 255, .45); transform: translateY(-3px); }
.tile h3 { font-size: 23px; letter-spacing: -.025em; }
.tile p { color: var(--muted); font-size: 15.5px; }
.tile .t-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(47, 123, 255, .25), rgba(47, 123, 255, .06)); border: 1px solid rgba(47, 123, 255, .3); color: #8db6ff; margin-bottom: 8px; }
.tile .t-ic svg { width: 22px; height: 22px; }
.tile .status { position: absolute; top: 24px; right: 24px; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); color: #c9d0dc; display: inline-flex; gap: 6px; align-items: center; }
.tile .status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #f5b83d; }
.tile .status.live::before { background: #39d98a; }
.tile--wide { grid-column: span 4; }
.tile--narrow { grid-column: span 2; }
.tile--half { grid-column: span 3; }
.tile--blue { background: linear-gradient(150deg, #1a5cff, #0a32b8); border-color: transparent; }
.tile--blue p { color: #d6e2ff; }
.tile--blue .t-ic { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .25); color: #fff; }
.tile--blue .stripes { opacity: .5; }
.tile > * { position: relative; z-index: 1; }
.tile > .stripes { position: absolute; z-index: 0; }
.tile-art { position: absolute !important; right: -10px; bottom: -10px; font-family: var(--display); font-weight: 800; font-size: 240px; line-height: .8; letter-spacing: -.06em; color: rgba(255, 255, 255, .07); z-index: 0 !important; }
@media (max-width: 960px) { .tile--wide, .tile--narrow, .tile--half { grid-column: span 3; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .tile--wide, .tile--narrow, .tile--half { grid-column: auto; } .tile { min-height: 0; } }

/* ---------- Principles ---------- */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.principle { background: #fff; border: 1px solid var(--line-dark); border-radius: var(--radius); padding: clamp(26px, 3vw, 36px); display: grid; gap: 14px; }
.principle .pn { font-family: var(--serif); font-style: italic; font-size: 56px; line-height: .8; color: var(--blue-ink); }
.principle h3 { font-size: 25px; }
.principle p { color: var(--ink-2); font-size: 16px; }
@media (max-width: 860px) { .principles { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; isolation: isolate; border-radius: clamp(24px, 3vw, 40px); padding: clamp(40px, 7vw, 96px) clamp(24px, 6vw, 80px); background: linear-gradient(160deg, #1d63ff 0%, #0b3fe0 55%, #082fa8 100%); text-align: center; display: grid; justify-items: center; gap: 22px; }
.cta .stripes { -webkit-mask-image: linear-gradient(180deg, #000, transparent 90%); mask-image: linear-gradient(180deg, #000, transparent 90%); background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0) 0 2px, rgba(255, 255, 255, .05) 30px, rgba(255, 255, 255, .14) 58px, rgba(255, 255, 255, 0) 60px); }
.cta h2 { font-size: clamp(40px, 6.4vw, 84px); position: relative; }
.cta p { color: #dbe5ff; max-width: 52ch; font-size: clamp(16px, 1.6vw, 19px); position: relative; }
.cta .btns { justify-content: center; position: relative; }
.cta .btn--ghost { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .25); }
.cta .btn--ghost:hover { background: rgba(255, 255, 255, .2); }

/* ---------- Footer ---------- */
.footer { position: relative; overflow: hidden; background: var(--black); border-top: 1px solid var(--line); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { font-family: var(--font); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a { color: #c9cfdb; font-size: 15px; transition: color .25s; }
.footer ul a:hover { color: #fff; }
.footer-about p { color: var(--muted); font-size: 15px; max-width: 34ch; margin-top: 14px; }
.footer-ghost { font-size: clamp(34px, 9.4vw, 128px); margin-top: 48px; text-align: center; background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, 0) 90%); -webkit-background-clip: text; background-clip: text; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding: 22px 0 28px; font-size: 13.5px; color: var(--muted-2); }
.footer-bottom a:hover { color: #fff; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(140px, 16vw, 200px) 0 clamp(64px, 8vw, 100px); }
.page-hero .ghost { position: absolute; left: 50%; bottom: -1.5vw; transform: translateX(-50%); font-size: clamp(90px, 20vw, 300px); z-index: 0; }
.page-hero .inner { position: relative; z-index: 2; display: grid; gap: 24px; justify-items: start; }
.page-hero h1 { font-size: clamp(46px, 7vw, 100px); letter-spacing: -.05em; line-height: .95; }
.page-hero h1 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; color: transparent; background: linear-gradient(90deg, #7fb0ff, var(--blue) 55%, #9bd8ff); -webkit-background-clip: text; background-clip: text; padding-right: .06em; }
.page-hero.center .inner { justify-items: center; text-align: center; }
.page-hero.center .lead { margin: 0 auto; }

/* About hero split */
.about-hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: end; }
.about-hero .portrait-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: #040406; }
.about-hero .portrait-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(5, 5, 7, .85)); }
.about-hero .portrait-card .cap { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 2; display: flex; justify-content: space-between; align-items: end; gap: 12px; font-size: 13px; color: var(--muted); }
.about-hero .portrait-card .cap strong { display: block; font-family: var(--display); font-size: 20px; color: #fff; letter-spacing: -.02em; }
@media (max-width: 860px) { .about-hero { grid-template-columns: 1fr; } .about-hero .portrait-card { max-width: 420px; } }

/* Story */
.story { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); }
.story-side { position: sticky; top: 110px; align-self: start; display: grid; gap: 18px; }
.story-side h2 { font-size: clamp(40px, 5.4vw, 68px); }
.chapters { display: grid; gap: 14px; }
.chapter { background: #fff; border: 1px solid var(--line-dark); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; }
.chapter .cn { grid-row: span 2; font-family: var(--serif); font-style: italic; font-size: 44px; line-height: .9; color: var(--blue-ink); min-width: 48px; }
.chapter h3 { font-size: 23px; letter-spacing: -.025em; }
.chapter p { color: var(--ink-2); font-size: 16.5px; line-height: 1.65; }
.chapter p + p { margin-top: 10px; }
.chapter--dark { background: var(--ink); border-color: var(--ink); }
.chapter--dark h3 { color: #fff; } .chapter--dark p { color: #b8c0cf; } .chapter--dark .cn { color: var(--cyan); }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } .story-side { position: static; } .chapter { grid-template-columns: 1fr; } .chapter .cn { grid-row: auto; } }

/* Credentials */
.creds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cred { border-radius: var(--radius); padding: 26px; background: var(--black-2); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.cred .stat-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(47, 123, 255, .14); color: var(--blue); margin-bottom: 6px; }
.cred .stat-ic svg { width: 22px; height: 22px; }
.cred b { font-family: var(--display); font-size: 22px; letter-spacing: -.025em; line-height: 1.15; }
.cred p { color: var(--muted); font-size: 15px; }
@media (max-width: 960px) { .creds { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .creds { grid-template-columns: 1fr; } }

/* Skills */
.skills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); overflow: hidden; }
.skill { background: #fff; padding: clamp(24px, 3vw, 34px); display: grid; gap: 10px; align-content: start; }
.skill .t-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: #e9f0ff; color: var(--blue-ink); margin-bottom: 6px; }
.skill .t-ic svg { width: 22px; height: 22px; }
.skill h3 { font-size: 21px; letter-spacing: -.02em; }
.skill p { color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 860px) { .skills { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .skills { grid-template-columns: 1fr; } }

/* Beyond work */
.beyond { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.beyond h2 { font-size: clamp(38px, 5vw, 64px); }
.beyond-list { display: grid; gap: 12px; }
.beyond-item { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border-radius: 18px; background: var(--black-2); border: 1px solid var(--line); }
.beyond-item .t-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(47, 123, 255, .14); color: #8db6ff; }
.beyond-item .t-ic svg { width: 20px; height: 20px; }
.beyond-item b { display: block; font-family: var(--display); font-size: 18px; letter-spacing: -.02em; margin-bottom: 2px; }
.beyond-item p { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .beyond { grid-template-columns: 1fr; } }

/* Projects */
.feature-proj { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-dark); background: #fff; }
.feature-proj .fp-copy { padding: clamp(28px, 5vw, 56px); display: grid; gap: 18px; align-content: center; }
.feature-proj .fp-copy h3 { font-size: clamp(30px, 3.6vw, 44px); }
.feature-proj .fp-copy p { color: var(--ink-2); }
.feature-proj .fp-art { position: relative; overflow: hidden; isolation: isolate; min-height: 340px; background: linear-gradient(160deg, #0a1638, #030718); display: grid; place-items: center; padding: 40px; }
.feature-proj .fp-art img { width: min(320px, 80%); position: relative; z-index: 2; }
.live-badge { display: inline-flex; align-items: center; gap: 8px; justify-self: start; font-size: 12.5px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: #e6f9ef; color: #0f7a46; }
.live-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #20c472; box-shadow: 0 0 0 4px rgba(32, 196, 114, .2); }
@media (max-width: 860px) { .feature-proj { grid-template-columns: 1fr; } .feature-proj .fp-art { min-height: 220px; order: -1; } }

.note { display: flex; gap: 14px; align-items: flex-start; padding: 20px 22px; border-radius: 18px; border: 1px dashed rgba(255, 255, 255, .18); color: var(--muted); font-size: 15.5px; margin-top: 18px; }
.note svg { width: 22px; height: 22px; color: var(--blue); margin-top: 1px; }
.note a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .3); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.c-card { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-lg); padding: clamp(26px, 3vw, 36px); display: grid; gap: 12px; align-content: start; min-height: 280px; background: var(--black-2); border: 1px solid var(--line); transition: transform .4s var(--ease), border-color .4s; }
.c-card:hover { transform: translateY(-4px); border-color: rgba(47, 123, 255, .5); }
.c-card .t-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(47, 123, 255, .14); color: #8db6ff; margin-bottom: 10px; }
.c-card .t-ic svg { width: 24px; height: 24px; }
.c-card h3 { font-size: 26px; }
.c-card p { color: var(--muted); font-size: 15.5px; }
.c-card .val { font-weight: 600; color: #fff; font-size: 15.5px; word-break: break-word; }
.c-card .link-arrow { margin-top: auto; padding-top: 12px; color: #fff; }
.c-card--blue { background: linear-gradient(155deg, #1d63ff, #0a35c4); border-color: transparent; }
.c-card--blue p { color: #dbe5ff; }
.c-card--blue .t-ic { background: rgba(255, 255, 255, .16); color: #fff; }
.c-card--blue .stripes { opacity: .6; }
.c-card > * { position: relative; z-index: 1; }
.c-card > .stripes { position: absolute; z-index: 0; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .c-card { min-height: 0; } }

.social-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.s-card { border-radius: var(--radius); padding: 24px; background: #fff; border: 1px solid var(--line-dark); color: var(--ink); display: grid; gap: 6px; transition: transform .4s var(--ease), border-color .3s, box-shadow .4s; }
.s-card:hover { transform: translateY(-4px); border-color: var(--blue-ink); box-shadow: 0 24px 40px -28px rgba(10, 30, 90, .4); }
.s-card .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.s-card .top .plat-ic { width: 46px; height: 46px; border-radius: 14px; background: var(--paper); color: var(--blue-ink); display: grid; place-items: center; }
.s-card .top .plat-ic svg { width: 22px; height: 22px; }
.s-card .go { width: 20px; height: 20px; color: var(--ink-2); transition: transform .35s var(--ease); }
.s-card:hover .go { transform: translate(3px, -3px); color: var(--blue-ink); }
.s-card b { font-family: var(--display); font-size: 21px; letter-spacing: -.02em; }
.s-card span { color: var(--ink-2); font-size: 14.5px; }
.s-card .lang { display: inline-block; justify-self: start; margin-top: 8px; font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: #e9f0ff; color: var(--blue-ink); }
@media (max-width: 960px) { .social-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .social-grid { grid-template-columns: 1fr; } }

.route { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(20px, 3vw, 40px); align-items: center; border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); background: linear-gradient(160deg, #0a1638, #030718); border: 1px solid rgba(92, 160, 255, .22); position: relative; overflow: hidden; isolation: isolate; }
.route img { width: 190px; position: relative; z-index: 1; }
.route h3 { font-size: clamp(24px, 2.8vw, 32px); margin-bottom: 8px; }
.route p { color: #b9c3d6; }
.route > * { position: relative; z-index: 1; }
.route > .stripes { position: absolute; z-index: 0; }
@media (max-width: 860px) { .route { grid-template-columns: 1fr; } }

/* 404 */
.nf { min-height: 100svh; display: grid; place-items: center; text-align: center; position: relative; overflow: hidden; isolation: isolate; padding: 120px 0 80px; }
.nf .ghost { font-size: clamp(160px, 38vw, 520px); position: absolute; left: 50%; top: 50%; transform: translate(-50%, -55%); z-index: 0; }
.nf .inner { position: relative; z-index: 2; display: grid; gap: 22px; justify-items: center; }
.nf h1 { font-size: clamp(44px, 7vw, 88px); }
.nf h1 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--blue); }

/* ---------- Reveal motion ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.hero-copy > * { animation: rise 1s var(--ease) both; }
.hero-copy > *:nth-child(2) { animation-delay: .08s; }
.hero-copy > *:nth-child(3) { animation-delay: .16s; }
.hero-copy > *:nth-child(4) { animation-delay: .24s; }
.hero-copy > *:nth-child(5) { animation-delay: .32s; }
.hero-copy > *:nth-child(6) { animation-delay: .4s; }
.portrait-stage { animation: fadeIn 1.4s var(--ease) .1s both; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; transform: scale(.98); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
