:root {
  --bg-canvas: #0b1020;
  --bg-surface: #131a2e;
  --bg-elevated: #1a2340;
  --text-primary: #f8fafc;
  --text-secondary: #b8c1d9;
  --border-soft: #263252;
  --accent-primary: #ff4d8d;
  --accent-secondary: #7c5cff;
  --accent-tertiary: #00d4ff;
  --cta-start: #ff4d8d;
  --cta-end: #7c5cff;
  --cta-hover-start: #ff3f84;
  --cta-hover-end: #6e4dff;
  --max: 1120px;
  --mx: 0;
  --my: 0;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  color: var(--text-primary);
  background:
    radial-gradient(circle at 14% -8%, rgba(0, 212, 255, 0.18) 0%, transparent 34%),
    radial-gradient(circle at 84% 0%, rgba(255, 77, 141, 0.2) 0%, transparent 40%),
    linear-gradient(180deg, #0b1020 0%, #0f1630 45%, #0b1020 100%);
  font-family: "Manrope", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  line-height: 1.6;
  scroll-behavior: smooth;
}

a {
  color: inherit;
}

.container {
  width: min(var(--max), calc(100% - 2.2rem));
  margin: 0 auto;
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

.bg-orb {
  position: fixed;
  z-index: -2;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(56px);
  opacity: 0.48;
  will-change: transform;
}

.bg-tech {
  position: fixed;
  inset: -12% -10% -10%;
  z-index: -4;
  pointer-events: none;
  overflow: hidden;
  perspective: 1200px;
}

.tech-layer {
  position: absolute;
  inset: 0;
  transform-origin: center;
  will-change: transform, opacity;
}

.tech-grid {
  background:
    linear-gradient(rgba(0, 212, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 92, 255, 0.06) 1px, transparent 1px);
  background-size: 72px 72px, 72px 72px;
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.4) 20%, rgba(0, 0, 0, 0.85) 58%, transparent 100%);
  transform: rotateX(62deg) translate3d(calc(var(--mx) * -10px), calc(var(--my) * -8px), 0) scale(1.45);
  opacity: 0.62;
  animation: gridSlide 36s linear infinite;
}

.tech-beam {
  background:
    radial-gradient(circle at 18% 26%, rgba(0, 212, 255, 0.14) 0%, transparent 44%),
    radial-gradient(circle at 78% 34%, rgba(124, 92, 255, 0.2) 0%, transparent 40%),
    radial-gradient(circle at 60% 78%, rgba(255, 77, 141, 0.12) 0%, transparent 38%);
  transform: translate3d(calc(var(--mx) * 14px), calc(var(--my) * 10px), 0);
  opacity: 0.75;
  animation: beamPulse 18s ease-in-out infinite alternate;
}

.tech-dots {
  background-image: radial-gradient(circle, rgba(184, 193, 217, 0.18) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
  mask-image: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.5) 8%, rgba(0, 0, 0, 0.95) 58%, transparent 92%);
  transform: translate3d(calc(var(--mx) * -6px), calc(var(--my) * -5px), 0);
  opacity: 0.22;
  animation: dotsDrift 42s linear infinite;
}

.orb-a {
  width: 480px;
  height: 480px;
  top: -190px;
  right: -120px;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.72) 0%, rgba(124, 92, 255, 0) 70%);
  animation: orbDriftA 20s ease-in-out infinite alternate;
}

.orb-b {
  width: 420px;
  height: 420px;
  bottom: -180px;
  left: -90px;
  background: radial-gradient(circle, rgba(255, 77, 141, 0.66) 0%, rgba(255, 77, 141, 0) 68%);
  animation: orbDriftB 24s ease-in-out infinite alternate;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(11, 16, 32, 0.78);
  border-bottom: 1px solid rgba(38, 50, 82, 0.88);
}

.topbar-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0.1em;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 1.2rem;
  padding: 0;
}

.nav-list a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.92rem;
  transition: color 0.16s ease;
}

.nav-list a:hover {
  color: var(--text-primary);
}

.hero {
  position: relative;
  padding: 4.9rem 0 3.2rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 35, 64, 0.42) 0%, rgba(11, 16, 32, 0) 58%);
  pointer-events: none;
}

.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.25rem;
  align-items: stretch;
}

.kicker {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: #9ba6c7;
  margin-bottom: 0.62rem;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.35rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  max-width: 12.5em;
}

h1 span {
  background: linear-gradient(120deg, #f8faff 0%, #d8e1ff 37%, #9cd0ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-desc {
  margin-top: 0.98rem;
  max-width: 42ch;
  color: var(--text-secondary);
  font-size: 1.02rem;
}

.hero-actions {
  margin-top: 1.3rem;
  display: flex;
  gap: 0.72rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.62rem 1.12rem;
  text-decoration: none;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-solid {
  background: #7c5cff;
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(124, 92, 255, 0.34);
}

.btn-solid:hover {
  background: #6e4dff;
}

.btn-solid:active {
  background: #5b3fe6;
}

.btn-ghost {
  color: #d4dbef;
  background: rgba(26, 35, 64, 0.58);
  border-color: #3a4670;
}

.btn-ghost:hover {
  background: #1e2745;
}

.btn:focus-visible {
  outline: 2px solid var(--accent-tertiary);
  outline-offset: 2px;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.hero-metrics {
  display: grid;
  gap: 0.76rem;
  align-items: start;
}

.metric-card {
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(26, 35, 64, 0.86) 0%, rgba(19, 26, 46, 0.94) 100%);
  backdrop-filter: blur(12px);
  padding: 1rem;
  box-shadow: 0 22px 38px rgba(5, 8, 20, 0.48), inset 0 1px 0 rgba(184, 193, 217, 0.1);
  animation: rise 0.75s ease both;
}

.metric-card p {
  color: var(--text-secondary);
  font-size: 0.84rem;
}

.metric-card strong {
  display: block;
  margin-top: 0.08rem;
  font-size: 1.22rem;
  color: #ffffff;
}

.metric-card span {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.86rem;
  color: #c2cbe3;
}

.delay-1 {
  animation-delay: 0.05s;
}

.delay-2 {
  animation-delay: 0.12s;
}

.delay-3 {
  animation-delay: 0.19s;
}

.section {
  position: relative;
  padding: 3rem 0;
}

.section-head {
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  letter-spacing: -0.02em;
}

.project-panel {
  position: relative;
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  padding: 1.1rem;
  background: linear-gradient(160deg, rgba(19, 26, 46, 0.96) 0%, rgba(16, 22, 48, 0.96) 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  box-shadow: 0 26px 44px rgba(4, 7, 18, 0.5), inset 0 1px 0 rgba(248, 250, 252, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.project-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(140deg, rgba(124, 92, 255, 0.34), rgba(0, 212, 255, 0.14), rgba(255, 77, 141, 0.32));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.62;
}

.project-panel + .project-panel {
  margin-top: 0.9rem;
}

.project-panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 48px rgba(4, 7, 18, 0.62);
  border-color: #405382;
}

.project-panel.accent {
  background: linear-gradient(160deg, rgba(28, 24, 57, 0.96) 0%, rgba(19, 26, 46, 0.96) 100%);
}

.project-tag {
  display: inline-block;
  border-radius: 999px;
  background: #1f2b4d;
  color: #c8d4ff;
  border: 1px solid #3f5baa;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  padding: 0.22rem 0.56rem;
}

h3 {
  margin-top: 0.55rem;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

.project-info > p {
  margin-top: 0.56rem;
  color: var(--text-secondary);
}

.project-points {
  margin-top: 0.64rem;
  padding-left: 1rem;
  color: #d8e1f8;
}

.project-points li + li {
  margin-top: 0.24rem;
}

.stack-note {
  margin-top: 0.68rem;
  padding: 0.45rem 0.62rem;
  border-left: 3px solid var(--accent-tertiary);
  background: rgba(0, 212, 255, 0.08);
  color: #c7ecff;
  border-radius: 10px;
  font-size: 0.92rem;
}

.project-media {
  margin: 0;
  display: grid;
  gap: 0.62rem;
}

.media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.56rem;
}

.media-box {
  margin: 0;
}

.media-box img {
  width: 100%;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  background: #0f1630;
  box-shadow: 0 14px 30px rgba(3, 6, 18, 0.55);
  aspect-ratio: 16 / 10;
  object-fit: contain;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-panel:hover .media-box img {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(3, 6, 18, 0.64);
}

.media-box img.contain {
  aspect-ratio: auto;
  max-height: 240px;
}

.media-box figcaption {
  margin-top: 0.34rem;
  color: var(--text-secondary);
  font-size: 0.84rem;
}

.media-log img {
  width: 100%;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: #0f1630;
  max-height: 190px;
  object-fit: contain;
}

.media-log p,
.media-disclaimer {
  margin-top: 0.3rem;
  color: var(--text-secondary);
  font-size: 0.84rem;
}

.dark {
  background:
    linear-gradient(145deg, rgba(15, 24, 52, 0.92) 0%, rgba(20, 34, 72, 0.92) 52%, rgba(11, 16, 32, 0.95) 100%),
    radial-gradient(circle at 78% 0%, rgba(124, 92, 255, 0.28) 0%, transparent 38%);
  border-top: 1px solid rgba(38, 50, 82, 0.72);
  border-bottom: 1px solid rgba(38, 50, 82, 0.72);
  color: var(--text-primary);
}

.dark .kicker {
  color: #b8c4ea;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.principles-grid article {
  border: 1px solid rgba(63, 91, 170, 0.44);
  border-radius: 16px;
  padding: 1.02rem;
  background: linear-gradient(160deg, rgba(26, 35, 64, 0.52), rgba(19, 26, 46, 0.72));
  box-shadow: inset 0 1px 0 rgba(248, 250, 252, 0.08), 0 16px 28px rgba(3, 5, 14, 0.42);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.principles-grid article:hover {
  transform: translateY(-3px);
  border-color: rgba(124, 92, 255, 0.7);
  background: linear-gradient(160deg, rgba(31, 43, 77, 0.62), rgba(20, 34, 72, 0.76));
}

.principles-grid h3,
.stack-grid h3 {
  margin: 0;
  font-size: 1.02rem;
}

.principles-grid p {
  margin-top: 0.3rem;
  color: #d8dff5;
  font-size: 0.92rem;
}

.stack-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
}

.stack-grid article {
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(19, 26, 46, 0.88), rgba(26, 35, 64, 0.58));
  padding: 0.9rem;
  box-shadow: 0 14px 24px rgba(4, 7, 18, 0.36);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.stack-grid article:hover {
  transform: translateY(-3px);
  border-color: #3f5baa;
}

.stack-grid p {
  margin-top: 0.32rem;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.contact {
  padding-top: 1.2rem;
}

.contact-inner {
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  background: linear-gradient(132deg, rgba(26, 35, 64, 0.92), rgba(19, 26, 46, 0.96));
  padding: 1.2rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  box-shadow: 0 22px 34px rgba(4, 7, 18, 0.48);
}

.contact-inner p {
  margin-top: 0.54rem;
  color: var(--text-secondary);
  max-width: 62ch;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  text-decoration: none;
  font-weight: 700;
  border-radius: 12px;
  padding: 0.52rem 0.84rem;
  border: 1px solid #3a4670;
  color: #d4dbef;
  background: rgba(30, 39, 69, 0.85);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.contact-links a:hover {
  transform: translateY(-2px);
  border-color: #5167ac;
  background: #1e2745;
  box-shadow: 0 12px 20px rgba(5, 8, 20, 0.4);
}

html.js-motion .reveal {
  opacity: 0;
  transform: translateY(18px) scale(0.995);
  transition:
    opacity 0.6s cubic-bezier(0.2, 0.72, 0.22, 1),
    transform 0.6s cubic-bezier(0.2, 0.72, 0.22, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

html.js-motion .reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.footer {
  padding: 1.2rem 0 1.8rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.footer-inner a {
  text-decoration: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes orbDriftA {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    transform: translate3d(-16px, 14px, 0) scale(1.08);
  }
}

@keyframes orbDriftB {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    transform: translate3d(16px, -12px, 0) scale(1.08);
  }
}

@keyframes gridSlide {
  from {
    background-position: 0 0, 0 0;
  }

  to {
    background-position: 0 72px, 72px 0;
  }
}

@keyframes beamPulse {
  from {
    opacity: 0.56;
    filter: saturate(95%);
  }

  to {
    opacity: 0.82;
    filter: saturate(118%);
  }
}

@keyframes dotsDrift {
  from {
    transform: translate3d(calc(var(--mx) * -6px), calc(var(--my) * -5px), 0);
  }

  to {
    transform: translate3d(calc(var(--mx) * -6px + 14px), calc(var(--my) * -5px + 10px), 0);
  }
}

@media (max-width: 1024px) {
  .hero-layout,
  .project-panel {
    grid-template-columns: 1fr;
  }

  .stack-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .principles-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .topbar-inner {
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0.65rem 0;
  }

  .nav-list {
    flex-wrap: wrap;
    gap: 0.7rem;
  }

  .hero {
    padding-top: 3.3rem;
  }

  .bg-tech {
    inset: -20% -24% -16%;
  }

  .tech-grid {
    background-size: 52px 52px, 52px 52px;
    transform: rotateX(66deg) scale(1.58);
    opacity: 0.46;
  }

  .media-grid,
  .stack-grid {
    grid-template-columns: 1fr;
  }

  .contact-inner,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* === Badge === */
.project-tag-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.58rem;
}

.badge-shipped {
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.32);
}

.badge-prototype {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.32);
}

.badge-personal {
  background: rgba(124, 92, 255, 0.14);
  color: #a78bfa;
  border: 1px solid rgba(124, 92, 255, 0.36);
}

.badge-wip {
  background: rgba(0, 212, 255, 0.1);
  color: #38bdf8;
  border: 1px solid rgba(0, 212, 255, 0.28);
  animation: wipPulse 2.4s ease-in-out infinite;
}

@keyframes wipPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.52; }
}

/* === Filter Tabs === */
.filter-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.8rem;
}

.filter-btn {
  border: 1px solid var(--border-soft);
  background: rgba(19, 26, 46, 0.72);
  color: var(--text-secondary);
  border-radius: 999px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.38rem 1rem;
  cursor: pointer;
  transition: all 0.18s ease;
}

.filter-btn:hover {
  border-color: #3f5baa;
  color: var(--text-primary);
}

.filter-btn.active {
  background: #7c5cff;
  border-color: transparent;
  color: #fff;
}

/* === Project Placeholder (In Progress) === */
.project-placeholder {
  border: 1px dashed rgba(0, 212, 255, 0.28);
  border-radius: 18px;
  background: rgba(0, 212, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  position: relative;
  overflow: hidden;
}

.project-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 30%, rgba(0, 212, 255, 0.05) 50%, transparent 70%);
  background-size: 250% 250%;
  animation: shimmer 3.2s ease-in-out infinite;
}

@keyframes shimmer {
  0% { background-position: 200% 200%; }
  100% { background-position: -200% -200%; }
}

.placeholder-inner {
  text-align: center;
  padding: 1.8rem;
  position: relative;
  z-index: 1;
}

.placeholder-label {
  color: var(--accent-tertiary);
  font-size: 0.88rem;
  font-weight: 700;
  margin-top: 0.4rem;
  letter-spacing: 0.06em;
}

.tech-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
  margin-top: 1rem;
}

.tech-chip {
  background: rgba(124, 92, 255, 0.12);
  border: 1px solid rgba(124, 92, 255, 0.3);
  color: #c4b5fd;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.22rem 0.62rem;
}

/* === Work Teaser (index page) === */
.teaser-inner {
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  background: linear-gradient(132deg, rgba(26, 35, 64, 0.88), rgba(19, 26, 46, 0.96));
  padding: 1.6rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 22px 34px rgba(4, 7, 18, 0.48);
  box-shadow: 0 26px 44px rgba(4, 7, 18, 0.5), inset 0 1px 0 rgba(248, 250, 252, 0.06);
}

.teaser-inner .btn {
  flex-shrink: 0;
}

.teaser-inner p {
  margin-top: 0.5rem;
  color: var(--text-secondary);
  max-width: 56ch;
}

.teaser-stat-row {
  display: flex;
  gap: 1.4rem;
  margin-top: 1rem;
}

.teaser-stat strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(120deg, #f8faff 0%, #9cd0ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}

.teaser-stat span {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* === Typewriter === */
.hero-techline {
  margin-top: 0.7rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.84rem;
  color: var(--accent-tertiary);
  letter-spacing: 0.05em;
  min-height: 1.5em;
}

.typewriter-cursor {
  display: inline-block;
  width: 2px;
  height: 0.9em;
  background: var(--accent-tertiary);
  margin-left: 2px;
  animation: blink 0.85s step-end infinite;
  vertical-align: middle;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* === Projects page hidden === */
.project-panel[hidden] {
  display: none;
}

/* === Projects page head === */
.projects-hero {
  padding: 4.5rem 0 0.5rem;
}

/* === Page Transition Overlay === */
.page-overlay {
  position: fixed;
  inset: 0;
  background: #0b1020;
  z-index: 9999;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.4s ease;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .bg-tech {
    opacity: 0.42;
  }
}
