/* =========================================================
   EDITORIAL REDESIGN (2026-11-17) — loaded after style.css + pages.css
   Micato-style editorial luxury, modelled on the "africa dream" project:
   warm ivory canvas, Goudy display serif, square outline buttons,
   italic kickers with an icon in braces, gold-line ornaments,
   alternating half-bleed photo / text rows.
   THIS colours: brand orange #cf8638 replaces gold, brand black #1d1d1b is the ink.
   Photo heroes, banners, the slogan band, values and footer stay dark.
   ========================================================= */
:root {
  --display: "Sorts Mill Goudy", "Goudy Old Style", Garamond, Georgia, serif;
  --body: "Crimson Pro", Garamond, Georgia, serif;
  --serif: var(--display);
  --bg: #fdf8f5;
  --bg-2: #f5ebe1;
  --accent: #cf8638;   /* brand orange: fills, lines, icons */
  --accent-d: #a8641f; /* darker orange for small text on ivory (brand orange is too light to read there) */
  --rule: #e8dccf;
}

/* light canvas: body flips the text tokens to dark; dark contexts reset them */
body {
  --ivory: #1d1d1b; --sand: #4a4038; --muted: #6f665d; --line: var(--rule);
  --accent-text: var(--accent-d); --title-em: var(--accent-d);
  background: var(--bg); color: var(--ivory);
  font: 300 19px/1.6 var(--body);
}
.hero, .phero, .meaning, .proverb, .next, .cta-band, .values, .footer, .menu, .loader, .pt, .lightbox,
.itin__count, .slogan__panel, .banner, .header:not(.is-scrolled), .menu-open .header, .form, .drawer {
  --ivory: #f5efe5; --sand: #ecdfcd; --muted: #b3a593; --line: rgba(245, 239, 229, .2);
  --accent-text: var(--accent); --title-em: #ecdfcd;
}
.hero, .phero, .meaning, .proverb, .next, .cta-band, .values, .footer, .menu, .header, .banner { color: var(--ivory); }
.form, .drawer { font-family: var(--body); }

/* ---------- type ---------- */
h1, h2, h3, h4, .title, .hero__title, .phero__title, .next__title, .footer__slogan,
.card h3, .route h3, .stay h4, .info-grid h3, .values__list h3, .itin__stage h3, .step legend, .drawer__body h3,
.about__statement, .menu__links a { font-family: var(--display); font-weight: 400; }
.title { font-size: clamp(38px, 4.4vw, 62px); line-height: 1.06; letter-spacing: -.01em; }
.title em, .card h3 em, .route h3 em { color: var(--title-em); font-style: italic; }
.about__statement { font-size: clamp(26px, 2.9vw, 42px); line-height: 1.25; }

/* eyebrows become kickers: italic Goudy in orange */
.eyebrow {
  font: italic 400 clamp(19px, 1.5vw, 23px)/1.2 var(--display);
  letter-spacing: 0; text-transform: none; color: var(--accent-text); margin-bottom: 16px;
}
.eyebrow, .link-arrow, .card__dur, .park__num, .exp__n, .stay h4 small, .prow__num, .itin__label,
.ticks li::before, .header__nav a.is-active, .about__sign em, .parks__hint i, .itinerary h5 { color: var(--accent-text); }
.plan .eyebrow, .plan .title em, .plan .link-arrow, .book .eyebrow { color: var(--brand-black); }
.footer .eyebrow { font-size: 20px; margin-bottom: 10px; }

.kicker { display: flex; align-items: center; gap: 4px; margin: 0 0 14px; font: italic 400 clamp(21px, 1.7vw, 26px)/1.2 var(--display); color: var(--accent-text); }
.kicker em { padding-left: 8px; }
.kicker--center { justify-content: center; }
.kicker__icon { display: inline-flex; align-items: center; gap: 4px; font-style: normal; font-size: 30px; line-height: 1; }
.kicker__icon::before { content: "{"; }
.kicker__icon::after { content: "}"; }
.kicker__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; }

.ornament { display: flex; justify-content: center; margin: 18px auto 28px; }
.ornament span { position: relative; width: 110px; height: 1px; background: var(--accent); }
.ornament span::after { content: ""; position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; background: var(--accent); border-radius: 50%; transform: translate(-50%, -50%); }
.ornament--light span, .ornament--light span::after { background: rgba(255, 255, 255, .85); }

/* ---------- buttons: square, uppercase, outline ---------- */
.btn { height: auto; min-height: 48px; padding: 14px 28px; border-radius: 0; border: 1.6px solid transparent; font: 700 12px/1 var(--sans); letter-spacing: .12em; }
.btn--solid { background: var(--accent); border-color: var(--accent); color: var(--brand-black); }
.btn--solid::before { background: var(--brand-black); }
.btn--solid:hover { color: #fff; }
.btn--line { height: auto; padding: 12px 20px; border-color: currentColor; }
.btn--line-accent { border-color: var(--accent); color: var(--accent-d); margin-top: 10px; }
.btn--line-accent::before { background: var(--accent); }
.btn--line-accent:hover { color: var(--brand-black); }
.btn--light { border-color: #fff; color: #fff; }
.btn--light::before { background: #fff; }
.btn--light:hover { color: var(--brand-black); }
.btn--ghost { border-color: var(--brand-black); }
.link-arrow { font-family: var(--sans); font-weight: 600; letter-spacing: .14em; }

/* ---------- header ---------- */
.header__nav { gap: 26px; }
.header__nav a { font: 500 14px/1 var(--sans); letter-spacing: .04em; text-transform: none; }
.header__logo { position: relative; display: block; }
.header__logo img { height: 40px; }
.header__logo .logo--dark { position: absolute; inset: 0; opacity: 0; transition: opacity .4s; }
.header__logo .logo--light { transition: opacity .4s; }
.header.is-scrolled { background: var(--bg); box-shadow: 0 1px 0 var(--rule); backdrop-filter: none; -webkit-backdrop-filter: none; }
.header.is-scrolled .logo--light { opacity: 0; }
.header.is-scrolled .logo--dark { opacity: 1; }
.header.is-scrolled .header__cta { border-color: var(--accent); color: var(--accent-d); }
.header.is-scrolled .header__cta::before { background: var(--accent); }
.header.is-scrolled .header__cta:hover { color: var(--brand-black); }
.menu-open .header.is-scrolled { background: transparent; box-shadow: none; }
.menu-open .header.is-scrolled .logo--light { opacity: 1; }
.menu-open .header.is-scrolled .logo--dark { opacity: 0; }
.menu__bg { background: var(--brand-black); }
.grain, .cursor { display: none !important; }

/* ---------- hero (kept; type follows the new fonts) ---------- */
.hero__title { font-size: clamp(46px, min(9vw, 13vh), 164px); line-height: .95; letter-spacing: -.02em; }
.hero__lead, .phero__lead { font-size: 19px; }
.phero__title { font-size: clamp(44px, min(7.4vw, 12vh), 132px); line-height: .98; letter-spacing: -.015em; }
.phero__title em, .hero__title em { color: #f3e3cc; }
.hero__eyebrow, .phero__eyebrow { color: #f3e3cc; text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }

/* ---------- home: intro cards ---------- */
.icards { padding: clamp(56px, 7vw, 96px) 0; background: var(--bg); }
.icards__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px); }
.icard { display: block; text-align: center; }
.icard__img { margin: 0 0 20px; aspect-ratio: 4/3; overflow: hidden; }
.icard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.icard:hover .icard__img img { transform: scale(1.05); }
.icard h3 { font-size: clamp(24px, 2vw, 30px); margin: 0 0 4px; }
.icard span { font-style: italic; color: var(--muted); }
.icard:hover h3 { color: var(--accent-d); }

/* ---------- home: alternating feature rows ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; min-height: clamp(520px, 46vw, 720px); background: var(--bg); }
.feature:nth-of-type(odd) { background: #fff; }
.feature__media { margin: 0; position: relative; overflow: hidden; }
.feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature__panel { align-self: center; padding: clamp(48px, 6vw, 110px) clamp(24px, 6vw, 110px); max-width: 680px; }
.feature__panel h2 { font-size: clamp(36px, 3.8vw, 58px); line-height: 1.05; margin: 0 0 22px; }
.feature__panel p { color: var(--sand); margin: 0 0 26px; }
.feature--reverse .feature__media { order: 2; }
.feature--reverse .feature__panel { justify-self: end; }

/* ---------- home: framed values box ---------- */
.framed { background: var(--bg-2); padding: clamp(70px, 9vw, 130px) var(--gutter); }
.framed__box { max-width: 1180px; margin: 0 auto; border: 1px solid var(--accent); background: var(--bg); padding: clamp(40px, 6vw, 86px) clamp(20px, 5vw, 70px); text-align: center; }
.framed__title { font-size: clamp(34px, 3.6vw, 54px); line-height: 1.1; margin: 0; }
.framed__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; margin: 10px 0 44px; }
.promise svg { width: 48px; height: 48px; margin: 0 auto 14px; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.promise h3 { font: 600 15px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; margin: 0 0 8px; }
.promise p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.45; }

/* ---------- full-bleed banners ---------- */
.banner { position: relative; min-height: clamp(460px, 62vh, 680px); display: grid; place-items: center; overflow: hidden; text-align: center; }
.banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner__shade { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(20, 14, 8, .5), rgba(20, 14, 8, .62)); }
.banner__content { position: relative; z-index: 1; padding: 60px var(--gutter); max-width: 1100px; }
.banner__kicker { margin: 0; font: italic 400 clamp(22px, 2vw, 30px)/1.2 var(--display); color: #fff; }
.banner h2 { font-size: clamp(46px, 6vw, 92px); line-height: 1; margin: 0 0 30px; color: #fff; }
.banner--quote h2 { font-style: italic; font-size: clamp(36px, 4.6vw, 70px); line-height: 1.1; margin: 0; }

/* ---------- home: trip cards under the banner ---------- */
.trips { background: var(--bg); padding: clamp(60px, 7vw, 100px) 0; }
.cards--trips { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(24px, 3vw, 44px); }
.cards--trips .card { flex: 0 1 calc((100% - 2 * clamp(24px, 3vw, 44px)) / 3); }
.cards--trips .card__img { aspect-ratio: 4/3; }

/* ---------- centred section head ---------- */
.sec-head { text-align: center; max-width: 760px; margin: 0 auto clamp(44px, 5vw, 70px); }
.sec-head h2 { font-size: clamp(40px, 4.4vw, 64px); line-height: 1.04; margin: 0; }
.sec-head .ornament { margin-bottom: 18px; }
.sec-head__lead { color: var(--muted); margin: 0; font-style: italic; }

/* ---------- sections that were dark: ivory / sand ---------- */
.safaris, .experiences, .stays, .strip, .marquee, .icards { background: var(--bg); }
.parks, .kili, .mapsec { background: var(--bg-2); }
.kili__bg { display: none; }
.marquee span { -webkit-text-stroke-color: rgba(29, 29, 27, .4); }
.route { background: #fff; backdrop-filter: none; border-color: var(--rule); }
.itin__stage::before { background: var(--bg); }
.card__foot strong, .route__price, .book__price, .drawer__price { font-family: var(--display); }
.stats strong { font-family: var(--display); }
.footer__slogan { font-size: clamp(28px, 2.6vw, 40px); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .framed__grid { grid-template-columns: repeat(3, 1fr); }
  .cards--trips .card { flex-basis: calc((100% - clamp(24px, 3vw, 44px)) / 2); }
}
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; min-height: 0; }
  .feature__media { aspect-ratio: 4/3; }
  .feature--reverse .feature__media { order: 0; }
  .feature__panel { max-width: none; padding: 48px var(--gutter) 64px; }
}
@media (max-width: 640px) {
  body { font-size: 18px; }
  .icards__grid { grid-template-columns: 1fr; }
  .framed__grid { grid-template-columns: 1fr 1fr; }
  .cards--trips .card { flex-basis: 100%; }
  .header__logo img { height: 32px; }
}

/* ---------- floating WhatsApp (right) ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 110;
  display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 16px;
  border-radius: 28px; background: #25d366; color: #fff; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .35);
  font: 600 14px/1 var(--sans); transition: transform .3s var(--ease-out), box-shadow .3s;
}
.wa-float svg { width: 28px; height: 28px; fill: currentColor; flex: none; }
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -10px rgba(0, 0, 0, .45); }
.wa-float:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ---------- assistant (left) ---------- */
.assist { position: fixed; left: 20px; bottom: 20px; z-index: 110; font-family: var(--sans); }
.assist__toggle {
  display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 18px 0 10px; border-radius: 28px;
  background: var(--brand-black); color: #fff; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .4);
  font: 600 14px/1 var(--sans); transition: transform .3s var(--ease-out);
}
.assist__toggle img { width: 36px; height: 36px; }
.assist__toggle:hover { transform: translateY(-3px); }
.assist__toggle:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.assist.is-open .assist__toggle { display: none; }
.assist__panel {
  width: min(380px, calc(100vw - 40px)); height: min(560px, calc(100vh - 120px)); height: min(560px, calc(100svh - 120px));
  display: flex; flex-direction: column; background: var(--bg); color: var(--brand-black);
  border: 1px solid var(--rule); box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .45); overflow: hidden;
  animation: assistIn .35s var(--ease-out);
}
.assist__panel[hidden] { display: none; }
@keyframes assistIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.assist__head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: var(--brand-black); color: #fff; }
.assist__head img { width: 36px; height: 36px; flex: none; }
.assist__head div { display: grid; gap: 2px; flex: 1; min-width: 0; }
.assist__head strong { font: 600 15px/1.2 var(--sans); }
.assist__head span { font-size: 12px; color: rgba(255, 255, 255, .65); }
.assist__close { width: 34px; height: 34px; color: #fff; font-size: 14px; border: 1px solid rgba(255, 255, 255, .25); }
.assist__close:hover { background: var(--accent); border-color: var(--accent); color: var(--brand-black); }
.assist__log { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.assist__msg { max-width: 88%; padding: 10px 14px; font: 400 16px/1.45 var(--body); }
.assist__msg--bot { align-self: flex-start; background: #fff; border: 1px solid var(--rule); }
.assist__msg--user { align-self: flex-end; background: var(--accent); color: var(--brand-black); font-family: var(--sans); font-size: 14px; }
.assist__msg a { color: var(--accent-d); text-decoration: underline; text-underline-offset: 2px; }
.assist__msg ul { margin: 6px 0; padding-left: 18px; }
.assist__msg li { margin-bottom: 3px; }
.assist__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.assist__chips button { padding: 7px 12px; border: 1px solid var(--accent); color: var(--accent-d); font: 500 13px/1.2 var(--sans); background: transparent; transition: background .2s, color .2s; }
.assist__chips button:hover { background: var(--accent); color: var(--brand-black); }
.assist__typing { display: flex; gap: 4px; padding: 14px; }
.assist__typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: assistDot 1s infinite; }
.assist__typing i:nth-child(2) { animation-delay: .15s; } .assist__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes assistDot { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }
.assist__form { display: flex; border-top: 1px solid var(--rule); background: #fff; }
.assist__input { flex: 1; min-width: 0; border: 0; padding: 14px 16px; font: 400 15px var(--sans); color: var(--brand-black); background: transparent; outline: none; }
.assist__form button { width: 52px; display: grid; place-items: center; color: var(--accent-d); }
.assist__form button svg { width: 22px; height: 22px; fill: currentColor; }
.assist__form:focus-within { box-shadow: inset 0 2px 0 var(--accent); }

@media (max-width: 640px) {
  .wa-float { right: 14px; bottom: 14px; width: 56px; padding: 0; justify-content: center; }
  .wa-float__label { display: none; }
  .assist { left: 14px; bottom: 14px; }
  .assist__toggle { width: 56px; padding: 0; justify-content: center; }
  .assist__toggle span { display: none; }
  .assist__panel { width: calc(100vw - 28px); height: calc(100svh - 90px); }
}
@media print { .wa-float, .assist { display: none; } }

/* ---- privacy page ---- */
.legal__body { max-width: 760px; }
.legal__body h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 3vw, 32px); margin: 44px 0 10px; }
.legal__body h2:first-child { margin-top: 0; }
.legal__body p { line-height: 1.75; margin: 0 0 14px; }
.legal__body a { text-decoration: underline; text-underline-offset: 3px; }
.legal__date { margin-top: 40px !important; font-size: 13px; opacity: .7; }
.footer__legal a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
