/* ============================================================
   WUYEH JOBE — PERSONAL WEBSITE
   Design System: Dark Navy + Teal Accent
   ============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

/* ============================================================
   1. CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================================ */
:root {
  /* Colors */
  --bg-primary:    #0A0E17;
  --bg-secondary:  #111827;
  --bg-card:       #1A2235;
  --bg-card-hover: #1E2840;
  --border:        #1E2D45;
  --border-light:  #243552;

  --accent:        #00D4AA;
  --accent-hover:  #00F0C0;
  --accent-dim:    rgba(0, 212, 170, 0.12);
  --accent-glow:   0 0 20px rgba(0, 212, 170, 0.25);

  --violet:        #7C3AED;
  --violet-dim:    rgba(124, 58, 237, 0.15);
  --violet-hover:  #8B5CF6;

  --text-primary:  #F1F5F9;
  --text-secondary:#94A3B8;
  --text-muted:    #475569;

  --success:       #10B981;
  --warning:       #F59E0B;
  --error:         #EF4444;

  /* Typography */
  --font-heading:  'Space Grotesk', sans-serif;
  --font-body:     'Inter', sans-serif;
  --font-mono:     'JetBrains Mono', monospace;

  /* Spacing */
  --section-pad:   6rem;
  --container-max: 1200px;
  --gutter:        1.5rem;

  /* Borders */
  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     20px;
  --radius-pill:   9999px;

  /* Transitions */
  --transition:    0.2s ease;
  --transition-slow: 0.4s ease;

  /* Shadows */
  --shadow-card:   0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-hover:  0 8px 40px rgba(0, 0, 0, 0.5);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-secondary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--accent-hover); }

img { max-width: 100%; height: auto; display: block; }

::selection { background: var(--accent); color: var(--bg-primary); }

/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 600; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.125rem; font-weight: 600; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

code, pre {
  font-family: var(--font-mono);
  font-size: 0.875rem;
}

code {
  background: var(--bg-card);
  color: var(--accent);
  padding: 0.2em 0.4em;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

pre {
  background: #0D1117;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  overflow-x: auto;
  margin: 1.5rem 0;
}
pre code { background: none; border: none; padding: 0; color: var(--text-primary); }

/* ============================================================
   4. LAYOUT
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.container--narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section {
  padding: var(--section-pad) 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p { color: var(--text-secondary); max-width: 560px; margin: 0 auto; }

.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

/* ============================================================
   5. NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 var(--gutter);
  max-width: var(--container-max);
  margin: 0 auto;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
}

.nav__logo-mark {
  width: 36px;
  height: 36px;
  background: var(--accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--bg-primary);
  flex-shrink: 0;
}

.nav__logo-text {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav__links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
}
.nav__links a:hover,
.nav__links a.active {
  color: var(--text-primary);
  background: var(--accent-dim);
}
.nav__links a.active { color: var(--accent); }

.nav__cta {
  background: var(--accent) !important;
  color: var(--bg-primary) !important;
  font-weight: 600 !important;
  padding: 0.5rem 1.125rem !important;
}
.nav__cta:hover {
  background: var(--accent-hover) !important;
  color: var(--bg-primary) !important;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav__mobile {
  display: none;
  flex-direction: column;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 1rem var(--gutter) 1.5rem;
  gap: 0.25rem;
}
.nav__mobile a {
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 500;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  display: block;
  transition: all var(--transition);
}
.nav__mobile a:hover { color: var(--text-primary); background: var(--accent-dim); }
.nav__mobile a.active { color: var(--accent); }

/* ============================================================
   6. HERO SECTION
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 8rem var(--gutter) 6rem;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 800px 600px at 70% 30%, rgba(0, 212, 170, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 600px 400px at 20% 80%, rgba(124, 58, 237, 0.07) 0%, transparent 60%),
    var(--bg-primary);
}

.hero__dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--border) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.4;
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.hero__eyebrow-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
.hero__eyebrow span {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.hero__name {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.05;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}
.hero__name-accent { color: var(--accent); }

.hero__roles {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  color: var(--text-secondary);
  font-weight: 400;
  margin-bottom: 1.75rem;
  min-height: 2.5em;
}
.hero__roles-typed {
  color: var(--accent);
  font-weight: 500;
  border-right: 2px solid var(--accent);
  animation: blink 1s step-end infinite;
}
@keyframes blink {
  0%, 100% { border-color: var(--accent); }
  50% { border-color: transparent; }
}

.hero__bio {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero__ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__socials {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 3rem;
}
.hero__socials a {
  color: var(--text-muted);
  transition: color var(--transition);
  display: flex;
  align-items: center;
}
.hero__socials a:hover { color: var(--accent); }
.hero__socials svg { width: 20px; height: 20px; }
.hero__socials-divider {
  height: 1px;
  width: 40px;
  background: var(--border);
}

/* ============================================================
   7. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: var(--bg-primary);
  box-shadow: 0 0 0 0 rgba(0, 212, 170, 0.4);
}
.btn--primary:hover {
  background: var(--accent-hover);
  color: var(--bg-primary);
  box-shadow: var(--accent-glow);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn--ghost:hover {
  background: var(--accent-dim);
  color: var(--accent);
  transform: translateY(-1px);
}

.btn--secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn--secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

.btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  border-radius: var(--radius-sm);
}

.btn--icon {
  padding: 0.625rem;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  justify-content: center;
}

/* ============================================================
   8. CARDS
   ============================================================ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
}
.card:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.card__image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--bg-secondary);
}

.card__image-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-card-hover));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.card__body { padding: 1.5rem; }
.card__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  transition: color var(--transition);
}
.card:hover .card__title { color: var(--accent); }

.card__excerpt {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.card__footer {
  padding: 0 1.5rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* ============================================================
   9. TAGS & PILLS
   ============================================================ */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: var(--radius-pill);
  background: var(--violet-dim);
  color: var(--violet-hover);
  border: 1px solid rgba(124, 58, 237, 0.2);
  white-space: nowrap;
  transition: all var(--transition);
}
.tag:hover {
  background: rgba(124, 58, 237, 0.25);
  border-color: var(--violet);
}

.tag--accent {
  background: var(--accent-dim);
  color: var(--accent);
  border-color: rgba(0, 212, 170, 0.2);
}
.tag--accent:hover {
  background: rgba(0, 212, 170, 0.2);
  border-color: var(--accent);
}

.tag--filter {
  cursor: pointer;
  user-select: none;
  padding: 0.4rem 1rem;
  font-size: 0.8125rem;
}
.tag--filter.active {
  background: var(--accent);
  color: var(--bg-primary);
  border-color: var(--accent);
  font-weight: 600;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

/* ============================================================
   10. TECH STACK CHIPS
   ============================================================ */
.tech-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.6rem;
  font-size: 0.7rem;
  font-family: var(--font-mono);
  border-radius: var(--radius-sm);
  background: rgba(15, 23, 42, 0.8);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

/* ============================================================
   11. TIMELINE
   ============================================================ */
.timeline {
  position: relative;
  padding-left: 2rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--violet), transparent);
}

.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}
.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 0.4rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg-primary);
  transform: translateX(-5px);
  z-index: 1;
}
.timeline-item--education::before { background: var(--violet); }
.timeline-item--current::before {
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
}

.timeline-item__header { margin-bottom: 0.5rem; }
.timeline-item__date {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 0.35rem;
}
.timeline-item--education .timeline-item__date { color: var(--violet-hover); }
.timeline-item__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--text-primary);
}
.timeline-item__org {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0.375rem;
}
.timeline-item__org a { color: var(--accent); }
.timeline-item__location {
  font-size: 0.8125rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.timeline-item__desc {
  margin-top: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.65;
}
.timeline-item__desc ul {
  padding-left: 1.25rem;
  margin-top: 0.5rem;
}
.timeline-item__desc li { margin-bottom: 0.35rem; }

/* ============================================================
   12. SKILLS SECTION
   ============================================================ */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.skills-category {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: border-color var(--transition);
}
.skills-category:hover { border-color: var(--border-light); }

.skills-category__header {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.skills-category__icon {
  font-size: 1.25rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border-radius: var(--radius-sm);
}
.skills-category__name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text-primary);
}

.skill-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.875rem;
}
.skill-item:last-child { margin-bottom: 0; }
.skill-item__name {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
}
.skill-item__bar {
  flex: 1;
  height: 4px;
  background: var(--border);
  border-radius: var(--radius-pill);
  margin: 0 0.75rem;
  overflow: hidden;
}
.skill-item__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover));
  border-radius: var(--radius-pill);
  width: 0;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}
.skill-item__fill.animated { width: var(--skill-pct, 80%); }
.skill-item__pct {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  width: 2.5rem;
  text-align: right;
}

/* ============================================================
   13. PROJECT CARDS GRID
   ============================================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.project-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--accent-glow), var(--shadow-hover);
}

.project-card__image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--bg-secondary);
}
.project-card__placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-card-hover) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.project-card__body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.project-card__title {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-primary);
  font-size: 1.0625rem;
  margin-bottom: 0.625rem;
  transition: color var(--transition);
}
.project-card:hover .project-card__title { color: var(--accent); }

.project-card__summary {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  flex: 1;
}

.project-card__tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
}

.project-card__links {
  display: flex;
  gap: 0.625rem;
  margin-top: auto;
}

/* ============================================================
   14. AWARDS & RECOGNITION
   ============================================================ */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.award-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: all var(--transition);
  display: flex;
  gap: 1rem;
}
.award-card:hover {
  border-color: var(--warning);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.1);
}
.award-card__icon {
  font-size: 1.75rem;
  flex-shrink: 0;
}
.award-card__title {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
}
.award-card__issuer {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}
.award-card__year {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ============================================================
   15. PRESS MENTIONS
   ============================================================ */
.press-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.press-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.press-card:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
}
.press-card__pub {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.press-card__title {
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.4;
  transition: color var(--transition);
}
.press-card:hover .press-card__title { color: var(--accent); }
.press-card__date {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: auto;
}

/* ============================================================
   16. RECOGNITION STRIP (logos bar)
   ============================================================ */
.recognition {
  padding: 3.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.recognition__label {
  text-align: center;
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 2rem;
}
.recognition__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem 3rem;
}
.recognition__logo {
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: 0.02em;
}
.recognition__logo:hover { color: var(--accent); }

/* ============================================================
   17. CONTACT SECTION
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h3 { margin-bottom: 1rem; }
.contact-info p { color: var(--text-secondary); margin-bottom: 1.5rem; }

.contact-social {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.contact-social a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.contact-social a:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-dim);
}
.contact-social a svg { width: 16px; height: 16px; flex-shrink: 0; }

.contact-form { display: flex; flex-direction: column; gap: 1rem; }

/* ============================================================
   18. FORMS
   ============================================================ */
.form-group { display: flex; flex-direction: column; gap: 0.375rem; }
.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
}
.form-control {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  padding: 0.75rem 1rem;
  transition: border-color var(--transition);
  width: 100%;
}
.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.form-control::placeholder { color: var(--text-muted); }
textarea.form-control { resize: vertical; min-height: 140px; }

.form-error {
  font-size: 0.8125rem;
  color: var(--error);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.form-success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  color: var(--success);
  text-align: center;
}

/* ============================================================
   19. FOOTER
   ============================================================ */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
  margin-top: auto;
}

.footer__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.footer__brand p {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-top: 0.625rem;
  max-width: 280px;
}

.footer__links {
  display: flex;
  gap: 3rem;
}
.footer__links-col h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.875rem;
}
.footer__links-col a {
  display: block;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  transition: color var(--transition);
}
.footer__links-col a:hover { color: var(--accent); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer__socials {
  display: flex;
  gap: 1rem;
}
.footer__socials a {
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer__socials a:hover { color: var(--accent); }
.footer__socials svg { width: 18px; height: 18px; }

/* ============================================================
   20. SECTION-SPECIFIC: HERO ABOUT SNIPPET
   ============================================================ */
.about-snippet {
  background: var(--bg-secondary);
}
.about-snippet-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: center;
}
.about-snippet__photo {
  position: relative;
}
.about-snippet__photo img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 2px solid var(--border);
}
.about-snippet__photo-placeholder {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  border: 2px solid var(--border);
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-card-hover) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}
.about-snippet__photo-badge {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  background: var(--accent);
  color: var(--bg-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.625rem 1rem;
  border-radius: var(--radius-md);
  white-space: nowrap;
}

.about-snippet__content .section-label { margin-bottom: 0.5rem; }
.about-snippet__content h2 { margin-bottom: 1rem; }
.about-snippet__content p { color: var(--text-secondary); margin-bottom: 1rem; }

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 2rem 0;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.about-stat__num {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.about-stat__label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================================
   21. BLOG PAGE
   ============================================================ */
.blog-search {
  position: relative;
  margin-bottom: 2.5rem;
}
.blog-search input {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.9375rem;
  transition: border-color var(--transition);
}
.blog-search input:focus { outline: none; border-color: var(--accent); }
.blog-search__icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}
.blog-search__results {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  z-index: 50;
  box-shadow: var(--shadow-card);
}
.blog-search__result {
  display: block;
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.blog-search__result:last-child { border-bottom: none; }
.blog-search__result:hover { background: var(--bg-card-hover); }
.blog-search__result-title { color: var(--text-primary); font-size: 0.9rem; font-weight: 500; }
.blog-search__result-date { color: var(--text-muted); font-size: 0.75rem; font-family: var(--font-mono); }

/* ============================================================
   22. SINGLE POST
   ============================================================ */
.post-header {
  padding: 8rem 0 3rem;
  text-align: center;
}
.post-cover {
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin: 2rem 0;
}
.post-content { line-height: 1.8; font-size: 1.0625rem; }
.post-content h2,
.post-content h3 { margin: 2rem 0 1rem; }
.post-content p { margin-bottom: 1.25rem; }
.post-content ul, .post-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}
.post-content li { margin-bottom: 0.5rem; }
.post-content blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  color: var(--text-secondary);
  font-style: italic;
}

.post-share {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  margin-top: 3rem;
}
.post-share span { font-size: 0.875rem; color: var(--text-muted); }

/* ============================================================
   23. PAGE HERO (non-homepage)
   ============================================================ */
.page-hero {
  padding: 9rem 0 4rem;
  text-align: center;
  background: radial-gradient(ellipse 600px 400px at 50% 50%, rgba(0, 212, 170, 0.05) 0%, transparent 70%);
}
.page-hero h1 { margin-bottom: 0.875rem; }
.page-hero p { color: var(--text-secondary); font-size: 1.0625rem; max-width: 520px; margin: 0 auto; }

/* ============================================================
   24. RESUME PAGE
   ============================================================ */
.resume-download-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 3rem;
}

@media print {
  .nav, .footer, .resume-download-bar, .btn { display: none !important; }
  body { background: white; color: black; }
  .hero, .page-hero { padding: 1rem 0; min-height: auto; }
}

/* ============================================================
   25. SCROLL ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   26. UTILITY CLASSES
   ============================================================ */
.text-accent   { color: var(--accent); }
.text-muted    { color: var(--text-muted); }
.text-mono     { font-family: var(--font-mono); }
.text-center   { text-align: center; }
.flex          { display: flex; }
.flex-center   { display: flex; align-items: center; justify-content: center; }
.gap-1         { gap: 0.5rem; }
.gap-2         { gap: 1rem; }
.gap-3         { gap: 1.5rem; }
.mt-1          { margin-top: 0.5rem; }
.mt-2          { margin-top: 1rem; }
.mt-3          { margin-top: 1.5rem; }
.mb-1          { margin-bottom: 0.5rem; }
.mb-2          { margin-bottom: 1rem; }
.mb-3          { margin-bottom: 1.5rem; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

/* ============================================================
   27. RESPONSIVE BREAKPOINTS
   ============================================================ */
@media (max-width: 1024px) {
  :root { --section-pad: 5rem; }
  .about-snippet-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-snippet__photo { max-width: 320px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__top { flex-direction: column; }
  .footer__links { gap: 2rem; }
}

@media (max-width: 768px) {
  :root { --section-pad: 4rem; --gutter: 1rem; }
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .nav__mobile[data-open="true"] { display: flex; }
  .projects-grid { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: 1fr; }
  .awards-grid { grid-template-columns: 1fr; }
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { text-align: center; justify-content: center; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .footer__links { flex-direction: column; gap: 1.5rem; }
  .footer__bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .recognition__logos { gap: 1.5rem 2rem; }
  .timeline { padding-left: 1.5rem; }
}

@media (max-width: 480px) {
  h1 { font-size: 2.25rem; }
  .hero__name { font-size: 2.75rem; }
  .about-stats { grid-template-columns: 1fr; }
  .press-grid { grid-template-columns: 1fr; }
}
