/* ==========================================================================
   Trans Holidays Travels & Tours — Nepal Journeys
   Design system for the static multi-page build.

   Palette, type and section rhythm come from "Nepal Journeys.dc.html".
   The hero (editorial Syne headline + the photo strip that rises on load and
   sinks on scroll) is ported from ../travel_web.
   ========================================================================== */

:root {
  --ink:        #0d1214;
  --ink-2:      #33474c;
  --muted:      #6b7378;
  --muted-2:    #8a9297;
  --line:       #e7eaeb;
  --line-2:     #dfe4e5;
  --bg:         #f7f8f8;
  --surface:    #ffffff;
  --sand:       #eeeae2;
  --sand-line:  #e2ddd3;
  --sand-rule:  #d5cfc3;
  --teal:       #16a5b8;
  --teal-deep:  #0b5a66;
  --teal-dark:  #0e7c8c;
  --amber:      #f59a23;
  --amber-soft: #fbd9a5;
  --amber-ink:  #8a4b00;
  --night:      #0d1214;
  --night-2:    #0a0c0d;

  --ease:  cubic-bezier(.16, 1, .3, 1);
  --ease2: cubic-bezier(.22, 1, .36, 1);

  --shell:   1240px;
  --shell-w: 1400px;
  --pad:     24px;

  --font: Archivo, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --display: 'Syne', Archivo, "Helvetica Neue", Helvetica, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html, body { background: var(--bg); }
body {
  font-family: var(--font);
  color: var(--ink);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  transition: background .45s ease, color .45s ease;
}
body.menu-open, body.lock { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
::-webkit-scrollbar { width: 0; height: 0; }

@keyframes ttg-blink    { 0%,100% { opacity: 1; } 50% { opacity: 0; } }
@keyframes ttg-pulse    { 0%,100% { box-shadow: 0 0 0 4px rgba(245,154,35,.24); } 50% { box-shadow: 0 0 0 9px rgba(245,154,35,0); } }
@keyframes ttg-scrollcue{ 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }
@keyframes ttg-marquee  { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes ttg-kenburns { from { transform: scale(1.03); } to { transform: scale(1.14); } }
@keyframes ttg-spin     { to { transform: rotate(360deg); } }

/* ==========================================================================
   1. Preloader — the brand types itself, then the veil lifts
   ========================================================================== */
.preloader {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg);
  transition: transform 1.4s cubic-bezier(.45,0,.15,1);
}
.pre-stack { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.pre-logo { width: 96px; height: auto; }
.pre-word {
  display: inline-flex; align-items: baseline;
  font-size: clamp(26px, 4vw, 42px); font-weight: 700;
  letter-spacing: -.03em; color: var(--ink);
}
.pre-word .l { opacity: 0; transition: opacity .12s ease; }
.pre-word .l.dot { color: var(--amber); }
.pre-cursor {
  display: inline-block; width: 2px; height: 1em; margin-left: 6px;
  background: var(--teal); animation: ttg-blink .9s step-end infinite;
}
.preloader.done { transform: translateY(-100%); }
.preloader.gone { display: none; }

/* ==========================================================================
   2. Header — floating glass pill, hover-tracking indicator
   ========================================================================== */
.ttg-nav {
  position: fixed; top: 18px; left: 50%; transform: translateX(-50%);
  width: 92%; max-width: var(--shell-w); z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: 10px 14px 10px 22px; border-radius: 999px;
  background: rgba(247,252,253,.55);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255,255,255,.65);
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 12px 40px rgba(11,60,70,.12);
  transition: background .4s ease, box-shadow .4s ease, border-color .4s ease;
}
.ttg-nav.glassy {
  background: rgba(255,255,255,.74);
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 14px 44px rgba(11,60,70,.16);
}
/* Over the dark photo strip the bar inverts, as it did in the dc build. */
.ttg-nav.over {
  background: rgba(10,18,21,.34);
  border-color: rgba(255,255,255,.24);
  box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 18px 50px rgba(0,0,0,.34);
}
.ttg-logo { display: flex; align-items: center; gap: 10px; flex: none; }
.ttg-logo img { height: 46px; width: auto; }

.ttg-links {
  position: relative; display: flex; align-items: center; gap: 6px;
  font-size: 15px; font-weight: 500;
}
.ttg-links a {
  position: relative; z-index: 2; padding: 9px 16px; border-radius: 999px;
  color: var(--ink-2); font-weight: 500;
  transition: color .35s ease, font-weight .2s ease;
}
.ttg-links a.active { color: var(--teal-deep); font-weight: 600; }
.ttg-nav.over .ttg-links a { color: rgba(255,255,255,.88); }
.ttg-nav.over .ttg-links a.active { color: #8ee7f2; }

/* The indicator follows the pointer and returns to the current page. */
.ttg-pill {
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  height: 38px; width: 0; border-radius: 999px;
  background: rgba(22,165,184,.14); border: 1px solid rgba(22,165,184,.28);
  opacity: 0; pointer-events: none;
  transition: left .45s var(--ease), width .45s var(--ease),
              opacity .3s ease, background .35s ease, border-color .35s ease;
}
.ttg-nav.over .ttg-pill { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.34); }

.ttg-actions { flex: none; display: flex; align-items: center; gap: 12px; }
.ttg-theme {
  position: relative; width: 76px; height: 38px; border-radius: 999px;
  border: 1px solid rgba(11,90,102,.16); background: rgba(11,90,102,.07);
  display: flex; align-items: center; justify-content: space-between; padding: 0;
  transition: background .35s ease, border-color .35s ease;
}
.ttg-nav.over .ttg-theme { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.28); }
.ttg-knob {
  position: absolute; top: 3px; left: 3px; width: 32px; height: 30px;
  border-radius: 999px; background: #fff; box-shadow: 0 3px 10px rgba(11,60,70,.22);
  transition: transform .42s var(--ease), background .35s ease;
}
.ttg-sun, .ttg-moon {
  position: relative; z-index: 2; width: 38px;
  display: flex; align-items: center; justify-content: center;
  transition: color .35s ease;
}
.ttg-sun  { color: var(--teal-deep); }
.ttg-moon { color: #8a9aa0; }
.ttg-nav.over .ttg-sun  { color: #fff; }
.ttg-nav.over .ttg-moon { color: rgba(255,255,255,.6); }

.ttg-cta {
  background: var(--teal-deep); color: #fff; font-size: 15px; font-weight: 600;
  padding: 13px 28px; border-radius: 999px;
  box-shadow: 0 8px 20px rgba(11,90,102,.22);
  transition: background .3s ease, transform .2s ease;
}
.ttg-cta:hover  { background: var(--teal); color: #fff; }
.ttg-cta:active { transform: scale(.97); }

.ttg-burger {
  display: none; width: 44px; height: 44px; border-radius: 999px;
  border: 1px solid rgba(11,90,102,.16); background: rgba(11,90,102,.07);
  align-items: center; justify-content: center; color: var(--teal-deep);
  flex-direction: column; gap: 6px;
}
.ttg-burger .ln { width: 18px; height: 1.6px; background: currentColor; border-radius: 2px; transition: width .3s ease; }
.ttg-burger:hover .ln.top { width: 12px; }
.ttg-nav.over .ttg-burger { color: #fff; background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.28); }

/* Full-screen mobile sheet */
.menu {
  position: fixed; inset: 0; z-index: 59; background: var(--bg);
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.menu.open { display: flex; }
.menu a {
  font-size: clamp(26px, 6vw, 40px); font-weight: 300; letter-spacing: .08em;
  text-transform: uppercase; padding: 10px 16px; transition: color .25s ease;
}
.menu a:hover, .menu a.active { color: var(--teal); }

@media (max-width: 1023px) {
  .ttg-links { display: none; }
  .ttg-burger { display: flex; }
}
@media (max-width: 559px) {
  .ttg-cta { display: none; }
  .ttg-nav { padding: 8px 10px 8px 16px; gap: 12px; }
  .ttg-logo img { height: 38px; }
}

/* ==========================================================================
   3. Hero — ported from travel_web
   ========================================================================== */
.hero {
  position: relative; min-height: 100vh; overflow: visible;
  display: flex; align-items: center; padding-top: 80px;
  background-image: var(--hero-bg, linear-gradient(180deg, #eaf0f1 0%, #f1ede6 46%, #f5f0ea 100%));
  background-size: cover; background-position: center;
}
.hero-text-block {
  position: relative; z-index: 30; width: 100%;
  opacity: 0; transform: translateY(-28px);
}
.hero-text-block.in {
  opacity: 1; transform: none;
  transition: opacity .7s var(--ease2) .1s, transform .7s var(--ease2) .1s;
}
.hero-heading-top {
  display: flex; align-items: flex-end; justify-content: space-between;
  padding: 0 24px; margin-bottom: -.04em;
}
/* The copy sits over the risen photo, so it runs white with the scrim behind it. */
.hero-kicker {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  color: #fff; letter-spacing: -.03em; line-height: 1;
  text-shadow: 0 2px 24px rgba(6,18,22,.4);
}
.hero-sub-desktop {
  font-family: var(--display); font-weight: 700; text-align: right;
  font-size: clamp(10px, .95vw, 14px); max-width: 320px;
  line-height: 1.6; margin-bottom: .2em; letter-spacing: .02em;
  color: rgba(255,255,255,.82);
}
.hero-headline-wrap { overflow: hidden; }
.hero-headline {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  color: #fff; letter-spacing: -.03em; padding: 0 24px;
  text-shadow: 0 2px 30px rgba(6,20,24,.28);
}
.hero-sub-mobile {
  font-family: var(--display); font-weight: 600; padding: 0 24px;
  font-size: clamp(12px, 3vw, 15px); margin-top: .9em; color: rgba(255,255,255,.8);
}
.hero-meta {
  position: relative; z-index: 30; display: flex; align-items: center;
  gap: 14px; flex-wrap: wrap; padding: 26px 24px 0;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 18px 9px 12px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.12);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 12px; font-weight: 600; letter-spacing: .14em; color: #fff;
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 999px; background: var(--amber);
  animation: ttg-pulse 2.4s ease-in-out infinite;
}
.hero-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--teal); color: #fff; font-size: 15px; font-weight: 600;
  padding: 14px 26px; border-radius: 999px;
  box-shadow: 0 12px 30px rgba(6,20,24,.18);
  transition: background .3s ease, transform .25s var(--ease);
}
.hero-btn:hover { background: var(--teal-dark); transform: translateY(-2px); }
.hero-btn.ghost {
  background: rgba(255,255,255,.12); color: #fff;
  border: 1px solid rgba(255,255,255,.36); box-shadow: none;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.hero-btn.ghost:hover { background: rgba(255,255,255,.24); color: #fff; }
.hero-btn svg { width: 17px; height: 17px; }

@media (min-width: 768px) {
  .hero-heading-top, .hero-headline, .hero-sub-mobile, .hero-meta { padding-left: 40px; padding-right: 40px; }
}
@media (min-width: 1024px) {
  .hero-heading-top, .hero-headline, .hero-sub-mobile, .hero-meta { padding-left: 64px; padding-right: 64px; }
}
@media (max-width: 639px) {
  .hero-sub-desktop { display: none; }
  .hero-sub-mobile  { display: block; }
  .hero-heading-top { justify-content: flex-start; }
  .hero-kicker   { font-size: 7.5vw; }
  /* Break at the space, never mid-word — 'JOURNEY' split across two lines
     was the one thing that made this headline look accidental. */
  /* Sized so the longest word — JOURNEY, and Syne's caps are wide — still
     fits one line at 320px. */
  .hero-headline { font-size: 10vw; white-space: normal; word-break: normal; overflow-wrap: normal; line-height: .9; }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .hero-sub-desktop { display: none; }
  .hero-sub-mobile  { display: block; }
  .hero-heading-top { justify-content: flex-start; }
  .hero-kicker   { font-size: 5.5vw; }
  .hero-headline { font-size: 10.3vw; white-space: normal; word-break: normal; overflow-wrap: normal; line-height: .9; }
}
@media (min-width: 1024px) {
  .hero-sub-desktop { display: block; }
  .hero-sub-mobile  { display: none; }
  .hero-kicker   { font-size: 3vw; }
  /* nowrap on one line, so the size is bounded by the narrowest desktop
     viewport (1024px) rather than by taste. */
  .hero-headline { font-size: 6.2vw; white-space: nowrap; line-height: .88; }
}

/* The photo strip: rises on load, sinks away as the page scrolls. */
.house-wrap {
  position: fixed; z-index: 22; pointer-events: none; will-change: transform;
  bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; min-width: 1400px;
}
.house-inner {
  position: relative; transform: translateY(102vh); will-change: transform;
  /* The top edge melts into the hero background instead of cutting across it. */
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 13%, #000 100%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 13%, #000 100%);
}
.house-inner.lifting { transform: translateY(0); transition: transform 1.5s cubic-bezier(.45,0,.15,1) .4s; }
.house-inner.lift-done { transition: none; }
.house-inner img { width: 100%; height: 92vh; object-fit: cover; object-position: center 8%; animation: ttg-kenburns 14s ease-in-out infinite alternate; }
/* Scrim, so the white headline reads at every breakpoint whatever the photo
   is doing behind it. */
.house-inner::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(6,18,22,0) 6%, rgba(6,18,22,.36) 34%, rgba(6,18,22,.6) 100%);
}

.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  z-index: 31; display: flex; flex-direction: column; align-items: center; gap: 9px;
  color: rgba(255,255,255,.8); font-size: 11px; font-weight: 600; letter-spacing: .18em;
}
.scroll-cue .rail { position: relative; width: 1px; height: 38px; background: rgba(255,255,255,.3); overflow: hidden; }
.scroll-cue .rail span { position: absolute; inset: 0 auto auto 0; width: 1px; height: 14px; background: var(--amber); animation: ttg-scrollcue 2s ease-in-out infinite; }
@media (max-width: 767px) { .scroll-cue { display: none; } }

/* ==========================================================================
   4. Dark statement + stats (sticky), sits under the sinking strip
   ========================================================================== */
.s2-spacer { height: 0vh; background: #f5f0e9; }
.s2-outer  { position: relative; height: 200vh; z-index: 20; }
.s2-section{ position: sticky; top: 0; height: 100vh; background: #10181a; overflow: hidden; }
.s2-photo {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: .5; animation: ttg-kenburns 4s ease-in-out infinite alternate;
}
.s2-content {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(30px,4vw,60px) 24px clamp(60px,8vw,120px);
}
.s2-inner { max-width: 1200px; margin: 0 auto; width: 100%; padding-left: 25%; }
.s2-eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.52); margin-bottom: clamp(20px,2.4vw,32px);
}
.s2-statement {
  font-weight: 300; color: #e8e4df; letter-spacing: -.02em; line-height: 1.35;
  font-size: clamp(22px, 2.6vw, 42px);
}
.s2-statement em { font-style: normal; color: #fff; font-weight: 500; }
.s2-stats { margin-top: clamp(40px,5vw,72px); display: flex; }
.s2-stat  { flex: 1; }
.s2-stat + .s2-stat { border-left: 1px solid rgba(255,255,255,.2); padding-left: clamp(20px,2.5vw,40px); }
.s2-num   { font-weight: 300; color: #fff; font-size: clamp(34px,4.5vw,72px); line-height: 1.1; letter-spacing: -.02em; }
.s2-label { font-weight: 400; color: rgba(255,255,255,.6); font-size: clamp(12px,1.1vw,15px); margin-top: 6px; }
@media (min-width: 768px) { .s2-content { padding-left: 40px; padding-right: 40px; } }
@media (min-width: 1024px){ .s2-content { padding-left: 64px; padding-right: 64px; } }
@media (max-width: 767px) {
  .s2-inner { padding-left: 0; }
  .s2-outer { height: 150vh; }
  .s2-stats { flex-wrap: wrap; gap: 24px; }
  .s2-stat  { flex: 1 1 40%; }
  .s2-stat + .s2-stat { border-left: 0; padding-left: 0; }
}
@media (min-width: 768px) and (max-width: 1023px) { .s2-inner { padding-left: 15%; } }

/* ==========================================================================
   5. Section shell
   ========================================================================== */
.sec { position: relative; z-index: 26; background: var(--bg); color: var(--ink); }
.sec.tint  { background: #f1f4f4; }
.sec.night { background: var(--night); color: #fff; }
.sec-inner { max-width: var(--shell); margin: 0 auto; padding: clamp(72px,9vw,132px) var(--pad); }
.sec-inner.tight { padding-top: clamp(48px,6vw,84px); padding-bottom: clamp(48px,6vw,84px); }
.sec-inner.wide  { max-width: var(--shell-w); }
@media (min-width: 768px)  { .sec-inner { padding-left: 40px; padding-right: 40px; } }
@media (min-width: 1024px) { .sec-inner { padding-left: 64px; padding-right: 64px; } }

.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted-2);
}
.sec-title {
  margin-top: 14px; font-size: clamp(32px,4.6vw,52px); line-height: 1.08;
  font-weight: 700; letter-spacing: -.03em; text-wrap: balance;
}
.sec-title.xl { font-size: clamp(34px,5vw,56px); max-width: 16ch; }
.lead { margin-top: 24px; max-width: 54ch; font-size: 17px; line-height: 1.65; color: var(--muted); }
.lead.centre { margin-left: auto; margin-right: auto; text-align: center; }
.centre { text-align: center; }
.centre .lead { margin-left: auto; margin-right: auto; }

.sec-link {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 34px;
  font-size: 15px; font-weight: 600; color: var(--teal-deep);
  border-bottom: 1px solid rgba(11,90,102,.28); padding-bottom: 4px;
  transition: gap .3s var(--ease), color .3s ease, border-color .3s ease;
}
.sec-link:hover { gap: 16px; color: var(--teal); border-color: var(--teal); }
.sec-link svg { width: 17px; height: 17px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--teal); color: #fff; font-size: 16px; font-weight: 600;
  padding: 15px 30px; border-radius: 999px; min-height: 48px;
  transition: background .3s ease, transform .2s ease, box-shadow .3s ease;
}
.btn:hover  { background: var(--teal-dark); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(11,90,102,.24); }
.btn:active { transform: scale(.98); }
.btn svg { width: 17px; height: 17px; }
.btn.deep  { background: var(--teal-deep); }
.btn.deep:hover { background: var(--teal); }
.btn.ghost { background: transparent; color: var(--teal-deep); border: 1px solid var(--line-2); }
.btn.ghost:hover { background: #eef8fa; border-color: var(--teal); color: var(--teal-deep); box-shadow: none; }
.btn.light { background: #fff; color: var(--ink); }
.btn.light:hover { background: #fff; color: var(--teal-deep); }
.btn.block { width: 100%; }

/* ==========================================================================
   6. Marquee
   ========================================================================== */
.marquee {
  position: relative; z-index: 26; overflow: hidden; user-select: none;
  padding: 26px 0; background: var(--bg);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.marquee-track { display: flex; width: max-content; animation: ttg-marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  display: flex; align-items: center; gap: 38px; padding-right: 38px;
  font-size: 15px; font-weight: 600; letter-spacing: .16em; color: var(--muted-2);
  white-space: nowrap;
}
.marquee-track i { color: var(--amber); font-style: normal; }

/* ==========================================================================
   7. Search / filter bar
   ========================================================================== */
.finder {
  position: relative; z-index: 27;
  max-width: 1140px; margin: -68px auto 0; padding: 0 var(--pad);
}
/* Inside a normal section shell the card needs neither the lift nor the pad. */
.finder.flat { margin: 0 auto; padding: 0; }
.finder-card { background: var(--surface); border-radius: 20px; box-shadow: 0 30px 70px rgba(4,14,18,.18); overflow: hidden; }
.finder-tabs { display: flex; align-items: center; gap: 8px; padding: 16px 22px 0; overflow-x: auto; }
.finder-tabs button {
  display: flex; align-items: center; gap: 9px; padding: 10px 14px 14px;
  border-bottom: 2px solid transparent; font-size: 15px; font-weight: 500;
  color: #7b858a; white-space: nowrap; transition: color .25s ease, border-color .25s ease;
}
.finder-tabs button svg { width: 18px; height: 18px; }
.finder-tabs button:hover { color: var(--teal-deep); }
.finder-tabs button.on { color: var(--teal); font-weight: 600; border-bottom-color: var(--teal); }
.finder-row {
  border-top: 1px solid #edf0f1; display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 1fr auto; align-items: stretch;
}
.finder-field {
  display: flex; align-items: center; gap: 12px; padding: 18px 22px;
  border-left: 1px solid #edf0f1; cursor: pointer;
}
.finder-field:first-child { border-left: 0; }
.finder-field svg { width: 20px; height: 20px; flex: none; stroke: #8b9498; }
.finder-field .stack { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.finder-field .k { font-size: 15px; font-weight: 600; color: var(--ink); }
.finder-field .v { font-size: 15px; color: #8b9498; }
.finder-field input, .finder-field select {
  border: 0; outline: none; background: transparent; font-size: 15px; color: var(--ink); padding: 0; width: 100%;
}
.finder-go {
  margin: 12px; padding: 0 34px; background: var(--teal); color: #fff;
  font-size: 16px; font-weight: 600; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px;
  transition: background .25s ease, transform .2s ease;
}
.finder-go:hover  { background: var(--teal-dark); }
.finder-go:active { transform: scale(.97); }
.finder-go svg { width: 19px; height: 19px; }
@media (max-width: 1023px) {
  .finder { margin-top: 32px; }
  .finder-row { grid-template-columns: 1fr 1fr; }
  .finder-field { border-left: 0; border-top: 1px solid #edf0f1; }
  .finder-go { grid-column: 1 / -1; }
}
@media (max-width: 559px) { .finder-row { grid-template-columns: 1fr; } }

/* ==========================================================================
   8. Destination mosaic
   ========================================================================== */
.mosaic { margin-top: 46px; display: grid; grid-template-columns: 1fr 1.05fr; gap: 26px; align-items: stretch; }
.mosaic-stack { display: grid; grid-template-rows: 1fr 1fr; gap: 26px; }
.tile {
  position: relative; display: block; overflow: hidden; border-radius: 18px;
  min-height: 250px; background-size: cover; background-position: center;
  transition: transform .7s var(--ease), box-shadow .6s ease;
}
.tile.tall { min-height: 520px; }
.tile::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0) 42%, rgba(0,0,0,.56) 100%);
}
.tile:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(6,20,24,.24); }
.tile-cap { position: absolute; left: 28px; right: 24px; bottom: 22px; z-index: 2; color: #fff; }
.tile-name { display: block; font-size: clamp(26px,3.4vw,44px); font-weight: 700; letter-spacing: -.02em; }
.tile-meta { display: block; margin-top: 6px; font-size: 16px; opacity: .92; }
.tile-badge {
  position: absolute; left: 20px; top: 18px; z-index: 2;
  background: #fff; color: var(--ink); font-size: 12px; font-weight: 700;
  letter-spacing: .08em; padding: 7px 14px; border-radius: 999px;
}
@media (max-width: 1023px) {
  .mosaic { grid-template-columns: 1fr; }
  .tile.tall { min-height: 340px; }
}

/* ==========================================================================
   9. Hover-expand region strip
   ========================================================================== */
.expand-band { position: relative; z-index: 26; background: var(--night); padding: clamp(20px,3vw,40px) 0; }
.expand-row {
  max-width: var(--shell-w); margin: 0 auto; padding: 0 clamp(16px,3vw,40px);
  display: flex; align-items: stretch; gap: clamp(10px,1.2vw,18px);
  height: clamp(420px,62vh,620px);
}
.expand-item {
  position: relative; display: block; flex: 1 1 0; min-width: 0;
  border-radius: 22px; overflow: hidden; background: #1b2124;
  background-size: cover; background-position: center;
  transition: flex-grow 2.85s var(--ease), filter .6s ease;
}
.expand-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 42%, rgba(0,0,0,.74) 100%);
}
.expand-row:hover .expand-item { flex-grow: .72; filter: saturate(.55) brightness(.72); }
.expand-row .expand-item:hover  { flex-grow: 4.2; filter: none; }
.expand-cap { position: absolute; left: clamp(16px,1.6vw,26px); right: clamp(16px,1.6vw,26px); bottom: clamp(18px,2vw,28px); z-index: 2; color: #fff; }
.expand-name { display: block; font-size: clamp(19px,1.7vw,27px); font-weight: 700; letter-spacing: -.02em; text-wrap: balance; }
.expand-meta {
  display: block; margin-top: 7px; font-size: 13px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.75);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  opacity: 1; transition: opacity .5s ease;
}
.expand-row:hover .expand-item .expand-meta { opacity: 0; }
.expand-row .expand-item:hover .expand-meta { opacity: 1; }
@media (max-width: 1023px) {
  .expand-row { height: auto; flex-wrap: wrap; }
  .expand-item { flex: 1 1 42%; min-height: 260px; }
  .expand-row:hover .expand-item { flex-grow: 1; filter: none; }
  .expand-row .expand-item:hover { flex-grow: 1; }
  .expand-row:hover .expand-item .expand-meta { opacity: 1; }
}

/* ==========================================================================
   10. Rails + tour cards
   ========================================================================== */
.rail-head { margin-top: 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.rail-note { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--muted-2); }
.rail-note svg { width: 17px; height: 17px; }
.rail-nav { display: flex; align-items: center; gap: 10px; }
.rail-btn {
  width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line-2);
  background: var(--surface); color: var(--teal-deep);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(16,44,52,.07);
  transition: background .25s ease, border-color .25s ease, transform .25s ease, opacity .25s ease;
}
.rail-btn svg { width: 19px; height: 19px; }
.rail-btn:hover:not(:disabled) { background: #eef8fa; border-color: var(--teal); }
.rail-btn[data-rail-prev]:hover:not(:disabled) { transform: translateX(-2px); }
.rail-btn[data-rail-next]:hover:not(:disabled) { transform: translateX(2px); }
.rail-btn:disabled { opacity: .35; cursor: default; }

.rail {
  margin-top: 18px; display: grid; grid-auto-flow: column;
  grid-auto-columns: minmax(300px, calc((100% - 56px) / 2.9));
  gap: 28px; overflow-x: auto; overflow-y: visible;
  scroll-snap-type: x mandatory; padding: 20px 0 28px; scroll-behavior: smooth;
}
@media (max-width: 767px) { .rail { grid-auto-columns: minmax(268px, 82%); gap: 18px; } }

.tcard {
  position: relative; scroll-snap-align: start; display: flex; flex-direction: column;
  border-radius: 18px; padding: 14px; background: var(--sand);
  border: 1px solid var(--sand-line); color: var(--ink); overflow: hidden;
  transition: transform .6s var(--ease), box-shadow .6s ease, border-color .5s ease, color .5s ease;
}
.tcard-fill {
  position: absolute; inset: 0; z-index: 0; background: var(--teal-deep);
  transform-origin: 50% 100%; transform: scaleY(0);
  transition: transform .62s var(--ease);
}
.tcard:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(11,90,102,.28); border-color: var(--teal-deep); color: #fff; }
.tcard:hover .tcard-fill { transform: scaleY(1); }
.tcard-shot {
  position: relative; z-index: 2; display: block; height: 250px; border-radius: 12px;
  overflow: hidden; background-size: cover; background-position: center;
  transition: transform .7s var(--ease);
}
.tcard:hover .tcard-shot { transform: scale(1.02); }
/* The body stretches so every card in a row lands its fare on the same line,
   whatever the title does. */
.tcard-body { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; padding: 22px 10px 8px; }
.tcard-name { display: block; font-size: 23px; font-weight: 700; letter-spacing: -.02em; text-wrap: balance; }
.tcard-chips { margin-top: 14px; display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--sand-rule); color: #3d443f; font-size: 12px; font-weight: 600;
  letter-spacing: .1em; padding: 6px 14px; border-radius: 999px; text-transform: uppercase;
  transition: border-color .5s ease, color .5s ease;
}
.tcard:hover .chip { border-color: rgba(255,255,255,.55); color: #fff; }
.tcard-rule { display: block; height: 1px; margin: 20px 0 0; background: var(--sand-rule); transition: background .5s ease; }
.tcard:hover .tcard-rule { background: rgba(255,255,255,.32); }
.tcard-foot { margin-top: auto; padding-top: 20px; display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; }
.tcard-len { display: grid; gap: 5px; font-size: 16px; color: #4a5150; transition: color .5s ease; }
.tcard:hover .tcard-len { color: rgba(255,255,255,.9); }
.tcard-fare {
  flex: none; display: grid; gap: 5px; justify-items: end; text-align: right;
  padding-left: 16px; border-left: 1px solid var(--sand-rule); transition: border-color .5s ease;
}
.tcard:hover .tcard-fare { border-color: rgba(255,255,255,.32); }
.tcard-fare-k { font-size: 11px; font-weight: 600; letter-spacing: .12em; color: #7b827f; white-space: nowrap; transition: color .5s ease; }
.tcard:hover .tcard-fare-k { color: rgba(255,255,255,.72); }
.tcard-price { font-size: 19px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; }
.tcard-was { font-size: 14px; color: #8b9186; text-decoration: line-through; white-space: nowrap; transition: color .5s ease; }
.tcard:hover .tcard-was { color: rgba(255,255,255,.6); }

.pill-save {
  position: absolute; left: 14px; top: 14px; z-index: 2;
  background: var(--amber-soft); color: var(--amber-ink);
  font-size: 12px; font-weight: 700; letter-spacing: .04em; padding: 7px 15px; border-radius: 999px;
}
.pill-row { position: absolute; left: 14px; bottom: 14px; z-index: 2; display: flex; align-items: center; gap: 9px; }
.pill-tag {
  background: #fff; color: var(--ink); font-size: 12px; font-weight: 700;
  letter-spacing: .1em; padding: 7px 15px; border-radius: 999px;
}
.like {
  position: absolute; right: 12px; top: 12px; z-index: 3;
  background: rgba(0,0,0,.22); width: 36px; height: 36px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center; color: #fff;
  backdrop-filter: blur(6px); transition: color .25s ease, background .25s ease;
}
.like svg { width: 19px; height: 19px; }
.like.on { color: var(--amber); }
.like.on svg { fill: var(--amber); }

/* Card grid variant (tours / offers index pages) */
.card-grid { margin-top: 46px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.card-grid .tcard { scroll-snap-align: none; }
@media (max-width: 1023px) { .card-grid, .card-grid.two { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (max-width: 639px)  { .card-grid, .card-grid.two { grid-template-columns: 1fr; } }

/* ==========================================================================
   11. Feature grid (why we travel / services)
   ========================================================================== */
.why-grid { margin-top: 46px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 26px; text-align: left; }
.why-col  { display: grid; grid-template-rows: 1fr 1fr; gap: 26px; }
.fcell {
  position: relative; border-radius: 16px; overflow: hidden; min-height: 250px;
  background-size: cover; background-position: center;
  transition: transform .7s var(--ease), box-shadow .6s ease;
}
.fcell.tall { min-height: 526px; text-align: center; }
.fcell::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.05) 38%, rgba(0,0,0,.58) 100%);
}
.fcell:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(6,20,24,.22); }
.fcell-cap { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 2; color: #fff; }
.fcell.tall .fcell-cap { left: 26px; right: 26px; bottom: 28px; }
.fcell-h { display: block; font-size: 26px; font-weight: 600; letter-spacing: -.01em; }
.fcell.tall .fcell-h { font-size: 32px; }
.fcell-p { display: block; margin-top: 8px; font-size: 15px; line-height: 1.5; opacity: .9; }
.fcell-tag {
  position: absolute; left: 18px; top: 18px; z-index: 2;
  background: #fff; color: var(--ink); font-size: 13px; font-weight: 600;
  padding: 7px 14px; border-radius: 999px;
}
.fcell-tag.amber { background: var(--amber); color: #fff; }
.fcell-tag.soft  { background: var(--amber-soft); color: var(--amber-ink); }
@media (max-width: 1023px) {
  .why-grid { grid-template-columns: 1fr; }
  .fcell.tall { min-height: 320px; }
}

.svc-grid { margin-top: 46px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.svc {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  transition: transform .6s var(--ease), box-shadow .6s ease, border-color .4s ease;
}
.svc:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(16,44,52,.14); border-color: rgba(22,165,184,.4); }
.svc-shot { display: block; height: 168px; background-size: cover; background-position: center; transition: transform .7s var(--ease); }
.svc:hover .svc-shot { transform: scale(1.06); }
.svc-body { display: block; padding: 22px 24px 26px; }
.svc-num { display: block; font-size: 13px; letter-spacing: .1em; color: var(--muted-2); }
.svc-h   { display: block; margin-top: 12px; font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.svc-p   { display: block; margin-top: 10px; font-size: 15px; line-height: 1.6; color: var(--muted); }
@media (max-width: 1023px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 639px)  { .svc-grid { grid-template-columns: 1fr; } }

/* Simple numbered pillars */
.pillars { margin-top: clamp(40px,5vw,72px); display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(24px,3vw,48px); }
.pillar  { border-top: 1px solid rgba(13,18,20,.16); padding-top: clamp(20px,2vw,28px); }
.pillar-num { font-size: 13px; letter-spacing: .1em; color: var(--muted-2); margin-bottom: 16px; }
.pillar-h   { font-size: clamp(20px,2vw,26px); font-weight: 700; letter-spacing: -.02em; margin-bottom: 12px; }
.pillar-p   { font-size: 16px; line-height: 1.65; color: var(--muted); max-width: 38ch; }
@media (max-width: 767px) { .pillars { grid-template-columns: 1fr; gap: 32px; } }

/* ==========================================================================
   12. Cinematic band (video / photo)
   ========================================================================== */
.band {
  position: relative; z-index: 26; overflow: hidden;
  min-height: clamp(440px,72vh,760px);
  display: flex; align-items: center; justify-content: center; background: #0a1215;
}
.band video, .band .band-media {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  background-size: cover; background-position: center;
}
.band::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(6,14,16,.44) 0%, rgba(6,14,16,.26) 45%, rgba(6,14,16,.68) 100%);
}
.band-inner { position: relative; z-index: 2; max-width: 1000px; padding: 0 24px; text-align: center; color: #fff; }
.band-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; color: rgba(255,255,255,.78); text-transform: uppercase; }
.band-title {
  margin-top: 18px; font-size: clamp(32px,5vw,58px); line-height: 1.08;
  font-weight: 700; letter-spacing: -.03em; text-shadow: 0 2px 22px rgba(0,0,0,.4);
}

/* ==========================================================================
   13. Itinerary accordion (list of journeys)
   ========================================================================== */
.jlist { margin-top: 34px; border-top: 1px solid var(--line); }
.jrow  { border-bottom: 1px solid var(--line); }
.jrow > summary {
  display: flex; align-items: baseline; gap: 24px; padding: 24px 8px;
  transition: background .3s ease, padding-left .3s ease;
}
.jrow > summary:hover { background: rgba(11,90,102,.04); padding-left: 18px; }
.jrow-idx  { flex: none; width: 34px; font-size: 14px; font-weight: 600; color: var(--muted-2); }
.jrow-name { flex: 1; font-size: clamp(19px,2vw,25px); font-weight: 600; letter-spacing: -.02em; }
.jrow-meta { flex: none; font-size: 15px; color: #8b9498; }
.jrow-plus { flex: none; color: var(--teal); font-size: 22px; line-height: 1; transition: transform .35s var(--ease); }
.jrow[open] .jrow-plus { transform: rotate(45deg); }
.jrow-body { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; padding: 4px 8px 38px; }
.jrow-shot { min-height: 240px; border-radius: 14px; background-size: cover; background-position: center; }
.jrow-facts { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; }
.fact-k { display: block; font-size: 11px; font-weight: 600; letter-spacing: .14em; color: var(--muted-2); margin-bottom: 4px; text-transform: uppercase; }
.fact-v { font-size: 15px; }
.fact-v.strong { font-weight: 600; }
@media (max-width: 1023px) {
  .jrow-body { grid-template-columns: 1fr; }
  .jrow-meta { display: none; }
}

/* ==========================================================================
   14. Gallery + newsletter
   ========================================================================== */
.gal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; align-items: start; }
.gal-col  { display: grid; gap: 22px; }
.gal-col.flush { gap: 0; }
.gal-img  { display: block; border-radius: 10px; background-size: cover; background-position: center; transition: transform .7s var(--ease); }
.gal-img:hover { transform: scale(1.015); }
.news-card { background: var(--surface); border-radius: 0 0 10px 10px; padding: 42px 30px; text-align: center; }
.news-h { font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.news-p { margin-top: 14px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.field {
  width: 100%; border: 1px solid #e3e7e8; border-radius: 10px;
  padding: 13px 16px; font-size: 15px; outline: none; background: var(--surface);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.field:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(22,165,184,.14); }
@media (max-width: 1023px) { .gal-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 639px)  { .gal-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   15. CTA panel + enquiry form
   ========================================================================== */
.cta-panel {
  position: relative; border-radius: 22px; overflow: hidden; min-height: 360px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 22px; padding: 56px 40px; text-align: center;
  background-size: cover; background-position: center 40%;
}
.cta-panel::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.46) 0%, rgba(0,0,0,.3) 60%, rgba(0,0,0,.44) 100%);
}
.cta-panel > * { position: relative; z-index: 2; }
.cta-h { color: #fff; font-size: clamp(28px,4vw,46px); line-height: 1.1; font-weight: 700; letter-spacing: -.03em; max-width: 22ch; text-shadow: 0 2px 18px rgba(0,0,0,.3); }
.cta-p { max-width: 66ch; font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.92); }

.enq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px,5vw,72px); align-items: start; }
.enq-meta { display: grid; gap: 22px; margin-top: 30px; font-size: 16px; line-height: 1.6; color: var(--muted); }
.enq-meta a { color: var(--teal); }
.enq-meta a:hover { color: var(--teal-dark); }
.enq-k { display: block; font-size: 11px; font-weight: 600; letter-spacing: .14em; color: var(--muted-2); margin-bottom: 6px; text-transform: uppercase; }
.form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 18px; padding: clamp(24px,3vw,38px);
}
.form label { display: grid; gap: 8px; }
.form label.full { grid-column: 1 / -1; }
.form label > span { font-size: 11px; font-weight: 600; letter-spacing: .14em; color: var(--muted-2); text-transform: uppercase; }
.form input, .form select, .form textarea {
  border: 1px solid #e3e7e8; border-radius: 10px; padding: 13px 16px;
  font-size: 15px; outline: none; min-height: 48px; background: var(--surface);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.form textarea { resize: vertical; min-height: 120px; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(22,165,184,.14); }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; }
.form-note { font-size: 14px; line-height: 1.6; color: var(--muted); max-width: 40ch; }
@media (max-width: 1023px) { .enq-grid { grid-template-columns: 1fr; } .form { grid-template-columns: 1fr; } }

/* ==========================================================================
   16. Footer
   ========================================================================== */
.footer { position: relative; z-index: 26; background: var(--night-2); color: #fff; padding: 78px 0 60px; }
.footer-inner { max-width: var(--shell); margin: 0 auto; padding: 0 var(--pad); }
@media (min-width: 768px)  { .footer-inner { padding-left: 40px; padding-right: 40px; } }
@media (min-width: 1024px) { .footer-inner { padding-left: 64px; padding-right: 64px; } }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.footer-logo { height: 66px; width: auto; }
.footer-lead { margin-top: 22px; max-width: 44ch; font-size: 15px; line-height: 1.65; color: #b9bfc1; }
.footer-quick { margin-top: 24px; display: flex; align-items: center; gap: 30px; font-size: 15px; font-weight: 500; flex-wrap: wrap; }
.footer-quick a { transition: color .25s ease; }
.footer-quick a:hover { color: var(--teal); }
.footer-talk { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.footer-talk p { font-size: 15px; color: #d5d9da; }
.footer-talk span { display: flex; flex-direction: column; gap: 14px; font-size: 15px; color: #b9bfc1; }
.footer-grid { margin-top: 64px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; align-items: start; }
.footer-col p { font-size: 16px; font-weight: 600; }
.footer-col span { margin-top: 20px; display: grid; gap: 14px; font-size: 15px; }
.footer-col a { color: #b9bfc1; transition: color .25s ease; }
.footer-col a:hover { color: #fff; }
.footer-col a.amber { color: var(--amber); font-weight: 600; }
.footer-bottom {
  margin-top: 74px; padding-top: 26px; border-top: 1px solid #1e2223;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; font-size: 14px; color: #8d9496;
}
@media (max-width: 1023px) { .footer-top { grid-template-columns: 1fr; } .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 559px)  { .footer-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   17. Reveals
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .85s var(--ease2), transform .85s var(--ease2); }
.reveal.reveal-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .40s; }

/* ==========================================================================
   18. Inner-page hero
   ========================================================================== */
.phero {
  position: relative; min-height: clamp(460px, 66vh, 640px);
  display: flex; align-items: flex-end; overflow: hidden; background: #0a1215;
}
.phero-media {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  animation: ttg-kenburns 26s ease-in-out infinite alternate; will-change: transform;
}
.phero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(6,14,16,.66) 0%, rgba(6,14,16,.28) 42%, rgba(6,14,16,.86) 100%);
}
.phero-inner {
  position: relative; z-index: 2; max-width: var(--shell); width: 100%;
  margin: 0 auto; padding: 0 var(--pad) clamp(48px,6vw,80px); color: #fff;
}
@media (min-width: 768px)  { .phero-inner { padding-left: 40px; padding-right: 40px; } }
@media (min-width: 1024px) { .phero-inner { padding-left: 64px; padding-right: 64px; } }
.phero-crumb { display: flex; align-items: center; gap: 10px; font-size: 13px; color: rgba(255,255,255,.7); margin-bottom: 20px; }
.phero-crumb a:hover { color: #fff; }
.phero-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.72); }
.phero-title {
  margin-top: 14px; font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(34px,6vw,78px); line-height: .95; letter-spacing: -.03em;
  text-shadow: 0 2px 30px rgba(0,0,0,.34);
}
.phero-lead { margin-top: 20px; max-width: 60ch; font-size: 17px; line-height: 1.65; color: rgba(255,255,255,.86); }

/* ==========================================================================
   19. Tour detail page
   ========================================================================== */
.readbar { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 70; background: linear-gradient(90deg, var(--teal), var(--amber)); transition: width .1s linear; }

.thero { position: relative; min-height: clamp(560px, 88vh, 860px); display: flex; align-items: flex-end; overflow: hidden; background: #0a1215; }
.thero-media { position: absolute; inset: 0; background-size: cover; background-position: center; will-change: transform; }
.thero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(6,14,16,.7) 0%, rgba(6,14,16,.22) 38%, rgba(6,14,16,.9) 100%);
}
.thero-inner { position: relative; z-index: 2; max-width: var(--shell); width: 100%; margin: 0 auto; padding: 0 var(--pad) clamp(44px,5vw,72px); color: #fff; }
@media (min-width: 768px)  { .thero-inner { padding-left: 40px; padding-right: 40px; } }
@media (min-width: 1024px) { .thero-inner { padding-left: 64px; padding-right: 64px; } }
.thero-badges { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-bottom: 20px; }
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; padding: 7px 15px; border-radius: 999px;
}
.badge.amber { background: var(--amber); border-color: transparent; color: #fff; }
.badge.teal  { background: var(--teal); border-color: transparent; color: #fff; }
.badge svg { width: 14px; height: 14px; }
.thero-title {
  font-size: clamp(34px,5.6vw,68px); line-height: 1.04; font-weight: 700;
  letter-spacing: -.035em; max-width: 20ch; text-shadow: 0 2px 26px rgba(0,0,0,.36);
}
.thero-sub { margin-top: 18px; max-width: 58ch; font-size: 18px; line-height: 1.6; color: rgba(255,255,255,.88); }
.thero-strip { margin-top: 30px; display: flex; align-items: center; gap: clamp(22px,4vw,52px); flex-wrap: wrap; }
.thero-stat .k { display: block; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.62); }
.thero-stat .v { display: block; margin-top: 6px; font-size: clamp(19px,2vw,26px); font-weight: 700; letter-spacing: -.02em; }
.thero-stat .v small { font-size: 13px; font-weight: 500; opacity: .7; }

/* Sticky section nav */
.tnav {
  position: sticky; top: 92px; z-index: 45; background: rgba(247,248,248,.9);
  backdrop-filter: blur(18px) saturate(180%); -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid var(--line);
}
.tnav-inner { max-width: var(--shell); margin: 0 auto; padding: 0 var(--pad); display: flex; align-items: center; gap: 4px; overflow-x: auto; }
@media (min-width: 768px)  { .tnav-inner { padding-left: 40px; padding-right: 40px; } }
@media (min-width: 1024px) { .tnav-inner { padding-left: 64px; padding-right: 64px; } }
.tnav a {
  position: relative; padding: 18px 16px; font-size: 15px; font-weight: 500;
  color: var(--muted); white-space: nowrap; transition: color .3s ease;
}
.tnav a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 0; height: 2px;
  background: var(--teal); transform: scaleX(0); transform-origin: 50%;
  transition: transform .4s var(--ease);
}
.tnav a:hover { color: var(--teal-deep); }
.tnav a.on { color: var(--teal); font-weight: 600; }
.tnav a.on::after { transform: scaleX(1); }

/* Two-column body */
.tour-wrap { max-width: var(--shell); margin: 0 auto; padding: clamp(48px,6vw,88px) var(--pad) clamp(72px,9vw,120px); display: grid; grid-template-columns: minmax(0,1fr) 372px; gap: clamp(32px,4vw,64px); align-items: start; }
@media (min-width: 768px)  { .tour-wrap { padding-left: 40px; padding-right: 40px; } }
@media (min-width: 1024px) { .tour-wrap { padding-left: 64px; padding-right: 64px; } }
@media (max-width: 1099px) { .tour-wrap { grid-template-columns: 1fr; } }

.tblock { scroll-margin-top: 162px; }
.tblock + .tblock { margin-top: clamp(52px,6vw,84px); }
.tblock-h { font-size: clamp(26px,3vw,36px); font-weight: 700; letter-spacing: -.025em; }
.tblock-h + .prose, .tblock-h + .hl-grid, .tblock-h + .timeline, .tblock-h + .inc-grid { margin-top: 22px; }
.prose p { font-size: 17px; line-height: 1.75; color: var(--muted); }
.prose p + p { margin-top: 16px; }
.prose strong { color: var(--ink); font-weight: 600; }

/* Quick facts */
.qfacts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin-top: 26px; }
.qfact { background: var(--surface); padding: 20px 22px; }
.qfact .k { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.qfact .k svg { width: 15px; height: 15px; stroke: var(--teal); }
.qfact .v { margin-top: 10px; font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
@media (max-width: 767px) { .qfacts { grid-template-columns: 1fr 1fr; } }

/* Highlights */
.hl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 26px; }
.hl {
  display: flex; align-items: flex-start; gap: 13px; padding: 16px 18px;
  border: 1px solid var(--line); border-radius: 14px; background: var(--surface);
  font-size: 16px; line-height: 1.55;
  transition: transform .5s var(--ease), border-color .35s ease, box-shadow .5s ease;
}
.hl:hover { transform: translateY(-3px); border-color: rgba(22,165,184,.45); box-shadow: 0 14px 32px rgba(16,44,52,.1); }
.hl svg { width: 20px; height: 20px; flex: none; margin-top: 1px; stroke: var(--teal); }
@media (max-width: 767px) { .hl-grid { grid-template-columns: 1fr; } }

/* Day-by-day timeline */
.timeline { position: relative; padding-left: 42px; }
.timeline::before { content: ""; position: absolute; left: 15px; top: 12px; bottom: 12px; width: 2px; background: var(--line); border-radius: 2px; }
.timeline-fill { position: absolute; left: 15px; top: 12px; width: 2px; height: 0; background: linear-gradient(180deg, var(--teal), var(--amber)); border-radius: 2px; transition: height .15s linear; }
.day { position: relative; border-bottom: 1px solid var(--line); }
.day:first-child { border-top: 1px solid var(--line); }
.day > summary { display: flex; align-items: center; gap: 18px; padding: 22px 8px 22px 0; transition: padding-left .35s var(--ease); }
.day > summary:hover { padding-left: 10px; }
.day-dot {
  position: absolute; left: -35px; top: 26px; width: 14px; height: 14px; border-radius: 999px;
  background: var(--bg); border: 2px solid var(--line-2); z-index: 2;
  transition: background .4s ease, border-color .4s ease, transform .4s var(--ease);
}
.day.seen .day-dot { border-color: var(--teal); background: var(--teal); }
.day[open] .day-dot { transform: scale(1.25); border-color: var(--amber); background: var(--amber); }
.day-n { flex: none; font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--teal); text-transform: uppercase; min-width: 54px; }
.day-t { flex: 1; font-size: clamp(17px,1.7vw,21px); font-weight: 600; letter-spacing: -.015em; }
.day-tags { flex: none; display: flex; gap: 7px; }
.day-tag { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 10px; }
.day-plus { flex: none; color: var(--teal); font-size: 22px; line-height: 1; transition: transform .35s var(--ease); }
.day[open] .day-plus { transform: rotate(45deg); }
.day-body { padding: 0 8px 26px 0; display: grid; grid-template-columns: 1fr auto; gap: 26px; align-items: start; }
.day-body p { font-size: 16px; line-height: 1.7; color: var(--muted); max-width: 62ch; }
.day-facts { display: grid; gap: 12px; min-width: 190px; padding: 16px 18px; background: var(--sand); border-radius: 12px; }
.day-facts span { display: block; font-size: 14px; color: #4a5150; }
.day-facts b { display: block; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 3px; }
@media (max-width: 767px) {
  .timeline { padding-left: 30px; }
  .timeline::before, .timeline-fill { left: 9px; }
  .day-dot { left: -28px; width: 12px; height: 12px; }
  .day-tags { display: none; }
  .day-body { grid-template-columns: 1fr; }
}

/* Altitude profile */
.altitude { margin-top: 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); padding: 26px 24px 18px; }
.altitude-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.altitude-head h4 { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.altitude-head span { font-size: 13px; color: var(--muted-2); }
.altitude svg { width: 100%; height: auto; display: block; overflow: visible; }
/* Stroke and type are in viewBox units — the chart renders at roughly 0.7×,
   so these are sized up to land at their intended optical weight. */
.alt-line { fill: none; stroke: var(--teal); stroke-width: 3.6; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: var(--len); stroke-dashoffset: var(--len); transition: stroke-dashoffset 1.8s var(--ease2); }
.altitude.drawn .alt-line { stroke-dashoffset: 0; }
.alt-area { fill: url(#altGrad); opacity: 0; transition: opacity 1s ease .5s; }
.altitude.drawn .alt-area { opacity: 1; }
.alt-dot { fill: var(--surface); stroke: var(--teal); stroke-width: 3; opacity: 0; transition: opacity .5s ease .9s; }
.altitude.drawn .alt-dot { opacity: 1; }
.alt-peak { fill: var(--amber); stroke: none; }
.alt-grid { stroke: var(--line); stroke-width: 1.6; }
.alt-lbl  { font-size: 17px; fill: var(--muted-2); font-weight: 600; letter-spacing: .04em; }

/* Included / excluded */
.inc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.inc-card { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); padding: 26px 26px 28px; }
.inc-card h4 { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 18px; }
.inc-card h4 svg { width: 20px; height: 20px; }
.inc-card.yes h4 svg { stroke: var(--teal); }
.inc-card.no  h4 svg { stroke: #c2645a; }
.inc-card ul { list-style: none; display: grid; gap: 12px; }
.inc-card li { position: relative; padding-left: 26px; font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.inc-card li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 12px; height: 12px;
  border-radius: 999px; border: 2px solid var(--teal);
}
.inc-card.no li::before { border-color: #d8b0aa; }
@media (max-width: 767px) { .inc-grid { grid-template-columns: 1fr; } }

/* Departures table */
.dep-table { margin-top: 24px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--surface); }
.dep-row { display: grid; grid-template-columns: 1.1fr 1.1fr .9fr 1fr auto; gap: 16px; align-items: center; padding: 18px 24px; border-top: 1px solid var(--line); transition: background .3s ease; }
.dep-row:first-child { border-top: 0; background: #f4f7f7; }
.dep-row:not(.head):hover { background: #eef8fa; }
.dep-row .k { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
/* Each cell carries its own label for the stacked mobile layout; on desktop
   the header row does that job, so they stay hidden. */
.dep-row:not(.head) .k { display: none; }
.dep-row .v { font-size: 15.5px; }
.dep-row .v.price { font-weight: 700; letter-spacing: -.01em; }
.seats { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; padding: 6px 13px; border-radius: 999px; background: rgba(22,165,184,.12); color: var(--teal-deep); }
.seats.low  { background: rgba(245,154,35,.16); color: var(--amber-ink); }
.seats.gone { background: rgba(13,18,20,.07); color: var(--muted-2); }
.dep-book { font-size: 14px; font-weight: 600; color: var(--teal); display: inline-flex; align-items: center; gap: 7px; transition: gap .3s var(--ease); }
.dep-book:hover { gap: 12px; }
.dep-book svg { width: 15px; height: 15px; }
@media (max-width: 899px) {
  .dep-row { grid-template-columns: 1fr 1fr; gap: 12px 16px; }
  .dep-row.head { display: none; }
  .dep-row:not(.head) .k { display: block; margin-bottom: 5px; }
}

/* Gallery + lightbox */
/* Three columns with a 2×2 lead tile takes exactly six photos with no orphan. */
.tgal { margin-top: 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tgal button { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; background-size: cover; background-position: center; transition: transform .6s var(--ease); }
.tgal button:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.tgal button::after { content: ""; position: absolute; inset: 0; background: rgba(6,14,16,0); transition: background .4s ease; }
.tgal button:hover { transform: scale(1.015); }
.tgal button:hover::after { background: rgba(6,14,16,.18); }
@media (max-width: 639px) { .tgal { grid-template-columns: 1fr 1fr; } .tgal button:first-child { grid-column: span 1; grid-row: span 1; aspect-ratio: 4/3; } }

.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(6,12,14,.94); display: none; align-items: center; justify-content: center; padding: 40px 24px; opacity: 0; transition: opacity .35s ease; }
.lightbox.open { display: flex; }
.lightbox.shown { opacity: 1; }
.lightbox img { max-width: min(1200px, 92vw); max-height: 84vh; width: auto; border-radius: 12px; box-shadow: 0 40px 90px rgba(0,0,0,.5); }
.lb-close, .lb-prev, .lb-next {
  position: absolute; width: 48px; height: 48px; border-radius: 999px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.24); color: #fff;
  display: flex; align-items: center; justify-content: center; transition: background .25s ease;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.24); }
.lb-close { top: 24px; right: 24px; }
.lb-prev  { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next  { right: 24px; top: 50%; transform: translateY(-50%); }
.lb-close svg, .lb-prev svg, .lb-next svg { width: 20px; height: 20px; }
.lb-count { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.7); font-size: 14px; letter-spacing: .1em; }

/* FAQ */
.faq { margin-top: 22px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 8px; font-size: 17px; font-weight: 600; letter-spacing: -.01em; transition: background .3s ease, padding-left .3s ease; }
.faq summary:hover { background: rgba(11,90,102,.04); padding-left: 16px; }
.faq summary span { color: var(--teal); font-size: 22px; line-height: 1; transition: transform .35s var(--ease); }
.faq details[open] summary span { transform: rotate(45deg); }
.faq-body { padding: 0 8px 26px; max-width: 72ch; font-size: 16px; line-height: 1.72; color: var(--muted); }

/* Practical info columns */
.prac-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.prac { border-top: 2px solid var(--teal); padding-top: 20px; }
.prac h4 { font-size: 17px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 12px; }
.prac ul { list-style: none; display: grid; gap: 9px; }
.prac li { font-size: 15px; line-height: 1.6; color: var(--muted); padding-left: 16px; position: relative; }
.prac li::before { content: ""; position: absolute; left: 0; top: 10px; width: 5px; height: 5px; border-radius: 999px; background: var(--amber); }
.prac p { font-size: 15px; line-height: 1.65; color: var(--muted); }
@media (max-width: 899px) { .prac-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Booking sidebar */
.book-side { position: sticky; top: 168px; display: grid; gap: 18px; }
@media (max-width: 1099px) { .book-side { position: static; } }
.book-card { border: 1px solid var(--line); border-radius: 20px; background: var(--surface); overflow: hidden; box-shadow: 0 18px 46px rgba(16,44,52,.08); }
.book-head { padding: 24px 26px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #f4fbfc 0%, var(--surface) 100%); }
.book-from { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.book-price { margin-top: 8px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.book-price b { font-size: 32px; font-weight: 700; letter-spacing: -.03em; }
.book-price s { font-size: 16px; color: var(--muted-2); }
.book-price em { font-style: normal; font-size: 13px; color: var(--muted); }
.book-save { margin-top: 10px; display: inline-flex; background: var(--amber-soft); color: var(--amber-ink); font-size: 12px; font-weight: 700; padding: 6px 13px; border-radius: 999px; }
.book-body { padding: 22px 26px 26px; display: grid; gap: 16px; }
.book-line { display: flex; align-items: center; justify-content: space-between; gap: 14px; font-size: 15px; padding-bottom: 12px; border-bottom: 1px dashed var(--line); }
.book-line:last-of-type { border-bottom: 0; padding-bottom: 0; }
.book-line span { color: var(--muted); }
.book-line b { font-weight: 600; }
.book-actions { display: grid; gap: 10px; margin-top: 4px; }
.book-trust { display: grid; gap: 10px; padding: 18px 26px 24px; border-top: 1px solid var(--line); background: #f9fbfb; }
.book-trust span { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.book-trust svg { width: 16px; height: 16px; flex: none; margin-top: 2px; stroke: var(--teal); }
.book-help { border: 1px solid var(--line); border-radius: 20px; background: var(--surface); padding: 24px 26px; }
.book-help h4 { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.book-help p { margin-top: 10px; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.book-help a { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 15px; font-weight: 600; color: var(--teal-deep); }
.book-help a:hover { color: var(--teal); }
.book-help svg { width: 17px; height: 17px; }

/* Mobile booking bar */
.book-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: none;
  align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.94); backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px); border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .45s var(--ease);
}
.book-bar.up { transform: none; }
.book-bar .k { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.book-bar .v { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
@media (max-width: 1099px) { .book-bar { display: flex; } }

/* Related rail */
.related { background: #f1f4f4; }

/* ==========================================================================
   19b. Destination rows
   ========================================================================== */
.dest-row {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px,4vw,64px); align-items: center; scroll-margin-top: 120px;
}
.dest-row + .dest-row { margin-top: clamp(56px,7vw,110px); }
.dest-row:nth-of-type(even) .dest-shot { order: 2; }
.dest-shot {
  position: relative; border-radius: 20px; overflow: hidden;
  height: clamp(320px, 42vw, 460px);
  background-size: cover; background-position: center;
  transition: transform .7s var(--ease), box-shadow .6s ease;
}
.dest-shot:hover { transform: translateY(-6px); box-shadow: 0 28px 60px rgba(6,20,24,.2); }
.dest-n { font-size: 13px; font-weight: 600; letter-spacing: .14em; color: var(--muted-2); text-transform: uppercase; }
.dest-h { margin-top: 12px; font-size: clamp(28px,3.4vw,42px); font-weight: 700; letter-spacing: -.03em; }
.dest-p { margin-top: 16px; font-size: 16.5px; line-height: 1.7; color: var(--muted); max-width: 48ch; }
.dest-facts { margin-top: 22px; display: flex; gap: 9px; flex-wrap: wrap; }
.dest-facts .chip { background: transparent; }
@media (max-width: 899px) {
  .dest-row { grid-template-columns: 1fr; }
  .dest-row:nth-of-type(even) .dest-shot { order: 0; }
  .dest-shot { height: 260px; }
}

/* ==========================================================================
   20. Tours index filter bar
   ========================================================================== */
.filters { margin-top: 34px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.filter {
  border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2);
  font-size: 14px; font-weight: 600; padding: 10px 20px; border-radius: 999px;
  transition: background .25s ease, border-color .25s ease, color .25s ease, transform .2s ease;
}
.filter:hover { border-color: var(--teal); color: var(--teal-deep); transform: translateY(-2px); }
.filter.on { background: var(--teal-deep); border-color: var(--teal-deep); color: #fff; }
.filter-count { margin-top: 18px; font-size: 14px; color: var(--muted-2); }
.tcard.hidden { display: none; }

/* ==========================================================================
   20b. Photo credits table
   ========================================================================== */
.credits { margin-top: 20px; }
.credit-row {
  display: grid; grid-template-columns: 1.5fr 1fr auto; gap: 16px;
  padding: 12px 4px; border-top: 1px solid var(--line);
  font-size: 15px; align-items: baseline;
}
.credit-row span + span { color: var(--muted-2); font-size: 14px; }
@media (max-width: 639px) { .credit-row { grid-template-columns: 1fr; gap: 3px; } }

/* ==========================================================================
   21. Dark theme
   ========================================================================== */
html.dark { color-scheme: dark; }
html.dark body { background: #0e1315; color: #eaf0f1; }
html.dark {
  --ink: #eaf0f1; --ink-2: #c6cfd1; --muted: #9aa6a9; --muted-2: #8a9598;
  --line: #222b2e; --line-2: #2b3538; --bg: #0e1315; --surface: #151c1f;
  --sand: #1a2124; --sand-line: #263033; --sand-rule: #2f3a3e;
}
html.dark .ttg-nav { background: rgba(16,23,25,.6); border-color: rgba(255,255,255,.1); box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 14px 44px rgba(0,0,0,.45); }
html.dark .ttg-nav.glassy { background: rgba(20,27,29,.8); }
html.dark .ttg-links a { color: #c6cfd1; }
html.dark .ttg-links a.active { color: #5fd6e4; }
html.dark .ttg-theme { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); }
html.dark .ttg-knob { transform: translateX(38px); background: #0e1315; }
html.dark .ttg-sun  { color: #6c7a7e; }
html.dark .ttg-moon { color: #5fd6e4; }
html.dark .ttg-burger { color: #c6cfd1; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); }
html.dark .preloader { background: #0e1315; }
html.dark .pre-word { color: #eaf0f1; }
html.dark .menu { background: #0e1315; }
html.dark .hero { --hero-bg: linear-gradient(180deg, #0b1315 0%, #0f2026 46%, #14282f 100%); }
html.dark .hero-kicker, html.dark .hero-sub-desktop, html.dark .hero-sub-mobile { color: #eaf0f1; }
html.dark .hero-badge { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: #eaf0f1; }
html.dark .hero-btn.ghost { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #eaf0f1; }
html.dark .house-inner img { filter: brightness(.62) saturate(.88) contrast(1.04); }
html.dark .sec.tint { background: #121a1c; }
html.dark .marquee { background: #0e1315; border-color: #222b2e; }
html.dark .finder-card { box-shadow: 0 30px 70px rgba(0,0,0,.5); }
html.dark .finder-row, html.dark .finder-field { border-color: #222b2e; }
html.dark .finder-tabs button { color: #8a9598; }
html.dark .field, html.dark .form input, html.dark .form select, html.dark .form textarea { background: #101719; border-color: #2b3538; color: #eaf0f1; }
html.dark .tnav { background: rgba(14,19,21,.9); border-color: #222b2e; }
html.dark .dep-row:first-child { background: #101719; }
html.dark .dep-row:not(.head):hover { background: #16262a; }
html.dark .book-head { background: linear-gradient(180deg, #102226 0%, #151c1f 100%); }
html.dark .book-trust { background: #101719; }
html.dark .book-bar { background: rgba(14,19,21,.94); border-color: #222b2e; }
html.dark .day-facts { background: #1a2124; }
html.dark .day-facts span { color: #b3bdc0; }
html.dark .pillar { border-color: rgba(255,255,255,.16); }
html.dark .news-card { background: #151c1f; }
html.dark .related { background: #121a1c; }
html.dark .qfact { background: #151c1f; }
html.dark .altitude { background: #151c1f; }
html.dark .alt-dot { fill: #151c1f; }
html.dark .hl { background: #151c1f; }
html.dark .inc-card { background: #151c1f; }
html.dark .svc { background: #151c1f; }
html.dark .rail-btn { background: #151c1f; border-color: #2b3538; color: #5fd6e4; }
html.dark .rail-btn:hover:not(:disabled) { background: #16262a; border-color: var(--teal); }
html.dark .tcard { background: #1a2124; border-color: #263033; color: #eaf0f1; }
html.dark .chip { color: #b3bdc0; }
html.dark .tcard-len { color: #9aa6a9; }
html.dark .pill-tag { background: #eaf0f1; color: #0d1214; }
html.dark .btn.ghost { border-color: #2b3538; color: #5fd6e4; }
html.dark .btn.ghost:hover { background: #16262a; }
html.dark .filter { background: #151c1f; border-color: #2b3538; color: #c6cfd1; }
html.dark .sec-link { color: #5fd6e4; border-color: rgba(95,214,228,.3); }

/* ==========================================================================
   22. Motion preferences
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .house-inner { transform: none !important; }
  .hero-text-block { opacity: 1; transform: none; }
  .reveal { opacity: 1; transform: none; }
  .s2-outer { height: auto; }
  .s2-section { position: relative; height: auto; min-height: 70vh; }
}
