/* =========================================================
   WIZDO — Web3 Growth Strategist
   Glassmorphism · motion-first · mobile-first
   ========================================================= */

:root {
  --bg: #080808;
  --bg-2: #101010;
  --text: #f2f2ee;
  --text-2: rgba(242, 242, 238, 0.70);
  --text-3: rgba(242, 242, 238, 0.46);

  /* One accent: acid lime. Everything else is chrome/graphite. */
  --accent: #d4ff3a;
  --accent-rgb: 212, 255, 58;
  --violet: #e8e8e3;   /* legacy name: now silver */
  --cyan: var(--accent);
  --green: var(--accent);

  /* Brushed chrome, to match the portrait */
  --grad: linear-gradient(110deg, #8c8c8c 0%, #ffffff 20%, #a9a9a4 42%, #f4f4f0 60%, #74746f 82%, #e9e9e4 100%);

  /* Glass material */
  --glass-bg: linear-gradient(145deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.025));
  --glass-border: rgba(255, 255, 255, 0.11);
  --glass-hi: rgba(255, 255, 255, 0.22);
  --glass-blur: 28px;
  --glass-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.10) inset,
    0 -1px 0 0 rgba(255, 255, 255, 0.02) inset,
    0 24px 60px -24px rgba(0, 0, 0, 0.65),
    0 2px 6px rgba(0, 0, 0, 0.25);

  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 32px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);       /* expo-out, Apple-like */
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);  /* gentle overshoot */

  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  --display: "Inter Tight", -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, sans-serif;
  --serif: "Instrument Serif", "New York", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  --gutter: clamp(16px, 4vw, 40px);
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  font-feature-settings: "ss01", "cv11";
}
body.locked { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
img, svg { display: block; }
.icon {
  width: 20px; height: 20px; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
  overflow: visible;
}
::selection { background: rgba(255, 255, 255, 0.4); color: #fff; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 10px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.muted { color: var(--text-2); }
.gradient-text {
  background: var(--grad);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 8s linear infinite;
}
@keyframes shimmer { to { background-position: 200% center; } }

/* =========================================================
   Glass material
   ========================================================= */
.glass {
  position: relative;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  isolation: isolate;
}
/* specular gradient rim — the "Apple" edge */
.glass::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, var(--glass-hi), rgba(255,255,255,0.02) 40%, rgba(255,255,255,0.02) 60%, rgba(255,255,255,0.12));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}
/* pointer-following light (set via --mx / --my in JS) */
.card, .project, .service, .stat-card, .stack-col, .contact-link {
  --mx: 50%; --my: 50%;
}
.card::after, .project::after, .service::after, .stat-card::after, .stack-col::after, .contact-link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255,255,255,0.09), transparent 45%);
  opacity: 0;
  transition: opacity .4s var(--ease);
  pointer-events: none;
  z-index: 0;
}
@media (hover: hover) {
  .card:hover::after, .project:hover::after, .service:hover::after, .stat-card:hover::after,
  .stack-col:hover::after, .contact-link:hover::after { opacity: 1; }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgba(22, 22, 34, 0.92); }
}

/* =========================================================
   Background
   ========================================================= */
.bg { position: fixed; inset: 0; z-index: -2; overflow: hidden; background:
  radial-gradient(1200px 800px at 80% -10%, #1b1b1b 0%, transparent 60%),
  radial-gradient(900px 700px at -10% 30%, #121212 0%, transparent 60%),
  var(--bg); }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  will-change: transform;
}
.b1 { width: 46vmax; height: 46vmax; left: -10vmax; top: -12vmax; background: radial-gradient(circle, #4a4a46 0%, transparent 65%); animation: drift1 24s ease-in-out infinite alternate; }
.b2 { width: 40vmax; height: 40vmax; right: -12vmax; top: 10vh; background: radial-gradient(circle, #3b4512 0%, transparent 65%); animation: drift2 28s ease-in-out infinite alternate; }
.b3 { width: 34vmax; height: 34vmax; left: 20vw; bottom: -14vmax; background: radial-gradient(circle, #5c5c58 0%, transparent 65%); opacity: .35; animation: drift3 32s ease-in-out infinite alternate; }
.b4 { width: 26vmax; height: 26vmax; right: 18vw; bottom: 10vh; background: radial-gradient(circle, #2e2e2c 0%, transparent 65%); animation: drift1 36s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate3d(14vw, 18vh, 0) scale(1.15); } }
@keyframes drift2 { to { transform: translate3d(-18vw, 24vh, 0) scale(.9); } }
@keyframes drift3 { to { transform: translate3d(-10vw, -20vh, 0) scale(1.2); } }

.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 20%, transparent 75%);
}
.grain {
  position: absolute; inset: -50%;
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0); } 20% { transform: translate(-3%,2%); }
  40% { transform: translate(2%,-3%); } 60% { transform: translate(-2%,-1%); } 80% { transform: translate(3%,3%); }
}

.spotlight {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(600px circle at var(--sx, 50%) var(--sy, 30%), rgba(255, 255, 255, 0.10), transparent 40%);
  transition: opacity .4s;
}
@media (hover: none) { .spotlight { display: none; } }

.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 100;
  background: var(--accent);
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
  box-shadow: 0 0 12px rgba(212, 255, 58, 0.6);
}

/* =========================================================
   Loader
   ========================================================= */
.loader {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: var(--bg);
  transition: opacity .7s var(--ease), visibility .7s;
}
.loader-mark { display: flex; gap: .06em; font-family: var(--display); font-weight: 800; font-size: clamp(40px, 10vw, 84px); letter-spacing: -0.04em; }
.loader-mark span {
  display: inline-block;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  transform: translateY(110%); opacity: 0;
  animation: loaderIn .8s var(--ease) forwards;
}
.loader-mark span:nth-child(2) { animation-delay: .06s; }
.loader-mark span:nth-child(3) { animation-delay: .12s; }
.loader-mark span:nth-child(4) { animation-delay: .18s; }
.loader-mark span:nth-child(5) { animation-delay: .24s; }
@keyframes loaderIn { to { transform: none; opacity: 1; } }
body.loaded .loader { opacity: 0; visibility: hidden; }

/* =========================================================
   Nav
   ========================================================= */
.nav-wrap {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: max(12px, env(safe-area-inset-top)) var(--gutter) 0;
  pointer-events: none;
  transition: transform .5s var(--ease);
}
.nav-wrap.hide { transform: translateY(calc(-100% - 12px)); }
.nav {
  pointer-events: auto;
  max-width: 1080px; margin: 0 auto;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 10px 0 22px;
  border-radius: 999px;
  --glass-blur: 22px;
  transition: background .4s, box-shadow .4s;
}
.nav-wrap.scrolled .nav { background: linear-gradient(145deg, rgba(18,18,18,0.7), rgba(18,18,18,0.5)); }

.brand { display: flex; align-items: center; gap: 0; font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; font-size: 17px; z-index: 2; }
.brand-tld { color: var(--text-3); font-weight: 600; }
.brand-logo { width: 32px; height: 32px; margin-right: 10px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1.5px rgba(255,255,255,.18), 0 0 0 3px rgba(255,255,255,.35), 0 6px 16px -6px rgba(212,255,58,.6); transition: transform .6s var(--spring); }
.brand:hover .brand-logo { transform: rotate(-8deg) scale(1.08); }
.brand-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 14px rgba(212,255,58,.8);
  animation: breathe 3s ease-in-out infinite;
}
@keyframes breathe { 50% { transform: scale(1.35); box-shadow: 0 0 22px rgba(255,255,255,.9); } }

.nav-links { position: relative; display: flex; gap: 2px; z-index: 2; }
.nav-links a {
  position: relative; z-index: 1;
  display: block; padding: 8px 14px;
  font-size: 14px; font-weight: 500; color: var(--text-2);
  border-radius: 999px;
  transition: color .3s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-pill {
  position: absolute; top: 0; left: 0; height: 100%;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14);
  opacity: 0;
  transition: transform .5s var(--spring), width .5s var(--spring), opacity .3s;
  pointer-events: none;
}
.nav-cta { z-index: 2; }

.burger { display: none; width: 44px; height: 44px; border-radius: 50%; position: relative; z-index: 2; }
.burger span {
  position: absolute; left: 13px; right: 13px; height: 1.6px; border-radius: 2px; background: var(--text);
  transition: transform .45s var(--spring), top .45s var(--ease);
}
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  --tx: 0px; --ty: 0px;
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 24px;
  border-radius: 999px;
  font-weight: 600; font-size: 15px; letter-spacing: -0.01em;
  transform: translate(var(--tx), var(--ty));
  transition: transform .5s var(--spring), box-shadow .4s var(--ease), background .3s;
  will-change: transform;
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
}
.btn:active { transform: translate(var(--tx), var(--ty)) scale(.96); transition-duration: .15s; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.btn-primary {
  color: #0a0a0a;
  background: linear-gradient(180deg, #e4ff7a 0%, #c9f52a 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 10px 30px -12px rgba(212,255,58,.55), 0 0 0 1px rgba(212,255,58,.35);
}
.btn-primary:hover { box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 18px 44px -10px rgba(212,255,58,.75), 0 0 0 1px rgba(212,255,58,.6); }
.btn .icon { width: 18px; height: 18px; stroke-width: 2; }
.btn-primary svg { transition: transform .4s var(--spring); }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-glass {
  background: rgba(255,255,255,0.06);
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}
.btn-glass:hover { background: rgba(255,255,255,0.11); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  overflow-x: clip;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 72px) 0 96px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 56px;
}
.status {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 500; color: var(--text-2);
  --glass-blur: 16px;
}
.status-handle { color: var(--text); font-family: var(--mono); font-size: 12px; }
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--green); animation: ping 2s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(3.2); opacity: 0; } }

.hero-title {
  margin-top: 28px;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(48px, 8.6vw, 112px);
  line-height: .98;
  letter-spacing: -0.045em;
}
.hero-title .serif { font-size: 1.06em; letter-spacing: -0.02em; padding-right: .05em; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero-title .word {
  display: inline-block;
  transform: translateY(105%) rotate(4deg);
  transform-origin: 0 100%;
  opacity: 0;
  transition: transform 1.1s var(--ease), opacity 1.1s var(--ease);
}
body.loaded .hero-title .word { transform: none; opacity: 1; }
body.loaded .hero-title .line:nth-child(1) .word { transition-delay: .05s; }
body.loaded .hero-title .line:nth-child(2) .word:nth-child(1) { transition-delay: .14s; }
body.loaded .hero-title .line:nth-child(2) .word:nth-child(2) { transition-delay: .22s; }
.hero-title .line:nth-child(2) .word:nth-child(2) {
  background: var(--grad); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 8s linear infinite;
}

.hero-sub {
  margin-top: 28px; max-width: 520px;
  font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: var(--text-2);
}
.hero-sub strong { color: var(--text); font-weight: 600; }

.now {
  margin-top: 22px;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px;
  font-size: 14px;
}
.now-label { color: var(--text-3); font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.now-value { position: relative; font-weight: 600; color: var(--text); display: inline-block; }
#rotator { display: inline-block; transition: opacity .35s var(--ease), transform .45s var(--ease), filter .35s; }
#rotator.out { opacity: 0; transform: translateY(-10px); filter: blur(4px); }
#rotator.in { opacity: 0; transform: translateY(10px); filter: blur(4px); transition: none; }
.now-value::after {
  content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 4px; vertical-align: -2px;
  background: var(--cyan); animation: caret 1s steps(1) infinite;
}
@keyframes caret { 50% { opacity: 0; } }

.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ID card */
.hero-visual { position: relative; perspective: 1200px; display: flex; justify-content: center; }
.id-card {
  width: min(100%, 380px);
  padding: 22px;
  border-radius: var(--r-lg);
  overflow: hidden;
  transform-style: preserve-3d;
  animation: hover-y 7s ease-in-out infinite;
}
@keyframes hover-y { 50% { translate: 0 -12px; } }
.id-sheen {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.14) 45%, rgba(255,255,255,.12) 50%, transparent 62%);
  background-size: 250% 250%;
  background-position: var(--shx, 100%) 0;
  transition: background-position .3s;
  mix-blend-mode: screen;
}
.id-card > *:not(.id-sheen) { position: relative; z-index: 2; }
.id-top { display: flex; justify-content: space-between; align-items: center; }
.id-chip {
  font-family: var(--mono); font-weight: 500; font-size: 12px;
  padding: 6px 10px; border-radius: 8px;
  background: linear-gradient(135deg, #e4ff7a, #c9f52a);
  color: #0a0a0a; box-shadow: inset 0 1px 0 rgba(255,255,255,.5);
}
.id-no { font-family: var(--mono); font-size: 11px; color: var(--text-3); letter-spacing: .08em; }
.id-avatar {
  position: relative; width: 140px; height: 140px; margin: 24px auto 18px; overflow: visible;
  display: grid; place-items: center;
  border-radius: 50%;
  background: conic-gradient(from 210deg, #f4f4f0, #6f6f6a, #ffffff, #8c8c87, #e9e9e4, #5c5c58, #f4f4f0);
  box-shadow: 0 24px 50px -16px rgba(0,0,0,.9), 0 0 40px -10px rgba(212,255,58,.25);
  transform: translateZ(40px);
}
.id-avatar picture { position: absolute; inset: 3px; border-radius: 50%; overflow: hidden; }
.id-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.id-avatar img { transition: transform .8s var(--ease); }
.id-card:hover .id-avatar img { transform: scale(1.06); }
.id-ring { position: absolute; inset: -10px; width: calc(100% + 20px); height: calc(100% + 20px); animation: spin 14s linear infinite; }
.id-ring circle { fill: none; stroke: url(#none); stroke: rgba(255,255,255,.35); stroke-width: 1; stroke-dasharray: 4 10; }
@keyframes spin { to { transform: rotate(360deg); } }
.id-name { text-align: center; font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; transform: translateZ(30px); }
.id-role { text-align: center; color: var(--text-2); font-size: 14px; margin-top: 2px; }
.id-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 18px; }
.id-tags li {
  font-size: 12px; font-weight: 500; padding: 5px 10px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: var(--text-2);
}
.id-foot {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.08);
}
.id-foot div { text-align: center; }
.id-foot small { display: block; font-size: 11px; color: var(--text-3); text-transform: uppercase; letter-spacing: .06em; }
.id-foot b { font-family: var(--display); font-size: 17px; }
.id-foot .ok { color: var(--green); font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.id-foot .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }

.chip {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 16px;
  font-size: 13px; font-weight: 600;
  --glass-blur: 18px;
}
.chip-ico {
  width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px;
  color: var(--accent);
  background: rgba(255,255,255,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2);
}
.chip-ico .icon { width: 14px; height: 14px; stroke-width: 2; }
.float { animation: float 6s ease-in-out infinite; }
.f1 { top: -4%; left: -4%; }
.f2 { top: 34%; right: -7%; animation-delay: -2s; }
.f4 { top: -4%; right: -6%; animation-delay: -3s; }
.f3 { bottom: -10%; left: -2%; animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-14px) rotate(-1.5deg); } }

.scroll-hint { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); opacity: .6; transition: opacity .3s; }
.scroll-hint:hover { opacity: 1; }
.mouse { display: block; width: 24px; height: 38px; border: 1.5px solid rgba(255,255,255,.5); border-radius: 14px; position: relative; }
.wheel { position: absolute; left: 50%; top: 8px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: wheel 2s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-4px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* =========================================================
   Marquee
   ========================================================= */
.marquee {
  position: relative; overflow: hidden;
  padding: 22px 0;
  border-block: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.015);
  -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; align-items: center; gap: 36px; width: max-content;
  font-family: var(--display); font-weight: 600;
  font-size: clamp(22px, 3.4vw, 40px); letter-spacing: -0.03em;
  color: rgba(255,255,255,.75);
  animation: marquee 34s linear infinite;
}
.marquee-track .star { width: .42em; height: .42em; color: var(--accent); flex-shrink: 0; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   Sections
   ========================================================= */
.section { padding: clamp(88px, 13vw, 160px) 0; position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .14em; color: var(--text-3);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--accent); }
.section-title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(34px, 5.4vw, 64px);
  line-height: 1.04; letter-spacing: -0.04em;
  max-width: 16ch;
}
.section-title .serif { font-size: 1.08em; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.head-note { font-size: 15px; }
.inline-link { color: var(--text); border-bottom: 1px solid rgba(255,255,255,.3); transition: border-color .3s; }
.inline-link:hover { border-color: var(--cyan); }
.lead { margin-top: 18px; max-width: 560px; font-size: 18px; }

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px) scale(.985);
  filter: blur(6px);
  transition: opacity 1s var(--ease) var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s), filter 1s var(--ease) var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; filter: none; }

/* Card base */
.card { border-radius: var(--r-md); padding: 28px; }

/* Tilt */
.tilt {
  --rx: 0deg; --ry: 0deg;
  transform-style: preserve-3d;
  transition: transform .9s var(--ease) var(--d, 0s), opacity 1s var(--ease) var(--d, 0s),
              filter 1s var(--ease) var(--d, 0s), box-shadow .5s var(--ease), border-color .4s;
}
.tilt.in, .tilt:not(.reveal) { transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)); }
.tilt.tilting { transition: transform .12s linear, box-shadow .5s var(--ease); }

/* =========================================================
   About
   ========================================================= */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; margin-bottom: 56px; }
.about-copy { font-size: 18px; color: var(--text-2); max-width: 46ch; }

.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.role { min-height: 280px; display: flex; flex-direction: column; }
.role > * { position: relative; z-index: 2; }
.role-ico {
  width: 56px; height: 56px; display: grid; place-items: center;
  border-radius: 18px; color: #f2f2ee;
  background: linear-gradient(145deg, rgba(255,255,255,.14), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 10px 24px -10px rgba(0,0,0,.5);
  margin-bottom: auto;
  transition: transform .6s var(--spring);
}
.role-ico .icon { width: 26px; height: 26px; stroke-width: 1.6; }
.role:hover .role-ico { transform: translateY(-4px) rotate(-6deg) scale(1.06); }
.role h3 { margin-top: 40px; font-family: var(--display); font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.role p { margin-top: 10px; color: var(--text-2); font-size: 15px; }

.banner {
  margin-top: 16px; display: flex; align-items: center; gap: 16px;
  padding: 20px 24px; border-radius: var(--r-md);
  font-size: 16px; color: var(--text-2);
}
.banner strong { color: var(--text); font-weight: 600; }
.banner-ico { flex-shrink: 0; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; color: var(--cyan); background: rgba(212,255,58,.1); box-shadow: inset 0 0 0 1px rgba(212,255,58,.25); }
.banner-ico .icon { width: 20px; height: 20px; }

/* =========================================================
   Work
   ========================================================= */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.project {
  display: flex; flex-direction: column;
  border-radius: var(--r-md); overflow: hidden;
}
.project > * { position: relative; z-index: 2; }
.project-media {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  display: grid; place-items: center;
  background:
    radial-gradient(circle at 25% 20%, hsla(var(--h1), 45%, 60%, .30), transparent 55%),
    radial-gradient(circle at 80% 85%, hsla(var(--h2), 35%, 50%, .22), transparent 55%),
    linear-gradient(160deg, rgba(255,255,255,.04), rgba(0,0,0,.2));
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.project-mono {
  position: relative; z-index: 2;
  font-family: var(--display); font-weight: 800; font-size: clamp(48px, 6vw, 72px); letter-spacing: -0.06em;
  color: rgba(255,255,255,.92);
  text-shadow: 0 10px 40px rgba(0,0,0,.3);
  transition: transform .8s var(--ease), letter-spacing .8s var(--ease);
}
.project-orb {
  position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.35), rgba(255,255,255,.04) 60%);
  border: 1px solid rgba(255,255,255,.2);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: transform 1s var(--ease);
}
.project-logo {
  position: relative; z-index: 2;
  width: 112px; height: 112px; display: grid; place-items: center;
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(255,255,255,.16), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.18);
  -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 24px 50px -18px rgba(0,0,0,.6);
  transition: transform .8s var(--spring);
}
.project-logo img { width: 64px; height: 64px; object-fit: contain; filter: drop-shadow(0 6px 14px rgba(0,0,0,.35)); }
/* Logos that come as a full square (e.g. QLABS) fill the tile edge to edge */
.project-logo--fill { overflow: hidden; padding: 0; }
.project-logo--fill picture { display: block; width: 100%; height: 100%; }
.project-logo--fill img { width: 100%; height: 100%; object-fit: cover; filter: none; border-radius: inherit; }
.project:hover .project-logo { transform: translateY(-6px) scale(1.06) rotate(-3deg); }
.project:hover .project-mono { transform: scale(1.08); letter-spacing: -0.03em; }
.project:hover .project-orb { transform: scale(1.15) translate(10%, -8%); }
.project-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; }
.project-body h3 { font-family: var(--display); font-size: 21px; font-weight: 700; letter-spacing: -0.02em; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span {
  font-size: 11px; font-weight: 500; font-family: var(--mono);
  padding: 4px 9px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); color: var(--text-2);
}
.link-arrow { margin-top: 4px; display: inline-flex; gap: 6px; font-size: 14px; font-weight: 600; color: var(--text-2); transition: color .3s; }
.link-arrow { align-items: center; }
.link-arrow .icon { width: 16px; height: 16px; stroke-width: 2; transition: transform .45s var(--spring); }
.project:hover .link-arrow { color: var(--text); }
.project:hover .link-arrow .icon { transform: translate(3px, -3px); }

/* =========================================================
   Services
   ========================================================= */
.services { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.service {
  border-radius: var(--r-md); padding: 26px;
  transition: transform .6s var(--ease), border-color .4s;
}
.service > * { position: relative; z-index: 2; }
@media (hover: hover) { .service:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.2); } }
.service-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 36px; }
.service-no { font-family: var(--mono); font-size: 13px; color: var(--text-3); }
.service-ico {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px;
  color: var(--accent);
  background: linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25);
  transition: transform .6s var(--spring);
}
.service-ico .icon { width: 20px; height: 20px; }
.service:hover .service-ico { transform: rotate(-12deg) scale(1.1); }
.service h3 { font-family: var(--display); font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.service p { margin-top: 8px; color: var(--text-2); font-size: 15px; }

/* =========================================================
   Stack
   ========================================================= */
.stack-grid { margin-top: 48px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; }
.stack-col { border-radius: var(--r-md); padding: 28px; }
.stack-col > * { position: relative; z-index: 2; }
.stack-col h3 { font-family: var(--display); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--text-3); margin-bottom: 18px; }
.skill-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 20px; }
.stack-col:nth-child(2) .skill-list { grid-template-columns: 1fr; }
.skill-list li {
  position: relative; padding: 12px 0 12px 22px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-weight: 500; font-size: 15px;
  transition: color .3s, padding-left .45s var(--ease);
}
.skill-list li::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; margin-top: -4px;
  border-radius: 2px; background: var(--accent); transform: rotate(45deg);
  transition: transform .45s var(--spring);
}
@media (hover: hover) {
  .skill-list li:hover { padding-left: 28px; }
  .skill-list li:hover::before { transform: rotate(225deg) scale(1.2); }
}
.platforms { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.pill {
  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);
  transition: background .3s, transform .4s var(--spring);
}
.pill:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }

.manifesto {
  margin-top: 16px; position: relative; overflow: hidden;
  padding: clamp(32px, 6vw, 64px);
  border-radius: var(--r-lg);
}
.manifesto > * { position: relative; z-index: 2; }
.manifesto-mark {
  position: absolute !important; top: clamp(24px, 5vw, 48px); right: clamp(24px, 5vw, 56px); z-index: 0 !important;
  width: clamp(64px, 12vw, 120px); height: auto;
  opacity: .18;
}
.manifesto blockquote {
  font-family: var(--serif); font-size: clamp(28px, 4.2vw, 52px); line-height: 1.12; letter-spacing: -0.01em;
  max-width: 22ch;
}
.manifesto figcaption { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.manifesto figcaption p { color: var(--text-2); max-width: 52ch; }
.sig { font-family: var(--mono); font-size: 13px; letter-spacing: .14em; color: var(--text-3); }

/* =========================================================
   Record
   ========================================================= */
.stats { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat-card { border-radius: var(--r-md); padding: 30px 28px; overflow: hidden; }
.stat-card > * { position: relative; z-index: 2; }
.stat {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(56px, 7vw, 88px); line-height: 1; letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}
.stat .plus { color: var(--accent); }
.stat-word { background: var(--grad); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 6s linear infinite; }
.stat-label { margin-top: 12px; color: var(--text-2); font-weight: 500; }
.stat-bar { margin-top: 24px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.07); overflow: hidden; }
.stat-bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: var(--accent); box-shadow: 0 0 12px rgba(212,255,58,.5); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.6s var(--ease) .3s; }
.stat-card.in .stat-bar i { transform: scaleX(1); }

/* =========================================================
   Contact
   ========================================================= */
.contact {
  position: relative; overflow: hidden;
  border-radius: clamp(28px, 4vw, 44px);
  padding: clamp(36px, 7vw, 88px) clamp(22px, 6vw, 80px);
  text-align: center;
}
.contact > * { position: relative; z-index: 2; }
.contact .eyebrow { justify-content: center; }
.contact-glow {
  position: absolute !important; z-index: 0 !important; inset: auto; left: 50%; top: -40%;
  width: 120%; aspect-ratio: 1; transform: translateX(-50%);
  background: conic-gradient(from 0deg, rgba(255,255,255,.18), rgba(212,255,58,.22), rgba(255,255,255,.08), rgba(255,255,255,.18));
  filter: blur(80px); border-radius: 50%; opacity: .55;
  animation: spin 20s linear infinite;
}
.contact-title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(34px, 6vw, 72px); line-height: 1.02; letter-spacing: -0.045em;
}
.contact-title .serif { font-size: 1.06em; }
.contact-sub { margin: 20px auto 0; max-width: 560px; font-size: 17px; }

.contact-links { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; text-align: left; }
.contact-link {
  --tx: 0px; --ty: 0px;
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; border-radius: 20px;
  transform: translate(var(--tx), var(--ty));
  transition: transform .5s var(--spring), border-color .3s, background .3s;
  -webkit-tap-highlight-color: transparent;
  width: 100%;
}
.contact-link > * { position: relative; z-index: 2; }
.contact-link:hover { border-color: rgba(255,255,255,.22); }
.contact-link:active { transform: scale(.97); transition-duration: .15s; }
.cl-ico {
  flex-shrink: 0; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px;
  background: rgba(255,255,255,.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
}
.cl-ico .icon { width: 20px; height: 20px; }
.cl-text { display: flex; flex-direction: column; min-width: 0; flex: 1; text-align: left; }
.cl-text small { font-size: 12px; color: var(--text-3); }
.cl-text b { font-weight: 600; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cl-arrow { width: 18px; height: 18px; color: var(--text-3); transition: transform .45s var(--spring), color .3s; }
.contact-link:hover .cl-arrow { transform: translate(3px, -3px); color: var(--text); }

/* =========================================================
   Footer / toast
   ========================================================= */
.footer { padding: 32px 0 calc(32px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255,255,255,.06); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.footer-left { display: flex; align-items: center; gap: 14px; }
.footer-logo { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1.5px rgba(255,255,255,.15); flex-shrink: 0; }
.footer-brand { font-weight: 600; font-size: 14px; }
.footer small { font-size: 13px; }
.to-top { --tx: 0px; --ty: 0px; flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; transform: translate(var(--tx), var(--ty)); transition: transform .5s var(--spring); }
.to-top .icon { width: 18px; height: 18px; stroke-width: 2; }
.to-top svg { position: relative; z-index: 2; transition: transform .45s var(--spring); }
.to-top:hover svg { transform: translateY(-3px); }




/* =========================================================
   Mobile menu (full-screen glass overlay)
   ========================================================= */
.menu {
  --ox: calc(100% - 40px); --oy: 40px;
  position: fixed; inset: 0; z-index: 45;
  display: none;
  clip-path: circle(0px at var(--ox) var(--oy));
  transition: clip-path .8s cubic-bezier(.76, 0, .24, 1), visibility 0s .8s;
  visibility: hidden;
  background: linear-gradient(180deg, rgba(14,14,14,.86), rgba(8,8,8,.94));
  -webkit-backdrop-filter: blur(30px) saturate(170%); backdrop-filter: blur(30px) saturate(170%);
}
.menu.open { clip-path: circle(150vmax at var(--ox) var(--oy)); visibility: visible; transition: clip-path .9s cubic-bezier(.76, 0, .24, 1), visibility 0s; }
.menu-bg i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; }
.menu-bg i:first-child { width: 70vw; height: 70vw; top: -10vw; right: -20vw; background: radial-gradient(circle, #4a4a46, transparent 65%); }
.menu-bg i:last-child { width: 80vw; height: 80vw; bottom: -20vw; left: -30vw; background: radial-gradient(circle, #3b4512, transparent 65%); }
.menu-inner {
  position: relative; height: 100%;
  display: flex; flex-direction: column;
  padding: calc(var(--nav-h) + max(28px, env(safe-area-inset-top) + 16px)) var(--gutter) max(24px, env(safe-area-inset-bottom) + 16px);
  overflow-y: auto;
}
.menu-profile { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.menu-profile { justify-content: space-between; }
.ml-eyebrow { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--text-3); }
.ml-status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); }
.menu-links { display: flex; flex-direction: column; border-top: 1px solid rgba(255,255,255,.08); }
.menu-links a {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 4px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  -webkit-tap-highlight-color: transparent;
}
.ml-no { font-family: var(--mono); font-size: 12px; color: var(--text-3); width: 22px; }
.ml-label { flex: 1; font-family: var(--display); font-weight: 600; font-size: clamp(30px, 9vw, 40px); line-height: 1.05; letter-spacing: -0.035em; }
.menu-links .icon { width: 22px; height: 22px; color: var(--text-3); transition: transform .45s var(--spring), color .3s; }
.menu-links a:active .ml-label { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.menu-links a:active .icon { transform: translate(3px,-3px); color: var(--cyan); }
.menu-links a, .menu-profile, .menu-foot { opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .7s var(--ease); }
.menu.open .menu-links a, .menu.open .menu-profile, .menu.open .menu-foot { opacity: 1; transform: none; }
.menu.open .menu-profile { transition-delay: .2s; }
.menu.open .menu-links a:nth-child(1) { transition-delay: .26s; }
.menu.open .menu-links a:nth-child(2) { transition-delay: .31s; }
.menu.open .menu-links a:nth-child(3) { transition-delay: .36s; }
.menu.open .menu-links a:nth-child(4) { transition-delay: .41s; }
.menu.open .menu-links a:nth-child(5) { transition-delay: .46s; }
.menu.open .menu-links a:nth-child(6) { transition-delay: .51s; }
.menu.open .menu-foot { transition-delay: .58s; }
.menu-foot { margin-top: auto; padding-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.menu-cta { justify-content: center; min-height: 54px; }
.menu-socials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.social { height: 52px; border-radius: 18px; display: grid; place-items: center; -webkit-tap-highlight-color: transparent; }
.social .icon { position: relative; z-index: 2; width: 20px; height: 20px; }
.social:active { transform: scale(.95); }
body.menu-open .nav-wrap .nav { background: rgba(255,255,255,.06); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .nav-links a { padding: 8px 10px; }
  .hero-inner { grid-template-columns: 1fr; gap: 64px; }
  .hero-visual { width: 100%; max-width: 500px; margin-inline: auto; }
  .f2 { right: -2%; }
  .f4 { right: -2%; }
  .hero-copy { text-align: left; }
  .projects, .services { grid-template-columns: repeat(2, 1fr); }
  .contact-links { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
}

@media (max-width: 860px) {
  :root { --nav-h: 58px; }
  .nav { padding: 0 6px 0 18px; }
  .nav-links, .nav-cta { display: none; }
  .burger { display: block; }
  .menu { display: block; }
  .about-grid { grid-template-columns: 1fr; gap: 18px; margin-bottom: 36px; }
  .roles { grid-template-columns: 1fr; }
  .role { min-height: 0; }
  .role h3 { margin-top: 24px; }
  .stack-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 15px; }
  :root { --glass-blur: 20px; }
  .hero { padding-top: calc(var(--nav-h) + 48px); padding-bottom: 88px; }
  .hero-title { font-size: clamp(44px, 13.5vw, 64px); margin-top: 22px; }
  .hero-sub { font-size: 17px; margin-top: 20px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; min-height: 52px; }
  .hero-visual { padding: 0 6px; }
  .f1 { left: auto; right: -2%; top: -22px; }
  .f2 { right: auto; top: auto; left: -2%; bottom: -22px; }
  .f4 { right: auto; left: -2%; top: -22px; }
  .f3 { left: auto; right: 0; bottom: -22px; }
  .chip { font-size: 12px; padding: 8px 12px; }
  .chip-ico { width: 22px; height: 22px; }
  .project-media { aspect-ratio: 16 / 8; }
  .scroll-hint { display: none; }
  .projects, .services { grid-template-columns: 1fr; }
  .skill-list { grid-template-columns: 1fr; }
  .card, .service, .stack-col, .stat-card { padding: 22px; }
  .banner { align-items: flex-start; padding: 18px; font-size: 15px; }
  .section-head { margin-bottom: 32px; }
  .services, .stack-grid, .stats { margin-top: 32px; }
  .footer-inner { align-items: flex-end; }
  .blob { filter: blur(60px); }
}

/* Lighter effects on low-power / touch devices */
@media (hover: none) {
  .grain { animation: none; }
  .tilt { transform: none !important; }
}

/* Accessibility: reduce motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal, .hero-title .word { opacity: 1; transform: none; filter: none; }
  .marquee-track { animation: none; }
}

/* Reduce transparency */
@media (prefers-reduced-transparency: reduce) {
  .glass { background: rgba(22, 22, 34, 0.96); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* Footer credit */
.credit { color: var(--text); border-bottom: 1px solid rgba(var(--accent-rgb), .5); transition: color .3s, border-color .3s; }
.credit:hover { color: var(--accent); border-color: var(--accent); }
