/* =============================================
   JACK ALPERSTEIN · PUBLIC HEALTH PORTFOLIO
   Blue / White / Yellow Accent
   ============================================= */

:root {
  --bg:         #ffffff;
  --bg2:        #f0f5fa;
  --bg3:        #e2ecf5;
  --blue:       #1a5f9e;
  --blue-dark:  #0f3d66;
  --blue-light: #3a8fd4;
  --blue-pale:  #dceaf7;
  --navy:       #0c2340;
  --yellow:     #e8a820;
  --yellow-light:#fdf3dc;
  --white:      #ffffff;
  --text:       #1e293b;
  --text-muted: #5a6b80;
  --border:     #d4dfe9;
  --border2:    #e2ecf5;
  --shadow:     rgba(15,61,102,0.08);
  --font-display: 'DM Sans', 'Inter', sans-serif;
  --font-mono:    'Inter', sans-serif;
  --font-body:    'Inter', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ===================== NAV ===================== */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 4rem;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 3px var(--shadow);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.02em;
  text-decoration: none;
}

.logo-sub {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.75rem;
  display: block;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--blue);
  border-radius: 1px;
  transform: scaleX(0);
  transition: transform 0.2s;
}

.nav-link:hover, .nav-link.active {
  color: var(--blue);
}

.nav-link:hover::after, .nav-link.active::after {
  transform: scaleX(1);
}

.nav-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 6px rgba(52,211,153,0.4);
}

/* ===================== HERO ===================== */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8rem 4rem 4rem;
  position: relative;
  overflow: hidden;
  gap: 3rem;
  background: linear-gradient(135deg, #0c2340 0%, #1a5f9e 50%, #2a7ec7 100%);
  color: #fff;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(232,168,32,0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(58,143,212,0.2) 0%, transparent 50%);
  pointer-events: none;
}

#hero::before {
  content: '';
  position: absolute;
  bottom: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(232,168,32,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero-eyebrow {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
  font-weight: 500;
}

.hero-name {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 1rem;
}

.name-jack {
  display: block;
  font-size: clamp(3rem, 6vw, 5rem);
  color: #fff;
  letter-spacing: -0.01em;
}

.name-alperstein {
  display: block;
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--yellow);
  letter-spacing: 0.02em;
}

.hero-title {
  margin-bottom: 1.5rem;
}

.title-line {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.08em;
  border-left: 3px solid var(--yellow);
  padding-left: 0.75rem;
}

.hero-sub {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  margin-bottom: 2rem;
  max-width: 480px;
  line-height: 1.8;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.tag {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.08);
  border-radius: 20px;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* BUTTONS */
.btn-primary {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.85rem 2rem;
  background: var(--yellow);
  color: var(--navy);
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(232,168,32,0.3);
}

.btn-primary:hover {
  background: #f0b840;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(232,168,32,0.4);
}

.btn-ghost {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.85rem 2rem;
  border: 2px solid rgba(255,255,255,0.35);
  color: #fff;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
  border-radius: 6px;
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.6);
}

/* IMPACT CARD (replaces terminal) */
.hero-impact {
  position: relative;
  z-index: 2;
  width: 360px;
  flex-shrink: 0;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

.impact-title {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--yellow);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.impact-stat {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.impact-stat:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.impact-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.impact-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.3;
}

/* =================== SECTIONS =================== */
section:not(#hero) {
  max-width: 1100px;
  margin: 0 auto;
  padding: 6rem 2rem;
}

section.page-section {
  padding-top: 8rem;
  min-height: calc(100vh - 80px);
}

.section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.section-num {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.05em;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.section-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(to right, var(--border), transparent);
  border-radius: 1px;
}

/* =================== ABOUT =================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-lead {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 1.2rem;
  font-weight: 500;
  line-height: 1.8;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.about-text strong {
  color: var(--blue);
  font-weight: 600;
}

.about-honors {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2rem;
}

.honor-chip {
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--blue-pale);
  color: var(--blue);
  background: var(--blue-pale);
  border-radius: 20px;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.stat-card {
  background: var(--bg2);
  padding: 1.8rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: background 0.2s;
}

.stat-card:hover {
  background: var(--bg3);
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* =================== PROJECTS =================== */
.section-intro {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.project-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: transparent;
  transition: background 0.3s;
  border-radius: 12px 12px 0 0;
}

.project-card:hover::before,
.project-card.featured::before {
  background: linear-gradient(to right, var(--blue), var(--blue-light));
}

.project-card.featured {
  grid-column: 1 / -1;
  background: var(--bg2);
  border-color: var(--blue-pale);
}

.project-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--shadow);
  border-color: var(--blue-pale);
}

.project-card.placeholder {
  opacity: 0.5;
}

.project-card-inner {
  padding: 2rem;
}

.project-tag-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.proj-tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--blue);
  border: 1px solid var(--blue-pale);
  background: var(--blue-pale);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.project-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.project-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.project-footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.proj-metric {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-pale);
  border: 1px solid var(--border);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}

.proj-link {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  letter-spacing: 0.04em;
  margin-left: auto;
  transition: color 0.2s;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
}

.proj-link:hover { color: var(--yellow); }

/* =================== TIMELINE =================== */
.timeline {
  position: relative;
  padding-left: 2.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue), var(--border));
  border-radius: 1px;
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
}

.timeline-dot {
  position: absolute;
  left: -2.5rem;
  top: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--blue);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 2px var(--blue);
  transform: translateX(-5px);
}

.timeline-meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 0.4rem;
}

.tl-date, .tl-location {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.02em;
}

.tl-location {
  color: var(--text-muted);
  font-weight: 400;
}

.tl-role {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.2rem;
}

.tl-org {
  font-size: 0.85rem;
  color: var(--blue);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.tl-bullets {
  list-style: none;
  margin-bottom: 0.75rem;
}

.tl-bullets li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-left: 1.2rem;
  position: relative;
  margin-bottom: 0.35rem;
}

.tl-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
}

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

.tl-tag {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: var(--bg2);
}

.resume-cta {
  margin-top: 2.5rem;
  text-align: center;
}

/* =================== CONTACT =================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.contact-lead {
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

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

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: all 0.2s;
  border: 1px solid var(--border);
  padding: 1rem 1.2rem;
  background: var(--bg2);
  border-radius: 10px;
}

.contact-item:hover {
  color: var(--blue);
  border-color: var(--blue-pale);
  background: var(--blue-pale);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px var(--shadow);
}

.contact-icon {
  font-size: 1rem;
  color: var(--blue);
  width: 24px;
  text-align: center;
  font-weight: 700;
}

/* LOCATION CARD */
.geo-box {
  border: 1px solid var(--border);
  background: var(--bg2);
  padding: 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.geo-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(26,95,158,0.06) 0%, transparent 70%);
}

.geo-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
}

.geo-city {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}

.geo-coords {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.geo-pulse {
  width: 60px; height: 60px;
  border-radius: 50%;
  border: 2px solid var(--blue);
  margin: 0 auto;
  position: relative;
  animation: geoPulse 2.5s infinite;
}

.geo-pulse::before, .geo-pulse::after {
  content: '';
  position: absolute;
  inset: -15px;
  border-radius: 50%;
  border: 1px solid var(--blue-pale);
  animation: geoPulse 2.5s infinite 0.5s;
}

.geo-pulse::after {
  inset: -30px;
  animation-delay: 1s;
}

@keyframes geoPulse {
  0% { opacity: 1; transform: scale(0.8); }
  100% { opacity: 0; transform: scale(1.4); }
}

/* =================== FOOTER =================== */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem 4rem;
  background: var(--bg2);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  max-width: 1100px;
  margin: 0 auto;
}

/* =================== RESPONSIVE =================== */
@media (max-width: 900px) {
  #nav { padding: 1rem 1.5rem; }
  .nav-links { gap: 1.5rem; }
  .nav-status { display: none; }

  #hero {
    flex-direction: column;
    padding: 7rem 1.5rem 3rem;
    align-items: flex-start;
  }

  .hero-impact { width: 100%; }

  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  .projects-grid { grid-template-columns: 1fr; }
  .project-card.featured { grid-column: auto; }

  section:not(#hero) { padding: 4rem 1.5rem; }
}

@media (max-width: 600px) {
  #nav { padding: 0.8rem 1rem; }
  .nav-links { gap: 1rem; }
  .nav-link { font-size: 0.7rem; }
  #hero { padding: 6rem 1rem 2.5rem; }
  .hero-impact { width: 100%; }
}

/* =================== SCROLL ANIMATION =================== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =================== PARTICLE CANVAS =================== */
#particle-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

.hero-content,
.hero-impact {
  z-index: 2;
  position: relative;
}

/* =================== PROJECT MODAL =================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(12,35,64,0.6);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  max-width: 680px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 2.5rem;
  box-shadow: 0 20px 60px rgba(12,35,64,0.2);
  transform: translateY(20px);
  transition: transform 0.3s;
}

.modal::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--blue), var(--yellow));
  border-radius: 16px 16px 0 0;
}

.modal-overlay.open .modal {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: var(--bg2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 1rem;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  border-radius: 8px;
}

.modal-close:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-pale);
}

.modal-tag-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.modal-title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.modal-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.modal-details {
  margin-bottom: 1.5rem;
}

.modal-details ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.modal-details li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-left: 1.2rem;
  position: relative;
  line-height: 1.6;
}

.modal-details li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
}

.modal-metrics {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: 1.2rem;
}

.modal-metric-chip {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-pale);
  border: 1px solid var(--border);
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
}

/* =================== JOURNEY PAGE =================== */
.journey-wrapper {
  display: flex;
  position: relative;
  min-height: 100vh;
}

.globe-container {
  position: sticky;
  top: 0;
  width: 50%;
  height: 100vh;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 1;
}

#globe-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.globe-location-label {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.8);
  background: rgba(12,35,64,0.6);
  backdrop-filter: blur(8px);
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.15);
  opacity: 0;
  transition: opacity 0.5s;
  white-space: nowrap;
}

.globe-location-label.visible {
  opacity: 1;
}

.journey-chapters {
  width: 50%;
  position: relative;
  z-index: 2;
}

/* CHAPTER BLOCKS */
.chapter {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 3rem;
}

.chapter-intro {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chapter-outro {
  min-height: 80vh;
}

.chapter-card {
  width: 100%;
}

.journey-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
}

.journey-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.scroll-hint {
  font-size: 0.8rem;
  color: var(--blue);
  font-weight: 500;
  letter-spacing: 0.04em;
  animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

.chapter-date {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--yellow);
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.chapter-heading {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.3rem;
  line-height: 1.2;
}

.chapter-place {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--blue);
  margin-bottom: 1.2rem;
}

.chapter-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.85;
}

/* PHOTO PLACEHOLDERS */
.chapter-photos {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-bottom: 2rem;
}

.chapter-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-bottom: 2rem;
}

.photo-frame {
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg2);
  border: 2px dashed var(--border);
  transition: border-color 0.3s;
}

.photo-frame:hover {
  border-color: var(--blue-light);
}

.photo-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg2), var(--bg3));
}

.photo-placeholder span {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  opacity: 0.5;
  letter-spacing: 0.04em;
}

.photo-caption {
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-style: italic;
  border-top: 1px solid var(--border2);
}

/* OUTRO */
.outro-ctas {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.btn-ghost-dark {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.85rem 2rem;
  border: 2px solid var(--blue);
  color: var(--blue);
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
  border-radius: 6px;
}

.btn-ghost-dark:hover {
  background: var(--blue-pale);
}

/* JOURNEY RESPONSIVE */
@media (max-width: 900px) {
  .journey-wrapper {
    flex-direction: column;
  }

  .globe-container {
    position: relative;
    width: 100%;
    height: 50vh;
  }

  .journey-chapters {
    width: 100%;
  }

  .chapter {
    padding: 3rem 1.5rem;
    min-height: auto;
  }

  .chapter-intro {
    min-height: 60vh;
  }

  .chapter-gallery {
    grid-template-columns: 1fr;
  }
}
