/* ─── TOKENS ─────────────────────────────────────── */
:root {
  --bg:       #0c0c0c;
  --bg-2:     #141414;
  --fg:       #f0efe9;
  --fg-2:     #686868;
  --fg-3:     #2e2e2e;
  --accent:   #ff5c00;
  --border:   rgba(255,255,255,0.07);
  --border-h: rgba(255,255,255,0.14);
  --display:  'Syne', sans-serif;
  --body:     'DM Sans', sans-serif;
  --mono:     'JetBrains Mono', monospace;
  --max:      1280px;
  --ease:     cubic-bezier(0.16, 1, 0.3, 1);

  /* Fluid Spacing */
  --pad-h:       clamp(1.5rem, 6vw, 4rem);
  --gap-section: clamp(4rem, 10vw, 8rem);
  --gap-grid:    clamp(2rem, 5vw, 5rem);
}

/* ─── RESET ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: none;
  text-wrap: pretty;
}
a { text-decoration: none; color: inherit; cursor: none; }
img { display: block; max-width: 100%; }
button { cursor: none; border: none; background: none; }

h1, h2, h3, h4, h5, h6 {
  word-break: break-word;
  hyphens: auto;
}

/* Grain texture overlay */
body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='180' height='180' filter='url(%23n)' opacity='0.5'/></svg>");
  opacity: 0.03;
  pointer-events: none;
  z-index: 9998;
}

/* ─── CURSOR ─────────────────────────────────────── */
.cursor-dot {
  position: fixed; top: 0; left: 0;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none; z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.2s var(--ease), height 0.2s var(--ease), background 0.2s;
}
.cursor-ring {
  position: fixed; top: 0; left: 0;
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease), height 0.3s var(--ease), border-color 0.2s, opacity 0.2s;
}
.cursor-ring.link-hover { width: 52px; height: 52px; border-color: var(--accent); }
.cursor-ring.text-hover  { width: 80px; height: 80px; border-color: rgba(255,255,255,0.1); }
@media (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } body { cursor: auto; } a, button { cursor: pointer; } }

/* ─── PAGE CURTAIN ───────────────────────────────── */
.curtain {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 10001;
  pointer-events: none;
  transform-origin: bottom;
  transform: scaleY(0);
}

/* ─── NAV ────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 var(--pad-h); height: 66px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
nav.scrolled { background: rgba(12,12,12,0.9); backdrop-filter: blur(16px); border-color: var(--border); }
.nav-logo {
  font-family: var(--display); font-size: 1.05rem; font-weight: 800;
  letter-spacing: -0.01em; display: flex; align-items: center; gap: 6px;
}
.nav-logo .dot { color: var(--accent); }
.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a {
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--fg-2);
  transition: color 0.2s; position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--fg); }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: -3px; left: 0; right: 0;
  height: 1px; background: var(--accent);
}
.nav-avail {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 500; color: var(--fg-2);
}
.nav-avail .pulse {
  width: 7px; height: 7px; border-radius: 50%; background: #22c55e;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.4;transform:scale(0.7)} }
.nav-mobile-btn { display: none; padding: 8px; }
.nav-mobile-btn span { display:block; width:20px; height:1.5px; background:var(--fg-2); margin:5px 0; transition:all 0.3s; }
.mobile-nav {
  display: none; position: fixed; top: 66px; left:0; right:0;
  background: var(--bg); border-bottom: 1px solid var(--border);
  padding: 32px var(--pad-h); flex-direction: column; gap: 24px; z-index: 999;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { font-family: var(--display); font-size: 1.4rem; font-weight: 700; color: var(--fg-2); border-bottom: 1px solid var(--border); padding-bottom: 18px; }
.mobile-nav a:hover { color: var(--fg); }
@media (max-width: 768px) {
  .nav-links, .nav-avail { display: none; }
  .nav-mobile-btn { display: flex; flex-direction: column; }
}

/* ─── HERO ───────────────────────────────────────── */
#hero {
  min-height: 100vh; display: flex; align-items: flex-end;
  padding: 0 var(--pad-h) 64px; position: relative;
}
.hero-bg-grid {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
  display: grid; grid-template-columns: repeat(6, 1fr);
}
.hero-bg-grid span { border-right: 1px solid var(--border); }
.hero-name {
  font-family: var(--display);
  font-size: clamp(2.4rem, 17vw, 15rem);
  font-weight: 800; line-height: 0.9;
  letter-spacing: -0.04em;
  position: relative; z-index: 1;
  word-break: normal;
  overflow-wrap: normal;
}
.hero-name .line2 { display: block; padding-left: 12vw; }
.hero-name .accent-dot { color: var(--accent); }
.hero-meta-row {
  position: absolute; bottom: 64px; right: var(--pad-h);
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
  z-index: 1;
}
.hero-tagline {
  font-size: 0.82rem; font-weight: 500; color: var(--fg-2);
  letter-spacing: 0.08em; text-transform: uppercase; text-align: right;
  line-height: 1.8;
}
.hero-cta-row {
  display: flex; gap: 12px; margin-top: 8px;
}
.hero-rule {
  position: absolute; left: var(--pad-h); right: var(--pad-h); bottom: 0;
  height: 1px; background: var(--border); z-index: 1;
}

/* Rotating badge */
.rotating-badge {
  position: absolute; top: 120px; right: 64px;
  width: 150px; height: 150px; z-index: 1;
  animation: rotatebadge 16s linear infinite;
  color: var(--fg-2);
}
.rotating-badge svg { width: 100%; height: 100%; }
.rotating-badge circle { fill: var(--accent); }
@keyframes rotatebadge { to { transform: rotate(360deg); } }
@media (max-width: 768px) {
  .rotating-badge { display: none; }
}
@media (max-width: 600px) {
  #hero { flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 24px; }
  .hero-name { font-size: clamp(2.4rem, 14vw, 4.5rem); }
  .hero-name .line2 { padding-left: 0; }
  .hero-meta-row { position: static; align-items: flex-start; }
  .hero-tagline { text-align: left; }
}

/* ─── MARQUEE ────────────────────────────────────── */
.marquee-wrap {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  overflow: hidden; padding: 16px 0; background: var(--bg);
}
.marquee-track { display: flex; white-space: nowrap; }
.marquee-track .marquee-inner {
  display: flex; gap: 0; flex-shrink: 0;
  animation: marquee 22s linear infinite;
}
.marquee-track:hover .marquee-inner { animation-play-state: paused; }
.marquee-item {
  font-family: var(--display); font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--fg-2); padding: 0 36px;
  display: inline-flex; align-items: center; gap: 36px;
}
.marquee-item .sep { color: var(--accent); font-size: 1rem; }
@keyframes marquee { from {transform:translateX(0)} to {transform:translateX(-50%)} }

/* ─── SECTION LAYOUT ─────────────────────────────── */
section { padding: var(--gap-section) var(--pad-h); }
.inner { max-width: var(--max); margin: 0 auto; }
.label {
  font-family: var(--display); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-2); display: block; margin-bottom: 40px;
}
h2.big {
  font-family: var(--display);
  font-size: clamp(1.8rem, 5.5vw, 5rem);
  font-weight: 800; line-height: 1.0; letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.sub { font-size: 1rem; color: var(--fg-2); font-weight: 300; line-height: 1.8; max-width: 580px; }

/* ─── BUTTONS ────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 14px 28px; border-radius: 2px;
  transition: all 0.25s var(--ease);
}
.btn-fill { background: var(--fg); color: var(--bg); }
.btn-fill:hover { background: var(--accent); color: var(--fg); }
.btn-outline { border: 1px solid var(--border-h); color: var(--fg-2); }
.btn-outline:hover { border-color: var(--fg); color: var(--fg); }

/* ─── CAPABILITY CARDS (home) ────────────────────── */
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); margin-top: 64px; }
.cap-cell {
  background: var(--bg); padding: 36px 28px;
  transition: background 0.3s;
}
.cap-cell:hover { background: var(--bg-2); }
.cap-num { font-family: var(--display); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; color: var(--accent); margin-bottom: 24px; }
.cap-cell h3 { font-family: var(--display); font-size: 1.05rem; font-weight: 700; line-height: 1.3; margin-bottom: 14px; }
.cap-cell p { font-size: 0.85rem; color: var(--fg-2); line-height: 1.75; font-weight: 300; }
@media (max-width: 900px) { .cap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .cap-grid { grid-template-columns: 1fr; } }

/* ─── HOME SELECTED WORK ─────────────────────────── */
.work-list { border-top: 1px solid var(--border); margin-top: 64px; }
.work-row {
  display: grid; grid-template-columns: 64px 1fr auto;
  align-items: center; padding: 28px 0; border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden; gap: 24px;
  transition: color 0.3s;
}
.work-row::before {
  content: ''; position: absolute; inset: 0;
  background: var(--bg-2); transform: scaleY(0);
  transform-origin: bottom; transition: transform 0.4s var(--ease); z-index: -1;
}
.work-row:hover::before { transform: scaleY(1); }
.work-row:hover .work-tag { border-color: var(--border-h); }
.work-num { font-family: var(--display); font-size: 0.75rem; font-weight: 700; color: var(--fg-3); letter-spacing: 0.06em; }
.work-name { font-family: var(--display); font-size: clamp(1.2rem, 3vw, 2rem); font-weight: 700; }
.work-right { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.work-tag {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--fg-2);
  border: 1px solid var(--border); border-radius: 2px; padding: 4px 10px;
  transition: border-color 0.3s;
}
.work-arrow { font-size: 1.2rem; color: var(--fg-2); transition: transform 0.3s var(--ease), color 0.2s; }
.work-row:hover .work-arrow { transform: translate(4px, -4px); color: var(--accent); }
@media (max-width: 600px) { .work-row { grid-template-columns: 40px 1fr; } .work-right { display: none; } }

/* ─── STAT ROW (home) ────────────────────────────── */
.stat-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  margin-top: 100px;
}
.stat-cell {
  padding: 40px 32px; border-right: 1px solid var(--border);
}
.stat-cell:last-child { border-right: none; }
.stat-val { font-family: var(--display); font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; line-height: 1; color: var(--fg); margin-bottom: 8px; }
.stat-val .acc { color: var(--accent); }
.stat-lbl { font-size: 0.8rem; color: var(--fg-2); font-weight: 400; }
@media (max-width: 768px) { .stat-strip { grid-template-columns: repeat(2,1fr); } .stat-cell:nth-child(2) { border-right: none; } }
@media (max-width: 480px) { .stat-strip { grid-template-columns: 1fr 1fr; } }

/* ─── WORK PAGE ──────────────────────────────────── */
.page-hero { padding: 140px var(--pad-h) 80px; border-bottom: 1px solid var(--border); }
.page-hero h1 { font-family: var(--display); font-size: clamp(3rem, 14vw, 12rem); font-weight: 800; line-height: 0.9; letter-spacing: -0.04em; }
.page-hero p { font-size: 1rem; color: var(--fg-2); font-weight: 300; max-width: 480px; margin-top: 24px; }

.project-list { margin: 0 var(--pad-h); }
.proj-item {
  display: grid; grid-template-columns: 60px 1fr auto;
  align-items: start; padding: 48px 0;
  border-bottom: 1px solid var(--border);
  gap: var(--gap-grid); position: relative;
}
.proj-item::after {
  content: ''; position: absolute; left: calc(-1 * var(--pad-h)); right: calc(-1 * var(--pad-h)); top: 0; bottom: 0;
  background: var(--bg-2); transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--ease); z-index: -1;
}
.proj-item:hover::after { transform: scaleX(1); }
.proj-idx { font-family: var(--display); font-size: 0.75rem; font-weight: 700; color: var(--accent); padding-top: 6px; }
.proj-info h3 { font-family: var(--display); font-size: clamp(1.5rem, 3.5vw, 2.8rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 14px; }
.proj-info p { font-size: 0.9rem; color: var(--fg-2); line-height: 1.75; font-weight: 300; max-width: 600px; margin-bottom: 18px; }
.proj-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ptag { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; color: var(--fg-2); border: 1px solid var(--fg-3); border-radius: 2px; padding: 3px 10px; }
.proj-right { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; padding-top: 6px; }
.proj-status {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 2px;
}
.st-live   { color: #22c55e; background: rgba(34,197,94,0.08); border: 1px solid rgba(34,197,94,0.2); }
.st-proto  { color: #f59e0b; background: rgba(245,158,11,0.08); border: 1px solid rgba(245,158,11,0.2); }
.st-oss    { color: #38bdf8; background: rgba(56,189,248,0.08); border: 1px solid rgba(56,189,248,0.2); }
.st-infra  { color: #a78bfa; background: rgba(167,139,250,0.08); border: 1px solid rgba(167,139,250,0.2); }
.proj-link-btn {
  font-family: var(--display); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--fg-2); display: flex; align-items: center; gap: 6px;
  transition: color 0.2s; padding: 8px 0;
}
.proj-link-btn:hover { color: var(--accent); }
.proj-link-btn .arr { transition: transform 0.25s var(--ease); }
.proj-link-btn:hover .arr { transform: translate(3px, -3px); }
@media (max-width: 768px) { .proj-item { grid-template-columns: 40px 1fr; } .proj-right { display: none; } }

/* ─── SKILLS (about page) ────────────────────────── */
.skills-block { margin-top: 64px; display: flex; flex-direction: column; gap: 36px; }
.skill-row { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: start; padding-bottom: 36px; border-bottom: 1px solid var(--border); }
.skill-row:last-child { border-bottom: none; }
.skill-cat { font-family: var(--display); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-2); padding-top: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: 0.8rem; font-weight: 500; padding: 7px 16px;
  border: 1px solid var(--border); border-radius: 2px; color: var(--fg-2);
  transition: all 0.2s; white-space: nowrap;
}
.chip:hover { border-color: var(--accent); color: var(--fg); }
@media (max-width: 768px) { .skill-row { grid-template-columns: 1fr; } }

/* ─── TERMINAL (about page) ──────────────────────── */
.terminal-wrap {
  background: #0a0a0e; border: 1px solid rgba(255,255,255,0.06);
  border-radius: 2px; margin-top: 64px; overflow: hidden;
}
.term-bar {
  display: flex; align-items: center; gap: 8px; padding: 14px 20px;
  background: rgba(255,255,255,0.03); border-bottom: 1px solid var(--border);
}
.term-dot { width: 12px; height: 12px; border-radius: 50%; }
.td-r{background:#ff5f57}.td-y{background:#febc2e}.td-g{background:#28c840}
.term-title { font-family: var(--body); font-size: 0.75rem; color: var(--fg-2); margin-left: 8px; }
.term-body { padding: 28px 32px; font-family: var(--mono); font-size: 0.8rem; line-height: 2; }
.tc  { color: #888; } /* comment */
.tk  { color: #c792ea; } /* key */
.tv  { color: #c3e88d; } /* value */
.tp  { color: #82aaff; } /* prompt */
.ta  { color: var(--accent); } /* accent */
.ts  { height: 10px; display: block; }
@media (max-width: 768px) {
  .term-body { padding: 20px 18px; font-size: 0.72rem; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* ─── ABOUT INTRO ────────────────────────────────── */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-grid); align-items: start; }
.about-intro-text p { font-size: 1.05rem; color: var(--fg-2); line-height: 1.85; font-weight: 300; margin-bottom: 22px; }
.about-intro-text p strong { color: var(--fg); font-weight: 500; }
.about-visual {
  aspect-ratio: 1; background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 2px; display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative;
}
.about-visual-placeholder {
  font-family: var(--display); font-size: 8rem; font-weight: 800; color: var(--fg-3);
  line-height: 1; letter-spacing: -0.06em; position: relative; z-index: 1;
  user-select: none;
}
.about-visual::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 60% 40%, rgba(255,92,0,0.12) 0%, transparent 60%);
}
.about-visual-note {
  position: absolute; bottom: 20px; left: 0; right: 0; text-align: center;
  font-size: 0.72rem; color: var(--fg-2); letter-spacing: 0.08em; text-transform: uppercase;
}
@media (max-width: 768px) { .about-intro { grid-template-columns: 1fr; gap: 40px; } .about-visual { max-height: 300px; } }

/* ─── PROCESS GRID ───────────────────────────────── */
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--border);
}
@media (max-width: 900px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .process-grid { grid-template-columns: 1fr; } }

/* ─── CONTACT PAGE ───────────────────────────────── */
.contact-hero { padding: 140px var(--pad-h) 80px; border-bottom: 1px solid var(--border); }
.contact-hero h1 { font-family: var(--display); font-size: clamp(3rem, 12vw, 10rem); font-weight: 800; line-height: 0.9; letter-spacing: -0.04em; }
.contact-hero h1 em { font-style: normal; color: var(--accent); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-grid); padding: 80px var(--pad-h); border-bottom: 1px solid var(--border); }
.contact-left h2 { font-family: var(--display); font-size: 1.4rem; font-weight: 700; margin-bottom: 20px; }
.contact-left p { font-size: 0.9rem; color: var(--fg-2); line-height: 1.8; font-weight: 300; margin-bottom: 14px; }
.avail-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }
.avail-list li { display: flex; align-items: center; gap: 12px; font-size: 0.88rem; color: var(--fg-2); font-weight: 300; }
.avail-list li::before { content: '→'; color: var(--accent); flex-shrink: 0; }
.contact-right { display: flex; flex-direction: column; justify-content: space-between; }
.contact-email {
  font-family: var(--display); font-size: clamp(1rem, 2.5vw, 1.8rem);
  font-weight: 700; color: var(--fg); line-height: 1.2;
  border-bottom: 2px solid var(--accent); display: inline-block; padding-bottom: 8px;
  transition: color 0.2s;
}
.contact-email:hover { color: var(--accent); }
.contact-links { display: flex; gap: 20px; margin-top: 40px; flex-wrap: wrap; }
.contact-link {
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--fg-2); border: 1px solid var(--border); padding: 10px 20px; border-radius: 2px;
  display: flex; align-items: center; gap: 8px; transition: all 0.2s;
}
.contact-link:hover { border-color: var(--fg); color: var(--fg); }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; gap: 48px; } }
@media (max-width: 480px) {
  .contact-email { font-size: clamp(0.8rem, 4vw, 1rem); }
  .contact-links { flex-direction: column; }
}

/* ─── FOOTER ─────────────────────────────────────── */
footer {
  padding: 32px var(--pad-h); display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px; border-top: 1px solid var(--border);
}
.foot-l { font-family: var(--display); font-size: 0.85rem; font-weight: 700; }
.foot-l .acc { color: var(--accent); }
footer p { font-size: 0.78rem; color: var(--fg-2); }
.foot-links { display: flex; gap: 28px; }
.foot-links a { font-size: 0.78rem; color: var(--fg-2); letter-spacing: 0.04em; text-transform: uppercase; font-weight: 500; transition: color 0.2s; }
.foot-links a:hover { color: var(--fg); }
@media (max-width: 768px) { footer { align-items: flex-start; } }

/* ─── UTILITIES ──────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(36px); }
.scroll-top {
  position: fixed; bottom: 28px; right: 28px;
  width: 42px; height: 42px; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s, border-color 0.2s;
  z-index: 500;
}
.scroll-top.show { opacity: 1; pointer-events: all; }
.scroll-top:hover { border-color: var(--border-h); }
.scroll-top svg { color: var(--fg-2); }
