:root {
  --bg: #040b14;
  --bg-2: #071526;
  --cyan: #2ee6d6;
  --blue: #3b82f6;
  --violet: #8b5cf6;
  --text: #e6f1ff;
  --muted: #8aa0b8;
  --glass: rgba(14, 32, 52, 0.45);
  --border: rgba(46, 230, 214, 0.18);
  --grad: linear-gradient(120deg, #2ee6d6 0%, #3b82f6 55%, #8b5cf6 100%);
  --radius: 20px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, sans-serif;
  background: radial-gradient(ellipse at top, var(--bg-2), var(--bg) 60%) fixed;
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.mono { font-family: "JetBrains Mono", monospace; }
h1, h2, h3 { font-family: "Space Grotesk", sans-serif; line-height: 1.1; }
::selection { background: var(--cyan); color: var(--bg); }

/* ---------- Loader ---------- */
#loader {
  position: fixed; inset: 0; z-index: 999; background: var(--bg);
  display: grid; place-items: center; align-content: center; gap: 24px;
  transition: opacity .8s ease, visibility .8s;
}
#loader.done { opacity: 0; visibility: hidden; }
.loader-symbol {
  font-size: 80px; font-family: "Space Grotesk"; background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: spinY 1.6s linear infinite;
}
.loader-bar { width: 160px; height: 2px; background: rgba(255,255,255,.08); overflow: hidden; border-radius: 2px; }
.loader-bar span { display: block; height: 100%; width: 40%; background: var(--grad); animation: load 1s ease-in-out infinite; }
@keyframes load { 0% { transform: translateX(-100%); } 100% { transform: translateX(300%); } }
@keyframes spinY { to { transform: rotateY(360deg); } }

/* ---------- Background ---------- */
#bg3d { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.cursor-glow {
  position: fixed; width: 500px; height: 500px; border-radius: 50%; pointer-events: none; z-index: 1;
  background: radial-gradient(circle, rgba(46,230,214,.08), transparent 65%);
  transform: translate(-50%, -50%); left: 50%; top: 50%; transition: opacity .3s;
}
main, .footer, .nav { position: relative; z-index: 2; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 6vw; transition: all .4s ease;
}
.nav.scrolled { padding: 14px 6vw; background: rgba(4, 11, 20, .7); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.logo { font-family: "JetBrains Mono"; font-weight: 600; font-size: 1.25rem; }
.logo span { color: var(--cyan); }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a { font-size: .92rem; color: var(--muted); position: relative; transition: color .3s; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--grad); transition: width .3s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.burger { display: none; background: none; border: 0; cursor: pointer; width: 32px; height: 24px; position: relative; }
.burger span { position: absolute; left: 0; right: 0; height: 2px; background: var(--text); transition: .3s; }
.burger span:first-child { top: 6px; } .burger span:last-child { bottom: 6px; }
.burger.open span:first-child { top: 11px; transform: rotate(45deg); }
.burger.open span:last-child { bottom: 11px; transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 50px; font-weight: 600; font-size: .95rem;
  cursor: pointer; border: 1px solid transparent; transition: transform .25s, box-shadow .25s, background .25s;
  font-family: inherit;
}
.btn-primary { background: var(--grad); color: #03121c; box-shadow: 0 10px 30px -10px rgba(46,230,214,.6); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -10px rgba(46,230,214,.8); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--cyan); background: rgba(46,230,214,.08); transform: translateY(-3px); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh; display: grid; grid-template-columns: 1.15fr 1fr; align-items: center;
  gap: 4vw; padding: 120px 6vw 80px; position: relative;
}
.eyebrow { color: var(--cyan); font-size: .9rem; margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.6rem, 6.2vw, 5.4rem); font-weight: 700; letter-spacing: -0.03em; margin-bottom: 22px; }
.hero h1 .line { display: block; overflow: hidden; opacity: 0; transform: translateY(60px) rotateX(-40deg); transform-origin: bottom; }
body.loaded .hero h1 .line { animation: lineUp 1s cubic-bezier(.2,.8,.2,1) forwards; }
body.loaded .hero h1 .line:nth-child(2) { animation-delay: .12s; }
body.loaded .hero h1 .line:nth-child(3) { animation-delay: .24s; }
@keyframes lineUp { to { opacity: 1; transform: none; } }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.role { font-size: clamp(1rem, 1.6vw, 1.25rem); color: var(--text); margin-bottom: 18px; min-height: 1.8em; }
.caret { color: var(--cyan); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-sub { color: var(--muted); max-width: 520px; font-size: 1.05rem; margin-bottom: 36px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-text > *:not(h1) { opacity: 0; transform: translateY(20px); }
body.loaded .hero-text > *:not(h1) { animation: fadeUp .9s ease forwards .5s; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

.hero-visual { display: grid; place-items: center; perspective: 1200px; opacity: 0; transform: scale(.85) rotateY(-25deg); }
body.loaded .hero-visual { animation: profileIn 1.4s cubic-bezier(.2,.8,.2,1) forwards .3s; }
.profile-3d {
  position: relative; width: min(380px, 78vw); aspect-ratio: 3/4;
  transform-style: preserve-3d; transition: transform .2s ease-out;
}
@keyframes profileIn { to { opacity: 1; transform: none; } }
.profile-frame {
  position: absolute; inset: 0; border-radius: 28px; overflow: hidden;
  transform: translateZ(40px); border: 1px solid var(--border);
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.8), 0 0 60px -10px rgba(46,230,214,.35);
}
.profile-frame img { width: 100%; height: 100%; object-fit: cover; }
.profile-shine {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 30%), rgba(255,255,255,.22), transparent 45%);
  mix-blend-mode: overlay;
}
.profile-ring {
  position: absolute; inset: -22px; border-radius: 36px; border: 1px solid rgba(46,230,214,.35);
  transform: translateZ(0);
}
.profile-ring.r2 { inset: -44px; border-color: rgba(139,92,246,.22); border-style: dashed; transform: translateZ(-40px); animation: ringPulse 6s ease-in-out infinite; }
@keyframes ringPulse { 50% { inset: -54px; opacity: .5; } }
.float-chip {
  position: absolute; padding: 10px 16px; border-radius: 14px; font-size: .85rem;
  background: rgba(7, 21, 38, .75); border: 1px solid var(--border); backdrop-filter: blur(10px);
  color: var(--cyan); box-shadow: 0 10px 30px rgba(0,0,0,.4);
  animation: floaty 5s ease-in-out infinite;
}
.c1 { top: 8%; left: -18%; transform: translateZ(90px); }
.c2 { bottom: 18%; right: -20%; transform: translateZ(110px); animation-delay: -1.6s; color: #a5b4fc; }
.c3 { bottom: -4%; left: 6%; transform: translateZ(70px); animation-delay: -3s; }
@keyframes floaty { 50% { translate: 0 -14px; } }

.scroll-hint { position: absolute; bottom: 30px; left: 50%; translate: -50% 0; width: 26px; height: 42px; border: 2px solid var(--muted); border-radius: 20px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; background: var(--cyan); border-radius: 2px; translate: -50% 0; animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { opacity: 0; top: 6px; } 40% { opacity: 1; } 100% { opacity: 0; top: 24px; } }

/* ---------- Sections ---------- */
.section { padding: 120px 6vw; max-width: 1400px; margin: 0 auto; }
.section-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 60px; }
.section-num { color: var(--cyan); font-size: 1rem; }
.section-head h2 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); letter-spacing: -0.02em; }
.section-head::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--border), transparent); align-self: center; }

.glass {
  background: var(--glass); border: 1px solid var(--border); border-radius: var(--radius);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.tilt { transform-style: preserve-3d; transition: transform .25s ease-out, box-shadow .3s, border-color .3s; will-change: transform; }

.reveal { opacity: 0; transform: translateY(60px) rotateX(12deg); transform-origin: top; transition: opacity 1s ease, transform 1s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 50px; perspective: 1200px; }
.about-text p { color: var(--muted); margin-bottom: 18px; font-size: 1.05rem; }
.about-text strong { color: var(--text); font-weight: 600; }
.lead { font-size: 1.2rem !important; color: var(--text) !important; }
.about-code {
  margin-top: 28px; padding: 22px 26px; border-radius: 16px; font-size: .88rem; line-height: 1.9;
  background: rgba(2, 8, 16, .7); border: 1px solid var(--border); color: #cbd5e1; overflow-x: auto;
}
.c-k { color: #c084fc; } .c-f { color: var(--cyan); } .c-s { color: #fbbf24; }
.about-side { display: flex; flex-direction: column; gap: 20px; perspective: 1000px; }
.info-card { padding: 28px; display: grid; gap: 20px; }
.info-row { display: flex; gap: 16px; align-items: center; transform: translateZ(30px); }
.info-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(46,230,214,.1); font-size: 1.2rem; flex-shrink: 0; color: var(--cyan); }
.info-row small { color: var(--muted); display: block; font-size: .78rem; }
.info-row b { font-weight: 500; font-size: .98rem; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.stat { padding: 22px 12px; text-align: center; }
.stat b { display: block; font-family: "Space Grotesk"; font-size: 2.2rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; transform: translateZ(30px); }
.stat small { color: var(--muted); font-size: .8rem; }

/* ---------- Skills ---------- */
.skills-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; perspective: 1200px; }
.skill-card { padding: 34px 28px; position: relative; overflow: hidden; }
.skill-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(46,230,214,.12), transparent 40%);
  opacity: 0; transition: opacity .3s;
}
.skill-card:hover::before { opacity: 1; }
.skill-card:hover { border-color: rgba(46,230,214,.45); box-shadow: 0 30px 60px -20px rgba(46,230,214,.25); }
.skill-card h3 { font-size: 1.3rem; margin: 26px 0 12px; transform: translateZ(40px); }
.skill-card p { color: var(--muted); font-size: .95rem; margin-bottom: 20px; transform: translateZ(25px); }
.skill-icon { width: 60px; height: 60px; perspective: 400px; transform: translateZ(60px); }
.cube { width: 36px; height: 36px; margin: 12px; position: relative; transform-style: preserve-3d; animation: cubeSpin 8s linear infinite; }
.cube i { position: absolute; inset: 0; border: 1.5px solid var(--cyan); background: rgba(46,230,214,.08); }
.cube i:nth-child(1) { transform: translateZ(18px); }
.cube i:nth-child(2) { transform: rotateY(180deg) translateZ(18px); }
.cube i:nth-child(3) { transform: rotateY(90deg) translateZ(18px); }
.cube i:nth-child(4) { transform: rotateY(-90deg) translateZ(18px); }
.cube i:nth-child(5) { transform: rotateX(90deg) translateZ(18px); }
.cube i:nth-child(6) { transform: rotateX(-90deg) translateZ(18px); }
.skill-card:nth-child(2) .cube { animation-duration: 10s; animation-direction: reverse; }
.skill-card:nth-child(2) .cube i { border-color: var(--blue); background: rgba(59,130,246,.1); }
.skill-card:nth-child(3) .cube i { border-color: var(--violet); background: rgba(139,92,246,.1); border-radius: 50%; }
.skill-card:nth-child(4) .cube i { border-color: #fbbf24; background: rgba(251,191,36,.08); }
@keyframes cubeSpin { from { transform: rotateX(-25deg) rotateY(0); } to { transform: rotateX(-25deg) rotateY(360deg); } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; transform: translateZ(20px); }
.chips li { font-size: .75rem; padding: 5px 12px; border-radius: 30px; background: rgba(46,230,214,.08); border: 1px solid var(--border); color: var(--cyan); font-family: "JetBrains Mono"; }

.tech-marquee { margin-top: 70px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.marquee-track { display: flex; gap: 50px; width: max-content; animation: marquee 30s linear infinite; font-size: 1.4rem; color: rgba(230,241,255,.25); }
.marquee-track span:hover { color: var(--cyan); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Projects ---------- */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn {
  padding: 9px 20px; border-radius: 30px; border: 1px solid var(--border); background: transparent;
  color: var(--muted); cursor: pointer; font-family: "JetBrains Mono"; font-size: .85rem; transition: .3s;
}
.filter-btn:hover { color: var(--text); border-color: var(--cyan); }
.filter-btn.active { background: var(--grad); color: #03121c; border-color: transparent; }

.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 34px; perspective: 1500px; }
.p-card { height: 440px; cursor: pointer; perspective: 1500px; transition: transform .25s ease-out; }
.p-card.hide { display: none; }
.p-inner {
  position: relative; width: 100%; height: 100%; transform-style: preserve-3d;
  transition: transform .8s cubic-bezier(.2,.8,.2,1);
}
.p-card.flipped .p-inner { transform: rotateY(180deg); }
.p-face {
  position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border-radius: var(--radius); overflow: hidden; transform-style: preserve-3d;
  background: rgba(9, 24, 42, 0.92); border: 1px solid var(--border);
}
.p-tilt { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .2s ease-out; }
.p-front .p-img { height: 62%; overflow: hidden; position: relative; }
.p-front .p-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.p-card:hover .p-img img { transform: scale(1.08); }
.p-front .p-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(4,11,20,.95), transparent 60%); }
.p-cat {
  position: absolute; top: 16px; left: 16px; z-index: 2; padding: 5px 12px; border-radius: 20px; font-size: .72rem;
  background: rgba(4,11,20,.7); border: 1px solid var(--border); color: var(--cyan); backdrop-filter: blur(8px);
}
.p-year { position: absolute; top: 16px; right: 16px; z-index: 2; font-size: .75rem; color: var(--muted); }
.p-front .p-info { padding: 22px 24px; transform: translateZ(50px); }
.p-front h3 { font-size: 1.35rem; margin-bottom: 8px; }
.p-front p { color: var(--muted); font-size: .9rem; line-height: 1.55; }
.p-hint { position: absolute; bottom: 16px; right: 20px; font-size: .75rem; color: var(--cyan); opacity: .7; transform: translateZ(40px); }
.p-glare { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(255,255,255,.15), transparent 50%); opacity: 0; transition: opacity .3s; }
.p-card:hover .p-glare { opacity: 1; }
.p-card:hover .p-face { border-color: rgba(46,230,214,.5); box-shadow: 0 40px 70px -25px rgba(46,230,214,.3); }

.p-back { transform: rotateY(180deg); padding: 30px 28px; display: flex; flex-direction: column; }
.p-back h3 { font-size: 1.3rem; margin-bottom: 14px; }
.p-back p { color: var(--muted); font-size: .92rem; flex: 1; overflow: auto; margin-bottom: 18px; }
.p-back .chips { margin-bottom: 20px; }
.p-back .btn { padding: 11px 20px; font-size: .85rem; }
.p-back-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.p-card.enter { animation: cardIn .9s cubic-bezier(.2,.8,.2,1) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(80px) rotateX(-30deg) scale(.9); } to { opacity: 1; transform: none; } }

.empty { color: var(--muted); text-align: center; grid-column: 1/-1; padding: 40px; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 4vw; visibility: hidden; perspective: 1500px; }
.modal.open { visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(2,6,12,.8); backdrop-filter: blur(8px); opacity: 0; transition: opacity .4s; }
.modal.open .modal-backdrop { opacity: 1; }
.modal-box {
  position: relative; width: min(1000px, 100%); max-height: 90vh; overflow: auto;
  display: grid; grid-template-columns: 1.3fr 1fr; background: rgba(7,21,38,.92);
  opacity: 0; transform: rotateX(25deg) translateY(60px) scale(.9); transition: all .5s cubic-bezier(.2,.8,.2,1);
}
.modal.open .modal-box { opacity: 1; transform: none; }
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border); background: rgba(4,11,20,.8); color: var(--text); cursor: pointer; font-size: 1rem; }
.modal-close:hover { border-color: var(--cyan); color: var(--cyan); }
.modal-gallery { position: relative; background: #000; min-height: 320px; }
.modal-gallery img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.g-nav { position: absolute; top: 50%; translate: 0 -50%; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border); background: rgba(4,11,20,.7); color: var(--text); font-size: 1.5rem; cursor: pointer; }
.g-nav.prev { left: 14px; } .g-nav.next { right: 14px; }
.g-dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.g-dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; background: rgba(255,255,255,.35); cursor: pointer; }
.g-dots button.active { background: var(--cyan); width: 22px; border-radius: 4px; }
.modal-body { padding: 40px 34px; }
.m-cat { color: var(--cyan); font-size: .8rem; }
.modal-body h3 { font-size: 1.8rem; margin: 10px 0 16px; }
.modal-body p { color: var(--muted); margin-bottom: 22px; }
.m-links { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; perspective: 1200px; }
.contact-info .lead { margin-bottom: 30px; color: var(--muted) !important; font-size: 1.1rem !important; }
.contact-card { display: flex; align-items: center; gap: 18px; padding: 20px 24px; margin-bottom: 14px; }
a.contact-card:hover { border-color: rgba(46,230,214,.5); }
.cc-ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; font-size: 1.3rem; background: rgba(46,230,214,.1); transform: translateZ(30px); }
.contact-card small { color: var(--muted); display: block; font-size: .78rem; }
.contact-card b { font-weight: 500; transform: translateZ(20px); display: block; word-break: break-word; }
.socials { display: flex; gap: 12px; margin-top: 24px; }
.socials a { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; border: 1px solid var(--border); transition: .3s; }
.socials a:hover { border-color: var(--cyan); background: rgba(46,230,214,.1); transform: translateY(-4px) rotate(-6deg); }
.socials svg { width: 20px; height: 20px; fill: var(--text); }

.contact-form { padding: 40px 36px; display: flex; flex-direction: column; gap: 22px; }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; padding: 20px 18px 10px; border-radius: 14px; border: 1px solid var(--border);
  background: rgba(2,8,16,.55); color: var(--text); font: inherit; resize: vertical; transition: border-color .3s, box-shadow .3s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(46,230,214,.1); }
.field label { position: absolute; left: 18px; top: 16px; color: var(--muted); pointer-events: none; transition: .2s; font-size: .95rem; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 5px; font-size: .72rem; color: var(--cyan); }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { display: flex; justify-content: space-between; padding: 34px 6vw; border-top: 1px solid var(--border); color: var(--muted); font-size: .85rem; }
.footer a:hover { color: var(--cyan); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 130px; gap: 70px; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-visual { order: -1; }
  .profile-3d { width: min(280px, 70vw); }
  .about-grid, .contact-grid, .modal-box { grid-template-columns: 1fr; }
  .scroll-hint { display: none; }
}
@media (max-width: 760px) {
  .burger { display: block; z-index: 60; }
  .nav-links {
    position: fixed; inset: 0; flex-direction: column; align-items: center; justify-content: center; gap: 30px;
    background: rgba(4,11,20,.96); backdrop-filter: blur(16px); transform: translateY(-100%); transition: transform .5s cubic-bezier(.2,.8,.2,1);
  }
  .nav-links.open { transform: none; }
  .nav-links a { font-size: 1.4rem; }
  .section { padding: 90px 6vw; }
  .projects-grid { grid-template-columns: 1fr; }
  .c1 { left: -8%; } .c2 { right: -8%; }
  .footer { flex-direction: column; gap: 10px; text-align: center; }
  .cursor-glow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
