/* =====================================================================
   Tinashe Mufudzi Chidzomba · Portfolio
   Theme: deep-space blue. Built with hand-written CSS, no framework.
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg: #020617;
  --bg-2: #050c22;
  --bg-3: #0a1433;
  --ink: #eaf2ff;
  --ink-2: #a9bcdf;
  --ink-3: #7086b0;
  --line: rgba(140, 180, 255, 0.14);
  --line-2: rgba(140, 180, 255, 0.26);
  --sky: #7dd3fc;
  --cyan: #22d3ee;
  --blue: #3b82f6;
  --blue-2: #2563eb;
  --royal: #1d4ed8;
  --indigo: #6366f1;
  --violet: #818cf8;
  --grad: linear-gradient(120deg, #7dd3fc 0%, #38bdf8 22%, #3b82f6 52%, #6366f1 82%, #818cf8 100%);
  --grad-v: linear-gradient(180deg, #e0f2fe 0%, #93c5fd 38%, #3b82f6 72%, #6366f1 100%);
  --card: linear-gradient(162deg, rgba(23, 45, 110, 0.44), rgba(6, 14, 40, 0.62));
  --radius: 22px;
  --gutter: clamp(16px, 4vw, 48px);
  --nav-h: 76px;
  --f-display: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1200px 800px at 80% -10%, rgba(29, 78, 216, 0.28), transparent 60%),
    radial-gradient(900px 700px at -10% 30%, rgba(8, 145, 178, 0.14), transparent 60%),
    var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body.is-loading { overflow: hidden; }
img, svg, canvas, picture { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul { margin: 0; padding: 0; }
p { margin: 0 0 1em; }
strong, b { color: var(--ink); font-weight: 600; }
::selection { background: rgba(59, 130, 246, 0.5); color: #fff; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 8px; }

.icon { width: 1.15em; height: 1.15em; flex: none; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 300; padding: 10px 16px; border-radius: 12px;
  background: var(--blue-2); color: #fff; font-weight: 600; transform: translateY(-160%);
  transition: transform 0.3s var(--ease);
}
.skip-link:focus { transform: none; }
.container { width: min(1240px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hint {
  display: inline-flex; align-items: center; gap: 8px; margin: 0;
  font: 500 12px/1.4 var(--f-mono); letter-spacing: 0.06em; color: var(--ink-3);
}
.hint .icon { width: 14px; height: 14px; color: var(--sky); }

/* ---------- Keyframes ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-rev { to { transform: rotate(-360deg); } }
@keyframes breathe { 0%, 100% { opacity: 0.75; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes float-y { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
@keyframes pulse-ring { 0% { transform: scale(0.6); opacity: 0.9; } 100% { transform: scale(2.4); opacity: 0; } }
@keyframes shine { 0%, 60% { left: -60%; } 100% { left: 140%; } }
@keyframes rise {
  0% { transform: translate3d(0, 0, 0) scale(0.6); opacity: 0; }
  15% { opacity: 1; }
  100% { transform: translate3d(var(--dx, 10px), -320px, 0) scale(1); opacity: 0; }
}
@keyframes scan { 0% { top: -30%; } 100% { top: 100%; } }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 200; display: none;
  flex-direction: column; align-items: center; justify-content: center; gap: 34px;
  background:
    radial-gradient(600px 400px at 50% 45%, rgba(37, 99, 235, 0.22), transparent 70%),
    #01040f;
  clip-path: circle(150% at 50% 45%);
  transition: clip-path 1.25s var(--ease-io), opacity 0.6s ease 0.9s;
}
.js .preloader { display: flex; }
.preloader.is-done { clip-path: circle(0% at 50% 45%); opacity: 0; pointer-events: none; }
.preloader__core { position: relative; width: 168px; height: 168px; display: grid; place-items: center; }
.preloader__ring { position: absolute; inset: 0; transform: rotate(-90deg); }
.preloader__track { fill: none; stroke: rgba(125, 211, 252, 0.12); stroke-width: 3; }
.preloader__bar { fill: none; stroke-width: 3; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.9)); }
.preloader__orbit { position: absolute; inset: -18px; animation: spin 2.4s linear infinite; }
.preloader__orbit span {
  position: absolute; top: 0; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%;
  background: #e0f2fe; box-shadow: 0 0 14px 3px rgba(56, 189, 248, 0.9);
}
.preloader__mark {
  font-family: var(--f-display); font-weight: 700; font-size: 46px; letter-spacing: -0.04em;
  background: var(--grad-v); -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: breathe 2.2s ease-in-out infinite;
}
.preloader__meta { display: flex; flex-direction: column; align-items: center; gap: 8px; font-family: var(--f-mono); }
.preloader__label { font-size: 11px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--ink-3); }
.preloader__label::after { content: "_"; animation: blink 1s steps(1) infinite; }
.preloader__count { font-size: 15px; color: var(--sky); letter-spacing: 0.1em; }
.force-loaded .preloader { display: none !important; }

/* ---------- Ambient layers ---------- */
.cosmos {
  position: fixed; inset: 0; z-index: 0; width: 100vw; height: 100vh; height: 100lvh;
  pointer-events: none; opacity: 0; transition: opacity 1.6s ease;
}
.cosmos.is-ready { opacity: 1; }
.aurora { position: fixed; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.aurora span {
  position: absolute; width: 55vmax; height: 55vmax; border-radius: 50%;
  filter: blur(90px); opacity: 0.14; mix-blend-mode: screen; will-change: transform;
  animation: drift 28s ease-in-out infinite alternate;
}
.aurora span:nth-child(1) { background: #1d4ed8; top: -22vmax; left: -12vmax; }
.aurora span:nth-child(2) { background: #0891b2; bottom: -26vmax; right: -16vmax; animation-delay: -9s; }
.aurora span:nth-child(3) { background: #4338ca; top: 35%; left: 42%; width: 38vmax; height: 38vmax; opacity: 0.1; animation-delay: -18s; }
@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(6vmax, 4vmax, 0) scale(1.12); }
  100% { transform: translate3d(-4vmax, 7vmax, 0) scale(0.94); }
}
/* Star field fallback when WebGL is not available */
.no-webgl body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.8;
  background-image:
    radial-gradient(1px 1px at 20% 30%, #dbeafe 50%, transparent 51%),
    radial-gradient(1px 1px at 70% 20%, #bfdbfe 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 40% 80%, #e0f2fe 50%, transparent 51%),
    radial-gradient(1px 1px at 85% 65%, #93c5fd 50%, transparent 51%),
    radial-gradient(1px 1px at 10% 75%, #dbeafe 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 55% 50%, #7dd3fc 50%, transparent 51%);
  background-size: 260px 260px, 340px 340px, 420px 420px, 300px 300px, 380px 380px, 520px 520px;
}

.warp-fx { position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity 0.5s ease; }
.warp-fx::before, .warp-fx::after {
  content: ""; position: absolute; inset: -30%;
  background: repeating-conic-gradient(from 0deg at 50% 50%,
    rgba(125, 211, 252, 0) 0deg 2.2deg, rgba(186, 230, 253, 0.55) 2.4deg 2.6deg, rgba(125, 211, 252, 0) 2.8deg 5deg);
  -webkit-mask: radial-gradient(circle at 50% 50%, transparent 10%, #000 55%);
  mask: radial-gradient(circle at 50% 50%, transparent 10%, #000 55%);
  animation: warpzoom 0.7s linear infinite;
}
.warp-fx::after { animation-delay: -0.35s; transform: rotate(3deg); }
@keyframes warpzoom { from { transform: scale(0.55); opacity: 0; } 30% { opacity: 1; } to { transform: scale(1.7); opacity: 0; } }
.is-warping .warp-fx { opacity: 0.75; }

.grain {
  position: fixed; inset: 0; z-index: 80; pointer-events: none; opacity: 0.06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.trail { position: fixed; inset: 0; z-index: 90; width: 100vw; height: 100vh; pointer-events: none; }

/* Custom cursor */
.cursor { position: fixed; inset: 0; z-index: 100; pointer-events: none; display: none; transition: opacity 0.3s; }
.has-cursor .cursor { display: block; }
.has-cursor, .has-cursor * { cursor: none !important; }
.has-cursor input, .has-cursor textarea { cursor: text !important; }
.cursor.is-hidden, .cursor.is-text { opacity: 0; }
.cursor__dot {
  position: fixed; left: 0; top: 0; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%;
  background: #e0f2fe; box-shadow: 0 0 10px 2px rgba(56, 189, 248, 0.9);
}
.cursor__ring {
  position: fixed; left: 0; top: 0; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%;
  display: grid; place-items: center; border: 1.5px solid rgba(125, 211, 252, 0.7);
  transition: width 0.35s var(--ease), height 0.35s var(--ease), margin 0.35s var(--ease),
    background-color 0.35s, border-color 0.35s, box-shadow 0.35s, scale 0.25s var(--ease);
}
.cursor.is-hover .cursor__ring {
  width: 62px; height: 62px; margin: -31px 0 0 -31px;
  background: rgba(59, 130, 246, 0.14); border-color: rgba(186, 230, 253, 0.95);
}
.cursor.has-label .cursor__ring {
  width: 84px; height: 84px; margin: -42px 0 0 -42px;
  background: rgba(37, 99, 235, 0.88); border-color: rgba(125, 211, 252, 0.6);
  box-shadow: 0 0 34px rgba(59, 130, 246, 0.75);
}
.cursor.has-label .cursor__dot { opacity: 0; }
.cursor.is-down .cursor__ring { scale: 0.82; }
.cursor__label {
  font: 600 10.5px/1 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: #fff;
  opacity: 0; transition: opacity 0.2s;
}
.cursor.has-label .cursor__label { opacity: 1; }

/* Scroll progress */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; pointer-events: none; }
.progress span {
  display: block; height: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.9);
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 24px; border-radius: 999px; isolation: isolate; overflow: hidden;
  font-weight: 600; font-size: 15px; letter-spacing: 0.01em; white-space: nowrap;
  transition: transform 0.45s var(--ease), box-shadow 0.4s, background-color 0.3s, border-color 0.3s, color 0.3s;
}
.btn .icon { width: 18px; height: 18px; transition: translate 0.4s var(--ease); }
.btn:hover .icon { translate: 3px -1px; }
.btn--primary {
  color: #fff; background: linear-gradient(120deg, #1d4ed8, #3b82f6 45%, #22d3ee);
  box-shadow: 0 12px 34px -10px rgba(59, 130, 246, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: linear-gradient(120deg, #22d3ee, #3b82f6 50%, #6366f1); transition: opacity 0.4s;
}
.btn--primary:hover::before { opacity: 1; }
.btn--primary::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg); animation: shine 4.5s ease-in-out infinite;
}
.btn--ghost {
  color: var(--ink); background: rgba(15, 30, 70, 0.4); border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.btn--ghost:hover { border-color: rgba(125, 211, 252, 0.6); background: rgba(37, 99, 235, 0.22); }
.btn--glow {
  color: #fff; background: rgba(37, 99, 235, 0.28); border: 1px solid rgba(125, 211, 252, 0.45);
  box-shadow: inset 0 0 18px rgba(59, 130, 246, 0.35), 0 0 22px rgba(59, 130, 246, 0.25);
}
.btn--glow:hover { background: rgba(37, 99, 235, 0.5); }
.btn--sm { height: 42px; padding: 0 18px; font-size: 14px; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 14px; left: 50%; z-index: 50;
  width: min(1240px, 100% - 2 * var(--gutter)); height: 62px;
  display: flex; align-items: center; gap: 20px; padding: 0 10px 0 14px;
  border-radius: 999px; border: 1px solid transparent;
  transform: translateX(-50%);
  opacity: 0; translate: 0 -24px;
  transition: opacity 0.8s var(--ease) 0.9s, translate 0.9s var(--ease) 0.9s,
    background-color 0.4s, border-color 0.4s, box-shadow 0.4s, transform 0.5s var(--ease);
}
.is-loaded .nav, .force-loaded .nav { opacity: 1; translate: 0 0; }
.nav.is-scrolled {
  background: rgba(5, 12, 34, 0.62); border-color: var(--line);
  -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
.nav.is-hidden { transform: translate(-50%, -150%); }
.nav__brand { display: inline-flex; align-items: center; gap: 10px; transition: transform 0.45s var(--ease); }
.brand-mark { position: relative; width: 38px; height: 38px; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-mark text { font: 700 17px var(--f-display); fill: #e0f2fe; }
.brand-mark__orbit { position: absolute; inset: -3px; animation: spin 6s linear infinite; }
.brand-mark__orbit i {
  position: absolute; top: 0; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%;
  background: #7dd3fc; box-shadow: 0 0 10px #38bdf8;
}
.brand-text { font-family: var(--f-display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.brand-text .accent { color: var(--sky); }
.nav__links { display: flex; gap: 2px; margin-left: auto; }
.nav__links a {
  position: relative; padding: 8px 13px; border-radius: 999px; font-size: 14px; font-weight: 500;
  color: var(--ink-2); transition: color 0.25s, background-color 0.25s;
}
.nav__links a:hover { color: var(--ink); background: rgba(59, 130, 246, 0.14); }
.nav__links a.is-active { color: #fff; }
.nav__links a.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 1px; width: 4px; height: 4px; margin-left: -2px;
  border-radius: 50%; background: var(--sky); box-shadow: 0 0 8px var(--sky);
}
.nav__burger {
  display: none; position: relative; width: 46px; height: 46px; margin-left: auto; border-radius: 50%;
  border: 1px solid var(--line-2); background: rgba(10, 22, 58, 0.55);
}
.nav__burger span {
  position: absolute; left: 14px; right: 14px; height: 1.8px; border-radius: 2px; background: var(--ink);
  transition: transform 0.45s var(--ease), top 0.45s var(--ease);
}
.nav__burger span:nth-child(1) { top: 18px; }
.nav__burger span:nth-child(2) { top: 26px; }
.menu-open .nav__burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .nav__burger span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 49; display: flex; flex-direction: column; justify-content: center;
  padding: 110px var(--gutter) 40px;
  background: radial-gradient(circle at 85% 8%, rgba(37, 99, 235, 0.4), transparent 50%), rgba(2, 6, 23, 0.97);
  clip-path: circle(0% at calc(100% - 52px) 46px); visibility: hidden;
  transition: clip-path 0.8s var(--ease), visibility 0s linear 0.8s;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 52px) 46px); visibility: visible; transition: clip-path 0.8s var(--ease), visibility 0s; }
.mobile-menu__links { display: flex; flex-direction: column; }
.mobile-menu__links a {
  display: flex; align-items: baseline; gap: 14px; padding: 4px 0;
  font-family: var(--f-display); font-weight: 600; font-size: clamp(2rem, 9vw, 3.4rem); letter-spacing: -0.03em; line-height: 1.15;
  opacity: 0; translate: 0 30px; transition: opacity 0.5s, translate 0.7s var(--ease), color 0.25s;
  transition-delay: calc(var(--i) * 45ms + 120ms);
}
.mobile-menu__links a:hover { color: var(--sky); }
.menu-open .mobile-menu__links a { opacity: 1; translate: 0 0; }
.mobile-menu__links small { font: 500 12px/1 var(--f-mono); color: var(--sky); letter-spacing: 0.1em; }
.mobile-menu__foot { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 40px; font: 500 13px/1 var(--f-mono); letter-spacing: 0.06em; color: var(--ink-2); }

/* ---------- Hero ---------- */
.hero {
  position: relative; z-index: 2; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: stretch; padding-top: calc(var(--nav-h) + 6px); overflow: hidden;
}
.hero__grid {
  position: relative; width: min(1320px, 100% - 2 * var(--gutter)); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(12px, 3vw, 48px); align-items: center;
}
.hero__copy { position: relative; z-index: 6; padding-bottom: 8vh; will-change: transform; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0;
  padding: 8px 14px 8px 12px; border-radius: 999px; border: 1px solid var(--line-2);
  background: rgba(10, 22, 58, 0.5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font: 500 12px/1 var(--f-mono); letter-spacing: 0.08em; color: #cfe3ff;
}
.pulse-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #38bdf8; box-shadow: 0 0 10px #38bdf8; }
.pulse-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid #38bdf8; animation: pulse-ring 1.8s ease-out infinite; }

.hero__title {
  margin: 22px 0 18px; font-family: var(--f-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(2.9rem, 7.1vw, 7.3rem); line-height: 0.9; letter-spacing: -0.045em;
}
.hero__line { display: block; overflow: hidden; padding: 0.04em 0 0.06em; }
.hero__word { display: inline-block; color: #eaf2ff; text-shadow: 0 0 40px rgba(59, 130, 246, 0.25); }
.hero__word .char { display: inline-block; will-change: transform; }
.js .hero__word .char {
  transform: translateY(108%) rotate(6deg); opacity: 0;
  transition: transform 1.15s var(--ease), opacity 0.7s ease;
  transition-delay: calc(var(--i) * 42ms + 200ms);
}
.is-loaded .hero__word .char, .force-loaded .hero__word .char { transform: none; opacity: 1; }
.hero__word--grad .char, .hero__word--grad:not(.is-split) {
  background: var(--grad-v); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__word--grad { text-shadow: none; filter: drop-shadow(0 6px 30px rgba(59, 130, 246, 0.35)); }

.hero__line--outline { position: relative; }
.outline-text {
  display: inline-block; color: transparent;
  -webkit-text-stroke: 1.6px rgba(125, 211, 252, 0.85);
}
.js .outline-text { clip-path: inset(0 100% 0 0); transition: clip-path 1.5s var(--ease) 0.6s; }
.is-loaded .outline-text, .force-loaded .outline-text { clip-path: inset(0 0 0 0); }
.fill-text::before {
  content: attr(data-text);
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.fill-text {
  position: absolute; left: 0; top: 0.04em; pointer-events: none;
  -webkit-mask-image: radial-gradient(circle var(--r, 0px) at var(--x, -300px) var(--y, -300px), #000 30%, transparent 100%);
  mask-image: radial-gradient(circle var(--r, 0px) at var(--x, -300px) var(--y, -300px), #000 30%, transparent 100%);
  filter: drop-shadow(0 0 18px rgba(56, 189, 248, 0.55));
}

.hero__role {
  display: flex; align-items: center; gap: 12px; margin: 0 0 18px; min-height: 1.6em;
  font: 500 clamp(15px, 1.5vw, 19px)/1.4 var(--f-mono); color: var(--sky);
}
.hero__role-prefix { color: var(--ink-3); }
.scramble { color: #e0f2fe; }
.scramble__glyph { color: var(--blue); opacity: 0.8; }
.scramble::after { content: ""; display: inline-block; width: 0.55em; height: 1.1em; margin-left: 4px; vertical-align: -0.2em; background: var(--sky); animation: blink 1s steps(1) infinite; }
.hero__lede { max-width: 560px; margin: 0 0 30px; color: var(--ink-2); font-size: clamp(16px, 1.3vw, 18.5px); line-height: 1.7; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.socials { display: flex; gap: 10px; list-style: none; }
.socials a {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line-2); background: rgba(10, 22, 58, 0.5); color: #cfe3ff;
  transition: transform 0.45s var(--ease), border-color 0.3s, background-color 0.3s, color 0.3s, box-shadow 0.3s;
}
.socials a:hover { color: #fff; border-color: rgba(125, 211, 252, 0.7); background: rgba(37, 99, 235, 0.35); box-shadow: 0 0 22px rgba(59, 130, 246, 0.5); }
.socials .icon { width: 19px; height: 19px; }

/* Staggered hero entrance */
.js .hero__eyebrow, .js .hero__role, .js .hero__lede, .js .hero__ctas, .js .socials {
  opacity: 0; translate: 0 26px; transition: opacity 0.9s ease, translate 1.1s var(--ease);
}
.js .hero__eyebrow { transition-delay: 0.1s; }
.js .hero__role { transition-delay: 0.95s; }
.js .hero__lede { transition-delay: 1.08s; }
.js .hero__ctas { transition-delay: 1.2s; }
.js .socials { transition-delay: 1.32s; }
.is-loaded .hero__eyebrow, .is-loaded .hero__role, .is-loaded .hero__lede, .is-loaded .hero__ctas, .is-loaded .socials,
.force-loaded .hero__eyebrow, .force-loaded .hero__role, .force-loaded .hero__lede, .force-loaded .hero__ctas, .force-loaded .socials {
  opacity: 1; translate: 0 0;
}

/* Hero visual */
.hero__stage {
  position: relative; align-self: end; height: min(calc(100svh - var(--nav-h) - 6px), 940px);
  perspective: 1400px; will-change: transform;
}
.hero__visual { position: absolute; inset: 0; transform-style: flat; will-change: transform; }

.portal {
  position: absolute; left: 50%; top: 30%; width: min(94%, 580px); aspect-ratio: 1; z-index: 1;
  transform: translate(calc(-50% + var(--px, 0px)), calc(-50% + var(--py, 0px)));
}
.js .portal { opacity: 0; scale: 0.4; transition: opacity 1.2s ease 0.15s, scale 1.8s var(--ease) 0.15s; }
.is-loaded .portal, .force-loaded .portal { opacity: 1; scale: 1; }
.portal__glow {
  position: absolute; inset: -14%; border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.55) 0%, rgba(34, 211, 238, 0.16) 38%, transparent 66%);
  filter: blur(26px); animation: breathe 6s ease-in-out infinite;
}
.portal__disc {
  position: absolute; inset: 9%; border-radius: 50%;
  background:
    radial-gradient(circle at 50% 40%, rgba(37, 99, 235, 0.38), rgba(2, 6, 23, 0) 70%),
    repeating-radial-gradient(circle, rgba(125, 211, 252, 0.09) 0 1px, transparent 1px 15px),
    repeating-conic-gradient(from 0deg, rgba(125, 211, 252, 0.07) 0 1deg, transparent 1deg 15deg);
  -webkit-mask: radial-gradient(circle, #000 52%, transparent 71%);
  mask: radial-gradient(circle, #000 52%, transparent 71%);
  animation: spin 80s linear infinite;
}
.portal__ring {
  position: absolute; inset: 0; border-radius: 50%;
  filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.95)) drop-shadow(0 0 22px rgba(59, 130, 246, 0.6));
  animation: spin 9s linear infinite;
}
.portal__ring::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; padding: 2px;
  background: conic-gradient(from 0deg, transparent 0 14%, #7dd3fc 27%, #3b82f6 40%, transparent 52% 62%, #818cf8 79%, transparent 92%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.portal__ring--2 { inset: 7.5%; opacity: 0.75; animation-duration: 13s; animation-direction: reverse; }
.portal__ring--3 { inset: -6%; opacity: 0.4; animation-duration: 30s; filter: none; }
.portal__ring--3::before {
  padding: 1px;
  background: repeating-conic-gradient(rgba(125, 211, 252, 0.9) 0 1.5deg, transparent 1.5deg 7deg);
}

.orbit {
  position: absolute; left: 50%; top: 56%; width: min(118%, 700px); aspect-ratio: 1; pointer-events: none;
  transform: translate(-50%, -50%) rotate(-14deg) rotateX(74deg);
}
.js .orbit .orbit__ring { opacity: 0; scale: 0.6; transition: opacity 1s ease 0.7s, scale 1.6s var(--ease) 0.7s; }
.is-loaded .orbit .orbit__ring, .force-loaded .orbit .orbit__ring { opacity: 1; scale: 1; }
.orbit--back { z-index: 2; }
.orbit--front { z-index: 5; clip-path: inset(50% 0 0 0); }
.orbit__ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid rgba(125, 211, 252, 0.6);
  box-shadow: 0 0 24px rgba(59, 130, 246, 0.6), inset 0 0 24px rgba(59, 130, 246, 0.45);
}
.orbit__ring::before {
  content: ""; position: absolute; inset: 6%; border-radius: 50%;
  border: 1px dashed rgba(129, 140, 248, 0.45); animation: spin 40s linear infinite;
}
.orbit__ring::after {
  content: ""; position: absolute; inset: -5%; border-radius: 50%;
  border: 1px solid rgba(56, 189, 248, 0.18);
}
.planet {
  position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 50%; z-index: 2;
  background: radial-gradient(circle at 35% 30%, #fff, #7dd3fc 30%, #2563eb 70%, #1e3a8a);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.95), 0 0 40px rgba(59, 130, 246, 0.55);
  will-change: transform; opacity: 0; transition: opacity 1s ease 1.2s;
}
.is-loaded .planet, .force-loaded .planet { opacity: 1; }
.planet--2 { width: 10px; height: 10px; background: radial-gradient(circle at 35% 30%, #fff, #c7d2fe 30%, #6366f1 70%, #312e81); box-shadow: 0 0 14px rgba(129, 140, 248, 0.95); }
.planet--3 { width: 7px; height: 7px; background: #e0f2fe; box-shadow: 0 0 12px #7dd3fc; }

.hero__photo {
  position: absolute; left: 50%; bottom: 0; z-index: 4; height: 95%; aspect-ratio: 758 / 1367;
  transform: translate(calc(-50% + var(--px, 0px)), var(--py, 0px));
}
.js .hero__photo { opacity: 0; translate: 0 70px; transition: opacity 1.3s ease 0.25s, translate 1.8s var(--ease) 0.25s; }
.is-loaded .hero__photo, .force-loaded .hero__photo { opacity: 1; translate: 0 0; }
.hero__photo img {
  width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%;
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 99%);
  mask-image: linear-gradient(to bottom, #000 78%, transparent 99%);
  filter: drop-shadow(0 0 22px rgba(59, 130, 246, 0.35)) drop-shadow(0 -2px 1px rgba(125, 211, 252, 0.25));
}

.sparks { position: absolute; inset: 0; z-index: 6; pointer-events: none; }
.sparks i {
  position: absolute; bottom: 12%; width: 3px; height: 3px; border-radius: 50%;
  background: #bae6fd; box-shadow: 0 0 10px 1px #38bdf8; opacity: 0;
  animation: rise 7s linear infinite;
}
.sparks i:nth-child(1) { left: 18%; animation-delay: -1s; --dx: 14px; }
.sparks i:nth-child(2) { left: 28%; animation-delay: -3.4s; --dx: -10px; animation-duration: 8s; }
.sparks i:nth-child(3) { left: 37%; animation-delay: -5.2s; --dx: 22px; }
.sparks i:nth-child(4) { left: 46%; animation-delay: -0.6s; --dx: -18px; animation-duration: 9s; }
.sparks i:nth-child(5) { left: 55%; animation-delay: -2.2s; --dx: 8px; width: 2px; height: 2px; }
.sparks i:nth-child(6) { left: 63%; animation-delay: -4.4s; --dx: -12px; }
.sparks i:nth-child(7) { left: 71%; animation-delay: -6.1s; --dx: 16px; animation-duration: 6s; }
.sparks i:nth-child(8) { left: 80%; animation-delay: -1.8s; --dx: -20px; width: 2px; height: 2px; }
.sparks i:nth-child(9) { left: 24%; animation-delay: -6.8s; --dx: 6px; animation-duration: 10s; }
.sparks i:nth-child(10) { left: 76%; animation-delay: -3.9s; --dx: -6px; animation-duration: 8.5s; }

.hud { position: absolute; z-index: 7; transform: translate(var(--px, 0px), var(--py, 0px)); }
.js .hud { opacity: 0; scale: 0.7; transition: opacity 0.8s ease, scale 1s var(--ease); }
.is-loaded .hud, .force-loaded .hud { opacity: 1; scale: 1; }
.hud--a { left: -2%; top: 22%; transition-delay: 1.45s; }
.hud--b { right: -6%; top: 43%; transition-delay: 1.6s; }
.hud--c { left: 0%; top: 68%; transition-delay: 1.75s; }
.hud__inner {
  display: flex; align-items: center; gap: 11px; padding: 10px 16px 10px 10px; border-radius: 16px;
  background: rgba(8, 20, 54, 0.62); border: 1px solid rgba(125, 211, 252, 0.28);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  animation: float 6s ease-in-out infinite;
}
.hud--b .hud__inner { animation-delay: -2s; }
.hud--c .hud__inner { animation-delay: -4s; }
.hud__icon {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; color: #fff;
  background: linear-gradient(135deg, #2563eb, #38bdf8); box-shadow: 0 6px 16px -4px rgba(37, 99, 235, 0.9);
}
.hud__icon--ai { background: linear-gradient(135deg, #6366f1, #38bdf8); }
.hud__icon .icon { width: 18px; height: 18px; }
.hud__text { display: flex; flex-direction: column; line-height: 1.25; }
.hud__text b { font-size: 13.5px; font-family: var(--f-display); }
.hud__text small { font-size: 11.5px; color: var(--ink-2); }
.hud__bars { display: flex; align-items: flex-end; gap: 3px; height: 32px; padding: 0 4px; }
.hud__bars i { width: 5px; border-radius: 2px; background: linear-gradient(180deg, #7dd3fc, #2563eb); animation: bars 1.8s ease-in-out infinite; }
.hud__bars i:nth-child(1) { height: 40%; animation-delay: -0.2s; }
.hud__bars i:nth-child(2) { height: 70%; animation-delay: -0.5s; }
.hud__bars i:nth-child(3) { height: 50%; animation-delay: -0.9s; }
.hud__bars i:nth-child(4) { height: 90%; animation-delay: -1.2s; }
.hud__bars i:nth-child(5) { height: 65%; animation-delay: -1.5s; }
@keyframes bars { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(0.45); } }
.hud__bars i { transform-origin: 50% 100%; }

.warp-btn {
  position: absolute; right: var(--gutter); bottom: 30px; z-index: 8;
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  font: 600 12px/1 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: #e0f2fe;
  background: rgba(10, 22, 58, 0.55); border: 1px solid rgba(125, 211, 252, 0.35);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: transform 0.45s var(--ease), background-color 0.3s, box-shadow 0.3s, opacity 0.8s ease 1.9s;
}
.js .warp-btn { opacity: 0; }
.is-loaded .warp-btn, .force-loaded .warp-btn { opacity: 1; }
.warp-btn .icon { width: 15px; height: 15px; color: #fde68a; }
.warp-btn:hover { background: rgba(37, 99, 235, 0.45); box-shadow: 0 0 26px rgba(59, 130, 246, 0.6); }
.is-warping .warp-btn { background: rgba(37, 99, 235, 0.7); box-shadow: 0 0 36px rgba(56, 189, 248, 0.8); }

.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; z-index: 8; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font: 500 10.5px/1 var(--f-mono); letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-3);
  transition: opacity 0.8s ease 2s;
}
.js .scroll-cue { opacity: 0; }
.is-loaded .scroll-cue, .force-loaded .scroll-cue { opacity: 1; }
.scroll-cue__mouse { position: relative; width: 22px; height: 34px; border-radius: 12px; border: 1.5px solid rgba(125, 211, 252, 0.55); }
.scroll-cue__mouse i {
  position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px;
  background: var(--sky); animation: wheel 1.8s ease-in-out infinite;
}
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Sections ---------- */
main { position: relative; z-index: 2; overflow-x: clip; }
.section { position: relative; z-index: 2; padding: clamp(96px, 15vh, 170px) 0; }
.section-head { max-width: 920px; margin-bottom: clamp(42px, 7vh, 76px); }
.section-head--center { margin-inline: auto; text-align: center; display: flex; justify-content: center; }
.section-tag {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 18px;
  font: 500 12px/1 var(--f-mono); letter-spacing: 0.22em; text-transform: uppercase; color: var(--sky);
}
.section-tag span {
  display: inline-grid; place-items: center; min-width: 36px; height: 25px; padding: 0 9px; border-radius: 999px;
  border: 1px solid rgba(125, 211, 252, 0.42); background: rgba(14, 165, 233, 0.1); color: #e0f2fe; letter-spacing: 0.08em;
}
.section-tag::after { content: ""; width: 64px; height: 1px; background: linear-gradient(90deg, rgba(125, 211, 252, 0.75), transparent); }
.section-head--center .section-tag::before { content: ""; width: 64px; height: 1px; background: linear-gradient(270deg, rgba(125, 211, 252, 0.75), transparent); }
.section-title {
  margin: 0; font-family: var(--f-display); font-weight: 600;
  font-size: clamp(2.05rem, 4.7vw, 4.3rem); line-height: 1.04; letter-spacing: -0.035em;
}
.section-title em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-title.is-split em { background: none; color: inherit; }
.section-title.is-split em .wi { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.section-title .wi { display: inline-block; transform: translateY(112%) rotate(5deg); transition: transform 1.05s var(--ease) calc(var(--i) * 38ms); }
.section-title.is-in .wi, .force-loaded .section-title .wi { transform: none; }

/* Reveal on scroll */
.js [data-reveal] {
  opacity: 0; transform: translateY(42px);
  transition: opacity 1s ease var(--d, 0ms), transform 1.2s var(--ease) var(--d, 0ms);
}
.js [data-reveal="zoom"] { transform: translateY(30px) scale(0.9); }
.js [data-reveal="side"] { transform: translateX(var(--side, 60px)); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.force-loaded [data-reveal] { opacity: 1 !important; transform: none !important; }

/* Spotlight cards */
[data-spotlight] { position: relative; isolation: isolate; }
[data-spotlight]::before {
  content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; padding: 1px; pointer-events: none;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(125, 211, 252, 0.95), rgba(59, 130, 246, 0.35) 32%, transparent 62%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.35s;
}
[data-spotlight]::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 50%), rgba(59, 130, 246, 0.16), transparent 45%);
  opacity: 0; transition: opacity 0.35s;
}
.spot-group:hover [data-spotlight]::before, .spot-group:hover [data-spotlight]::after,
[data-spotlight]:hover::before, [data-spotlight]:hover::after { opacity: 1; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.chips li {
  padding: 5px 10px; border-radius: 999px; font-size: 12px; line-height: 1.35; color: #cfe3ff;
  background: rgba(14, 30, 80, 0.62); border: 1px solid rgba(125, 211, 252, 0.18);
}
.chips--sm li { font-size: 11.5px; padding: 4px 9px; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.about__card { position: sticky; top: 110px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.idcard { width: min(340px, 100%); aspect-ratio: 340 / 500; perspective: 1200px; cursor: pointer; border-radius: 24px; }
.idcard__inner {
  position: relative; width: 100%; height: 100%; transform-style: preserve-3d;
  transition: transform 0.9s var(--ease);
}
.idcard.is-tilting .idcard__inner { transition: transform 0.14s linear; }
.idcard__face {
  position: absolute; inset: 0; display: flex; flex-direction: column; padding: 22px; overflow: hidden;
  border-radius: 24px; -webkit-backface-visibility: hidden; backface-visibility: hidden;
  background:
    radial-gradient(400px 260px at 100% 0%, rgba(56, 189, 248, 0.18), transparent 60%),
    linear-gradient(155deg, #0f2760 0%, #081638 55%, #0b1d4a 100%);
  border: 1px solid rgba(125, 211, 252, 0.38);
  box-shadow: 0 34px 80px -24px rgba(1, 4, 15, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 60px rgba(59, 130, 246, 0.25);
}
.idcard__back { transform: rotateY(180deg); align-items: center; justify-content: center; text-align: center; gap: 14px; }
.idcard__holo {
  position: absolute; inset: 0; z-index: 3; pointer-events: none; mix-blend-mode: color-dodge; opacity: 0.32;
  background: repeating-linear-gradient(112deg,
    rgba(56, 189, 248, 0) 0%, rgba(56, 189, 248, 0.32) 6%, rgba(129, 140, 248, 0.38) 10%,
    rgba(34, 211, 238, 0.3) 14%, rgba(56, 189, 248, 0) 20%);
  background-size: 300% 300%; background-position: var(--hx, 50%) var(--hy, 50%);
  transition: opacity 0.4s;
}
.idcard:hover .idcard__holo { opacity: 0.62; }
.idcard__glare {
  position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: 0; mix-blend-mode: overlay;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 30%), rgba(255, 255, 255, 0.5), transparent 46%);
  transition: opacity 0.4s;
}
.idcard:hover .idcard__glare { opacity: 1; }
.idcard__top { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; }
.idcard__chip {
  position: relative; width: 42px; height: 31px; border-radius: 7px;
  background: linear-gradient(135deg, #fde68a, #f59e0b 42%, #b45309 70%, #fcd34d);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.25);
}
.idcard__chip::before {
  content: ""; position: absolute; inset: 6px 8px; border-radius: 3px;
  border: 1px solid rgba(120, 53, 15, 0.55); border-left: 0; border-right: 0;
}
.idcard__org { font: 600 11px/1 var(--f-mono); letter-spacing: 0.3em; text-transform: uppercase; color: var(--sky); }
.idcard__photo {
  position: relative; z-index: 1; margin: 14px 0 14px; border-radius: 16px; overflow: hidden;
  flex: 1 1 0; min-height: 0; border: 1px solid rgba(125, 211, 252, 0.28); background: #0b1d4a;
}
.idcard__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; filter: saturate(1.05) contrast(1.04); }
.idcard__photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(8, 22, 56, 0.85)), linear-gradient(120deg, rgba(37, 99, 235, 0.22), transparent 55%);
}
.idcard__scan {
  position: absolute; left: 0; right: 0; z-index: 1; height: 32%;
  background: linear-gradient(180deg, transparent, rgba(125, 211, 252, 0.22), transparent);
  mix-blend-mode: screen; animation: scan 3.8s ease-in-out infinite;
}
.idcard__name { position: relative; z-index: 2; font-family: var(--f-display); font-weight: 700; font-size: 23px; line-height: 1.06; letter-spacing: -0.02em; }
.idcard__role { position: relative; z-index: 2; margin-top: 6px; font: 500 12.5px/1.3 var(--f-mono); letter-spacing: 0.04em; color: var(--sky); }
.idcard__meta { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(125, 211, 252, 0.18); font-size: 12.5px; color: var(--ink); }
.idcard__meta small { display: block; margin-bottom: 2px; font: 500 9.5px/1.4 var(--f-mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); }
.idcard__barcode {
  position: relative; z-index: 2; height: 24px; margin-top: 12px; border-radius: 3px; opacity: 0.5;
  background: repeating-linear-gradient(90deg, rgba(224, 242, 254, 0.85) 0 2px, transparent 2px 4px, rgba(224, 242, 254, 0.85) 4px 5px, transparent 5px 9px, rgba(224, 242, 254, 0.85) 9px 12px, transparent 12px 14px);
}
.mt-logo { display: flex; flex-direction: column; align-items: center; }
.mt-logo__word {
  font-family: var(--f-display); font-weight: 700; font-size: 34px; letter-spacing: 0.08em; line-height: 1;
  background: linear-gradient(180deg, #fff, #93c5fd); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.mt-logo__sub {
  display: flex; align-items: center; gap: 10px; margin-top: 6px; padding-left: 0.6em;
  font: 600 12px/1 var(--f-mono); letter-spacing: 0.6em; color: var(--sky);
}
.mt-logo__sub::before, .mt-logo__sub::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: 0.7; }
.idcard__tagline { position: relative; z-index: 2; margin: 6px 0 0; font-family: var(--f-display); font-weight: 600; font-size: 22px; line-height: 1.15; }
.idcard__qr { position: relative; z-index: 2; width: 132px; height: 132px; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.06), 0 0 30px rgba(59, 130, 246, 0.4); }
.idcard__qr svg { width: 100%; height: 100%; }
.idcard__qr--fallback {
  background:
    linear-gradient(90deg, #fff 0 0) 0 0 / 100% 100%,
    repeating-conic-gradient(#0b1636 0 25%, #fff 0 50%) 0 0 / 22px 22px;
  background-blend-mode: multiply;
}
.idcard__scanme { position: relative; z-index: 2; margin: 0; font: 500 11px/1 var(--f-mono); letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-2); }

.about__text .lead { font-family: var(--f-display); font-size: clamp(1.3rem, 2.1vw, 1.75rem); line-height: 1.4; color: var(--ink); letter-spacing: -0.01em; }
.about__text p { color: var(--ink-2); font-size: 16.5px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 30px 0 0; }
.facts div { padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: rgba(8, 18, 48, 0.42); }
.facts dt { display: flex; align-items: center; gap: 8px; font: 500 11px/1 var(--f-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.facts dt .icon { width: 14px; height: 14px; color: var(--sky); }
.facts dd { margin: 8px 0 0; font-weight: 600; font-size: 15px; color: var(--ink); }
.traits { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top: 18px; }
.traits li {
  padding: 7px 13px; border-radius: 999px; font-size: 13px; color: #dbeafe;
  background: linear-gradient(120deg, rgba(37, 99, 235, 0.22), rgba(99, 102, 241, 0.16)); border: 1px solid rgba(125, 211, 252, 0.25);
}
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 34px; }
.stat { padding: 20px 16px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.stat__num {
  display: block; font-family: var(--f-display); font-weight: 700; font-size: clamp(2rem, 3.3vw, 3rem); line-height: 1; letter-spacing: -0.04em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat__label { display: block; margin-top: 10px; font-size: 13px; line-height: 1.4; color: var(--ink-2); }

/* ---------- Skills ---------- */
.skills { overflow: hidden; padding-bottom: clamp(36px, 6vh, 72px); }
.skills__grid { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.sphere-wrap { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1; margin-inline: auto; display: grid; place-items: center; }
.sphere-wrap::before, .sphere-wrap::after {
  content: ""; position: absolute; inset: 6%; border-radius: 50%; pointer-events: none;
  border: 1px solid rgba(125, 211, 252, 0.16);
}
.sphere-wrap::before { transform: rotateX(72deg); animation: ring-spin 18s linear infinite; border-color: rgba(125, 211, 252, 0.3); }
.sphere-wrap::after { transform: rotateY(72deg); animation: ring-spin-y 24s linear infinite; }
@keyframes ring-spin { to { transform: rotateX(72deg) rotateZ(360deg); } }
@keyframes ring-spin-y { to { transform: rotateY(72deg) rotateZ(-360deg); } }
.sphere { position: absolute; inset: 0; z-index: 1; }
.sphere__tag {
  position: absolute; left: 50%; top: 50%; white-space: nowrap; will-change: transform, opacity;
  padding: 7px 12px; border-radius: 999px; font: 600 clamp(12px, 1.15vw, 14.5px)/1 var(--f-display); color: #dbeafe;
  background: rgba(13, 32, 84, 0.66); border: 1px solid rgba(125, 211, 252, 0.26);
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.sphere__tag:hover { background: rgba(37, 99, 235, 0.92); color: #fff; border-color: #7dd3fc; box-shadow: 0 0 22px rgba(59, 130, 246, 0.85); }
.sphere-core {
  width: 44%; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 35% 30%, rgba(186, 230, 253, 0.55), rgba(37, 99, 235, 0.28) 40%, rgba(2, 6, 23, 0) 70%);
  box-shadow: 0 0 90px rgba(59, 130, 246, 0.35); animation: breathe 5s ease-in-out infinite;
}
.sphere-wrap .hint { position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%); white-space: nowrap; }
.skill-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.skill-card { padding: 22px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.skill-card__icon {
  display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 14px; border-radius: 12px;
  color: var(--sky); background: rgba(37, 99, 235, 0.18); border: 1px solid rgba(125, 211, 252, 0.3);
}
.skill-card h3 { margin: 0 0 6px; font-family: var(--f-display); font-size: 19px; letter-spacing: -0.01em; }
.skill-card p { margin: 0 0 14px; font-size: 14px; line-height: 1.55; color: var(--ink-2); }

.marquee {
  position: relative; margin-top: clamp(72px, 11vh, 130px); padding: 20px 0; overflow: hidden;
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.1), rgba(34, 211, 238, 0.07), rgba(99, 102, 241, 0.1));
  transform: rotate(-2deg) scale(1.05);
}
.marquee__track { display: flex; align-items: center; gap: 34px; width: max-content; will-change: transform; }
.marquee__track span {
  font-family: var(--f-display); font-weight: 700; font-size: clamp(2rem, 5vw, 4.4rem); letter-spacing: -0.03em;
  text-transform: uppercase; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(125, 211, 252, 0.6);
}
.marquee__track span:nth-child(4n + 1) { color: #dbeafe; -webkit-text-stroke: 0; }
.marquee__track i { font-style: normal; font-size: 1.5rem; color: var(--sky); }

/* ---------- Journey / timeline ---------- */
.timeline { position: relative; max-width: 1120px; margin-inline: auto; }
.timeline__line { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; border-radius: 2px; background: rgba(125, 211, 252, 0.13); overflow: hidden; }
.timeline__fill {
  position: absolute; inset: 0; transform-origin: 50% 0; transform: scaleY(0);
  background: linear-gradient(180deg, #22d3ee, #3b82f6 50%, #818cf8);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.9);
}
.tl-item { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 96px; margin-bottom: 34px; }
.tl-item:last-child { margin-bottom: 0; }
.tl-item:nth-of-type(odd) .tl-card { grid-column: 1; --side: -70px; }
.tl-item:nth-of-type(even) .tl-card { grid-column: 2; --side: 70px; }
.tl-node {
  position: absolute; left: 50%; top: 22px; z-index: 2; width: 46px; height: 46px; margin-left: -23px; border-radius: 50%;
  display: grid; place-items: center; color: var(--ink-3); background: #071233; border: 1px solid rgba(125, 211, 252, 0.3);
  transition: color 0.5s, background-color 0.5s, border-color 0.5s, box-shadow 0.5s, transform 0.5s var(--ease);
}
.tl-node .icon { width: 19px; height: 19px; }
.tl-item.is-active .tl-node {
  color: #fff; border-color: transparent; transform: scale(1.06);
  background: linear-gradient(135deg, #2563eb, #22d3ee);
  box-shadow: 0 0 0 7px rgba(59, 130, 246, 0.16), 0 0 30px rgba(56, 189, 248, 0.85);
}
.tl-card {
  padding: 24px 26px; border-radius: 20px; background: var(--card); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.tl-date {
  display: inline-block; margin-bottom: 14px; padding: 6px 11px; border-radius: 999px;
  font: 600 11.5px/1 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: #06122e;
  background: linear-gradient(120deg, #7dd3fc, #60a5fa);
}
.tl-card h3 { margin: 0 0 4px; font-family: var(--f-display); font-size: 20.5px; line-height: 1.22; letter-spacing: -0.01em; }
.tl-org { margin: 0 0 12px; font-size: 14px; font-weight: 500; color: var(--sky); }
.tl-card p { margin: 0 0 12px; font-size: 15px; color: var(--ink-2); }
.tl-card p:last-child { margin-bottom: 0; }
.tl-points { display: grid; gap: 8px; list-style: none; font-size: 15px; color: var(--ink-2); }
.tl-points li { position: relative; padding-left: 18px; }
.tl-points li::before {
  content: ""; position: absolute; left: 1px; top: 0.62em; width: 7px; height: 7px; border-radius: 2px;
  background: linear-gradient(135deg, #7dd3fc, #3b82f6); transform: rotate(45deg);
}

/* ---------- Work ---------- */
.work { position: relative; z-index: 2; }
.work__pin { position: relative; }
.work__track {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px;
  width: min(1240px, 100% - 2 * var(--gutter)); margin-inline: auto; padding: clamp(96px, 15vh, 170px) 0;
}
.work__intro { grid-column: 1 / -1; max-width: 680px; margin-bottom: 18px; }
.work__intro .section-title { font-size: clamp(2.05rem, 4.2vw, 3.8rem); }
.work__intro .section-title em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.work__hint { display: none; align-items: center; gap: 12px; margin: 26px 0 0; font: 500 12px/1 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.work__hint-line { position: relative; width: 70px; height: 1px; overflow: hidden; background: rgba(125, 211, 252, 0.25); }
.work__hint-line::after { content: ""; position: absolute; inset: 0; background: var(--sky); animation: hint-line 1.8s var(--ease-io) infinite; }
@keyframes hint-line { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.work__progress { display: none; }

.work.is-horizontal .work__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.work.is-horizontal .work__track {
  display: flex; align-items: center; gap: 30px; width: max-content; margin: 0;
  padding: 40px 10vw 40px max(var(--gutter), calc((100vw - 1240px) / 2));
}
.work.is-horizontal .work__intro { flex: 0 0 min(440px, 32vw); margin: 0 30px 0 0; }
.work.is-horizontal .work__hint { display: flex; }
.work.is-horizontal .project { flex: 0 0 auto; width: min(500px, 37vw); }
.work.is-horizontal .project--cta { width: min(400px, 30vw); align-self: stretch; }
.work.is-horizontal .work__progress {
  display: block; position: absolute; left: 50%; bottom: 34px; width: min(320px, 40vw); height: 2px; margin-left: min(-160px, -20vw);
  border-radius: 2px; background: rgba(125, 211, 252, 0.15); overflow: hidden;
}
.work__progress span { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--grad); }

.project { position: relative; display: block; border-radius: 26px; cursor: pointer; transition: transform 0.7s var(--ease); }
.project.is-tilting { transition: transform 0.12s linear; }
.project__inner {
  position: relative; height: 100%; overflow: hidden; border-radius: 26px;
  background: linear-gradient(165deg, rgba(23, 45, 110, 0.58), rgba(6, 14, 40, 0.82));
  border: 1px solid var(--line); box-shadow: 0 40px 80px -34px rgba(0, 0, 0, 0.85);
  transition: border-color 0.4s, box-shadow 0.4s;
}
.project:hover .project__inner { border-color: rgba(125, 211, 252, 0.45); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9), 0 0 50px rgba(59, 130, 246, 0.22); }
.project__inner::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, 0.12), transparent 45%);
}
.project:hover .project__inner::after { opacity: 1; }
.project__visual { position: relative; height: 232px; overflow: hidden; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #081638, #040a1f); }
.project__body { position: relative; padding: 24px 26px 26px; }
.project__num {
  position: absolute; right: 22px; top: -36px; font-family: var(--f-display); font-weight: 700; font-size: 66px; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(125, 211, 252, 0.4);
}
.project__kicker { margin: 0 0 10px; font: 500 11.5px/1.3 var(--f-mono); letter-spacing: 0.15em; text-transform: uppercase; color: var(--sky); }
.project__title { margin: 0 0 10px; font-family: var(--f-display); font-size: 24px; line-height: 1.16; letter-spacing: -0.02em; }
.project__text { margin: 0 0 16px; font-size: 15px; color: var(--ink-2); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin-bottom: 18px; }
.tags li { padding: 5px 9px; border-radius: 8px; font: 500 11.5px/1.2 var(--f-mono); color: #bfdbfe; background: rgba(37, 99, 235, 0.15); border: 1px solid rgba(125, 211, 252, 0.2); }
.project__more {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  font-weight: 600; font-size: 14px; color: #e0f2fe; background: rgba(37, 99, 235, 0.16); border: 1px solid rgba(125, 211, 252, 0.35);
  transition: background-color 0.3s, gap 0.3s var(--ease);
}
.project__more:hover { background: rgba(37, 99, 235, 0.42); gap: 12px; }
.project__more .icon { width: 16px; height: 16px; }

.project--cta {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 26px;
  min-height: 420px; padding: 40px; overflow: hidden; border-radius: 26px;
  border: 1px dashed rgba(125, 211, 252, 0.4); background: radial-gradient(circle at 70% 30%, rgba(59, 130, 246, 0.24), transparent 60%);
  grid-column: 1 / -1;
}
.project--cta__orb {
  position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #bae6fd, #3b82f6 45%, #1e3a8a 80%);
  box-shadow: 0 0 80px rgba(59, 130, 246, 0.6); opacity: 0.55; animation: breathe 6s ease-in-out infinite;
}
.project--cta__text { position: relative; font-family: var(--f-display); font-weight: 700; font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.02; letter-spacing: -0.035em; }
.project--cta__text em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.project--cta__btn { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; border-radius: 999px; font-weight: 600; color: #fff; background: linear-gradient(120deg, #1d4ed8, #3b82f6 45%, #22d3ee); box-shadow: 0 12px 30px -10px rgba(59, 130, 246, 0.9); transition: gap 0.3s var(--ease); }
.project--cta:hover .project--cta__btn { gap: 16px; }

/* Project mini-visuals */
.pv-ems { display: grid; place-items: center; background: radial-gradient(circle at 50% 120%, rgba(59, 130, 246, 0.4), transparent 60%), linear-gradient(180deg, #081638, #040a1f); }
.pv-ems__grid { display: grid; grid-template-columns: repeat(3, 96px); gap: 10px; margin-top: 18px; }
.pv-ems__grid span {
  display: grid; place-items: center; height: 44px; border-radius: 10px; font: 600 11px/1 var(--f-mono); letter-spacing: 0.03em;
  color: #9fb7e8; background: rgba(15, 35, 90, 0.6); border: 1px solid rgba(125, 211, 252, 0.18);
  animation: tile 5.4s ease-in-out infinite;
}
.pv-ems__grid span:nth-child(1) { animation-delay: 0s; }
.pv-ems__grid span:nth-child(2) { animation-delay: 0.3s; }
.pv-ems__grid span:nth-child(3) { animation-delay: 0.6s; }
.pv-ems__grid span:nth-child(4) { animation-delay: 0.9s; }
.pv-ems__grid span:nth-child(5) { animation-delay: 1.2s; }
.pv-ems__grid span:nth-child(6) { animation-delay: 1.5s; }
.pv-ems__grid span:nth-child(7) { animation-delay: 1.8s; }
.pv-ems__grid span:nth-child(8) { animation-delay: 2.1s; }
.pv-ems__grid span:nth-child(9) { animation-delay: 2.4s; }
@keyframes tile {
  0%, 60%, 100% { background: rgba(15, 35, 90, 0.6); color: #9fb7e8; box-shadow: none; }
  12%, 30% { background: linear-gradient(135deg, #2563eb, #22d3ee); color: #fff; box-shadow: 0 0 22px rgba(56, 189, 248, 0.6); }
}
.pv-ems__login { position: absolute; top: 16px; left: 18px; display: flex; align-items: center; gap: 8px; font: 600 11px/1 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--sky); }
.pv-ems__login i { width: 8px; height: 8px; border-radius: 50%; background: #38bdf8; box-shadow: 0 0 10px #38bdf8; animation: blink 1.6s steps(1) infinite; }

.pv-chat { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px; background: radial-gradient(circle at 0% 100%, rgba(99, 102, 241, 0.3), transparent 55%), linear-gradient(180deg, #081638, #040a1f); }
.pv-chat__msg { max-width: 80%; padding: 10px 14px; border-radius: 16px; font-size: 13.5px; line-height: 1.4; }
.pv-chat__msg--me { align-self: flex-end; color: #fff; background: linear-gradient(135deg, #2563eb, #3b82f6); border-bottom-right-radius: 4px; animation: chat-me 7s ease infinite; }
.pv-chat__msg--ai { position: relative; align-self: flex-start; min-width: 72px; min-height: 40px; color: #dbeafe; background: rgba(15, 35, 90, 0.75); border: 1px solid rgba(125, 211, 252, 0.25); border-bottom-left-radius: 4px; }
.pv-chat__typing { position: absolute; left: 14px; top: 15px; display: inline-flex; gap: 4px; animation: chat-typing 7s ease infinite; }
.pv-chat__typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--sky); animation: dots 1s ease-in-out infinite; }
.pv-chat__typing i:nth-child(2) { animation-delay: 0.15s; }
.pv-chat__typing i:nth-child(3) { animation-delay: 0.3s; }
.pv-chat__answer { display: block; animation: chat-answer 7s ease infinite; }
@keyframes dots { 0%, 100% { transform: translateY(0); opacity: 0.5; } 50% { transform: translateY(-4px); opacity: 1; } }
@keyframes chat-me { 0% { opacity: 0; translate: 0 10px; } 6%, 92% { opacity: 1; translate: 0 0; } 100% { opacity: 0; } }
@keyframes chat-typing { 0%, 12% { opacity: 0; } 16%, 36% { opacity: 1; } 40%, 100% { opacity: 0; } }
@keyframes chat-answer { 0%, 38% { opacity: 0; } 44%, 92% { opacity: 1; } 100% { opacity: 0; } }
.pv-chat__score {
  display: flex; align-items: center; gap: 10px; margin-top: auto; padding: 8px 12px; border-radius: 12px; font-size: 12px;
  background: rgba(8, 18, 48, 0.75); border: 1px solid rgba(125, 211, 252, 0.2); color: var(--ink-2);
}
.pv-chat__score b { color: var(--sky); }
.pv-chat__score em { margin-left: auto; font-style: normal; color: var(--ink-3); font-family: var(--f-mono); font-size: 11px; }

.pv-cal { display: grid; place-items: center; background: radial-gradient(circle at 100% 0%, rgba(56, 189, 248, 0.25), transparent 50%), linear-gradient(180deg, #081638, #040a1f); }
.pv-cal__grid { display: grid; grid-template-columns: repeat(7, 34px); gap: 7px; }
.pv-cal__grid i { height: 27px; border-radius: 7px; background: rgba(15, 35, 90, 0.6); border: 1px solid rgba(125, 211, 252, 0.12); }
.pv-cal__grid i.on { background: linear-gradient(135deg, #2563eb, #38bdf8); border-color: transparent; box-shadow: 0 0 12px rgba(56, 189, 248, 0.45); }
.pv-cal__grid i.pend { border: 1px dashed #7dd3fc; animation: breathe 1.6s ease-in-out infinite; }
.pv-cal__toast {
  position: absolute; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px;
  font-size: 12.5px; font-weight: 600; color: #e0f2fe; background: rgba(8, 20, 54, 0.9); border: 1px solid rgba(125, 211, 252, 0.4);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45); animation: toast-pop 5s var(--ease) infinite;
}
.pv-cal__toast .icon { width: 15px; height: 15px; color: #38bdf8; }
@keyframes toast-pop { 0%, 18% { opacity: 0; translate: 0 16px; } 26%, 80% { opacity: 1; translate: 0 0; } 90%, 100% { opacity: 0; translate: 0 8px; } }

.pv-weld { background: radial-gradient(circle at 50% 64%, rgba(125, 211, 252, 0.4), transparent 26%), linear-gradient(180deg, #0a1433, #040a1f); }
.pv-weld__beam {
  position: absolute; left: 8%; right: 8%; top: 64%; height: 18px; border-radius: 3px;
  background: linear-gradient(180deg, #475569, #1e293b 60%, #0f172a); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 10px 20px rgba(0, 0, 0, 0.5);
}
.pv-weld__beam::before { content: ""; position: absolute; left: 0; right: 0; top: -40px; height: 40px; background: linear-gradient(90deg, transparent 47%, #334155 47% 53%, transparent 53%); }
.pv-weld__sparks { position: absolute; left: 50%; top: 64%; }
.pv-weld__sparks::before {
  content: ""; position: absolute; left: -14px; top: -14px; width: 28px; height: 28px; border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, #bae6fd 30%, rgba(56, 189, 248, 0.6) 55%, transparent 72%);
  animation: flicker 0.12s steps(2) infinite;
}
@keyframes flicker { 50% { opacity: 0.65; transform: scale(0.85); } }
.pv-weld__sparks i {
  position: absolute; left: -1px; top: -10px; width: 2px; height: 10px; border-radius: 2px; transform-origin: 50% 100%;
  background: linear-gradient(#fff, #7dd3fc); box-shadow: 0 0 6px #38bdf8;
  animation: spark 1.1s linear infinite;
}
.pv-weld__sparks i:nth-child(1) { --a: -78deg; animation-delay: -0.05s; }
.pv-weld__sparks i:nth-child(2) { --a: -64deg; animation-delay: -0.5s; }
.pv-weld__sparks i:nth-child(3) { --a: -50deg; animation-delay: -0.2s; }
.pv-weld__sparks i:nth-child(4) { --a: -36deg; animation-delay: -0.8s; }
.pv-weld__sparks i:nth-child(5) { --a: -22deg; animation-delay: -0.35s; }
.pv-weld__sparks i:nth-child(6) { --a: -8deg; animation-delay: -0.95s; }
.pv-weld__sparks i:nth-child(7) { --a: 8deg; animation-delay: -0.15s; }
.pv-weld__sparks i:nth-child(8) { --a: 22deg; animation-delay: -0.65s; }
.pv-weld__sparks i:nth-child(9) { --a: 36deg; animation-delay: -0.3s; }
.pv-weld__sparks i:nth-child(10) { --a: 50deg; animation-delay: -0.85s; }
.pv-weld__sparks i:nth-child(11) { --a: 64deg; animation-delay: -0.45s; }
.pv-weld__sparks i:nth-child(12) { --a: 78deg; animation-delay: -0.7s; }
@keyframes spark {
  0% { transform: rotate(var(--a)) translateY(0) scaleY(0.4); opacity: 1; }
  100% { transform: rotate(var(--a)) translateY(-92px) scaleY(1.1); opacity: 0; }
}
.pv-weld__site { position: absolute; left: 20px; top: 18px; display: flex; flex-direction: column; gap: 4px; }
.pv-weld__site b { font-family: var(--f-display); font-size: 18px; letter-spacing: 0.24em; }
.pv-weld__site span { font-size: 11.5px; color: var(--ink-3); }

.pv-hub { display: grid; place-items: center; background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.3), transparent 55%), linear-gradient(180deg, #081638, #040a1f); }
.pv-hub__svg { width: 86%; height: auto; overflow: visible; }
.pv-hub__lines path { fill: none; stroke: rgba(125, 211, 252, 0.65); stroke-width: 1.6; stroke-dasharray: 4 8; animation: flow 1.1s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -24; } }
.pv-hub__nodes circle { fill: #0b1d4d; stroke: #7dd3fc; stroke-width: 1.6; }
.pv-hub__core { fill: #2563eb; stroke: #bae6fd; stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: breathe 2.4s ease-in-out infinite; }
.pv-hub__label { font: 700 15px var(--f-display); fill: #fff; letter-spacing: 0.06em; }

.pv-chart { background: radial-gradient(circle at 100% 0%, rgba(99, 102, 241, 0.28), transparent 50%), linear-gradient(180deg, #081638, #040a1f); }
.pv-chart__svg { position: absolute; inset: 18px 14px 10px; width: calc(100% - 28px); height: calc(100% - 28px); }
.pv-chart__grid path { stroke: rgba(125, 211, 252, 0.1); stroke-width: 1; }
.pv-chart__candles path { stroke: rgba(125, 211, 252, 0.55); stroke-width: 1.5; }
.pv-chart__candles rect { fill: #2563eb; }
.pv-chart__candles rect:nth-of-type(3n) { fill: #22d3ee; }
.pv-chart__line { fill: none; stroke: url(#gradStroke); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 4.5s var(--ease-io) infinite; filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.8)); }
@keyframes draw { 0% { stroke-dashoffset: 1; } 55%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.pv-chart__badge { position: absolute; right: 16px; top: 14px; padding: 6px 10px; border-radius: 8px; font: 600 11px/1 var(--f-mono); letter-spacing: 0.12em; color: #06122e; background: linear-gradient(120deg, #7dd3fc, #60a5fa); }

/* ---------- Mufudzi Tech ---------- */
.mt-hero { text-align: center; margin-bottom: clamp(48px, 8vh, 90px); }
.particle-wrap { position: relative; width: 100%; height: clamp(140px, 21vw, 270px); }
.particle-text { width: 100%; height: 100%; }
.mt-tagline {
  display: flex; flex-direction: column; align-items: center; margin: 8px 0 18px;
  font-family: var(--f-display); font-weight: 700; font-size: clamp(2rem, 5vw, 4.4rem); line-height: 1.02; letter-spacing: -0.035em;
}
.mt-tagline__accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 30px rgba(59, 130, 246, 0.35)); }
.mt-sub { max-width: 640px; margin: 0 auto; font-size: clamp(16px, 1.4vw, 19px); color: var(--ink-2); }
.glitch { position: relative; display: inline-block; }
.glitch::before, .glitch::after { content: attr(data-text); position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.glitch::before { color: #22d3ee; animation: glitch-a 3.4s infinite steps(1); }
.glitch::after { color: #818cf8; animation: glitch-b 2.9s infinite steps(1); }
@keyframes glitch-a {
  0%, 84%, 100% { opacity: 0; transform: none; clip-path: inset(0 0 100% 0); }
  86% { opacity: 0.9; transform: translate(-4px, -1px); clip-path: inset(8% 0 58% 0); }
  89% { opacity: 0.9; transform: translate(3px, 1px); clip-path: inset(62% 0 8% 0); }
  92% { opacity: 0.9; transform: translate(-2px, 0); clip-path: inset(30% 0 42% 0); }
  95% { opacity: 0; }
}
@keyframes glitch-b {
  0%, 78%, 100% { opacity: 0; transform: none; clip-path: inset(0 0 100% 0); }
  80% { opacity: 0.85; transform: translate(4px, 1px); clip-path: inset(50% 0 20% 0); }
  83% { opacity: 0.85; transform: translate(-3px, -1px); clip-path: inset(12% 0 64% 0); }
  86% { opacity: 0; }
}

.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.service {
  padding: 26px 22px; border-radius: 22px; background: var(--card); border: 1px solid var(--line);
  transition: translate 0.5s var(--ease);
}
.service:hover { translate: 0 -6px; }
.service__icon {
  display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 18px; border-radius: 50%; color: #fff;
  background: radial-gradient(circle at 35% 30%, #60a5fa, #1d4ed8 70%);
  box-shadow: 0 10px 26px -6px rgba(37, 99, 235, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: rotate 0.6s var(--ease), scale 0.6s var(--ease);
}
.service__icon .icon { width: 24px; height: 24px; }
.service:hover .service__icon { rotate: -10deg; scale: 1.08; }
.service h3 { margin: 0 0 6px; font-family: var(--f-display); font-size: 19px; }
.service p { margin: 0; font-size: 14.5px; color: var(--ink-2); }

.mt-showcase { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: center; margin-top: clamp(72px, 11vh, 130px); }
.flier-wrap { position: relative; max-width: 430px; width: 100%; margin-inline: auto; perspective: 1400px; animation: float-y 7s ease-in-out infinite; }
.flier {
  position: relative; border-radius: 18px; overflow: hidden; cursor: pointer;
  transform: rotateY(-14deg) rotateX(6deg) rotateZ(1deg);
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(125, 211, 252, 0.28), 0 0 90px rgba(59, 130, 246, 0.3);
  transition: transform 0.8s var(--ease);
}
.flier.is-tilting { transition: transform 0.12s linear; }
.flier img { width: 100%; height: auto; }
.flier__glare {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at var(--gx, 30%) var(--gy, 20%), rgba(255, 255, 255, 0.35), transparent 42%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.1), transparent 40%);
  mix-blend-mode: overlay;
}
.flier-shadow { position: absolute; left: 12%; right: 12%; bottom: -46px; height: 40px; border-radius: 50%; background: radial-gradient(ellipse, rgba(59, 130, 246, 0.5), transparent 70%); filter: blur(14px); }
.mt-cta h3 { margin: 0 0 12px; font-family: var(--f-display); font-size: clamp(1.9rem, 3.3vw, 2.9rem); line-height: 1.05; letter-spacing: -0.03em; }
.mt-cta > p { max-width: 520px; margin: 0 0 24px; color: var(--ink-2); }
.cta-line {
  display: flex; align-items: center; gap: 16px; max-width: 430px; margin-bottom: 12px; padding: 14px 18px; border-radius: 18px;
  background: rgba(8, 18, 48, 0.5); border: 1px solid var(--line);
  transition: transform 0.45s var(--ease), border-color 0.3s, background-color 0.3s;
}
.cta-line:hover { border-color: rgba(125, 211, 252, 0.55); background: rgba(37, 99, 235, 0.2); }
.cta-line__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: #fff; background: linear-gradient(135deg, #2563eb, #38bdf8); box-shadow: 0 8px 22px -6px rgba(37, 99, 235, 0.85); }
.cta-line__icon--wa { background: linear-gradient(135deg, #0284c7, #22d3ee); }
.cta-line__icon .icon { width: 22px; height: 22px; }
.cta-line > span:last-child { font-family: var(--f-display); font-weight: 700; font-size: 24px; letter-spacing: 0.01em; }
.cta-line small { display: block; margin-bottom: 4px; font: 500 11px/1 var(--f-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.mt-cta__row { margin-top: 18px; }
.founder { display: flex; align-items: center; gap: 12px; color: var(--ink-2); }
.mt-cta > p.founder { margin: 28px 0 0; }
.founder__avatar { width: 48px; height: 48px; flex: none; overflow: hidden; border-radius: 50%; border: 2px solid rgba(125, 211, 252, 0.55); box-shadow: 0 0 18px rgba(59, 130, 246, 0.5); }
.founder__avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.founder b { display: block; }
.founder small { font-size: 13px; }

/* ---------- Honours ---------- */
.medals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: clamp(52px, 8vh, 84px); }
.medal {
  position: relative; overflow: hidden; padding: 34px 24px 28px; border-radius: 26px; text-align: center;
  background: linear-gradient(170deg, rgba(23, 45, 110, 0.48), rgba(6, 14, 40, 0.65)); border: 1px solid var(--line);
}
.medal::before {
  content: ""; position: absolute; left: 50%; top: 26px; width: 220px; height: 220px; margin-left: -110px; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent, rgba(56, 189, 248, 0.38), transparent 30%, rgba(99, 102, 241, 0.38), transparent 60%);
  filter: blur(18px); animation: spin 10s linear infinite;
}
.medal--gold::before { background: conic-gradient(from 0deg, transparent, rgba(251, 191, 36, 0.35), transparent 30%, rgba(56, 189, 248, 0.35), transparent 60%); }
.medal__stage { position: relative; width: 150px; height: 150px; margin: 0 auto 22px; perspective: 800px; transition: transform 0.7s var(--ease); }
.medal__stage.is-tilting { transition: transform 0.12s linear; }
.coin { position: absolute; inset: 0; transform-style: preserve-3d; animation: coin-idle 6s ease-in-out infinite; }
.medal:hover .coin { animation: coin-spin 1.5s var(--ease) both; }
@keyframes coin-idle { 0%, 100% { transform: rotateY(-20deg) rotateX(6deg); } 50% { transform: rotateY(20deg) rotateX(-4deg); } }
@keyframes coin-spin { from { transform: rotateY(0deg); } to { transform: rotateY(360deg); } }
.coin__face {
  position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 6px; border-radius: 50%;
  -webkit-backface-visibility: hidden; backface-visibility: hidden; color: #fff; font: 700 12px/1 var(--f-mono); letter-spacing: 0.2em;
  background: radial-gradient(circle at 32% 28%, #e0f2fe 0%, #7dd3fc 18%, #2563eb 55%, #1e3a8a 100%);
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.24), inset 0 0 0 9px rgba(30, 58, 138, 0.55), inset 0 -12px 26px rgba(2, 6, 23, 0.45), 0 0 40px rgba(59, 130, 246, 0.45);
}
.coin__face .icon { width: 50px; height: 50px; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.35)); }
.coin__face--front { transform: translateZ(4px); }
.coin__face--back { transform: rotateY(180deg) translateZ(4px); font-size: 16px; }
.coin__edge { position: absolute; inset: 0; border-radius: 50%; background: #1e40af; transform: translateZ(var(--z)); }
.medal--gold .coin__face {
  color: #451a03;
  background: radial-gradient(circle at 32% 28%, #fffbeb 0%, #fde68a 18%, #f59e0b 55%, #92400e 100%);
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.4), inset 0 0 0 9px rgba(146, 64, 14, 0.45), inset 0 -12px 26px rgba(69, 26, 3, 0.35), 0 0 40px rgba(251, 191, 36, 0.4);
}
.medal--gold .coin__edge { background: #b45309; }
.medal h3 { position: relative; margin: 0 0 6px; font-family: var(--f-display); font-size: 21px; }
.medal p { position: relative; margin: 0; font-size: 14.5px; color: var(--ink-2); }
.medal__year { position: relative; display: inline-block; margin-top: 14px; padding: 6px 11px; border-radius: 999px; font: 600 11px/1 var(--f-mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--sky); border: 1px solid rgba(125, 211, 252, 0.38); }

.honours__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.mini-title { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font-family: var(--f-display); font-size: 20px; }
.mini-title .icon { width: 22px; height: 22px; color: var(--sky); }
.achievements { list-style: none; }
.achievements li { display: flex; gap: 16px; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.achievements li:first-child { padding-top: 4px; }
.achievements__dot { flex: none; width: 12px; height: 12px; margin-top: 6px; border-radius: 50%; background: linear-gradient(135deg, #7dd3fc, #3b82f6); box-shadow: 0 0 12px rgba(56, 189, 248, 0.85); }
.achievements b { display: block; }
.achievements small { font-size: 14px; color: var(--ink-2); }
.certs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; list-style: none; }
.cert { padding: 16px; border-radius: 16px; background: rgba(8, 18, 48, 0.5); border: 1px solid var(--line); }
.cert__year { display: inline-block; margin-bottom: 10px; padding: 4px 7px; border-radius: 6px; font: 600 10.5px/1 var(--f-mono); letter-spacing: 0.14em; color: #06122e; background: #7dd3fc; }
.cert b { display: block; font-size: 15px; line-height: 1.3; }
.cert small { font-size: 13px; color: var(--ink-3); }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.contact__lede { max-width: 560px; margin: -24px 0 28px; font-size: 18px; color: var(--ink-2); }
.contact-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 24px; }
.contact-card {
  display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; border-radius: 18px; text-align: left;
  background: rgba(8, 18, 48, 0.55); border: 1px solid var(--line);
  transition: translate 0.45s var(--ease), background-color 0.3s;
}
.contact-card:hover { translate: 0 -3px; background: rgba(23, 45, 110, 0.55); }
.contact-card__icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 13px; color: var(--sky); background: rgba(37, 99, 235, 0.2); border: 1px solid rgba(125, 211, 252, 0.3); }
.contact-card__icon .icon { width: 20px; height: 20px; }
.contact-card > span:nth-child(2) { min-width: 0; font-weight: 600; font-size: 14.5px; overflow-wrap: anywhere; }
.contact-card small { display: block; margin-bottom: 3px; font: 400 10.5px/1.3 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.contact-card__go { width: 16px; height: 16px; margin-left: auto; color: var(--ink-3); transition: color 0.3s, translate 0.4s var(--ease); }
.contact-card:hover .contact-card__go { color: var(--sky); translate: 2px -2px; }
.contact-form { padding: 22px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); }
.field { position: relative; margin-bottom: 14px; }
.field input, .field textarea {
  width: 100%; padding: 24px 16px 10px; border-radius: 14px; resize: vertical; font: inherit; color: var(--ink);
  background: rgba(2, 6, 23, 0.6); border: 1px solid var(--line-2); transition: border-color 0.3s, box-shadow 0.3s;
}
.field textarea { min-height: 104px; }
.field input:focus, .field textarea:focus { outline: none; border-color: #60a5fa; box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.22); }
.field label { position: absolute; left: 17px; top: 17px; color: var(--ink-3); pointer-events: none; transform-origin: 0 0; transition: transform 0.25s var(--ease), color 0.25s; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-11px) scale(0.76); color: var(--sky); }
.contact-form__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-form__note { min-height: 1.2em; margin: 12px 0 0; font-size: 13.5px; color: var(--sky); }
.contact__globe { position: relative; }
.globe { position: relative; width: 100%; max-width: 580px; aspect-ratio: 1; margin-inline: auto; }
.globe::before {
  content: ""; position: absolute; inset: 12%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.25), transparent 70%); filter: blur(30px);
}
.globe canvas { position: relative; width: 100%; height: 100%; touch-action: pan-y; }
.globe--fallback canvas { display: none; }
.globe--fallback::after {
  content: ""; position: absolute; inset: 14%; border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(125, 211, 252, 0.5), transparent 40%),
    repeating-radial-gradient(circle at 50% 50%, rgba(125, 211, 252, 0.18) 0 1px, transparent 1px 18px),
    radial-gradient(circle, #0b2a6b, #030b24 70%);
  box-shadow: 0 0 80px rgba(59, 130, 246, 0.55), inset 0 0 60px rgba(125, 211, 252, 0.25);
}
.globe-label { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 6px; color: var(--ink-2); }
.globe-label__pin { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--sky); background: rgba(37, 99, 235, 0.22); border: 1px solid rgba(125, 211, 252, 0.38); }
.globe-label__pin::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid #38bdf8; animation: pulse-ring 2s ease-out infinite; }
.globe-label__pin .icon { width: 18px; height: 18px; }
.globe-label b { display: block; color: var(--ink); }
.globe-label small { font: 400 12.5px/1.3 var(--f-mono); letter-spacing: 0.03em; }

/* ---------- Footer ---------- */
.footer { position: relative; z-index: 2; overflow: hidden; padding: 30px 0 34px; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(2, 6, 23, 0), rgba(2, 6, 23, 0.85)); }
.footer__big {
  padding: 18px 0 28px; text-align: center; white-space: nowrap; user-select: none;
  font-family: var(--f-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(2.4rem, 10.6vw, 11.5rem); line-height: 0.9; letter-spacing: -0.05em;
  color: transparent; -webkit-text-stroke: 1px rgba(125, 211, 252, 0.4);
}
.footer__big .ch { display: inline-block; transition: color 0.4s; will-change: transform; }
.footer__big .ch.is-lit { color: rgba(125, 211, 252, 0.9); -webkit-text-stroke-color: transparent; }
.footer__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--ink-3); }
.footer__row p { margin: 0; }
.to-top {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; color: #fff;
  background: linear-gradient(135deg, #2563eb, #22d3ee); box-shadow: 0 12px 30px -8px rgba(37, 99, 235, 0.9);
  transition: transform 0.45s var(--ease);
}
.to-top .icon { width: 22px; height: 22px; }
.to-top.is-launching .icon { animation: launch 1.1s var(--ease) forwards; }
@keyframes launch { 0% { transform: none; } 30% { transform: translateY(4px); } 100% { transform: translateY(-140px) scale(0.6); opacity: 0; } }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(2, 6, 23, 0.74); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; transition: opacity 0.4s; }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal__panel {
  position: relative; width: min(780px, 100%); max-height: min(86vh, 900px); overflow: auto; overscroll-behavior: contain;
  padding: clamp(26px, 4vw, 46px); border-radius: 26px;
  background: radial-gradient(500px 300px at 100% 0%, rgba(56, 189, 248, 0.16), transparent 60%), linear-gradient(165deg, #0d2152, #060f2c 62%);
  border: 1px solid rgba(125, 211, 252, 0.32);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7), 0 0 80px rgba(59, 130, 246, 0.25);
  opacity: 0; transform: translateY(30px) scale(0.96); transition: transform 0.55s var(--ease), opacity 0.4s;
}
.modal.is-open .modal__panel { opacity: 1; transform: none; }
.modal__close {
  position: absolute; right: 16px; top: 16px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(37, 99, 235, 0.2); border: 1px solid rgba(125, 211, 252, 0.32); transition: background-color 0.3s, rotate 0.4s var(--ease);
}
.modal__close:hover { background: rgba(37, 99, 235, 0.5); rotate: 90deg; }
.modal__kicker { margin: 0 0 12px; font: 500 12px/1.3 var(--f-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--sky); }
.modal__title { margin: 0 52px 14px 0; font-family: var(--f-display); font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.08; letter-spacing: -0.03em; }
.modal__intro { font-size: 16.5px; color: var(--ink-2); }
.modal__h { margin: 26px 0 12px; font-family: var(--f-display); font-size: 18px; }
.modal__list { display: grid; gap: 10px; list-style: none; }
.modal__list li { position: relative; padding-left: 30px; color: var(--ink-2); }
.modal__list li .icon { position: absolute; left: 0; top: 3px; width: 20px; height: 20px; padding: 3px; border-radius: 50%; color: #06122e; background: linear-gradient(135deg, #7dd3fc, #3b82f6); }
.modal__list b { color: var(--ink); }
.modal__role { margin-top: 24px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(2, 6, 23, 0.4); color: var(--ink-2); font-size: 15px; }
.modal__role b { color: var(--sky); }
.modal .tags { margin-top: 18px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 150; max-width: calc(100% - 32px);
  padding: 12px 18px; border-radius: 999px; pointer-events: none;
  font-size: 14px; font-weight: 500; color: #e0f2fe; background: rgba(10, 25, 70, 0.92); border: 1px solid rgba(125, 211, 252, 0.42);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(59, 130, 246, 0.3);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transform: translate(-50%, 160%); transition: transform 0.5s var(--ease);
}
.toast.is-show { transform: translate(-50%, 0); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hud--b { right: -2%; }
}
@media (max-width: 1023px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .project--cta { min-height: 300px; }
}
@media (max-height: 760px) and (min-width: 1024px) {
  .project__visual { height: 180px; }
  .project__text { font-size: 14px; }
  .project__body { padding: 20px 22px 22px; }
}
@media (max-width: 899px) {
  :root { --nav-h: 70px; }
  .nav { top: 10px; height: 58px; }
  .hero { padding-top: calc(var(--nav-h) + 4px); min-height: auto; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hero__stage { order: -1; height: min(66svh, 600px); margin-bottom: -7svh; }
  .hero__copy { padding-bottom: 110px; }
  .hero__title { margin-top: 18px; }
  .hud--a { left: 0; top: 18%; }
  .hud--b { right: 0; top: 40%; }
  .hud--c { left: 2%; top: 62%; }
  .hud__inner { padding: 8px 12px 8px 8px; }
  .hud__icon { width: 30px; height: 30px; }
  .hud__text b { font-size: 12px; }
  .hud__text small { font-size: 10.5px; }
  .warp-btn { bottom: 24px; }
  .scroll-cue { display: none; }

  .about__grid { grid-template-columns: minmax(0, 1fr); }
  .about__card { position: relative; top: 0; }
  .skills__grid { grid-template-columns: minmax(0, 1fr); }
  .sphere-wrap { max-width: 420px; }

  .timeline__line { left: 23px; }
  .tl-item { grid-template-columns: minmax(0, 1fr); column-gap: 0; padding-left: 66px; }
  .tl-item:nth-of-type(odd) .tl-card, .tl-item:nth-of-type(even) .tl-card { grid-column: 1; --side: 40px; }
  .tl-node { left: 0; margin-left: 0; top: 18px; }

  .work__track { grid-template-columns: minmax(0, 1fr); }
  .mt-showcase { grid-template-columns: minmax(0, 1fr); }
  .medals { grid-template-columns: minmax(0, 1fr); max-width: 460px; margin-inline: auto; }
  .honours__grid { grid-template-columns: minmax(0, 1fr); }
  .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .contact__globe { order: -1; max-width: 460px; width: 100%; margin-inline: auto; }
}
@media (max-width: 599px) {
  body { font-size: 15.5px; }
  .hero__eyebrow-loc { display: none; }
  .hero__title { font-size: clamp(2.6rem, 12.6vw, 3.6rem); }
  .hero__ctas .btn { flex: 1 1 auto; }
  .warp-btn span { display: none; }
  .warp-btn { padding: 11px; }
  .skill-cards { grid-template-columns: minmax(0, 1fr); }
  .services { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-cards { grid-template-columns: minmax(0, 1fr); }
  .certs { grid-template-columns: minmax(0, 1fr); }
  .pv-ems__grid { grid-template-columns: repeat(3, 84px); }
  .pv-cal__grid { grid-template-columns: repeat(7, 30px); gap: 6px; }
  .project__title { font-size: 22px; }
  .cta-line > span:last-child { font-size: 21px; }
  .footer__row { justify-content: center; text-align: center; }
  .contact-form__actions .btn { flex: 1 1 100%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .section-title .wi { transform: none; }
  .aurora, .warp-fx { display: none; }
}
