/* =========================================================
   DAKSH PANDYA — multi-page site
   Brand: NormShift-inspired blue→indigo→red, dark, tech-forward.
   No dependencies. Shared across all pages.
   ========================================================= */

:root {
  --bg: #060812;
  --bg-2: #0b0f1c;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #eef1f7;
  --muted: #9aa3b8;
  --faint: #626b82;
  --blue: #3b82f6;
  --blue-bright: #60a5fa;
  --indigo: #6366f1;
  --red: #ef4444;
  --pink: #f43f5e;
  --grad: linear-gradient(120deg, #60a5fa 0%, #6366f1 38%, #f43f5e 100%);
  --grad-soft: linear-gradient(120deg, rgba(96,165,250,.16), rgba(244,63,94,.16));
  --radius: 18px;
  --radius-lg: 26px;
  --maxw: 1180px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font-head: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
  min-height: 100vh;
}
::selection { background: rgba(244,63,94,.32); color: #fff; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* =========================================================
   BACKGROUND LAYERS
   ========================================================= */
#net, .bg-grid, .bg-orbs, .bg-noise {
  position: fixed; inset: 0; pointer-events: none;
}
#net { z-index: -4; opacity: .9; }
.bg-grid {
  z-index: -3;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 100% 80% at 50% 0%, #000 30%, transparent 78%);
          mask-image: radial-gradient(ellipse 100% 80% at 50% 0%, #000 30%, transparent 78%);
}
.bg-orbs { z-index: -2; }
.orb { position: absolute; border-radius: 50%; filter: blur(100px); opacity: .42; will-change: transform; }
.orb-1 { width: 540px; height: 540px; top: -160px; left: -120px;
  background: radial-gradient(circle, rgba(59,130,246,.6), transparent 70%); animation: float1 24s var(--ease) infinite; }
.orb-2 { width: 460px; height: 460px; top: 18%; right: -150px;
  background: radial-gradient(circle, rgba(244,63,94,.55), transparent 70%); animation: float2 28s var(--ease) infinite; }
.orb-3 { width: 620px; height: 620px; bottom: -240px; left: 32%;
  background: radial-gradient(circle, rgba(99,102,241,.45), transparent 70%); animation: float3 32s var(--ease) infinite; }
@keyframes float1 { 50% { transform: translate(120px, 90px) scale(1.1); } }
@keyframes float2 { 50% { transform: translate(-110px, 120px) scale(1.15); } }
@keyframes float3 { 50% { transform: translate(80px, -90px) scale(.92); } }
.bg-noise {
  z-index: -1; opacity: .03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* =========================================================
   PAGE TRANSITION WIPE
   ========================================================= */
.page-wipe {
  position: fixed; inset: 0; z-index: 9998; pointer-events: none;
  background: var(--grad); transform: scaleY(0); transform-origin: bottom;
}
.page-wipe.in  { animation: wipeIn .5s var(--ease) forwards; }
.page-wipe.out { animation: wipeOut .55s var(--ease) forwards; }
@keyframes wipeIn  { from { transform: scaleY(0); transform-origin: bottom; } to { transform: scaleY(1); transform-origin: bottom; } }
@keyframes wipeOut { from { transform: scaleY(1); transform-origin: top; } to { transform: scaleY(0); transform-origin: top; } }

/* =========================================================
   SCROLL PROGRESS
   ========================================================= */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%; background: var(--grad);
  z-index: 100; box-shadow: 0 0 14px rgba(244,63,94,.6);
}

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px clamp(20px, 5vw, 56px);
  transition: padding .4s var(--ease), background .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  padding-top: 13px; padding-bottom: 13px;
  background: rgba(6,8,18,.72); backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%); border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 13px; font-family: var(--font-head); font-weight: 600; }
.brand-mark {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px;
  background: var(--grad); color: #fff; font-size: 15px; font-weight: 700; letter-spacing: -0.02em;
  box-shadow: 0 6px 20px rgba(99,102,241,.4); position: relative; overflow: hidden;
}
.brand-mark::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.5) 50%, transparent 70%); transform: translateX(-120%); animation: shine 5s ease-in-out infinite; }
@keyframes shine { 0%, 70% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.brand-text { font-size: 17px; font-weight: 600; letter-spacing: -0.012em; color: var(--text); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  position: relative; font-size: 14px; color: var(--muted); padding: 9px 15px; border-radius: 10px;
  transition: color .25s, background .25s; font-weight: 500;
}
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: ""; position: absolute; bottom: 1px; left: 50%; translate: -50% 0;
  height: 2px; width: 18px; background: var(--grad); border-radius: 2px;
}
.nav-cta {
  color: var(--text) !important; border: 1px solid var(--border-strong);
  background: var(--surface); margin-left: 8px;
}
.nav-cta:hover { border-color: var(--blue-bright); box-shadow: 0 0 22px rgba(96,165,250,.25); }
.nav-cta.active::after { display: none; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s var(--ease); }

/* =========================================================
   GENERIC LAYOUT + TYPE
   ========================================================= */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(72px, 11vh, 140px) clamp(20px, 5vw, 40px); }
.section.tight { padding-top: clamp(40px, 6vh, 80px); }
.section-head { margin-bottom: clamp(40px, 6vw, 64px); max-width: 800px; }
.eyebrow {
  display: inline-block; font-family: "JetBrains Mono", monospace; font-size: 12.5px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--blue-bright); margin-bottom: 18px;
  padding: 5px 12px; border: 1px solid var(--border); border-radius: 100px; background: var(--surface);
}
h1, h2, h3 { font-family: var(--font-head); line-height: 1.1; font-weight: 600; letter-spacing: -0.022em; overflow-wrap: break-word; }
.section-head h2 { font-size: clamp(30px, 5vw, 50px); }
.section-head p.lead { color: var(--muted); font-size: 18px; margin-top: 18px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* Page intro header (sub-pages) */
.page-head { max-width: var(--maxw); margin: 0 auto; padding: clamp(120px, 18vh, 200px) clamp(20px,5vw,40px) clamp(30px,5vw,50px); }
.page-head .eyebrow { margin-bottom: 22px; }
.page-head h1 { font-size: clamp(31px, 7.4vw, 78px); margin-bottom: 22px; }
.page-head p { color: var(--muted); font-size: clamp(16px, 2vw, 20px); max-width: 640px; }

/* =========================================================
   BUTTONS (magnetic)
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 15px;
  padding: 14px 26px; border-radius: 12px; cursor: pointer; transition: transform .25s var(--ease), box-shadow .3s, background-position .5s, border-color .3s;
  border: 1px solid transparent; font-family: var(--font-body); will-change: transform;
}
.btn-primary { background: var(--grad); color: #fff; background-size: 170% 170%; box-shadow: 0 10px 34px rgba(99,102,241,.35); }
.btn-primary:hover { background-position: 100% 0; box-shadow: 0 16px 48px rgba(244,63,94,.45); }
.btn-ghost { background: var(--surface); border-color: var(--border-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--blue-bright); background: var(--surface-2); }
.btn.big { padding: 16px 34px; font-size: 16px; }

/* =========================================================
   HERO (home)
   ========================================================= */
.hero { min-height: 100vh; display: flex; flex-direction: column; justify-content: center;
  max-width: var(--maxw); margin: 0 auto; padding: 120px clamp(20px, 5vw, 40px) 70px; position: relative; }
.hero-inner { max-width: 940px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted);
  padding: 8px 16px; border: 1px solid var(--border); border-radius: 100px; background: var(--surface);
  margin-bottom: 30px; backdrop-filter: blur(8px);
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; position: relative; }
.pulse-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid #34d399; animation: pulse 2s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(2.2); opacity: 0; } }
.hero-title { font-size: clamp(32px, 8vw, 88px); margin-bottom: 28px; }
.hero-sub { font-size: clamp(16px, 2vw, 20px); color: var(--muted); max-width: 680px; margin-bottom: 30px; }
.hero-sub strong { color: var(--text); font-weight: 600; }
.hero-creds { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 38px;
  font-family: "JetBrains Mono", monospace; font-size: 13px; color: var(--muted); }
.hero-creds i { width: 4px; height: 4px; border-radius: 50%; background: var(--faint); display: inline-block; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.scroll-cue { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  width: 24px; height: 38px; border: 2px solid var(--border-strong); border-radius: 14px;
  display: grid; justify-items: center; padding-top: 7px; }
.scroll-cue span { width: 4px; height: 8px; border-radius: 4px; background: var(--blue-bright); animation: cue 1.6s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(-3px); } 40% { opacity: 1; } 80%,100% { opacity: 0; transform: translateY(9px); } }

/* Decode text effect target */
.decode { white-space: pre-wrap; }

/* =========================================================
   STATS STRIP
   ========================================================= */
.stats-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  max-width: var(--maxw); margin: 0 auto;
}
.stat { background: var(--bg-2); padding: 26px 24px; transition: background .3s; }
.stat:hover { background: #10162a; }
.stat-num { display: block; font-family: var(--font-head); font-size: clamp(28px, 4vw, 42px);
  font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; line-height: 1; margin-bottom: 8px; }
.stat-label { font-size: 13px; color: var(--muted); }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee { overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 22px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--font-head); font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 600; color: var(--faint); display: flex; align-items: center; gap: 56px; white-space: nowrap; }
.marquee-track span::after { content: "◆"; color: var(--pink); font-size: 12px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   TRANSFORMATION FUNNEL
   ========================================================= */
.funnel-wrap { max-width: 820px; margin: 0 auto; }
.funnel-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.funnel-row.inputs { max-width: 720px; margin: 0 auto 4px; }
.funnel-label { width: 100%; text-align: center; font-family: "JetBrains Mono", monospace;
  font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); margin-bottom: 4px; }
.chip-in {
  font-family: "JetBrains Mono", monospace; font-size: 12.5px; color: var(--muted);
  padding: 7px 13px; border: 1px solid var(--border); border-radius: 100px; background: var(--surface);
  animation: floaty 5s var(--ease) infinite; will-change: transform;
}
.chip-in:nth-child(3n) { animation-duration: 6.2s; } .chip-in:nth-child(3n+1) { animation-duration: 4.4s; }
.chip-in:nth-child(2) { animation-delay: -1s; } .chip-in:nth-child(4) { animation-delay: -2.3s; }
.chip-in:nth-child(6) { animation-delay: -3s; } .chip-in:nth-child(8) { animation-delay: -1.7s; }
@keyframes floaty { 50% { transform: translateY(-6px); } }

.funnel-stage { position: relative; height: clamp(340px, 44vw, 470px); margin: 8px auto; }
.funnel-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

.funnel-row.outputs { max-width: 560px; margin: 4px auto 0; gap: 12px; }
.chip-out {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head);
  font-weight: 600; font-size: 15px; color: var(--text); padding: 11px 20px; border-radius: 100px;
  border: 1px solid transparent; background: var(--grad-soft); position: relative; isolation: isolate;
  animation: glowPulse 3.4s var(--ease) infinite;
}
.chip-out::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; }
.chip-out::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }
.chip-out:nth-child(2) { animation-delay: -.8s; } .chip-out:nth-child(3) { animation-delay: -1.6s; } .chip-out:nth-child(4) { animation-delay: -2.4s; }
@keyframes glowPulse { 0%, 100% { box-shadow: 0 0 0 rgba(244,63,94,0); } 50% { box-shadow: 0 0 26px rgba(244,63,94,.4); } }
@media (prefers-reduced-motion: reduce) { .chip-in, .chip-out { animation: none; } }

/* =========================================================
   CARD GRIDS (reused)
   ========================================================= */
.mini-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 22px; transition: transform .35s var(--ease), border-color .35s, background .35s; }
.mini-card:hover { transform: translateY(-4px); border-color: var(--border-strong); background: var(--surface-2); }
.mini-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  background: var(--grad-soft); border: 1px solid var(--border); margin-bottom: 18px; transition: border-color .35s, transform .35s var(--ease); }
.mini-ico svg { width: 24px; height: 24px; }
.mini-card:hover .mini-ico { border-color: var(--border-strong); transform: translateY(-2px); }
.mini-card h3 { font-size: 17px; margin-bottom: 6px; }
.mini-card p { font-size: 14px; color: var(--muted); }

/* tilt wrapper */
.tilt { transform-style: preserve-3d; transition: transform .12s ease-out; will-change: transform; }

/* Feature/expertise cards */
.expertise-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.exp-card { position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 34px 32px; overflow: hidden;
  transition: transform .4s var(--ease), background .4s; }
.exp-card.wide { grid-column: 1 / -1; }
.exp-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--grad); -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 .4s; }
.exp-card:hover { transform: translateY(-5px); background: var(--surface-2); }
.exp-card:hover::before { opacity: 1; }
.exp-num { font-family: "JetBrains Mono", monospace; font-size: 13px; color: var(--blue-bright);
  letter-spacing: .1em; margin-bottom: 18px; }
.exp-card h3 { font-size: clamp(20px, 2.4vw, 25px); margin-bottom: 12px; }
.exp-card > p { color: var(--muted); font-size: 15.5px; margin-bottom: 20px; }
.tag-row { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.tag-row li { font-size: 12.5px; font-family: "JetBrains Mono", monospace; color: var(--muted);
  padding: 5px 11px; border: 1px solid var(--border); border-radius: 8px; background: rgba(255,255,255,.02); }

/* =========================================================
   ABOUT page
   ========================================================= */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.about-lead p { font-size: 17px; color: var(--muted); margin-bottom: 20px; }
.about-lead strong { color: var(--text); font-weight: 600; }
.about-quote { font-family: var(--font-head); font-size: 20px !important; color: var(--text) !important;
  border-left: 2px solid; border-image: var(--grad) 1; padding-left: 22px; margin-top: 30px !important; font-style: italic; }
.about-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 20px; }
.principle { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 26px; transition: .35s var(--ease); }
.principle:hover { transform: translateY(-4px); background: var(--surface-2); border-color: var(--border-strong); }
.principle .p-num { font-family: "JetBrains Mono", monospace; color: var(--pink); font-size: 13px; margin-bottom: 14px; }
.principle h3 { font-size: 19px; margin-bottom: 8px; }
.principle p { color: var(--muted); font-size: 14.5px; }

/* =========================================================
   TIMELINE (journey)
   ========================================================= */
.timeline { position: relative; padding-left: 8px; max-width: 860px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(var(--blue), var(--pink), transparent); }
.tl-item { position: relative; padding-left: 42px; padding-bottom: 46px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot { position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--blue-bright); box-shadow: 0 0 0 4px rgba(59,130,246,.12); }
.tl-date { font-family: "JetBrains Mono", monospace; font-size: 12.5px; color: var(--blue-bright);
  letter-spacing: .04em; text-transform: uppercase; }
.tl-body h3 { font-size: 22px; margin: 8px 0 4px; }
.tl-org { color: var(--muted); font-size: 15px; margin-bottom: 16px; font-weight: 500; }
.tl-body ul { list-style: none; display: grid; gap: 9px; }
.tl-body li { position: relative; padding-left: 20px; color: var(--muted); font-size: 15px; }
.tl-body li::before { content: "▸"; position: absolute; left: 0; color: var(--pink); font-size: 12px; top: 3px; }

/* Credentials */
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cert { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 26px; transition: transform .35s var(--ease), border-color .35s, background .35s, box-shadow .35s; }
.cert:hover { transform: translateY(-4px); border-color: var(--border-strong); background: var(--surface-2); box-shadow: 0 18px 40px rgba(0,0,0,.3); }
.cert-tag { display: inline-block; font-family: "JetBrains Mono", monospace; font-size: 11.5px; color: var(--muted);
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; padding: 4px 10px; border-radius: 7px;
  background: var(--grad-soft); border: 1px solid var(--border); }
.cert h3 { font-size: 21px; margin-bottom: 5px; }
.cert p { font-size: 14px; color: var(--muted); }

/* =========================================================
   CTA banner (reused)
   ========================================================= */
.cta-banner { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 5vw, 40px) clamp(72px, 11vh, 130px); }
.cta-card { position: relative; background: linear-gradient(160deg, rgba(59,130,246,.1), rgba(244,63,94,.07));
  border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 76px);
  overflow: hidden; text-align: center; }
.cta-card::after { content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,.28), transparent 70%); top: -200px; right: -120px; pointer-events: none; }
.cta-card h2 { font-size: clamp(28px, 4.5vw, 48px); margin-bottom: 16px; position: relative; }
.cta-card p { color: var(--muted); font-size: 17px; max-width: 540px; margin: 0 auto 36px; position: relative; }
.cta-card .btn { position: relative; }

/* =========================================================
   CONTACT page
   ========================================================= */
.contact-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 720px; margin: 8px auto 0; }
.contact-link { display: flex; align-items: center; gap: 16px; padding: 20px 22px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius); transition: transform .3s var(--ease), border-color .3s, background .3s; }
.contact-link:not(.static):hover { transform: translateY(-3px); border-color: var(--blue-bright); background: var(--surface-2); }
.contact-link.static { cursor: default; }
.cl-ico { display: grid; place-items: center; width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px;
  background: var(--grad); color: #fff; }
.cl-ico svg { width: 21px; height: 21px; }
.contact-link span:last-child { display: flex; flex-direction: column; font-weight: 600; font-size: 15px; min-width: 0; overflow-wrap: anywhere; }
.contact-link small { color: var(--muted); font-size: 12px; font-weight: 400; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 2px; }
.contact-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,5vw,60px); align-items: center; max-width: var(--maxw); margin: 0 auto; }
.contact-visual { position: relative; min-height: 320px; display: grid; place-items: center; }
.radar { display: flex; flex-direction: column; align-items: center; gap: 22px; width: 100%; }
.radar-scope { position: relative; width: min(100%, 360px); aspect-ratio: 1 / 1; }
.radar-scope::after { content: ""; position: absolute; inset: 6%; border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,.14), transparent 70%); pointer-events: none; }
.radar-scope canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.radar-caption { font-family: "JetBrains Mono", monospace; font-size: 13px; color: var(--muted);
  display: inline-flex; align-items: center; gap: 10px; letter-spacing: .02em; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { border-top: 1px solid var(--border); max-width: var(--maxw); margin: 0 auto;
  padding: 30px clamp(20px, 5vw, 40px); display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px; color: var(--faint); font-size: 13.5px; }
.footer-nav { display: flex; gap: 18px; }
.footer-nav a { color: var(--muted); transition: color .25s; }
.footer-nav a:hover { color: var(--text); }
.footer-built { color: var(--muted); font-family: "JetBrains Mono", monospace; font-size: 12px; }

/* =========================================================
   REVEAL
   ========================================================= */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav.open .nav-links { display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; top: 100%; left: 0; right: 0; padding: 16px clamp(20px,5vw,40px) 24px;
    background: rgba(6,8,18,.97); backdrop-filter: blur(18px); border-bottom: 1px solid var(--border); }
  .nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .about-grid, .expertise-grid, .contact-split { grid-template-columns: 1fr; }
  .cert-grid, .principles { grid-template-columns: 1fr 1fr; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .about-cards, .cert-grid, .contact-links, .principles { grid-template-columns: 1fr; }
  .hero-creds { font-size: 12px; gap: 10px; }
  .footer { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::after, *::before { animation: none !important; transition: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
