:root {
  --g1: #e8f5e9;
  --g2: #c8e6c9;
  --g3: #a5d6a7;
  --g4: #66bb6a;
  --g5: #388e3c;
  --g6: #1b5e20;
  --mint: #b2dfdb;
  --sage: #d4e8d0;
  --cream: #f9fdf9;
  --white: #ffffff;
  --dark: #1a2e1a;
  --text: #2d4a2d;
  --muted: #6a8f6a;
  --shadow: 0 8px 32px rgba(56, 142, 60, 0.12);
  --shadow-hover: 0 20px 60px rgba(56, 142, 60, 0.22);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}

::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--g1);
}
::-webkit-scrollbar-thumb {
  background: var(--g4);
  border-radius: 3px;
}

.cursor {
  width: 14px;
  height: 14px;
  background: var(--g5);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.15s ease;
  mix-blend-mode: multiply;
}

.cursor-ring {
  width: 38px;
  height: 38px;
  border: 1.5px solid var(--g4);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  transition:
    transform 0.35s ease,
    opacity 0.2s;
  opacity: 0.6;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 6vw;
  transition:
    background 0.4s,
    box-shadow 0.4s;
}

nav.scrolled {
  background: rgba(249, 253, 249, 0.93);
  backdrop-filter: blur(14px);
  box-shadow: 0 2px 20px rgba(56, 142, 60, 0.08);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.2s;
  z-index: 101;
}

.nav-logo:hover {
  opacity: 0.75;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.04em;
  position: relative;
  transition: color 0.3s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--g4);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--g5);
}
.nav-links a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 101;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--g5);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

#home {
  min-height: 100vh;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 6vw 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 80% 60% at 70% 30%,
      rgba(165, 214, 167, 0.35) 0%,
      transparent 65%
    ),
    radial-gradient(
      ellipse 60% 80% at 10% 80%,
      rgba(178, 223, 219, 0.3) 0%,
      transparent 60%
    ),
    linear-gradient(160deg, #f0faf0 0%, #e8f5e9 40%, #f4fbf4 100%);
}

.hero-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-lines svg {
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "DM Mono", monospace;
  font-size: 0.78rem;
  color: var(--g5);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
  opacity: 0;
  animation: fadeUp 0.7s 0.2s forwards;
}

.hero-eyebrow span {
  display: inline-block;
  width: 36px;
  height: 1px;
  background: var(--g4);
}

.hero-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 6vw, 4.4rem);
  line-height: 1.12;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1.4rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.4s forwards;
}

.hero-title em {
  font-style: italic;
  color: var(--g5);
}

.hero-sub {
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  color: var(--muted);
  line-height: 1.75;
  max-width: 520px;
  margin: 0 auto 2.4rem;
  font-weight: 300;
  opacity: 0;
  animation: fadeUp 0.8s 0.6s forwards;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 0.8s forwards;
}

.btn {
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--g4), var(--g5));
  color: white;
  border: none;
  box-shadow: 0 4px 20px rgba(56, 142, 60, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(56, 142, 60, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--g5);
  border: 1.5px solid var(--g4);
}

.btn-outline:hover {
  background: var(--g1);
  transform: translateY(-2px);
}

.hero-badge {
  position: absolute;
  right: 8vw;
  top: 38%;
  width: 120px;
  height: 120px;
  opacity: 0;
  animation:
    fadeUp 0.8s 1s forwards,
    spin 18s linear infinite;
}

.hero-badge svg text {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  fill: var(--g5);
  letter-spacing: 3px;
}

.hero-badge svg circle {
  fill: none;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: "DM Mono", monospace;
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  opacity: 0;
  animation: fadeUp 0.8s 1.2s forwards;
}

.scroll-dot {
  width: 5px;
  height: 5px;
  background: var(--g4);
  border-radius: 50%;
  animation: bounce 1.6s ease-in-out infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}

section {
  padding: 100px 6vw;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "DM Mono", monospace;
  font-size: 0.75rem;
  color: var(--g5);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.section-label::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1.5px;
  background: var(--g4);
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

#about {
  position: relative;
  overflow: hidden;
}

.about-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    var(--cream) 0%,
    #eef7ee 40%,
    var(--cream) 100%
  );
}

.about-deco {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.08;
  pointer-events: none;
}

.about-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5vw;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.about-visual {
  position: relative;
}

.about-avatar-wrap {
  position: relative;
  width: 300px;
  height: 340px;
}

.about-avatar-bg {
  position: absolute;
  inset: 16px 0 0 16px;
  border-radius: 12px 48px 12px 48px;
  background: linear-gradient(135deg, var(--g3), var(--mint));
  opacity: 0.4;
}

.about-initials {
  position: absolute;
  inset: 0 16px 16px 0;
  border-radius: 48px 12px 48px 12px;
  background: linear-gradient(135deg, var(--g1), white);
  border: 1.5px solid var(--g3);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about-initials svg {
  display: block;
}

.about-dots {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 80px;
  height: 80px;
  background-image: radial-gradient(circle, var(--g4) 1.5px, transparent 1.5px);
  background-size: 14px 14px;
  opacity: 0.4;
}

.about-text p {
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1.2rem;
  font-weight: 300;
}

.about-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-num {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--g5);
  line-height: 1;
  display: block;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 4px;
  font-family: "DM Mono", monospace;
}

#stack {
  position: relative;
  background: var(--dark);
  overflow: hidden;
}

.stack-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 60% 50% at 20% 50%,
      rgba(102, 187, 106, 0.12) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 50% 60% at 80% 30%,
      rgba(178, 223, 219, 0.08) 0%,
      transparent 60%
    );
}

.stack-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
}

#stack .section-label {
  color: var(--g3);
}
#stack .section-label::before {
  background: var(--g3);
}
#stack .section-title {
  color: white;
}

.stack-content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}

.stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.stack-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.8rem;
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.stack-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--g4), var(--mint));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.stack-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(102, 187, 106, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.stack-card:hover::before {
  transform: scaleX(1);
}

.stack-card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stack-card-icon svg {
  width: 100%;
  height: 100%;
}

.stack-card-title {
  font-family: "DM Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--g3);
  margin-bottom: 1rem;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-tag {
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  background: rgba(102, 187, 106, 0.12);
  color: var(--g3);
  border: 1px solid rgba(102, 187, 106, 0.2);
  transition: all 0.2s;
}

.tech-tag:hover {
  background: rgba(102, 187, 106, 0.25);
  transform: scale(1.05);
}

#education {
  position: relative;
  overflow: hidden;
}

.edu-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #f4fbf4 0%, #eaf6ea 50%, #f0faf0 100%);
}

.edu-stripes {
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 20px,
    rgba(102, 187, 106, 0.04) 20px,
    rgba(102, 187, 106, 0.04) 21px
  );
  pointer-events: none;
}

.edu-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
}

.edu-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--g2);
  position: relative;
  overflow: hidden;
  margin-top: 2.5rem;
  transition:
    box-shadow 0.3s,
    transform 0.3s;
}

.edu-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.edu-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--g4), var(--mint));
}

.edu-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.edu-school {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.1rem, 3vw, 1.35rem);
  font-weight: 700;
  color: var(--dark);
}

.edu-degree {
  font-size: 0.95rem;
  color: var(--muted);
  margin-top: 3px;
}

.edu-meta {
  text-align: right;
}

.edu-gpa {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.6rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--g5);
  line-height: 1;
}

.edu-gpa-label {
  font-family: "DM Mono", monospace;
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.edu-date-badge {
  display: inline-flex;
  padding: 0.35rem 1rem;
  background: var(--g1);
  border-radius: 20px;
  font-family: "DM Mono", monospace;
  font-size: 0.78rem;
  color: var(--g5);
  margin-bottom: 1.2rem;
}

.edu-activities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.activity-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.35rem 0.9rem;
  background: var(--sage);
  border-radius: 20px;
  font-size: 0.82rem;
  color: var(--g6);
  font-weight: 500;
}

.activity-tag svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.edu-desc {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 1rem;
  font-weight: 300;
}

#skills {
  position: relative;
  overflow: hidden;
}

.skills-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    var(--cream) 0%,
    #e5f3e5 60%,
    var(--cream) 100%
  );
}

.skills-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.skills-orb-1 {
  width: 400px;
  height: 400px;
  background: rgba(165, 214, 167, 0.25);
  right: -100px;
  top: -100px;
}

.skills-orb-2 {
  width: 300px;
  height: 300px;
  background: rgba(178, 223, 219, 0.2);
  left: -80px;
  bottom: -80px;
}

.skills-content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}

.skills-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.skill-group-title {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  color: var(--dark);
  margin-bottom: 1.4rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.skill-group-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--g3), transparent);
}

.skill-bar-item {
  margin-bottom: 1.1rem;
}

.skill-bar-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}

.skill-bar-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}

.skill-bar-pct {
  font-family: "DM Mono", monospace;
  font-size: 0.78rem;
  color: var(--g5);
}

.skill-bar-track {
  height: 6px;
  background: var(--g1);
  border-radius: 3px;
  overflow: hidden;
}

.skill-bar-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--g4), var(--g3));
  width: 0;
  transition: width 1.2s ease;
}

.soft-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.soft-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.55rem 1.2rem;
  background: white;
  border: 1.5px solid var(--g2);
  border-radius: 50px;
  font-size: 0.88rem;
  color: var(--text);
  font-weight: 500;
  cursor: default;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}

.soft-pill::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--g1), var(--sage));
  opacity: 0;
  transition: opacity 0.25s;
}

.soft-pill svg,
.soft-pill span {
  position: relative;
  z-index: 1;
}

.soft-pill svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.soft-pill:hover {
  border-color: var(--g4);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(56, 142, 60, 0.15);
}

.soft-pill:hover::before {
  opacity: 1;
}

#contact {
  position: relative;
  overflow: hidden;
  background: var(--dark);
}

.contact-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 70% at 50% 120%,
    rgba(56, 142, 60, 0.15) 0%,
    transparent 60%
  );
}

.contact-border-art {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--g4),
    var(--mint),
    var(--g4),
    transparent
  );
}

#contact .section-label {
  color: var(--g3);
}
#contact .section-label::before {
  background: var(--g3);
}
#contact .section-title {
  color: white;
}

.contact-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.contact-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  margin-bottom: 3rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.2rem;
  margin-bottom: 3rem;
}

.contact-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.6rem 1.2rem;
  text-decoration: none;
  color: white;
  transition: all 0.35s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  cursor: pointer;
}

.contact-card:hover {
  background: rgba(102, 187, 106, 0.1);
  border-color: rgba(102, 187, 106, 0.35);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(102, 187, 106, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.contact-card-icon svg {
  width: 24px;
  height: 24px;
}

.contact-card:hover .contact-card-icon {
  background: rgba(102, 187, 106, 0.3);
}

.contact-card-label {
  font-family: "DM Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--g3);
  text-transform: uppercase;
}

.contact-card-value {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  word-break: break-all;
  text-align: center;
}

footer {
  background: #111e11;
  padding: 2.4rem 6vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-left {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-left span {
  display: block;
  font-family: "DM Mono", monospace;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  margin-top: 3px;
}

.footer-copy {
  font-family: "DM Mono", monospace;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.06em;
}

.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--g5);
  color: white;
  padding: 0.9rem 1.6rem;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  transform: translateY(80px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 9997;
  pointer-events: none;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 99;
  opacity: 0;
  transition: opacity 0.3s;
}

.nav-overlay.open {
  display: block;
  opacity: 1;
}

@media (max-width: 1024px) {
  .about-avatar-wrap {
    width: 240px;
    height: 280px;
  }
}

@media (max-width: 768px) {
  .cursor,
  .cursor-ring,
  .hero-badge,
  .about-deco {
    display: none;
  }

  nav {
    padding: 14px 5vw;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 280px;
    height: 100vh;
    background: rgba(249, 253, 249, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    transition: right 0.4s ease;
    box-shadow: -8px 0 30px rgba(56, 142, 60, 0.1);
    z-index: 100;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 1.1rem;
  }

  .hamburger {
    display: flex;
  }

  #home {
    padding: 100px 5vw 70px;
  }

  .hero-eyebrow {
    font-size: 0.7rem;
  }

  .hero-eyebrow span {
    width: 20px;
  }

  section {
    padding: 70px 5vw;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-visual {
    display: none;
  }

  .skills-cols {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .edu-card {
    padding: 1.8rem 1.4rem;
  }

  .edu-header {
    flex-direction: column;
  }

  .edu-meta {
    text-align: left;
  }

  .contact-cards {
    grid-template-columns: 1fr 1fr;
  }

  footer {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .stack-grid {
    grid-template-columns: 1fr 1fr;
  }

  .toast {
    bottom: 20px;
    right: 16px;
    left: 16px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  section {
    padding: 60px 5vw;
  }

  #home {
    padding: 90px 5vw 60px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 260px;
    text-align: center;
  }

  .about-stats {
    gap: 1.2rem;
    justify-content: space-between;
  }

  .stack-grid {
    grid-template-columns: 1fr;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }

  .edu-card {
    padding: 1.4rem 1.2rem;
  }

  .edu-activities {
    flex-direction: column;
  }

  .activity-tag {
    font-size: 0.78rem;
  }

  .soft-pill {
    font-size: 0.82rem;
    padding: 0.45rem 1rem;
  }

  .hero-eyebrow {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .hero-eyebrow span {
    display: none;
  }

  .section-label {
    font-size: 0.7rem;
  }
}
