/* ============================================================
   TSAVO — Destination page
   Builds on colors_and_type.css + amboseli.css
   Adds: ochre-red palette, art-directed placeholder system,
   and the signature Tsavo East vs West comparison table.
   ============================================================ */

/* ── OCHRE PALETTE (scoped to the Tsavo page) ───────────────
   Tsavo's defining colour is the red laterite soil. We let the
   ochre/sienna family carry the imagery while keeping the brand
   greens + gold for type, rules and chrome.                     */
:root {
  --tsavo-laterite:  #A6502B;   /* red-dusted elephant */
  --tsavo-ochre:     #B97232;   /* dry laterite plains */
  --tsavo-sienna:    #8A4423;   /* shadow / burnt earth */
  --tsavo-earth:     #5C3019;   /* deep earth */
  --tsavo-dusk:      #7A2E1C;   /* sunset red */
  --tsavo-dust:      #D8B488;   /* pale ochre highlight */
  --emphasis-light:  var(--mara-green);
}

/* ════════ PLACEHOLDER SYSTEM ════════ */
/* Full-bleed "scene" placeholders (hero, dividers, bands) */
.ph-scene {
  background:
    repeating-linear-gradient(47deg, rgba(255,242,222,0.045) 0 24px, rgba(120,60,30,0) 24px 48px),
    radial-gradient(125% 120% at 28% 12%, var(--tsavo-ochre) 0%, var(--tsavo-laterite) 36%, var(--tsavo-sienna) 64%, var(--tsavo-earth) 100%);
}
.ph-scene.v-dusk {
  background:
    repeating-linear-gradient(-47deg, rgba(255,242,222,0.04) 0 26px, rgba(120,60,30,0) 26px 52px),
    radial-gradient(140% 130% at 70% 0%, #C77A3A 0%, var(--tsavo-dusk) 42%, #4A1E12 100%);
}
.ph-scene.v-plain {
  background:
    repeating-linear-gradient(60deg, rgba(255,242,222,0.05) 0 30px, rgba(120,60,30,0) 30px 60px),
    radial-gradient(120% 120% at 50% 95%, var(--tsavo-ochre) 0%, var(--tsavo-sienna) 55%, var(--tsavo-earth) 100%);
}

/* Caption note on full-bleed scenes — communicates the intended shot */
.ph-note {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 9px;
  font-family: ui-monospace, 'SF Mono', monospace; font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(245,236,222,0.72); line-height: 1.5; max-width: 60%;
}
.ph-note::before { content: '◇'; color: var(--savannah-gold); font-size: 11px; }
.ph-note.tl { left: 48px; top: 132px; }
.ph-note.bl { left: 48px; bottom: 40px; }

/* Box placeholders (tour / lodge / gallery cards) — ochre fill */
.ph-fill { background: var(--tsavo-sienna); }
.ph-fill::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255,242,222,0.05) 0 14px, rgba(255,242,222,0.09) 14px 28px); }
.ph-fill::after { content: ''; position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 8%, rgba(201,118,52,0.55), transparent 72%); }
.ph-fill .ph-mark {
  position: absolute; left: 18px; top: 16px; z-index: 1; max-width: 74%;
  font-family: ui-monospace, 'SF Mono', monospace; font-size: 10px; letter-spacing: 0.05em;
  text-transform: uppercase; color: rgba(232,212,180,0.82); line-height: 1.5;
}
.ph-fill .ph-mark::before { content: '◇ '; color: var(--savannah-gold); }

/* ════════ BAND BACKGROUND OVERRIDES ════════ */
/* Hero — ochre placeholder + lighter 35% Forest Night overlay */
.hero { background: var(--tsavo-earth); }
.hero-img { background: none; }
.hero-scrim {
  background: linear-gradient(to top,
    rgba(20,30,16,0.74) 0%, rgba(20,30,16,0.30) 34%, rgba(26,18,10,0.12) 60%, rgba(26,18,10,0.34) 100%);
}

/* Get to know — full bleed band */
.know { background: var(--tsavo-earth); }
.know-bg { background: none; }
.know-scrim { background: linear-gradient(100deg, rgba(20,30,16,0.34) 0%, rgba(26,18,10,0.50) 44%, rgba(20,30,16,0.86) 100%); }

/* Closing — 35% overlay */
.closing-bg { background: none; }
.closing-scrim { background: linear-gradient(105deg, rgba(20,30,16,0.86) 0%, rgba(26,18,10,0.58) 46%, rgba(40,20,10,0.30) 100%); }

/* Image dividers */
.idiv-bg { background: none !important; }
.img-divider .idiv-scrim { background: linear-gradient(to right, rgba(26,18,10,0.62), rgba(26,18,10,0.30) 50%, rgba(26,18,10,0.62)); }

/* Why figure + wild feature + calx hero */
.why-figure .wf-img { background: none; }
.wild-feature { background: var(--tsavo-earth); }
.wild-feature .wf-bg { background: none; }
.wild-feature .wf-scrim { background: linear-gradient(95deg, rgba(20,14,8,0.96) 0%, rgba(20,14,8,0.9) 28%, rgba(20,14,8,0.58) 50%, rgba(20,14,8,0.12) 72%, rgba(20,14,8,0) 100%); }
.calx-hero { background: none; }

/* ════════ TSAVO EAST vs WEST — comparison table ════════ */
.twp-wrap { margin-top: 44px; border: 1px solid var(--rule-default); border-radius: 12px; overflow: hidden; box-shadow: 0 26px 60px -42px rgba(40,20,10,0.4); }
.twp { width: 100%; border-collapse: collapse; }
.twp thead th { text-align: left; vertical-align: bottom; padding: 26px 30px; }
.twp thead th.east { background: var(--forest-night); }
.twp thead th.west { background: var(--mara-green); }
.twp .twp-tag { display: block; font-family: var(--font-body); font-variation-settings: 'wght' 600; font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.22em; color: var(--savannah-gold); }
.twp thead h4 { font-family: var(--font-display); font-weight: 400; font-size: 1.55rem; line-height: 1.1; color: #F7F2E8; margin-top: 9px; letter-spacing: -0.01em; }
.twp .twp-area { display: block; font-family: var(--font-body); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--dust-season); margin-top: 8px; font-variation-settings: 'wght' 500; }
.twp td { width: 50%; padding: 19px 30px; vertical-align: top; border-top: 1px solid var(--rule-default); font-family: var(--font-body); font-size: 0.97rem; line-height: 1.5; color: #34281c; font-variation-settings: 'wght' 380; }
.twp td.east { border-right: 1px solid var(--rule-default); }
/* column-distinct alternating fills */
.twp tbody tr:nth-child(odd)  td.east { background: rgba(26,60,46,0.05); }
.twp tbody tr:nth-child(even) td.east { background: rgba(26,60,46,0.085); }
.twp tbody tr:nth-child(odd)  td.west { background: rgba(46,92,64,0.06); }
.twp tbody tr:nth-child(even) td.west { background: rgba(46,92,64,0.10); }
.twp td strong { font-variation-settings: 'wght' 640; color: var(--forest-night); }
.twp-foot { display: flex; gap: 13px; align-items: flex-start; margin-top: 22px; }
.twp-foot .mk { flex-shrink: 0; color: var(--savannah-gold-dark); font-family: ui-monospace, monospace; font-size: 12px; line-height: 1.6; }
.twp-foot p { font-family: var(--font-body); font-size: 0.95rem; line-height: 1.62; color: var(--kopje-stone); font-variation-settings: 'wght' 360; max-width: 92ch; }
@media (max-width: 760px) {
  .twp, .twp tbody, .twp tr, .twp td, .twp thead, .twp thead tr, .twp th { display: block; width: 100%; }
  .twp thead th.west { border-top: 1px solid rgba(212,196,160,0.2); }
  .twp td.east { border-right: none; }
  .twp tbody tr { display: grid; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .twp tbody tr { grid-template-columns: 1fr; }
  .twp td.east { border-right: none; border-bottom: 1px solid var(--savannah-gold); }
}

/* ════════ FACTOID — the man-eaters of Tsavo (signature plate) ════════ */
.factoid {
  margin-top: 46px; position: relative; overflow: hidden; border-radius: 14px;
  background: linear-gradient(118deg, #11201700 0%, #11201700 0%), linear-gradient(118deg, #122017 0%, #1A3C2E 40%, #3a2314 100%);
  box-shadow: 0 32px 72px -46px rgba(20,14,8,0.72);
}
.factoid::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--savannah-gold); }
.factoid::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 140% at 92% 8%, rgba(122,46,28,0.35), transparent 60%); }
.factoid-inner { position: relative; z-index: 1; padding: 42px 50px 46px; }
.factoid-mark { display: inline-flex; align-items: center; gap: 8px; font-family: ui-monospace, monospace; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--savannah-gold); }
.factoid-grid { display: grid; grid-template-columns: 0.82fr 1.4fr; gap: 50px; margin-top: 24px; align-items: start; }
.factoid-lead { position: relative; }
.factoid-kicker { font-family: var(--font-body); font-variation-settings: 'wght' 600; font-size: 10px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--dust-season); }
.factoid-lead h4 { font-family: var(--font-display); font-weight: 400; font-style: italic; font-size: clamp(1.85rem, 3vw, 2.6rem); line-height: 1.06; color: #F7F2E8; margin-top: 13px; letter-spacing: -0.01em; }
.factoid-lead .factoid-sub { font-family: var(--font-body); font-size: 0.84rem; line-height: 1.5; color: rgba(245,240,232,0.6); margin-top: 16px; font-variation-settings: 'wght' 400; max-width: 28ch; }
.factoid-body { border-left: 1px solid rgba(212,196,160,0.22); padding-left: 50px; }
.factoid-body p { font-family: var(--font-body); font-size: 1.02rem; line-height: 1.74; color: rgba(245,240,232,0.86); font-variation-settings: 'wght' 360; max-width: none; }
.factoid-body em { color: var(--dust-season); font-style: italic; }
.factoid-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 28px; padding-top: 26px; border-top: 1px solid rgba(212,196,160,0.22); }
.factoid-stats .fn { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.95rem; line-height: 1; color: var(--savannah-gold); letter-spacing: -0.01em; }
.factoid-stats .fl { display: block; font-family: var(--font-body); font-size: 0.74rem; line-height: 1.45; text-transform: uppercase; letter-spacing: 0.1em; color: var(--dust-season); margin-top: 9px; font-variation-settings: 'wght' 500; }
@media (max-width: 860px) {
  .factoid-grid { grid-template-columns: 1fr; gap: 26px; }
  .factoid-inner { padding: 34px 30px 36px; }
  .factoid-body { border-left: none; padding-left: 0; border-top: 1px solid rgba(212,196,160,0.2); padding-top: 24px; }
  .factoid-stats { gap: 18px; }
}
@media (max-width: 520px) { .factoid-stats { grid-template-columns: 1fr; gap: 16px; } }

/* ════════ Stay carousel — rounded, bottom-aligned cards ════════ */
.stay-rail-shell { position: relative; }
.stay-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 400px; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.stay-rail::-webkit-scrollbar { display: none; }
.stay-rail .stay-card { border-radius: 20px; min-height: 520px; scroll-snap-align: start; }
.stay-rail .bg, .stay-rail .sscrim { border-radius: 20px; }
.stay-rail .sc-top { position: absolute; z-index: 2; top: 26px; left: 26px; display: flex; align-items: center; gap: 7px; font-family: var(--font-body); font-variation-settings: 'wght' 600; font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.2em; color: #F7F2E8; }
.stay-rail .sc-top svg { width: 13px; height: 13px; fill: none; stroke: var(--savannah-gold); stroke-width: 1.6; flex-shrink: 0; }
.stay-rail .sc-bottom { position: absolute; z-index: 2; left: 26px; right: 84px; bottom: 26px; }
.stay-rail .sc-name { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; line-height: 1.15; color: #F7F2E8; letter-spacing: -0.01em; }
.stay-rail .sc-tag { font-family: var(--font-body); font-size: 0.82rem; line-height: 1.45; color: rgba(245,240,232,0.84); margin-top: 8px; font-variation-settings: 'wght' 380; }
.stay-rail .sc-arrow {
  position: absolute; z-index: 2; right: 26px; bottom: 26px; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(247,242,232,0.5); color: #F7F2E8; display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem; text-decoration: none;
  transition: background 150ms var(--ease-editorial), border-color 150ms var(--ease-editorial), color 150ms var(--ease-editorial);
}
.stay-rail .sc-arrow:hover { background: var(--savannah-gold); border-color: var(--savannah-gold); color: var(--gold-on); }
.stay-dots { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 28px; }
.stay-dots .dot { width: 8px; height: 8px; padding: 0; border-radius: 50%; border: none; background: rgba(26,60,46,0.18); cursor: pointer; transition: all 220ms var(--ease-editorial); }
.stay-dots .dot.active { width: 22px; border-radius: 4px; background: var(--savannah-gold); }
@media (max-width: 640px) { .stay-rail { grid-auto-columns: 86vw; } .rail-btn { display: none; } }

/* ════════ TUNED GRIDS for Tsavo (3 lodges · 4 related) ════════ */
.stay-grid.tri { grid-template-columns: repeat(3, 1fr); }
.stay-grid.tri .stay-card { min-height: 540px; }
@media (max-width: 980px) { .stay-grid.tri { grid-template-columns: 1fr; } }

.stay-grid.quad { grid-template-columns: repeat(4, 1fr); }
.stay-grid.quad .stay-card { min-height: 500px; }
@media (max-width: 1080px) { .stay-grid.quad { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .stay-grid.quad { grid-template-columns: 1fr; } }

.rel-grid.quad { grid-template-columns: repeat(4, 1fr); }
.rel-grid.quad .rel-card { min-height: 400px; }
#nextRail.rel-grid.quad { display: grid; grid-auto-flow: column; grid-auto-columns: 360px; grid-template-columns: unset; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
#nextRail.rel-grid.quad::-webkit-scrollbar { display: none; }
#nextRail .rel-card { border-radius: 20px; min-height: 460px; scroll-snap-align: start; }
#nextRail .bg, #nextRail .rscrim { border-radius: 20px; }
@media (max-width: 1080px) { .rel-grid.quad { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { #nextRail.rel-grid.quad { grid-auto-columns: 86vw; } }
@media (max-width: 600px)  { .rel-grid.quad { grid-template-columns: 1fr; } }

/* Related-card real imagery already in the project */
.g-amboseli { background-image: url('assets/hero-amboseli.webp'); }
.g-coast    { background-image: url('assets/dest-lamu.webp'); }

/* ════════ GALLERY LIGHTBOX — placeholder slides ════════ */
.lb-img.lb-ph { background: var(--tsavo-sienna); }
.lb-img.lb-ph::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255,242,222,0.05) 0 16px, rgba(255,242,222,0.09) 16px 32px); }
.lb-img.lb-ph::after { content: ''; position: absolute; inset: 0; background: radial-gradient(110% 90% at 50% 6%, rgba(201,118,52,0.5), transparent 72%); }
.lb-ph-label {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 40px;
}
.lb-ph-label .lpl-mk { font-family: ui-monospace, monospace; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--savannah-gold); }
.lb-ph-label .lpl-tt { font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: clamp(1.4rem, 3vw, 2.2rem); color: rgba(245,236,222,0.92); max-width: 22ch; line-height: 1.2; }

/* ════════ MOSAIC accordion — ochre placeholder panels ════════ */
.acc-bg.ph-acc { background: var(--tsavo-sienna); }
.acc-bg.ph-acc::after { content: ''; position: absolute; inset: 0; background: radial-gradient(120% 100% at 50% 5%, rgba(201,118,52,0.5), transparent 70%), repeating-linear-gradient(135deg, rgba(255,242,222,0.04) 0 16px, rgba(255,242,222,0.08) 16px 32px); }
.acc-panel:nth-child(2) .acc-bg.ph-acc { background: var(--tsavo-laterite); }
.acc-panel:nth-child(3) .acc-bg.ph-acc { background: var(--tsavo-earth); }
.acc-panel:nth-child(4) .acc-bg.ph-acc { background: var(--tsavo-dusk); }
.acc-panel:nth-child(5) .acc-bg.ph-acc { background: var(--tsavo-ochre); }

/* small monospace ph note inside mosaic panels (visible when collapsed) */
.acc-phnote { position: absolute; left: 14px; top: 14px; z-index: 2; font-family: ui-monospace, monospace; font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(232,212,180,0.7); }

/* ════════ FACTS — gold accent already; nudge fval colour warmth ════════ */
.fact .ico { color: var(--savannah-gold); }

/* ════════ HERO eyebrow / dust emphasis already cream — keep ════════ */
.hero h1 em { color: var(--tsavo-dust); }
