:root {
  --bg: #08090c;
  --bg2:#0e0f14;
  --bg3:#141620;
  --surface:#1a1d2e;
  --surface2:#20243a;
  --accent:#6ee7b7;
  --accent2:#34d399;
  --accent-glow: rgba(110,231,183,0.15);
  --gold:#f0c060;
  --text:#eeeef5;
  --text2:#a8aac4;
  --text3:#636584;
  --border:rgba(255,255,255,0.06);
  --border2:rgba(255,255,255,0.1);
  --font-h: 'Clash Display', sans-serif;
  --font-b: 'Outfit', sans-serif;
  --radius: 14px;
  --radius-lg: 22px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

.container {
  width: 100%;
  padding: 0 5%;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.label::before {
  content: '';
  width: 28px;
  height: 1.5px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.section-title {
  font-family: var(--font-h);
  font-size: clamp(1.8rem, 6vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 18px;
}

section {
  padding: 72px 0;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { 
  transition-delay: 0.1s; 
}

.reveal-delay-2 { 
  transition-delay: 0.2s; 
}

.reveal-delay-3 { 
  transition-delay: 0.3s; 
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 0 5%;
  background: rgba(8, 9, 12, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-family: var(--font-h);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.logo .dot {
  color: var(--accent);
}

/* Mobile nav: hidden panel below navbar, slides in from left */
.nav-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  list-style: none;
  position: fixed;
  top: 64px;
  left: 0;
  width: 72%;
  max-width: 300px;
  background: var(--bg2);
  border-right: 1px solid var(--border2);
  border-bottom: 1px solid var(--border2);
  border-bottom-right-radius: 16px;
  padding: 16px 12px 20px;
  z-index: 199;
  transform: translateX(-110%);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  pointer-events: none;
}

.nav-links.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.nav-links li {
  width: 100%;
}

.nav-links a {
  display: block;
  width: 100%;
  color: var(--text2);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 11px 16px;
  border-radius: 10px;
  text-align: left;
  /* stagger roll-in */
  transform: translateX(-14px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease, color 0.2s, background 0.2s;
}

.nav-links.open a {
  transform: translateX(0);
  opacity: 1;
}

.nav-links.open li:nth-child(1) a { 
  transition-delay: 0.06s; 
}

.nav-links.open li:nth-child(2) a { 
  transition-delay: 0.12s; 
}

.nav-links.open li:nth-child(3) a { 
  transition-delay: 0.18s; 
}

.nav-links.open li:nth-child(4) a { 
  transition-delay: 0.24s; 
}

.nav-links.open li:nth-child(5) a { 
  transition-delay: 0.30s; 
}

.nav-links a:hover {
  color: var(--text);
  background: var(--surface);
}

.nav-cta {
  background: var(--accent) !important;
  color: #08090c !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  margin-top: 8px;
}

.nav-cta:hover {
  background: var(--accent2) !important;
}

/* Hamburger — visible on mobile */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 210;
}

.hamburger span {
  display: block;
  width: 22px;
  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; 
}

.hamburger.open span:nth-child(3) { 
  transform: translateY(-7px) rotate(-45deg); 
}

/* Hero */
#home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 64px;
  position: relative;
  overflow: hidden;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: blobFloat 8s ease-in-out infinite;
}

.hero-blob-1 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(110,231,183,0.08) 0%, transparent 70%);
  top: -60px;
  right: -60px;
}

.hero-blob-2 {
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(99,101,132,0.12) 0%, transparent 70%);
  bottom: 0;
  left: -80px;
  animation-delay: -4s;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%       { transform: translate(16px, -16px) scale(1.05); }
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse 80% 80% at 55% 50%, black 30%, transparent 100%);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 48px 5% 60px;
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
}

.hero-photo-col {
  order: -1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-photo-frame {
  position: relative;
  width: 240px;
}

.hero-photo-frame::before {
  content: '';
  position: absolute;
  inset: -1.5px;
  background: linear-gradient(145deg, var(--accent) 0%, transparent 55%, var(--surface2) 100%);
  border-radius: calc(var(--radius-lg) + 2px);
  z-index: 0;
}

.hero-photo {
  width: 100%;
  display: block;
  border-radius: var(--radius-lg);
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: top;
  position: relative;
  z-index: 1;
}

/* Float badges — hidden on mobile */
.hero-float-badge {
  display: none;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(110,231,183,0.08);
  border: 1px solid rgba(110,231,183,0.18);
  color: var(--accent);
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.hero-tag .pulse {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { 
    opacity: 1; 
    transform: scale(1); 
    box-shadow: 0 0 0 0 rgba(110,231,183,0.4); 
  }

  50% { 
    opacity: 0.8; 
    transform: scale(0.9); 
    box-shadow: 0 0 0 6px rgba(110,231,183,0); 
  }
}

.hero-name {
  font-family: var(--font-h);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.hero-h1 {
  font-family: var(--font-h);
  font-size: clamp(2rem, 8vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 18px;
}

.hero-h1 .accent {
  color: var(--accent);
}

.hero-sub {
  font-size: 1rem;
  color: var(--text2);
  line-height: 1.75;
  margin-bottom: 28px;
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Shared buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #08090c;
  padding: 13px 26px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  background: var(--accent2);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(110,231,183,0.25);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  padding: 13px 26px;
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid var(--border2);
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}

.btn-ghost:hover {
  border-color: rgba(255,255,255,0.22);
  background: var(--surface);
  transform: translateY(-2px);
}

/* Tagline strip */
#tagline {
  padding: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
  overflow: hidden;
}

.tagline-track {
  display: flex;
  align-items: center;
  padding: 16px 0;
  animation: tickerScroll 22s linear infinite;
  white-space: nowrap;
  width: max-content;
}

.tagline-track:hover {
  animation-play-state: paused;
}

@keyframes tickerScroll {
  0% { 
    transform: translateX(0); 
  }

  100% { 
    transform: translateX(-50%); 
  }
}

.tagline-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text3);
  padding: 0 28px;
  transition: color 0.2s;
}

.tagline-item:hover { 
  color: var(--accent); 
}

.tagline-item i { 
  color: var(--accent); 
  font-size: 0.8rem; 
}

.tagline-sep {
  color: var(--surface2);
  font-size: 1.1rem;
  padding: 0 4px;
}

/* About */
#about {
  background: var(--bg2);
}

.about-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.about-photo-wrap {
  display: flex;
  justify-content: center;
  position: relative;
}

.about-photo {
  width: 100%;
  max-width: 300px;
  border-radius: var(--radius-lg);
  display: block;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
}

.about-photo-accent {
  position: absolute;
  top: 16px;
  left: calc(50% - 134px);
  width: 300px;
  height: calc(100% - 8px);
  border: 1px solid rgba(110,231,183,0.18);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.about-body p {
  color: var(--text2);
  font-size: 0.95rem;
  line-height: 1.82;
  margin-bottom: 18px;
}
.about-body p strong {
  color: var(--text);
  font-weight: 500;
}

.about-questions {
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about-q {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 16px;
  background: var(--bg3);
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--text2);
  transition: border-color 0.2s;
}

.about-q:hover { 
  border-color: 
  rgba(110,231,183,0.2); 
}

.about-q i {
  color: var(--accent);
  margin-top: 2px;
  font-size: 0.82rem;
  flex-shrink: 0;
}

/* Projects */
#work {
  background: var(--bg);
}

.projects-intro {
  margin-bottom: 40px;
}

.projects-intro p {
  color: var(--text2);
  font-size: 1rem;
  margin-top: 12px;
}

.project-featured {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  margin-bottom: 24px;
}

.project-featured:hover {
  border-color: rgba(110,231,183,0.2);
  transform: translateY(-4px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}

.project-screenshot {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top;
  display: block;
}

.project-body {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}

.project-num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.project-title {
  font-family: var(--font-h);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.project-subtitle {
  font-size: 0.88rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 18px;
}

.project-quote {
  background: rgba(110,231,183,0.05);
  border-left: 3px solid var(--accent);
  padding: 12px 16px;
  border-radius: 0 10px 10px 0;
  font-size: 0.88rem;
  font-style: italic;
  color: var(--text2);
  line-height: 1.65;
  margin-bottom: 20px;
}

.project-meta-block {
  margin-bottom: 18px;
}

.project-meta-block h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.project-meta-block h4 i { 
  color: var(--accent); 
}

.project-meta-block ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.project-meta-block li {
  font-size: 0.875rem;
  color: var(--text2);
  padding-left: 16px;
  position: relative;
  line-height: 1.55;
}

.project-meta-block li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
}

.project-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 22px;
}

.stack-tag {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text3);
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  transition: color 0.2s, border-color 0.2s;
}

.stack-tag:hover {
  color: var(--text2);
  border-color: var(--border2);
}

.project-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.plink {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.plink-live {
  background: var(--accent);
  color: #08090c;
}
.plink-live:hover {
  background: var(--accent2);
  transform: translateY(-1px);
}

.plink-code {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border2);
}
.plink-code:hover {
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-1px);
}

/* Small project cards */
.projects-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.project-card-sm {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.3s, transform 0.3s;
}
.project-card-sm:hover {
  border-color: rgba(110,231,183,0.18);
  transform: translateY(-3px);
}

.project-card-sm .project-title { font-size: 1.1rem; margin-bottom: 8px; }
.project-card-sm p {
  color: var(--text2);
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 18px;
}

/* Skills */
#skills {
  background: var(--bg2);
}

.skills-header {
  margin-bottom: 36px;
}

.skills-header p {
  color: var(--text2);
  margin-top: 10px;
  font-size: 0.95rem;
}

.skills-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.skill-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
}

.skill-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.skill-card:hover { 
  border-color: rgba(110,231,183,0.2); transform: translateY(-3px); 
}

.skill-card:hover::before { 
  opacity: 1; 
}

.skill-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(110,231,183,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1rem;
  color: var(--accent);
}

.skill-card h3 {
  font-family: var(--font-h);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 14px;
}

.skill-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.skill-pill {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text2);
  padding: 4px 11px;
  border-radius: 6px;
  font-size: 0.77rem;
  font-weight: 500;
}

/* Contact */
#contact {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.contact-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 70% at 50% 110%, rgba(110,231,183,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.contact-inner {
  text-align: center;
  position: relative;
  z-index: 2;
}

.contact-inner .section-title { 
  margin-bottom: 16px; 
}

.contact-sub {
  color: var(--text2);
  font-size: 0.98rem;
  line-height: 1.78;
  margin-bottom: 14px;
}

.contact-extra {
  color: var(--text3);
  font-size: 0.9rem;
  margin-bottom: 36px;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  border-radius: 14px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.25s;
  border: 1px solid var(--border);
  color: var(--text);
  background: var(--bg3);
}

.contact-card:hover {
  border-color: rgba(110,231,183,0.28);
  transform: translateY(-2px);
  background: var(--surface);
}

.contact-card.primary {
  background: var(--accent);
  color: #08090c;
  border-color: transparent;
}

.contact-card.primary:hover {
  background: var(--accent2);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(110,231,183,0.2);
}
.contact-card i { font-size: 0.9rem; }

/* Footer */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 48px 5% 28px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 36px;
  margin-bottom: 36px;
}

.footer-brand .logo {
  display: inline-block;
  margin-bottom: 14px;
}

.footer-brand p {
  color: var(--text3);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text3);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.social-btn:hover {
  background: var(--surface2);
  color: var(--accent);
  border-color: rgba(110,231,183,0.2);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-family: var(--font-h);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  color: var(--text2);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-col ul li a:hover { 
  color: var(--accent); 
}

.footer-col ul li a i {
  font-size: 0.75rem;
  color: var(--text3);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text3);
  text-align: center;
}

.footer-bottom a {
  color: var(--text3);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom a:hover { 
  color: var(--accent); 
}

.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-bottom-right i {
  color: var(--accent);
  font-size: 0.75rem;
}

/* Animations */
@keyframes fadeUp {
  from { 
    opacity: 0; 
    transform: translateY(22px); 
  }

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

.hero-tag { 
  animation: fadeUp 0.5s 0.1s ease both; 
}

.hero-name { 
  animation: fadeUp 0.5s 0.2s ease both; 
}

.hero-h1 { 
  animation: fadeUp 0.5s 0.3s ease both; 
}

.hero-sub { 
  animation: fadeUp 0.5s 0.4s ease both; 
}

.hero-btns { 
  animation: fadeUp 0.5s 0.5s ease both; 
}

.hero-photo-col { 
  animation: fadeUp 0.7s 0.25s ease both; 
}

/* ---- Small tablets: 480px+ ---- */
@media (min-width: 480px) {
  .container { padding: 0 6%; }

  .contact-cards {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .project-screenshot { 
    height: 260px; 
  }
}

/* ---- Tablets: 640px+ ---- */
@media (min-width: 640px) {
  section { 
    padding: 90px 0; 
  }

  .nav-inner { 
    height: 68px; 
  }
  .nav-links {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    width: auto;
    max-width: none;
    background: none;
    border: none;
    border-radius: 0;
    padding: 0;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    transition: none;
  }

  .nav-links li { 
    width: auto; 
  }

  .nav-links a {
    display: inline-block;
    width: auto;
    font-size: 0.875rem;
    padding: 7px 14px;
    text-align: left;
    transform: none;
    opacity: 1;
    transition: color 0.2s, background 0.2s;
  }

  .nav-links.open a { 
    transition-delay: 0s; 
  }

  .nav-cta {
    padding: 8px 20px !important;
    border-radius: 100px !important;
    margin-top: 0;
  }

  .hamburger { 
    display: none; 
  }

  .hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    padding: 80px 5%;
    text-align: left;
  }

  .hero-photo-col { 
    order: 0; 
  }

  .hero-photo-frame { 
    width: 320px; 
  }

  .hero-sub { 
    margin-bottom: 38px; 
  }

  .hero-btns { 
    justify-content: flex-start; 
  }

  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: start;
  }
  
  .about-photo-wrap { 
    justify-content: flex-start; 
  }

  .about-photo { 
    max-width: 100%; 
  }

  .about-photo-accent { 
    left: 16px; 
    width: 100%; 
  }

  .project-screenshot { 
    height: 300px; 
  }

  .project-body { 
    padding: 32px 28px; 
  }

  .skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand { 
    grid-column: 1 / -1; 
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ---- Large tablets / small desktops: 960px+ ---- */
@media (min-width: 960px) {
  section { 
    padding: 110px 0; 
  }

  .container { 
    max-width: 1160px; 
    margin: 0 auto; 
  }

  .hero-inner { 
    gap: 80px; 
  }

  .hero-photo-frame { 
    width: 400px; 
  }
  .hero-blob-1 { 
    width: 500px; 
    height: 500px; 
    top: -100px; 
    right: -100px; 
  }

  .hero-blob-2 { 
    width: 400px; 
    height: 400px; 
    bottom: 0; 
    left: -150px; 
  }

  .hero-float-badge {
    display: flex;
    position: absolute;
    background: var(--bg3);
    border: 1px solid var(--border2);
    border-radius: 12px;
    padding: 10px 16px;
    font-size: 0.8rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    z-index: 3;
    align-items: center;
    gap: 8px;
  }

  .hero-float-badge .badge-icon { 
    color: var(--accent); 
    font-size: 0.85rem; 
  }

  .hero-float-badge-1 { 
    bottom: 28px; 
    left: -20px; 
    color: var(--accent); 
  }

  .hero-float-badge-2 { 
    top: 34px; 
    right: -18px; 
    color: var(--text2); 
  }

  .about-grid { 
    gap: 90px; 
  }
  .about-photo { 
    max-width: 380px; 
  }

  .project-screenshot { 
    height: 100%; 
    min-height: 400px; 
  }

  .project-body { 
    padding: 48px 44px; 
    justify-content: center; 
  }

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

  .footer-inner { 
    grid-template-columns: 1.5fr 1fr 1fr; 
    gap: 60px; 
  }
  .footer-brand { 
    grid-column: auto; 
  }
}

/* ---- Full desktops: 1200px+ ---- */
@media (min-width: 1200px) {
  .skills-grid { 
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); 
  }

  .projects-intro { 
    max-width: 600px; 
    margin-bottom: 64px; }
  .footer-inner { margin-bottom: 48px; 
  }
}
