:root {
  --bg: #110b24;
  --bg-alt: #160f2d;
  --card: #1d1638;
  --card-hover: #241c44;
  --border: rgba(255,255,255,0.08);
  --text: #f4f4f9;
  --text-muted: #a89fc4;
  --fucsia: #f9409a;
  --fucsia-soft: #fb8cc2;
  --fucsia-glow: rgba(249,64,154,0.45);
  --violet: #7c5cff;
  --font-head: 'Space Grotesk', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 32px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: default;
}

h1, h2, h3 { font-family: var(--font-head); margin: 0 0 .5em; line-height: 1.15; }
p { margin: 0 0 1em; color: var(--text-muted); }
a { color: inherit; text-decoration: none; }

::selection { background: var(--fucsia); color: #fff; }

/* ---------- background fx ---------- */
.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--fucsia-glow) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: lighten;
  transition: opacity .3s ease;
  will-change: transform;
}

.cursor-dot {
  position: fixed; top: 0; left: 0;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--fucsia);
  transform: translate(-50%, -50%);
  pointer-events: none; z-index: 300;
  transition: opacity .2s ease, width .2s ease, height .2s ease, background .2s ease;
  will-change: transform;
}
.cursor-ring {
  position: fixed; top: 0; left: 0;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1.5px solid var(--fucsia-soft);
  transform: translate(-50%, -50%);
  pointer-events: none; z-index: 300;
  transition: opacity .2s ease, width .25s ease, height .25s ease,
    border-color .25s ease, background .25s ease;
  will-change: transform;
}
body.cursor-hover .cursor-ring {
  width: 62px; height: 62px;
  background: rgba(249,64,154,.12);
  border-color: var(--fucsia);
}
body.cursor-hover .cursor-dot { width: 0; height: 0; opacity: 0; }
body.cursor-down .cursor-ring { width: 30px; height: 30px; }
@media (hover: hover) and (pointer: fine) { body { cursor: none; } a, button { cursor: none; } }

.bg-blobs { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .35;
}
.blob-1 { width: 520px; height: 520px; background: var(--fucsia); top: -180px; left: -140px; animation: float1 22s ease-in-out infinite; }
.blob-2 { width: 420px; height: 420px; background: var(--violet); bottom: -160px; right: -100px; animation: float2 26s ease-in-out infinite; }
.blob-3 { width: 320px; height: 320px; background: var(--fucsia-soft); top: 40%; right: 15%; opacity: .18; animation: float1 30s ease-in-out infinite reverse; }

@keyframes float1 {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.1); }
}
@keyframes float2 {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-50px, -30px) scale(1.15); }
}

.grain {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 3px 3px;
}

/* ---------- header / tabs ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(17,11,36,.75);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
}
@keyframes headerDropIn {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}
.logo { display: flex; align-items: center; gap: 10px; animation: headerDropIn .7s cubic-bezier(.16,.8,.3,1) both; }
.logo-mark {
  width: 38px; height: 38px; display: block;
  filter: drop-shadow(0 0 10px var(--fucsia-glow));
  transition: transform .3s ease;
}
.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.05); }
.logo-text { font-family: var(--font-head); font-size: 15px; color: var(--text); }
.logo-text strong { color: var(--fucsia); }

.tabs { position: relative; display: flex; gap: 4px; animation: headerDropIn .7s .12s cubic-bezier(.16,.8,.3,1) both; }
.tab {
  position: relative; z-index: 1;
  background: none; border: none; cursor: pointer;
  font-family: var(--font-head); font-size: 14.5px; font-weight: 500;
  color: var(--text-muted);
  padding: 9px 16px; border-radius: 999px;
  transition: color .25s ease;
}
.tab:hover { color: var(--text); }
.tab.active { color: #fff; }
.tab-indicator {
  position: absolute; top: 0; left: 0; height: 100%;
  background: linear-gradient(135deg, var(--fucsia), var(--violet));
  border-radius: 999px; z-index: 0;
  transition: transform .35s cubic-bezier(.65,0,.35,1), width .35s cubic-bezier(.65,0,.35,1);
  box-shadow: 0 0 20px var(--fucsia-glow);
}

.menu-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
  animation: headerDropIn .7s .12s cubic-bezier(.16,.8,.3,1) both;
}
.menu-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none; flex-direction: column;
  position: fixed; top: 65px; left: 0; right: 0; z-index: 99;
  background: var(--bg-alt); border-bottom: 1px solid var(--border);
  padding: 8px 20px 20px;
  transform: translateY(-8px); opacity: 0; pointer-events: none;
  transition: all .3s ease;
}
.mobile-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-nav .tab { text-align: left; padding: 14px 10px; border-bottom: 1px solid var(--border); border-radius: 0; }
.mobile-nav .tab.active { color: var(--fucsia); }

/* ---------- layout ---------- */
main { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 0 24px 40px; }
.page { display: none; animation: pageIn .5s ease; }
.page.active { display: block; }
@keyframes pageIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

.block { margin: 84px 0; }
.block h2 { font-size: clamp(22px, 3vw, 30px); }
.block .lead { font-size: 18px; max-width: 760px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }

.reveal {
  opacity: 0; transform: translateY(42px) scale(.96);
  transition: opacity .8s cubic-bezier(.16,.8,.3,1), transform .8s cubic-bezier(.16,.8,.3,1);
}
.reveal.visible { opacity: 1; transform: translateY(0) scale(1); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 90px 0 40px; }
.hero::before {
  content: '';
  position: absolute;
  inset: -40px -24px;
  background-image:
    linear-gradient(rgba(255,255,255,.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 30%, black 40%, transparent 92%);
  mask-image: radial-gradient(ellipse 85% 75% at 50% 30%, black 40%, transparent 92%);
  pointer-events: none;
  z-index: 0;
}
.hero-main {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(220px, .6fr);
  align-items: center; gap: clamp(24px, 4vw, 56px);
}
.hero-copy { min-width: 0; }
.hero-mascot {
  position: relative; align-self: center; justify-self: end;
  width: min(100%, 340px); margin: 0;
  pointer-events: none;
}
.hero-mascot img {
  display: block; width: 100%; height: auto;
  animation: heroMascotFloat 3.6s ease-in-out infinite;
}
@keyframes heroMascotFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.eyebrow { color: var(--fucsia); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: 13px; }
.hero h1 { font-size: clamp(46px, 8vw, 88px); font-weight: 700; letter-spacing: -.01em; }
.highlight { color: var(--fucsia); text-shadow: 0 0 40px var(--fucsia-glow); }
.hero-role { font-family: var(--font-head); font-size: clamp(20px, 2.6vw, 28px); color: var(--text); margin-bottom: 18px; }
.typed { color: var(--fucsia); }
.cursor-blink { color: var(--fucsia); animation: blink 1s step-start infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-text { font-size: 17px; max-width: 640px; }
.hero-text strong { color: var(--text); }
.hero-meta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; font-size: 14px; color: var(--text-muted); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }

.btn {
  font-family: var(--font-head); font-weight: 600; font-size: 14.5px;
  padding: 13px 26px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary { background: linear-gradient(135deg, var(--fucsia), #ff5fa8); color: #fff; box-shadow: 0 8px 30px var(--fucsia-glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 36px var(--fucsia-glow); }
.btn-ghost {
  background: rgba(255,255,255,.1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-color: rgba(255,255,255,.18); color: var(--text);
}
.btn-ghost:hover { background: rgba(255,255,255,.16); border-color: var(--fucsia); color: var(--fucsia); transform: translateY(-2px); }

.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; padding-top: 32px; border-top: 1px solid var(--border); }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-head); font-size: 44px; font-weight: 700; color: var(--fucsia); line-height: 1; }
.hero-stats span { font-size: 13px; color: var(--text-muted); }


/* ---------- marquee ---------- */
.marquee {
  width: 100vw; position: relative; left: 50%; right: 50%; margin: 64px -50vw;
  overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: rgba(29,22,56,.4); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding: 16px 0;
}
.marquee-track { display: flex; width: max-content; gap: 0; animation: marqueeScroll 26s linear infinite; }
.marquee-track span {
  display: flex; align-items: center; gap: 20px;
  font-family: var(--font-head); font-size: clamp(15px, 1.8vw, 20px); font-weight: 700;
  color: var(--text); opacity: .9; padding: 0 20px; white-space: nowrap;
}
.marquee-track span em { font-style: normal; color: var(--fucsia); }
.marquee-track span::after { content: '\2726'; color: var(--fucsia); font-size: 12px; margin-left: 20px; }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- timeline ---------- */
.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ''; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--fucsia), transparent); }
.timeline-item { position: relative; margin-bottom: 34px; }
.timeline-dot { position: absolute; left: -28px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--fucsia); box-shadow: 0 0 0 4px rgba(249,64,154,.18); }
.timeline-card { background: rgba(29,22,56,.55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 26px; transition: border-color .25s ease, transform .25s ease; }
.timeline-card:hover { border-color: var(--fucsia); transform: translateX(4px); }
.timeline-top { display: flex; align-items: flex-start; gap: 14px; }
.timeline-logo { width: 40px; height: 40px; border-radius: 50%; object-fit: contain; background: #fff; padding: 6px; flex: none; }
.timeline-heading { flex: 1; min-width: 0; }
.timeline-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.timeline-head h3 { margin: 0; font-size: 19px; }
.timeline-date { font-size: 12.5px; color: var(--fucsia-soft); font-weight: 600; white-space: nowrap; }
.timeline-company { color: var(--text); font-weight: 600; margin-bottom: 8px; }
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.tag { font-size: 12px; padding: 4px 12px; border-radius: 999px; background: rgba(249,64,154,.12); color: var(--fucsia-soft); border: 1px solid rgba(249,64,154,.25); }

/* ---------- education timeline ---------- */
.edu-timeline {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; margin-top: 16px;
}
.edu-timeline::before {
  content: ''; position: absolute; top: 7px; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--fucsia), var(--violet));
}
.edu-node { position: relative; text-align: center; padding-top: 32px; }
.edu-dot {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--bg); border: 3px solid var(--fucsia);
  transition: transform .25s ease, background .25s ease;
}
.edu-node:hover .edu-dot { background: var(--fucsia); transform: translateX(-50%) scale(1.2); }
.edu-year { display: inline-block; font-size: 12px; color: var(--fucsia); font-weight: 700; letter-spacing: .04em; margin-bottom: 8px; }
.edu-node h3 { font-size: 15.5px; margin: 0 0 4px; }
.edu-node p { margin: 0; font-size: 13.5px; }

/* ---------- expertise ---------- */
.expertise-head { max-width: 720px; margin-bottom: 44px; }
.expertise-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px 28px; }
.expertise-item { display: flex; flex-direction: column; }
.expertise-icon {
  width: 76px; height: 76px; border-radius: 50%; flex: none;
  background: var(--exp-color); color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; transition: transform .3s ease, box-shadow .3s ease;
}
.expertise-icon svg { width: 32px; height: 32px; }
.expertise-item:hover .expertise-icon { transform: translateY(-4px) scale(1.05); box-shadow: 0 10px 24px -6px var(--exp-color); }
.expertise-item h3 {
  font-family: var(--font-head); font-size: 14.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .03em; color: var(--text); margin-bottom: 8px;
}
.expertise-item p { font-size: 14px; margin: 0; }
.expertise-item strong { color: var(--text); }

/* ---------- tools ---------- */
.tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 32px; }
.tool-item { display: flex; flex-direction: column; gap: 10px; }
.tool-head { display: flex; align-items: center; gap: 10px; }
.tool-icon {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  background: color-mix(in srgb, var(--tool-color) 55%, black);
  display: flex; align-items: center; justify-content: center;
  transition: transform .25s ease;
}
.tool-item:hover .tool-icon { transform: scale(1.08); }
.tool-icon svg { width: 16px; height: 16px; fill: #fff; }
.tool-name { flex: 1; min-width: 0; font-size: 14.5px; font-weight: 600; color: var(--text); }
.tool-pct { font-family: var(--font-head); font-size: 13px; font-weight: 700; color: var(--tool-color); flex: none; }
.tool-bar-track { height: 6px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; }
.tool-bar-fill { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--tool-color); transition: width 1.2s cubic-bezier(.25,.8,.25,1); }
.tool-item.visible .tool-bar-fill { width: calc(var(--target) * 1%); }

/* ---------- chips ---------- */
.chip-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { background: var(--card); border: 1px solid var(--border); padding: 8px 16px; border-radius: 999px; font-size: 13.5px; color: var(--text); transition: border-color .25s ease, color .25s ease, transform .2s ease; }
.chip:hover { border-color: var(--fucsia); color: var(--fucsia-soft); transform: translateY(-2px); }

/* ---------- page head ---------- */
.page-head { padding: 70px 0 34px; max-width: 680px; }
.page-head h1 { font-size: clamp(32px, 5vw, 48px); }
.page-head p { font-size: 16.5px; }

/* ---------- projects ---------- */
.filter-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.filter {
  background: transparent; border: 1px solid var(--border); color: var(--text-muted);
  padding: 8px 18px; border-radius: 999px; font-family: var(--font-head); font-size: 13.5px;
  cursor: pointer; transition: all .25s ease;
}
.filter:hover { color: var(--text); border-color: var(--fucsia-soft); }
.filter.active { background: linear-gradient(135deg, var(--fucsia), var(--violet)); border-color: transparent; color: #fff; }

.project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; margin-bottom: 40px; }
.project-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
  display: flex; flex-direction: column;
}
.project-card.hidden { display: none; }
.project-stack {
  position: relative; margin: -26px -26px 16px; border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden; aspect-ratio: 1400 / 1112; background: var(--bg-alt);
}
.project-stack .stack-main { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.project-card:hover { transform: translateY(-6px); border-color: var(--fucsia); box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.project-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.project-tag { font-size: 12px; font-weight: 700; color: var(--fucsia-soft); text-transform: uppercase; letter-spacing: .03em; }
.project-date { font-size: 12px; color: var(--text-muted); }
.project-card h3 { font-size: 21px; }
.project-link {
  display: inline-block; margin-top: 24px; color: var(--fucsia); font-weight: 600; font-size: 14px;
  background: none; border: none; padding: 0; font-family: var(--font-body); cursor: pointer; text-align: left;
}
.project-link:hover { text-decoration: underline; }

.cta-banner {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px;
  background: linear-gradient(135deg, rgba(249,64,154,.14), rgba(124,92,255,.1));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 32px; margin-bottom: 60px;
}
.cta-banner p { margin: 0; font-size: 16px; color: var(--text); font-weight: 500; }

.contact-summary { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 0 24px 60px; }
.contact-summary-inner {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px;
  background: linear-gradient(135deg, rgba(249,64,154,.16), rgba(124,92,255,.12));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 36px 40px;
}
.contact-summary-copy h2 { margin: 0 0 8px; font-size: 26px; }
.contact-summary-copy p { margin: 0; color: var(--text-muted); font-size: 15px; max-width: 440px; }
.contact-summary-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.blog-card {
  position: relative; display: flex; flex-direction: column;
  background: rgba(29,22,56,.45); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px dashed var(--border); border-radius: var(--radius); padding: 26px;
  transition: border-color .25s ease, transform .25s ease;
}
.blog-card:hover { border-color: var(--fucsia); transform: translateY(-4px); }
.blog-card-icon { font-size: 26px; margin-bottom: 12px; }
.blog-card-tag { font-size: 12px; font-weight: 700; color: var(--fucsia-soft); text-transform: uppercase; letter-spacing: .03em; margin-bottom: 10px; }
.blog-card h3 { font-size: 18px; margin-bottom: 8px; }
.blog-card p { font-size: 14px; margin: 0; flex: 1; }
.blog-card-soon {
  align-self: flex-start; margin-top: 18px; font-size: 11.5px; font-weight: 600;
  color: var(--text-muted); background: rgba(255,255,255,.06);
  padding: 5px 12px; border-radius: 999px;
}

.newsletter-card {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px;
  background: linear-gradient(135deg, rgba(249,64,154,.14), rgba(124,92,255,.1));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 36px 40px;
}
.newsletter-copy h2 { margin-bottom: 6px; }
.newsletter-copy p { margin: 0; }
.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-form input {
  font-family: var(--font-body); font-size: 14.5px; background: var(--bg-alt);
  border: 1px solid var(--border); border-radius: 999px; padding: 12px 18px;
  color: var(--text); min-width: 220px; transition: border-color .25s ease;
}
.newsletter-form input:focus { outline: none; border-color: var(--fucsia); }
.newsletter-form .btn { border: none; white-space: nowrap; }
#blogNotifyStatus { text-align: center; margin-top: 14px; }

/* ---------- resources ---------- */
.resource-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.resource-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; transition: transform .25s ease, border-color .25s ease; }
.resource-card:hover { transform: translateY(-4px); border-color: var(--fucsia); }
.resource-card h3 { font-size: 15.5px; margin-bottom: 6px; }
.resource-card p { font-size: 13.5px; margin: 0; }

.link-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.link-card {
  display: flex; align-items: center; gap: 14px; background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px 20px; transition: transform .25s ease, border-color .25s ease;
}
.link-card:hover { transform: translateY(-4px); border-color: var(--fucsia); }
.link-icon { font-size: 22px; }
.link-text { display: flex; flex-direction: column; }
.link-text strong { font-size: 14.5px; color: var(--text); }
.link-text small { color: var(--text-muted); font-size: 12.5px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; padding-bottom: 100px; }
.contact-info { display: flex; flex-direction: column; gap: 14px; }
.contact-item {
  display: flex; align-items: center; gap: 12px; background: rgba(29,22,56,.55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 26px; font-size: 14.5px; transition: border-color .25s ease, transform .25s ease;
}
a.contact-item:hover { border-color: var(--fucsia); color: var(--fucsia-soft); transform: translateX(4px); }
.contact-icon-img { width: 38px; height: 38px; flex: none; border-radius: 50%; transition: transform .25s ease; }
.contact-item:hover .contact-icon-img { transform: scale(1.08); }

.reference-card {
  margin-top: 10px; background: rgba(29,22,56,.55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 26px; transition: border-color .25s ease, transform .25s ease;
}
.reference-card:hover { border-color: var(--fucsia); transform: translateX(4px); }
.reference-card h3 { font-size: 14px; color: var(--fucsia); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 10px; }
.reference-card p { margin: 0 0 10px; font-size: 14.5px; color: var(--text); }
.reference-card a { font-size: 13.5px; color: var(--fucsia-soft); font-weight: 600; }

.contact-form-wrap { position: relative; }
.contact-form-mascot {
  position: absolute; top: -140px; right: 140px; width: 200px; height: auto;
  z-index: 2; pointer-events: none; animation: mascotFloat 3.6s ease-in-out infinite;
}
@keyframes mascotFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@media (max-width: 720px) { .contact-form-mascot { width: 110px; top: -78px; right: 16px; } }
@media (prefers-reduced-motion: reduce) { .contact-form-mascot { animation: none; } }

.contact-form { display: flex; flex-direction: column; gap: 16px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; }
.contact-form label,
.contact-form .field-group { display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; color: var(--text-muted); font-weight: 500; }
.contact-form input, .contact-form textarea {
  font-family: var(--font-body); font-size: 14.5px; background: var(--bg-alt); border: 1px solid var(--border);
  padding: 12px 20px; color: var(--text); resize: vertical; transition: border-color .25s ease;
}
.contact-form input { height: 48px; border-radius: 40px; padding-top: 0; padding-bottom: 0; }
.contact-form textarea { border-radius: 32px; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--fucsia); }

.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.custom-select { position: relative; }
.custom-select-trigger {
  width: 100%; height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-family: var(--font-body); font-size: 14.5px; background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: 40px; padding: 0 20px; color: var(--text); cursor: pointer; transition: border-color .25s ease;
}
.custom-select-trigger:focus-visible,
.custom-select.open .custom-select-trigger { outline: none; border-color: var(--fucsia); }
.custom-select-chevron { flex: none; color: var(--text-muted); transition: transform .2s ease, color .2s ease; }
.custom-select.open .custom-select-chevron { transform: rotate(180deg); color: var(--fucsia); }
.custom-select-options {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 20;
  background: var(--bg-alt); border: 1px solid var(--border); border-radius: 10px;
  padding: 6px; list-style: none; margin: 0; box-shadow: 0 16px 34px rgba(0,0,0,.45);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  max-height: 220px; overflow-y: auto;
}
.custom-select.open .custom-select-options { opacity: 1; visibility: visible; transform: translateY(0); }
.custom-select-options li { padding: 10px 12px; border-radius: 8px; font-size: 14px; color: var(--text); cursor: pointer; transition: background .15s ease, color .15s ease; }
.custom-select-options li:hover { background: rgba(249,64,154,.14); color: var(--fucsia); }
.custom-select-options li.selected { color: var(--fucsia); font-weight: 600; }
.contact-form .btn { align-self: flex-start; border: none; margin-top: 12px; }
.contact-form small { color: var(--text-muted); font-size: 12px; }
.form-status { margin: 0; font-size: 13px; min-height: 1em; }
.form-status.success { color: #4ade80; }
.form-status.error { color: var(--fucsia-soft); }

/* ---------- footer ---------- */
.site-footer {
  position: relative; z-index: 1; margin-top: 60px;
  border-top: 1px solid var(--border);
  background: rgba(29,22,56,.4); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.footer-inner { max-width: 1180px; margin: 0 auto; padding: 56px 24px 28px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 36px; }
.footer-brand p { margin-top: 14px; font-size: 14px; max-width: 320px; }
.footer-col h3 { font-family: var(--font-head); font-size: 14px; color: var(--text); margin: 0 0 16px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: var(--text-muted); transition: color .2s ease; width: fit-content; }
.footer-col a:hover { color: var(--fucsia); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
  padding-top: 24px; border-top: 1px solid var(--border);
  font-size: 13px; color: var(--text-muted);
}
.footer-bottom p { margin: 0; }
@media (max-width: 720px) {
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- whatsapp widget ---------- */
.whatsapp-widget { position: fixed; right: 24px; bottom: 24px; z-index: 250; }

@keyframes floatPopIn {
  from { opacity: 0; transform: scale(.5) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.whatsapp-float {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 68px; height: 68px; border-radius: 50%; border: none; padding: 0; cursor: pointer;
  background: linear-gradient(135deg, var(--fucsia), var(--violet));
  box-shadow: 0 10px 28px rgba(0,0,0,.45);
  transition: transform .3s ease, box-shadow .3s ease;
  animation: floatPopIn .6s .5s cubic-bezier(.34,1.56,.64,1) both;
}
.whatsapp-float:hover { transform: translateY(-4px) scale(1.06); box-shadow: 0 16px 34px rgba(0,0,0,.5); }
.whatsapp-float img {
  width: 84%; height: 84%; object-fit: contain; object-position: center 60%;
  pointer-events: none;
}
.whatsapp-float-ping {
  position: absolute; inset: 0; border-radius: 50%;
  background: var(--fucsia); opacity: .6; pointer-events: none;
  animation: whatsappPing 2.6s ease-out infinite;
}
@keyframes whatsappPing {
  0% { transform: scale(1); opacity: .55; }
  80%, 100% { transform: scale(1.55); opacity: 0; }
}
.whatsapp-badge {
  position: absolute; right: -4px; bottom: -4px;
  width: 26px; height: 26px; border-radius: 50%;
  background: #25D366; border: 2px solid var(--bg);
  display: flex; align-items: center; justify-content: center;
}
.whatsapp-badge svg { width: 14px; height: 14px; fill: #fff; }

.whatsapp-panel {
  position: absolute; right: 0; bottom: calc(100% + 18px);
  width: min(320px, 82vw);
  background: rgba(29,22,56,.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border); border-radius: 20px;
  box-shadow: 0 24px 50px rgba(0,0,0,.5);
  padding: 18px;
  opacity: 0; transform: translateY(16px) scale(.96); pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.whatsapp-panel.open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.whatsapp-panel-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.whatsapp-panel-head img { width: 40px; height: 40px; object-fit: contain; flex: none; }
.whatsapp-panel-who { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.whatsapp-panel-who strong { font-size: 13.5px; color: var(--text); }
.whatsapp-panel-who span { font-size: 11.5px; color: #6ee7a0; }
.whatsapp-panel-close {
  background: none; border: none; color: var(--text-muted); font-size: 15px;
  cursor: pointer; padding: 4px; line-height: 1; transition: color .2s ease;
}
.whatsapp-panel-close:hover { color: var(--fucsia); }
.whatsapp-bubble {
  background: var(--card); border-radius: 14px 14px 14px 4px;
  padding: 12px 14px; font-size: 13.5px; color: var(--text); margin: 0 0 16px;
}
.whatsapp-panel-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: #25D366; color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 14px;
  padding: 12px; border-radius: 999px; transition: filter .2s ease, transform .2s ease;
}
.whatsapp-panel-cta:hover { filter: brightness(1.08); transform: translateY(-1px); }
.whatsapp-panel-cta svg { width: 17px; height: 17px; fill: #fff; }

@media (max-width: 720px) {
  .whatsapp-widget { right: 16px; bottom: 16px; }
  .whatsapp-float { width: 58px; height: 58px; }
  .whatsapp-badge { width: 22px; height: 22px; }
  .whatsapp-badge svg { width: 12px; height: 12px; }
  .whatsapp-panel { right: -6px; }
}
@media (prefers-reduced-motion: reduce) { .whatsapp-float-ping { animation: none; display: none; } }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; gap: 8px; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-main { grid-template-columns: 1fr; }
  .hero-mascot { justify-self: center; width: min(65vw, 300px); margin-top: 12px; }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .tabs { display: none; }
  .menu-toggle { display: flex; }
  .mobile-nav { display: flex; }
  .cursor-glow, .cursor-ring, .cursor-dot { display: none; }
  .hero-mascot { display: none; }

  /* education timeline collapses to vertical */
  .edu-timeline { grid-template-columns: 1fr; gap: 26px; }
  .edu-timeline::before { top: 0; left: 7px; right: auto; width: 2px; height: 100%; background: linear-gradient(var(--fucsia), var(--violet)); }
  .edu-node { text-align: left; padding-top: 0; padding-left: 28px; }
  .edu-dot { top: 3px; left: 0; transform: none; }
  .edu-node:hover .edu-dot { transform: scale(1.2); }

  .tools-grid { grid-template-columns: 1fr; gap: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
  .blob, .page, .btn, .timeline-card, .project-card, .hero-mascot img,
  .logo, .tabs, .menu-toggle, .whatsapp-float { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
}
