:root {
  --bg: #07070f;
  --surface: #0e0e1c;
  --surface2: #14142a;
  --border: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(74, 242, 200, 0.3);
  --cyan: #4af2c8;
  --cyan-dim: rgba(74, 242, 200, 0.12);
  --amber: #f7c948;
  --amber-dim: rgba(247, 201, 72, 0.1);
  --text: #e4e4f0;
  --muted: #7070a0;
  --card-bg: rgba(14, 14, 28, 0.8);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Outfit", sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  cursor: none;
}

/* CUSTOM CURSOR */
.cursor {
  width: 10px;
  height: 10px;
  background: var(--cyan);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition:
    transform 0.1s,
    width 0.2s,
    height 0.2s;
}
.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(74, 242, 200, 0.5);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition:
    transform 0.15s ease-out,
    width 0.2s,
    height 0.2s,
    border-color 0.2s;
}
body:has(a:hover) .cursor-ring,
body:has(button:hover) .cursor-ring {
  width: 60px;
  height: 60px;
  border-color: var(--cyan);
}

/* NOISE 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='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
  opacity: 0.4;
}

/* DOT GRID */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(
    circle,
    rgba(74, 242, 200, 0.06) 1px,
    transparent 1px
  );
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 60px;
  background: rgba(7, 7, 15, 0.6);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s;
}
nav.scrolled {
  padding: 14px 60px;
}
.nav-logo {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.5px;
}
.nav-logo span {
  color: var(--cyan);
}
.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--cyan);
  transition: width 0.3s;
}
.nav-links a:hover {
  color: var(--text);
}
.nav-links a:hover::after {
  width: 100%;
}
.nav-cta {
  background: var(--cyan);
  color: #000 !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 600 !important;
  font-size: 13px !important;
  transition:
    opacity 0.2s,
    transform 0.2s !important;
}
.nav-cta:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}
.nav-cta::after {
  display: none !important;
}

/* HERO */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 120px 60px 60px;
  z-index: 2;
  overflow: hidden;
  gap: 40px;
}

/* HERO PHOTO */
.hero-photo-wrap {
  position: relative;
  flex-shrink: 0;
  width: 340px;
  height: 420px;
  z-index: 2;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.9s forwards;
}
.hero-photo-frame {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(74, 242, 200, 0.2);
}
.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(10%) contrast(1.05);
  transition:
    transform 0.5s ease,
    filter 0.5s ease;
}
.hero-photo-wrap:hover .hero-photo-frame img {
  transform: scale(1.04);
  filter: grayscale(0%) contrast(1.1);
}
/* Cyan gradient overlay at bottom */
.hero-photo-frame::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(7, 7, 15, 0.7) 0%, transparent 100%);
  pointer-events: none;
}
/* Decorative corner border */
.hero-photo-deco {
  position: absolute;
  bottom: -14px;
  right: -14px;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(74, 242, 200, 0.15);
  border-radius: 24px;
  pointer-events: none;
}
/* Floating tag on photo */
.hero-photo-tag {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(7, 7, 15, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(74, 242, 200, 0.25);
  border-radius: 10px;
  padding: 10px 14px;
  z-index: 3;
}
.hero-photo-tag-name {
  font-family: "Syne", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.hero-photo-tag-role {
  font-size: 11px;
  color: var(--cyan);
  margin-top: 2px;
  letter-spacing: 0.5px;
}
/* Accent dot cluster */
.photo-dots {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 80px;
  height: 80px;
  background-image: radial-gradient(
    circle,
    rgba(74, 242, 200, 0.4) 1.5px,
    transparent 1.5px
  );
  background-size: 12px 12px;
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(74, 242, 200, 0.07) 0%,
    transparent 70%
  );
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: glowPulse 4s ease-in-out infinite;
}
@keyframes glowPulse {
  0%,
  100% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
  }
}
.hero-amber-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(247, 201, 72, 0.05) 0%,
    transparent 70%
  );
  bottom: 10%;
  right: 5%;
  pointer-events: none;
}
.hero-content {
  max-width: 900px;
  z-index: 2;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--cyan);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.2s forwards;
}
.hero-eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--cyan);
}
.hero-name {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: clamp(52px, 8vw, 96px);
  line-height: 0.95;
  letter-spacing: -3px;
  color: var(--text);
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.35s forwards;
}
.hero-name .accent {
  color: var(--cyan);
}
.hero-role {
  font-family: "Syne", sans-serif;
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 24px;
  height: 1.4em;
  overflow: hidden;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.5s forwards;
}
.typewriter {
  color: var(--amber);
  border-right: 2px solid var(--amber);
  padding-right: 4px;
  animation: blink 0.8s step-end infinite;
}
@keyframes blink {
  0%,
  100% {
    border-color: transparent;
  }
  50% {
    border-color: var(--amber);
  }
}

.hero-desc {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.65s forwards;
}
.hero-desc strong {
  color: var(--text);
  font-weight: 500;
}
.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.8s forwards;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cyan);
  color: #000;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition:
    transform 0.2s,
    opacity 0.2s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  padding: 14px 28px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-family: "Outfit", sans-serif;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  transition:
    border-color 0.2s,
    transform 0.2s,
    background 0.2s;
}
.btn-outline:hover {
  border-color: var(--cyan);
  background: var(--cyan-dim);
  transform: translateY(-2px);
}
.hero-social {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 2;
  opacity: 0;
  animation: fadeIn 0.8s ease 1.2s forwards;
}
.social-icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--muted);
  font-size: 18px;
  transition:
    border-color 0.2s,
    color 0.2s,
    background 0.2s,
    transform 0.2s;
  background: var(--surface);
}
.social-icon:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: var(--cyan-dim);
  transform: scale(1.08);
}
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 60px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeIn 1s ease 1.4s forwards;
}
.scroll-line {
  width: 40px;
  height: 1px;
  background: var(--muted);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,
  100% {
    width: 40px;
    opacity: 0.5;
  }
  50% {
    width: 60px;
    opacity: 1;
  }
}

/* SECTIONS */
section {
  position: relative;
  z-index: 2;
  padding: 100px 60px;
}
.section-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 64px;
}
.section-tag {
  font-size: 12px;
  color: var(--cyan);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 600;
}
.section-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--border), transparent);
}
.section-title {
  font-family: "Syne", sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 20px;
  color: var(--text);
}
.section-title span {
  color: var(--cyan);
}

/* ABOUT */
#about {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-text p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 20px;
}
.about-text p strong {
  color: var(--text);
  font-weight: 500;
}
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}
.stat-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.stat-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}
.stat-number {
  font-family: "Syne", sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--cyan);
  letter-spacing: -1px;
}
.stat-label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}
.about-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.about-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.about-tag {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--muted);
  transition: all 0.2s;
}
.about-tag:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: var(--cyan-dim);
}
.about-tag.amber {
  color: var(--amber);
  border-color: rgba(247, 201, 72, 0.3);
  background: var(--amber-dim);
}
.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(
    135deg,
    rgba(74, 242, 200, 0.1),
    rgba(74, 242, 200, 0.03)
  );
  border: 1px solid rgba(74, 242, 200, 0.2);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 14px;
  color: var(--text);
}
.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(74, 242, 200, 0.4);
  }
  50% {
    opacity: 0.8;
    transform: scale(0.9);
    box-shadow: 0 0 0 8px rgba(74, 242, 200, 0);
  }
}

/* SKILLS */
#skills {
  background: var(--bg);
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.skill-category {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition:
    border-color 0.3s,
    transform 0.3s;
}
.skill-category:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}
.skill-cat-title {
  font-family: "Syne", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.skill-cat-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}
.skill-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.skill-chip {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  transition: all 0.2s;
  cursor: default;
}
.skill-chip:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: var(--cyan-dim);
  transform: translateY(-2px);
}
.skill-chip.amber:hover {
  border-color: var(--amber);
  color: var(--amber);
  background: var(--amber-dim);
}

/* EXPERIENCE */
#experience {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.timeline {
  position: relative;
  padding-left: 40px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(to bottom, var(--cyan), rgba(74, 242, 200, 0.1));
}
.timeline-item {
  position: relative;
  margin-bottom: 56px;
  opacity: 0;
  transform: translateX(-20px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.timeline-item.visible {
  opacity: 1;
  transform: translateX(0);
}
.timeline-dot {
  position: absolute;
  left: -46px;
  top: 6px;
  width: 14px;
  height: 14px;
  background: var(--bg);
  border: 2px solid var(--cyan);
  border-radius: 50%;
  transition: background 0.2s;
}
.timeline-item:hover .timeline-dot {
  background: var(--cyan);
}
.timeline-date {
  font-size: 12px;
  color: var(--cyan);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 8px;
}
.timeline-company {
  font-family: "Syne", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}
.timeline-role {
  font-size: 15px;
  color: var(--amber);
  font-weight: 500;
  margin-bottom: 20px;
}
.timeline-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.exp-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  transition: border-color 0.2s;
}
.exp-card:hover {
  border-color: rgba(74, 242, 200, 0.2);
}
.exp-card-header {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 12px;
}
.exp-card-header strong {
  color: var(--cyan);
}
.exp-card-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.tech-pill {
  background: rgba(74, 242, 200, 0.08);
  border: 1px solid rgba(74, 242, 200, 0.2);
  color: var(--cyan);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.5px;
}
.exp-achievements {
  list-style: none;
  padding: 0;
}
.exp-achievements li {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  padding: 4px 0 4px 18px;
  position: relative;
}
.exp-achievements li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-size: 12px;
}
.exp-achievements li strong {
  color: var(--text);
}
.perf-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(74, 242, 200, 0.1);
  border: 1px solid rgba(74, 242, 200, 0.3);
  color: var(--cyan);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
}

/* CONTACT */
#contact {
  background: var(--bg);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-left p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 40px;
}
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.2s;
}
.contact-link:hover {
  border-color: var(--border-hover);
  background: var(--cyan-dim);
  transform: translateX(4px);
}
.contact-link-icon {
  width: 40px;
  height: 40px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.contact-link-info {
  flex: 1;
}
.contact-link-label {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.contact-link-value {
  font-size: 15px;
  font-weight: 500;
}
.contact-link-arrow {
  color: var(--muted);
  font-size: 18px;
  transition:
    color 0.2s,
    transform 0.2s;
}
.contact-link:hover .contact-link-arrow {
  color: var(--cyan);
  transform: translateX(4px);
}

.contact-right {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
}
.contact-right h3 {
  font-family: "Syne", sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}
.contact-right p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 28px;
  line-height: 1.6;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--text);
  font-family: "Outfit", sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--cyan);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted);
}
.btn-send {
  width: 100%;
  background: var(--cyan);
  color: #000;
  border: none;
  padding: 14px;
  border-radius: 10px;
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.btn-send:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* FOOTER */
footer {
  position: relative;
  z-index: 2;
  padding: 32px 60px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface);
}
.footer-logo {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--text);
}
.footer-logo span {
  color: var(--cyan);
}
.footer-copy {
  font-size: 13px;
  color: var(--muted);
}
.footer-copy span {
  color: var(--cyan);
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--text);
}

/* ANIMATIONS */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* MOBILE */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
  nav {
    padding: 16px 24px;
  }
  nav.scrolled {
    padding: 12px 24px;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 10, 20, 0.72);
    backdrop-filter: blur(28px) saturate(1.6);
    -webkit-backdrop-filter: blur(28px) saturate(1.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 8px;
    gap: 4px;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links li {
    list-style: none;
  }
  .nav-links a {
    display: block;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    color: rgba(228, 228, 240, 0.92) !important;
    letter-spacing: 0.2px;
    transition:
      background 0.2s,
      color 0.2s;
  }
  .nav-links a::after {
    display: none !important;
  }
  .nav-links a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff !important;
  }
  .nav-links .nav-cta {
    background: var(--cyan) !important;
    color: #000 !important;
    text-align: center;
    margin-top: 4px;
    font-weight: 700 !important;
  }
  #hero {
    padding: 100px 24px 60px;
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 32px;
  }
  .hero-photo-wrap {
    width: 100%;
    height: 280px;
  }
  .hero-social {
    display: none;
  }
  .hero-scroll {
    left: 24px;
  }
  section {
    padding: 70px 24px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  footer {
    padding: 24px;
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .footer-links {
    display: none;
  }
}

/* CONTACT SOLO */
.contact-solo {
  max-width: 800px;
}
.contact-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 700px) {
  .contact-links-grid {
    grid-template-columns: 1fr;
  }
}
