/* ═══════════════════════════════════════════════
   SAKSHI GUPTA PORTFOLIO — PREMIUM CSS
   Apple-inspired · Minimal · Elegant
═══════════════════════════════════════════════ */

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

:root {
  --ink: #0a0a0f;
  --ink-2: #1c1c24;
  --ink-light: #6b7280;
  --ink-faint: #9ca3af;
  --cream: #fafaf8;
  --white: #ffffff;
  --accent: #c084fc;
  --accent-2: #818cf8;
  --accent-warm: #fb923c;
  --glass: rgba(255,255,255,0.72);
  --glass-border: rgba(255,255,255,0.5);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
  --radius: 20px;
  --radius-sm: 12px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --nav-h: 70px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── NAVBAR ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  height: var(--nav-h);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  background: rgba(250,250,248,0.78);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: box-shadow 0.3s var(--ease);
}

.nav.scrolled {
  box-shadow: 0 2px 24px rgba(0,0,0,0.08);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-light);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }

.nav-cta {
  background: var(--ink) !important;
  color: var(--white) !important;
  padding: 9px 22px;
  border-radius: 50px;
  font-weight: 600 !important;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease) !important;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2) !important;
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 998;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-nav ul {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--ink);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s var(--ease);
}
.mobile-nav.open a {
  opacity: 1;
  transform: translateY(0);
}
.mobile-nav.open li:nth-child(1) a { transition-delay: 0.05s; }
.mobile-nav.open li:nth-child(2) a { transition-delay: 0.10s; }
.mobile-nav.open li:nth-child(3) a { transition-delay: 0.15s; }
.mobile-nav.open li:nth-child(4) a { transition-delay: 0.20s; }
.mobile-nav.open li:nth-child(5) a { transition-delay: 0.25s; }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: float 8s ease-in-out infinite;
}
.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #7c3aed 0%, transparent 70%);
  top: -200px; left: -100px;
  animation-delay: 0s;
}
.orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
  bottom: -100px; right: -100px;
  animation-delay: -3s;
}
.orb-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #ec4899 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -5s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  padding-top: var(--nav-h);
}

.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 24px;
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 32px;
}
.hero-name em {
  font-style: italic;
  background: linear-gradient(135deg, #c084fc, #818cf8, #67e8f9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
  margin-bottom: 48px;
  max-width: 400px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 32px;
  background: var(--white);
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.btn-primary:active { transform: scale(0.98); }
.btn-full { width: 100%; justify-content: center; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 15px 32px;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.2);
  transition: all 0.25s var(--ease);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-2px);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.4;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: var(--white);
  animation: scrollPulse 2s ease-in-out infinite;
}
.hero-scroll span {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ── SECTIONS ── */
.section { padding: 120px 0; }

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.section-heading em {
  font-style: italic;
  color: var(--accent-2);
}

.section-header {
  margin-bottom: 72px;
}

/* ── ABOUT ── */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  margin-bottom: 72px;
  align-items: start;
}

.about-bio {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #374151;
  margin-bottom: 20px;
}
.about-bio strong { color: var(--ink); }

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid #f0f0f0;
}

.stat {}
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.82rem;
  color: var(--ink-faint);
  font-weight: 500;
}

/* Skill bars */
.skills-bars {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.skill-bar-item {}
.skill-bar-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
}
.skill-pct { color: var(--ink-faint); font-weight: 400; }

.skill-track {
  height: 5px;
  background: #f3f4f6;
  border-radius: 10px;
  overflow: hidden;
}
.skill-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  border-radius: 10px;
  transition: width 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── EXPERIENCE ── */
.experience {
  background: var(--cream);
}

.timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto 72px;
}

.timeline-item {
  position: relative;
  padding-left: 52px;
  padding-bottom: 56px;
}
.timeline-item:last-child { padding-bottom: 0; }

.tl-dot {
  position: absolute;
  left: 0; top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #d1d5db;
  border: 3px solid var(--cream);
  box-shadow: 0 0 0 2px #d1d5db;
  transition: all 0.3s;
  z-index: 1;
}
.tl-active .tl-dot {
  background: var(--accent);
  box-shadow: 0 0 0 2px var(--accent), 0 0 16px rgba(192, 132, 252, 0.4);
}

.tl-line {
  position: absolute;
  left: 6px; top: 20px;
  width: 2px;
  height: calc(100% - 12px);
  background: linear-gradient(to bottom, #e5e7eb, transparent);
}

.tl-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.05);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.tl-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.tl-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.tl-date {
  font-size: 0.8rem;
  color: var(--ink-faint);
  font-weight: 500;
}
.tl-badge {
  font-size: 0.72rem;
  font-weight: 600;
  background: #f3f4f6;
  color: #6b7280;
  padding: 3px 10px;
  border-radius: 50px;
  letter-spacing: 0.03em;
}

.tl-active .tl-badge {
  background: rgba(192,132,252,0.12);
  color: var(--accent);
}

.tl-role {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}
.tl-company {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-2);
  margin-bottom: 12px;
}
.tl-desc {
  font-size: 0.9rem;
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 16px;
}
.tl-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tl-tags span {
  font-size: 0.72rem;
  font-weight: 600;
  background: #f9fafb;
  color: var(--ink-light);
  padding: 4px 12px;
  border-radius: 50px;
  border: 1px solid #e5e7eb;
}

/* Education strip */
.edu-strip {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.05);
}
.edu-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.edu-year {
  font-size: 0.78rem;
  color: var(--ink-faint);
  font-weight: 500;
  letter-spacing: 0.05em;
}
.edu-degree {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
}
.edu-divider {
  width: 1px;
  height: 56px;
  background: #e5e7eb;
  margin: 0 40px;
}

/* ── PORTFOLIO ── */
.portfolio {
  background: var(--white);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}

.p-card-large {
  grid-column: span 2;
  grid-row: span 1;
}

.portfolio-card {
  background: #f9fafb;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #f0f0f0;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  cursor: pointer;
}
.portfolio-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow-lg);
}

.p-card-img {
  width: 100%;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.p-card-large .p-card-img { height: 320px; }

/* Mock UIs inside cards */
.p-card-mock { opacity: 0.7; }

.mock-phone {
  width: 80px; height: 140px;
  background: rgba(255,255,255,0.15);
  border-radius: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mock-screen { display: flex; flex-direction: column; gap: 6px; }
.mock-bar { height: 6px; background: rgba(255,255,255,0.4); border-radius: 3px; }
.mock-bar.short { width: 60%; }
.mock-circle { width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,0.3); margin-top: 4px; }

.mock-poster {
  width: 100px; height: 130px;
  background: rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mock-headline { height: 10px; background: rgba(255,255,255,0.6); border-radius: 4px; }
.mock-sub { height: 6px; width: 70%; background: rgba(255,255,255,0.3); border-radius: 4px; }
.mock-img-block { flex: 1; background: rgba(255,255,255,0.2); border-radius: 6px; margin-top: 6px; }

.mock-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 80px;
}
.mock-bar-v {
  width: 18px;
  background: rgba(255,255,255,0.4);
  border-radius: 4px 4px 0 0;
}

.mock-reel {
  width: 80px; height: 80px;
  border: 3px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mock-play {
  color: rgba(255,255,255,0.8);
  font-size: 1.8rem;
  margin-left: 4px;
}

.mock-text-lines {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100px;
}
.mock-tl { height: 8px; background: rgba(255,255,255,0.4); border-radius: 4px; }
.mock-tl.short { width: 55%; }
.mock-tl.medium { width: 75%; }

.p-card-body {
  padding: 24px;
}
.p-cat {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
  display: block;
}
.portfolio-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.portfolio-card p {
  font-size: 0.87rem;
  color: var(--ink-light);
  line-height: 1.6;
}

/* ── TOOLS ── */
.tools {
  background: var(--cream);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.tool-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(0,0,0,0.05);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  cursor: default;
}
.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.tool-icon {
  width: 58px; height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.tool-card span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-light);
  text-align: center;
  line-height: 1.3;
}

/* ── CONTACT ── */
.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.contact-sub {
  font-size: 1rem;
  color: var(--ink-light);
  margin-top: 20px;
  margin-bottom: 48px;
  line-height: 1.7;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: #f9fafb;
  border-radius: var(--radius-sm);
  border: 1px solid #f0f0f0;
  transition: all 0.25s var(--ease);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
}
.contact-link:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}
.contact-link-icon {
  font-size: 1.3rem;
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.whatsapp-link { border-color: rgba(37,211,102,0.2); }
.whatsapp-link:hover { border-color: rgba(37,211,102,0.5); }

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: #f9fafb;
  border: 1.5px solid #e5e7eb;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #d1d5db; }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(129,140,248,0.12);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 130px; }

.form-status {
  font-size: 0.88rem;
  text-align: center;
  font-weight: 500;
  min-height: 24px;
  transition: all 0.3s;
}
.form-status.success { color: #059669; }
.form-status.error { color: #ef4444; }

/* ── FOOTER ── */
.footer {
  background: var(--ink);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--white);
}

.footer-copy {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }

/* ── MOBILE STICKY CTA ── */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 990;
  padding: 12px 20px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,0.92);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(0,0,0,0.08);
}
.mobile-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: #25D366;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 14px;
  transition: opacity 0.2s;
}
.mobile-cta-btn:active { opacity: 0.85; }

/* ── SCROLL REVEAL ── */
.reveal, .reveal-delay-1, .reveal-delay-2, .reveal-delay-3 {
  opacity: 0;
  transform: translateY(28px);
  animation: revealUp 0.9s var(--ease) forwards;
}
.reveal { animation-delay: 0.1s; }
.reveal-delay-1 { animation-delay: 0.3s; }
.reveal-delay-2 { animation-delay: 0.5s; }
.reveal-delay-3 { animation-delay: 0.7s; }

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

.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .tools-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .section-heading { font-size: 2.2rem; }
  
  .nav-links { display: none; }
  .nav-burger { display: flex; }

  .hero-name { font-size: clamp(3.5rem, 15vw, 5.5rem); }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .p-card-large { grid-column: span 1; }

  .contact-grid { grid-template-columns: 1fr; gap: 48px; }

  .about-stats { flex-wrap: wrap; gap: 24px; }

  .tools-grid { grid-template-columns: repeat(2, 1fr); }

  .mobile-cta { display: block; }
  
  /* Add padding so content doesn't hide behind mobile CTA */
  .contact { padding-bottom: 100px; }

  .edu-strip { flex-direction: column; padding: 24px 28px; gap: 24px; }
  .edu-divider { width: 100%; height: 1px; margin: 0; }

  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .tools-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .hero-cta { flex-direction: column; }
  .btn-primary, .btn-ghost { text-align: center; justify-content: center; }
}

/* ── UTILITY ── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Touch target sizes */
@media (hover: none) {
  .btn-primary, .btn-ghost, .nav-cta, .contact-link, .mobile-cta-btn {
    min-height: 44px;
    min-width: 44px;
  }
}
