/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --accent: #00d4ff;
  --accent2: #7b5ea7;
  --bg: #080a0e;
  --bg2: #0d1117;
  --bg3: #111620;
  --surface: #161c28;
  --border: rgba(255,255,255,0.07);
  --text: #e8eaf0;
  --text-muted: #7a8399;
  --font-display: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius: 12px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Grain overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.35;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

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

/* ── TYPOGRAPHY ── */
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; }
h1 { font-size: clamp(3rem, 8vw, 6.5rem); font-weight: 700; }
h2 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; font-family: var(--font-body); }
em { font-style: italic; color: var(--accent); }

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

.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 0.3em 0.8em;
  border-radius: 100px;
  margin-bottom: 1.2rem;
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}
.btn-primary {
  background: var(--accent);
  color: #000;
}
.btn-primary:hover {
  background: #fff;
  box-shadow: 0 0 30px rgba(0,212,255,0.4);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}
.btn-large { padding: 1rem 2.5rem; font-size: 1rem; }

/* ── NAVIGATION ── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(8,10,14,0.6);
  transition: background 0.4s ease, backdrop-filter 0.4s ease, transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
#navbar.nav-hidden {
  transform: translateY(-100%);
}
#navbar.scrolled {
  background: rgba(8,10,14,0.85);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--accent) !important;
  color: #000 !important;
  padding: 0.5rem 1.2rem;
  border-radius: 100px;
  font-weight: 600 !important;
}
.nav-cta:hover {
  background: #fff !important;
  box-shadow: 0 0 20px rgba(0,212,255,0.35);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
  transform-origin: center;
}
.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); }

.mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(8,10,14,0.97);
  border-top: 1px solid var(--border);
  padding: 1.5rem 2rem;
  gap: 1.2rem;
}
.mobile-menu.open { display: flex; }
.mobile-link {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}
.mobile-link:hover { color: var(--accent); }

/* ── HERO ── */
#hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  transition: min-height 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}
#hero.video-ended {
  min-height: 62vh;
}
#hero.video-ended .hero-scroll-hint {
  opacity: 0;
}
#hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: opacity 1.5s ease;
}
#hero video.ended { opacity: 0; }
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(8,10,14,0.55) 0%,
    rgba(8,10,14,0.35) 50%,
    rgba(8,10,14,0.75) 100%
  );
}
#heroCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 680px;
  padding: 3rem 3rem 3rem;
  text-align: left;
}
.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(0, 212, 255, 0.7);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.6rem;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}
.hero-name {
  margin-bottom: 1.5rem;
  line-height: 0.95;
  letter-spacing: -0.04em;
}
.hero-name-first {
  color: #ffffff;
  display: block;
}
.hero-name-gradient {
  display: block;
  background: linear-gradient(90deg, #00d4ff 0%, #7b5ea7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding-bottom: 0.12em;
  padding-right: 0.25em;
}
.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 1.8vw, 1.1rem);
  font-weight: 300;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text);
  margin-bottom: 2.5rem;
  min-height: 2rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.cursor {
  display: inline-block;
  color: var(--accent);
  animation: blink 0.9s step-end infinite;
  font-weight: 300;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.hero-ctas {
  display: flex;
  justify-content: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}
/* stop/replay — bottom-left */
.hero-bottom-left {
  position: absolute;
  bottom: 2.5rem;
  left: 2.5rem;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
/* volume control — bottom-right */
.volume-control {
  position: absolute;
  bottom: 2.5rem;
  right: 2.5rem;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* popup panel above the button */
.volume-popup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  background: rgba(8,10,14,0.75);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 24px;
  padding: 0.9rem 0.6rem;
  margin-bottom: 8px;
  opacity: 0;
  transform: translateY(8px) scale(0.95);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.volume-control:hover .volume-popup,
.volume-control:focus-within .volume-popup,
.volume-control.popup-open .volume-popup {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.volume-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--accent);
  min-width: 2.2em;
  text-align: center;
}

/* vertical range slider */
.volume-slider {
  writing-mode: vertical-lr;
  direction: rtl;
  width: 4px;
  height: 90px;
  cursor: pointer;
  accent-color: var(--accent);
  background: transparent;
}
/* Firefox */
.volume-slider::-moz-range-track {
  width: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
}
.volume-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  box-shadow: 0 0 8px rgba(0,212,255,0.5);
}
/* WebKit */
.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(0,212,255,0.5);
}
.volume-slider::-webkit-slider-runnable-track {
  width: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
}

.mute-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(0,212,255,0.6);
  background: rgba(8,10,14,0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--accent);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
  animation: mutePulse 2s ease-in-out infinite;
}
@keyframes mutePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,212,255,0.4); }
  50%       { box-shadow: 0 0 0 6px rgba(0,212,255,0); }
}
.mute-btn.unmuted {
  border-color: rgba(255,255,255,0.25);
  color: var(--text);
  animation: none;
}
.mute-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 16px rgba(0,212,255,0.25);
}
.mute-btn svg {
  width: 18px;
  height: 18px;
  pointer-events: none;
}
.mute-btn .icon-unmuted { display: none; }
.mute-btn.unmuted .icon-muted   { display: none; }
.mute-btn.unmuted .icon-unmuted { display: block; }
.replay-btn,
.stop-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(8,10,14,0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease, transform 0.4s ease, border-color var(--transition), color var(--transition), box-shadow var(--transition);
}
.replay-btn:hover,
.stop-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 16px rgba(0,212,255,0.25);
}
.replay-btn svg,
.stop-btn svg {
  width: 16px;
  height: 16px;
  pointer-events: none;
}
/* stop: visible while playing, minimizes when done */
.stop-btn {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}
.stop-btn.hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.5);
}
/* replay: hidden while playing, pops in when done */
.replay-btn {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.5);
}
.replay-btn.visible {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}
.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

/* ── ABOUT ── */
#about {
  padding: 8rem 0;
  background: transparent;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
#about::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 12% at 15% 35%, rgba(0,212,255,0.13) 0%, transparent 100%),
    radial-gradient(ellipse 45% 8%  at 80% 75%, rgba(167,139,250,0.10) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: center;
}
.about-image {
  position: relative;
}
.about-photo {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: block;
  position: relative;
  z-index: 1;
}
.about-image-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse at center, rgba(0,212,255,0.08) 0%, transparent 70%);
  z-index: 0;
  border-radius: var(--radius);
}
.about-text h2 { margin-bottom: 1.5rem; }
.about-text p { margin-bottom: 1.2rem; }
.about-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.stat { display: flex; flex-direction: column; gap: 0.2rem; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.stat-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; }

/* ── SKILLS ── */
#skills {
  padding: 8rem 0;
  background: transparent;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
#skills::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 10% at 85% 25%, rgba(0,212,255,0.11) 0%, transparent 100%),
    radial-gradient(ellipse 60% 9%  at 20% 70%, rgba(167,139,250,0.09) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}
#skills h2 { margin-bottom: 3rem; }
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.skill-card {
  background: var(--bg2);
  border: none;
  border-left: 2px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 2rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: default;
}
.skill-card:hover {
  transform: translateY(-4px);
  box-shadow: -4px 8px 24px rgba(0,0,0,0.3), -2px 0 12px var(--skill-glow, rgba(0,212,255,0.35));
}
/* Per-card accent colors */
.skills-grid .skill-card:nth-child(1) { border-left-color: #00d4ff; --skill-glow: rgba(0,212,255,0.35); }
.skills-grid .skill-card:nth-child(2) { border-left-color: #00c9a7; --skill-glow: rgba(0,201,167,0.35); }
.skills-grid .skill-card:nth-child(3) { border-left-color: #ff6b6b; --skill-glow: rgba(255,107,107,0.35); }
.skills-grid .skill-card:nth-child(4) { border-left-color: #a78bfa; --skill-glow: rgba(167,139,250,0.35); }
.skills-grid .skill-card:nth-child(5) { border-left-color: #f472b6; --skill-glow: rgba(244,114,182,0.35); }
.skills-grid .skill-card:nth-child(6) { border-left-color: #6366f1; --skill-glow: rgba(99,102,241,0.35); }
.skill-icon {
  width: 2rem;
  height: 2rem;
  margin-bottom: 1rem;
  display: block;
}
.skill-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}
/* Icon color matches each card's accent */
.skills-grid .skill-card:nth-child(1) .skill-icon { color: #00d4ff; }
.skills-grid .skill-card:nth-child(2) .skill-icon { color: #00c9a7; }
.skills-grid .skill-card:nth-child(3) .skill-icon { color: #ff6b6b; }
.skills-grid .skill-card:nth-child(4) .skill-icon { color: #a78bfa; }
.skills-grid .skill-card:nth-child(5) .skill-icon { color: #f472b6; }
.skills-grid .skill-card:nth-child(6) .skill-icon { color: #6366f1; }
.skill-card h3 { margin-bottom: 0.6rem; color: var(--text); }
.skill-card p { font-size: 0.875rem; margin: 0; }

/* ── PORTFOLIO ── */
#portfolio {
  padding: 8rem 0;
  background: transparent;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
#portfolio::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 8% at 50% 15%, rgba(0,212,255,0.09) 0%, transparent 100%),
    radial-gradient(ellipse 50% 9% at 10% 80%, rgba(167,139,250,0.08) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}
#portfolio h2 { margin-bottom: 3rem; }
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.portfolio-grid .project-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: 560px;
  margin-inline: auto;
  width: 100%;
}
.portfolio-more {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-top: 2.5rem;
}
.portfolio-more a {
  color: var(--accent);
  font-size: 0.95rem;
  text-decoration: none;
  opacity: 0.8;
  transition: var(--transition);
}
.portfolio-more a:hover { opacity: 1; }
.project-card {
  background: var(--bg2);
  border: none;
  border-left: 2px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: -4px 8px 24px rgba(0,0,0,0.3), -2px 0 12px rgba(0,212,255,0.35);
}
.portfolio-grid .project-card:nth-child(even) {
  border-left-color: var(--accent2);
}
.portfolio-grid .project-card:nth-child(even):hover {
  box-shadow: -4px 8px 24px rgba(0,0,0,0.3), -2px 0 12px rgba(123,94,167,0.4);
}
.project-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #000;
}
.project-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}
.project-embed.sc-embed {
  padding-bottom: 0;
  height: auto;
}
.project-embed.sc-embed iframe {
  position: static;
  height: 166px;
}
.project-info {
  padding: 1.5rem;
}
.project-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.2);
  padding: 0.2em 0.7em;
  border-radius: 100px;
  margin-bottom: 0.75rem;
}
.project-info h3 { margin-bottom: 0.5rem; color: var(--text); font-size: 1rem; }
.project-info p { font-size: 0.85rem; margin: 0; }

/* ── SOCIAL ── */
#social {
  padding: 5rem 0;
  background: transparent;
  position: relative;
  z-index: 1;
  text-align: center;
}
#social .section-label { display: block; margin-bottom: 2.5rem; }
.social-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-muted);
  transition: var(--transition);
  padding: 1.5rem 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 120px;
  background: var(--surface);
}
.social-link svg { width: 28px; height: 28px; }
.social-link span { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.05em; }
.social-link:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,212,255,0.12);
}

/* ── CONTACT ── */
#contact {
  padding: 8rem 0;
  background: transparent;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
#contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 11% at 70% 40%, rgba(0,212,255,0.10) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}
.contact-inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.contact-inner .section-label { display: block; }
.contact-inner h2 { margin-bottom: 1.2rem; }
.contact-inner p { margin-bottom: 2.5rem; font-size: 1.05rem; }
.contact-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}
.contact-social a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-muted);
  transition: var(--transition);
}
.contact-social a svg { width: 18px; height: 18px; }
.contact-social a:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,212,255,0.15);
}

/* ── FOOTER ── */
footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  background: transparent;
  position: relative;
  z-index: 1;
}
footer p {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  #about, #skills, #portfolio { padding: 4.5rem 0; }
  #social { padding: 3.5rem 0; }
  #contact { padding: 5rem 0; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-photo { aspect-ratio: 1; max-width: 260px; margin: 0 auto; }

  .skills-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }

  .about-stats { gap: 1.5rem; }
  .stat-num { font-size: 1.8rem; }

  .social-row { gap: 1rem; }
  .social-link { min-width: 90px; padding: 1.2rem 1.2rem; }
}

@media (max-width: 480px) {
  #hero {
    justify-content: center;
  }
  .hero-content {
    padding: 7rem 1.5rem 2rem;
    max-width: 100%;
    text-align: center;
    align-items: center;
  }
  /* Eyebrow: switch from right-aligned flex to centered */
  .hero-eyebrow {
    justify-content: center;
  }
  .hero-eyebrow::before {
    display: none; /* decorative line doesn't work centered */
  }
  .hero-ctas {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
  }
  .hero-ctas .btn { width: 100%; max-width: 280px; justify-content: center; }
  /* Stats: distribute evenly so 3 items stay in one row */
  .about-stats { flex-wrap: wrap; gap: 1rem; }
  .about-stats .stat { flex: 1 1 0; min-width: 0; }
}
