/* ROOTED — safari wellness retreat */
:root {
  --sand: #f4ede2;
  --sand-deep: #e9dcc8;
  --paper: #fbf8f2;
  --ink: #2b2a22;
  --ink-soft: #5b5748;
  --olive: #3f4a2e;
  --olive-deep: #2a3220;
  --clay: #9f5530;
  --clay-soft: #d9a27c;
  --line: rgba(43, 42, 34, 0.14);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --radius: 4px;
  --max: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 350;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.1; letter-spacing: -0.01em; }
h2 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
em { font-style: italic; color: var(--clay); }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--clay);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 60ch; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  padding: 16px 30px; border-radius: 100px;
  border: 1px solid var(--olive);
  background: var(--olive); color: var(--sand);
  transition: background .3s, color .3s, transform .3s;
}
.btn:hover { background: var(--olive-deep); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--sand); border-color: rgba(244,237,226,.6); }
.btn--ghost:hover { background: var(--sand); color: var(--olive-deep); }
.btn--clay { background: var(--clay); border-color: var(--clay); }
.btn--clay:hover { background: #9c5530; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .35s, box-shadow .35s, padding .35s;
  padding: 22px 0;
}
.nav.is-solid { background: rgba(251,248,242,.94); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); padding: 12px 0; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__logo { font-family: var(--serif); font-size: 1.6rem; letter-spacing: .32em; text-decoration: none; color: var(--sand); transition: color .35s; }
.nav.is-solid .nav__logo { color: var(--olive-deep); }
.nav__links { display: flex; gap: 30px; list-style: none; align-items: center; }
.nav__links a { text-decoration: none; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sand); opacity: .9; transition: color .35s, opacity .2s; }
.nav__links a:hover { opacity: 1; }
.nav.is-solid .nav__links a { color: var(--ink); }
.nav__links .btn { padding: 11px 22px; color: var(--sand) !important; }
.nav__toggle { display: none; background: none; border: 0; width: 34px; height: 34px; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 5px; right: 5px; height: 1.5px; background: var(--sand); transition: transform .3s, opacity .3s, background .35s; }
.nav__toggle span:nth-child(1) { top: 11px; } .nav__toggle span:nth-child(2) { top: 17px; } .nav__toggle span:nth-child(3) { top: 23px; }
.nav.is-solid .nav__toggle span { background: var(--ink); }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: end; padding: 0;
  color: var(--sand); overflow: hidden; isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: slowzoom 18s ease-out forwards; }
@keyframes slowzoom { to { transform: scale(1); } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(30,28,20,.45) 0%, rgba(30,28,20,.15) 35%, rgba(30,28,20,.75) 100%); }
.hero__content { padding: 140px 0 90px; }
.hero__date { font-size: .82rem; letter-spacing: .3em; text-transform: uppercase; margin-bottom: 26px; display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
.hero__date span.dot { width: 4px; height: 4px; border-radius: 50%; background: var(--clay-soft); }
.hero h1 { font-size: clamp(3.6rem, 11vw, 9.5rem); letter-spacing: .06em; line-height: .9; }
.hero h1 small { display: block; font-size: clamp(1.4rem, 3.4vw, 2.6rem); font-style: italic; letter-spacing: 0; margin-top: 18px; color: var(--clay-soft); }
.hero__sub { max-width: 46ch; margin: 28px 0 40px; font-size: 1.12rem; opacity: .92; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Sections ---------- */
section { padding: clamp(80px, 11vw, 150px) 0; }
.bg-sand { background: var(--sand); }
.bg-olive { background: var(--olive-deep); color: var(--sand); }
.bg-olive .lead { color: rgba(244,237,226,.78); }
.bg-olive .eyebrow { color: var(--clay-soft); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.split--wide { grid-template-columns: 1.1fr .9fr; }
.photo { border-radius: var(--radius); overflow: hidden; position: relative; background: var(--sand-deep); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.photo:hover img { transform: scale(1.03); }
.photo--tall { aspect-ratio: 4/5; }
.photo--square { aspect-ratio: 1/1; }
.photo--wide { aspect-ratio: 4/3; }

/* Intro */
.intro__pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 48px; }
.pillar { background: var(--paper); padding: 26px 22px; }
.pillar b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.7rem; color: var(--olive); }
.pillar span { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.intro__photos { display: grid; grid-template-columns: 1fr .75fr; gap: 18px; align-items: end; }
.intro__photos .photo:last-child { margin-bottom: 60px; }

/* Journey */
.journey__head { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; margin-bottom: 56px; }
.days { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.day { background: var(--paper); border-radius: var(--radius); padding: 34px 28px 30px; border-top: 3px solid var(--clay); display: flex; flex-direction: column; }
.day__num { font-size: .75rem; letter-spacing: .26em; text-transform: uppercase; color: var(--clay); }
.day h3 { font-size: 2.3rem; margin: 8px 0 4px; color: var(--olive-deep); }
.day__tag { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--ink-soft); margin-bottom: 22px; }
.day ul { list-style: none; border-top: 1px solid var(--line); }
.day li { display: grid; grid-template-columns: 92px 1fr; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .93rem; line-height: 1.45; }
.day li time { font-variant-numeric: tabular-nums; color: var(--ink-soft); font-size: .84rem; padding-top: 1px; }
.day li.hl { color: var(--olive); font-weight: 500; }

/* Included */
.included__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 34px; margin: 34px 0 26px; list-style: none; }
.included__grid li { padding: 14px 0 14px 34px; border-bottom: 1px solid rgba(244,237,226,.16); position: relative; }
.included__grid li::before { content: ""; position: absolute; left: 0; top: 23px; width: 16px; height: 1px; background: var(--clay-soft); }
.not-included { margin-top: 34px; padding: 26px 28px; border: 1px solid rgba(244,237,226,.22); border-radius: var(--radius); }
.not-included h4 { font-family: var(--sans); font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; color: var(--clay-soft); margin-bottom: 12px; font-weight: 500; }
.not-included ul { list-style: none; font-size: .93rem; color: rgba(244,237,226,.78); }
.not-included li { padding: 4px 0; }
.not-included li::before { content: "— "; color: rgba(244,237,226,.4); }

/* Location */
.location__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.location__photos .photo:first-child { margin-top: 70px; }

/* Pricing */
.pricing__head { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.pricing__head .eyebrow { justify-content: center; }
.pricing__head .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 980px; margin-inline: auto; }
.plan { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 44px 40px; display: flex; flex-direction: column; position: relative; }
.plan--feature { background: var(--olive-deep); color: var(--sand); border-color: var(--olive-deep); }
.plan__tag { position: absolute; top: -13px; left: 40px; background: var(--clay); color: #fff; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; padding: 5px 14px; border-radius: 100px; }
.plan h3 { font-size: 2rem; margin-bottom: 6px; }
.plan__room { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--clay); margin-bottom: 28px; }
.plan--feature .plan__room { color: var(--clay-soft); }
.plan__price { display: flex; align-items: baseline; gap: 8px; }
.plan__price b { font-family: var(--serif); font-weight: 400; font-size: 4rem; line-height: 1; }
.plan__price span { font-size: .9rem; opacity: .7; }
.plan__regular { font-size: .9rem; opacity: .7; margin: 8px 0 26px; }
.plan__regular s { opacity: .9; }
.plan p.desc { font-size: .96rem; flex: 1; margin-bottom: 30px; opacity: .88; }
.plan .btn { align-self: flex-start; }
.plan--feature .btn { background: var(--sand); color: var(--olive-deep); border-color: var(--sand); }
.plan--feature .btn:hover { background: #fff; }
.early-note { text-align: center; margin-top: 34px; font-size: .92rem; color: var(--ink-soft); }
.early-note b { color: var(--clay); font-weight: 500; }

/* Host */
.host blockquote { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.6vw, 1.85rem); line-height: 1.35; color: var(--olive); border-left: 2px solid var(--clay); padding-left: 24px; margin: 30px 0; }
.host p + p { margin-top: 16px; }
.host__sign { margin-top: 30px; font-family: var(--serif); font-size: 2rem; color: var(--olive-deep); }
.host__sign small { display: block; font-family: var(--sans); font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }

/* Getting there */
.routes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 50px; }
.route { background: var(--paper); border-radius: var(--radius); padding: 38px 36px; }
.route__label { font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; color: var(--clay); }
.route h3 { margin: 8px 0 6px; color: var(--olive-deep); }
.route__note { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--ink-soft); margin-bottom: 22px; }
.route ol { list-style: none; counter-reset: s; }
.route ol li { counter-increment: s; position: relative; padding: 10px 0 10px 44px; border-bottom: 1px solid var(--line); font-size: .95rem; line-height: 1.5; }
.route ol li::before { content: counter(s); position: absolute; left: 0; top: 9px; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--clay); color: var(--clay); font-size: .78rem; display: grid; place-items: center; }
.route__tip { margin-top: 20px; font-size: .88rem; color: var(--ink-soft); }
.map-cta { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; background: var(--olive); color: var(--sand); border-radius: var(--radius); padding: 30px 36px; }
.map-cta h4 { font-size: 1.7rem; }
.map-cta p { font-size: .92rem; opacity: .8; }
.tips { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.tips span { font-size: .84rem; padding: 8px 16px; border: 1px solid var(--line); border-radius: 100px; background: var(--paper); }
.route-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }
.route-photos .photo { aspect-ratio: 3/4; }

/* FAQ */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 100px); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary { list-style: none; cursor: pointer; padding: 24px 50px 24px 0; font-family: var(--serif); font-size: 1.45rem; line-height: 1.25; position: relative; color: var(--olive-deep); }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-weight: 300; font-size: 1.6rem; color: var(--clay); transition: transform .3s; }
.faq__list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__list .answer { padding: 0 0 26px; color: var(--ink-soft); max-width: 62ch; }
.faq__list .answer p + p { margin-top: 10px; }

/* Contact */
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 90px); align-items: start; }
.contact__info dl { margin-top: 34px; display: grid; gap: 20px; }
.contact__info dt { font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--clay-soft); }
.contact__info dd { font-family: var(--serif); font-size: 1.4rem; }
.contact__info dd a { text-decoration: none; border-bottom: 1px solid rgba(244,237,226,.3); }
.form { background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 6px; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea {
  font: inherit; font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid rgba(43,42,34,.3); padding: 10px 0; border-radius: 0; outline: none; transition: border-color .2s;
}
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--clay) 50%), linear-gradient(135deg, var(--clay) 50%, transparent 50%); background-position: calc(100% - 12px) 50%, calc(100% - 7px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--clay); }
.form textarea { resize: vertical; min-height: 110px; }
.form .btn { justify-self: start; }
.form__note { font-size: .82rem; color: var(--ink-soft); }
.form__status { font-size: .92rem; color: var(--olive); }

/* Footer */
.footer { background: #1f241a; color: rgba(244,237,226,.75); padding: 70px 0 34px; font-size: .9rem; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 50px; border-bottom: 1px solid rgba(244,237,226,.12); }
.footer__brand { font-family: var(--serif); font-size: 2.2rem; letter-spacing: .3em; color: var(--sand); }
.footer__tag { font-family: var(--serif); font-style: italic; font-size: 1.1rem; margin-top: 6px; }
.footer h5 { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--clay-soft); margin-bottom: 12px; font-weight: 500; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--sand); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 26px; font-size: .78rem; letter-spacing: .08em; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s ease, transform 1s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__bg img { animation: none; transform: none; }
  html { scroll-behavior: auto; }
}

/* Terms page */
.page-head { background: var(--olive-deep); color: var(--sand); padding: 170px 0 80px; }
.page-head .eyebrow { color: var(--clay-soft); }
.page-head h1 { font-size: clamp(3rem, 7vw, 5.5rem); }
.terms { padding: 80px 0 120px; }
.terms__layout { display: grid; grid-template-columns: 240px 1fr; gap: 70px; align-items: start; }
.terms__toc { position: sticky; top: 100px; list-style: none; font-size: .86rem; border-left: 1px solid var(--line); }
.terms__toc a { display: block; padding: 6px 0 6px 18px; text-decoration: none; color: var(--ink-soft); }
.terms__toc a:hover { color: var(--clay); }
.terms__body { max-width: 72ch; }
.terms__body > p:first-child { font-size: 1.15rem; color: var(--ink-soft); margin-bottom: 30px; }
.terms__body h2 { font-size: 2rem; margin: 56px 0 16px; color: var(--olive-deep); scroll-margin-top: 100px; }
.terms__body h2 span { color: var(--clay); font-style: italic; margin-right: 8px; }
.terms__body h3 { font-family: var(--sans); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--clay); margin: 26px 0 8px; font-weight: 500; }
.terms__body p { margin: 10px 0; }
.terms__body ul { margin: 10px 0 10px 20px; }
.terms__body li { margin: 6px 0; padding-left: 4px; }
.terms__body li::marker { color: var(--clay); }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .days { grid-template-columns: 1fr 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; inset: 0; background: var(--olive-deep); flex-direction: column; justify-content: center; gap: 26px;
    opacity: 0; pointer-events: none; transition: opacity .35s;
  }
  .nav__links a, .nav.is-solid .nav__links a { color: var(--sand); font-size: 1rem; }
  .nav.is-open .nav__links { opacity: 1; pointer-events: auto; }
  .nav.is-open .nav__logo { color: var(--sand); position: relative; z-index: 2; }
  .nav.is-open .nav__toggle { z-index: 2; }
  .nav.is-open .nav__toggle span { background: var(--sand); }
  .split, .split--wide, .faq__grid, .contact__grid, .routes, .plans, .terms__layout { grid-template-columns: 1fr; }
  .intro__photos { order: -1; }
  .terms__toc { display: none; }
  .host .photo { max-width: 460px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .days, .included__grid, .intro__pillars { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .plan { padding: 38px 26px; }
  .route { padding: 30px 24px; }
  .footer__top { grid-template-columns: 1fr; }
  .location__photos .photo:first-child { margin-top: 40px; }
  .intro__photos .photo:last-child { margin-bottom: 40px; }
}

/* Photo positioning */
.hero__bg img { object-position: 40% 62%; }
img[src*="elephant"] { object-position: 30% 58%; }
img[src*="yoga-nile"] { object-position: 50% 45%; }
img[src*="anna-sofie"] { object-position: 50% 30%; }

/* Photo band */
.band { position: relative; min-height: 78vh; display: grid; place-items: center; text-align: center; color: var(--sand); overflow: hidden; isolation: isolate; padding: 120px 0; }
.band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 78%; z-index: -2; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(30,28,20,.25), rgba(30,28,20,.6)); }
.band__quote { font-family: var(--serif); font-style: italic; font-size: clamp(1.9rem, 4.6vw, 3.6rem); line-height: 1.2; max-width: 22ch; margin: 0 auto 36px; }

/* Mobile hero: yoga above the Nile */
.hero__bg picture { display: contents; }
@media (max-width: 860px) {
  .hero__bg img { object-position: 42% 40%; }
  .hero::after { background: linear-gradient(180deg, rgba(30,28,20,.35) 0%, rgba(30,28,20,0) 30%, rgba(30,28,20,.15) 50%, rgba(30,28,20,.82) 100%); }
}

/* Sticky booking bar (mobile) */
.bookbar { display: none; }
@media (max-width: 860px) {
  .bookbar {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40;
    padding: 10px 10px 10px 20px; border-radius: 100px;
    background: rgba(42,50,32,.96); color: var(--sand); backdrop-filter: blur(8px);
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
    transform: translateY(140%); transition: transform .4s ease;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px) * .5);
  }
  .bookbar.is-visible { transform: none; }
  .bookbar__info { display: grid; line-height: 1.25; }
  .bookbar__info b { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; }
  .bookbar__info span { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; opacity: .75; }
  .bookbar .btn { padding: 13px 26px; }
  .footer { padding-bottom: 110px; }
}

/* Form states */
.form button[disabled] { opacity: .6; cursor: wait; }
.form__status.is-error { color: #a23b2a; }
.form__success { grid-column: 1 / -1; text-align: center; padding: 30px 10px; }
.form__success h3 { color: var(--olive-deep); margin-bottom: 10px; }
.form__success p { color: var(--ink-soft); }
@media (max-width: 860px) {
  .hero__content { padding: 0 0 34px; }
  .hero__sub { display: none; }
  .hero__date { font-size: .7rem; letter-spacing: .22em; margin-bottom: 14px; gap: 6px 12px; }
  .hero h1 { font-size: clamp(3.4rem, 17vw, 5rem); }
  .hero h1 small { font-size: 1.25rem; margin-top: 10px; }
  .hero__ctas { margin-top: 22px; gap: 10px; }
  .hero__ctas .btn { padding: 14px 20px; font-size: .74rem; }
}

/* === Arch motif (from The Ginnery doorway) === */
.photo--tall, .photo--square { border-radius: 999px 999px var(--radius) var(--radius); }
.intro__photos .photo--square { border-radius: 50%; }
.host .photo { border-radius: 999px 999px var(--radius) var(--radius); }
.day { border-top: 0; border-radius: 140px 140px var(--radius) var(--radius); padding-top: 54px; text-align: center; }
.day ul { text-align: left; }
.day__num { display: block; }
.plan { border-radius: 220px 220px var(--radius) var(--radius); padding-top: 70px; text-align: center; }
.plan__price { justify-content: center; }
.plan .btn { align-self: center; }
.plan__tag { left: 50%; transform: translateX(-50%); top: 22px; }
.plan--feature h3 { margin-top: 14px; }
.eyebrow::before { content: ""; width: 14px; height: 8px; background: none; border: 1px solid currentColor; border-bottom: 0; border-radius: 14px 14px 0 0; }
.pricing__head .eyebrow::after { content: ""; width: 14px; height: 8px; background: none; border: 1px solid currentColor; border-bottom: 0; border-radius: 14px 14px 0 0; }

/* === Light contact section === */
#contact.bg-olive { background: var(--sand); color: var(--ink); }
#contact .lead { color: var(--ink-soft); }
#contact .eyebrow { color: var(--clay); }
#contact .contact__info dt { color: var(--clay); }
#contact .contact__info dd a { border-bottom-color: rgba(43,42,34,.25); }
#contact .form { background: var(--paper); box-shadow: 0 20px 50px rgba(63,74,46,.10); border-radius: 160px 160px var(--radius) var(--radius); padding-top: 90px; }
@media (max-width: 600px) { #contact .form { border-radius: 120px 120px var(--radius) var(--radius); padding-top: 80px; } .day { border-radius: 110px 110px var(--radius) var(--radius); } .plan { border-radius: 160px 160px var(--radius) var(--radius); } }

/* ===== Audit fixes ===== */
/* Mobile menu: backdrop-filter on the nav trapped the fixed overlay inside the bar */
.nav.is-open { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; box-shadow: none; }
.nav__toggle { width: 44px; height: 44px; margin-right: -6px; }
.nav__toggle span { left: 10px; right: 10px; }
.nav__toggle span:nth-child(1) { top: 16px; } .nav__toggle span:nth-child(2) { top: 22px; } .nav__toggle span:nth-child(3) { top: 28px; }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
body.menu-open .bookbar { transform: translateY(140%); }

.host__role { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); margin-top: 10px; }
.map-cta p { max-width: 46ch; }

@media (max-width: 860px) {
  /* Hero date: stack instead of dangling dots */
  .hero__date { flex-direction: column; align-items: flex-start; gap: 4px; }
  .hero__date .dot { display: none; }
  .hero__ctas .btn { font-size: .78rem; }

  /* Readable small labels (min ~12px) */
  .eyebrow, .plan__tag, .route__label, .contact__info dt, .footer h5, .day__num, .host__role { font-size: .76rem; }
  .bookbar__info span { font-size: .75rem; letter-spacing: .06em; }
  .footer__bottom { font-size: .8rem; }

  /* Long email address must not push the page wider */
  .contact__info dd { font-size: 1.2rem; overflow-wrap: anywhere; }
}
@media (max-width: 600px) {
  /* Intro numbers: one compact row instead of three tall boxes */
  .intro__pillars { grid-template-columns: repeat(3, 1fr); margin-top: 36px; }
  .pillar { padding: 18px 12px; text-align: center; }
  .pillar b { font-size: 1.5rem; }
  .pillar span { font-size: .68rem; letter-spacing: .08em; display: block; line-height: 1.4; margin-top: 4px; }

  /* Price: amount on its own line, note underneath */
  .plan__price { flex-direction: column; align-items: center; gap: 2px; }
  .plan__price b { font-size: 3.4rem; }
  .plan__price span { font-size: .85rem; }
  .plan p.desc { margin-bottom: 26px; }
}
.contact__grid > *, .split > *, .faq__grid > * { min-width: 0; }
.form input, .form select, .form textarea { width: 100%; min-width: 0; }
.plan__tag { white-space: nowrap; }

/* Mobile hero: giraffe at sunset. Title in the sky, buttons in the grass */
@media (max-width: 860px) {
  .hero { align-items: stretch; }
  .hero__bg img { object-position: 38% 50%; }
  .hero::after { background: linear-gradient(180deg, rgba(40,22,10,.55) 0%, rgba(40,22,10,.18) 38%, rgba(30,20,10,0) 55%, rgba(20,16,10,.35) 85%, rgba(20,16,10,.6) 100%); }
  .hero__content { display: flex; flex-direction: column; min-height: 100svh; padding: 104px 0 34px; }
  .hero__ctas { margin-top: auto; }
}
@media (max-width: 860px) {
  .hero h1 small { color: #f6e6d2; text-shadow: 0 1px 12px rgba(40,20,8,.35); }
  .hero__date, .hero h1 { text-shadow: 0 1px 14px rgba(40,20,8,.3); }
}

/* Mobile hero keywords (desktop keeps the sentence) */
.hero__tags { display: none; }
@media (max-width: 860px) {
  .hero__tags { display: flex; align-items: center; gap: 12px; margin-top: 18px; font-size: .78rem; letter-spacing: .28em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 12px rgba(40,20,8,.35); }
  .hero__tags span { width: 4px; height: 4px; border-radius: 50%; background: var(--clay-soft); }
}

/* Instagram in the mobile menu */
.nav__social { display: none; }
@media (max-width: 860px) {
  .nav__social { display: flex; justify-content: center; width: 220px; margin-top: 22px; padding-top: 30px; border-top: 1px solid rgba(244,237,226,.18); }
  .nav__links .nav__social a { display: flex; flex-direction: column; align-items: center; gap: 12px; text-transform: none; letter-spacing: .06em; font-size: .95rem; color: var(--sand); opacity: 1; }
  .nav__social-icon { width: 60px; height: 60px; border-radius: 50%; border: 1.5px solid var(--clay-soft); color: var(--clay-soft); display: grid; place-items: center; transition: background .25s, color .25s; }
  .nav__social a:hover .nav__social-icon { background: var(--clay-soft); color: var(--olive-deep); }
}
@media (max-width: 860px) {
  .nav__links { padding: 90px 0 40px; overflow-y: auto; justify-content: safe center; }
}
@media (max-width: 860px) and (max-height: 700px) {
  .nav__links { gap: 16px; }
  .nav__social { margin-top: 10px; padding-top: 20px; }
  .nav__social-icon { width: 50px; height: 50px; }
}

/* ===== iPhone Safari: let the page run under the status bar and the floating toolbar ===== */
html { background: #1f241a; }               /* dark at both ends: top over the hero, bottom at the footer */
.hero { min-height: 100vh; min-height: 100lvh; }   /* large viewport: fills the area behind Safari's toolbar */
.nav { padding-top: calc(22px + env(safe-area-inset-top)); }
.nav.is-solid { padding-top: calc(12px + env(safe-area-inset-top)); }
.nav__inner { padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
@media (max-width: 860px) {
  .hero__content { min-height: 100vh; min-height: 100lvh; padding-top: calc(104px + env(safe-area-inset-top)); padding-bottom: calc(34px + env(safe-area-inset-bottom)); }
  .bookbar { bottom: calc(12px + env(safe-area-inset-bottom)); }
  .footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
  .nav__links { padding-top: calc(90px + env(safe-area-inset-top)); padding-bottom: calc(40px + env(safe-area-inset-bottom)); }
}
.page-head { padding-top: calc(170px + env(safe-area-inset-top)); }

/* ===== iOS 26 Safari: bottom bar as a full-width band so Safari extends its colour under the toolbar ===== */
@media (max-width: 860px) {
  .bookbar {
    left: 0; right: 0; bottom: 0;
    border-radius: 22px 22px 0 0;
    background: #2a3220;               /* solid, no transparency: Safari samples this colour */
    backdrop-filter: none; -webkit-backdrop-filter: none;
    box-shadow: 0 -8px 24px rgba(0,0,0,.18);
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom)) 22px;
    transform: translateY(100%);
    visibility: hidden;                /* fully off when hidden, so Safari ignores it on the hero */
    transition: transform .4s ease, visibility 0s linear .4s;
  }
  .bookbar.is-visible { transform: none; visibility: visible; transition: transform .4s ease, visibility 0s; }
  body.menu-open .bookbar { transform: translateY(100%); visibility: hidden; }
  .footer { padding-bottom: calc(40px + env(safe-area-inset-bottom)); }
}

/* ===== Floating booking pill restored (overrides the full-width band) ===== */
@media (max-width: 860px) {
  .bookbar {
    left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
    border-radius: 100px;
    background: rgba(42,50,32,.96);
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
    padding: 10px 10px 10px 20px;
    transform: translateY(30px); opacity: 0;
    visibility: hidden;
    transition: transform .4s ease, opacity .3s ease, visibility 0s linear .4s;
  }
  .bookbar.is-visible { transform: none; opacity: 1; visibility: visible; transition: transform .4s ease, opacity .3s ease, visibility 0s; }
  body.menu-open .bookbar { transform: translateY(30px); opacity: 0; visibility: hidden; }
  .footer { padding-bottom: calc(40px + env(safe-area-inset-bottom)); }
}
/* iPhone/iPad Safari only: float above Safari's bottom toolbar instead of sitting at the edge */
@supports (-webkit-touch-callout: none) {
  @media (max-width: 860px) {
    .bookbar { bottom: calc(12px + env(safe-area-inset-bottom)); }
  }
}

/* ===== iOS 26 Safari, top edge: no pinned header over the hero, so Safari shows the photo under the status bar ===== */
.nav { position: absolute; }
.nav.is-solid { position: fixed; }

/* ===== iPhone Safari: hero reaches under the floating toolbar; dark page edge for the status bar ===== */
body { background: #1f241a; }
main { background: var(--paper); }
@media (max-width: 860px) {
  .hero { min-height: calc(100lvh + 120px); background: #16120c; }
  .hero__bg { bottom: 120px; }                       /* photo keeps its framing */
  .hero__bg::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px;
    background: linear-gradient(180deg, rgba(22,18,12,0), #16120c); }   /* fades into the dark extension */
  .hero__content { min-height: calc(100lvh + 120px); padding-bottom: calc(154px + env(safe-area-inset-bottom)); }
}
.hero__bg { overflow: hidden; }

/* Safari tints the status bar from the body colour: dark over the hero, light once scrolled */
body { background: var(--paper); }
body.at-top { background: #1f241a; }

/* Status bar over the mobile hero: same colour as the top edge of the photo, with a soft blend */
@media (max-width: 860px) {
  body.at-top { background: #5e4833; }
  .hero__bg::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 70px; z-index: 1;
    background: linear-gradient(180deg, #5e4833, rgba(94,72,51,0)); }
}

/* ===== Final audit fixes ===== */
/* 1. Terracotta italics on dark sections were hard to read (2.4:1) */
.bg-olive em, .plan--feature em { color: var(--clay-soft); }

/* 2. No text below ~12px */
.eyebrow, .route__label, .contact__info dt, .footer h5, .form label, .plan__tag, .plan__room, .day__num { font-size: .8rem; }
.not-included h4 { font-size: .8rem; }
@media (max-width: 860px) {
  .hero__date { font-size: .78rem; }
}
@media (max-width: 600px) {
  .pillar span { font-size: .75rem; letter-spacing: .04em; }
}

/* 3. Tablet: single-column photos were huge */
@media (min-width: 601px) and (max-width: 860px) {
  .split > .photo, .intro__photos, .location__photos { max-width: 520px; width: 100%; margin-inline: auto; }
  .plans { max-width: 520px; margin-inline: auto; }
  #contact .form { max-width: 560px; }
}

/* 4. Terms: one scroll offset, not two stacked */
.terms__body h2 { scroll-margin-top: 0; }

/* 5. Hero text keeps contrast on bright parts of the photo (desktop too) */
.hero__date, .hero h1, .hero__sub { text-shadow: 0 1px 14px rgba(30,20,10,.35); }
#contact em { color: var(--clay); }

/* Top bar once scrolled: fully opaque so Safari takes its colour for the status-bar area */
.nav.is-solid { background: var(--paper); backdrop-filter: none; -webkit-backdrop-filter: none; }

/* ===== iOS 26 Safari tinting fix =====
   Safari tints its bars from the background-color of fixed elements touching the screen edges,
   even invisible ones (opacity 0). It ignores ::before/::after and elements with display:none. */
@media (max-width: 860px) {
  /* 1. Closed mobile menu is removed completely (it was an invisible full-screen olive layer) */
  .nav__links { display: none; }
  .nav.is-open .nav__links { display: flex; animation: menuIn .3s ease; }
  @keyframes menuIn { from { opacity: 0; } to { opacity: 1; } }

  /* 2. Booking bar: the fixed element itself is transparent; the pill is drawn by ::before */
  .bookbar, .bookbar.is-visible {
    background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none;
    isolation: isolate; opacity: 1; visibility: visible; transform: none; transition: none;
  }
  .bookbar::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 100px;
    background: rgba(42,50,32,.96); box-shadow: 0 10px 30px rgba(0,0,0,.25); }
  .bookbar { display: none; }
  .bookbar.is-visible { display: flex; animation: barIn .4s ease; }
  body.menu-open .bookbar { display: none; }
  @keyframes barIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
}

/* iOS 26 Safari only samples fixed elements at least 80% of the screen wide: keep the bar narrower */
@media (max-width: 860px) {
  .bookbar { left: 50%; right: auto; width: 76vw; max-width: 340px; margin-left: calc(min(76vw, 340px) / -2); gap: 10px; padding: 8px 8px 8px 18px; }
  .bookbar__info b { font-size: 1.2rem; }
  .bookbar__info span { font-size: .72rem; letter-spacing: .04em; white-space: nowrap; }
  .bookbar .btn { padding: 12px 20px; }
}

/* iPhone Safari takes the status-bar colour from a fixed element at the top edge.
   Over the hero: this thin sunset-coloured strip (hidden under the clock). Once scrolled: the beige header. */
.status-tint { display: none; }
@media (max-width: 860px) {
  body.at-top .status-tint { display: block; position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 40; background: #5e4833; pointer-events: none; }
  body.menu-open .status-tint { display: none; }
}

/* Hero kicker: "An exclusive wellness safari retreat" above the dates */
.hero__kicker { font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 2.2vw, 1.6rem); color: #f6e6d2; margin-bottom: 14px; text-shadow: 0 1px 14px rgba(30,20,10,.35); }
@media (max-width: 860px) { .hero__kicker { font-size: 1.3rem; margin-bottom: 12px; } }
@media (max-width: 360px) {
  .hero__kicker { font-size: 1.12rem; }
  .hero__date { letter-spacing: .14em; font-size: .72rem; }
}

/* Intro: single arched photo */
.intro__photos--single { display: block; }
.intro__photos--single .photo { max-width: 460px; margin-left: auto; margin-bottom: 0 !important; }
.intro__photos--single img { object-position: 50% 55%; }

/* Included: elephant arch with the Nile boat circle overlapping */
.included__photos { position: relative; padding-bottom: 60px; }
.included__boat { position: absolute; width: 46%; left: -8%; bottom: 0; border: 6px solid var(--olive-deep); border-radius: 50% !important; }

/* FAQ: photo under the intro text */
.faq__photo { margin-top: 40px; max-width: 340px; }
.faq__photo img { object-position: 50% 40%; }

@media (max-width: 860px) {
  .intro__photos--single .photo { margin: 0 auto; max-width: 420px; }
  .included__boat { left: auto; right: -4px; width: 42%; }
  .faq__photo { max-width: 300px; margin: 32px auto 8px; }
}
.included__photos { padding-bottom: 0; }

/* Elephant photo in "What's included": plain rectangle, no arch */
.included__photos .photo { border-radius: var(--radius) !important; }

/* Kicker now sits under ROOTED */
.hero__kicker { margin: 14px 0 38px; font-size: clamp(1.4rem, 2.6vw, 2rem); }
@media (max-width: 860px) {
  .hero__kicker { margin: 8px 0 0; font-size: 1.35rem; }
  .hero__tags { margin-top: 14px; }
}
@media (max-width: 360px) { .hero__kicker { font-size: 1.15rem; } }

/* Zaabu Journeys logo at the very bottom */
.footer__logo { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 44px 0 30px; text-decoration: none; border-bottom: 1px solid rgba(244,237,226,.12); }
.footer__logo span { font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; color: rgba(244,237,226,.55); }
.footer__logo img { width: min(300px, 70vw); height: auto; opacity: .95; transition: opacity .25s; }
.footer__logo:hover img { opacity: 1; }
.footer__top { border-bottom: 0; }

/* Back to top */
.to-top { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 6px auto 30px; background: none; border: 0; cursor: pointer;
  font: inherit; font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; color: rgba(244,237,226,.75); }
.to-top__icon { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(244,237,226,.35); display: grid; place-items: center; color: var(--sand);
  transition: background .25s, border-color .25s, transform .25s; }
.to-top:hover .to-top__icon, .to-top:focus-visible .to-top__icon { background: var(--clay); border-color: var(--clay); transform: translateY(-3px); }
.to-top:hover { color: var(--sand); }
.footer__logo { border-bottom: 0; padding-bottom: 18px; }
.footer__bottom { border-top: 1px solid rgba(244,237,226,.12); }
.to-top:focus { outline: none; }
.to-top:focus-visible .to-top__icon { outline: 2px solid var(--clay-soft); outline-offset: 3px; }
.to-top:not(:hover):not(:focus-visible) .to-top__icon { background: none; border-color: rgba(244,237,226,.35); transform: none; }
.form__honey { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
