/* ================================================================
   TOMMY HOANG PORTFOLIO — DESIGN SYSTEM
   Modern, minimal aesthetic inspired by Linear, Stripe & Vercel
   ================================================================ */

/* ——————————————————————————————————————
   1. DESIGN TOKENS
   —————————————————————————————————————— */
:root {
  /* Color palette */
  --blue-50:   #eff6ff;
  --blue-100:  #dbeafe;
  --blue-500:  #3b82f6;
  --blue-600:  #2563eb;
  --blue-700:  #1d4ed8;

  --slate-50:  #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;

  --green-100: #dcfce7;
  --green-600: #16a34a;
  --amber-100: #fef3c7;
  --amber-600: #d97706;
  --red-100:   #fee2e2;
  --red-600:   #dc2626;

  /* Semantic */
  --clr-bg:          var(--slate-50);
  --clr-surface:     #ffffff;
  --clr-surface-alt: var(--slate-100);
  --clr-border:      var(--slate-200);
  --clr-border-hover:var(--slate-300);
  --clr-accent:      var(--blue-600);
  --clr-accent-hover:var(--blue-700);
  --clr-accent-bg:   var(--blue-50);
  --clr-text:        var(--slate-900);
  --clr-text-2:      var(--slate-600);
  --clr-text-muted:  var(--slate-400);

  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: ui-monospace, 'Cascadia Code', 'JetBrains Mono', monospace;

  /* Spacing scale (8px base) */
  --sp-1: 4px;   --sp-2: 8px;   --sp-3: 12px;  --sp-4: 16px;
  --sp-5: 20px;  --sp-6: 24px;  --sp-8: 32px;  --sp-10: 40px;
  --sp-12: 48px; --sp-16: 64px; --sp-20: 80px; --sp-24: 96px;

  /* Border radius */
  --r-sm:   5px;
  --r-md:   8px;
  --r-lg:   12px;
  --r-xl:   16px;
  --r-2xl:  24px;
  --r-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0,0,0,.04);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 8px rgba(0,0,0,.06), 0 2px 4px rgba(0,0,0,.04);
  --shadow-lg: 0 8px 24px rgba(0,0,0,.08), 0 4px 8px rgba(0,0,0,.04);
  --shadow-xl: 0 20px 40px rgba(0,0,0,.10), 0 8px 16px rgba(0,0,0,.05);

  /* Motion */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --dur-fast:   150ms;
  --dur-base:   200ms;
  --dur-slow:   300ms;

  /* Layout */
  --nav-h:      64px;
  --tab-bar-h:  56px;
  --max-w:      1120px;
  --section-py: var(--sp-20);
}

/* ——————————————————————————————————————
   2. RESET / BASE
   —————————————————————————————————————— */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--clr-text);
  background: var(--clr-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

/* Scroll progress indicator — progressive enhancement (Chrome/Edge 115+) */
@supports (animation-timeline: scroll()) {
  body::after {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 2px;
    background: var(--clr-accent);
    transform-origin: left;
    transform: scaleX(0);
    animation: scroll-progress linear;
    animation-timeline: scroll();
    z-index: 9999;
  }
  @keyframes scroll-progress { to { transform: scaleX(1); } }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 1ms !important;
    transition-duration: 0ms !important;
  }
  html { scroll-behavior: auto; }
}

/* Focus ring */
:focus-visible {
  outline: 2px solid var(--clr-accent);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* Screen reader only */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--sp-6);
}

/* ——————————————————————————————————————
   3. NAVIGATION
   —————————————————————————————————————— */
#topNav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--clr-border);
  transition: background var(--dur-base) var(--ease),
              box-shadow var(--dur-base) var(--ease);
}

#topNav.scrolled {
  background: rgba(255,255,255,.95);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  height: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--sp-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
}

/* Brand */
.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-weight: 700;
  color: var(--clr-text);
  flex-shrink: 0;
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
}
.nav-brand:hover { color: var(--clr-accent); }

.brand-initials {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  background: var(--clr-accent);
  color: #fff;
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -.5px;
  flex-shrink: 0;
}

.brand-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--clr-text);
}

/* Nav links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  flex: 1;
  justify-content: flex-end;
}

.nav-menu .nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--clr-text-2);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--r-md);
  transition: color var(--dur-fast) var(--ease),
              background var(--dur-fast) var(--ease);
}
.nav-menu .nav-link:hover,
.nav-menu .nav-link.active {
  color: var(--clr-text);
  background: var(--slate-100);
}
.nav-menu .nav-link.active {
  color: var(--clr-accent);
  background: var(--clr-accent-bg);
}

/* Nav CTA button */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--clr-accent);
  background: var(--clr-accent-bg);
  border: 1.5px solid var(--blue-100);
  padding: 6px 14px;
  border-radius: var(--r-full);
  margin-left: var(--sp-2);
  transition: all var(--dur-fast) var(--ease);
  text-decoration: none;
}
.nav-cta:hover {
  background: var(--clr-accent);
  border-color: var(--clr-accent);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37,99,235,.35);
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: transparent;
  border: 1px solid var(--clr-border);
  border-radius: var(--r-md);
  padding: 6px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: transform var(--dur-base) var(--ease),
              opacity var(--dur-base) var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ——————————————————————————————————————
   4. HERO SECTION
   —————————————————————————————————————— */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-h) + var(--sp-12));
  padding-bottom: var(--sp-20);
  background:
    radial-gradient(ellipse 80% 50% at 70% 40%, rgba(37,99,235,.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 20% 80%, rgba(124,58,237,.04) 0%, transparent 50%),
    var(--clr-bg);
}

.hero-container { width: 100%; }

.hero-content {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--sp-16);
}

/* ---- Left: Text ---- */
.hero-text { max-width: 600px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green-600);
  background: var(--green-100);
  padding: 5px 12px;
  border-radius: var(--r-full);
  margin-bottom: var(--sp-6);
  letter-spacing: .3px;
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green-600);
  box-shadow: 0 0 0 2px rgba(22,163,74,.25);
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 2px rgba(22,163,74,.25); }
  50%       { box-shadow: 0 0 0 5px rgba(22,163,74,.1); }
}

.hero-text h1 {
  font-size: clamp(2.75rem, 5.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--clr-text);
  margin-bottom: var(--sp-3);
}
.hero-text h1 .text-accent {
  color: var(--clr-accent);
}

.hero-tagline {
  font-size: 18px;
  font-weight: 500;
  color: var(--clr-text-2);
  margin-bottom: var(--sp-5);
  letter-spacing: -.2px;
}

.hero-bio {
  font-size: 16px;
  line-height: 1.65;
  color: var(--clr-text-2);
  margin-bottom: var(--sp-6);
  max-width: 520px;
}

/* Hero pills */
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--sp-8);
}
.hero-pills li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-700);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  padding: 5px 12px;
  border-radius: var(--r-full);
  transition: transform var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease);
}
.hero-pills li:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.hero-pills li i { font-size: 12px; color: var(--clr-accent); }

/* Hero CTA buttons */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-8);
}

.btn-primary-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  background: var(--clr-accent);
  padding: 11px 22px;
  border-radius: var(--r-full);
  border: 1.5px solid var(--clr-accent);
  transition: all var(--dur-base) var(--ease);
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary-hero:hover {
  background: var(--clr-accent-hover);
  border-color: var(--clr-accent-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,99,235,.35);
}

.btn-outline-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--clr-text);
  background: var(--clr-surface);
  padding: 11px 22px;
  border-radius: var(--r-full);
  border: 1.5px solid var(--clr-border);
  transition: all var(--dur-base) var(--ease);
  white-space: nowrap;
  text-decoration: none;
}
.btn-outline-hero:hover {
  border-color: var(--clr-border-hover);
  background: var(--slate-50);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-ghost-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--clr-text-2);
  background: transparent;
  padding: 11px 16px;
  border-radius: var(--r-full);
  border: 1.5px solid transparent;
  transition: all var(--dur-fast) var(--ease);
  white-space: nowrap;
  text-decoration: none;
}
.btn-ghost-hero:hover {
  color: var(--clr-text);
  background: var(--slate-100);
}

/* Social row */
.hero-social {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
}
.social-link {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: var(--r-full);
  border: 1.5px solid var(--clr-border);
  color: var(--clr-text-2);
  font-size: 16px;
  background: var(--clr-surface);
  transition: all var(--dur-fast) var(--ease);
  text-decoration: none;
}
.social-link:hover {
  border-color: var(--clr-accent);
  color: var(--clr-accent);
  background: var(--clr-accent-bg);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.social-divider {
  width: 1px; height: 20px;
  background: var(--clr-border);
  display: block;
}
.social-text-link {
  font-size: 14px;
  color: var(--clr-text-2);
  text-decoration: underline;
  text-decoration-color: var(--clr-border);
  transition: color var(--dur-fast) var(--ease),
              text-decoration-color var(--dur-fast) var(--ease);
}
.social-text-link:hover {
  color: var(--clr-accent);
  text-decoration-color: var(--clr-accent);
}

/* ---- Right: Photo ---- */
.hero-photo-wrapper {
  position: relative;
  flex-shrink: 0;
}
.hero-photo-ring {
  width: 280px; height: 280px;
  border-radius: var(--r-2xl);
  background: linear-gradient(135deg, var(--blue-600), #7c3aed);
  padding: 3px;
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 1;
}
.hero-photo {
  width: 100%; height: 100%;
  border-radius: calc(var(--r-2xl) - 3px);
  object-fit: cover;
  object-position: center top;
}
.hero-photo-deco {
  position: absolute;
  z-index: 0;
  border-radius: var(--r-xl);
  background: var(--blue-50);
  border: 1.5px solid var(--blue-100);
}
.deco-1 {
  width: 100%; height: 100%;
  top: 12px; left: 12px;
}
.deco-2 {
  width: 60%; height: 60%;
  bottom: -16px; right: -16px;
  background: rgba(124,58,237,.07);
  border-color: rgba(124,58,237,.15);
}

/* ——————————————————————————————————————
   5. METRICS STRIP
   —————————————————————————————————————— */
.metrics-section {
  background: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  padding: var(--sp-10) 0;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.metric-item {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-6);
  border-right: 1px solid var(--clr-border);
}
.metric-item:last-child { border-right: none; }

.metric-icon {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  background: var(--clr-accent-bg);
  border-radius: var(--r-lg);
  color: var(--clr-accent);
  font-size: 20px;
  flex-shrink: 0;
}

.metric-body { display: flex; flex-direction: column; gap: 2px; }
.metric-value {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--clr-text);
  line-height: 1;
}
.metric-label {
  font-size: 13px;
  color: var(--clr-text-2);
  font-weight: 500;
  line-height: 1.3;
}

/* ——————————————————————————————————————
   6. CONTENT SECTIONS (shared)
   —————————————————————————————————————— */
.content-section {
  padding: var(--section-py) 0;
  background: var(--clr-bg);
}
.content-section.alt-bg {
  background: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
}

.section-header {
  margin-bottom: var(--sp-12);
}
.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--clr-text);
  margin-bottom: var(--sp-2);
  position: relative;
  display: inline-block;
}
.section-header h2::after {
  content: '';
  display: block;
  width: 40px; height: 3px;
  background: var(--clr-accent);
  border-radius: 2px;
  margin-top: var(--sp-3);
}
.section-subtitle {
  font-size: 16px;
  color: var(--clr-text-2);
  margin-top: var(--sp-2);
  font-weight: 400;
}

/* ——————————————————————————————————————
   7. EXPERIENCE TIMELINE
   —————————————————————————————————————— */
.timeline {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.timeline-item {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: var(--sp-5);
  position: relative;
}
.timeline-item + .timeline-item::before {
  content: '';
  position: absolute;
  left: 11px;
  top: -var(--sp-3);
  bottom: calc(100% - 12px);
  width: 2px;
  /* line drawn via connector */
}

.timeline-connector {
  display: flex;
  justify-content: center;
  padding-top: 22px;
  position: relative;
}
.timeline-connector::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: -var(--sp-3);
  transform: translateX(-50%);
  width: 2px;
  background: var(--clr-border);
  height: 100%;
  z-index: 0;
}
.timeline-item:last-child .timeline-connector::before {
  display: none;
}

.timeline-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--clr-surface);
  border: 2.5px solid var(--clr-accent);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px var(--clr-accent-bg);
}

.timeline-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  margin-bottom: var(--sp-3);
  transition: border-color var(--dur-base) var(--ease),
              box-shadow var(--dur-base) var(--ease),
              transform var(--dur-base) var(--ease);
}
.timeline-card:hover {
  border-color: var(--clr-border-hover);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.timeline-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-bottom: var(--sp-4);
  flex-wrap: wrap;
}

.timeline-company-info {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.timeline-company-info h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 2px;
  letter-spacing: -.3px;
}
.company-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--clr-accent);
}

.company-logo {
  height: 32px; width: auto;
  max-width: 80px;
  object-fit: contain;
  border-radius: var(--r-sm);
  flex-shrink: 0;
  filter: none;
  transition: opacity var(--dur-fast) var(--ease);
}
.company-logo:hover { opacity: .8; }

.timeline-date {
  font-size: 13px;
  font-weight: 500;
  color: var(--clr-text-muted);
  white-space: nowrap;
  background: var(--slate-100);
  padding: 4px 10px;
  border-radius: var(--r-full);
  flex-shrink: 0;
}

.timeline-card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--clr-text-2);
  margin-bottom: var(--sp-3);
}

.timeline-bullets {
  margin: var(--sp-3) 0 var(--sp-4) var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  list-style: disc;
}
.timeline-bullets li {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--clr-text-2);
}
.timeline-bullets li strong {
  color: var(--clr-text);
  font-weight: 600;
}

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: var(--sp-4);
}

/* ——————————————————————————————————————
   8. EDUCATION
   —————————————————————————————————————— */
.education-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-5);
}

.edu-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  transition: border-color var(--dur-base) var(--ease),
              box-shadow var(--dur-base) var(--ease);
}
.edu-card:hover {
  border-color: var(--clr-border-hover);
  box-shadow: var(--shadow-sm);
}

.edu-card-header {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.edu-card-header h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 2px;
}
.edu-degree {
  font-size: 14px;
  color: var(--clr-text-2);
  font-weight: 500;
}
.edu-icon {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  background: var(--clr-accent-bg);
  border-radius: var(--r-md);
  color: var(--clr-accent);
  font-size: 18px;
  flex-shrink: 0;
}

/* ——————————————————————————————————————
   9. SKILLS
   —————————————————————————————————————— */
.tech-icons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-5);
  margin-bottom: var(--sp-12);
  font-size: 36px;
  color: var(--clr-text-muted);
}
.tech-icons i {
  transition: color var(--dur-fast) var(--ease),
              transform var(--dur-fast) var(--ease);
  cursor: default;
}
.tech-icons i:hover {
  color: var(--clr-accent);
  transform: translateY(-4px) scale(1.15);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--sp-5);
}

.skill-group {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-xl);
  padding: var(--sp-5);
  min-width: 0;
  transition: border-color var(--dur-base) var(--ease);
}
.skill-group:hover { border-color: var(--clr-border-hover); }

.skill-group-title {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .7px;
  color: var(--clr-text);
  margin-bottom: var(--sp-4);
}
.skill-group-icon {
  font-size: 14px;
  color: var(--clr-accent);
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* Shared tag style */
.skill-tag,
.tag {
  display: inline-flex;
  align-items: center;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--clr-text-2);
  background: var(--slate-100);
  border: 1px solid var(--clr-border);
  padding: 3px 10px;
  border-radius: var(--r-full);
  transition: all var(--dur-fast) var(--ease);
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}
.skill-tag:hover,
.tag:hover {
  background: var(--clr-accent-bg);
  border-color: var(--blue-100);
  color: var(--clr-accent);
}

.skill-tag-accent {
  color: var(--clr-accent);
  background: var(--clr-accent-bg);
  border-color: var(--blue-100);
  font-weight: 600;
}

.tag-success {
  color: var(--green-600);
  background: var(--green-100);
  border-color: rgba(22,163,74,.2);
}

/* ——————————————————————————————————————
   10. PROJECTS
   —————————————————————————————————————— */
.github-strip {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-xl);
  padding: var(--sp-4) var(--sp-6);
  margin-bottom: var(--sp-8);
  flex-wrap: wrap;
}
.github-stat { display: flex; flex-direction: column; gap: 2px; flex-shrink: 0; }
.github-stat-value {
  font-size: 22px;
  font-weight: 800;
  color: var(--clr-text);
  letter-spacing: -1px;
  line-height: 1;
}
.github-stat-label { font-size: 13px; color: var(--clr-text-2); }
.github-stat-divider { width: 1px; height: 40px; background: var(--clr-border); flex-shrink: 0; }

.github-languages {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
  flex: 1;
}
.lang-badge {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: var(--lang-color, var(--clr-accent));
  padding: 3px 10px;
  border-radius: var(--r-full);
  opacity: .9;
}

.github-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--clr-text-2);
  padding: 6px 14px;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--r-full);
  background: var(--clr-surface);
  margin-left: auto;
  flex-shrink: 0;
  transition: all var(--dur-fast) var(--ease);
  text-decoration: none;
}
.github-link:hover {
  color: var(--clr-text);
  border-color: var(--clr-border-hover);
  background: var(--slate-50);
}

/* Featured projects (large) */
.projects-featured {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-5);
  margin-bottom: var(--sp-5);
}

.project-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--dur-base) var(--ease),
              box-shadow var(--dur-base) var(--ease),
              transform var(--dur-base) var(--ease);
}
.project-card:hover {
  border-color: var(--clr-border-hover);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.project-card-body { padding: var(--sp-6); flex: 1; }
.project-card-footer {
  padding: var(--sp-4) var(--sp-6);
  border-top: 1px solid var(--clr-border);
  background: var(--slate-50);
  display: flex;
  gap: var(--sp-3);
  align-items: center;
}

.project-card-header { margin-bottom: var(--sp-4); }
.project-meta {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-3);
  flex-wrap: wrap;
}
.project-card-header h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--clr-text);
  letter-spacing: -.5px;
  margin-bottom: var(--sp-1);
}
.project-subtitle {
  font-size: 14px;
  font-weight: 500;
  color: var(--clr-text-muted);
}
.project-card-body p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--clr-text-2);
  margin-bottom: var(--sp-5);
}

.project-badge {
  display: inline-flex;
  align-items: center;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 3px 10px;
  border-radius: var(--r-full);
}
.project-badge-founder {
  color: var(--amber-600);
  background: var(--amber-100);
  border: 1px solid rgba(217,119,6,.2);
}
.project-badge-current {
  color: var(--green-600);
  background: var(--green-100);
  border: 1px solid rgba(22,163,74,.2);
}
.project-badge-private {
  color: var(--clr-text-2);
  background: var(--slate-100);
  border: 1px solid var(--clr-border);
  font-size: 11px;
}

.project-star {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--clr-text-2);
}

.project-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
  margin-bottom: var(--sp-5);
}
.project-detail-grid h5 {
  font-size: 13px;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: var(--sp-2);
  text-transform: uppercase;
  letter-spacing: .5px;
}
.project-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  list-style: disc;
  padding-left: var(--sp-4);
}
.project-list li {
  font-size: 13px;
  line-height: 1.5;
  color: var(--clr-text-2);
}
.project-list li strong { color: var(--clr-text); font-weight: 600; }

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.btn-project-primary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: var(--clr-accent);
  background: var(--clr-accent-bg);
  border: 1.5px solid var(--blue-100);
  padding: 7px 16px;
  border-radius: var(--r-full);
  transition: all var(--dur-fast) var(--ease);
  text-decoration: none;
}
.btn-project-primary:hover {
  background: var(--clr-accent);
  border-color: var(--clr-accent);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37,99,235,.3);
}

/* Secondary project cards */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--sp-4);
}

.project-card-sm {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  transition: border-color var(--dur-base) var(--ease),
              box-shadow var(--dur-base) var(--ease);
}
.project-card-sm:hover {
  border-color: var(--clr-border-hover);
  box-shadow: var(--shadow-sm);
}

.project-card-sm-icon {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  background: var(--clr-accent-bg);
  border-radius: var(--r-md);
  color: var(--clr-accent);
  font-size: 16px;
  flex-shrink: 0;
}
.project-card-sm h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: var(--sp-2);
  letter-spacing: -.2px;
}
.project-card-sm p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--clr-text-2);
  margin-bottom: var(--sp-3);
}
.project-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--clr-accent);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
}
.project-link:hover { text-decoration: underline; }

.project-visual-proof {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: var(--sp-5);
  margin-top: var(--sp-5);
  padding: var(--sp-5);
  background: linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(239,246,255,0.92) 100%);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-xl);
  align-items: center;
}

.project-visual-proof-copy h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--clr-text);
  letter-spacing: -.4px;
  margin: var(--sp-3) 0 var(--sp-2);
}

.project-visual-proof-copy p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--clr-text-2);
}

/* ——————————————————————————————————————
   11. BOOKS
   —————————————————————————————————————— */
.books-layout {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: var(--sp-5);
  align-items: start;
}

@media (max-width: 860px) {
  .books-layout { grid-template-columns: 1fr; }
}

.books-layout-centered {
  display: flex;
  justify-content: center;
}

.book-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.book-card-featured {
  border-top: 3px solid var(--clr-accent);
}

.book-card-content { padding: var(--sp-6); }

.book-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--green-600);
  background: var(--green-100);
  padding: 4px 12px;
  border-radius: var(--r-full);
  margin-bottom: var(--sp-4);
}
.book-card-content h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--clr-text);
  letter-spacing: -.5px;
  margin-bottom: var(--sp-1);
}
.book-subtitle {
  font-size: 14px;
  color: var(--clr-accent);
  font-weight: 600;
  margin-bottom: var(--sp-4);
}
.book-card-content p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--clr-text-2);
  margin-bottom: var(--sp-5);
}
.book-themes { margin-bottom: var(--sp-5); display: flex; flex-wrap: wrap; gap: 6px; }
.book-actions { display: flex; align-items: center; gap: var(--sp-4); flex-wrap: wrap; }
.book-note {
  font-size: 13px;
  color: var(--clr-text-muted);
  font-style: italic;
}

.book-coming-soon {
  min-width: 240px;
  max-width: 480px;
  width: 100%;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  align-items: center;
}
.book-cs-icon {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  background: var(--clr-accent-bg);
  border-radius: var(--r-xl);
  color: var(--clr-accent);
  font-size: 24px;
  margin-bottom: var(--sp-2);
}
.book-coming-soon h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--clr-text);
}
.book-coming-soon p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--clr-text-2);
}
.book-cs-stats {
  display: flex;
  gap: var(--sp-8);
  justify-content: center;
}
.book-cs-stats > div { display: flex; flex-direction: column; gap: 2px; align-items: center; }
.cs-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--clr-accent);
  letter-spacing: -1px;
  line-height: 1;
}
.cs-label { font-size: 12px; color: var(--clr-text-muted); font-weight: 500; }
.book-cs-badges { display: flex; flex-direction: column; gap: 6px; align-items: center; }

/* New book-card layout used by blog + memoir cards */
.book-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease), transform var(--dur-base) var(--ease);
  position: relative;
}
.book-card:hover {
  border-color: var(--clr-accent);
  box-shadow: 0 8px 32px rgba(37,99,235,0.1);
  transform: translateY(-2px);
}

.book-badge {
  position: absolute;
  top: var(--sp-4);
  left: var(--sp-4);
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 3px 10px;
  border-radius: var(--r-full);
  z-index: 1;
}
.book-badge--blog      { color: #1d4ed8; background: #dbeafe; }
.book-badge--published { color: #15803d; background: #dcfce7; }

.book-cover {
  display: grid;
  place-items: center;
  height: 120px;
  font-size: 2.5rem;
  flex-shrink: 0;
}
.book-cover--blog   { background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%); color: #2563eb; }
.book-cover--memoir { background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%); color: #16a34a; }

.book-info {
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  flex: 1;
}
.book-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--clr-text);
  letter-spacing: -.3px;
  margin: 0;
}
.book-subtitle {
  font-size: 12px;
  color: var(--clr-accent);
  font-weight: 600;
  margin: 0;
}
.book-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--clr-text-2);
  flex: 1;
}
.book-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: var(--sp-1);
}
.book-cta {
  margin-top: var(--sp-3);
  font-size: 13px;
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
}

/* ——————————————————————————————————————
   12. SCREENSHOT PROOF
   —————————————————————————————————————— */
.portfolio-shot {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
}

.portfolio-shot--project {
  margin-bottom: var(--sp-5);
}

.portfolio-shot--book {
  margin: var(--sp-2) 0 var(--sp-1);
}

.portfolio-shot-frame {
  display: block;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid rgba(15,23,42,.1);
  background: #fff;
  box-shadow: var(--shadow-md);
  transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease);
}

.portfolio-shot:hover .portfolio-shot-frame,
.portfolio-shot:focus-visible .portfolio-shot-frame {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37,99,235,.28);
}

.portfolio-shot img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top center;
}

.portfolio-shot--wide img {
  height: 260px;
  object-position: center top;
}

.portfolio-shot-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
}

.portfolio-shot-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--clr-text);
  letter-spacing: -.2px;
}

.portfolio-shot-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--clr-accent);
  white-space: nowrap;
}

.portfolio-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--sp-6);
  background: rgba(15,23,42,.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.portfolio-lightbox.open {
  display: flex;
}

.portfolio-lightbox-panel {
  position: relative;
  width: min(1100px, 100%);
  max-height: 100%;
}

.portfolio-lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: var(--r-full);
  background: rgba(15,23,42,.76);
  color: #fff;
  z-index: 1;
}

.portfolio-lightbox-figure {
  margin: 0;
  background: rgba(255,255,255,.98);
  border-radius: var(--r-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.portfolio-lightbox-figure img {
  width: 100%;
  max-height: min(78vh, 900px);
  object-fit: contain;
  background: linear-gradient(180deg, #f8fafc 0%, #eff6ff 100%);
}

.portfolio-lightbox-figure figcaption {
  padding: var(--sp-4) var(--sp-5);
  font-size: 14px;
  line-height: 1.6;
  color: var(--clr-text-2);
  border-top: 1px solid var(--clr-border);
}

/* ——————————————————————————————————————
   13. TESTIMONIALS
   —————————————————————————————————————— */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}

.testimonial-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  transition: border-color var(--dur-base) var(--ease),
              box-shadow var(--dur-base) var(--ease);
  position: relative;
}
.testimonial-card:hover {
  border-color: var(--clr-border-hover);
  box-shadow: var(--shadow-md);
}

.testimonial-quote-icon {
  font-size: 20px;
  color: var(--clr-accent);
  opacity: .35;
}
.testimonial-card p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--clr-text-2);
  flex: 1;
  font-style: italic;
}
.testimonial-card footer {
  display: flex;
  flex-direction: column;
  gap: 3px;
  border-top: 1px solid var(--clr-border);
  padding-top: var(--sp-4);
}
.testimonial-card footer strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--clr-text);
}
.testimonial-card footer span {
  font-size: 13px;
  color: var(--clr-text-muted);
}
.testimonial-stars {
  font-size: 13px;
  color: var(--amber-600);
  margin-top: var(--sp-1);
  letter-spacing: 1px;
}

/* ——————————————————————————————————————
   13. LEADERSHIP / PROSE
   —————————————————————————————————————— */
.prose {
  max-width: 680px;
}
.prose p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--clr-text-2);
  margin-bottom: var(--sp-5);
}
.prose p:last-child { margin-bottom: 0; }

/* ——————————————————————————————————————
   14. CERTIFICATIONS
   —————————————————————————————————————— */
.certifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--sp-3);
}

.cert-card {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-lg);
  padding: var(--sp-4) var(--sp-5);
  font-size: 14px;
  font-weight: 600;
  color: var(--clr-text);
  line-height: 1.4;
  transition: border-color var(--dur-base) var(--ease),
              box-shadow var(--dur-base) var(--ease);
}
.cert-card:hover {
  border-color: var(--clr-border-hover);
  box-shadow: var(--shadow-sm);
}

.cert-icon {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  background: var(--clr-accent-bg);
  border-radius: var(--r-md);
  color: var(--clr-accent);
  font-size: 16px;
  flex-shrink: 0;
}

.cert-card-achievement .cert-icon {
  background: var(--amber-100);
  color: var(--amber-600);
}
.cert-card-achievement {
  border-color: rgba(217,119,6,.2);
  background: linear-gradient(135deg, rgba(254,243,199,.35), var(--clr-surface));
}

/* ——————————————————————————————————————
   15. CONTACT
   —————————————————————————————————————— */
.contact-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(37,99,235,.14), transparent 32%),
    radial-gradient(circle at 88% 22%, rgba(16,185,129,.12), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #f7fafc 56%, #f1f7ff 100%);
  border-top: 1px solid rgba(148,163,184,.18);
}

.contact-section::before,
.contact-section::after {
  content: '';
  position: absolute;
  inset: auto;
  pointer-events: none;
}

.contact-section::before {
  top: 72px;
  left: max(16px, calc(50% - 620px));
  width: 120px;
  height: 120px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255,255,255,.88), rgba(219,234,254,.45));
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: 0 24px 60px rgba(37,99,235,.08);
  transform: rotate(-12deg);
}

.contact-section::after {
  right: max(12px, calc(50% - 610px));
  bottom: 64px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,.18) 0%, rgba(59,130,246,0) 68%);
}

.contact-section .container {
  position: relative;
  z-index: 1;
}

.contact-section .section-header {
  max-width: 760px;
  margin: 0 auto var(--sp-12);
}

.contact-section .section-subtitle {
  font-size: 18px;
  line-height: 1.75;
  max-width: 720px;
  margin-inline: auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
  gap: var(--sp-8);
  align-items: stretch;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 28px;
  padding: var(--sp-6);
  box-shadow: 0 24px 56px rgba(15,23,42,.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.contact-panel-intro,
.contact-form-intro {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.contact-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 6px 12px;
  border-radius: var(--r-full);
  background: rgba(37,99,235,.08);
  border: 1px solid rgba(37,99,235,.12);
  color: var(--clr-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.contact-kicker::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.contact-panel-intro h3,
.contact-form-intro h3 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.2;
  letter-spacing: -.03em;
  color: var(--clr-text);
  margin: 0;
}

.contact-panel-intro p,
.contact-form-intro p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--clr-text-2);
  margin: 0;
}

.contact-availability {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  background: linear-gradient(135deg, rgba(240,253,244,.96), rgba(236,253,245,.74));
  border: 1px solid rgba(74,222,128,.28);
  border-radius: 20px;
  padding: 14px 16px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
}

.availability-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green-600);
  box-shadow: 0 0 0 6px rgba(22,163,74,.12);
  flex-shrink: 0;
  animation: pulse-dot 2s ease infinite;
}

.contact-availability strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #166534;
  line-height: 1.2;
}

.contact-availability span {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  color: #3f6212;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.contact-list-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 14px 16px;
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(203,213,225,.9);
  border-radius: 20px;
  box-shadow: 0 10px 24px rgba(15,23,42,.05);
  transition: transform var(--dur-base) var(--ease),
              border-color var(--dur-base) var(--ease),
              box-shadow var(--dur-base) var(--ease),
              background var(--dur-base) var(--ease);
  text-decoration: none;
}

.contact-list-item:hover {
  transform: translateY(-2px);
  border-color: rgba(37,99,235,.28);
  box-shadow: 0 18px 34px rgba(37,99,235,.12);
  background: rgba(255,255,255,.96);
}

.contact-icon-wrap {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(37,99,235,.14), rgba(37,99,235,.05));
  color: var(--clr-accent);
  font-size: 16px;
  flex-shrink: 0;
  transition: transform var(--dur-base) var(--ease),
              background var(--dur-base) var(--ease),
              color var(--dur-base) var(--ease);
}

.contact-icon-linkedin {
  background: linear-gradient(135deg, rgba(10,102,194,.14), rgba(10,102,194,.05));
  color: #0a66c2;
}

.contact-icon-github {
  background: linear-gradient(135deg, rgba(15,23,42,.14), rgba(15,23,42,.05));
  color: #0f172a;
}

.contact-list-item:hover .contact-icon-wrap {
  transform: scale(1.04);
  background: linear-gradient(135deg, var(--clr-accent), var(--clr-accent-hover));
  color: #fff;
}

.contact-list-item:hover .contact-icon-linkedin {
  background: linear-gradient(135deg, #0a66c2, #2563eb);
}

.contact-list-item:hover .contact-icon-github {
  background: linear-gradient(135deg, #111827, #334155);
}

.contact-item-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.contact-item-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
}

.contact-item-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--clr-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-location {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(15,23,42,.03);
  border: 1px solid rgba(203,213,225,.9);
  font-size: 14px;
  line-height: 1.6;
  color: var(--clr-text-2);
}

.contact-location i {
  color: var(--clr-accent);
  font-size: 15px;
  margin-top: 4px;
}

.contact-form-wrap {
  position: relative;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(255,255,255,.92);
  border-radius: 32px;
  padding: clamp(24px, 3vw, 36px);
  box-shadow: 0 28px 70px rgba(15,23,42,.1);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.contact-form-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(37,99,235,.24), rgba(255,255,255,.72), rgba(16,185,129,.18));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.contact-form-wrap form {
  position: relative;
  z-index: 1;
}

.contact-form-intro {
  position: relative;
  z-index: 1;
  margin-bottom: var(--sp-6);
  padding-bottom: var(--sp-5);
  border-bottom: 1px solid rgba(226,232,240,.9);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-4);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: var(--sp-4);
}

.form-group label {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--clr-text-2);
}

.form-group label abbr {
  color: var(--clr-accent);
  text-decoration: none;
}

.input-wrap {
  position: relative;
}

.input-icon {
  position: absolute;
  top: 50%;
  left: 18px;
  width: 18px;
  transform: translateY(-50%);
  color: var(--clr-text-muted);
  font-size: 14px;
  text-align: center;
  pointer-events: none;
  transition: color var(--dur-fast) var(--ease);
}

.input-wrap:focus-within .input-icon {
  color: var(--clr-accent);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid rgba(203,213,225,.92);
  border-radius: 18px;
  background: rgba(248,250,252,.95);
  color: var(--clr-text);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.5;
  padding: 14px 16px;
  transition: border-color var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease),
              background var(--dur-fast) var(--ease),
              transform var(--dur-fast) var(--ease);
  appearance: none;
  -webkit-appearance: none;
}

.form-group .input-wrap input,
.form-group .input-wrap select {
  padding-left: 52px;
}

.form-group .input-wrap--select select {
  padding-right: 44px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #94a3b8;
}

.form-group textarea {
  min-height: 156px;
  resize: vertical;
}

.input-wrap--select::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 18px;
  width: 10px;
  height: 10px;
  border-right: 2px solid #94a3b8;
  border-bottom: 2px solid #94a3b8;
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(37,99,235,.45);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(37,99,235,.08);
}

.form-group input[aria-invalid="true"],
.form-group select[aria-invalid="true"],
.form-group textarea[aria-invalid="true"] {
  border-color: rgba(220,38,38,.45);
  background: rgba(254,242,242,.8);
}

.field-error {
  min-height: 18px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--red-600);
}

.form-group--turnstile {
  margin-top: var(--sp-1);
}

.turnstile-widget {
  min-height: 66px;
}

.contact-submit {
  width: 100%;
  margin-top: var(--sp-2);
  padding: 16px 20px;
  border: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 52%, #1737b8 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  box-shadow: 0 18px 34px rgba(37,99,235,.24);
  transition: transform var(--dur-base) var(--ease),
              box-shadow var(--dur-base) var(--ease),
              filter var(--dur-base) var(--ease);
}

.contact-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 40px rgba(37,99,235,.3);
  filter: saturate(1.04);
}

.contact-submit:active {
  transform: translateY(0);
}

.contact-submit:disabled {
  opacity: .72;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.submit-label,
.submit-spinner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.form-status {
  margin-top: var(--sp-4);
  padding: 14px 16px;
  border-radius: 18px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.6;
  box-shadow: 0 10px 22px rgba(15,23,42,.05);
}

.form-status[hidden] {
  display: none;
}

.form-status i {
  margin-top: 3px;
  flex-shrink: 0;
}

.form-status--success {
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #166534;
}

.form-status--error {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
}

.form-status--warning {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
}

.form-status a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-info-panel {
    order: 2;
  }

  .contact-form-wrap {
    order: 1;
  }
}

@media (max-width: 768px) {
  .contact-section::before {
    width: 84px;
    height: 84px;
    top: 44px;
    left: 18px;
  }

  .contact-section::after {
    width: 130px;
    height: 130px;
    bottom: 48px;
    right: 12px;
  }

  .contact-section .section-subtitle {
    font-size: 16px;
  }

  .contact-info-panel,
  .contact-form-wrap {
    border-radius: 24px;
  }

  .contact-item-value {
    white-space: normal;
    overflow: visible;
    text-overflow: initial;
  }
}

@media (max-width: 540px) {
  .contact-grid {
    gap: var(--sp-5);
  }

  .contact-info-panel,
  .contact-form-wrap {
    padding: var(--sp-5);
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-list-item,
  .contact-location,
  .contact-availability {
    padding: 13px 14px;
  }
}

/* ——————————————————————————————————————
   16. FOOTER
   —————————————————————————————————————— */
.site-footer {
  background: var(--slate-900);
  color: var(--slate-400);
  padding: var(--sp-16) 0 var(--sp-10);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--sp-12);
  margin-bottom: var(--sp-12);
  padding-bottom: var(--sp-12);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.5px;
  margin-bottom: var(--sp-1);
  display: block;
}
.footer-tagline {
  font-size: 14px;
  color: var(--slate-500);
  margin-bottom: var(--sp-3);
}
.footer-location {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  color: var(--slate-500);
}

.footer-links h5,
.footer-contact h5 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--slate-400);
  margin-bottom: var(--sp-5);
}
.footer-links nav {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.footer-links nav a,
.footer-email,
.footer-phone {
  font-size: 14px;
  color: var(--slate-500);
  transition: color var(--dur-fast) var(--ease);
  text-decoration: none;
}
.footer-links nav a:hover,
.footer-email:hover,
.footer-phone:hover { color: #fff; }

.footer-social {
  display: flex;
  gap: var(--sp-2);
  margin-bottom: var(--sp-5);
}
.footer-social a {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: var(--r-md);
  border: 1px solid rgba(255,255,255,.1);
  color: var(--slate-400);
  font-size: 15px;
  transition: all var(--dur-fast) var(--ease);
  text-decoration: none;
}
.footer-social a:hover {
  border-color: rgba(255,255,255,.3);
  color: #fff;
  background: rgba(255,255,255,.07);
}

.footer-email,
.footer-phone { display: block; margin-bottom: var(--sp-2); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--slate-600);
}
.footer-resume-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-400);
  border: 1px solid rgba(255,255,255,.1);
  padding: 6px 14px;
  border-radius: var(--r-full);
  transition: all var(--dur-fast) var(--ease);
  text-decoration: none;
}
.footer-resume-link:hover {
  color: #fff;
  border-color: rgba(255,255,255,.25);
  background: rgba(255,255,255,.07);
}

/* ——————————————————————————————————————
  17. SCROLL REVEAL
   —————————————————————————————————————— */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ——————————————————————————————————————
  18. RESPONSIVE
   —————————————————————————————————————— */

/* Large tablets (992px) */
@media (max-width: 992px) {
  :root { --section-py: var(--sp-16); }

  .hero-content {
    grid-template-columns: 1fr;
    gap: var(--sp-12);
  }
  .hero-photo-wrapper {
    order: -1;
    display: flex;
    justify-content: center;
  }
  .hero-photo-ring {
    width: 220px; height: 220px;
  }
  .hero-text { max-width: 100%; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-pills { justify-content: center; }
  .hero-social { justify-content: center; }

  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .metric-item { border-right: none; border-bottom: 1px solid var(--clr-border); }
  .metric-item:nth-child(2n) { }
  .metric-item:nth-last-child(-n+2) { border-bottom: none; }

  .projects-featured { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .books-layout { grid-template-columns: 1fr; }
  .book-coming-soon { min-width: unset; }
  .project-visual-proof { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-main { grid-column: 1 / -1; }
}

/* Tablet / Mobile (768px) */
@media (max-width: 768px) {
  :root {
    --nav-h: 60px;
    --section-py: var(--sp-12);
  }

  /* Body needs bottom clearance for tab bar */
  body {
    padding-bottom: calc(var(--tab-bar-h) + env(safe-area-inset-bottom, 0px));
  }

  /* Top nav: safe-area-inset-top support + hide hamburger */
  #topNav {
    padding-top: env(safe-area-inset-top, 0px);
    height: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
  }

  /* Hide hamburger — bottom tab bar replaces it */
  .nav-toggle { display: none !important; }

  /* Hide desktop dropdown nav on mobile (bottom tab bar is the nav) */
  .nav-menu {
    display: none !important;
  }

  /* Footer is surfaced via the More drawer on mobile */
  .site-footer { display: none; }

  /* Touch target minimum 44px on interactive elements */
  .social-link,
  .footer-social a {
    width: 44px; height: 44px;
  }
  .btn-primary-hero,
  .btn-outline-hero,
  .btn-ghost-hero,
  .btn-project-primary,
  .nav-cta {
    min-height: 44px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  .cert-card,
  .edu-card,
  .timeline-card,
  .project-card-sm {
    touch-action: manipulation;
  }

  .hero-text h1 { letter-spacing: -1.5px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-primary-hero, .btn-outline-hero { width: 100%; max-width: 300px; justify-content: center; }

  .education-grid { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: 1fr; }
  .project-detail-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .certifications-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }

  .skill-group-title {
    align-items: flex-start;
  }

  .timeline-item { grid-template-columns: 20px 1fr; gap: var(--sp-3); }
  .timeline-card-header { flex-direction: column; gap: var(--sp-3); }
  .portfolio-shot img,
  .portfolio-shot--wide img { height: 200px; }
  .portfolio-shot-meta { flex-direction: column; align-items: flex-start; }
  .portfolio-lightbox { padding: var(--sp-4); }
}

/* Mobile (480px) */
@media (max-width: 480px) {
  :root { --section-py: var(--sp-10); }

  .container { padding-inline: var(--sp-4); }

  .metrics-grid { grid-template-columns: 1fr; }
  .metric-item { border-bottom: 1px solid var(--clr-border); }
  .metric-item:last-child { border-bottom: none; }

  .skills-grid { grid-template-columns: 1fr; }
  .certifications-grid { grid-template-columns: 1fr; }
  .github-strip { flex-direction: column; align-items: flex-start; gap: var(--sp-4); }
  .github-link { margin-left: 0; }
  .project-visual-proof { padding: var(--sp-4); }
  .portfolio-shot img,
  .portfolio-shot--wide img { height: 176px; }
  .portfolio-lightbox-figure figcaption { padding: var(--sp-4); }

  .hero-photo-ring { width: 180px; height: 180px; }
}

/* ——————————————————————————————————————
   18. BOTTOM TAB BAR & MORE DRAWER (mobile)
   —————————————————————————————————————— */

/* Hidden on desktop */
.bottom-tab-bar,
.drawer-backdrop,
.more-drawer {
  display: none;
}

@media (max-width: 768px) {

  /* ---- Tab Bar ---- */
  .bottom-tab-bar {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    height: calc(var(--tab-bar-h) + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--clr-border);
    z-index: 990;
    align-items: stretch;
    box-shadow: 0 -2px 16px rgba(0,0,0,.06);
  }

  .tab-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 44px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .1px;
    color: var(--clr-text-muted);
    text-decoration: none;
    background: transparent;
    border: none;
    padding: var(--sp-2) var(--sp-1);
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    font-family: var(--font);
    transition: color var(--dur-fast) var(--ease);
    position: relative;
  }

  .tab-item i {
    font-size: 20px;
    transition: transform var(--dur-fast) var(--ease),
                color var(--dur-fast) var(--ease);
  }

  .tab-item.active,
  .tab-item:hover {
    color: var(--clr-accent);
  }

  .tab-item.active i {
    transform: translateY(-1px);
  }

  /* Active indicator pill above icon */
  .tab-item.active::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px; height: 3px;
    background: var(--clr-accent);
    border-radius: var(--r-full);
  }

  /* Press state (haptic-style feedback) */
  .tab-item:active {
    transform: scale(.92);
  }

  /* ---- Backdrop ---- */
  .drawer-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 991;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--dur-slow) var(--ease);
  }
  .drawer-backdrop.open {
    opacity: 1;
    pointer-events: all;
  }

  /* ---- More Drawer ---- */
  .more-drawer {
    display: block;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--clr-surface);
    border-radius: var(--r-2xl) var(--r-2xl) 0 0;
    z-index: 992;
    padding-bottom: calc(var(--tab-bar-h) + env(safe-area-inset-bottom, 0px));
    transform: translateY(100%);
    visibility: hidden;
    transition: transform var(--dur-slow) var(--ease),
                visibility 0ms var(--dur-slow);
    box-shadow: 0 -8px 40px rgba(0,0,0,.12);
    max-height: 72vh;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .more-drawer.open {
    transform: translateY(0);
    visibility: visible;
    transition: transform var(--dur-slow) var(--ease),
                visibility 0ms 0ms;
  }

  .drawer-handle {
    width: 36px; height: 4px;
    background: var(--clr-border);
    border-radius: var(--r-full);
    margin: var(--sp-3) auto var(--sp-2);
  }

  .drawer-content {
    padding: 0 var(--sp-5) var(--sp-6);
  }

  .drawer-section-heading {
    font-size: 18px;
    font-weight: 800;
    color: var(--clr-text);
    letter-spacing: -.4px;
    margin-bottom: var(--sp-4);
    padding: var(--sp-2) 0;
  }

  .drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: var(--sp-4);
  }

  .drawer-link {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    padding: var(--sp-3) var(--sp-3);
    border-radius: var(--r-lg);
    font-size: 16px;
    font-weight: 500;
    color: var(--clr-text);
    text-decoration: none;
    min-height: 52px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: background var(--dur-fast) var(--ease);
  }
  .drawer-link:hover,
  .drawer-link:active {
    background: var(--slate-100);
  }

  .drawer-link-icon {
    display: grid;
    place-items: center;
    width: 36px; height: 36px;
    background: var(--clr-accent-bg);
    border-radius: var(--r-md);
    color: var(--clr-accent);
    font-size: 15px;
    flex-shrink: 0;
  }

  .drawer-link-arrow {
    margin-left: auto;
    font-size: 12px;
    color: var(--clr-text-muted);
  }

  .drawer-divider {
    height: 1px;
    background: var(--clr-border);
    margin: var(--sp-4) 0;
  }

  .drawer-resume-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
    width: 100%;
    padding: var(--sp-4);
    background: var(--clr-accent);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--r-xl);
    text-decoration: none;
    min-height: 52px;
    margin-bottom: var(--sp-5);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: background var(--dur-fast) var(--ease),
                transform var(--dur-fast) var(--ease);
  }
  .drawer-resume-btn:hover { background: var(--clr-accent-hover); color: #fff; }
  .drawer-resume-btn:active { transform: scale(.97); }

  .drawer-contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
    align-items: center;
  }

  .drawer-contact-link {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    font-size: 14px;
    color: var(--clr-text-2);
    text-decoration: none;
    min-height: 44px;
  }
  .drawer-contact-link:hover { color: var(--clr-accent); }

  .drawer-social {
    display: flex;
    gap: var(--sp-4);
  }
  .drawer-social a {
    display: grid;
    place-items: center;
    width: 48px; height: 48px;
    border-radius: var(--r-full);
    border: 1.5px solid var(--clr-border);
    color: var(--clr-text-2);
    font-size: 20px;
    text-decoration: none;
    touch-action: manipulation;
    transition: all var(--dur-fast) var(--ease);
  }
  .drawer-social a:hover {
    border-color: var(--clr-accent);
    color: var(--clr-accent);
    background: var(--clr-accent-bg);
  }

} /* end @media (max-width: 768px) — Bottom Tab Bar */

/* ——————————————————————————————————————
   19. PRINT
   —————————————————————————————————————— */
@media print {
  #topNav,
  .hero-actions,
  .hero-social,
  .btn-primary-hero,
  .btn-outline-hero,
  .btn-ghost-hero,
  .site-footer { display: none !important; }

  .hero-section { min-height: unset; padding-top: var(--sp-4); }
  .content-section { padding: var(--sp-8) 0; }
  .timeline-card { box-shadow: none; border: 1px solid #ddd; }
}
