/* ═══════════════════════════════════════════════════════════
   BackpackWithUs — Modern site stylesheet
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,300;12..96,400;12..96,500;12..96,600;12..96,700&family=Geist:wght@300;400;500;600&display=swap');

:root {
  --bg:        #FFFFFF;
  --bg-soft:   #F4F8FC;
  --bg-card:   #FAFCFE;
  --line:      #E2EAF2;
  --line-soft: #EEF3F8;
  --ink:       #0A1A35;
  --ink-soft:  #4A5876;
  --muted:     #7E8AA0;
  --blue:      #0099FF;
  --blue-deep: #006FCC;
  --navy:      #000080;
  --sky-soft:  #E5F3FE;
  --gold:      #C9A04A;
  --orange:    #FF6B35;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Geist', -apple-system, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── NAV ───────────────────────────────────────────────────── */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5vw;
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--line-soft);
}
.brand {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700; font-size: 20px;
  letter-spacing: -0.03em;
  display: flex; align-items: center; gap: 10px;
  color: var(--ink);
}
.brand-mark {
  width: 28px; height: 28px;
  background: var(--blue);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 14px; font-weight: 700;
  box-shadow: 0 4px 12px rgba(0,153,255,0.3);
}
.nav-links { display: flex; gap: 4px; font-size: 14px; font-weight: 500; }
.nav-links a {
  padding: 8px 14px; border-radius: 8px;
  color: var(--ink-soft); transition: all 0.2s;
}
.nav-links a:hover { color: var(--ink); background: var(--bg-soft); }
.nav-links a.active { color: var(--blue); background: var(--sky-soft); }
.nav-cta {
  background: var(--blue) !important;
  color: white !important;
  padding: 9px 18px !important;
  margin-left: 8px;
  box-shadow: 0 4px 12px rgba(0,153,255,0.25);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,153,255,0.35); }

/* ── BREADCRUMB ────────────────────────────────────────────── */
.crumb {
  padding: 24px 5vw 0;
  font-size: 13px;
  color: var(--muted);
  display: flex; gap: 8px; align-items: center;
}
.crumb a { color: var(--muted); transition: color 0.2s; }
.crumb a:hover { color: var(--blue); }
.crumb .sep { color: var(--line); }
.crumb .here { color: var(--ink); font-weight: 500; }

/* ── BUTTONS ───────────────────────────────────────────────── */
.btn {
  padding: 14px 24px;
  border-radius: 10px;
  font-size: 15px; font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: inherit;
}
.btn-primary { background: var(--ink); color: white; box-shadow: 0 4px 12px rgba(10,26,53,0.15); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(10,26,53,0.22); }
.btn-blue { background: var(--blue); color: white; box-shadow: 0 4px 12px rgba(0,153,255,0.25); }
.btn-blue:hover { transform: translateY(-1px); }
.btn-ghost { background: var(--bg); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-soft); border-color: var(--blue); color: var(--blue); }

/* ── HERO (text-only, used on home/about) ──────────────────── */
.hero {
  padding: 100px 5vw 80px;
  position: relative;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 8px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--bg);
  font-size: 13px; font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 32px;
  box-shadow: 0 2px 8px rgba(10,26,53,0.04);
}
.hero-tag-pill {
  background: var(--blue); color: white;
  padding: 3px 10px; border-radius: 99px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.04em;
}
.hero-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(56px, 10vw, 156px);
  font-weight: 600; line-height: 0.95;
  letter-spacing: -0.045em;
  margin: 0; color: var(--ink);
  font-variation-settings: 'opsz' 96;
}
.hero-title .accent { color: var(--blue); }
.hero-sub {
  font-size: clamp(17px, 1.5vw, 21px);
  color: var(--ink-soft);
  max-width: 580px;
  margin: 32px 0 0;
  line-height: 1.55;
}
.hero-cta { display: flex; gap: 12px; margin-top: 44px; flex-wrap: wrap; }

/* ── HERO with photo background (used on country pages) ───── */
.hero-photo {
  margin: 24px 5vw 0;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  height: clamp(420px, 60vh, 640px);
  background: #2a1a0a;
}
.hero-photo-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 40%;
  filter: contrast(1.05) saturate(1.1);
  transform: scale(1.1);
}
.hero-photo-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,15,30,0.1) 0%, rgba(10,15,30,0.4) 60%, rgba(10,15,30,0.85) 100%),
    linear-gradient(90deg, rgba(10,15,30,0.6) 0%, transparent 60%);
}
.hero-photo-content {
  position: relative; z-index: 2;
  padding: 48px;
  height: 100%;
  display: flex; flex-direction: column; justify-content: space-between;
  color: white;
}
.hero-photo-top {
  display: flex; justify-content: space-between; align-items: start;
  flex-wrap: wrap; gap: 16px;
}
.hero-photo-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 99px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.04em;
}
.hero-photo-tag::before {
  content: ''; width: 6px; height: 6px;
  background: var(--blue); border-radius: 50%;
  box-shadow: 0 0 8px var(--blue);
}
.hero-photo-stage {
  font-size: 12px; letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.hero-photo-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(64px, 12vw, 200px);
  font-weight: 600; line-height: 0.9;
  letter-spacing: -0.045em;
  margin: 0 0 8px;
  font-variation-settings: 'opsz' 96;
}
.hero-photo-meta {
  display: flex; gap: 24px; flex-wrap: wrap;
  font-size: 14px; color: rgba(255,255,255,0.85);
  margin-top: 20px;
}
.hero-photo-meta b { font-weight: 600; color: white; }
.hero-photo-meta span + span::before {
  content: ''; display: inline-block;
  width: 4px; height: 4px;
  background: rgba(255,255,255,0.4);
  border-radius: 50%;
  margin-right: 24px; vertical-align: middle;
}

/* ── STATS PANEL ───────────────────────────────────────────── */
.stats {
  margin: 80px 5vw 0;
  background: var(--ink); color: white;
  border-radius: 24px;
  padding: 48px 56px;
  position: relative; overflow: hidden;
}
.stats::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 60%; height: 200%;
  background: radial-gradient(circle, rgba(0,153,255,0.25), transparent 60%);
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0; position: relative;
}
.stat { padding-right: 32px; border-right: 1px solid rgba(255,255,255,0.12); }
.stat:last-child { border-right: none; }
.stat-num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 500; line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 10px;
  background: linear-gradient(180deg, white 0%, #B8C7DD 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-num .small { font-size: 0.5em; color: rgba(255,255,255,0.6); margin-left: 4px; -webkit-text-fill-color: rgba(255,255,255,0.6); }
.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
}

/* ── SECTION HEADERS ───────────────────────────────────────── */
.section { padding: 100px 5vw; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--ink); color: white; }
.section-dark .section-title { color: white; }
.section-dark .section-eyebrow { color: var(--blue); }

.section-head {
  display: flex; justify-content: space-between; align-items: end;
  margin-bottom: 56px;
  flex-wrap: wrap; gap: 24px;
}
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  margin-bottom: 12px;
}
.section-eyebrow::before { content: ''; width: 16px; height: 1.5px; background: var(--blue); }
.section-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 600; line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0;
  max-width: 600px;
  color: var(--ink);
}
.section-link {
  color: var(--blue); font-size: 14px; font-weight: 600;
  transition: gap 0.2s;
  display: inline-flex; align-items: center; gap: 6px;
}
.section-link:hover { gap: 10px; }
.section-link::after { content: '→'; }

/* ── CONTINENT GRID ────────────────────────────────────────── */
.continent-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 320px 320px;
  gap: 16px;
}
.continent {
  position: relative;
  background: var(--ink);
  border-radius: 20px;
  overflow: hidden; cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.2,0.8,0.2,1);
  isolation: isolate; color: white;
}
.continent:hover { transform: translateY(-4px); }
.continent::before { content: ''; position: absolute; inset: 0; z-index: -1; }
.continent::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,15,40,0.85) 100%);
  z-index: -1;
}
.continent.c-africa::before { background: radial-gradient(circle at 30% 70%, rgba(255,140,60,0.5), transparent 60%), radial-gradient(circle at 70% 30%, rgba(255,200,80,0.3), transparent 60%), linear-gradient(135deg, #5a3a1a, #1a1530); }
.continent.c-asia::before   { background: radial-gradient(circle at 50% 50%, rgba(0,153,255,0.5), transparent 60%), linear-gradient(135deg, #0a3868, #0a1a35); }
.continent.c-aus::before    { background: radial-gradient(circle at 30% 30%, rgba(255,100,100,0.4), transparent 60%), linear-gradient(135deg, #4a1a28, #1a0a18); }
.continent.c-sa::before     { background: radial-gradient(circle at 70% 70%, rgba(80,200,160,0.4), transparent 60%), linear-gradient(135deg, #0a3838, #0a1f1f); }
.continent.c-na::before     { background: radial-gradient(circle at 50% 50%, rgba(140,180,255,0.4), transparent 60%), linear-gradient(135deg, #1a2858, #0a1a35); }
.continent-inner {
  padding: 32px; height: 100%;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; z-index: 1;
}
.continent-meta {
  display: flex; justify-content: space-between; align-items: start;
  font-size: 12px; color: rgba(255,255,255,0.7);
  text-transform: uppercase; letter-spacing: 0.15em;
  font-weight: 500;
}
.continent-num { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 600; color: white; }
.continent-name {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(32px, 3.6vw, 56px);
  font-weight: 600; line-height: 0.95;
  letter-spacing: -0.035em;
  margin: 0 0 12px; color: white;
}
.continent-info { display: flex; gap: 16px; font-size: 13px; color: rgba(255,255,255,0.7); }
.continent-info span + span::before { content: '·'; margin-right: 16px; opacity: 0.5; }

/* ── COUNTRY CARD GRID ─────────────────────────────────────── */
.country-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}
.country-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  transition: all 0.3s;
  cursor: pointer;
  display: block;
  color: inherit;
}
.country-card:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,153,255,0.1);
}
.country-card-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 12px;
}
.country-card-num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 12px; color: var(--muted);
  font-weight: 500;
}
.country-card-name {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 22px; font-weight: 600;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}
.country-card-dates { font-size: 13px; color: var(--ink-soft); margin-bottom: 14px; }
.country-card-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  font-size: 12px; color: var(--muted);
}
.country-card-arrow {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.country-card:hover .country-card-arrow { background: var(--blue); color: white; }

/* ── PLACES (rated stops) ──────────────────────────────────── */
.places-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.place {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  transition: all 0.3s;
  display: flex; flex-direction: column; gap: 14px;
}
.place:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,153,255,0.1); }
.place-head { display: flex; justify-content: space-between; align-items: baseline; }
.place-name { font-family: 'Bricolage Grotesque', sans-serif; font-size: 22px; font-weight: 600; margin: 0; letter-spacing: -0.02em; }
.place-rating { display: flex; align-items: baseline; gap: 2px; background: var(--sky-soft); padding: 4px 10px; border-radius: 99px; }
.place-rating-num { font-family: 'Bricolage Grotesque', sans-serif; font-size: 16px; font-weight: 700; color: var(--blue); line-height: 1; }
.place-rating-out { font-size: 11px; color: var(--ink-soft); }
.place-rating.must { background: #FFF3D9; }
.place-rating.must .place-rating-num { color: var(--gold); }
.place-desc { font-size: 14px; color: var(--ink-soft); line-height: 1.55; margin: 0; flex: 1; }
.place-tags { display: flex; gap: 6px; flex-wrap: wrap; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.place-tag { font-size: 11px; color: var(--muted); padding: 3px 9px; background: var(--bg-soft); border-radius: 99px; font-weight: 500; }
.place-tag.must { color: var(--gold); background: #FFF3D9; font-weight: 600; }

/* ── QUICK FACTS ───────────────────────────────────────────── */
.facts-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg);
}
.fact { padding: 24px 20px; border-right: 1px solid var(--line); }
.fact:last-child { border-right: none; }
.fact-label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 500; margin-bottom: 8px; }
.fact-value { font-family: 'Bricolage Grotesque', sans-serif; font-size: 20px; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; line-height: 1.1; }
.fact-value .small { font-size: 13px; color: var(--ink-soft); font-weight: 500; }

/* ── PHOTO GALLERY ─────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  grid-auto-flow: dense;
}
.photo {
  aspect-ratio: 4/3;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: var(--bg-soft);
  cursor: pointer;
  transition: transform 0.3s;
}
.photo:hover { transform: scale(1.02); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: filter 0.3s; }
.photo:hover img { filter: brightness(1.05); }
.photo.large { grid-column: span 2; grid-row: span 2; }
.photo.tall { grid-row: span 2; }
.photo-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 16px;
  background: linear-gradient(180deg, transparent, rgba(10,15,30,0.9));
  color: white; opacity: 0;
  transition: opacity 0.3s;
}
.photo:hover .photo-overlay { opacity: 1; }
.photo-loc { font-size: 11px; color: var(--blue); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600; margin-bottom: 4px; }
.photo-title { font-family: 'Bricolage Grotesque', sans-serif; font-size: 16px; font-weight: 600; line-height: 1.2; }
.photo-date { font-size: 11px; color: rgba(255,255,255,0.6); margin-top: 4px; }

/* ── INTRO BLOCK (text + photo) ────────────────────────────── */
.intro {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: start;
}
.intro-text { padding-top: 12px; }
.intro-title { font-family: 'Bricolage Grotesque', sans-serif; font-size: clamp(32px, 4vw, 52px); font-weight: 600; line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 24px; }
.intro-body { font-size: 17px; color: var(--ink-soft); line-height: 1.7; }
.intro-body p { margin: 0 0 16px; }
.intro-quote {
  margin-top: 32px;
  padding: 20px 24px;
  background: var(--sky-soft);
  border-left: 3px solid var(--blue);
  border-radius: 0 12px 12px 0;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 18px; color: var(--ink);
  font-weight: 500; line-height: 1.4;
}
.intro-quote .attribution {
  font-family: 'Geist', sans-serif;
  font-size: 13px; font-weight: 500;
  color: var(--muted);
  margin-top: 8px;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.intro-photo {
  border-radius: 16px; overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-soft);
  box-shadow: 0 24px 60px rgba(10,26,53,0.12), 0 4px 16px rgba(10,26,53,0.06);
  position: relative;
}
.intro-photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-caption-pill {
  position: absolute;
  bottom: 12px; left: 12px;
  background: rgba(10,26,53,0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: white;
  padding: 8px 14px;
  border-radius: 99px;
  font-size: 12px; font-weight: 500;
  display: flex; align-items: center; gap: 8px;
}
.photo-caption-pill::before { content: ''; width: 6px; height: 6px; background: var(--blue); border-radius: 50%; }

/* ── DIARY ENTRIES ─────────────────────────────────────────── */
.diary-list {
  display: flex; flex-direction: column;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.section:not(.section-dark) .diary-list { border-top-color: var(--line); }
.diary-entry {
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 32px;
  align-items: center;
  cursor: pointer;
  transition: padding 0.3s;
  color: inherit;
}
.section:not(.section-dark) .diary-entry { border-bottom-color: var(--line); }
.diary-entry:hover { padding-left: 12px; padding-right: 12px; }
.diary-date {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase; letter-spacing: 0.12em;
  font-weight: 500;
}
.section:not(.section-dark) .diary-date { color: var(--muted); }
.diary-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 20px; font-weight: 500;
  letter-spacing: -0.02em;
}
.diary-arrow { color: rgba(255,255,255,0.4); transition: all 0.2s; }
.section:not(.section-dark) .diary-arrow { color: var(--muted); }
.diary-entry:hover .diary-arrow { color: var(--blue); transform: translateX(4px); }

/* ── FOOTER ────────────────────────────────────────────────── */
.footer { padding: 80px 5vw 40px; background: var(--ink); color: white; }
.foot-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 80px;
}
.foot-brand { font-family: 'Bricolage Grotesque', sans-serif; font-size: 28px; font-weight: 700; letter-spacing: -0.03em; display: flex; align-items: center; gap: 10px; }
.foot-brand .brand-mark { box-shadow: 0 4px 12px rgba(0,153,255,0.4); }
.foot-tag { margin-top: 16px; color: rgba(255,255,255,0.65); font-size: 14px; max-width: 320px; line-height: 1.6; }
.foot-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: white; margin: 0 0 16px; font-weight: 600; }
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col li { margin-bottom: 8px; }
.foot-col a { color: rgba(255,255,255,0.65); font-size: 14px; transition: color 0.2s; }
.foot-col a:hover { color: var(--blue); }
.foot-bottom {
  display: flex; justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px; color: rgba(255,255,255,0.5);
}

/* ── NEXT/PREV NAV ─────────────────────────────────────────── */
.next {
  padding: 80px 5vw;
  text-align: center;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}
.next-eyebrow {
  font-size: 13px; color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  margin-bottom: 12px;
}
.next-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(36px, 6vw, 80px);
  font-weight: 600; line-height: 1;
  letter-spacing: -0.03em;
  margin: 0; color: var(--ink);
}
.next-title em { color: var(--blue); font-style: normal; }

/* ── INTRO LAYOUT (about page) ─────────────────────────────── */
.bio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 32px;
}
.bio-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
}
.bio-name { font-family: 'Bricolage Grotesque', sans-serif; font-size: 28px; font-weight: 600; margin: 0 0 4px; letter-spacing: -0.02em; }
.bio-role { font-size: 13px; color: var(--blue); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600; margin-bottom: 24px; }
.bio-facts dt { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 12px; }
.bio-facts dd { margin: 4px 0 0; font-size: 15px; color: var(--ink); font-weight: 500; }

/* ── REVEAL ANIMATION ──────────────────────────────────────── */
.hero-tag, .hero-title, .hero-sub, .hero-cta,
.hero-photo-content > * {
  animation: rise 0.9s cubic-bezier(0.2,0.8,0.2,1) backwards;
}
.hero-tag { animation-delay: 0s; }
.hero-title { animation-delay: 0.1s; }
.hero-sub { animation-delay: 0.3s; }
.hero-cta { animation-delay: 0.45s; }
.hero-photo-top { animation-delay: 0.1s; }
.hero-photo-bottom { animation-delay: 0.25s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links a:not(.nav-cta):not(.active) { display: none; }
  .hero { padding: 60px 5vw 40px; }
  .hero-photo-content { padding: 24px; }
  .stats { padding: 32px 24px; margin: 60px 5vw 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .stat { padding-right: 16px; }
  .stat:nth-child(2n) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.12); padding-bottom: 24px; }
  .continent-grid { grid-template-columns: 1fr; grid-template-rows: repeat(5, 220px); }
  .continent.c-africa { grid-row: span 1; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .fact { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .fact:nth-child(2n) { border-right: none; }
  .intro { grid-template-columns: 1fr; gap: 40px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .photo.large, .photo.tall { grid-column: span 2; grid-row: span 1; }
  .diary-entry { grid-template-columns: 1fr auto; gap: 16px; }
  .diary-date { grid-column: 1/-1; }
  .foot-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .foot-bottom { flex-direction: column; gap: 8px; }
  .bio-grid { grid-template-columns: 1fr; gap: 16px; }
}
