/* ============================================================
   DARK THEME — index.html only
   The hero's dark wallpaper is the background for the whole
   page (fixed, never extends/scrolls). Every section below the
   hero drops the cream background and re-themes its own-page
   text for dark; cards stay as light surfaces so screenshots
   and imagery keep full contrast.
   ============================================================ */

body.page-home {
  background: #0b0b0d;
}

/* ─── SCROLL SNAP — sections settle into place ───────────── */
html,
body.page-home {
  scroll-snap-type: y mandatory;
  /* Reserve space for the fixed navbar so a centered snap target
     doesn't end up with its top edge hidden behind it. */
  scroll-padding-top: var(--nav-height);
}

/* `always` forces a stop at every one of these points, even on a
   fast fling, instead of letting the scroll glide past several
   snap points at once. */
body.page-home .hero-v2,
body.page-home .work-grid-section,
body.page-home .strengths-section,
body.page-home .about-section,
body.page-home .contact-section,
body.page-home .site-footer {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* Sections sit on the fixed wallpaper, so their own background
   is transparent — only the cards/media within them are opaque. */
body.page-home .work-grid-section,
body.page-home .strengths-section,
body.page-home .about-section,
body.page-home .contact-section {
  background-color: transparent;
}

/* ─── ABOUT — text sits directly on the wallpaper ────────── */
body.page-home .about-block-title {
  color: rgba(245, 243, 238, 0.5);
}

body.page-home .about-edu-degree,
body.page-home .experience-role {
  color: #f5f3ee;
}

body.page-home .about-edu-school,
body.page-home .experience-company {
  color: rgba(245, 243, 238, 0.65);
}

body.page-home .experience-dates {
  color: rgba(245, 243, 238, 0.5);
}

body.page-home .about-skill-pill {
  color: #f5f3ee;
  background: rgba(245, 243, 238, 0.08);
  border-color: rgba(245, 243, 238, 0.18);
}

body.page-home .about-skill-pill:hover {
  background: var(--color-accent-primary);
  color: #0b0b0d;
  border-color: var(--color-accent-primary);
}

body.page-home .experience-list::before {
  background: linear-gradient(to bottom, rgba(245, 243, 238, 0.35), rgba(245, 243, 238, 0.06));
}

body.page-home .experience-dot {
  background: #0b0b0d;
  border-color: rgba(245, 243, 238, 0.35);
}

/* ─── CASE STUDY CARDS — content block goes dark, visuals/pills untouched ─── */
body.page-home .cs-card-content {
  background: #16161a;
}

/* ─── SIDE PROJECT CARDS — same dark treatment as case study cards ─── */
body.page-home .sp-card {
  background: #16161a;
}

#case-study-1 .cs-card-visual,
#case-study-2 .cs-card-visual,
#case-study-3 .cs-card-visual {
  background: linear-gradient(160deg, #1f2128 0%, #17181d 55%, #0e0f12 100%);
}

body.page-home .cs-label {
  color: rgba(245, 243, 238, 0.5);
}

body.page-home .cs-title {
  color: #f5f3ee;
}

body.page-home .cs-meta {
  color: rgba(245, 243, 238, 0.55);
}

body.page-home .cs-cta {
  background: var(--color-accent-primary);
  color: #fff;
}

body.page-home .cs-card:hover .cs-cta,
body.page-home .sp-card:hover .cs-cta {
  background: var(--color-accent-secondary);
  color: #0b0b0d;
}

/* ─── CONTACT ─────────────────────────────────────────────── */
body.page-home .contact-section {
  padding: 80px 32px 96px;
  text-align: center;
}

body.page-home .contact-header {
  margin-bottom: var(--space-32);
}

body.page-home .contact-grid {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  max-width: 960px;
  margin: 0 auto;
}

body.page-home .contact-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 16px 8px;
  min-width: 220px;
}

body.page-home .contact-resume-icon {
  position: relative;
}

body.page-home .contact-label {
  font-family: 'Geist Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(245, 243, 238, 0.5);
  margin: 0;
}

body.page-home .contact-value {
  font-family: 'Geist Mono', monospace;
  font-size: 15px;
  font-weight: 500;
  color: #f5f3ee;
  margin: 0;
}

body.page-home .contact-value--wrap {
  word-break: break-all;
}

/* ─── FOOTER ──────────────────────────────────────────────── */
body.page-home .site-footer {
  background: transparent;
  border-top-color: rgba(245, 243, 238, 0.12);
}

body.page-home .footer-brand,
body.page-home .footer-nav a {
  color: rgba(245, 243, 238, 0.55);
}

body.page-home .footer-brand:hover,
body.page-home .footer-nav a:hover {
  color: #f5f3ee;
}
