/* Athari Africa: site styles.
   Palette and type come from the Google Ads quiz pages, so ad visitors land
   somewhere that looks like the ad they came from. */

:root {
  --earth: #1C1A16;      /* the one dark band, and headings */
  --dusk: #2E2A22;       /* body text */
  --stone: #7A7268;      /* muted text, large sizes only */
  --amber: #C07A2E;      /* accents at large sizes */
  --btn: #A6681F;        /* buttons: the darkest amber that white lettering still passes on (4.5:1) */
  --btn-hover: #9A5A24;
  --savannah: #8B6914;   /* small text links on light */
  --gold: #C9A84C;       /* accents on the dark band */
  --gold-light: #DEC07A;
  --warm-white: #FAF8F4; /* page */
  --sand: #F2EDE4;       /* alternate bands */
  --line: #E2DDD4;
  --scrim: 28, 26, 22;   /* earth, as rgb for photo overlays */

  --serif: 'Cormorant Garamond', Georgia, serif;   /* section headings */
  --display: 'Newsreader', Georgia, serif;         /* the hero headline only: Cormorant is too thin at that size */
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;

  --nav-h: 78px;
  --wrap: 1200px;
  --pad: clamp(20px, 5vw, 64px);
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--warm-white);
  color: var(--dusk);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.6;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); color: var(--earth); font-weight: 500; line-height: 1.08; margin: 0; }
h1 { font-family: var(--display); font-weight: 600; font-size: clamp(38px, 5.4vw, 68px); line-height: 1.08; letter-spacing: -0.01em; }
h2 { font-size: clamp(34px, 4.2vw, 54px); }
h2 + .lede { margin-top: 16px; }
h3 { font-size: clamp(24px, 2.4vw, 30px); }
p { margin: 0; }
p + p { margin-top: 1em; }
em { font-style: italic; }
.lede { font-size: clamp(19px, 1.6vw, 22px); max-width: 56ch; }
.sub { color: var(--stone); font-size: 20px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.band { padding: clamp(64px, 9vw, 120px) 0; }
.band.sand { background: var(--sand); }
.wrap.narrow { max-width: 880px; }
/* A Typical Day on Safari: the film, and the day written out */
.video-wrap { max-width: 1120px; }
.video-wrap .lede, .video-wrap .video-note { max-width: 760px; }
.video-frame { position: relative; aspect-ratio: 16 / 9; margin-top: 32px; background: var(--earth); border-radius: var(--radius); overflow: hidden; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-note { margin-top: 24px; }
.day { list-style: none; margin: 24px 0 0; padding: 0; }
.day li { padding: 18px 0; border-top: 1px solid var(--line); }
.day li:last-child { border-bottom: 1px solid var(--line); }
.day-time { display: block; font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--savannah); }
.day h3 { margin: 6px 0 6px; font-size: 25px; }
.day p { margin: 0; }
.band.earth { background: var(--earth); color: var(--sand); }
.band.earth h2, .band.earth h3 { color: var(--warm-white); }
.band.earth .sub { color: var(--gold-light); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--btn); color: #fff;
  font-family: var(--sans); font-weight: 500; font-size: 16px; letter-spacing: 0.02em;
  padding: 16px 28px; border-radius: var(--radius); text-decoration: none;
  transition: background .2s, transform .15s;
  white-space: nowrap;
}
.btn:hover { background: var(--btn-hover); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.textlink {
  color: var(--savannah); text-decoration: none; font-weight: 400;
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.textlink:hover { color: var(--earth); }
.band.earth .textlink { color: var(--gold-light); }

/* Navbar: always light, because the logo must always sit on a light background */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 244, 0.94);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; justify-content: space-between; min-height: var(--nav-h); gap: 24px; padding-top: 4px; padding-bottom: 4px; }
.logo img { height: 70px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-weight: 400; font-size: 16px; color: var(--dusk); }
.nav-links a:hover { color: var(--earth); }
.nav .btn, .nav-links a.btn { padding: 12px 22px; font-size: 15px; color: #fff; }

/* Drop-down submenus: open on hover or keyboard focus on desktop */
.nav-links > li { position: relative; }
.nav-links > .has-sub > a { padding: 26px 0; }
.sub {
  list-style: none; margin: 0; padding: 10px 0; min-width: 240px;
  position: absolute; left: -18px; top: 100%;
  background: var(--warm-white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 14px 40px rgba(28, 26, 22, .10);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.sub a { display: block; padding: 9px 20px; font-size: 15px; white-space: nowrap; }
.sub a:hover { background: var(--sand); }
/* The intro line under a heading shares the name "sub" with the drop-downs.
   Undo the drop-down styling for it, at every screen size. */
p.sub { position: static; opacity: 1; visibility: visible; transform: none; min-width: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: none; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--earth); margin: 5px 0; transition: transform .2s, opacity .2s; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--warm-white); border-bottom: 1px solid var(--line);
    padding: 8px var(--pad) 20px;
  }
  .nav-links.open { display: flex; }
  /* The open menu is taller than a phone screen, so it scrolls on its own. */
  .nav-links { max-height: calc(100vh - var(--nav-h)); max-height: calc(100dvh - var(--nav-h)); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
  .nav-links > li { border-top: 1px solid var(--line); }
  .nav-links a { display: block; padding: 14px 0; font-size: 18px; }
  /* On phones the submenus are simply listed under their parent */
  .nav-links > .has-sub > a { padding: 14px 0 6px; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; background: none; padding: 0 0 12px 16px; min-width: 0; }
  .sub a { padding: 8px 0; font-size: 16px; color: var(--stone); }
  .sub a:hover { background: none; color: var(--earth); }
  .nav-links .btn { margin-top: 14px; justify-content: center; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* Hero: video behind, copy in front. The video is only attached on wide
   screens without a reduced-motion preference; everyone else gets the still. */
.hero {
  position: relative; overflow: hidden;
  min-height: calc(100svh - var(--nav-h)); min-height: calc(100dvh - var(--nav-h));
  display: flex; align-items: flex-end;
  background: var(--earth);
  color: var(--warm-white);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero-media iframe {
  /* Sits a touch above centre so the bottom of the film is cropped less than the top. */
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -54%);
  width: 100vw; height: 56.25vw; min-width: 177.78vh; min-height: 100vh;
  border: 0; pointer-events: none; opacity: 0; transition: opacity 1.2s ease;
}
.hero-media iframe.ready { opacity: 1; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(var(--scrim), .35) 0%, rgba(var(--scrim), .15) 45%, rgba(var(--scrim), 0) 75%),
    linear-gradient(to top, rgba(var(--scrim), .82) 0%, rgba(var(--scrim), .45) 45%, rgba(var(--scrim), .15) 100%);
}
/* The hero copy ignores the 1200px content column on purpose: it sits near the
   left edge of the window, the way the photograph does. */
.hero-copy { position: relative; z-index: 1; max-width: none; width: 100%; margin: 0; padding: 120px clamp(24px, 6vw, 110px) clamp(48px, 8vw, 96px); }
.hero-text { max-width: 720px; }
.hero h1 { color: var(--warm-white); }
.hero h1 em { color: var(--gold-light); font-style: italic; }
.hero .lede { color: var(--sand); margin-top: 22px; }
.hero .btn { margin-top: 34px; }
.hero-note { margin-top: 18px; font-size: 15px; color: var(--gold-light); letter-spacing: 0.04em; }

/* Why us: the four benefits under the copy */
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 32px; margin-top: 36px; }
.benefits h3 { font-size: 26px; margin-bottom: 6px; }
.benefits p { font-size: 17px; }

/* Full-bleed split sections: photograph fills one half edge to edge, copy
   sits in the other half. Used for the founder, how it works, and the
   closing call to action. */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; }
.split.sand { background: var(--sand); }
.split-media { position: relative; overflow: hidden; }
.split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-copy { display: flex; align-items: center; padding: clamp(56px, 7vw, 104px) var(--pad); }
.split-copy > div { max-width: 600px; margin: 0 auto; }
.split.flip .split-media { order: 2; }
.split h2 { margin-bottom: 20px; }
.split .btn { margin-top: 30px; }
.proof { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto; gap: 8px 24px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
/* Each point shares the two rows, so the descriptions line up even if one heading wraps differently. */
.proof > div { display: grid; grid-row: span 2; grid-template-rows: subgrid; }
.proof strong { display: block; font-family: var(--serif); font-size: 26px; font-weight: 500; color: var(--earth); line-height: 1.1; }
.proof span { display: block; font-size: 17px; color: var(--dusk); }

/* Photo cards: three across, image on top */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 44px; }
.card { text-decoration: none; color: inherit; }
.card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); transition: transform .5s ease; }
.card:hover img { transform: scale(1.02); }
.card h3 { margin: 18px 0 8px; }
.card p { font-size: 18px; }

/* Destinations: a photo grid, words on the photo */
.dest-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(220px, 24vw, 320px); gap: 16px; margin-top: 44px; }
.dest {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius);
  height: 100%; text-decoration: none; color: var(--warm-white); background: var(--earth);
}
.dest img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.dest:hover img { transform: scale(1.04); }
.dest::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(var(--scrim), .78) 0%, rgba(var(--scrim), .1) 55%, transparent 100%);
}
.dest-copy { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; }
.dest h3 { color: var(--warm-white); font-size: 30px; margin: 0; }
.dest p { font-size: 15px; color: var(--sand); margin-top: 4px; font-weight: 400; }
.dest.wide { grid-column: span 2; }
.dest-foot { margin-top: 28px; font-size: 18px; }

/* Short videos: the one dark band */
.shorts { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.reels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.reel {
  position: relative; display: block; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 10px;
  background: var(--dusk); text-decoration: none;
}
.reel img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(var(--scrim), .7), transparent 50%); }
.reel .play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 1;
  width: 56px; height: 56px; border-radius: 50%; background: rgba(250, 248, 244, .92);
  display: grid; place-items: center;
}
.reel .play::before { content: ""; border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent var(--earth); margin-left: 4px; }
.reel span { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 1; color: var(--sand); font-size: 14px; font-weight: 400; line-height: 1.3; }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 44px; }
.quote { background: var(--warm-white); border-radius: var(--radius); padding: 32px 30px; display: flex; flex-direction: column; }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: 23px; line-height: 1.35; color: var(--earth); flex: 1; }
.quote blockquote::before { content: "\201C"; color: var(--amber); font-size: 48px; line-height: 0; vertical-align: -18px; margin-right: 4px; }
.quote footer { margin-top: 22px; font-size: 15px; }
.quote footer strong { display: block; font-weight: 500; color: var(--earth); }
.quote footer span { color: var(--stone); }

/* How it works */
.steps { list-style: none; margin: 36px 0 0; padding: 0; counter-reset: step; }
.steps li { position: relative; padding: 26px 0 26px 64px; border-top: 1px solid var(--line); counter-increment: step; }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 24px;
  font-family: var(--serif); font-size: 34px; color: var(--amber); line-height: 1;
}
.steps h3 { margin-bottom: 6px; }
.steps p { font-size: 18px; }

/* Closing call to action */
.cta-note { margin-top: 18px; font-size: 16px; color: var(--stone); }

/* Footer: light, so the logo is fine here too */
.footer { border-top: 1px solid var(--line); padding: 56px 0 40px; font-size: 15px; color: var(--stone); }
.footer-in { display: grid; grid-template-columns: 4fr 1fr 1fr; gap: 48px; }
.footer .logo img { height: 92px; }
.footer p { margin-top: 16px; max-width: 34ch; }
.footer-brand { display: flex; flex-direction: column; }
.footer .footer-tag { font-family: var(--serif); font-size: 36px; line-height: 1.18; color: var(--earth); margin-top: 0; max-width: none; white-space: nowrap; }
.footer .footer-addr { margin-top: 26px; }
.footer .footer-addr strong { font-weight: 500; color: var(--earth); }
.footer-brand .logo { margin-top: auto; padding-top: 36px; }
.footer h4 { font-family: var(--sans); font-weight: 500; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--earth); margin: 0 0 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li + li { margin-top: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--earth); }
.footer-base { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* ---------- Inner pages ---------- */

/* Page hero: a photograph with the title over it, shorter than the homepage's */
.page-hero {
  position: relative; overflow: hidden; display: flex; align-items: flex-end;
  min-height: 78vh; min-height: 78svh; background: var(--earth); color: var(--warm-white);
}
.eyebrow { font-family: var(--sans); font-size: 14px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--savannah); margin-bottom: 12px; }

/* The five planning steps: the block pins while you scroll and the steps
   appear one at a time. Plain list on small screens and under reduced motion. */
.pin-steps { position: relative; }
.pin-stick { position: sticky; top: var(--nav-h); height: calc(100vh - var(--nav-h)); height: calc(100svh - var(--nav-h)); overflow: hidden; }
.pin-steps.pinned { height: 340vh; }
.steps-pin p { font-size: 18px; }
.steps-pin h3 { font-size: 28px; }
/* While pinned: heading stays at the top, steps stack up underneath in a
   window three steps tall. Once it's full, the oldest slides up and fades
   out as the next one appears. site.js sets the window height and the slide. */
.pin-steps.pinned .split-copy { align-items: flex-start; padding-top: clamp(56px, 8vh, 88px); padding-bottom: clamp(40px, 6vh, 64px); }
.pin-steps.pinned .split-copy h2 { font-size: 38px; margin-bottom: 4px; }
.pin-steps.pinned .split-copy h2 + .lede { font-size: 18px; margin-top: 4px; }
.pin-steps.pinned .steps-win { overflow: hidden; margin-top: 20px; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 40px); mask-image: linear-gradient(to bottom, transparent, #000 40px); }
.pin-steps.pinned .steps-pin { margin: 0; padding-top: 4px; transition: transform .7s cubic-bezier(.2, .7, .2, 1); will-change: transform; }
.pin-steps.pinned .steps-pin li { padding: 14px 0 14px 56px; opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.pin-steps.pinned .steps-pin li::before { top: 12px; }
.pin-steps.pinned .steps-pin h3 { font-size: 26px; margin-bottom: 4px; }
.pin-steps.pinned .steps-pin p { line-height: 1.5; }
.pin-steps.pinned .steps-pin li.show { opacity: 1; transform: none; }
.pin-steps:not(.pinned) .pin-stick { position: static; height: auto; overflow: visible; }
.pin-steps:not(.pinned) .split { min-height: 640px !important; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(to right, rgba(var(--scrim), .26) 0%, rgba(var(--scrim), .1) 45%, rgba(var(--scrim), 0) 75%),
  linear-gradient(to top, rgba(var(--scrim), .62) 0%, rgba(var(--scrim), .22) 50%, rgba(var(--scrim), 0) 100%); }
.page-hero .hero-copy { padding-top: 96px; }
.page-hero h1 { color: var(--warm-white); font-size: clamp(36px, 4.6vw, 60px); }
.page-hero .lede { color: var(--sand); margin-top: 18px; }
.page-hero .hero-text { max-width: 680px; }

/* Plain page header, for the legal pages */
.page-head { background: var(--sand); padding: clamp(48px, 7vw, 88px) 0 clamp(36px, 5vw, 60px); }
.page-head h1 { font-size: clamp(34px, 4.2vw, 54px); }
.page-head .sub { margin-top: 12px; font-size: 18px; }

/* Long-form text */
.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(28px, 3vw, 38px); margin: 48px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 24px; margin: 30px 0 8px; }
.prose ul { padding-left: 22px; margin: 12px 0 0; }
.prose li + li { margin-top: 8px; }
.prose a:not(.btn) { color: var(--savannah); }
.legal .prose { font-size: 18px; }
.legal .prose h2 { font-size: 26px; margin-top: 40px; }

/* Numbered points with a heading each, two across */
.points { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 48px; margin-top: 44px; }
.points > div { padding-top: 22px; border-top: 1px solid var(--line); }
.points h3 { margin-bottom: 8px; }
.points p { font-size: 18px; }

/* Nights strip, on the first South Africa trip page */
.legs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.leg { background: var(--warm-white); border-radius: var(--radius); overflow: hidden; }
.leg img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.leg > div { padding: 22px 24px 26px; }
.leg .n { font-family: var(--serif); font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--savannah); font-weight: 500; }
.leg h3 { margin: 4px 0 8px; }
.leg p { font-size: 18px; }

/* Questions and answers */
.faq { max-width: 800px; margin-top: 32px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 20px 0; font-family: var(--serif); font-size: 24px; color: var(--earth); font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-weight: 300; font-size: 30px; color: var(--amber); line-height: 1; flex: none; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; max-width: 64ch; font-size: 18px; }

/* Enquiry form */
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-done { padding: 32px 0; } .form-done h3 { font-size: 30px; margin-bottom: 10px; } .form-done p { font-size: 18px; max-width: 560px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; margin-top: 8px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: 15px; font-weight: 500; color: var(--earth); margin-bottom: 8px; }
.form label small { font-weight: 300; color: var(--stone); }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-size: 18px; color: var(--dusk); background: var(--warm-white);
  border: 1px solid #C9C2B6; border-radius: var(--radius); padding: 13px 14px;
}
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--amber); outline-offset: 1px; border-color: var(--amber); }
.form .note { grid-column: 1 / -1; font-size: 15px; color: var(--stone); }
.form .btn { justify-self: start; }

/* Destination pages: the "why" copy with a map of Africa beside it, the
   page's country picked out in amber */
.why-map { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.africa-map { width: 100%; max-width: 420px; height: auto; display: block; margin: 0 auto; }
.africa-map path { fill: var(--line); stroke: var(--warm-white); stroke-width: 1.2; stroke-linejoin: round; }
.africa-map circle { fill: var(--line); stroke: var(--warm-white); stroke-width: 1.2; }
.africa-map path.on, .africa-map circle.on { fill: var(--amber); }
.map-caption { text-align: center; font-size: 15px; color: var(--stone); margin-top: 14px; }
@media (max-width: 900px) { .why-map { grid-template-columns: 1fr; } .africa-map { max-width: 320px; } }

/* Destination pages: when to go, at a glance */
.months { display: grid; grid-template-columns: 230px repeat(12, 1fr); gap: 8px 4px; margin-top: 36px; font-size: 15px; align-items: center; }
.months .mh { font-family: var(--sans); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--stone); text-align: center; padding-bottom: 6px; }
.months .ml { font-family: var(--serif); font-size: 19px; color: var(--earth); padding-right: 12px; white-space: nowrap; }
.months .m { height: 30px; border-radius: 4px; background: var(--line); }
.months .m.on { background: var(--amber); }
.months .m.ok { background: var(--gold-light); }
.months-key { margin-top: 16px; font-size: 15px; color: var(--stone); display: flex; gap: 22px; flex-wrap: wrap; }
.months-key span::before { content: ""; display: inline-block; width: 14px; height: 14px; border-radius: 3px; vertical-align: -2px; margin-right: 8px; background: var(--line); }
.months-key .on::before { background: var(--amber); }
.months-key .ok::before { background: var(--gold-light); }
@media (max-width: 700px) { .months { grid-template-columns: 96px repeat(12, 1fr); gap: 6px 2px; } .months .ml { font-size: 14px; white-space: normal; line-height: 1.15; } .months .mh { font-size: 10px; letter-spacing: 0; } }

/* Destination pages: the facts strip */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px 32px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.facts strong { display: block; font-family: var(--serif); font-size: 24px; font-weight: 500; color: var(--earth); line-height: 1.15; margin-bottom: 6px; }
.facts span { font-size: 15px; color: var(--stone); }
@media (max-width: 900px) { .facts { grid-template-columns: 1fr 1fr; } }

/* "More to explore" at the foot of inner pages */
.more { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 14px 36px; font-size: 18px; }

/* Scroll reveal: a small fade-up, once. Hidden only when JS has set data-anim,
   so a page without JavaScript is simply fully visible. */
html[data-anim] .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
html[data-anim] .reveal.in { opacity: 1; transform: none; }
/* Steps on the homepage arrive one after another */
.steps li.reveal:nth-child(2) { transition-delay: .18s; }
.steps li.reveal:nth-child(3) { transition-delay: .36s; }
.steps li.reveal:nth-child(4) { transition-delay: .54s; }
.steps li.reveal:nth-child(5) { transition-delay: .72s; }
@media (prefers-reduced-motion: reduce) {
  html[data-anim] .reveal { opacity: 1; transform: none; transition: none; }
}

/* Phones and tablets */
@media (max-width: 900px) {
  body { font-size: 18px; }
  .shorts { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; min-height: 0; }
  .split-media { aspect-ratio: 4 / 3; order: 0 !important; }
  .split-copy { padding: 48px var(--pad) 56px; }
  .cards, .quotes, .points, .legs, .form { grid-template-columns: 1fr; }
  .faq summary { font-size: 21px; }
  .dest-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: clamp(180px, 30vw, 260px); }
  .dest.wide { grid-column: span 2; }
  .proof { grid-template-columns: 1fr; grid-template-rows: none; gap: 22px; }
  .proof > div { display: block; grid-row: auto; }
  .proof strong { margin-bottom: 6px; }
  /* The two homepage point sets are 17px on computers (owner, 2026-09-25) and 18px here. */
  .benefits p, .proof span { font-size: 18px; }
  .footer-in { grid-template-columns: 1fr; gap: 28px; }
  .footer .footer-tag { font-size: 28px; white-space: normal; }
  .hero-copy { padding-top: 72px; }
  /* Phones and narrow tablets: centre each hero picture on its subject (set per page as --mpos). */
  .page-hero img { object-position: var(--mpos, 50% 50%); }
  /* Homepage: the hero is followed straight by the founder section here, so the second picture is not needed. */
  #why .split-media { display: none; }
  /* Planning page: steps first, then the picture, so it doesn't sit straight under the hero. */
  #steps .split-media { order: 2 !important; }
}
@media (max-width: 767px) {
  /* Homepage still (phones get no video): enlarge and anchor to the bottom so the giraffes sit above the headline. */
  .hero-media img { position: absolute; left: 0; bottom: 0; height: 150%; object-position: 80% 100%; }
}
@media (max-width: 560px) {
  .dest-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .dest.wide { grid-column: span 1; }
  .reels { grid-template-columns: 1fr 1fr; }
  .reels .reel:nth-child(3) { display: none; }
  .hero .btn { width: 100%; justify-content: center; }
}
