/* ============================================
   Dr. Parth Chaudhari — Portfolio Styles
   Warm Clinical Design System
   ============================================ */

/* CSS Variables */
:root {
  /* Colors — Warm Clinical Palette */
  --cream: #FAF8F5;
  --cream-dark: #F5F2ED;
  --navy: #1A2744;
  --navy-light: #2D3F5F;
  --navy-muted: #5A6A82;
  --teal: #0D9488;
  --teal-dark: #0F766E;
  --teal-light: #CCFBF1;
  --teal-muted: #E6F7F5;
  --white: #FFFFFF;
  --card-bg: #FFFFFF;
  --border: #E8E4DF;
  --border-light: #F0EDE8;
  --shadow: 0 1px 3px rgba(26, 39, 68, 0.06);
  --shadow-md: 0 4px 16px rgba(26, 39, 68, 0.08);
  --shadow-lg: 0 12px 40px rgba(26, 39, 68, 0.12);
  
  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  
  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  
  /* Layout */
  --container: 1200px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  /* Transitions */
  --transition: 200ms ease;
  --transition-slow: 400ms ease;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  font-family: var(--font);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--navy);
  background-color: var(--cream);
}

img, svg, video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}

@media (min-width: 768px) {
  .container {
    padding-left: var(--space-8);
    padding-right: var(--space-8);
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: var(--space-12);
    padding-right: var(--space-12);
  }
}

/* ============================================
   Typography Helpers
   ============================================ */

.text-accent {
  color: var(--teal);
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-weight: 600;
  font-size: var(--text-sm);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
}

.btn svg {
  flex-shrink: 0;
}

.btn--primary {
  background-color: var(--teal);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.25);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background-color: var(--teal-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.35);
}

.btn--secondary {
  background-color: var(--navy);
  color: var(--white);
}

.btn--secondary:hover,
.btn--secondary:focus-visible {
  background-color: var(--navy-light);
  transform: translateY(-1px);
}

.btn--ghost {
  background-color: transparent;
  color: var(--navy);
  border: 1.5px solid var(--border);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  border-color: var(--teal);
  color: var(--teal);
  background-color: var(--teal-muted);
}

.btn--outline {
  background-color: transparent;
  color: var(--teal);
  border: 1.5px solid var(--teal);
  padding: var(--space-2) var(--space-4);
}

.btn--outline:hover,
.btn--outline:focus-visible {
  background-color: var(--teal);
  color: var(--white);
}

.btn--light {
  background-color: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow-md);
}

.btn--light:hover,
.btn--light:focus-visible {
  background-color: var(--cream);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn--small {
  font-size: var(--text-xs);
  padding: var(--space-2) var(--space-3);
}

.btn--large {
  font-size: var(--text-base);
  padding: var(--space-4) var(--space-6);
}

/* ============================================
   Site Header
   ============================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.site-header.is-scrolled {
  border-color: var(--border-light);
  box-shadow: 0 1px 8px rgba(26, 39, 68, 0.04);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: 700;
  color: var(--navy);
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: var(--teal);
  color: var(--white);
  font-size: var(--text-sm);
  font-weight: 800;
  border-radius: var(--radius-sm);
  letter-spacing: -0.02em;
}

.logo-text {
  font-size: var(--text-base);
  display: none;
}

@media (min-width: 480px) {
  .logo-text {
    display: block;
  }
}

/* Main Nav */
.main-nav {
  display: none;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--navy-muted);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background-color var(--transition);
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--navy);
  background-color: var(--border-light);
}

.nav-link--highlight {
  color: var(--teal);
  font-weight: 600;
}

.nav-link--highlight:hover,
.nav-link--highlight:focus-visible {
  color: var(--teal-dark);
  background-color: var(--teal-muted);
}

.nav-cta {
  display: none;
}

@media (min-width: 768px) {
  .main-nav {
    display: block;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

@media (min-width: 1024px) {
  .nav-cta {
    display: inline-flex;
  }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
}

.hamburger {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--navy);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav */
.mobile-nav {
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  background-color: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: var(--space-4) var(--space-6);
  box-shadow: var(--shadow-lg);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.mobile-nav-link {
  display: block;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--navy);
  border-radius: var(--radius-sm);
}

.mobile-nav-link:hover,
.mobile-nav-link:focus-visible {
  background-color: var(--border-light);
}

.mobile-nav-link--highlight {
  color: var(--teal);
  font-weight: 600;
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
  position: relative;
  padding-top: 120px;
  padding-bottom: var(--space-24);
  overflow: hidden;
}

.hero-layout {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-layout {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  flex: 1;
}

.hero-visual {
  display: none;
}

@media (min-width: 1024px) {
  .hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
}

.hero-avatar {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}

.hero-avatar svg {
  width: 100%;
  height: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--teal);
  background-color: var(--teal-muted);
  padding: var(--space-2) var(--space-4);
  border-radius: 999px;
  margin-bottom: var(--space-6);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--teal);
  border-radius: 50%;
}

.hero-title {
  font-size: var(--text-3xl);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: var(--space-6);
}

@media (min-width: 768px) {
  .hero-title {
    font-size: var(--text-4xl);
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: var(--text-5xl);
  }
}

.hero-subtitle {
  font-size: var(--text-lg);
  color: var(--navy-muted);
  line-height: 1.7;
  margin-bottom: var(--space-8);
  max-width: 600px;
}

.hero-subtitle a {
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}

.hero-subtitle a:hover {
  color: var(--teal-dark);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-12);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.meta-label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy-muted);
}

.meta-value {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--navy);
}

/* Hero Decorations */
.hero-decoration {
  position: absolute;
  top: 0;
  right: 0;
  width: 600px;
  height: 600px;
  pointer-events: none;
  z-index: 0;
}

.deco-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
}

.deco-circle--1 {
  width: 400px;
  height: 400px;
  background-color: var(--teal);
  top: -80px;
  right: -120px;
}

.deco-circle--2 {
  width: 280px;
  height: 280px;
  background-color: var(--navy);
  top: 60px;
  right: 40px;
}

.deco-circle--3 {
  width: 180px;
  height: 180px;
  background-color: var(--teal);
  top: 200px;
  right: 200px;
}

@media (max-width: 1023px) {
  .hero-decoration {
    opacity: 0.5;
  }
}

/* ============================================
   Sections — General
   ============================================ */

.section {
  padding-top: var(--space-20);
  padding-bottom: var(--space-20);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-12);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.section-header--left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.section-kicker {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  margin-bottom: var(--space-4);
}

.section-title {
  font-size: var(--text-2xl);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--navy);
}

@media (min-width: 768px) {
  .section-title {
    font-size: var(--text-3xl);
  }
}

.section-title--light {
  color: var(--white);
}

/* ============================================
   About Section
   ============================================ */

.section--about {
  background-color: var(--cream-dark);
}

.about-grid {
  display: grid;
  gap: var(--space-12);
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-16);
    align-items: start;
  }
}

.about-text p {
  font-size: var(--text-base);
  color: var(--navy-muted);
  margin-bottom: var(--space-5);
  line-height: 1.75;
}

.about-text .lead {
  font-size: var(--text-lg);
  color: var(--navy);
  font-weight: 500;
}

.about-text a {
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.about-text a:hover {
  color: var(--teal-dark);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-10);
  padding-top: var(--space-8);
  border-top: 1px solid var(--border);
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--teal);
  line-height: 1.1;
  margin-bottom: var(--space-2);
}

.stat-label {
  font-size: var(--text-xs);
  color: var(--navy-muted);
  line-height: 1.5;
}

.about-visual {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.about-card {
  background-color: var(--card-bg);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
}

.about-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--teal-muted);
  color: var(--teal);
  border-radius: var(--radius);
  margin-bottom: var(--space-4);
}

.about-card-title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--space-2);
}

.about-card-text {
  font-size: var(--text-sm);
  color: var(--navy-muted);
  line-height: 1.6;
}

/* ============================================
   Clinical Experience Section
   ============================================ */

.experience-grid {
  display: grid;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .experience-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.experience-card {
  background-color: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
  transition: transform var(--transition), box-shadow var(--transition);
}

.experience-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.experience-card-header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

.experience-badge {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.05em;
}

.experience-badge--ca {
  background-color: var(--navy);
  color: var(--white);
}

.experience-badge--in {
  background-color: var(--teal-muted);
  color: var(--teal);
  border: 1.5px solid var(--teal);
}

.experience-meta {
  display: flex;
  flex-direction: column;
}

.experience-location {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--navy);
}

.experience-status {
  font-size: var(--text-xs);
  color: var(--navy-muted);
  font-weight: 500;
}

.experience-card-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--space-3);
}

.experience-card-desc {
  font-size: var(--text-sm);
  color: var(--navy-muted);
  line-height: 1.65;
  margin-bottom: var(--space-5);
}

.experience-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.experience-list li {
  position: relative;
  padding-left: var(--space-6);
  font-size: var(--text-sm);
  color: var(--navy-light);
  line-height: 1.55;
}

.experience-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background-color: var(--teal);
  border-radius: 50%;
}

/* ============================================
   Licensing Timeline Section
   ============================================ */

.section--licensing {
  background-color: var(--cream-dark);
}

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

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background-color: var(--border);
}

@media (min-width: 768px) {
  .timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }
}

.timeline-item {
  position: relative;
  padding-left: 56px;
  padding-bottom: var(--space-10);
}

@media (min-width: 768px) {
  .timeline-item {
    padding-left: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
  
  .timeline-item:nth-child(odd) .timeline-content {
    grid-column: 1;
    text-align: right;
  }
  
  .timeline-item:nth-child(even) .timeline-content {
    grid-column: 2;
  }
  
  .timeline-item:nth-child(odd) .timeline-marker {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .timeline-item:nth-child(even) .timeline-marker {
    left: 50%;
    transform: translateX(-50%);
  }
}

.timeline-marker {
  position: absolute;
  left: 8px;
  top: 4px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--white);
  border: 2px solid var(--border);
  z-index: 1;
}

@media (min-width: 768px) {
  .timeline-marker {
    left: auto;
  }
}

.timeline-item--complete .timeline-marker {
  background-color: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

.timeline-item--active .timeline-marker {
  background-color: var(--white);
  border-color: var(--teal);
}

.timeline-pulse {
  width: 10px;
  height: 10px;
  background-color: var(--teal);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(13, 148, 136, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(13, 148, 136, 0); }
  100% { box-shadow: 0 0 0 0 rgba(13, 148, 136, 0); }
}

.timeline-item--future .timeline-marker {
  background-color: var(--white);
  border-color: var(--border);
  border-style: dashed;
}

.timeline-status {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
  background-color: var(--teal-muted);
  padding: var(--space-1) var(--space-3);
  border-radius: 999px;
  margin-bottom: var(--space-3);
}

.timeline-status--active {
  color: var(--white);
  background-color: var(--teal);
}

.timeline-title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--space-2);
}

.timeline-text {
  font-size: var(--text-sm);
  color: var(--navy-muted);
  line-height: 1.65;
}

/* ============================================
   DVMReady Section
   ============================================ */

.section--dvmready {
  background-color: var(--navy);
  color: var(--white);
}

.dvmready-header {
  text-align: center;
  margin-bottom: var(--space-8);
}

.dvmready-subtitle {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: var(--space-4) auto 0;
  line-height: 1.6;
}

.dvmready-intro {
  max-width: 720px;
  margin: 0 auto var(--space-12);
  text-align: center;
}

.dvmready-lead {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.75;
}

.dvmready-lead strong {
  color: var(--white);
}

.dvmready-grid {
  display: grid;
  gap: var(--space-4);
  margin-bottom: var(--space-12);
}

@media (min-width: 640px) {
  .dvmready-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .dvmready-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: background-color var(--transition), transform var(--transition);
}

.feature-card:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.feature-card--wide {
  grid-column: 1 / -1;
}

@media (min-width: 1024px) {
  .feature-card--wide {
    grid-column: span 1;
  }
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(13, 148, 136, 0.2);
  color: var(--teal-light);
  border-radius: var(--radius);
  margin-bottom: var(--space-4);
}

.feature-title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-2);
}

.feature-text {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}

.dvmready-cta {
  text-align: center;
}

/* ============================================
   Projects Section
   ============================================ */

.projects-grid {
  display: grid;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.project-card {
  background-color: var(--card-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.project-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.project-card--featured {
  grid-column: 1 / -1;
}

@media (min-width: 768px) {
  .project-card--featured {
    grid-column: span 2;
  }
}

.project-card-body {
  padding: var(--space-8);
  flex: 1;
}

.project-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.tag {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--navy-muted);
  background-color: var(--cream-dark);
  padding: var(--space-1) var(--space-3);
  border-radius: 999px;
}

.tag--primary {
  background-color: var(--teal-muted);
  color: var(--teal);
}

.tag--secondary {
  background-color: var(--navy);
  color: var(--white);
}

.project-card-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--space-3);
}

.project-card-desc {
  font-size: var(--text-base);
  color: var(--navy-muted);
  line-height: 1.6;
  margin-bottom: var(--space-5);
}

.project-card-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.project-card-details p {
  font-size: var(--text-sm);
  color: var(--navy-light);
  line-height: 1.6;
}

.project-card-details strong {
  color: var(--navy);
  font-weight: 600;
}

.project-card-footer {
  padding: var(--space-4) var(--space-8);
  border-top: 1px solid var(--border-light);
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--teal);
  transition: color var(--transition);
}

.project-link:hover,
.project-link:focus-visible {
  color: var(--teal-dark);
}

/* ============================================
   Skills Section
   ============================================ */

.section--skills {
  background-color: var(--cream-dark);
}

.skills-grid {
  display: grid;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .skills-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.skill-group {
  background-color: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
}

.skill-group-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--border-light);
}

.skill-group-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--teal-muted);
  color: var(--teal);
  border-radius: var(--radius);
}

.skill-group-title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--navy);
}

.skill-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.skill-item {
  font-size: var(--text-sm);
  color: var(--navy-light);
  padding-left: var(--space-5);
  position: relative;
  line-height: 1.5;
}

.skill-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  background-color: var(--teal);
  border-radius: 2px;
}

/* ============================================
   Credentials Section
   ============================================ */

.credentials-grid {
  display: grid;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .credentials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.credential-card {
  background-color: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
  transition: transform var(--transition), box-shadow var(--transition);
}

.credential-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.credential-card--progress {
  border-style: dashed;
}

.credential-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  margin-bottom: var(--space-5);
}

.credential-icon--degree {
  background-color: var(--navy);
  color: var(--white);
}

.credential-icon--passed {
  background-color: var(--teal);
  color: var(--white);
}

.credential-icon--progress {
  background-color: var(--cream-dark);
  color: var(--navy-muted);
  border: 1.5px dashed var(--border);
}

.credential-title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--space-3);
}

.credential-text {
  font-size: var(--text-sm);
  color: var(--navy-muted);
  line-height: 1.65;
}

/* ============================================
   Mission Section
   ============================================ */

.section--mission {
  background-color: var(--navy);
  color: var(--white);
  text-align: center;
}

.mission-content {
  max-width: 800px;
  margin: 0 auto;
}

.mission-quote {
  font-size: var(--text-xl);
  font-weight: 500;
  line-height: 1.5;
  color: var(--white);
  font-style: italic;
  margin-bottom: var(--space-8);
  quotes: none;
}

@media (min-width: 768px) {
  .mission-quote {
    font-size: var(--text-2xl);
  }
}

.mission-text {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.75;
}

/* ============================================
   Contact Section
   ============================================ */

.contact-grid {
  display: grid;
  gap: var(--space-12);
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-16);
    align-items: start;
  }
}

.contact-info .section-title {
  margin-bottom: var(--space-5);
}

.contact-lead {
  font-size: var(--text-lg);
  color: var(--navy-muted);
  line-height: 1.7;
  margin-bottom: var(--space-10);
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.contact-method {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  background-color: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.contact-method:hover,
.contact-method:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal);
}

.contact-method--static:hover,
.contact-method--static:focus-visible {
  transform: none;
  box-shadow: var(--shadow);
  border-color: var(--border-light);
}

.contact-method-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--teal-muted);
  color: var(--teal);
  border-radius: var(--radius);
  flex-shrink: 0;
}

.contact-method-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.contact-method-label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy-muted);
}

.contact-method-value {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-visual {
  display: flex;
  align-items: flex-start;
}

.contact-card {
  background-color: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
  width: 100%;
}

.contact-card-title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--space-5);
}

.contact-facts {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.contact-facts li {
  font-size: var(--text-sm);
  color: var(--navy-muted);
  line-height: 1.6;
  padding-left: var(--space-5);
  position: relative;
}

.contact-facts li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  background-color: var(--teal);
  border-radius: 50%;
}

.contact-facts strong {
  color: var(--navy);
  font-weight: 600;
}

/* ============================================
   Footer
   ============================================ */

.site-footer {
  background-color: var(--navy);
  color: rgba(255, 255, 255, 0.6);
  padding-top: var(--space-16);
  padding-bottom: var(--space-8);
}

.footer-grid {
  display: grid;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr;
  }
}

.footer-logo {
  display: block;
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-3);
}

.footer-tagline {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  max-width: 320px;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
}

.footer-col-title {
  display: block;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: var(--space-4);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-col a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition);
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-bottom p {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.4);
}

.footer-location {
  font-weight: 500;
}

/* ============================================
   Scroll Reveal Animations
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 400ms ease, transform 400ms ease;
}

.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0ms; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 80ms; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 160ms; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 240ms; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 320ms; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 400ms; opacity: 1; transform: translateY(0); }

/* ============================================
   Focus & Accessibility
   ============================================ */

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background-color: var(--navy);
  color: var(--white);
  padding: 8px 16px;
  z-index: 1000;
  font-weight: 600;
}

.skip-link:focus {
  top: 0;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
  
  .timeline-pulse {
    animation: none;
  }
}

/* High contrast mode support */
@media (prefers-contrast: more) {
  .experience-card,
  .project-card,
  .skill-group,
  .credential-card,
  .contact-card,
  .about-card {
    border-width: 2px;
  }
}
