/* ===== Totoo — Roblox Developer Portfolio ===== */

@font-face {
  font-family: 'Clash';
  src: local('Georgia');
}

:root {
  --bg-0: #0a0b12;
  --bg-1: #0e0f1a;
  --bg-2: #121328;
  --ink-0: #eceef7;
  --ink-1: #b7bad2;
  --ink-2: #7d81a3;
  --blue: #5b8cff;
  --blue-soft: #7ea2ff;
  --purple: #9b6bff;
  --purple-soft: #b794ff;
  --line: rgba(180, 190, 255, 0.12);
  --glass: rgba(255, 255, 255, 0.045);
  --glass-strong: rgba(255, 255, 255, 0.07);
  --shadow-lg: 0 30px 80px -20px rgba(0, 0, 0, 0.65);
  --radius: 20px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg-0);
  color: var(--ink-0);
  font-family: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', serif;
  font-family: var(--font-body);
  overflow-x: hidden;
  cursor: none;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 900px 600px at 12% -5%, rgba(91, 140, 255, 0.16), transparent 60%),
    radial-gradient(ellipse 800px 700px at 105% 15%, rgba(155, 107, 255, 0.14), transparent 60%),
    radial-gradient(ellipse 700px 600px at 50% 100%, rgba(91, 140, 255, 0.08), transparent 65%);
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  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='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}

/* ===== Custom cursor ===== */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--blue-soft);
  box-shadow: 0 0 10px 2px rgba(91, 140, 255, 0.7);
}
.cursor-ring {
  width: 34px; height: 34px;
  border: 1px solid rgba(183, 148, 255, 0.55);
  transition: width 0.25s var(--ease), height 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.cursor-ring.active {
  width: 54px; height: 54px;
  background: rgba(155, 107, 255, 0.12);
  border-color: var(--purple-soft);
}
@media (hover: none) {
  .cursor-dot, .cursor-ring { display: none; }
  body { cursor: auto; }
}

/* ===== Loader ===== */
.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg-0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s var(--ease), visibility 0.7s var(--ease);
}
.loader.done { opacity: 0; visibility: hidden; }
.loader-mark {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.2rem);
  letter-spacing: 0.04em;
  position: relative;
  color: var(--ink-0);
}
.loader-mark::after {
  content: '';
  position: absolute;
  left: 0; bottom: -14px;
  height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  animation: loadbar 1.4s var(--ease) forwards;
}
@keyframes loadbar { to { width: 100%; } }

/* ===== Particle canvas ===== */
#particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 20px 0;
  transition: padding 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  padding: 12px 0;
  background: rgba(10, 11, 18, 0.65);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  box-shadow: 0 0 14px 2px rgba(155, 107, 255, 0.6);
}
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-1);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0%; height: 1px;
  background: linear-gradient(90deg, var(--blue-soft), var(--purple-soft));
  transition: width 0.35s var(--ease);
}
.nav-links a:hover { color: var(--ink-0); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  display: none;
}
.burger {
  display: none;
  width: 34px; height: 26px;
  flex-direction: column;
  justify-content: space-between;
  background: none;
  border: none;
  z-index: 600;
}
.burger span {
  height: 2px;
  background: var(--ink-0);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}
.burger.open span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 100px;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  font-weight: 500;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn:active { transform: scale(0.96); }
.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #0a0b12;
  font-weight: 600;
  box-shadow: 0 12px 34px -10px rgba(120, 110, 255, 0.55);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 44px -10px rgba(120, 110, 255, 0.75); }
.btn-ghost {
  background: var(--glass);
  border-color: var(--line);
  color: var(--ink-0);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { border-color: var(--purple-soft); background: var(--glass-strong); transform: translateY(-3px); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 80px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple-soft);
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--glass);
  margin-bottom: 26px;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.15s forwards;
}
.eyebrow::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--blue-soft);
  box-shadow: 0 0 8px 2px rgba(91, 140, 255, 0.8);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 8vw, 6.4rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
  background: linear-gradient(120deg, #fff 20%, var(--blue-soft) 55%, var(--purple-soft) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
  animation: rise 1s var(--ease) 0.3s forwards;
}
.hero-role {
  margin-top: 22px;
  font-size: 1.05rem;
  color: var(--ink-1);
  letter-spacing: 0.02em;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.5s forwards;
}
.hero-role b { color: var(--ink-0); font-weight: 600; }
.hero p.lede {
  margin-top: 24px;
  max-width: 52ch;
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--ink-1);
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.65s forwards;
}
.hero-actions {
  margin-top: 40px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.8s forwards;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-visual {
  position: relative;
  aspect-ratio: 1/1.05;
  border-radius: 28px;
  opacity: 0;
  animation: rise 1.1s var(--ease) 0.4s forwards;
}
.hero-card {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(91, 140, 255, 0.16), rgba(155, 107, 255, 0.1));
  border: 1px solid var(--line);
  backdrop-filter: blur(20px);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-card::before {
  content: '';
  position: absolute;
  width: 220%; height: 220%;
  top: -60%; left: -60%;
  background: conic-gradient(from 90deg, transparent 0 60%, rgba(155,107,255,0.3), transparent 75%);
  animation: rotateGlow 12s linear infinite;
}
@keyframes rotateGlow { to { transform: rotate(360deg); } }
.hero-card-inner {
  position: absolute;
  inset: 1px;
  border-radius: 27px;
  background: rgba(10, 11, 20, 0.72);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 34px;
}
.hero-stat-row { display: flex; justify-content: space-between; gap: 18px; }
.hero-mini-stat .num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--ink-0);
}
.hero-mini-stat .lbl {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-top: 4px;
}
.hero-avatar-frame {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 20px;
  background: linear-gradient(150deg, #1a1d33, #0f1020);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.hero-avatar-frame svg { width: 78%; height: 78%; }

.scroll-cue {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--ink-2);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.scroll-cue .line {
  width: 1px; height: 42px;
  background: linear-gradient(var(--purple-soft), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-cue .line::after {
  content: '';
  position: absolute;
  top: -100%; left: 0; width: 100%; height: 100%;
  background: linear-gradient(var(--blue-soft), transparent);
  animation: scrollline 1.8s ease-in-out infinite;
}
@keyframes scrollline { to { top: 100%; } }

/* ===== Section base ===== */
section { position: relative; padding: 130px 0; }
.section-head {
  margin-bottom: 64px;
  max-width: 640px;
}
.tag {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-soft);
  display: block;
  margin-bottom: 16px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.4vw, 3.2rem);
  line-height: 1.1;
  color: var(--ink-0);
}
.section-head p {
  margin-top: 18px;
  color: var(--ink-1);
  font-size: 1.05rem;
  line-height: 1.7;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}
.about-body p {
  color: var(--ink-1);
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 20px;
}
.about-body strong { color: var(--ink-0); }

.about-highlight {
  border-radius: var(--radius);
  padding: 40px;
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}
.about-highlight::before {
  content: '';
  position: absolute;
  top: -40%; right: -20%;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(155,107,255,0.35), transparent 70%);
  filter: blur(10px);
}
.about-highlight .big-num {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  background: linear-gradient(120deg, var(--blue-soft), var(--purple-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
}
.about-highlight .big-lbl {
  margin-top: 10px;
  color: var(--ink-1);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  position: relative;
}
.about-chip-row {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  position: relative;
}
.chip {
  font-size: 0.8rem;
  padding: 8px 14px;
  border-radius: 100px;
  border: 1px solid var(--line);
  color: var(--ink-1);
  background: rgba(255,255,255,0.03);
}

/* ===== Skills ===== */
.skills-list { display: flex; flex-direction: column; gap: 26px; }
.skill-row { display: grid; grid-template-columns: 200px 1fr 60px; align-items: center; gap: 22px; }
.skill-name { font-size: 1rem; letter-spacing: 0.02em; color: var(--ink-0); font-weight: 500; }
.skill-track {
  height: 10px;
  border-radius: 100px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
}
.skill-fill {
  height: 100%;
  width: 0%;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  box-shadow: 0 0 14px rgba(155, 107, 255, 0.5);
  transition: width 1.4s var(--ease);
  position: relative;
}
.skill-fill::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  width: 40px;
  animation: shimmer 2.2s ease-in-out infinite;
}
@keyframes shimmer {
  0% { transform: translateX(-40px); }
  100% { transform: translateX(220px); }
}
.skill-pct {
  text-align: right;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--purple-soft);
}

/* ===== Projects ===== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px;
}
.project-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  position: relative;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.project-card:hover {
  transform: translateY(-10px);
  border-color: rgba(155, 107, 255, 0.4);
  box-shadow: 0 26px 60px -20px rgba(91, 90, 255, 0.4);
}
.project-media {
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
}
.project-media svg {
  width: 100%; height: 100%;
  transition: transform 0.7s var(--ease);
}
.project-card:hover .project-media svg { transform: scale(1.08); }
.project-media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(9,10,18,0.9), transparent 60%);
}
.project-tag {
  position: absolute;
  top: 18px; left: 18px;
  z-index: 2;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 100px;
  background: rgba(10,11,20,0.6);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  color: var(--blue-soft);
}
.project-body { padding: 30px 30px 32px; }
.project-body h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--ink-0);
}
.project-body p {
  color: var(--ink-1);
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 22px;
}
.project-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-0);
  letter-spacing: 0.02em;
}
.project-link svg { width: 16px; height: 16px; transition: transform 0.35s var(--ease); }
.project-link:hover svg { transform: translateX(5px); }

/* ===== Timeline ===== */
.timeline { position: relative; padding-left: 40px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 5px; top: 6px; bottom: 6px;
  width: 1px;
  background: linear-gradient(var(--blue), var(--purple), transparent);
}
.tl-item { position: relative; padding-bottom: 56px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot {
  position: absolute;
  left: -40px; top: 4px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--bg-0);
  border: 2px solid var(--purple-soft);
  box-shadow: 0 0 0 4px rgba(155,107,255,0.12);
}
.tl-period {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-soft);
  margin-bottom: 8px;
  display: block;
}
.tl-item h3 { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 10px; color: var(--ink-0); }
.tl-item p { color: var(--ink-1); line-height: 1.7; margin-bottom: 16px; max-width: 60ch; }
.tl-skills { display: flex; flex-wrap: wrap; gap: 8px; }

/* ===== Achievements ===== */
.ach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.ach-card {
  padding: 36px 30px;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  transition: transform 0.5s var(--ease), border-color 0.4s;
  position: relative;
  overflow: hidden;
}
.ach-card:hover { transform: translateY(-8px); border-color: rgba(91,140,255,0.4); }
.ach-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(91,140,255,0.25), rgba(155,107,255,0.25));
  margin-bottom: 22px;
}
.ach-icon svg { width: 26px; height: 26px; color: var(--blue-soft); }
.ach-card h3 { font-size: 1.15rem; margin-bottom: 10px; color: var(--ink-0); font-family: var(--font-display); }
.ach-card p { color: var(--ink-1); font-size: 0.94rem; line-height: 1.6; }

/* ===== Stats ===== */
.stats-band {
  border-radius: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(91,140,255,0.09), rgba(155,107,255,0.09));
  backdrop-filter: blur(16px);
  padding: 60px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat-item { text-align: center; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.6vw, 3rem);
  background: linear-gradient(120deg, var(--blue-soft), var(--purple-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-lbl {
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--ink-1);
  letter-spacing: 0.02em;
}

/* ===== Contact ===== */
.contact-panel {
  border-radius: 28px;
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(16px);
  padding: 70px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact-panel::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(155,107,255,0.2), transparent 70%);
  top: -220px; left: 50%;
  transform: translateX(-50%);
}
.contact-panel h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 18px;
  position: relative;
}
.contact-panel p {
  color: var(--ink-1);
  font-size: 1.08rem;
  max-width: 46ch;
  margin: 0 auto 36px;
  position: relative;
  line-height: 1.7;
}
.contact-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}
.discord-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  font-size: 0.92rem;
  color: var(--ink-1);
  margin-top: 26px;
  position: relative;
}
.discord-pill b { color: var(--ink-0); }

/* ===== Footer ===== */
footer {
  padding: 50px 0 40px;
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
}
.footer-meta {
  display: flex;
  gap: 28px;
  align-items: center;
  color: var(--ink-2);
  font-size: 0.86rem;
}
.footer-meta a { color: var(--ink-1); }
.footer-meta a:hover { color: var(--blue-soft); }

/* ===== Back to top ===== */
.to-top {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--glass-strong);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 400;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), border-color 0.3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { border-color: var(--purple-soft); }
.to-top svg { width: 18px; height: 18px; color: var(--ink-0); }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 420px; margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; gap: 46px; }
  .projects-grid { grid-template-columns: 1fr; }
  .ach-grid { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .nav-links { gap: 24px; }
}

@media (max-width: 720px) {
  .wrap { padding: 0 22px; }
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: rgba(10,11,20,0.85);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    padding: 40px;
    border-left: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform 0.5s var(--ease);
    z-index: 550;
  }
  .nav-links.open { transform: translateX(0); }
  .burger { display: flex; }
  .skill-row { grid-template-columns: 110px 1fr 46px; gap: 14px; }
  .stats-band { grid-template-columns: 1fr 1fr; padding: 40px 24px; }
  .contact-panel { padding: 50px 26px; }
  section { padding: 90px 0; }
}
