/* Modern Dark Design System for Prateek Bharat Sharma */
:root {
  --bg-main: #07090e;
  --bg-surface: #0e131f;
  --bg-card: rgba(16, 22, 36, 0.75);
  --bg-card-hover: rgba(22, 30, 48, 0.85);
  
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-card: rgba(255, 255, 255, 0.1);
  --border-focus: rgba(16, 185, 129, 0.4);
  
  --text-white: #f8fafc;
  --text-main: #e2e8f0;
  --text-muted: #94a3b8;
  --text-faint: #64748b;
  
  --emerald: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.25);
  --cyan: #06b6d4;
  --indigo: #6366f1;
  --amber: #f59e0b;
  --rose: #f43f5e;
  
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', var(--font-sans);
  --font-mono: 'JetBrains Mono', monospace;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--border-card);
  --shadow-glow: 0 0 40px -10px var(--emerald-glow);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  background: radial-gradient(circle at 50% 0%, #111a2e 0%, var(--bg-main) 70%);
}

/* Ambient Background Lights */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

.glow-top {
  top: -150px;
  right: -50px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.35), transparent 70%);
}

.glow-middle {
  top: 900px;
  left: -150px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.25), transparent 70%);
}

.glow-bottom {
  bottom: 200px;
  right: 5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.25), transparent 70%);
}

.shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

/* Typography Helpers */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text-white);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

.text-white {
  color: var(--text-white);
}

/* Sticky Frosted Header */
.site-header {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 20px;
}

.header-inner {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  background: rgba(14, 19, 31, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-full);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 17px;
  color: var(--text-white);
}

.brand-avatar img {
  border-radius: 50%;
  display: block;
  border: 1.5px solid var(--emerald);
  object-fit: cover;
}

.brand span span {
  color: var(--emerald);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-menu a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 4px 2px;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--text-white);
}

.nav-menu a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--emerald);
  border-radius: var(--radius-full);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-sm {
  padding: 7px 16px;
  font-size: 13px;
}

.btn-primary {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #042417;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.35);
  font-weight: 700;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5);
  color: #021a10;
}

.btn-glass {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-white);
  border: 1px solid var(--border-card);
  backdrop-filter: blur(8px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-white);
  border: 1px solid var(--border-card);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--emerald);
  color: var(--emerald);
}

/* Hero Section */
.hero-section {
  padding-top: 140px;
  padding-bottom: 70px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 56px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  color: var(--emerald);
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--emerald);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.status-pill .divider {
  color: var(--text-faint);
}

.status-pill .location-tag {
  color: var(--text-muted);
}

.hero-title {
  font-size: clamp(48px, 6vw, 76px);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 20px;
  letter-spacing: -0.035em;
}

.hero-title-highlight {
  background: linear-gradient(135deg, #ffffff 40%, var(--emerald) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.accent-dot {
  color: var(--emerald);
  -webkit-text-fill-color: var(--emerald);
}

.hero-subtitle {
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.45;
  color: #cbd5e1;
  margin-bottom: 18px;
  font-weight: 400;
}

.hero-bio {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 34px;
  max-width: 580px;
}

.hero-bio strong {
  color: var(--text-white);
  font-weight: 600;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.social-quick-links {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 10px;
}

.icon-link {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-card);
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.icon-link:hover {
  color: var(--emerald);
  border-color: var(--emerald);
  background: rgba(16, 185, 129, 0.1);
  transform: translateY(-2px);
}

/* Portrait Visual & Floating Badges */
.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.portrait-card {
  position: relative;
  width: 100%;
  max-width: 420px;
}

.portrait-glow {
  position: absolute;
  inset: -15px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.3), rgba(6, 182, 212, 0.25), rgba(99, 102, 241, 0.3));
  border-radius: 36px;
  filter: blur(28px);
  opacity: 0.6;
  z-index: 0;
  transition: opacity 0.4s ease;
}

.portrait-card:hover .portrait-glow {
  opacity: 0.85;
}

.portrait-frame {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  background: #0d1424;
  z-index: 1;
}

.portrait-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portrait-card:hover .portrait-img {
  transform: scale(1.03);
}

.portrait-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 9, 14, 0.6) 0%, transparent 40%);
  pointer-events: none;
}

/* Floating Badges on Portrait */
.floating-badge {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: rgba(14, 20, 32, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
  animation: floatSlow 4s ease-in-out infinite alternate;
}

.badge-top {
  top: 24px;
  left: -28px;
}

.badge-bottom {
  bottom: 24px;
  right: -24px;
  animation-delay: -2s;
}

@keyframes floatSlow {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

.badge-icon {
  font-size: 20px;
}

.badge-text {
  display: flex;
  flex-direction: column;
}

.badge-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.2;
}

.badge-sub {
  font-size: 11px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* Impact Metrics Grid */
.impact-section {
  padding: 30px 0 60px;
}

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

.impact-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.impact-card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 16px 32px -10px rgba(0, 0, 0, 0.5);
}

.impact-icon-wrapper {
  margin-bottom: 16px;
  display: inline-flex;
  padding: 8px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.impact-metric {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.1;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.impact-metric span {
  color: var(--emerald);
}

.impact-label {
  font-size: 14px;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 8px;
}

.impact-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Section Header Structure */
.section {
  padding: 90px 0;
  position: relative;
}

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

.section-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--emerald);
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(32px, 3.8vw, 48px);
  font-weight: 700;
  margin-bottom: 14px;
}

.section-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 620px;
}

/* Experience Timeline */
.experience-timeline {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.exp-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 36px 36px;
  transition: all 0.3s ease;
  position: relative;
}

.exp-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.5);
}

.exp-card.current-role {
  border-color: rgba(16, 185, 129, 0.35);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, var(--bg-card) 60%);
}

.exp-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.exp-company-block {
  display: flex;
  align-items: center;
  gap: 16px;
}

.company-badge {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.05em;
  color: white;
}

.flexport-badge {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
}

.sr-badge {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.google-badge {
  background: linear-gradient(135deg, #4285F4 0%, #EA4335 100%);
  box-shadow: 0 4px 14px rgba(66, 133, 244, 0.3);
}

.sc-badge {
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.3);
}

.exp-role {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 3px;
}

.exp-company {
  font-size: 15px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-active {
  font-size: 11px;
  font-weight: 600;
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.exp-meta {
  text-align: right;
}

.exp-date {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--emerald);
  font-weight: 600;
  margin-bottom: 4px;
}

.exp-loc {
  font-size: 13px;
  color: var(--text-faint);
}

.exp-lead {
  font-size: 16px;
  color: #cbd5e1;
  font-weight: 500;
  margin-bottom: 14px;
}

.exp-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}

.exp-bullets li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

.exp-bullets li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: var(--emerald);
  font-size: 16px;
}

.exp-bullets strong {
  color: var(--text-white);
  font-weight: 600;
}

.tag-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: #94a3b8;
  transition: all 0.2s ease;
}

.tag:hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Competitive Programming Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.bento-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6);
}

.bento-featured {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(16, 22, 36, 0.9) 60%);
  border-color: rgba(245, 158, 11, 0.3);
}

.bento-wide {
  grid-column: span 3;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(16, 22, 36, 0.9) 60%);
}

.bento-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.pill-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.pill-badge.gold {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.pill-badge.cf {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.pill-badge.icpc {
  background: rgba(6, 182, 212, 0.15);
  color: #22d3ee;
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.pill-badge.codechef {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.pill-badge.edu {
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.pill-badge-outline {
  font-size: 11px;
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.bento-metric-large {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
}

.metric-num {
  font-family: var(--font-heading);
  font-size: 52px;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1;
}

.metric-suffix {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: #f59e0b;
}

.metric-sub-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-faint);
  font-weight: 600;
}

.bento-card-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.bento-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Education Layout in Wide Bento */
.edu-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.edu-institute {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 4px;
}

.edu-degree {
  font-size: 16px;
  color: #cbd5e1;
  margin-bottom: 8px;
}

.edu-gpa {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  min-width: 180px;
  padding-left: 20px;
  border-left: 1px solid var(--border-card);
}

.gpa-val {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1;
}

.gpa-max {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 500;
}

.gpa-label {
  font-size: 12px;
  color: var(--emerald);
  font-weight: 600;
  margin-top: 4px;
}

/* Technical Toolbox */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.skill-category-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: all 0.3s ease;
}

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

.skill-cat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.cat-icon {
  font-size: 22px;
}

.skill-cat-header h3 {
  font-size: 18px;
  font-weight: 700;
}

.skill-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-pill {
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: #cbd5e1;
  transition: all 0.2s ease;
}

.skill-pill:hover {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.35);
  color: var(--text-white);
}

/* Contact Section */
.contact-section {
  padding-bottom: 110px;
}

.contact-card {
  position: relative;
  background: linear-gradient(135deg, rgba(16, 24, 38, 0.95) 0%, rgba(10, 14, 23, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 28px;
  padding: 64px 48px;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7);
}

.contact-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 250px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.25), transparent 70%);
  pointer-events: none;
}

.contact-badge {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--emerald);
  letter-spacing: 0.15em;
  margin-bottom: 18px;
}

.contact-headline {
  font-size: clamp(34px, 4.5vw, 54px);
  font-weight: 800;
  max-width: 720px;
  margin: 0 auto 18px;
  line-height: 1.15;
}

.contact-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

.contact-action-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
}

.email-display-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-card);
  padding: 14px 24px;
  border-radius: var(--radius-full);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-white);
  transition: all 0.25s ease;
}

.email-display-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--emerald);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.2);
}

.email-icon {
  color: var(--emerald);
  display: grid;
  place-items: center;
}

.email-arrow {
  color: var(--text-faint);
  transition: transform 0.2s ease;
}

.email-display-btn:hover .email-arrow {
  transform: translateX(4px);
  color: var(--emerald);
}

.btn-copy {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-card);
  padding: 14px 20px;
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-copy:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-copy.copied {
  background: rgba(16, 185, 129, 0.2);
  color: var(--emerald);
  border-color: var(--emerald);
}

.social-links-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.social-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 14px;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.social-chip:hover {
  color: var(--text-white);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-2px);
}

/* Site Footer */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 36px 0;
  position: relative;
  z-index: 1;
}

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

.footer-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand-avatar-sm img {
  border-radius: 50%;
  display: block;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-faint);
}

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

.footer-location {
  font-size: 13px;
  color: var(--text-muted);
}

.back-to-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.back-to-top-btn:hover {
  color: var(--emerald);
}

/* Reveal & Transitions */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .status-pill {
    margin: 0 auto 24px;
  }

  .hero-bio {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .portrait-card {
    max-width: 380px;
  }

  .badge-top {
    left: -12px;
  }

  .badge-bottom {
    right: -12px;
  }

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

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

  .bento-featured {
    grid-column: span 2;
  }

  .bento-wide {
    grid-column: span 2;
  }

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

@media (max-width: 768px) {
  .shell {
    padding: 0 20px;
  }

  .nav-menu {
    display: none;
  }

  .hero-section {
    padding-top: 110px;
  }

  .hero-title {
    font-size: 42px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .floating-badge {
    padding: 8px 12px;
  }

  .badge-top {
    left: 4px;
    top: 12px;
  }

  .badge-bottom {
    right: 4px;
    bottom: 12px;
  }

  .impact-grid {
    grid-template-columns: 1fr;
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-featured,
  .bento-wide {
    grid-column: span 1;
  }

  .edu-layout {
    flex-direction: column;
    align-items: flex-start;
  }

  .edu-gpa {
    align-items: flex-start;
    text-align: left;
    padding-left: 0;
    border-left: none;
    border-top: 1px solid var(--border-card);
    padding-top: 16px;
    width: 100%;
  }

  .exp-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .exp-meta {
    text-align: left;
  }

  .contact-card {
    padding: 48px 20px;
  }

  .contact-action-wrapper {
    flex-direction: column;
    width: 100%;
  }

  .email-display-btn {
    width: 100%;
    justify-content: center;
    font-size: 14px;
  }

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

  .footer-left {
    flex-direction: column;
    gap: 8px;
  }
}
