/* =====================================================================
   Wild Aranya: shared site stylesheet (Dark to Light theme)
   Source of truth: landing-preview/v3.html. Every page links this file.
   Section numbers refer to the Landing Page Content Design Document.
   ===================================================================== */

/* ============ Tokens: Dark to Light (design doc section 2, 3, 6) ============ */
:root{
  --night:#0E2414; --deep:#1B3D22; --under:#2F5D34; --moss:#6F9460; --mist:#B9CDB0;
  --cream:#FBF8EC; --parch:#F1ECD9;
  --orange:#E8850C; --amber:#A85400; --yellow:#F4B41A; --fern:#8FBF5A;
  --serif:"Fraunces", Georgia, serif;
  --sans:"Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease:cubic-bezier(.22,.61,.36,1);
  --quick:200ms; --std:400ms; --slow:700ms;
  --gutter:20px;
  --section-y:clamp(72px, 51.4px + 5.71vw, 120px);
  --fs-hero:clamp(40px, 26.3px + 3.81vw, 56px);   /* founder 3 Nov 2026: 72 was too big; phones unchanged */
  --fs-h2:clamp(30px, 24px + 1.667vw, 44px);
  --fs-card:clamp(26px, 23.4px + .714vw, 32px);
  --fs-lead:clamp(18px, 17.1px + .238vw, 20px);
  --fs-body:clamp(16px, 15.6px + .119vw, 17px);
  --fs-join:clamp(24px, 20.6px + .952vw, 26px);
  --grain:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .32 0 0 0 0 .2 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (min-width:768px){ :root{ --gutter:48px; } }

/* Zones: every colour role below reads from these, so a section only declares its zone */
.zone-dark{
  --ink:var(--cream); --ink-2:var(--mist); --eyebrow-c:var(--yellow); --em-c:var(--yellow);
  --arrow-c:var(--yellow); --focus:var(--yellow); --zone-bg:var(--night);
  --shade:0 18px 40px -12px rgba(14,36,20,.9);
  --shade-deep:0 26px 56px -14px rgba(0,0,0,.75);
  color:var(--ink);
}
.zone-light{
  --ink:var(--deep); --ink-2:var(--under); --eyebrow-c:var(--amber); --em-c:var(--amber);
  --arrow-c:var(--amber); --focus:var(--deep); --zone-bg:var(--cream);
  --shade:0 18px 40px -18px rgba(27,61,34,.35), 0 4px 12px -6px rgba(27,61,34,.12);
  color:var(--ink);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; }
body{
  margin:0; background:var(--night); color:var(--cream);
  font-family:var(--sans); font-size:var(--fs-body); line-height:1.65;
  -webkit-font-smoothing:antialiased; overflow-x:hidden;
}
img{ display:block; max-width:100%; }
[hidden]{ display:none !important; }
a{ color:inherit; }
button{ font:inherit; color:inherit; }
:focus-visible{ outline:2px solid var(--focus, var(--yellow)); outline-offset:3px; border-radius:6px; }

.wrap{ width:100%; max-width:calc(1200px + 2 * var(--gutter)); margin:0 auto; padding:0 var(--gutter); }
.section{ position:relative; padding:var(--section-y) 0; }

/* Paper grain: light zone only, ~5% */
.grain::before{
  content:""; position:absolute; inset:0; pointer-events:none; z-index:0; opacity:.07; mix-blend-mode:multiply;
  background-image:var(--grain);
}

/* ============ Type ============ */
.eyebrow{
  font:600 12px/1.3 var(--sans); letter-spacing:.14em; text-transform:uppercase;
  color:var(--eyebrow-c); margin:0 0 16px;
}
@media (min-width:1100px){ .eyebrow{ font-size:13px; } }
h1,h2,h3{ font-family:var(--serif); font-weight:500; margin:0; font-optical-sizing:auto; }
h2{ font-size:var(--fs-h2); line-height:1.15; letter-spacing:-.01em; color:var(--ink); }
h2 em{ font-style:italic; color:var(--em-c); }
.lead{ font-size:var(--fs-lead); line-height:1.6; color:var(--ink-2); margin:16px 0 0; max-width:34em; }
.small{ font-size:14px; color:var(--ink-2); }

/* ============ Buttons (section 4.1): outline and quiet follow the zone ============ */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  min-height:48px; padding:0 28px; border-radius:999px; border:0; cursor:pointer;
  font:600 16px/1 var(--sans); letter-spacing:.02em; text-decoration:none;
  transition:transform var(--quick) var(--ease), box-shadow var(--quick) var(--ease),
             background-color var(--quick) var(--ease), color var(--quick) var(--ease),
             background-position var(--std) var(--ease), filter var(--quick) var(--ease);
}
.btn-primary{
  color:var(--night);
  background:linear-gradient(90deg, var(--yellow) 0 50%, var(--orange) 50% 100%);
  background-size:201% 100%; background-position:100% 0;
}
.btn-outline{ background:transparent; color:var(--ink); box-shadow:inset 0 0 0 1.5px var(--ink); }
.btn:active{ transform:none; filter:brightness(.92); }
.btn[disabled]{ opacity:.4; pointer-events:none; }
@media (hover:hover){
  .btn-primary:hover{ background-position:0 0; transform:translateY(-2px); box-shadow:0 10px 28px -8px rgba(232,133,12,.6); }
  .btn-outline:hover{ background:var(--ink); color:var(--zone-bg); }
}

.quiet{
  display:inline-flex; align-items:center; gap:10px; min-height:48px;
  font:600 16px/1 var(--sans); letter-spacing:.02em; text-decoration:none; color:var(--ink);
  background:none; border:0; padding:0; cursor:pointer;
}
.quiet .q-label{
  background:linear-gradient(var(--orange),var(--orange)) no-repeat 0 100% / 0 1.5px;
  padding-bottom:4px; transition:background-size var(--quick) var(--ease);
}
.quiet .leaf-arrow{ width:22px; height:14px; transition:transform var(--quick) var(--ease); color:var(--arrow-c); }
@media (hover:hover){
  .quiet:hover .q-label{ background-size:100% 1.5px; }
  .quiet:hover .leaf-arrow{ transform:translateX(4px); }
}

.text-link{ color:var(--ink); text-decoration:underline; text-decoration-color:var(--moss); text-decoration-thickness:1px; text-underline-offset:4px; transition:text-decoration-color var(--quick), text-decoration-thickness var(--quick); }
.text-link:hover{ text-decoration-color:var(--orange); text-decoration-thickness:2px; }

/* ============ Header (5.1): transparent, then dark, then cream at First light ============ */
.site-header{
  --focus:var(--yellow);
  position:fixed; inset:0 0 auto 0; z-index:50; height:56px; color:var(--cream);
  border-bottom:1px solid transparent;
  transition:height var(--std) var(--ease), background-color var(--std) var(--ease), color var(--std) var(--ease),
             border-color var(--std) var(--ease), backdrop-filter var(--std) var(--ease);
  padding-top:env(safe-area-inset-top);
}
@media (min-width:768px){ .site-header{ height:88px; } }
.site-header.solid{
  background:rgba(14,36,20,.92); border-bottom-color:rgba(111,148,96,.45);
  -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px);
}
.site-header.solid.light{ --focus:var(--deep); background:rgba(251,248,236,.92); color:var(--deep); border-bottom-color:rgba(111,148,96,.55); }
@media (min-width:768px){ .site-header.solid{ height:64px; } }
.site-header .wrap{ height:100%; display:flex; align-items:center; justify-content:space-between; }
.brand{ display:flex; align-items:center; gap:12px; text-decoration:none; }
.brand img{
  width:40px; height:40px; border-radius:50%;
  box-shadow:0 0 0 1.5px rgba(251,248,236,.55); transition:width var(--std) var(--ease), height var(--std) var(--ease), box-shadow var(--std) var(--ease);
}
.light .brand img, .mobile-menu.light .brand img{ box-shadow:0 0 0 1.5px rgba(27,61,34,.35); }
@media (min-width:768px){ .brand img{ width:52px; height:52px; } .solid .brand img{ width:40px; height:40px; } }
.wordmark{ font:500 24px/1 var(--serif); letter-spacing:-.005em; white-space:nowrap; }
.wordmark .leafy{ position:relative; display:inline-block; }
.wordmark .leafy svg{ position:absolute; left:52%; top:-.42em; width:.5em; height:.42em; color:var(--fern); transform:rotate(-12deg); transition:color var(--std); }
.light .wordmark .leafy svg{ color:var(--moss); }
.brand .wordmark{ display:none; }
@media (min-width:768px){ .brand .wordmark{ display:inline; } }
/* header brand: the wordmark with "Explore wilderness" set just beneath it, like the tagline under the logo */
.brand-text{ display:flex; flex-direction:column; align-items:flex-start; gap:6px; }
.site-header .brand .wordmark{ display:inline; font-size:20px; }
@media (min-width:768px){ .site-header .brand .wordmark{ font-size:24px; } }
.brand-tag{
  font:600 10px/1 var(--sans); letter-spacing:.16em; text-transform:uppercase; white-space:nowrap;
  color:var(--yellow); padding-left:1px; transition:color var(--std) var(--ease);
}
@media (min-width:768px){ .brand-tag{ font-size:11px; } }
.light .brand-tag{ color:var(--amber); } /* yellow can't be read on cream */

.nav{ display:none; gap:36px; }
.nav a{
  position:relative; text-decoration:none; font-weight:600; font-size:16px; letter-spacing:.02em; padding:12px 2px;
}
.nav a svg{
  position:absolute; left:50%; top:-4px; width:14px; height:10px; color:var(--yellow);
  transform:translate(-50%,4px) rotate(-18deg); opacity:0; transition:opacity var(--quick) var(--ease), transform var(--quick) var(--ease);
}
.light .nav a svg{ color:var(--orange); }
.nav a:hover svg, .nav a:focus-visible svg{ opacity:1; transform:translate(-50%,0) rotate(-18deg); }
.menu-btn{
  width:48px; height:48px; display:grid; place-items:center; background:none; border:0; cursor:pointer; margin-right:-12px;
}
.menu-btn span{ display:block; width:24px; height:1.5px; background:currentColor; position:relative; }
.menu-btn span::before,.menu-btn span::after{ content:""; position:absolute; left:0; width:24px; height:1.5px; background:currentColor; }
.menu-btn span::before{ top:-7px; } .menu-btn span::after{ top:7px; width:16px; }
@media (min-width:1100px){ .nav{ display:flex; } .menu-btn{ display:none; } }

/* Mobile menu: Night Canopy in the dark zone, Cream in the light zone */
.mobile-menu{
  --ink:var(--cream); --focus:var(--yellow);
  position:fixed; inset:0; z-index:60; background:var(--night); color:var(--ink);
  display:flex; flex-direction:column; padding:calc(16px + env(safe-area-inset-top)) var(--gutter) 0;
  opacity:0; visibility:hidden; transition:opacity var(--std) var(--ease), visibility 0s linear var(--std);
}
.mobile-menu.light{ --ink:var(--deep); --focus:var(--deep); background:var(--cream); }
.mobile-menu .fol-light{ display:none; } .mobile-menu.light .fol-light{ display:block; } .mobile-menu.light .fol-dark{ display:none; }
.mobile-menu.open{ opacity:1; visibility:visible; transition:opacity var(--std) var(--ease); }
.mobile-menu .top{ display:flex; justify-content:space-between; align-items:center; }
.close-btn{ width:48px; height:48px; background:none; border:0; cursor:pointer; position:relative; margin-right:-12px; }
.close-btn::before,.close-btn::after{ content:""; position:absolute; left:12px; top:23px; width:24px; height:1.5px; background:var(--ink); transform:rotate(45deg); }
.close-btn::after{ transform:rotate(-45deg); }
.mobile-menu nav{ margin-top:40px; display:flex; flex-direction:column; gap:4px; }
.mobile-menu nav a{
  font:600 22px/1.3 var(--sans); letter-spacing:.02em; text-decoration:none; padding:10px 0;   /* the desktop header's font, larger for tapping */
  opacity:0; transform:translateY(16px); transition:opacity var(--std) var(--ease), transform var(--std) var(--ease);
}
.mobile-menu.open nav a{ opacity:1; transform:none; transition-delay:calc(var(--i) * 60ms + 120ms); }
.mobile-menu .wa-line{ margin-top:32px; color:var(--ink); }
.mobile-menu .foliage{ margin:auto calc(-1 * var(--gutter)) 0; width:auto; height:120px; overflow:hidden; }

/* ============ Hero (5.2, dark zone) ============ */
.hero{ position:relative; min-height:100vh; min-height:100svh; display:flex; align-items:flex-end; overflow:hidden; background:var(--night); }
.hero-media{ position:absolute; inset:-4% 0 0 0; will-change:transform; }
.hero-media img{
  width:100%; height:100%; object-fit:cover; object-position:56% 60%;
  filter:saturate(1.05) contrast(1.04);
}
/* the tiger photo (founder, 3 Nov 2026): laptops and up, fading in and out over the deer every few seconds. It is far
   brighter than the misty deer photo, so it is gently shaded at the edges and the foot, keeping the faces bright */
.hero-slide{ position:absolute; inset:0; opacity:0; transition:opacity 1.5s ease-in-out; }
.hero-slide.on{ opacity:1; }
.hero-media .hero-slide img{ object-position:62% 38%; transform:translateY(3.5%); filter:brightness(.84) saturate(.94) contrast(1.03); }   /* a little lower (founder); the strip this opens sits under the header */
/* lower on phones and short screens (founder, 3 Nov 2026), so the headline and the canopy keep clear of the cub's face;
   the strip this opens at the top sits under the header */
@media (max-width:1099px) and (orientation:portrait){
  .hero-media .hero-slide img{ object-position:50% 0; transform:translateY(8%); }
}
/* phones and short screens (founder, 3 Nov 2026: "washed out" on the iPhone): the tiger photo barely dimmed, and a
   lighter shade at its edges; laptops keep the deeper shading they were approved with */
@media (max-width:1099px) and (orientation:portrait), (orientation:landscape) and (max-height:600px){
  .hero-media .hero-slide img{ filter:brightness(.97) saturate(1.06) contrast(1.06); }
  .hero-slide::after{ background:
    radial-gradient(ellipse 90% 75% at 50% 40%, rgba(14,36,20,0) 55%, rgba(14,36,20,.25) 100%),
    linear-gradient(180deg, rgba(14,36,20,0) 0%, rgba(14,36,20,0) 60%, rgba(14,36,20,.45) 100%); }
}
@media (orientation:landscape) and (max-height:600px){
  /* phones held sideways: the tiger walking down the trail sits just right of the headline, no zoom needed */
  .hero-media .hero-slide img{ object-position:62% 18%; transform:none; }
}
.hero-slide::after{ content:""; position:absolute; inset:0; pointer-events:none;
  background:
    radial-gradient(ellipse 80% 70% at 50% 36%, rgba(14,36,20,0) 45%, rgba(14,36,20,.42) 100%),
    linear-gradient(180deg, rgba(14,36,20,.18) 0%, rgba(14,36,20,0) 26%, rgba(14,36,20,0) 48%, rgba(14,36,20,.5) 100%); }
@media (prefers-reduced-motion:reduce){ .hero-slide{ transition:none; } }
.hero::before{
  content:""; position:absolute; inset:0; z-index:1;
  background:
    /* the photo fades into solid Night Canopy at its foot, the darkest green of the canopy, so it runs straight on into the video section */
    linear-gradient(180deg, rgba(14,36,20,.2) 0%, rgba(14,36,20,0) 22%, rgba(14,36,20,0) 62%, rgba(14,36,20,.45) 82%, rgba(14,36,20,.85) 94%, rgba(14,36,20,1) 100%),
    radial-gradient(ellipse 55% 50% at 18% 72%, rgba(14,36,20,.5) 0%, rgba(14,36,20,0) 100%);
}
.hero-content{ position:relative; z-index:3; width:100%; padding-bottom:calc(80px + 5vh); }
.hero-text{ max-width:640px; }
@media (min-width:768px) and (max-width:1099px){ .hero-text{ max-width:520px; } }
.hero h1{ font-size:var(--fs-hero); line-height:1.05; letter-spacing:-.02em; }
/* a soft shadow keeps the text readable now that the photo is less darkened */
.hero-text{ text-shadow:0 1px 2px rgba(14,36,20,.5), 0 2px 24px rgba(14,36,20,.55); }
.hero-text .btn{ text-shadow:none; }
@media (max-width:767px){ .hero::after{ content:""; position:absolute; inset:40% 0 0 0; z-index:1; background:linear-gradient(180deg, rgba(14,36,20,0), rgba(14,36,20,.45) 55%, rgba(14,36,20,0) 100%); } }
.hero h1 em{ font-style:italic; font-weight:500; color:var(--yellow); }
.hero .join{ font:italic 500 var(--fs-join)/1.2 var(--serif); margin:14px 0 0; }
.hero h1 .nw{ white-space:nowrap; }
.hero .lead{ margin-top:18px; max-width:30em; color:rgba(251,248,236,.85); }
/* tablets and large phones held sideways (founder, 3 Nov 2026): between phones and laptops */
@media (min-width:768px) and (max-width:1099px){ .hero h1{ font-size:46px; } }
/* Desktop welcome (founder, 3 Nov 2026: smaller, and no description under it): one modest line, then the button */
@media (min-width:1100px){
  .hero h1{ font-size:40px; line-height:1.1; letter-spacing:-.015em; white-space:nowrap; }
  .hero-actions{ margin-top:26px; }
}
.hero-actions{ display:flex; gap:10px; margin-top:32px; }
@media (max-width:767px){ .hero-actions{ width:100%; } .hero-actions .btn{ flex:1 1 0; padding:0 12px; } .hero-content{ padding-bottom:84px; } }
/* small phones held sideways: a smaller headline and a normal-width button, so the deer stays in view */
@media (max-width:767px) and (orientation:landscape){
  .hero h1{ font-size:34px; } .hero-actions{ width:auto; margin-top:20px; } .hero-actions .btn{ flex:none; padding:0 22px; } .hero-content{ padding-bottom:36px; }
}
.photo-credit{ position:absolute; z-index:3; right:var(--gutter); bottom:12px; font-size:12px; color:rgba(251,248,236,.65); }
.hero .photo-credit{ bottom:auto; top:50%; right:12px; writing-mode:vertical-rl; transform:rotate(180deg); }
.scroll-hint{
  position:absolute; z-index:4; left:50%; bottom:28px; width:20px; height:20px; margin-left:-10px; color:var(--cream);
  transition:opacity var(--std) var(--ease);
}
.scroll-hint svg{ width:100%; height:100%; animation:leafDrift 2.4s var(--ease) infinite; }
.scroll-hint.gone{ opacity:0; }
@keyframes leafDrift{ 0%{ transform:translateY(-4px) rotate(-20deg); opacity:0 } 25%{ opacity:1 } 100%{ transform:translateY(8px) rotate(10deg); opacity:0 } }

html.js .hero-media{ opacity:0; transform:scale(1.05); }
html.js .loaded .hero-media{ opacity:1; transform:scale(1); transition:opacity 900ms var(--ease), transform 1400ms var(--ease); }
html.js .hero-seq{ opacity:0; transform:translateY(20px); }
html.js .text-in .hero-seq{ opacity:1; transform:none; transition:opacity var(--slow) var(--ease), transform var(--slow) var(--ease); transition-delay:calc(150ms + var(--i) * 120ms); }   /* 2 Nov 2026: no longer waits for the photo (was .loaded, +500 ms) */

/* ============ Foliage dividers (4.3) ============ */
.foliage{ position:relative; display:block; width:100%; height:110px; pointer-events:none; overflow:hidden; }
@media (min-width:768px){ .foliage{ height:150px; } }
.foliage svg{ position:absolute; inset:0; width:100%; height:100%; }
.foliage .front{ will-change:transform; left:-12px; width:calc(100% + 24px); }
.hero .hero-canopy{ position:absolute; left:0; right:0; top:-1px; z-index:2; height:120px; }
@media (min-width:768px){ .hero .hero-canopy{ height:170px; } }

/* ============ Reveal (6.4) ============ */
html.js .reveal{ opacity:0; transform:translateY(24px); transition:opacity var(--slow) var(--ease), transform var(--slow) var(--ease); transition-delay:calc(var(--i, 0) * 100ms); }
html.js .reveal.in{ opacity:1; transform:none; }

/* ============ Video (5.3, dark zone, Night Canopy) ============ */
.video{ background:var(--night); padding-top:calc(var(--section-y) - 24px); padding-bottom:calc(var(--section-y) / 2); }
.video-grid{ display:grid; gap:40px; align-items:center; }
@media (min-width:1100px){ .video-grid{ grid-template-columns:1fr 2fr; gap:64px; } }
.video-frame{
  position:relative; aspect-ratio:16/9; border-radius:20px; overflow:hidden; background:var(--deep);
  box-shadow:var(--shade); cursor:pointer; border:0; padding:0; width:100%; display:block;
}
.video-frame img{ width:100%; height:100%; object-fit:cover; object-position:50% 60%; transition:transform 1.2s var(--ease); filter:saturate(.95) brightness(.92); }
.video-frame::after{ content:""; position:absolute; inset:0; background:linear-gradient(180deg, rgba(14,36,20,.05) 40%, rgba(14,36,20,.45)); }
.play{
  position:absolute; z-index:3; left:50%; top:50%; width:84px; height:84px; margin:-42px 0 0 -42px; border-radius:50%;
  background:var(--orange); display:grid; place-items:center; transition:transform var(--quick) var(--ease);
  box-shadow:0 10px 30px -8px rgba(14,36,20,.7);
}
.play svg{ width:26px; height:26px; margin-left:5px; color:var(--night); }
.play::after{ content:""; position:absolute; inset:0; border-radius:50%; box-shadow:0 0 0 0 rgba(232,133,12,.6); }
@media (hover:hover){
  .video-frame:hover .play{ transform:scale(1.08); }
  .video-frame:hover .play::after{ animation:pulse 1s var(--ease) 1; }
  .video-frame:hover img{ transform:scale(1.03); }
}
@keyframes pulse{ to{ box-shadow:0 0 0 22px rgba(232,133,12,0); } }
.video-frame .vf-msg{
  position:absolute; inset:0; z-index:4; display:grid; place-items:center; text-align:center; padding:24px;
  background:rgba(14,36,20,.92); color:var(--cream); opacity:0; transition:opacity var(--std) var(--ease); pointer-events:none;
  font-family:var(--serif); font-size:22px;
}
.video-frame.msg .vf-msg{ opacity:1; }
.video-frame .vf-msg small{ display:block; font:400 14px/1.5 var(--sans); color:var(--mist); margin-top:6px; }
.video .quiet{ margin-top:12px; }

/* Canopy edge on top of panels: filled with the colour behind the panel */
/* Canopy: leaf clumps hanging down from the top edge of the adventure cards, like the hero */
.canopy-edge{ position:absolute; z-index:3; left:0; top:-1px; width:100%; height:44px; pointer-events:none; }
@media (min-width:1100px){ .canopy-edge{ height:52px; } }
.canopy-edge .c-back{ fill:var(--deep); }
.canopy-edge .c-front{ fill:var(--night); }

/* ============ Adventures (5.4, dark zone, Deep Forest: one step lighter) ============ */
/* starts from the video's Night Canopy and brightens to Deep Forest */
.adventures{ background:linear-gradient(180deg, var(--night) 0, var(--deep) 220px); padding-top:calc(var(--section-y) / 3); padding-bottom:calc(var(--section-y) / 2); }   /* bottom halved too (founder, 7 Nov 2026: the gap above the footer was 224 px); video and adventures are both dark: one gap between them, not two (founder, 27 Oct 2026) */
/* a link ending in #departures (the Instagram departures ad, 14 Nov 2026) lands on the tabs, just clear of the
   header (56 px on phones, 64 px once scrolled on wider screens); #adventures the same */
.dep-anchor{ display:block; height:0; scroll-margin-top:72px; }
@media (min-width:768px){ .dep-anchor{ scroll-margin-top:80px; } }
#adventures{ scroll-margin-top:48px; }
@media (min-width:768px){ #adventures{ scroll-margin-top:44px; } }
.adv-head{ max-width:640px; margin-bottom:24px; }   /* only the small label above the cards now (founder, 7 Nov 2026) */
.cards{ display:grid; gap:24px; }
@media (min-width:1100px){ .cards{ grid-template-columns:repeat(3,1fr); gap:24px; } }

.card{
  --edge-bg:var(--deep);
  position:relative; border-radius:20px; overflow:hidden; isolation:isolate; color:var(--cream);
  min-height:420px; display:flex; flex-direction:column; justify-content:flex-end;
  border:1px solid rgba(111,148,96,.28);
  box-shadow:var(--shade);
  transition:opacity var(--std) var(--ease), border-color var(--std) var(--ease), box-shadow var(--slow) var(--ease);
}
@media (min-width:768px) and (max-width:1099px){ .card{ min-height:360px; } .card-body{ max-width:62%; } }
@media (min-width:1100px){ .card{ height:540px; } }
.card-media{ position:absolute; inset:0; z-index:-1; overflow:hidden; background:var(--night); }
.card-media img{ position:absolute; left:0; top:var(--t,0%); width:100%; height:var(--h,100%); object-fit:cover; transition:transform var(--slow) var(--ease); }
.card-media::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(14,36,20,.15) 0%, rgba(14,36,20,.25) 35%, rgba(14,36,20,.92) 82%);
  transition:opacity var(--slow) var(--ease);
}
.card-media::before{ content:""; position:absolute; inset:0; z-index:1; background:rgba(14,36,20,.22); transition:opacity var(--slow) var(--ease); }
/* The photo box can be taller than the card (--h) and pulled up (--t), so the animal sits above the text */
.card[data-type="birding"] img{ object-position:45% 40%; }
.card[data-type="safari"]{ --t:calc(75px - 39.6%); --h:130%; }
.card[data-type="safari"] img{ object-position:33% 50%; }
@media (min-width:1100px){ .card[data-type="safari"]{ --t:-16%; --h:125%; } }
/* On cards wider than tall the photo is sized from the card's width, so the tiger's head stays 75px from the top at every width */
.card[data-type="safari"] .card-media{ container-type:inline-size; }
@container (min-width:470px){ .card[data-type="safari"] img{ top:calc(75px - 33.8cqw); height:111cqw; } }
.card[data-type="herping"]{ --t:-62%; --h:160%; }
.card[data-type="herping"] img{ object-position:38% 50%; }

.card-body{ position:relative; padding:28px; text-shadow:0 1px 14px rgba(14,36,20,.55); }
@media (min-width:1100px){ .card-body{ padding:32px; } }
.card-eyebrow{ display:flex; align-items:center; gap:10px; margin:0 0 14px; color:var(--accent);
  font:600 12px/1 var(--sans); letter-spacing:.14em; text-transform:uppercase; }
.type-mark{ width:28px; height:28px; flex:none; color:var(--accent); }
.card-eyebrow .type-mark{ transform-origin:50% 90%; }
.card-title{ font-size:var(--fs-card); line-height:1.12; letter-spacing:-.01em; }
.card-title::after{ content:""; display:block; width:44px; height:2px; margin-top:14px; background:var(--accent); border-radius:2px; transition:width var(--std) var(--ease); }
/* the full name in the small label's style (founder, 7 Nov 2026): icon and name on one row, the accent line under it */
.card-title.card-eyebrow{ display:grid; grid-template-columns:auto 1fr; align-items:center; column-gap:10px; margin:0;
  font:600 13px/1.35 var(--sans); letter-spacing:.14em; text-transform:uppercase; }
.card-title.card-eyebrow::after{ grid-column:1 / -1; margin-top:14px; }      /* the short accent line, under icon and name */
.card-tagline{ margin:14px 0 0; opacity:.9; max-width:30em; }
.card-count{ margin:18px 0 10px; font-size:14px; color:var(--mist); display:flex; align-items:center; gap:8px; }
.card-count b{ color:var(--cream); font-weight:600; }
.card .btn-dd{ width:100%; justify-content:space-between; padding:0 22px 0 26px; }
@media (min-width:768px) and (max-width:1099px){ .card .btn-dd{ width:auto; } }
.chev{ width:16px; height:16px; transition:transform var(--std) var(--ease); }
.card.open .chev{ transform:rotate(180deg); }
.card.open .btn-dd{ background:var(--cream); color:var(--night); }

.fold{ display:grid; grid-template-rows:1fr; transition:grid-template-rows var(--std) var(--ease), opacity var(--std) var(--ease); }
.fold > div{ overflow:hidden; }
@media (min-width:1100px){ .card.open .fold{ grid-template-rows:0fr; opacity:0; } }

/* Destination dropdown: Understorey */
.dd{ display:grid; grid-template-rows:0fr; transition:grid-template-rows var(--std) var(--ease); }
.card.open .dd{ grid-template-rows:1fr; }
.dd-inner{ overflow:hidden; visibility:hidden; transition:visibility 0s linear var(--std); }
.card.open .dd-inner{ visibility:visible; transition:none; }
.dd-list{ text-shadow:none;
  list-style:none; margin:10px 0 0; padding:6px; background:var(--under); border-radius:12px;
  box-shadow:0 16px 32px -12px rgba(14,36,20,.95);
}
@media (min-width:1100px){ .dd-list{ max-height:270px; overflow-y:auto; scrollbar-width:thin; scrollbar-color:var(--moss) transparent; } }
.dd-row{
  display:grid; grid-template-columns:20px 1fr auto; align-items:center; gap:12px;
  min-height:52px; padding:6px 12px; border-radius:8px; text-decoration:none;
  transition:background-color var(--quick) var(--ease);
  opacity:0; transform:translateY(-6px);
}
@media (min-width:1100px){ .dd-row{ min-height:46px; } }
.card.open .dd-row{ opacity:1; transform:none; transition:opacity 300ms var(--ease) calc(var(--i) * 40ms + 120ms), transform 300ms var(--ease) calc(var(--i) * 40ms + 120ms), background-color var(--quick) var(--ease); }
.dd-row .type-mark{ width:18px; height:18px; transition:transform var(--quick) var(--ease); }
.dd-name{ font-weight:600; line-height:1.3; }
.dd-name small{ display:block; font-weight:400; font-size:13px; color:var(--mist); font-style:italic; }
.dd-region{ font-size:14px; color:var(--mist); text-align:right; }
.dd-row:hover, .dd-row:focus-visible{ background:rgba(111,148,96,.4); }
.dd-row:hover .type-mark{ transform:translateX(4px); }
/* Phones: the region moves under the name, so long names can use the full row width */
@media (max-width:767px){
  .dd-row{ grid-template-columns:20px 1fr; row-gap:2px; padding-top:10px; padding-bottom:10px; }
  .dd-row .type-mark{ grid-row:1 / span 2; }
  .dd-region{ grid-column:2; text-align:left; line-height:1.3; }
  /* no hover on touch screens, so a thin dotted Fern line separates the rows */
  .dd-list li + li:not(.dd-sep)::before{ content:""; display:block; margin:0 12px; border-top:1px dotted rgba(143,191,90,.5); }
}
.dd-sep{ height:1px; background:rgba(185,205,176,.18); margin:6px 12px; }

.card .photo-credit{ top:58px; bottom:auto; right:16px; font-size:11px; }

@media (hover:hover) and (min-width:1100px){
  .cards:has(.card:hover) .card:not(:hover){ opacity:.8; }
  .card:hover{ border-color:var(--accent); box-shadow:var(--shade-deep), 0 0 0 1px var(--accent), 0 0 44px -8px color-mix(in srgb, var(--accent) 60%, transparent); }
  .card:hover .card-media img{ transform:scale(1.06); }
  .card:hover .card-media::before{ opacity:0; }
  .card:hover .card-title::after{ width:72px; }
  .card:hover .card-eyebrow .type-mark{ animation:sway 900ms var(--ease) 1; }
}
@keyframes sway{ 0%{transform:rotate(0)} 30%{transform:rotate(-9deg)} 65%{transform:rotate(6deg)} 100%{transform:rotate(0)} }

html.js .card.pre{ opacity:0; transform:translateY(32px) scale(.97); }
html.js .card.pre .stag{ opacity:0; transform:translateY(12px); }
html.js .card.in{ opacity:1; transform:none; transition:opacity var(--slow) var(--ease) var(--d,0ms), transform var(--slow) var(--ease) var(--d,0ms), border-color var(--std) var(--ease), box-shadow var(--slow) var(--ease); }
html.js .card.in .stag{ opacity:1; transform:none; transition:opacity 500ms var(--ease), transform 500ms var(--ease); transition-delay:calc(var(--d,0ms) + 280ms + var(--s) * 80ms); }
html.js .card.in.settled{ transition:opacity var(--std) var(--ease), border-color var(--std) var(--ease), box-shadow var(--slow) var(--ease); }

/* ============ Departures (5.5, light zone, Parchment band) ============ */
/* meets the green adventures section in a straight, sharp edge */
.departures{ background:var(--parch); }
.departures > .wrap{ position:relative; z-index:1; }
.dep-head{ display:flex; flex-wrap:wrap; align-items:flex-end; justify-content:space-between; gap:16px 32px; margin-bottom:40px; }
.dep-head .small{ margin:0; }
.dep-strip{
  display:grid; grid-auto-flow:column; grid-auto-columns:66%; gap:16px;
  overflow-x:auto; scroll-snap-type:x mandatory; padding:4px var(--gutter) 20px; margin:0 calc(-1 * var(--gutter));
  scrollbar-width:none; list-style:none;
}
.dep-strip::-webkit-scrollbar{ display:none; }
@media (min-width:768px){ .dep-strip{ grid-auto-columns:calc((100% - 2 * var(--gutter) - 32px) / 3); } }
@media (min-width:1100px){ .dep-strip{ grid-auto-flow:row; grid-template-columns:repeat(3,1fr); grid-auto-columns:auto; overflow:visible; padding:0; margin:0; gap:20px; } }
.tile{
  scroll-snap-align:start; position:relative; background:var(--cream); border-radius:14px; padding:20px 20px 12px 24px;
  border:1px solid rgba(111,148,96,.55); border-left:3px solid var(--accent);
  display:flex; flex-direction:column; min-height:200px;
  box-shadow:0 2px 6px -3px rgba(27,61,34,.15);
  transition:transform var(--quick) var(--ease), border-left-width var(--quick) var(--ease), box-shadow var(--quick) var(--ease);
}
@media (hover:hover){ .tile:hover{ transform:translateY(-4px); border-left-width:6px; box-shadow:var(--shade); } }
.tile-top{ display:flex; justify-content:space-between; align-items:flex-start; }
.tile .type-mark{ width:24px; height:24px; color:var(--accent-ink, var(--accent)); }
.tile-month{ font:600 12px/1 var(--sans); letter-spacing:.14em; text-transform:uppercase; color:var(--under); }
.tile-date{ font:500 40px/1 var(--serif); letter-spacing:-.02em; margin-top:8px; color:var(--deep); }
.tile-date span{ color:var(--moss); font-size:.6em; }
.tile-dest{ margin-top:14px; font-weight:600; line-height:1.3; }
.tile-meta{ font-size:14px; color:var(--under); }
.tile .quiet{ margin-top:auto; align-self:flex-start; }
.dep-note{ margin-top:20px; }
html.js .tile.reveal{ transition-delay:calc(var(--i) * 80ms); }

/* ============ Footer (5.7, Night Canopy) ============ */
.footer{ background:var(--night); padding:calc(var(--section-y) - 16px) 0 calc(28px + env(safe-area-inset-bottom)); position:relative; }
.foot-grid{ display:grid; gap:48px; position:relative; z-index:2; }
@media (min-width:768px){ .foot-grid{ grid-template-columns:1fr 1fr; } }
@media (min-width:1100px){ .foot-grid{ grid-template-columns:1.2fr 1fr 1fr; } }
.foot-brand .brand img{ width:64px; height:64px; }
.foot-brand .wordmark{ display:inline; font-size:28px; }
.foot-brand .brand{ gap:16px; }
.foot-brand .brand-text{ gap:8px; }
.foot-brand .brand-tag{ font-size:12px; letter-spacing:.18em; }   /* the header's tagline, a size up */
.tagline{ font:500 18px/1.3 var(--serif); color:var(--orange); letter-spacing:.06em; margin:16px 0 0; }
.foot-col h3{ font:600 12px/1 var(--sans); letter-spacing:.14em; text-transform:uppercase; color:var(--yellow); margin:0 0 16px; }
.foot-col ul{ list-style:none; padding:0; margin:0; columns:2; column-gap:24px; }
.foot-col li{ break-inside:avoid; }
.foot-col li a{ display:inline-block; padding:8px 0; text-decoration:none; color:var(--mist); transition:color var(--quick); }
.foot-col li a:hover{ color:var(--cream); }
.contact-line{ display:block; padding:6px 0; text-decoration:none; }
.foot-col .btn{ margin-top:16px; }
.socials{ display:flex; gap:8px; margin-top:20px; }
.socials a{ width:48px; height:48px; display:grid; place-items:center; border-radius:50%; box-shadow:inset 0 0 0 1px rgba(111,148,96,.5); color:var(--mist); transition:color var(--quick), box-shadow var(--quick); }
.socials a:hover{ color:var(--yellow); box-shadow:inset 0 0 0 1px var(--yellow); }
.socials svg{ width:20px; height:20px; }
.foot-bottom{ margin-top:56px; padding-top:24px; border-top:1px solid rgba(111,148,96,.25); }

/* ============ WhatsApp (5.8) ============ */
.wa{
  --focus:var(--yellow);
  position:fixed; z-index:40; right:calc(16px + env(safe-area-inset-right)); bottom:calc(16px + env(safe-area-inset-bottom));
  display:flex; align-items:center; text-decoration:none; color:var(--cream);
  opacity:0; transform:translateY(8px); transition:opacity var(--std) var(--ease), transform var(--std) var(--ease);
}
@media (min-width:768px){ .wa{ right:28px; bottom:28px; } }
.wa.show{ opacity:1; transform:none; }
/* Only the round button takes clicks (founder, 10 Oct 2026): the hidden "Chat with us" label made the link's box
   about 120px wider, an invisible strip that swallowed clicks meant for the page underneath (e.g. the booking button) */
.wa{ pointer-events:none; }
.wa-btn{ pointer-events:auto; }
.wa-btn{
  width:56px; height:56px; border-radius:50%; background:var(--deep); color:var(--cream);
  display:grid; place-items:center; box-shadow:0 0 0 1.5px var(--fern), 0 12px 28px -8px rgba(0,0,0,.55);
  transition:transform var(--quick) var(--ease);
}
.wa-btn svg{ width:26px; height:26px; }
.wa-label{
  margin-right:12px; padding:10px 16px; border-radius:999px; background:var(--deep); font-weight:600; font-size:14px; white-space:nowrap;
  box-shadow:0 0 0 1px rgba(143,191,90,.5); opacity:0; transform:translateX(12px); transition:opacity var(--quick) var(--ease), transform var(--quick) var(--ease); pointer-events:none;
}
@media (hover:hover){
  .wa:hover .wa-btn{ transform:scale(1.08); }
  .wa:hover .wa-label{ opacity:1; transform:none; }
}

/* Helpers that replace inline style attributes in v3 */
.sprite{ position:absolute; width:0; height:0; overflow:hidden; }
.mobile-menu .brand .wordmark{ display:inline; }
.mobile-menu .wa-line svg{ color:var(--fern); }

/* ============ Reduced motion (6.5) ============ */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{ animation:none !important; scroll-behavior:auto !important; }
  html.js .reveal, html.js .card.pre, html.js .card.pre .stag, html.js .hero-seq, html.js .hero-media, .mobile-menu nav a, .dd-row{ transform:none !important; }
  html.js .reveal, html.js .card, html.js .card .stag, html.js .hero-seq, html.js .hero-media, .dd-row{ transition:opacity 200ms linear !important; transition-delay:0ms !important; }
  .card-media img, .btn, .tile, .wa-btn, .play{ transform:none !important; }
  .site-header{ transition:none; }
  .scroll-hint{ display:none; }
}

/* ============ site2 changes: destination dropdown on Parchment ============ */
/* Backup of the original look is site.css. To revert, point the page back at site.css. */
.dd-list{ background:var(--parch); }
.dd-name{ color:var(--deep); }
.dd-name small, .dd-region{ color:var(--under); }

/* ============ site2 changes: open dropdown sits 12px from the card border ============ */
/* The card body is padded 28px (32px on desktop); negative margins pull only the dropdown out to 12px. */
.dd{ margin:0 -16px; transition:grid-template-rows var(--std) var(--ease), margin-bottom var(--std) var(--ease); }
.card.open .dd{ margin-bottom:-16px; }
@media (min-width:1100px){
  .dd{ margin:0 -20px; }
  .card.open .dd{ margin-bottom:-20px; }
}

/* ============ site2 changes: same dropdown behaviour on phone, tablet and desktop ============ */
/* The tagline and destination count fold away when the dropdown opens, on every screen size */
.card.open .fold{ grid-template-rows:0fr; opacity:0; }
/* The button lines up with the list, 12px from the card border, full width on every screen size */
.card .btn-dd{ width:calc(100% + 32px); margin:0 -16px; }
@media (min-width:1100px){ .card .btn-dd{ width:calc(100% + 40px); margin:0 -20px; } }

/* ============ site2 changes: breathing room under the title line when the dropdown is open ============ */
/* With the tagline folded away, the button would touch the title's accent line, so the fold keeps an 18px gap */
.fold{ transition:grid-template-rows var(--std) var(--ease), opacity var(--std) var(--ease), margin-bottom var(--std) var(--ease); }
.card.open .fold{ margin-bottom:18px; }

/* ============ site2 changes: YouTube player in the video section ============ */
/* After a tap, site.js swaps the photo button for this box holding the player */
.video-frame.playing{ cursor:auto; background:#000; }
.video-frame.playing::after{ content:none; }
.video-frame iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }

/* ============ site2 changes: the popup (now only "Get in touch"; "Launching soon" removed 23 Oct 2026) ============ */
.soon{
  width:min(calc(100% - 2 * var(--gutter)), 400px); padding:40px 28px 28px; border:0; border-radius:20px;
  background:var(--parch); text-align:center; box-shadow:0 30px 60px -20px rgba(14,36,20,.6);
}
.soon::backdrop{ background:rgba(14,36,20,.72); }
.soon[open]{ animation:soon-in var(--std) var(--ease); }
@keyframes soon-in{ from{ opacity:0; transform:translateY(12px) scale(.97); } }
.soon h2{ font-size:clamp(28px, 24px + 1vw, 34px); }
.soon p{ margin:12px 0 24px; color:var(--under); }
.soon .btn{ width:100%; }
.soon-close{
  position:absolute; top:10px; right:10px; width:44px; height:44px; border:0; border-radius:50%;
  background:transparent; color:var(--deep); font-size:18px; cursor:pointer;
}
.soon-close:hover, .soon-close:focus-visible{ background:rgba(111,148,96,.25); }
@media (prefers-reduced-motion:reduce){ .soon[open]{ animation:none; } }

/* ============ site2 changes: the popup's WhatsApp button matches the footer's ============ */
/* Same shape as the footer's "Chat on WhatsApp", on the lighter Understorey green; the title in Orange */
.soon .btn{ width:auto; }
.btn-wa{ background:var(--under); color:var(--cream); box-shadow:inset 0 0 0 1.5px var(--cream); }
.soon h2{ color:var(--orange); }
@media (hover:hover){ .btn-wa:hover{ background:var(--cream); color:var(--night); box-shadow:inset 0 0 0 1.5px var(--night); } }

/* ============ site2 changes: "Get in touch" popup for the Contact links ============ */
/* Uses the popup styles above; only the call and email lines under the button are new */
.soon .pop-lines{ margin-top:20px; }
.soon .contact-line{ display:table; margin:2px auto; padding:8px 4px; font-weight:600; color:var(--deep); }

/* ============ site2 changes: sharper hero photo, and the deer kept clear on phones and portrait tablets ============ */
/* <picture> sits between .hero-media and the img, so it has to fill the box too */
.hero-media picture{ display:block; width:100%; height:100%; }
@media (max-width:1099px) and (orientation:portrait){      /* phones held sideways get the wide layout (3 Nov 2026) */
  /* the tall crop is centred on the deer; on wider portrait screens anchor it low so the deer sits higher */
  .hero-media img{ object-position:50% 100%; }
  /* heading and "Join us" at the top over the dark leaves, the button at the bottom, the deer free in between */
  .hero-content{ align-self:stretch; display:flex; padding-top:108px; }
  .hero-text{ flex:1; display:flex; flex-direction:column; align-items:flex-start; }
  .hero-actions{ margin-top:auto; }
  /* shade only behind the heading; leave the middle of the photo clear */
  .hero::after{ content:""; position:absolute; inset:0; z-index:1; background:linear-gradient(180deg, rgba(14,36,20,.55) 0%, rgba(14,36,20,.3) 22%, rgba(14,36,20,0) 34%); }
  /* the fade into the video section starts below the deer, behind the button */
  .hero::before{ background:linear-gradient(180deg, rgba(14,36,20,0) 80%, rgba(14,36,20,.6) 92%, rgba(14,36,20,1) 100%); }
}
/* tablets have a taller header and canopy */
@media (min-width:768px) and (max-width:1099px) and (orientation:portrait){ .hero-content{ padding-top:200px; } }

/* ============ site2 changes: Ari's name in Orange in the video introduction ============ */
.video .lead .ari{ color:var(--orange); }
/* the "Join Ari in YouTube" arrow in Orange too, matching its hover underline and Ari's name */
.video .quiet .leaf-arrow{ color:var(--orange); }

/* Social icons in each app's own colours, outline style kept (founder, 28 Oct 2026): Instagram's gradient on the
   outline, YouTube red, Facebook blue. Footer and the author line on blog posts. */
.s-ig svg{ stroke:url(#ig-grad); }
.s-ig svg circle[fill]{ fill:url(#ig-grad); }
.s-yt{ color:#FF3B30 !important; }
.s-fb{ color:#3B8BF5 !important; }
.socials a.s-ig:hover{ box-shadow:inset 0 0 0 1px #D62976; }
.socials a.s-yt:hover{ box-shadow:inset 0 0 0 1px #FF3B30; }
.socials a.s-fb:hover{ box-shadow:inset 0 0 0 1px #3B8BF5; }

/* A section reached from "In this post" / "On this page" / the section tabs (29–30 Oct 2026): its heading glows in amber,
   holds a moment, then fades (made stronger 30 Oct, founder) */
.arrive{ animation:arrive 2.4s cubic-bezier(.2,.7,.3,1); border-radius:10px; }
@keyframes arrive{
  0%{ background:rgba(244,180,26,0); box-shadow:0 0 0 0 rgba(244,180,26,0); }
  12%{ background:rgba(244,180,26,.38); box-shadow:0 0 0 12px rgba(244,180,26,.38), 0 0 28px 14px rgba(244,180,26,.25); }
  45%{ background:rgba(244,180,26,.32); box-shadow:0 0 0 12px rgba(244,180,26,.32), 0 0 24px 12px rgba(244,180,26,.18); }
  100%{ background:rgba(244,180,26,0); box-shadow:0 0 0 12px rgba(244,180,26,0), 0 0 24px 12px rgba(244,180,26,0); }
}

/* ============ Destination dropdowns: name, state, then the "Starting from" price (founder, 30 Oct 2026) ============ */
/* One layout on every screen: the three lines stacked beside the icon, left aligned; long text wraps */
.dd-row{ grid-template-columns:20px 1fr; row-gap:2px; padding-top:10px; padding-bottom:10px; }
.dd-row .type-mark{ grid-row:1 / span 3; }
.dd-region{ grid-column:2; text-align:left; line-height:1.3; }
.dd-from{ grid-column:2; font-size:14px; font-weight:400; line-height:1.3; color:var(--under); }   /* plain, like the state names */
/* "Starting from" and "₹… (~US$…) per person" stay whole: a narrow list breaks between them, and a piece wider than
   the line still wraps inside rather than being cut off */
.dd-piece{ display:inline-block; max-width:100%; }
.dd-price{ color:var(--amber); }      /* the amounts in amber, as on the destination pages (founder, 30 Oct 2026) */
/* rows separated by the thin dotted Fern line on every screen (it was phones only) */
.dd-list li + li:not(.dd-sep)::before{ content:""; display:block; margin:0 12px; border-top:1px dotted rgba(143,191,90,.5); }
/* hover: a light tint of the same Fern on Parchment; the dark green text stays well readable */
.dd-row:hover, .dd-row:focus-visible{ background:rgba(143,191,90,.22); }

/* ============ Quick enquiry on the home page's first screen (3 Nov 2026, founder): wide screens only ============ */
/* The panel on the right (founder chose it over the bar, which would not carry over to phones): very clear glass, a
   faint edge, a soft sheen passing once after the page opens. Fonts are the site's own (Fraunces title, Figtree
   fields), so nothing extra to download. */
.quick-enq{ display:none; }
@media (min-width:1100px){
  .hero-content.wrap{ display:flex; align-items:flex-end; justify-content:space-between; gap:48px; }
  .quick-enq{ position:relative; display:block; flex:none; width:336px; padding:22px 18px 16px; border-radius:26px;
              text-shadow:none; isolation:isolate; overflow:hidden;
              background:linear-gradient(160deg, rgba(255,255,255,.05) 0%, rgba(255,255,255,0) 55%, rgba(255,255,255,.02) 100%);
              border:1px solid rgba(255,255,255,.14);
              /* no blur (founder, 3 Nov 2026): the photo, the cubs above all, shows straight through */
              box-shadow:inset 0 1px 0 rgba(255,255,255,.22); }
  .quick-enq::before{ content:""; position:absolute; z-index:-1; inset:0; pointer-events:none;
                      background:radial-gradient(110% 60% at 0% 0%, rgba(255,255,255,.09), rgba(255,255,255,0) 55%); }
  /* the sheen: a soft band of light passing over the glass once */
  .quick-enq::after{ content:""; position:absolute; z-index:-1; top:-20%; bottom:-20%; left:-60%; width:45%; pointer-events:none;
                     background:linear-gradient(100deg, rgba(255,255,255,0), rgba(255,255,255,.13) 50%, rgba(255,255,255,0));
                     transform:translateX(0) skewX(-12deg); opacity:0; }
  .text-in .quick-enq::after{ animation:qeSheen 2.6s cubic-bezier(.3,.6,.3,1) 1.4s 1; }
}
@keyframes qeSheen{ 0%{ opacity:0; transform:translateX(0) skewX(-12deg); } 15%{ opacity:1; }
                    100%{ opacity:0; transform:translateX(420%) skewX(-12deg); } }
@media (prefers-reduced-motion:reduce){ .quick-enq::after{ animation:none !important; } }
.quick-enq, .quick-enq input, .quick-enq select, .quick-enq button{ font-family:var(--sans); }
.qe-title{ margin:0 0 14px 4px; font:500 22px/1.15 var(--serif); letter-spacing:-.01em; color:#fff; text-shadow:0 1px 3px rgba(0,0,0,.5); }
.qe-field{ display:block; margin:0 0 9px; }
/* the questions sit inside the fields as placeholders (founder: a tiny form); the labels stay for screen readers */
.qe-field span{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.qe-field select, .qe-field input, .qe-field .qe-dd, .qe-field textarea{ width:100%; height:46px; padding:0 16px; border-radius:14px; font-size:15px; font-weight:400;
  letter-spacing:0; color:#fff; background:rgba(10,26,15,.30); border:1px solid rgba(255,255,255,.22); text-shadow:0 1px 2px rgba(0,0,0,.45);
  transition:background .2s, border-color .2s, box-shadow .2s; -webkit-appearance:none; appearance:none; }
.qe-field select, .qe-field .qe-dd{ padding-right:40px; cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23ffffff' stroke-opacity='.75' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 14px center; background-size:15px; }
.qe-field select option, .qe-field select optgroup{ color:#1B3D22; background:#fff; }
.qe-field input::placeholder, .qe-field textarea::placeholder{ color:rgba(255,255,255,.86); }
.qe-field select:has(option[value=""]:checked), .qe-field .qe-dd.empty{ color:rgba(255,255,255,.86); }      /* a question still showing: greyed */
.qe-field select:hover, .qe-field input:hover, .qe-field .qe-dd:hover, .qe-field textarea:hover{ background-color:rgba(10,26,15,.40); border-color:rgba(255,255,255,.30); }
.qe-field select:focus, .qe-field input:focus, .qe-field textarea:focus, .qe-field .qe-dd:focus-visible, .qe-field .qe-dd[aria-expanded="true"]{ outline:none; background-color:rgba(10,26,15,.48); border-color:rgba(244,180,26,.75);
  box-shadow:0 0 0 3px rgba(244,180,26,.20); }
.qe-field [aria-invalid="true"]{ border-color:#FF8A70; box-shadow:0 0 0 3px rgba(255,138,112,.22); }
/* the foreign nationals' estimate (7 Nov 2026): euros for a European time zone (html.eur, base.html), US$ otherwise */
.cur-eur{ display:none; }
html.eur .cur-eur{ display:inline; }
html.eur .cur-usd{ display:none; }
.qe-trap{ position:absolute; left:-9999px; width:1px; height:1px; opacity:0; }
/* Our own dropdowns (founder, 3 Nov 2026): the button stands in for the hidden <select>; the list is dark glass in the
   site's colours, with the adventure types as small gold headings */
/* the optional message (founder, 4 Nov 2026): one line like the others, growing to about four as they type */
.qe-field textarea{ display:block; height:46px; min-height:46px; max-height:118px; padding:12px 16px; line-height:1.4; resize:none; overflow-y:hidden;
  font-family:var(--sans); scrollbar-width:thin; scrollbar-color:rgba(255,255,255,.25) transparent; }
.qe-native{ position:absolute; width:1px; height:1px; opacity:0; pointer-events:none; }
.qe-field .qe-dd{ display:block; text-align:left; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-family:var(--sans); }
.qe-field .qe-dd:focus{ outline:none; }
.qe-list{ position:absolute; z-index:60; max-height:300px; overflow-y:auto; padding:6px; border-radius:16px; outline:none;
  font:400 14.5px/1.3 var(--sans); color:#FBF8EC; background:rgba(14,32,20,.94);
  -webkit-backdrop-filter:blur(14px) saturate(140%); backdrop-filter:blur(14px) saturate(140%);
  border:1px solid rgba(255,255,255,.14); box-shadow:0 22px 48px -18px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.08);
  scrollbar-width:thin; scrollbar-color:rgba(255,255,255,.22) transparent; animation:qeList .14s ease-out; }
.qe-list.up{ animation-name:qeListUp; }
.qe-list[hidden]{ display:none; }
@keyframes qeList{ from{ opacity:0; transform:translateY(-4px); } }
@keyframes qeListUp{ from{ opacity:0; transform:translateY(4px); } }
.qe-ghead{ padding:11px 12px 4px; font:600 10.5px/1.2 var(--sans); letter-spacing:.14em; text-transform:uppercase; color:var(--yellow); opacity:.9; }
.qe-opt{ position:relative; padding:9px 34px 9px 12px; border-radius:10px; cursor:pointer; }
.qe-group .qe-opt{ padding-left:20px; }
.qe-opt.active{ background:rgba(255,255,255,.09); }
.qe-opt[aria-selected="true"]{ color:var(--yellow); }
.qe-opt[aria-selected="true"]::after{ content:""; position:absolute; right:14px; top:50%; width:9px; height:5px;
  border:solid var(--yellow); border-width:0 0 2px 2px; transform:translateY(-70%) rotate(-45deg); }
@media (prefers-reduced-motion:reduce){ .qe-list{ animation:none; } }
.qe-err{ margin:0 0 10px 4px; font-size:13px; color:#FFC2B4; }
.qe-err:empty{ display:none; }
.quick-enq .qe-send{ width:100%; height:46px; margin-top:5px; border-radius:999px; font-size:15px; font-weight:600; letter-spacing:.01em;
  box-shadow:0 8px 20px -12px rgba(232,133,12,.7); }
.qe-note{ margin:12px 4px 0; font-size:12.5px; line-height:1.45; color:rgba(255,255,255,.82); text-shadow:0 1px 2px rgba(0,0,0,.6); }
.qe-note a, .qe-done a{ color:inherit; text-underline-offset:2px; }
.qe-done p{ margin:0 0 6px; color:#fff; font-size:15px; line-height:1.5; }
.qe-done .qe-title{ margin-bottom:8px; }
.quick-enq.sent > :not(.qe-done):not(.qe-head){ display:none; }

/* ============ Quick enquiry on phones and tablets (founder, 4 Nov 2026) ============ */
/* "Quick enquiry" beside "Explore tours" under the headline; the same form slides up from the bottom of the screen,
   over a dimmed page. The phone's own pickers for Where and When, fields at 16 px (smaller makes iPhones zoom in). */
.hero-qe, .lbl-short, .qe-grip, .qe-x{ display:none; }
.qe-head{ display:contents; }                     /* laptops: just the title */
@media (max-width:1099px){
  .hero-qe{ display:inline-flex; }
  .lbl-wide{ display:none; } .lbl-short{ display:inline; }
  .btn-explore{ color:#FBF8EC; background:rgba(14,36,20,.3); box-shadow:inset 0 0 0 1.5px rgba(251,248,236,.75);
                -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px); }
  .btn-explore:active{ background:rgba(251,248,236,.16); }
  /* the page under the open form is pinned in place: iPhone Safari ignores overflow:hidden and scrolls the page up
     when the keyboard opens, then leaves it there when the keyboard closes (founder, 4 Nov 2026) */
  html.qe-lock, html.qe-lock body{ overflow:hidden; }
  /* the hero's headline and buttons are hidden while the glass form is open: they glowed through it (founder) */
  html.js body.qe-open .hero .hero-text{ visibility:hidden; opacity:0; transition:none; }      /* the headline too: it showed through */
  html.js body.qe-used .hero .hero-text{ transition:opacity .25s linear, visibility 0s; }   /* back with a quick fade */
  html.qe-lock body{ position:fixed; left:0; right:0; width:100%; }
  .qe-scrim{ position:fixed; inset:0; z-index:110; background:rgba(5,14,8,.18); animation:qeFade .25s ease-out; }
  .qe-scrim[hidden]{ display:none; }
  /* full screen, the fields at the top (founder, 4 Nov 2026): the keyboard rises from below and never covers them, so
     the phone has nothing to reveal and nothing jumps (a bottom sheet fought the iPhone keyboard) */
  .quick-enq.sheet{ display:block; position:fixed; z-index:120; inset:0; width:auto; max-width:none; margin:0;
    overflow-y:auto; overscroll-behavior:contain; border-radius:0;
    padding:calc(10px + env(safe-area-inset-top)) max(20px, calc((100% - 560px) / 2)) calc(18px + env(safe-area-inset-bottom)); text-shadow:none; isolation:isolate;
    /* the laptop panel's clear glass (founder, 4 Nov 2026), plus a light blur so text under it (if the page is
       scrolled) softens instead of showing through the fields */
    background:linear-gradient(160deg, rgba(255,255,255,.07) 0%, rgba(255,255,255,.015) 55%, rgba(255,255,255,.04) 100%);
    -webkit-backdrop-filter:blur(7px) saturate(135%); backdrop-filter:blur(7px) saturate(135%);   /* lighter (founder): the photo shows; text behind stays soft */
    border:0; box-shadow:none;
    opacity:1; transform:none; transition:none; animation:qeUp .32s cubic-bezier(.2,.8,.2,1); }
  .quick-enq.sheet::before{ content:""; position:fixed; z-index:-1; inset:0; pointer-events:none;
    background:radial-gradient(110% 60% at 0% 0%, rgba(255,255,255,.09), rgba(255,255,255,0) 55%); }
  /* the top bar: the only place to drag the form down from (founder, 4 Nov 2026), so dragging never competes with typing
     or scrolling the fields; it stays at the top while the form scrolls on short screens */
  .quick-enq.sheet .qe-head{ display:flex; align-items:center; gap:8px; position:sticky; top:calc(-10px - env(safe-area-inset-top)); z-index:3;
    margin:calc(-10px - env(safe-area-inset-top)) -8px 10px; padding:calc(22px + env(safe-area-inset-top)) 0 8px 10px;
    touch-action:none; cursor:grab; }
  .quick-enq.sheet .qe-grip{ display:block; position:absolute; left:50%; top:calc(8px + env(safe-area-inset-top)); transform:translateX(-50%);
    width:40px; height:4px; border-radius:4px; background:rgba(255,255,255,.35); }
  .quick-enq.sheet .qe-x{ display:flex; flex:none; align-items:center; justify-content:center;
    width:44px; height:44px; padding:0; border:0; border-radius:50%; background:transparent; color:#FBF8EC; cursor:pointer; }
  .quick-enq.sheet .qe-x svg{ width:22px; height:22px; }
  .quick-enq.sheet .qe-title{ flex:1; margin:0; font-size:24px; }
  .quick-enq.sheet .qe-field{ margin-bottom:10px; }
  .quick-enq.sheet .qe-field select, .quick-enq.sheet .qe-field input{ height:52px; font-size:16px; }
  .quick-enq.sheet .qe-field textarea{ height:52px; min-height:52px; padding-top:15px; font-size:16px; }
  .quick-enq.sheet .qe-dd{ display:none; }                 /* the phone's own picker instead of the laptop list */
  .quick-enq.sheet .qe-native{ position:static; width:100%; opacity:1; pointer-events:auto; }
  .quick-enq.sheet .qe-send{ height:52px; font-size:16px; }
  .quick-enq.sheet .qe-note{ margin-top:12px; font-size:13px; }
  .quick-enq.sheet .qe-done p{ font-size:16px; }
}
@media (max-width:359px){ .hero-actions .btn{ font-size:15px; padding:0 8px; } }
/* the glass "Explore tours" button keeps its outline on hover; the glass just brightens (the orange glow is for orange) */
@media (hover:hover) and (max-width:1099px){
  .btn-explore:hover{ background:rgba(251,248,236,.16); box-shadow:inset 0 0 0 1.5px #FBF8EC; transform:translateY(-2px); }
}
@keyframes qeUp{ from{ transform:translateY(100%); } }
@keyframes qeFade{ from{ opacity:0; } }
@media (prefers-reduced-motion:reduce){ .quick-enq.sheet, .qe-scrim{ animation:none; } }


/* ============ Upcoming group departures on the home page, under the adventure cards (9 Nov 2026) ============ */
/* Upcoming departures | Choose your trail, as tabs (founder, 9 Nov 2026): the destination page's underline style */
.home-tabs{ display:flex; gap:28px; border-bottom:1px solid rgba(185,205,176,.25); }
.home-tab{ position:relative; padding:0 0 12px; border:0; background:none; cursor:pointer;
  font:600 12px/1.3 var(--sans); letter-spacing:.14em; text-transform:uppercase; color:var(--mist); }
@media (min-width:1100px){ .home-tab{ font-size:13px; } }
.home-tab::after{ content:""; position:absolute; left:0; right:0; bottom:-1px; height:3px; border-radius:3px 3px 0 0;
  background:var(--yellow); transform:scaleX(0); transition:transform .25s ease; }
.home-tab[aria-selected="true"]{ color:var(--yellow); }
.home-tab[aria-selected="true"]::after{ transform:scaleX(1); }
@media (hover:hover){ .home-tab:hover{ color:var(--cream); } .home-tab[aria-selected="true"]:hover{ color:var(--yellow); } }
.home-tab:focus-visible{ outline:2px solid var(--yellow); outline-offset:4px; border-radius:4px; }
/* on narrow phones the labels wrap onto two lines, left-aligned (founder, 9 Nov 2026) */
.home-tabs{ width:max-content; max-width:100%; }
.home-tab{ text-align:left; }
.home-panel[hidden]{ display:none; }
.home-panel.fade-in{ animation:homePanel .3s ease-out; }
@keyframes homePanel{ from{ opacity:0; transform:translateY(6px); } }
@media (prefers-reduced-motion:reduce){ .home-panel.fade-in{ animation:none; } .home-tab::after{ transition:none; } }
.home-deps-lede{ margin:0 0 16px; color:var(--mist); font-size:15px; }
.home-dep-list{ list-style:none; margin:0; padding:0; display:grid; gap:20px; }
/* side by side on wider screens, the trail cards' width (founder, 10 Nov 2026) */
@media (min-width:768px){ .home-dep-list{ grid-template-columns:repeat(2, minmax(0, 1fr)); } }
@media (min-width:1100px){ .home-dep-list{ grid-template-columns:repeat(3, minmax(0, 1fr)); gap:24px; } }
/* One card per departure (founder, 10 Nov 2026): the vlog on top, the details, then the action as its own light bar.
   The frame stays as it is on hover: only the bar answers, so it reads as the thing to tap. */
.hd{ display:flex; flex-direction:column; border-radius:16px; overflow:hidden; background:var(--cream);
  box-shadow:0 18px 40px -16px rgba(0,0,0,.6); }
.hd-video{ border-radius:0; box-shadow:none; }
.video-frame.hd-video.playing{ border-radius:0; }
.hd-video .play{ width:68px; height:68px; margin:-34px 0 0 -34px; }
.hd-video .play svg{ width:22px; height:22px; }
/* the details on the site's light cream (founder, 10 Nov 2026) */
.hd-body{ flex:1; display:flex; flex-direction:column; padding:16px 16px 16px 18px; color:var(--deep); }
.hd-body p{ margin:0; }
.hd-name{ display:block; font:500 19px/1.25 var(--serif); color:var(--deep); }
.hd-body .hd-when{ margin-top:6px; font:600 14px/1.3 var(--sans); color:var(--amber); }
.hd-body .hd-price{ margin:4px 0 16px; font-size:14px; color:var(--under); }
/* the action: a light green bar, deeper green on hover (founder, 10 Nov 2026) */
.hd-go{ margin-top:auto; display:flex; align-items:center; justify-content:space-between; gap:10px; padding:12px 16px;
  border-radius:12px; background:#D6E6CA; border:1px solid #BDD4AD; color:var(--deep); text-decoration:none;
  font:600 15px/1.2 var(--sans); transition:background .2s, border-color .2s, color .2s; }
.hd-go .chev{ width:16px; height:16px; transform:rotate(-90deg); color:var(--under); transition:transform .2s, color .2s; }
@media (hover:hover){
  .hd-go:hover{ background:var(--under); border-color:var(--under); color:var(--cream); }
  .hd-go:hover .chev{ color:var(--cream); transform:rotate(-90deg) translateY(3px); }
}
.hd-go:active{ background:var(--deep); border-color:var(--deep); color:var(--cream); }
.hd-go:focus-visible{ outline:2px solid var(--yellow); outline-offset:3px; }

/* "Watch Ari's vlog" on the video thumbnail (3 Nov 2026, founder): centred just below the play button, fine type on a very see-through glass capsule; the whole thumbnail still plays the video */
.vlog-tag{ position:absolute; z-index:3; left:50%; top:calc(50% + 54px); transform:translateX(-50%); white-space:nowrap; padding:7px 13px; border-radius:999px;
           font:400 13px/1 var(--sans); letter-spacing:.03em; color:rgba(255,255,255,.95); background:rgba(14,36,20,.22);
           border:1px solid rgba(255,255,255,.35); -webkit-backdrop-filter:blur(4px); backdrop-filter:blur(4px);
           text-shadow:0 1px 3px rgba(0,0,0,.45); transition:background .2s, border-color .2s; }
@media (hover:hover){ .video-frame:hover .vlog-tag{ background:rgba(14,36,20,.4); border-color:rgba(255,255,255,.6); } }
@media (max-width:599px){ .vlog-tag{ top:calc(50% + 40px); padding:5px 10px; font-size:11.5px; } }
@media (max-width:599px){ .hd-video .vlog-tag{ top:calc(50% + 32px); } }
/* YouTube thumbnails: centred, so the black bars of the 4:3 fallback sizes are cropped off exactly (10 Nov 2026) */
.video-frame img[src*="i.ytimg.com"]{ object-position:50% 50%; }

/* Fixed departures: if your plans change (founder, 10 Nov 2026). A two-stretch timeline with the departure's own dates,
   in the itinerary's dot-and-line language: fern green while half comes back, a dashed amber stretch once it is
   non-refundable. No box: it sits in the card like the rest of the text. */
.dep-terms{ margin:20px 0 18px; color:var(--deep); }
.dt-head{ margin:0 0 14px; font:500 17px/1.3 var(--serif); color:var(--deep); }
.dt-line{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:1fr 1fr; position:relative; }
.dt-line li{ position:relative; display:flex; flex-direction:column; gap:3px; padding:22px 14px 0 0; }
.dt-line li::before{ content:""; position:absolute; top:6px; left:0; right:0; height:3px; border-radius:2px; }
.dt-line li::after{ content:""; position:absolute; top:1px; left:0; width:13px; height:13px; border-radius:50%; box-sizing:border-box; }
.dt-half::before{ background:#8FBF5A; }
.dt-half::after{ background:#7DB24E; }   /* no white ring: the line runs into the dot (founder, 10 Nov 2026) */
.dt-none::before{ background:repeating-linear-gradient(90deg, #D9822B 0 7px, transparent 7px 12px); }
.dt-none::after{ background:#fff; border:3px solid #D9822B; }
.dt-line::after{ content:""; position:absolute; top:3px; right:0; width:9px; height:9px; border-radius:50%; background:#D9822B; }  /* the start of the tour */
.dt-when{ font:600 13px/1.3 var(--sans); color:var(--under); }
.dt-what{ font-size:15px; line-height:1.35; color:var(--deep); }
.dt-none .dt-what{ font-weight:600; color:#8A4B00; }
.dt-us{ margin:14px 0 0; font-size:13.5px; line-height:1.5; color:var(--under); }


/* Guests still needed, on a faint dotted line above "If we cancel the tour" (founder, 12 Nov 2026): the same dotted
   line as above the join form; once the minimum is reached, just the line */
.dt-needed{ display:flex; align-items:center; gap:12px; margin:16px 0 0; font:700 15px/1.3 var(--sans); color:var(--amber); text-align:center; }
.dt-needed::before, .dt-needed::after{ content:""; flex:1; min-width:36px; border-top:1px dotted rgba(27,61,34,.25); }
.dt-needed span{ text-wrap:balance; }      /* on phones two even lines, not one word left over */
.dt-needed.is-plain{ gap:0; }
.dt-needed.is-plain span{ display:none; }
.dt-needed + .dt-us{ margin-top:12px; }
