/* w-trek-experience.com — DEEP FJORD (blue) — ACTIVE
   Swap this file's contents with theme-forest.css to return to green.
   Loaded after each page's inline <style>, so these win. */
:root{
  --gd:#0d2436;  /* deep    — hero overlay, footer, nav scrim */
  --gm:#1a5f85;  /* primary — buttons, strong links          */
  --gl:#1d6d95;  /* link    — eyebrows, inline links         */
  --ga:#63b9dc;  /* accent  — on dark grounds only           */
  --gh:#134b6a;  /* hover   — primary button hover           */
  --gx:#122f45;  /* extra dark                                */
  --gy:#7cc6e4;  /* light accent                              */
  --tnt:#175a7d; /* text on tint                              */
  --gd-rgb:13,36,54;   /* same as --gd, for rgba() overlays */
  --ga-rgb:99,185,220; /* same as --ga, for rgba() accents  */
}

/* ============================================================
   TYPE + WARM NEUTRALS — option A: Archivo / Karla
   ------------------------------------------------------------
   To switch typefaces, change the two --ff- values below AND the
   Google Fonts <link> in every page. The link swap is one command,
   run from this folder:

   B — Zilla Slab + Public Sans (warmer, slab serif headlines)
     --ff-head:'Zilla Slab',Georgia,serif;  --ff-body:'Public Sans',sans-serif;
     sed -i 's|family=Archivo:wght@500;600;700&family=Karla:wght@400;500;700|family=Zilla+Slab:wght@500;600;700\&family=Public+Sans:wght@400;500;600;700|' *.html

   C — Work Sans only (smallest change from the original)
     --ff-head:'Work Sans',sans-serif;      --ff-body:'Work Sans',sans-serif;
     sed -i 's|family=Archivo:wght@500;600;700&family=Karla:wght@400;500;700|family=Work+Sans:wght@400;500;600;700|' *.html

   Back to the original (Inter + pale blue tints):
     restore _BACKUP_pre-slab_20261009_135212/
   ============================================================ */
:root{
  --ff-head:'Archivo',-apple-system,'Helvetica Neue',sans-serif;
  /* H1 only: Bricolage Grotesque gives the page titles a face of their own.
     Everything else (h2-h5, buttons, chips) stays on --ff-head. */
  --ff-h1:'Bricolage Grotesque','Archivo',-apple-system,sans-serif;
  --ff-body:'Karla',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;

  /* warm neutrals — these replace the pale-blue tint family */
  --cr:#f8f4ee;  /* page ground           */
  --cd:#e5dbcb;  /* card + section border */
  --st:#6b6259;  /* muted body text       */
  --dk:#241f1a;  /* headings, strong text */
  --tn:#f1ebe1;  /* tint panel            */
  --tn2:#f4efe6; /* tint panel, included-list */
  --tn3:#f2eee7; /* neutral tint          */
  --tnb:#ddd2bf; /* tint border           */
  --tn4:#f7f3ec;
  --tn5:#fbf8f3;
}

body{font-family:var(--ff-body);background:var(--cr);color:var(--dk)}

h1,h2,h3,h4,h5,.fb-name{font-family:var(--ff-head);letter-spacing:-.01em}
h1,h2,h3{font-weight:700}
/* page titles carry the display face; this sits after the rule above so it wins */
h1{font-family:var(--ff-h1)}

/* CTAs carry the headline face too */
.btnb,.btnw,.btng,.btnwa,.wa-btn,.fbt,.soc-btn{font-family:var(--ff-head);font-weight:600;letter-spacing:0}

/* section labels: sentence case, not tracked-out caps */
.sec-label,.ch,.tr,.fb4 .tag,.rb2 .tag{
  font-family:var(--ff-head);
  text-transform:none;
  letter-spacing:0;
  font-size:14px;
  font-weight:600;
}
.ch{font-size:15px}

/* eyebrows and small labels: same treatment */
.heb,.sl,.ih,.ik,.hbadge{
  font-family:var(--ff-head);
  text-transform:none;
  letter-spacing:0;
  font-weight:600;
}
.heb,.sl{font-size:15px}
.ih{font-size:16px}
.ik{font-size:12px}
.hbadge{font-size:12px;font-weight:700}

/* no arrow glued to link text */
.tl::after{content:''}

/* consent checkbox: the flex rule split the sentence from its link.
   Hanging checkbox, text wraps as one paragraph. */
.fcheck{display:block;position:relative;padding-left:26px;gap:0;line-height:1.5}
.fcheck input{position:absolute;left:0;top:3px}

/* photo galleries (day tours + homepage band): one ratio, one size, everywhere */
.dtgal{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.dtgal figure{margin:0}
.dtgal img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block;border:1px solid var(--cd);border-radius:3px}
.dtgal figcaption{font-size:13px;color:var(--st);margin-top:7px;line-height:1.45}
/* two-image rows keep the same ratio and the same column width as a three-up,
   so an image is never larger on one page than on another */
.dtgal.two{grid-template-columns:repeat(3,1fr)}
.dtgal.two figure:first-child{grid-column:1}
@media(max-width:700px){.dtgal,.dtgal.two{grid-template-columns:1fr 1fr}}
@media(max-width:460px){.dtgal,.dtgal.two{grid-template-columns:1fr}}

/* footer credit line */
.fb2 .fdev{font-size:12px;color:rgba(255,255,255,.35)}
.fb2 .fdev a{color:rgba(255,255,255,.55);text-decoration:none}
.fb2 .fdev a:hover,.fb2 .fdev a:focus-visible{color:#fff;text-decoration:underline}

/* homepage photo band */
.phband{max-width:1160px;margin:0 auto;padding:56px 48px 8px}
@media(max-width:900px){.phband{padding:36px 20px 4px}}

/* gallery grid: every 3rd item was forced to 3:4 while its row-mates were 4:3,
   so each row left a tall empty gap. One ratio for all. */
.photo-grid>div,.photo-grid>div:nth-child(3n+1){aspect-ratio:4/3}

/* click-to-play video (trek pages) */
.ytf{position:relative;border-radius:3px;overflow:hidden;background:var(--gd)}
.ytf button{display:block;width:100%;padding:0;border:0;background:none;cursor:pointer;position:relative;line-height:0}
.ytf button:focus-visible{outline:3px solid var(--gm);outline-offset:3px}
.ytf img{width:100%;aspect-ratio:16/9;object-fit:cover;display:block;transition:transform .3s,filter .3s}
.ytf button:hover img,.ytf button:focus-visible img{transform:scale(1.03);filter:brightness(.88)}
.ytf .ytc{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;pointer-events:none}
.ytf .ytcb{width:64px;height:64px;border-radius:50%;background:rgba(var(--gd-rgb),.7);border:2px solid rgba(255,255,255,.85);color:#fff;display:flex;align-items:center;justify-content:center;font-size:21px;padding-left:5px;line-height:1}
.ytf iframe{width:100%;aspect-ratio:16/9;display:block;border:0}
.ytn{font-size:12px;color:var(--st);margin-top:9px;line-height:1.5}

/* founder's take — portrait + attributed quote, above "About this trek" */
.otake{background:#fff;border:1px solid var(--cd);border-left:3px solid var(--gm);
  border-radius:3px;padding:24px 28px;margin-bottom:22px;
  display:flex;align-items:flex-start;gap:24px}
.otake-p{flex:0 0 auto;width:130px}
.otake-p img{width:100%;height:auto;display:block}
.otake-b{flex:1 1 auto;min-width:0}
.otake-m{font-family:Georgia,serif;font-size:44px;line-height:.2;color:var(--gm);
  opacity:.28;display:block;margin:14px 0 14px}
.otake-q{font-family:var(--ff-head);font-size:21px;line-height:1.45;font-weight:600;
  letter-spacing:-.01em;color:var(--dk);margin:0 0 14px}
.otake-w{font-size:13px;color:var(--st);line-height:1.5}
.otake-w b{color:var(--dk);font-weight:700;font-family:var(--ff-head)}
@media(max-width:700px){
  .otake{gap:16px;padding:20px}
  .otake-p{width:84px}
  .otake-q{font-size:18px}
  .otake-m{font-size:34px;margin:10px 0 12px}
}

/* ---- mobile: booking box moves above the contact form ----
   .pw is a 2-col grid on desktop (content | sticky sidebar). Below 960px it
   collapses, which pushed the booking box to the very bottom. Flattening
   .main with display:contents makes every card a direct flex child of .pw,
   so the sidebar can be ordered between the content and the form. */
@media(max-width:960px){
  .pw{display:flex;flex-direction:column;gap:28px}
  .main{display:contents}
  .sidebar{order:1}
  .pw #contact{order:2}
  .main > .card:last-child{order:3}
}
#booking{scroll-margin-top:92px}

/* ---- audio-summary control ----
   Sits in the "About this trek" heading row, right-aligned, instead of floating
   over the page: the fixed bottom-left corner now carries the booking CTA.
   position:relative keeps .aufab-p (the progress bar) anchored to the button. */
.aufab{display:inline-flex;position:relative;
  align-items:center;gap:11px;padding:11px 18px 11px 13px;border:0;cursor:pointer;
  border-radius:999px;background:var(--gm);color:#fff;text-align:left;
  font-family:var(--ff-head);box-shadow:0 2px 10px rgba(13,36,54,.16);
  overflow:hidden;transition:background .15s}
.aufab:hover{background:var(--gh)}
.aufab:focus-visible{outline:3px solid #fff;outline-offset:2px}
.aufab-i{width:30px;height:30px;flex:0 0 auto;border-radius:50%;
  background:rgba(255,255,255,.16);display:flex;align-items:center;justify-content:center}
.aufab-i svg{width:14px;height:14px;display:block;fill:#fff}
.aufab .ic-pause,.aufab.playing .ic-play{display:none}
.aufab.playing .ic-pause{display:block}
.aufab-t{display:flex;flex-direction:column;line-height:1.15}
.aufab-t b{font-size:14px;font-weight:600;letter-spacing:-.01em}
.aufab-time{font-family:var(--ff-body);font-size:11.5px;font-weight:400;
  color:rgba(255,255,255,.72);margin-top:2px;font-variant-numeric:tabular-nums}
.aufab-p{position:absolute;left:0;right:0;bottom:0;height:3px;background:rgba(255,255,255,.18)}
.aufab-p i{display:block;height:100%;width:0;background:#fff;transition:width .25s linear}
/* heading row: section title left, audio control right. .ct carries the
   section's bottom margin on its own, so the row takes it over. */
.ahd{display:flex;align-items:center;justify-content:space-between;gap:16px;
  flex-wrap:wrap;margin-bottom:20px}
.ahd .ct{margin-bottom:0}
@media(max-width:560px){.ahd{gap:12px}.ahd .aufab{width:100%;justify-content:flex-start}}

/* ---- floating booking CTA, bottom-left ---- */
.bkfab{display:inline-flex;position:fixed;bottom:22px;left:14px;z-index:998;
  align-items:center;gap:10px;padding:13px 20px;cursor:pointer;
  border-radius:999px;background:var(--gm);color:#fff;text-decoration:none;
  font-family:var(--ff-head);font-size:14px;font-weight:600;letter-spacing:-.01em;
  box-shadow:0 6px 22px rgba(13,36,54,.30);transition:background .15s,transform .15s}
.bkfab:hover{background:var(--gh);transform:translateY(-2px)}
.bkfab:focus-visible{outline:3px solid #fff;outline-offset:2px}
.bkfab svg{width:16px;height:16px;flex:0 0 auto;display:block;fill:currentColor}
/* WeTravel booking calendar: the embed renders a fixed 442x~600 block that never
   reflows, and its own script pins the iframe at min-height:500px, so the bottom
   and the right-hand column were cut off. Give the column room on wide screens,
   and wtfit.js scales the frame down when there is less than 442px to give. */
.wt-frame{overflow:hidden}
.wt-frame iframe{border:0;display:block;transform-origin:top left}
@media(min-width:961px){
  .pw{grid-template-columns:minmax(0,1fr) clamp(330px,30vw,372px)}
}
@media(max-width:960px){
  /* Stacked layout. .sidebar is a flex item of .pw (align-items:start), so it
     shrinks to its content unless told otherwise; without this the booking card
     cannot be sized at all. The card is then held to the width of the 316px
     frame inside it, so no blank area is left beside the calendar. */
  .sidebar{align-self:stretch;width:100%}
  .bk{width:min(372px,100%);margin-left:auto;margin-right:auto}
}

/* route map inside "About this trek": mobile only, to break up the text block */
.tmap{display:block;width:100%;height:auto;margin:22px 0 6px;
      border-radius:var(--rad-media);border:1px solid var(--cd)}
@media(max-width:960px){
  /* phones: run it out to the screen edges, like the day photos */
  .tmap{margin:20px -30px 6px;width:calc(100% + 60px);border-radius:0;
        border-left:0;border-right:0}
}

/* mobile: four stat tiles in one row at full column width.
   .pw is a flex column with align-items:start and .main is display:contents,
   so .sr is a flex item and must be told to stretch or it shrinks to its content. */
@media(max-width:960px){
  .sr{align-self:stretch;width:100%;grid-template-columns:repeat(4,1fr)}
  .sc2{padding:13px 4px}
  .si{font-size:19px;margin-bottom:4px;line-height:1}
  .sv{font-size:13.5px;line-height:1.2;letter-spacing:-.02em}
  .sl2{font-size:10.5px;line-height:1.25;margin-top:2px}
}

/* desktop: Tripadvisor badge is fixed bottom-left too, so sit the button above it */
@media(min-width:901px){.bkfab{left:28px;bottom:105px}}
@media(max-width:380px){.aufab{padding:10px 15px 10px 11px;gap:9px}.aufab-t b{font-size:13px}
  .bkfab{padding:12px 16px;font-size:13.5px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.aufab-p i{transition:none}}

/* audio summary: transcript block */

/* consent.js already hides .waf and .ta-float while the banner is pending —
   the booking CTA sits in the same corner, so it hides with them. The audio
   control is in the page flow now and is not affected. */
body.wt-consent-open .bkfab{display:none!important}

/* ============================================================
   SOFTER SHAPES
   One radius scale instead of a flat 3px everywhere, and the hard
   1px frames come off the content cards — white-on-cream plus a very
   light shadow separates them without drawing a line.
   Borders are kept where they do a job: form fields, tables, outline
   buttons, the booking box, the consent dialog.
   ============================================================ */
:root{
  --rad-card:16px;   /* panels, cards, sections */
  --rad-media:14px;  /* photos, video, image tiles */
  --rad-btn:10px;    /* buttons and inputs */
  --shadow-card:0 1px 2px rgba(var(--gd-rgb),.04), 0 10px 28px rgba(var(--gd-rgb),.05);
}

/* --- containers --- */
.card,.faq,.info-card,.cg-card,.form-card,.feat,.camp,.pc,.pm,.mb,.md,.ac,.ar,
.hb,.rc,.tc,.tm,.otake,.dtc,.wa-card,.vid-card,.vc,.tec,.todo,.cta-row,.ta-sb,
.dtnote,.legal-note,.map-ph,.err-s,.ds,.rf,.sr,.wt-embed-hold,.bkw,.wr{
  border-radius:var(--rad-card)
}
/* frames off the text/content panels */
.card,.faq,.info-card,.cg-card,.form-card,.camp,.pc,.pm,.mb,.md,.ac,.ar,.hb,
.rc,.tc,.tm,.otake,.dtc,.feat,.vc,.tec,.todo,.cta-row,.map-ph,.rf{
  border:none;
  box-shadow:var(--shadow-card)
}
/* the founder note keeps its blue edge — it is the one accent, not a frame */
.otake{border-left:3px solid var(--gm)}

/* --- media --- */
.gm,.gm2,.gt,.img,.ytf,.insta-cell,.fi3,.hst,.photo-grid>div,.dtgal img,.dtc-i,.ri,.ti{
  border-radius:var(--rad-media)
}
.dtgal img{border:none}

/* --- buttons and fields --- */
.btnb,.btng,.btnw,.btnwa,.wa-btn,.fbt,.soc-btn,.cta-b,.bp,.fb3,.fi,
.vr,.ig-link,.bkd,.md a,.err-links a,.fsoc a,.dtc-a,.wt-c-bt button,
.wt-embed-hold button,.ta-float{
  border-radius:var(--rad-btn)
}

/* --- small meta chips become pills --- */
.chip,.htag,.badge,.atag,.hbadge,.tch span,.dtc-m span,.fb4 .tag,.rb2 .tag{
  border-radius:999px
}

/* --- keep the booking box readable but soften its frame --- */
.bk,.dtbook{border-radius:var(--rad-card);border-width:1px}

/* a card that opens with a full-bleed photo clips it to the card's own curve,
   so you never see two different radii stacked at one corner */
.tc,.rc,.dtc,.cg-card,.vid-card,.feat,.tm,.insta-cell,.ds{overflow:hidden}
.ti,.ri,.dtc-i,.fi3,.tp{border-radius:0}
.skip-link{border-radius:0 0 var(--rad-btn) 0}

/* ---------- day-by-day postcards (trek pages) ---------- */
.dstack{display:flex;flex-direction:column;gap:26px}
.dcard{display:flex;flex-direction:column}
.dph{position:relative;border-radius:var(--rad-media);overflow:hidden;aspect-ratio:3/2;background:var(--tn)}
.dph img{width:100%;height:100%;object-fit:cover;display:block}
.dph::after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(to top,rgba(0,0,0,.70) 0%,rgba(0,0,0,.40) 18%,rgba(0,0,0,.12) 36%,rgba(0,0,0,0) 56%)}
.dph-c{position:absolute;left:0;right:0;bottom:0;z-index:2;padding:16px 18px}
.dchip{display:inline-block;font-family:var(--ff-head);font-size:11px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;background:var(--ga);color:var(--dk);padding:4px 11px;border-radius:999px;margin-bottom:9px}
.dph-t{font-family:var(--ff-head);font-size:20px;font-weight:700;line-height:1.2;color:#fff;letter-spacing:-.01em;text-shadow:0 1px 10px rgba(0,0,0,.55),0 1px 2px rgba(0,0,0,.5)}
.dph-s{font-size:13px;color:rgba(255,255,255,.92);margin-top:5px;text-shadow:0 1px 8px rgba(0,0,0,.55)}
.dtx{font-size:15px;line-height:1.72;color:#4a443d;padding-top:14px}
.dbw{margin-top:11px}
@media(min-width:961px){.dcard{flex-direction:row;gap:26px;align-items:flex-start}.dph{flex:0 0 320px;aspect-ratio:3/2}.dtx{padding-top:0}}
/* phones: run the day photo out to the card edges - 350px instead of 290px, no extra weight */
@media(max-width:700px){.dph{margin-left:-30px;margin-right:-30px;border-radius:0}.dtx{padding-top:16px}}

/* ---------- collapsible cards ---------- */
.acc{align-self:stretch;width:100%;background:#fff;border-radius:var(--rad-card);box-shadow:var(--shadow-card);overflow:hidden}
.acc>summary{list-style:none;cursor:pointer;padding:22px 30px;display:flex;align-items:center;gap:14px;font-family:var(--ff-head);font-size:17px;font-weight:700;letter-spacing:-.01em;color:var(--dk)}
.acc>summary::-webkit-details-marker{display:none}
.acc>summary:focus-visible{outline:3px solid var(--gl);outline-offset:-4px}
.acc>summary .mt{flex:1}
.acc>summary .sub{display:block;font-family:var(--ff-body);font-size:13px;font-weight:400;color:var(--st);margin-top:4px}
.acc>summary .cv{width:28px;height:28px;border-radius:50%;background:var(--tn);display:flex;align-items:center;justify-content:center;font-size:12px;color:var(--gm);flex:0 0 auto;transition:transform .2s}
.acc[open]>summary .cv{transform:rotate(180deg)}
.acc[open]>summary{padding-bottom:16px}
.acc .accb{padding:0 30px 28px}

/* ---------- "All Treks" submenu ---------- */
.nl .has-sub{position:relative}
.nl .has-sub>a::after{content:'';display:inline-block;margin-left:7px;vertical-align:middle;
  border:4px solid transparent;border-top-color:currentColor;border-bottom:0;transition:transform .18s}
.nl .has-sub:hover>a::after,.nl .has-sub:focus-within>a::after{transform:rotate(180deg)}
.nl .nsub{position:absolute;top:100%;left:-12px;margin-top:12px;min-width:238px;list-style:none;
  background:#fff;border-radius:var(--rad-card);box-shadow:0 12px 34px rgba(var(--gd-rgb),.20);
  padding:8px;z-index:120;opacity:0;visibility:hidden;transform:translateY(-6px);
  transition:opacity .16s ease,transform .16s ease,visibility .16s}
.nl .nsub::before{content:'';position:absolute;left:0;right:0;top:-14px;height:14px}
.nl .has-sub:hover .nsub,.nl .has-sub:focus-within .nsub{opacity:1;visibility:visible;transform:none}
.nl .nsub a{display:block;padding:10px 14px;border-radius:var(--rad-btn);font-size:14px;
  font-weight:500;color:var(--dk);white-space:nowrap;transition:background .15s,color .15s}
.nl .nsub a:hover,.nl .nsub a:focus-visible{background:var(--cr);color:var(--gm)}
.nl .nsub .nsub-all{margin-top:6px;padding-top:14px;border-top:1px solid var(--cd);
  color:var(--gm);font-weight:600;border-radius:0 0 var(--rad-btn) var(--rad-btn)}
@media(hover:none){.nl .nsub{display:none}}
.md a.md-sub{padding-left:28px;font-size:13px;font-weight:500;color:var(--st);position:relative}
.md a.md-sub::before{content:'';position:absolute;left:16px;top:50%;width:5px;height:1px;background:var(--cd)}
.md a.md-sub:hover{color:var(--gm)}

/* ---------- AI image disclosure label ---------- */
.hero .aiflag{position:absolute;right:16px;bottom:12px;z-index:3;font-family:var(--ff-body);
  font-size:10px;line-height:1;letter-spacing:.07em;text-transform:uppercase;
  color:rgba(255,255,255,.60);background:rgba(0,0,0,.26);padding:5px 9px;border-radius:999px;
  pointer-events:none;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}
@media(max-width:600px){.hero .aiflag{right:10px;bottom:9px;font-size:9px;padding:4px 8px}}
