:root {
  --bg: #050816;
  --bg-soft: #0e1430;
  --panel: rgba(10, 18, 40, 0.6);
  --panel-strong: rgba(9, 17, 39, 0.88);
  --line: rgba(124, 173, 255, 0.2);
  --text: #edf5ff;
  --muted: #9faecc;
  --aqua: #79f2ff;
  --blue: #739bff;
  --gold: #ffd37a;
  --pink: #ff8fd8;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  background:
    radial-gradient(circle at top, rgba(88, 133, 255, 0.18), transparent 30%),
    radial-gradient(circle at 80% 20%, rgba(255, 143, 216, 0.12), transparent 20%),
    linear-gradient(180deg, #050816 0%, #071124 42%, #04060f 100%);
  color: var(--text);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
}

.page-shell {
  position: relative;
  isolation: isolate;
}

.starfield,
.starfield-secondary,
.nebula {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.starfield {
  background-image:
    radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.9) 0 1px, transparent 1.4px),
    radial-gradient(circle at 30% 80%, rgba(255, 255, 255, 0.8) 0 1px, transparent 1.2px),
    radial-gradient(circle at 80% 40%, rgba(121, 242, 255, 0.7) 0 1.2px, transparent 1.6px),
    radial-gradient(circle at 60% 10%, rgba(255, 211, 122, 0.7) 0 1.2px, transparent 1.6px),
    radial-gradient(circle at 90% 90%, rgba(255, 255, 255, 0.6) 0 1px, transparent 1.3px);
  background-size: 240px 240px, 320px 320px, 420px 420px, 560px 560px, 700px 700px;
  opacity: 0.45;
  animation: drift 90s linear infinite;
}

.starfield-secondary {
  background-image:
    radial-gradient(circle at 15% 40%, rgba(121, 242, 255, 0.7) 0 1px, transparent 1.3px),
    radial-gradient(circle at 65% 85%, rgba(255, 255, 255, 0.7) 0 1px, transparent 1.3px),
    radial-gradient(circle at 75% 15%, rgba(255, 143, 216, 0.6) 0 1px, transparent 1.3px);
  background-size: 500px 500px, 650px 650px, 720px 720px;
  opacity: 0.25;
  animation: driftReverse 120s linear infinite;
}

.nebula {
  filter: blur(80px);
  opacity: 0.45;
  z-index: -1;
}

.nebula-left {
  background: radial-gradient(circle, rgba(92, 130, 255, 0.22), transparent 55%);
  width: 48vw;
  height: 48vw;
  top: 6vh;
  left: -8vw;
}

.nebula-right {
  background: radial-gradient(circle, rgba(255, 143, 216, 0.18), transparent 60%);
  width: 40vw;
  height: 40vw;
  top: 38vh;
  right: -10vw;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 4.5vw;
  backdrop-filter: blur(16px);
  background: rgba(6, 11, 26, 0.52);
  border-bottom: 1px solid rgba(121, 242, 255, 0.08);
}

.brand,
.topnav a,
.eyebrow,
.card-tag,
.hud-label,
.panel-kicker {
  font-family: "Orbitron", sans-serif;
}

.brand {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  color: var(--aqua);
  border: 1px solid rgba(121, 242, 255, 0.35);
  background: rgba(121, 242, 255, 0.08);
  box-shadow: 0 0 25px rgba(121, 242, 255, 0.18);
}

.topnav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.topnav a {
  color: var(--muted);
  transition: color 180ms ease;
}

.topnav a:hover,
.topnav a:focus-visible {
  color: var(--aqua);
}

.menu-toggle,
.menu-close {
  display: none;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.menu-toggle {
  width: 3rem;
  height: 3rem;
  padding: 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 1px rgba(121, 242, 255, 0.08), 0 8px 20px rgba(0, 0, 0, 0.22);
}

.menu-toggle span {
  display: none;
}

.menu-toggle i {
  color: #ffffff;
  font-size: 1.15rem;
  line-height: 1;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 35;
  background: rgba(3, 8, 18, 0.62);
  backdrop-filter: blur(10px);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 40;
  width: min(82vw, 320px);
  height: 100vh;
  padding: 1rem;
  transform: translateX(100%);
  transition: transform 260ms ease;
  background: rgba(7, 13, 29, 0.96);
  border-left: 1px solid rgba(121, 242, 255, 0.14);
  box-shadow: -24px 0 60px rgba(0, 0, 0, 0.35);
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(121, 242, 255, 0.12);
}

.mobile-menu-header span {
  font-family: "Orbitron", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.menu-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  font-size: 2rem;
  line-height: 1;
}

.mobile-nav {
  display: grid;
  gap: 0.8rem;
}

.mobile-nav a {
  display: block;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  background: rgba(121, 242, 255, 0.05);
  border: 1px solid rgba(121, 242, 255, 0.12);
  color: var(--text);
}

.section {
  position: relative;
  width: min(1200px, calc(100vw - 3rem));
  margin: 0 auto;
  padding: 5rem 0;
  --section-shift: 0px;
}

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 2rem;
  padding-top: 3rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  font-size: 0.78rem;
  margin-bottom: 1rem;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1;
}

h1 {
  font-size: clamp(3.2rem, 9vw, 6.8rem);
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  max-width: 16ch;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.35rem;
  margin-bottom: 0.8rem;
}

p {
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
}

.hero-subtext {
  max-width: 34rem;
  margin-top: 1rem;
}

.skills-heading-mobile,
.skills-copy-mobile {
  display: none;
}

.role-rotator {
  min-height: 2rem;
  margin-bottom: 1.4rem;
  font-size: 1rem;
}

#rotating-role {
  color: var(--aqua);
  font-weight: 700;
  font-size: clamp(1.1rem, 2vw, 1.55rem);
}

.hero-description {
  max-width: 38rem;
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0 1.3rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #04101f;
  background: linear-gradient(135deg, var(--aqua), #b8feff);
  box-shadow: 0 18px 40px rgba(121, 242, 255, 0.28);
}

.button-secondary {
  background: linear-gradient(135deg, rgba(116, 155, 255, 0.26), rgba(255, 143, 216, 0.22));
  border-color: rgba(142, 171, 255, 0.25);
}

.button-ghost {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.12);
}

.hero-metrics,
.profile-highlights,
.skill-hud,
.achievement-grid,
.creative-grid,
.contact-grid {
  display: grid;
  gap: 1rem;
}

.hero-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2.5rem;
}

.metric-card,
.experience-card,
.creative-card,
.contact-card,
.status-panel,
.book-showcase,
.section-heading,
.portrait-frame,
.profile-summary,
.education-panel,
.hud-card,
.skill-detail-panel,
.achievement-card,
.education-card {
  background: var(--panel);
  backdrop-filter: blur(18px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.metric-card,
.status-panel,
.creative-card,
.contact-card,
.experience-card,
.profile-summary,
.education-panel,
.hud-card,
.skill-detail-panel,
.achievement-card,
.education-card {
  border-radius: 1.4rem;
  padding: 1.25rem;
}

.metric-value {
  display: block;
  color: var(--text);
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.metric-label {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
}

.portrait-frame {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait-hero {
  width: min(100%, 500px);
  aspect-ratio: 4 / 5;
  margin: 0 auto;
  transform: perspective(1600px) rotateY(-8deg) rotateX(3deg);
}

.portrait-hero img {
  object-position: center;
  filter: saturate(1.02) contrast(1.02) brightness(0.96);
}

.portrait-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 9, 20, 0.05), rgba(3, 7, 18, 0.45)),
    radial-gradient(circle at 70% 20%, rgba(121, 242, 255, 0.16), transparent 26%);
}

.portrait-glow {
  position: absolute;
  inset: auto -10% -20% auto;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(121, 242, 255, 0.35), transparent 68%);
  filter: blur(14px);
  z-index: 1;
}

.status-panel {
  position: absolute;
  right: -1rem;
  bottom: 1.5rem;
  max-width: 18rem;
}

.status-panel span,
.hud-label,
.panel-kicker {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.status-panel strong {
  line-height: 1.5;
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 1.8rem;
  transform: translateX(-50%);
  display: inline-grid;
  place-items: center;
  width: 2.8rem;
  height: 4.4rem;
  border-radius: 999px;
  border: 1px solid rgba(121, 242, 255, 0.22);
}

.scroll-indicator span {
  width: 0.45rem;
  height: 0.95rem;
  border-radius: 999px;
  background: var(--aqua);
  animation: bounce 1.6s ease-in-out infinite;
}

.section-heading {
  border-radius: 1.8rem;
  padding: 1.8rem;
  margin-bottom: 2rem;
  transform: translateY(calc(var(--section-shift) * -0.12)) scale(0.98);
}

#profile .section-heading h2,
#experience .section-heading h2,
#skills .section-heading h2,
#achievements .section-heading h2,
#creative-identity .section-heading h2,
#reach-out .section-heading h2 {
  max-width: 13ch;
}

.profile-layout,
.achievement-layout,
.skills-lab {
  display: grid;
  gap: 1.25rem;
}

.profile-layout {
  grid-template-columns: 1.2fr 0.8fr;
}

.profile-highlights {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.5rem;
}

.highlight-chip {
  display: inline-flex;
  justify-content: center;
  padding: 0.9rem 1rem;
  border-radius: 999px;
  color: var(--text);
  background: rgba(11, 23, 50, 0.82);
  border: 1px solid rgba(121, 242, 255, 0.14);
  transform: translateY(calc(var(--section-shift) * -0.05));
}

.education-panel {
  display: grid;
  gap: 1rem;
}

.education-card strong,
.education-card span,
.education-card small {
  display: block;
}

.education-card strong {
  margin-bottom: 0.4rem;
}

.education-card span {
  color: var(--text);
  margin-bottom: 0.35rem;
}

.education-card small {
  color: var(--muted);
  line-height: 1.6;
}

.experience-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(12, 1fr);
}

.experience-card {
  grid-column: span 4;
  min-height: 240px;
  transform: translateY(calc(var(--section-shift) * -0.06));
}

.experience-card.featured {
  grid-column: span 6;
  background:
    linear-gradient(135deg, rgba(121, 242, 255, 0.18), rgba(115, 155, 255, 0.08)),
    rgba(9, 17, 39, 0.88);
}

.card-tag {
  display: inline-flex;
  color: var(--gold);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
}

.skills-lab {
  grid-template-columns: 1fr 340px;
  align-items: start;
}

.skill-hud {
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hud-card strong {
  font-size: 1.2rem;
}

.skills-orbit {
  position: relative;
  min-height: 780px;
  border-radius: 2rem;
  background:
    radial-gradient(circle at center, rgba(121, 242, 255, 0.15), transparent 22%),
    linear-gradient(180deg, rgba(9, 17, 39, 0.9), rgba(5, 8, 22, 0.95));
  border: 1px solid var(--line);
  overflow: hidden;
}

.skills-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10rem;
  height: 10rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #05101f;
  font-family: "Orbitron", sans-serif;
  font-weight: 800;
  text-align: center;
  background: radial-gradient(circle, #f8ffff 0%, var(--aqua) 48%, #66c0ff 100%);
  box-shadow:
    0 0 40px rgba(121, 242, 255, 0.38),
    0 0 120px rgba(121, 242, 255, 0.18);
  border: 0;
  cursor: pointer;
  z-index: 2;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.skills-core:hover,
.skills-core:focus-visible {
  transform: translate(-50%, -50%) scale(1.04);
  box-shadow:
    0 0 50px rgba(121, 242, 255, 0.44),
    0 0 140px rgba(121, 242, 255, 0.22);
}

.skill-node {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 8.4rem;
  min-height: 3rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  color: var(--text);
  cursor: pointer;
  background: rgba(13, 22, 48, 0.82);
  border: 1px solid rgba(121, 242, 255, 0.18);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.25);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
  will-change: transform;
  z-index: 1;
}

.skill-node:hover,
.skill-node:focus-visible,
.skill-node.is-active {
  border-color: rgba(121, 242, 255, 0.5);
  background: rgba(20, 41, 81, 0.95);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
}

.skill-node.is-unlocked::after {
  content: "Unlocked";
  position: absolute;
  top: -0.85rem;
  right: 0.5rem;
  font-size: 0.62rem;
  color: #05101f;
  background: linear-gradient(135deg, var(--gold), #ffe8ad);
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
}

.skill-detail-panel {
  position: sticky;
  top: 6rem;
}

.skills-static-list {
  display: none;
}

.skill-detail-panel h3 {
  margin-bottom: 1rem;
}

.achievement-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.25rem;
}

.achievement-badge {
  display: inline-flex;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 211, 122, 0.12);
  border: 1px solid rgba(255, 211, 122, 0.24);
  color: var(--text);
}

.achievement-layout {
  grid-template-columns: 1fr;
}

.book-showcase {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 2rem;
  border-radius: 2rem;
  padding: 2rem;
  background:
    radial-gradient(circle at 25% 20%, rgba(255, 211, 122, 0.16), transparent 18%),
    linear-gradient(135deg, rgba(8, 16, 38, 0.88), rgba(17, 12, 33, 0.92));
}

.book-cover-image {
  width: min(100%, 280px);
  margin: 0 auto;
  border-radius: 1.2rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}

.achievement-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.achievement-card,
.creative-card,
.contact-card,
.experience-card {
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.achievement-card:hover,
.creative-card:hover,
.contact-card:hover,
.experience-card:hover {
  transform: translateY(-6px);
  border-color: rgba(121, 242, 255, 0.35);
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.35);
}

.creative-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.contact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-card {
  display: grid;
  gap: 0.35rem;
  min-height: 170px;
  transform: translateY(calc(var(--section-shift) * -0.06));
}

.contact-icon {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--aqua), #c9f9ff);
  box-shadow: 0 0 24px rgba(121, 242, 255, 0.26);
}

.contact-icon svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: #061120;
}

.contact-card strong {
  font-size: 1.2rem;
}

.contact-card small {
  color: var(--muted);
  line-height: 1.5;
}

.global-scroll-hint {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  display: grid;
  gap: 0.1rem;
  z-index: 30;
  pointer-events: none;
  opacity: 0.88;
  transition: opacity 180ms ease;
}

.global-scroll-hint.is-hidden {
  opacity: 0;
}

.global-scroll-hint span {
  width: 0.9rem;
  height: 0.9rem;
  border-right: 2px solid rgba(121, 242, 255, 0.9);
  border-bottom: 2px solid rgba(121, 242, 255, 0.9);
  transform: rotate(45deg);
  animation: scrollHint 1.5s ease-in-out infinite;
}

.global-scroll-hint span:last-child {
  animation-delay: 0.2s;
}

.footer {
  width: min(1200px, calc(100vw - 3rem));
  margin: 0 auto;
  padding: 0 0 4rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
}

.progress-rail {
  position: fixed;
  right: 1rem;
  top: 20vh;
  width: 4px;
  height: 60vh;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

#scroll-progress {
  display: block;
  width: 100%;
  height: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, var(--aqua), var(--pink));
}

.reveal {
  opacity: 0;
  transform: translateY(46px) scale(0.96);
  transition:
    opacity 850ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 850ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 850ms cubic-bezier(0.22, 1, 0.36, 1);
  filter: blur(10px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-90px, 60px, 0); }
}

@keyframes driftReverse {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(70px, -45px, 0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(-0.2rem); opacity: 0.7; }
  50% { transform: translateY(0.6rem); opacity: 1; }
}

@keyframes scrollHint {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.45; }
  50% { transform: rotate(45deg) translateY(0.4rem); opacity: 1; }
}

@media (max-width: 1100px) {
  .hero,
  .profile-layout,
  .book-showcase,
  .skills-lab {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2rem;
  }

  .hero-copy {
    order: 2;
  }

  .hero-visual {
    order: 1;
  }

  .experience-card {
    grid-column: span 6;
  }

  .achievement-grid,
  .creative-grid,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .skill-detail-panel {
    position: static;
  }

  .skills-lab {
    gap: 1rem;
  }

  .skills-orbit {
    min-height: 680px;
  }
}

@media (max-width: 820px) {
  .topbar {
    padding-inline: 1rem;
  }

  .topnav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
  }

  .section {
    width: min(100vw - 1.5rem, 1200px);
    padding: 3.2rem 0;
  }

  .section + .section {
    padding-top: 2.4rem;
  }

  .hero {
    min-height: auto;
    padding-top: 1rem;
  }

  .section-heading {
    margin-bottom: 1.25rem;
    padding: 1.15rem;
  }

  .skills-heading-desktop,
  .skills-copy-desktop {
    display: none;
  }

  .skills-heading-mobile,
  .skills-copy-mobile {
    display: block;
  }

  .hero-metrics,
  .profile-highlights,
  .skill-hud,
  .achievement-grid,
  .creative-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .skills-lab {
    gap: 0.9rem;
  }

  .skill-hud,
  .skill-detail-panel,
  .skills-orbit {
    display: none;
  }

  .skills-static-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 1.4rem;
    background: var(--panel);
    backdrop-filter: blur(18px);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .skills-static-item {
    display: block;
    padding: 0.9rem 1rem;
    border-radius: 999px;
    color: var(--text);
    background: rgba(11, 23, 50, 0.82);
    border: 1px solid rgba(121, 242, 255, 0.14);
  }

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

  .experience-card,
  .experience-card.featured {
    grid-column: auto;
  }

  .status-panel {
    position: static;
    margin-top: 1rem;
    max-width: none;
  }

  .global-scroll-hint {
    bottom: 0.7rem;
  }

  .footer {
    width: min(100vw - 1.5rem, 1200px);
    flex-direction: column;
    padding-bottom: 2rem;
  }

  .progress-rail {
    display: none;
  }
}

@media (max-width: 560px) {
  .section {
    padding: 2.7rem 0;
  }

  .section + .section {
    padding-top: 2rem;
  }

  .section-heading {
    margin-bottom: 1rem;
    padding: 1rem;
  }

  .skills-static-list {
    padding: 0.85rem;
    border-radius: 1.2rem;
  }

  .skills-static-item {
    min-height: 2.75rem;
    padding: 0.75rem 0.9rem;
    font-size: 0.92rem;
  }
}

@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;
  }

  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
