/* ==========================================================================
   Mithila Ceylon Travels — Design System
   Forest green · Gold · Warm white · Serif + Sans
   ========================================================================== */

:root {
  /* Brand */
  --forest: #1e5128;
  --forest-dark: #143d1e;
  --forest-deep: #0f2a15;
  --forest-soft: #2d6a38;
  --gold: #e3b23c;
  --gold-muted: #c9962e;
  --gold-soft: #f0d78a;
  --warm-white: #faf8f3;
  --cream: #f3efe6;
  --ink: #1a1a18;
  --ink-soft: #3d3d38;
  --muted: #6b6b63;
  --line: rgba(30, 81, 40, 0.12);
  --white: #ffffff;

  /* Surfaces */
  --shadow-sm: 0 2px 8px rgba(20, 61, 30, 0.06);
  --shadow-md: 0 8px 28px rgba(20, 61, 30, 0.1);
  --shadow-lg: 0 20px 60px rgba(20, 61, 30, 0.14);
  --shadow-gold: 0 8px 24px rgba(227, 178, 60, 0.25);

  /* Type */
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Jost", system-ui, -apple-system, sans-serif;

  /* Layout */
  --container: min(1180px, calc(100% - 2.5rem));
  --container-wide: min(1320px, calc(100% - 2rem));
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --header-h: 92px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --section-y: clamp(4.5rem, 10vw, 7.5rem);
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--warm-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-loading {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

ul,
ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

::selection {
  background: rgba(227, 178, 60, 0.35);
  color: var(--ink);
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.container--wide {
  width: var(--container-wide);
}

/* Typography */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.15rem, 4.5vw, 3.4rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--forest-dark);
  margin-bottom: 1.25rem;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 36rem;
  line-height: 1.75;
}

.section-head {
  margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
  max-width: 40rem;
}

.section-head--center {
  text-align: center;
  margin-inline: auto;
}

.section-head--center .eyebrow {
  justify-content: center;
}

.section-head--center .eyebrow::before {
  display: none;
}

.section-head--center .section-lead {
  margin-inline: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.75rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease),
    color 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--forest);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn--primary:hover {
  background: var(--forest-dark);
  box-shadow: var(--shadow-lg);
}

.btn--gold {
  background: var(--gold);
  color: var(--forest-deep);
  box-shadow: var(--shadow-gold);
}

.btn--gold:hover {
  background: var(--gold-muted);
  color: var(--white);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn--outline {
  border: 1px solid var(--forest);
  color: var(--forest);
  background: transparent;
}

.btn--outline:hover {
  background: var(--forest);
  color: var(--white);
}

.btn--sm {
  padding: 0.7rem 1.25rem;
  font-size: 0.78rem;
}

.btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Header — liquid glass bar */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  padding: 1.05rem 0 0.65rem;
  background: transparent;
  pointer-events: none;
  transition: padding 0.35s var(--ease);
}

.site-header.is-scrolled {
  padding: 0.9rem 0 0.55rem;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

@media (min-width: 960px) {
  :root {
    --header-h: 104px;
  }

  .site-header {
    padding: 1.45rem 0 0.7rem;
  }

  .site-header.is-scrolled {
    padding: 1.15rem 0 0.55rem;
  }
}

.header-inner {
  width: var(--container-wide);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  pointer-events: auto;
  padding: 0.45rem 0.55rem 0.45rem 0.85rem;
  border-radius: 999px;
  background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.22) 0%,
      rgba(255, 255, 255, 0.08) 48%,
      rgba(255, 255, 255, 0.14) 100%
    );
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    0 10px 36px rgba(8, 18, 12, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(22px) saturate(1.55);
  -webkit-backdrop-filter: blur(22px) saturate(1.55);
  transition:
    background 0.4s var(--ease),
    border-color 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}

.site-header.is-scrolled .header-inner,
.site-header.header--solid .header-inner {
  background: linear-gradient(
      135deg,
      rgba(250, 248, 243, 0.78) 0%,
      rgba(255, 255, 255, 0.52) 50%,
      rgba(250, 248, 243, 0.7) 100%
    );
  border-color: rgba(30, 81, 40, 0.12);
  box-shadow:
    0 10px 32px rgba(15, 42, 21, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    inset 0 -1px 0 rgba(30, 81, 40, 0.04);
}

.site-header.is-scrolled .nav-link {
  color: var(--ink-soft);
}

.site-header.is-scrolled .nav-link:hover,
.site-header.is-scrolled .nav-link.is-active {
  color: var(--forest);
}

.site-header.is-scrolled .header-cta {
  background: var(--forest);
  color: var(--white);
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  z-index: 1002;
}

.logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.nav {
  display: none;
  align-items: center;
  gap: 1.35rem;
}

.nav-link {
  font-size: 0.8rem;
  font-weight: 450;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.92);
  position: relative;
  padding: 0.35rem 0;
  transition: color 0.25s var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--gold-soft);
}

.header-cta {
  display: none;
  padding: 0.62rem 1.2rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease),
    color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.header-cta:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.28);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  z-index: 1002;
  padding: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.nav-toggle span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease),
    background 0.3s var(--ease);
}

.site-header.is-scrolled .nav-toggle,
.site-header.header--solid .nav-toggle,
.site-header.nav-open .nav-toggle {
  background: rgba(30, 81, 40, 0.08);
  border-color: rgba(30, 81, 40, 0.14);
}

.site-header.is-scrolled .nav-toggle span,
.site-header.header--solid .nav-toggle span,
.site-header.nav-open .nav-toggle span {
  background: var(--forest);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile nav — compact liquid glass panel */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  gap: 0;
  padding:
    max(1rem, env(safe-area-inset-top))
    1rem
    max(1.25rem, env(safe-area-inset-bottom))
    1rem;
  background:
    linear-gradient(165deg, rgba(250, 248, 243, 0.72) 0%, rgba(255, 255, 255, 0.55) 100%);
  backdrop-filter: blur(28px) saturate(1.4);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.4s var(--ease),
    visibility 0.4s var(--ease);
}

.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav.is-open[hidden] {
  display: flex;
}

.mobile-nav__close {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.35rem 0 1.25rem;
  padding: 0.55rem 0.95rem 0.55rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(30, 81, 40, 0.14);
  background: rgba(255, 255, 255, 0.55);
  box-shadow:
    0 6px 20px rgba(15, 42, 21, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  color: var(--forest-deep);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity 0.35s var(--ease),
    transform 0.35s var(--ease),
    background 0.25s var(--ease);
}

.mobile-nav.is-open .mobile-nav__close {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.08s;
}

.mobile-nav__close:hover {
  background: rgba(255, 255, 255, 0.85);
}

.mobile-nav__close svg {
  width: 1rem;
  height: 1rem;
}

.mobile-nav__links {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  width: min(100%, 22rem);
  margin: 0 auto;
  padding: 0.35rem;
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow:
    0 16px 40px rgba(15, 42, 21, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.mobile-nav__links a {
  display: block;
  padding: 0.72rem 1rem;
  border-radius: 0.95rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 450;
  letter-spacing: 0.02em;
  color: var(--forest-dark);
  opacity: 0;
  transform: translateY(10px);
  transition:
    background 0.25s var(--ease),
    color 0.25s var(--ease),
    opacity 0.4s var(--ease),
    transform 0.4s var(--ease);
}

.mobile-nav.is-open .mobile-nav__links a {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav.is-open .mobile-nav__links a:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav.is-open .mobile-nav__links a:nth-child(2) { transition-delay: 0.14s; }
.mobile-nav.is-open .mobile-nav__links a:nth-child(3) { transition-delay: 0.18s; }
.mobile-nav.is-open .mobile-nav__links a:nth-child(4) { transition-delay: 0.22s; }
.mobile-nav.is-open .mobile-nav__links a:nth-child(5) { transition-delay: 0.26s; }
.mobile-nav.is-open .mobile-nav__links a:nth-child(6) { transition-delay: 0.3s; }
.mobile-nav.is-open .mobile-nav__links a:nth-child(7) { transition-delay: 0.34s; }
.mobile-nav.is-open .mobile-nav__links a:nth-child(8) { transition-delay: 0.38s; }

.mobile-nav__links a:hover,
.mobile-nav__links a:focus-visible {
  background: rgba(30, 81, 40, 0.07);
  color: var(--forest);
}

.mobile-nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  margin-top: 1.15rem;
  padding: 0.8rem 1.45rem;
  border-radius: 999px;
  background: var(--forest);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 10px 28px rgba(30, 81, 40, 0.22);
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.4s var(--ease),
    transform 0.4s var(--ease),
    background 0.25s var(--ease);
}

.mobile-nav.is-open .mobile-nav__cta {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.42s;
}

.mobile-nav__cta:hover {
  background: var(--forest-dark);
}

@media (prefers-reduced-motion: reduce) {
  .mobile-nav__close,
  .mobile-nav__links a,
  .mobile-nav__cta {
    transition: none;
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 960px) {
  .nav {
    display: flex;
  }

  .header-cta {
    display: inline-flex;
  }

  .nav-toggle {
    display: none;
  }

  .logo img {
    height: 48px;
  }

  .header-inner {
    padding: 0.5rem 0.65rem 0.5rem 1.1rem;
    gap: 1.5rem;
  }
}

/* Page hero (gallery) */
.page-hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 3rem) 0 4rem;
  color: var(--white);
  overflow: hidden;
}

.page-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 42, 21, 0.45) 0%,
    rgba(15, 42, 21, 0.75) 100%
  );
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

.page-hero p {
  max-width: 32rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
}

/* ========== HERO (RIVR-style glass frame) ========== */
.rivr-hero {
  width: 100%;
  min-height: 100svh;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 0.75rem 0.75rem 0;
  background: var(--warm-white);
}

@media (min-width: 768px) {
  .rivr-hero {
    padding: 1.15rem 1.15rem 0;
  }
}

.rivr-hero__shell {
  position: relative;
  width: 100%;
  max-width: 1536px;
  min-height: calc(100svh - 0.75rem);
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .rivr-hero__shell {
    min-height: calc(100svh - 1.15rem);
  }
}

.rivr-hero__frame {
  position: relative;
  width: 100%;
  flex: 1 1 auto;
  min-height: inherit;
  border-radius: 1.5rem 1.5rem 0 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: rgba(15, 42, 21, 0.2);
  box-shadow: none;
}

@media (min-width: 768px) {
  .rivr-hero__frame {
    border-radius: 3rem 3rem 0 0;
  }
}

.rivr-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
  z-index: 0;
}

@media (min-width: 1024px) {
  .rivr-hero__video {
    object-position: center;
  }
}

.rivr-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(4, 12, 8, 0.78) 0%,
      rgba(4, 12, 8, 0.62) 35%,
      rgba(4, 12, 8, 0.7) 65%,
      rgba(4, 12, 8, 0.88) 100%
    ),
    rgba(0, 0, 0, 0.28);
}

.rivr-hero__layer {
  position: relative;
  z-index: 2;
  width: 100%;
  flex: 1;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rivr-hero__copy {
  width: 100%;
  max-width: 56rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: calc(var(--header-h) + 1.75rem) 1.35rem 2rem;
  margin-top: auto;
  margin-bottom: auto;
}

.rivr-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.15rem, 7vw, 5rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0 0 0.65rem;
  max-width: 18ch;
  animation: rivrFadeInScale 0.85s var(--ease) 0.15s both;
}

.rivr-hero__sub {
  font-family: var(--font-sans);
  font-size: clamp(0.92rem, 1.6vw, 1.125rem);
  line-height: 1.65;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
  max-width: 36rem;
  margin: 0;
  animation: rivrFadeIn 0.85s var(--ease) 0.35s both;
}

/* Bottom-left glass card */
.rivr-card-left {
  position: absolute;
  right: 1rem;
  bottom: 6.5rem;
  left: auto;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: fit-content;
  min-width: 140px;
  padding: 0.85rem;
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  animation: rivrSlideIn 0.85s var(--ease) 0.2s both;
}

@media (min-width: 768px) {
  .rivr-card-left {
    left: 1.35rem;
    right: auto;
    bottom: 1.35rem;
    min-width: 150px;
    padding: 1rem;
    border-radius: 1.5rem;
    gap: 0.75rem;
  }
}

@media (min-width: 1024px) {
  .rivr-card-left {
    left: 2.25rem;
    bottom: 2.25rem;
    min-width: 180px;
    padding: 1.25rem;
    border-radius: 2.2rem;
    gap: 0.85rem;
  }
}

.rivr-card-left__num {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 3vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1;
}

.rivr-card-left__label {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.rivr-card-left__btn {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.5rem;
  padding: 0.35rem 1.05rem 0.35rem 0.35rem;
  border-radius: 999px;
  background: #ffffff;
  color: var(--forest-deep);
  font-size: 0.875rem;
  font-weight: 500;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.rivr-card-left__btn:hover {
  transform: scale(1.02);
  background: rgba(255, 255, 255, 0.92);
}

.rivr-card-left__btn-icon {
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  background: rgba(30, 81, 40, 0.1);
}

.rivr-card-left__btn-icon svg {
  width: 0.95rem;
  height: 0.95rem;
}

/* Bottom-right faux cutout — sits on shell so it can seal the seam */
.rivr-corner {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 0.85rem 0.85rem 1.85rem;
  background: var(--warm-white);
  color: var(--warm-white);
  border-top-left-radius: 1.5rem;
  text-decoration: none;
  animation: rivrFadeUp 0.85s var(--ease) 0.35s both;
}

@media (min-width: 480px) {
  .rivr-corner {
    gap: 1rem;
    padding: 1.35rem 1rem 1rem 2.35rem;
    border-top-left-radius: 2rem;
  }
}

@media (min-width: 768px) {
  .rivr-corner {
    gap: 1.35rem;
    padding: 1.75rem 1.35rem 1.35rem 3.25rem;
    border-top-left-radius: 3.5rem;
  }
}

.rivr-corner__mask {
  position: absolute;
  width: 1.5rem;
  height: 1.5rem;
  pointer-events: none;
  color: var(--warm-white);
}

@media (min-width: 480px) {
  .rivr-corner__mask {
    width: 2rem;
    height: 2rem;
  }
}

@media (min-width: 768px) {
  .rivr-corner__mask {
    width: 3.5rem;
    height: 3.5rem;
  }
}

.rivr-corner__mask--top {
  top: -1.5rem;
  right: 0;
}

@media (min-width: 480px) {
  .rivr-corner__mask--top {
    top: -2rem;
  }
}

@media (min-width: 768px) {
  .rivr-corner__mask--top {
    top: -3.5rem;
  }
}

.rivr-corner__mask--left {
  bottom: 0;
  left: -1.5rem;
}

@media (min-width: 480px) {
  .rivr-corner__mask--left {
    left: -2rem;
  }
}

@media (min-width: 768px) {
  .rivr-corner__mask--left {
    left: -3.5rem;
  }
}

.rivr-corner__icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: rgba(30, 81, 40, 0.06);
  border: 1px solid rgba(30, 81, 40, 0.12);
  color: rgba(30, 81, 40, 0.85);
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .rivr-corner__icon {
    width: 3.5rem;
    height: 3.5rem;
  }
}

.rivr-corner__icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

@media (min-width: 768px) {
  .rivr-corner__icon svg {
    width: 1.35rem;
    height: 1.35rem;
  }
}

.rivr-corner__copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.rivr-corner__title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 500;
  color: rgba(15, 42, 21, 0.95);
  line-height: 1.2;
}

@media (min-width: 768px) {
  .rivr-corner__title {
    font-size: 1.25rem;
  }
}

.rivr-corner__link {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.75rem;
  color: rgba(15, 42, 21, 0.55);
  transition: color 0.25s var(--ease);
}

@media (min-width: 768px) {
  .rivr-corner__link {
    font-size: 0.94rem;
  }
}

.rivr-corner__link svg {
  width: 0.9rem;
  height: 0.9rem;
}

.rivr-corner:hover .rivr-corner__link {
  color: rgba(15, 42, 21, 0.85);
}

@keyframes rivrFadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rivrFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes rivrFadeInScale {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes rivrSlideIn {
  from {
    opacity: 0;
    transform: translateX(-16px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .rivr-hero__title,
  .rivr-hero__sub,
  .rivr-card-left,
  .rivr-corner {
    animation: none;
  }
}

/* ========== JOURNEY + BOOKING SECTION ========== */
.journey {
  padding: var(--section-y) 0;
  background: var(--warm-white);
  border-top: none;
}

.journey__layout {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

.journey__logo {
  width: min(220px, 70vw);
  height: auto;
  margin-bottom: 1.5rem;
}

.journey__intro .section-title {
  margin-bottom: 1rem;
}

.journey__intro .section-title em {
  font-style: italic;
  color: var(--forest);
}

.journey__lead {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 38ch;
  margin-bottom: 1.75rem;
}

.journey__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.journey__panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-lg);
}

.journey__panel-head {
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.journey__panel-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--forest-dark);
  margin-bottom: 0.35rem;
}

.journey__panel-sub {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
}

@media (min-width: 1024px) {
  .journey__layout {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
  }

  .journey__panel {
    padding: 2.25rem;
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
  }
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 2rem) 0 3rem;
  color: var(--white);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroZoom 22s var(--ease) infinite alternate;
}

@keyframes heroZoom {
  to {
    transform: scale(1.1);
  }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(15, 42, 21, 0.82) 0%,
    rgba(15, 42, 21, 0.55) 48%,
    rgba(15, 42, 21, 0.35) 100%
  );
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: var(--container-wide);
  margin-inline: auto;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero__copy h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 6.5vw, 4.75rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  max-width: 14ch;
}

.hero__copy h2 em {
  font-style: italic;
  color: var(--gold-soft);
}

.hero__copy .lead {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 30rem;
  margin-bottom: 1.75rem;
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Booking form */
.booking-card {
  position: relative;
  background: rgba(255, 255, 255, 0.97);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.booking-card__title {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 500;
  color: var(--forest-dark);
  margin-bottom: 0.35rem;
}

.booking-card__sub {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.booking-form {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--warm-white);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(30, 81, 40, 0.12);
}

.form-field textarea {
  min-height: 88px;
  resize: vertical;
}

.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%231E5128' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* Booking wizard */
.bf-count {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.bf-count[hidden],
.bf-progress[hidden],
.bf-note[hidden] {
  display: none;
}

.bf-progress {
  height: 4px;
  border-radius: 4px;
  background: var(--cream);
  overflow: hidden;
  margin-bottom: 1.1rem;
}

.bf-progress__bar {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--forest));
  transition: width 0.5s var(--ease);
}

.bf-note {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--forest);
  margin-bottom: 1.1rem;
  line-height: 1.5;
}

.bf-step {
  display: none;
  border: none;
  padding: 0;
  margin: 0;
  min-inline-size: 0;
}

.bf-step.is-active {
  display: grid;
  gap: 1rem;
  animation: bfStepIn 0.45s var(--ease);
}

@keyframes bfStepIn {
  from {
    opacity: 0;
    transform: translateX(26px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.bf-intro-text {
  font-size: 0.98rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

.bf-intro-list {
  display: grid;
  gap: 0.5rem;
}

.bf-intro-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.bf-intro-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.8rem;
}

.bf-nav {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.bf-nav .btn {
  flex: 1;
}

.bf-nav .btn[hidden] {
  display: none;
}

.bf-choice {
  border: none;
  margin: 0 0 1rem;
  padding: 0;
}

.bf-choice__legend {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  margin-bottom: 0.65rem;
}

.bf-choice__options {
  display: grid;
  gap: 0.55rem;
}

@media (min-width: 520px) {
  .bf-choice__options {
    grid-template-columns: 1fr 1fr;
  }
}

.bf-choice__option {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--warm-white);
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--ink);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.bf-choice__option:hover {
  border-color: rgba(30, 81, 40, 0.35);
}

.bf-choice__option:has(input:checked) {
  border-color: var(--forest);
  background: rgba(30, 81, 40, 0.06);
  box-shadow: inset 0 0 0 1px var(--forest);
}

.bf-choice__option input {
  accent-color: var(--forest);
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.bf-help {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.55rem;
  line-height: 1.45;
}

.bf-help strong {
  color: var(--forest);
  font-weight: 600;
}

.bf-services {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.75rem;
  max-height: 14.5rem;
  overflow-y: auto;
  padding-right: 0.25rem;
}

@media (min-width: 560px) {
  .bf-services {
    grid-template-columns: 1fr 1fr;
    max-height: none;
  }
}

.bf-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--warm-white);
  cursor: pointer;
  font-size: 0.86rem;
  line-height: 1.35;
  color: var(--ink);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.bf-check:hover {
  border-color: rgba(30, 81, 40, 0.35);
}

.bf-check:has(input:checked) {
  border-color: var(--forest);
  background: rgba(30, 81, 40, 0.06);
}

.bf-check input {
  accent-color: var(--forest);
  width: 1rem;
  height: 1rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.bf-services-error {
  margin-top: 0.65rem;
  font-size: 0.82rem;
  color: #9b2c2c;
}

.bf-services-error[hidden] {
  display: none;
}

.form-status {
  display: none;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-top: 0.75rem;
}

.form-status.is-success {
  display: block;
  background: rgba(30, 81, 40, 0.08);
  color: var(--forest);
  border: 1px solid rgba(30, 81, 40, 0.2);
}

.form-status.is-error {
  display: block;
  background: rgba(160, 40, 40, 0.08);
  color: #8a2222;
  border: 1px solid rgba(160, 40, 40, 0.2);
}

.form-status__title {
  margin: 0 0 0.35rem;
  font-weight: 700;
  font-size: 1rem;
  color: var(--forest-dark, #143d1e);
}

.form-status__body {
  margin: 0;
}

.form-status__id {
  margin: 0.55rem 0 0;
  font-size: 0.86rem;
  opacity: 0.9;
}

.form-status__id strong {
  letter-spacing: 0.03em;
}

@media (min-width: 540px) {
  .form-row--2 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
  }

  .booking-card {
    padding: 2.25rem;
  }
}

/* ========== STATS ========== */
.stats {
  background: var(--forest-dark);
  color: var(--white);
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 20% 50%,
    rgba(227, 178, 60, 0.12),
    transparent 55%
  );
  pointer-events: none;
}

.stats__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1.5rem;
}

.stat {
  text-align: center;
}

.stat__num {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat__label {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

@media (min-width: 768px) {
  .stats__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ========== ABOUT ========== */
.about {
  padding: var(--section-y) 0;
}

.about__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.about__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lg);
}

.about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__media::after {
  content: "";
  position: absolute;
  inset: auto 1.25rem 1.25rem auto;
  width: 90px;
  height: 90px;
  border: 1px solid rgba(227, 178, 60, 0.7);
  border-radius: 50%;
  pointer-events: none;
}

.about__copy p {
  color: var(--ink-soft);
  margin-bottom: 1.15rem;
}

.about__copy p:last-of-type {
  margin-bottom: 1.75rem;
}

.about__quote {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--forest);
  border-left: 2px solid var(--gold);
  padding-left: 1.25rem;
  margin: 1.75rem 0;
  line-height: 1.5;
}

@media (min-width: 900px) {
  .about__grid {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 4.5rem;
  }

  .about__media {
    aspect-ratio: 5 / 6;
  }
}

/* ========== DESTINATIONS ========== */
.destinations {
  padding: var(--section-y) 0;
  background: var(--cream);
}

.dest-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.dest-grid {
  perspective: 1200px;
}

.dest-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s ease-out, box-shadow 0.35s var(--ease);
  transform-style: preserve-3d;
}

.dest-card:hover {
  box-shadow: var(--shadow-lg);
}

.dest-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.dest-card:hover img {
  transform: scale(1.06);
}

.dest-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 30%,
    rgba(15, 42, 21, 0.88) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: var(--white);
}

.dest-card__overlay h3 {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.dest-card__overlay p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 0.85rem;
  max-width: 28ch;
  line-height: 1.55;
}

.dest-card__link {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.dest-card__link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s var(--ease);
}

.dest-card:hover .dest-card__link svg {
  transform: translateX(4px);
}

@media (min-width: 640px) {
  .dest-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .dest-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .dest-card--tall {
    grid-row: span 2;
    aspect-ratio: auto;
    min-height: 100%;
  }
}

/* ========== EXPERIENCES ========== */
.experiences {
  padding: 0;
  background: #030b06;
  color: var(--white);
}

/* Animated WebGL gradient background (Velaris) */
.experiences__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Soft veil so cards and type stay readable over the shader */
.experiences__veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
      ellipse 90% 70% at 50% 45%,
      transparent 30%,
      rgba(3, 11, 6, 0.55) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(3, 11, 6, 0.65),
      transparent 22%,
      transparent 72%,
      rgba(3, 11, 6, 0.8)
    );
}

.experiences__head,
.experiences .hscroll__viewport,
.experiences .exp-meta {
  position: relative;
  z-index: 1;
}

.experiences .eyebrow {
  color: #6ee7a0;
}

.experiences .eyebrow::before {
  background: #6ee7a0;
}

.experiences .section-title {
  color: var(--white);
}

.experiences .section-lead {
  color: rgba(255, 255, 255, 0.72);
}

.experiences .hscroll__viewport {
  scrollbar-color: #4ade80 transparent;
}

.experiences .hscroll__viewport::-webkit-scrollbar-thumb {
  background: #4ade80;
}

/* Glass badge */
.exp-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 1rem;
  margin-bottom: 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.exp-badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5);
  animation: expPulse 2.4s var(--ease) infinite;
}

@keyframes expPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(74, 222, 128, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
  }
}

/* Progress counter + line under the track */
.exp-meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.exp-meta__counter {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--white);
  font-variant-numeric: tabular-nums;
  min-width: 4.5ch;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
}

.exp-meta__line {
  flex: 1;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.15);
  overflow: hidden;
}

.exp-meta__bar {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #4ade80, #059669);
  transform: scaleX(0);
  transform-origin: left;
}

.exp-meta__hint {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 640px) {
  .exp-meta__hint {
    display: none;
  }
}

/* Dark sections with animated Velaris background */
.section-dark {
  position: relative;
  background: #030b06;
  color: var(--white);
}

.velaris-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.velaris-veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
      ellipse 90% 70% at 50% 45%,
      transparent 30%,
      rgba(3, 11, 6, 0.55) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(3, 11, 6, 0.65),
      transparent 22%,
      transparent 72%,
      rgba(3, 11, 6, 0.8)
    );
}

.section-dark .container,
.section-dark .hscroll__viewport,
.section-dark .t-marquee {
  position: relative;
  z-index: 1;
}

.section-dark .eyebrow {
  color: #6ee7a0;
}

.section-dark .eyebrow::before {
  background: #6ee7a0;
}

.section-dark .section-title {
  color: var(--white);
}

.section-dark .section-lead {
  color: rgba(255, 255, 255, 0.72);
}

/* Horizontal scroll-jack — pin until every card is shown, then release */
.hscroll {
  position: relative;
  padding: 0;
}

.hscroll__sticky {
  position: sticky;
  top: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-block: 1.25rem;
}

.hscroll__viewport {
  overflow: hidden;
  padding-bottom: 0;
  scrollbar-width: none;
  touch-action: pan-y;
}

.hscroll__viewport::-webkit-scrollbar {
  display: none;
}

.hscroll__track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  padding-inline: max(calc((100vw - 1180px) / 2), 1.25rem);
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

/* Reduced-motion / fallback: normal sideways swipe */
.hscroll.is-native {
  padding: var(--section-y) 0;
}

.hscroll.is-native .hscroll__sticky {
  position: relative;
  min-height: 0;
  overflow: visible;
  padding-block: 0;
}

.hscroll.is-native .hscroll__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x;
  padding-bottom: 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--forest) transparent;
}

.hscroll.is-native .hscroll__viewport::-webkit-scrollbar {
  display: block;
  height: 4px;
}

.hscroll.is-native .hscroll__viewport::-webkit-scrollbar-thumb {
  background: var(--forest);
  border-radius: 4px;
}

.hscroll.is-native .hscroll__track {
  will-change: auto;
  transform: none !important;
}

@media (min-width: 1024px) {
  .hscroll__sticky {
    padding-block: 2rem;
  }
}

@media (max-width: 1023px) {
  /* Pin the whole block in the vertical middle of the phone */
  .hscroll__sticky {
    justify-content: center;
    align-items: stretch;
    gap: 0.75rem;
    padding-top: calc(var(--header-h) + 0.35rem);
    padding-bottom: max(1.25rem, env(safe-area-inset-bottom));
    box-sizing: border-box;
  }

  .experiences .hscroll__sticky,
  .services .hscroll__sticky {
    padding-top: calc(var(--header-h) + 0.5rem);
  }

  .experiences__head,
  .services .container {
    flex-shrink: 0;
  }

  .experiences__head .section-head,
  .services .section-head {
    margin-bottom: 0;
  }

  .experiences__head .section-lead,
  .services .section-lead {
    display: none;
  }

  .experiences__head .eyebrow,
  .services .eyebrow {
    margin-bottom: 0.35rem;
  }

  .experiences__head .section-title,
  .services .section-title {
    font-size: clamp(1.65rem, 6.5vw, 2.1rem);
    margin-bottom: 0;
  }

  .exp-badge {
    margin-bottom: 0.4rem;
  }

  .exp-meta {
    margin-top: 0.75rem;
  }

  .services .hscroll__viewport {
    padding-block: 0.35rem 0.5rem;
  }

  .experiences .hscroll__viewport {
    margin-top: 0.35rem;
  }

  .exp-card {
    width: min(270px, 76vw);
  }

  .service-card {
    width: min(250px, 74vw);
    padding: 1.25rem 1.15rem 1.2rem;
  }
}

.exp-card {
  scroll-snap-align: start;
  width: min(320px, 80vw);
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.exp-card:hover {
  transform: translateY(-4px);
  border-color: rgba(74, 222, 128, 0.45);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

.exp-card__media {
  aspect-ratio: 16 / 11;
  overflow: hidden;
}

.exp-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.exp-card:hover .exp-card__media img {
  transform: scale(1.05);
}

.exp-card__body {
  padding: 1.35rem 1.25rem 1.5rem;
}

.exp-card__body h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0.45rem;
}

.exp-card__body p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.6;
}

/* ========== STORYTELLING ========== */
.story {
  position: relative;
  padding: var(--section-y) 0;
  color: var(--white);
  overflow: hidden;
}

.story__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.story__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(15, 42, 21, 0.92) 0%,
    rgba(15, 42, 21, 0.78) 45%,
    rgba(15, 42, 21, 0.45) 100%
  );
}

.story .container {
  position: relative;
  z-index: 1;
}

.story__content {
  max-width: 36rem;
}

.story .section-title {
  color: var(--white);
}

.story .eyebrow {
  color: var(--gold);
}

.story p {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 1.1rem;
}

.story__highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.story__highlight {
  padding: 1.1rem 1.15rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.story__highlight strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--gold-soft);
  margin-bottom: 0.25rem;
}

.story__highlight span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.45;
}

/* ========== WELLNESS ========== */
.wellness {
  padding: var(--section-y) 0;
  background:
    radial-gradient(ellipse 70% 55% at 85% 20%, rgba(227, 178, 60, 0.08), transparent 60%),
    linear-gradient(180deg, var(--cream) 0%, var(--warm-white) 100%);
}

.wellness__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.wellness__copy .section-title {
  margin-bottom: 1.15rem;
}

.wellness__copy p {
  color: var(--ink-soft);
  margin-bottom: 1.1rem;
}

.wellness__list {
  display: grid;
  gap: 0.95rem;
  margin: 1.5rem 0 1.85rem;
}

.wellness__list li {
  display: grid;
  gap: 0.2rem;
  padding-left: 1rem;
  border-left: 2px solid var(--gold);
}

.wellness__list strong {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--forest-deep);
}

.wellness__list span {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.5;
}

.wellness__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-lg);
}

.wellness__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.wellness__media:hover img {
  transform: scale(1.03);
}

.wellness__caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  margin: 0;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  background: rgba(250, 248, 243, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--forest-dark);
  text-align: center;
}

@media (min-width: 900px) {
  .wellness__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
  }
}

/* ========== SERVICES ========== */
.services {
  padding: 0;
}

.services .hscroll__viewport {
  scrollbar-color: #4ade80 transparent;
  padding-block: 1rem 1.25rem;
}

@media (min-width: 1024px) {
  .services .hscroll__viewport {
    padding-block: 2.5rem 4rem;
  }
}

.services .hscroll__viewport::-webkit-scrollbar-thumb {
  background: #4ade80;
}

/* Liquid glass service cards */
.service-card {
  position: relative;
  overflow: hidden;
  scroll-snap-align: start;
  width: min(300px, 78vw);
  flex-shrink: 0;
  background: linear-gradient(
    150deg,
    rgba(255, 255, 255, 0.13),
    rgba(255, 255, 255, 0.04) 45%,
    rgba(255, 255, 255, 0.09)
  );
  border-radius: 24px;
  padding: 2rem 1.6rem 1.9rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  box-shadow: 0 0 45px rgba(74, 222, 128, 0.1), 0 22px 45px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease),
    border-color 0.5s var(--ease);
}

/* Liquid highlight sweeping across the top edge */
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 60%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.75),
    transparent
  );
  animation: glassSheen 5.5s var(--ease) infinite;
}

@keyframes glassSheen {
  0%,
  55% {
    left: -60%;
  }
  85%,
  100% {
    left: 110%;
  }
}

/* Cursor-tracked spotlight, tinted green for the dark glass */
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    300px circle at var(--mx, 50%) var(--my, 50%),
    rgba(110, 231, 160, 0.16),
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}

.service-card:hover::after {
  opacity: 1;
}

/* Higher specificity so the reveal system's `transform: none` cannot
   cancel the hover lift or the staggered offsets */
.services .service-card.is-visible {
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease),
    border-color 0.5s var(--ease);
}

.services .service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(74, 222, 128, 0.5);
  box-shadow: 0 0 75px rgba(74, 222, 128, 0.24), 0 28px 55px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Staggered rhythm so the row feels composed, not uniform */
@media (min-width: 1024px) {
  .services .service-card:nth-child(even).is-visible {
    transform: translateY(2.25rem);
  }

  .services .service-card:nth-child(even):hover {
    transform: translateY(calc(2.25rem - 8px));
  }
}

.service-card__num {
  position: absolute;
  top: 1.35rem;
  right: 1.5rem;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.22);
}

.service-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.28);
  color: #6ee7a0;
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 24px rgba(74, 222, 128, 0.15);
}

.service-card__icon svg {
  width: 22px;
  height: 22px;
}

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.6;
}

@media (prefers-reduced-motion: reduce) {
  .service-card::before {
    animation: none;
  }
}

/* ========== HOW IT WORKS ========== */
.how {
  padding: var(--section-y) 0;
}

.timeline {
  position: relative;
  display: grid;
  gap: 2rem;
  max-width: 760px;
  margin-inline: auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: rgba(30, 81, 40, 0.15);
}

.timeline::after {
  content: "";
  position: absolute;
  left: 23px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  margin-left: -0.5px;
  background: linear-gradient(var(--gold), var(--forest));
  transform: scaleY(var(--tl-progress, 0));
  transform-origin: top;
  will-change: transform;
}

.timeline__item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1.25rem;
  align-items: start;
}

.timeline__num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--muted);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--warm-white);
  transition: background 0.5s var(--ease), color 0.5s var(--ease),
    transform 0.5s var(--ease);
}

.timeline__item.is-active .timeline__num {
  background: var(--forest);
  color: var(--gold);
  transform: scale(1.08);
}

.timeline__body {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  box-shadow: var(--shadow-sm);
}

.timeline__body h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--forest-dark);
  margin-bottom: 0.4rem;
}

.timeline__body p {
  font-size: 0.95rem;
  color: var(--muted);
}

@media (min-width: 768px) and (max-width: 1023px) {
  .timeline {
    max-width: 900px;
  }

  .timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }

  .timeline::after {
    left: 50%;
    margin-left: -1px;
  }

  .timeline__item {
    grid-template-columns: 1fr 48px 1fr;
    gap: 1.5rem;
  }

  .timeline__item:nth-child(odd) .timeline__body {
    grid-column: 1;
    grid-row: 1;
    text-align: right;
  }

  .timeline__item:nth-child(odd) .timeline__num {
    grid-column: 2;
    grid-row: 1;
  }

  .timeline__item:nth-child(odd)::after {
    content: "";
    grid-column: 3;
  }

  .timeline__item:nth-child(even) .timeline__num {
    grid-column: 2;
    grid-row: 1;
  }

  .timeline__item:nth-child(even) .timeline__body {
    grid-column: 3;
    grid-row: 1;
  }
}

/* Desktop: the journey reads left to right */
@media (min-width: 1024px) {
  .timeline {
    grid-template-columns: repeat(6, 1fr);
    gap: 1.25rem;
    max-width: none;
    align-items: stretch;
  }

  .timeline::before {
    left: 24px;
    right: 24px;
    top: 24px;
    bottom: auto;
    width: auto;
    height: 1px;
  }

  .timeline::after {
    left: 24px;
    right: 24px;
    top: 24px;
    bottom: auto;
    width: auto;
    height: 2px;
    margin-left: 0;
    margin-top: -0.5px;
    background: linear-gradient(90deg, var(--gold), var(--forest));
    transform: scaleX(var(--tl-progress, 0));
    transform-origin: left;
  }

  .timeline__item {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    gap: 1.1rem;
    justify-items: start;
  }

  .timeline__body {
    width: 100%;
    padding: 1.2rem 1.15rem;
  }

  .timeline__body h3 {
    font-size: 1.15rem;
  }

  .timeline__body p {
    font-size: 0.88rem;
  }
}

/* ========== WHY CHOOSE ========== */
.why {
  padding: var(--section-y) 0;
  background: var(--forest-deep);
  color: var(--white);
}

.why .section-title {
  color: var(--white);
}

.why .section-lead {
  color: rgba(255, 255, 255, 0.7);
}

.why-grid {
  display: grid;
  gap: 1.15rem;
}

.why-card {
  position: relative;
  overflow: hidden;
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.why-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    320px circle at var(--mx, 50%) var(--my, 50%),
    rgba(227, 178, 60, 0.16),
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}

.why-card:hover::after {
  opacity: 1;
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(227, 178, 60, 0.4);
}

/* Bento feature cell */
.why-card--feature {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem 1.75rem;
}

.why-card--feature img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.8s var(--ease);
}

.why-card--feature:hover img {
  transform: scale(1.05);
}

.why-card--feature::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(15, 42, 21, 0.1) 20%,
    rgba(15, 42, 21, 0.92) 100%
  );
}

.why-card--feature > * {
  position: relative;
  z-index: 2;
}

.why-card--feature h3 {
  font-size: 1.75rem;
}

.why-card--feature p {
  color: rgba(255, 255, 255, 0.85);
}

.why-card__num {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.why-card h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.why-card p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.6;
}

@media (min-width: 640px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-card--feature {
    grid-column: span 2;
  }
}

@media (min-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .why-card--feature {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 100%;
  }
}

/* ========== FOUNDER ========== */
.founder {
  padding: var(--section-y) 0;
}

.founder__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.founder__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(30, 81, 40, 0.08);
  background: linear-gradient(160deg, var(--cream) 0%, #ebe5d8 100%);
  padding: 1.15rem 1.15rem 0;
}

/* Thin gold frame inset over the portrait */
.founder__media::before {
  content: "";
  position: absolute;
  inset: 1.15rem 1.15rem 0;
  border-radius: calc(var(--radius-lg) - 10px) calc(var(--radius-lg) - 10px) 0 0;
  border: 1px solid rgba(227, 178, 60, 0.35);
  border-bottom: none;
  pointer-events: none;
  z-index: 1;
}

.founder__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 8%;
  border-radius: calc(var(--radius-lg) - 10px) calc(var(--radius-lg) - 10px) 0 0;
}

.founder__badge {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 2;
  background: rgba(250, 248, 243, 0.95);
  backdrop-filter: blur(8px);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
}

.founder__badge strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--forest-dark);
}

.founder__badge span {
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.founder__copy p {
  color: var(--ink-soft);
  margin-bottom: 1.1rem;
}

@media (min-width: 900px) {
  .founder__grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4.5rem;
  }
}

/* ========== TESTIMONIALS ========== */
.testimonials {
  padding: var(--section-y) 0;
  overflow: hidden;
}

.section-dark .testimonial {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.section-dark .testimonial:hover {
  border-color: rgba(74, 222, 128, 0.45);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.4);
}

.section-dark .testimonial blockquote {
  color: rgba(255, 255, 255, 0.85);
}

.section-dark .testimonial__author strong {
  color: var(--white);
}

.section-dark .testimonial__author span {
  color: rgba(255, 255, 255, 0.55);
}

.t-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 6%,
    #000 94%,
    transparent
  );
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  padding-block: 0.5rem;
}

.t-marquee + .t-marquee {
  margin-top: 0.75rem;
}

.t-marquee__track {
  display: flex;
  width: max-content;
  animation: tScroll 55s linear infinite;
  will-change: transform;
}

.t-marquee--reverse .t-marquee__track {
  animation-direction: reverse;
  animation-duration: 62s;
}

.t-marquee:hover .t-marquee__track {
  animation-play-state: paused;
}

.t-marquee__group {
  display: flex;
  gap: 1.25rem;
  padding-right: 1.25rem;
  flex-shrink: 0;
}

@keyframes tScroll {
  to {
    transform: translateX(-50%);
  }
}

.testimonial {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.85rem 1.6rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  width: min(380px, 82vw);
  flex-shrink: 0;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.testimonial:hover {
  border-color: rgba(227, 178, 60, 0.5);
  box-shadow: var(--shadow-md);
}

.stars {
  color: var(--gold);
  letter-spacing: 0.1em;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.testimonial blockquote {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
  flex: 1;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.testimonial__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--cream);
}

.testimonial__author strong {
  display: block;
  font-size: 0.95rem;
  color: var(--forest-dark);
}

.testimonial__author span {
  font-size: 0.8rem;
  color: var(--muted);
}


/* ========== SOCIAL ========== */
.social-section {
  padding: var(--section-y) 0;
  overflow: hidden;
}

.section-dark .social-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.4);
}

.social-grid {
  display: grid;
  gap: 1.25rem;
}

.social-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 11;
  box-shadow: var(--shadow-md);
}

.social-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.social-card:hover img {
  transform: scale(1.05);
}

.social-card__body {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 42, 21, 0.15),
    rgba(15, 42, 21, 0.85)
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: var(--white);
}

.social-card__platform {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.social-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.social-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

@media (min-width: 768px) {
  .social-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ========== GALLERY PREVIEW ========== */
.gallery-preview {
  position: relative;
  padding: var(--section-y) 0;
  background: var(--cream);
  overflow: hidden;
}

/* Geometric network of drifting dots and connecting lines */
.geo-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.gallery-preview .container {
  position: relative;
  z-index: 1;
}

/* Fan of photo cards: stacked deck that spreads along a curve as the
   visitor scrolls through the section, driven by the --fan variable */
.gallery-fan {
  --fan: 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 3.5rem 0 3rem;
  margin-bottom: 1.5rem;
}

.gallery-fan__card {
  width: clamp(120px, 24vw, 240px);
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
  border: 5px solid var(--white);
  box-shadow: 0 18px 40px rgba(15, 42, 21, 0.28);
  transform-origin: 50% 130%;
  transition: transform 0.45s var(--ease), box-shadow 0.4s var(--ease);
  will-change: transform;
}

.gallery-fan__card + .gallery-fan__card {
  margin-left: calc(clamp(120px, 24vw, 240px) * -0.48);
}

.gallery-fan__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 11px;
}

/* Center cards sit on top of the stack */
.gallery-fan__card:nth-child(1),
.gallery-fan__card:nth-child(6) {
  z-index: 1;
}

.gallery-fan__card:nth-child(2),
.gallery-fan__card:nth-child(5) {
  z-index: 2;
}

.gallery-fan__card:nth-child(3),
.gallery-fan__card:nth-child(4) {
  z-index: 3;
}

/* Curved spread interpolated by scroll progress */
.gallery-fan__card:nth-child(1) {
  transform: rotate(calc(var(--fan) * -16deg))
    translateY(calc(36px - var(--fan) * 6px));
}

.gallery-fan__card:nth-child(2) {
  transform: rotate(calc(var(--fan) * -9.5deg))
    translateY(calc(36px - var(--fan) * 26px));
}

.gallery-fan__card:nth-child(3) {
  transform: rotate(calc(var(--fan) * -3deg))
    translateY(calc(36px - var(--fan) * 36px));
}

.gallery-fan__card:nth-child(4) {
  transform: rotate(calc(var(--fan) * 3deg))
    translateY(calc(36px - var(--fan) * 36px));
}

.gallery-fan__card:nth-child(5) {
  transform: rotate(calc(var(--fan) * 9.5deg))
    translateY(calc(36px - var(--fan) * 26px));
}

.gallery-fan__card:nth-child(6) {
  transform: rotate(calc(var(--fan) * 16deg))
    translateY(calc(36px - var(--fan) * 6px));
}

.gallery-fan .gallery-fan__card:hover {
  transform: rotate(0deg) translateY(-18px) scale(1.05);
  box-shadow: 0 28px 55px rgba(15, 42, 21, 0.35);
  z-index: 10;
}

@media (prefers-reduced-motion: reduce) {
  .gallery-fan {
    --fan: 1;
  }

  .gallery-fan__card {
    transition: none;
  }
}

.gallery-preview__cta {
  text-align: center;
}

/* ========== EXCLUSIVE OFFER ========== */
.offer {
  padding: var(--section-y) 0;
}

.offer-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    var(--forest-deep),
    var(--forest-dark) 55%,
    var(--forest)
  );
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  color: var(--white);
  box-shadow: 0 30px 70px rgba(15, 42, 21, 0.35),
    0 0 60px rgba(227, 178, 60, 0.12);
}

/* Warm glow in the corner */
.offer-card::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -12%;
  width: 55%;
  aspect-ratio: 1;
  background: radial-gradient(
    circle,
    rgba(227, 178, 60, 0.22),
    transparent 65%
  );
  pointer-events: none;
}

/* Faint concentric rings, a quiet geometric texture */
.offer-card::after {
  content: "";
  position: absolute;
  bottom: -42%;
  left: -10%;
  width: 48%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 45px rgba(255, 255, 255, 0.04),
    0 0 0 95px rgba(255, 255, 255, 0.025);
  pointer-events: none;
}

.offer-card__badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 1.1rem;
  margin-bottom: 2rem;
  border-radius: 999px;
  border: 1px solid rgba(227, 178, 60, 0.4);
  background: rgba(227, 178, 60, 0.12);
  color: var(--gold-soft);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.offer-card__badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  animation: expPulse 2.2s var(--ease) infinite;
}

.offer-card__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
}

.offer-card__value {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.offer-card__percent {
  font-family: var(--font-serif);
  font-size: clamp(4.5rem, 10vw, 7.5rem);
  font-weight: 500;
  line-height: 0.9;
  color: var(--gold);
  text-shadow: 0 0 45px rgba(227, 178, 60, 0.35);
}

.offer-card__percent sup {
  font-size: 0.42em;
  vertical-align: super;
}

.offer-card__off {
  margin-top: 0.85rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.78);
}

/* Ticket-style dashed divider with notches */
.offer-card__divider {
  position: relative;
  border-top: 1px dashed rgba(227, 178, 60, 0.45);
}

.offer-card__divider::before,
.offer-card__divider::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--warm-white);
  top: 50%;
  transform: translateY(-50%);
}

.offer-card__divider::before {
  left: calc(-1 * clamp(2rem, 5vw, 3.5rem) - 13px);
}

.offer-card__divider::after {
  right: calc(-1 * clamp(2rem, 5vw, 3.5rem) - 13px);
}

.offer-card__eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 0.85rem;
}

.offer-card__title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.offer-card__lead {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: 1.35rem;
  max-width: 52ch;
}

.offer-card__perks {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.75rem;
}

.offer-card__perks li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.82);
}

.offer-card__perks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

.offer-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.offer-card__code {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.4rem;
  border: 1.5px dashed rgba(227, 178, 60, 0.6);
  border-radius: 12px;
  background: rgba(227, 178, 60, 0.08);
  color: var(--gold-soft);
  font-weight: 700;
  letter-spacing: 0.22em;
  font-size: 0.95rem;
}

.offer-card__code svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.offer-card__note {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

@media (min-width: 900px) {
  .offer-card__grid {
    grid-template-columns: 0.9fr auto 1.6fr;
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: center;
  }

  .offer-card__divider {
    border-top: 0;
    border-left: 1px dashed rgba(227, 178, 60, 0.45);
    align-self: stretch;
    min-height: 260px;
  }

  /* Small gold terminators instead of ticket notches on the
     vertical divider */
  .offer-card__divider::before,
  .offer-card__divider::after {
    width: 9px;
    height: 9px;
    background: var(--gold);
    opacity: 0.7;
    left: 0;
    transform: translateX(-50%);
  }

  .offer-card__divider::before {
    top: -4px;
  }

  .offer-card__divider::after {
    top: auto;
    right: auto;
    bottom: -4px;
  }
}

/* Follow-us mode (discount disabled) — same card language, solo layout */
.offer-card--follow {
  max-width: 720px;
  margin-inline: auto;
}

.offer-card__details--solo {
  padding: clamp(0.5rem, 2vw, 1rem) 0 0;
  text-align: left;
}

.offer-card--follow .offer-card__actions {
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

/* ========== FAQ ========== */
.faq {
  padding: var(--section-y) 0;
}

.faq-layout {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .faq-layout {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
  }
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

/* Facts panel: continuously moving Sri Lanka facts on the animated
   green shader background */
.facts-panel {
  position: relative;
  overflow: hidden;
  background: #030b06;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 1.75rem 1.5rem 1.5rem;
  box-shadow: 0 0 45px rgba(74, 222, 128, 0.1), 0 22px 45px rgba(0, 0, 0, 0.25);
}

@media (min-width: 1024px) {
  .facts-panel {
    position: sticky;
    top: calc(var(--header-h, 76px) + 1.5rem);
  }
}

.facts-panel__label,
.facts-panel .facts-marquee {
  position: relative;
  z-index: 1;
}

.facts-panel__label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6ee7a0;
  margin-bottom: 1rem;
}

.facts-marquee {
  height: 460px;
  overflow: hidden;
  mask-image: linear-gradient(
    to bottom,
    transparent,
    #000 12%,
    #000 88%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent,
    #000 12%,
    #000 88%,
    transparent
  );
}

.facts-track {
  display: grid;
  gap: 0.85rem;
  width: 100%;
  animation: factsScroll 36s linear infinite;
}

.facts-marquee:hover .facts-track {
  animation-play-state: paused;
}

@keyframes factsScroll {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(calc(-50% - 0.425rem));
  }
}

.fact-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm, 10px);
  padding: 1.1rem 1.25rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.fact-card p {
  font-family: var(--font-serif);
  font-size: 1.02rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

@media (prefers-reduced-motion: reduce) {
  .facts-track {
    animation: none;
  }

  .facts-marquee {
    height: auto;
    mask-image: none;
    -webkit-mask-image: none;
  }
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--forest-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-family: var(--font-sans);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--gold-muted);
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item .faq-answer {
  padding: 0 1.5rem 1.35rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.faq-item[open] .faq-answer {
  animation: faqReveal 0.45s var(--ease);
}

.faq-item[open] summary {
  color: var(--gold-muted);
}

@keyframes faqReveal {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== FINAL CTA ========== */
.final-cta {
  position: relative;
  padding: clamp(5rem, 12vw, 7.5rem) 0;
  color: var(--white);
  text-align: center;
  overflow: hidden;
}

.final-cta__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.final-cta__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.final-cta__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 42, 21, 0.78);
}

.final-cta .container {
  position: relative;
  z-index: 1;
}

.final-cta h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 1rem;
  max-width: 16ch;
  margin-inline: auto;
}

.final-cta p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 32rem;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}

.final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

/* ========== DESTINATION MODAL ========== */
.dest-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.dest-modal[hidden] {
  display: none;
}

.dest-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 42, 21, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.dest-modal.is-open .dest-modal__backdrop {
  opacity: 1;
}

.dest-modal__card {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(86vh, 780px);
  overflow-y: auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.dest-modal.is-open .dest-modal__card {
  opacity: 1;
  transform: none;
}

.dest-modal__close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--forest-dark);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.dest-modal__close:hover {
  transform: rotate(90deg);
  background: var(--gold);
}

.dest-modal__close svg {
  width: 18px;
  height: 18px;
}

.dest-modal__media {
  height: clamp(200px, 32vw, 300px);
}

.dest-modal__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dest-modal__body {
  padding: 1.75rem 1.5rem 2rem;
}

.dest-modal__title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  font-weight: 500;
  color: var(--forest-dark);
  margin: 0.35rem 0 1.25rem;
}

.dest-modal__facts {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.dest-fact {
  background: var(--cream);
  border-radius: var(--radius-sm, 10px);
  padding: 0.85rem 1rem;
  display: grid;
  gap: 0.2rem;
}

.dest-fact__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-muted);
}

.dest-fact__value {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--forest-dark);
}

.dest-modal__desc {
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.dest-modal__subtitle {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--forest-dark);
  margin-bottom: 0.75rem;
}

.dest-modal__attractions {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.75rem;
}

.dest-modal__attractions li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.55;
}

.dest-modal__attractions li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

@media (min-width: 720px) {
  .dest-modal {
    padding: 2rem;
  }

  .dest-modal__body {
    padding: 2rem 2.5rem 2.5rem;
  }

  .dest-modal__facts {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ========== FLOATING ACTION BUTTONS ========== */
.float-actions {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.float-btn {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(15, 42, 21, 0.28);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    opacity 0.3s var(--ease);
}

.float-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(15, 42, 21, 0.35);
}

.float-btn svg {
  width: 24px;
  height: 24px;
}

.float-btn--wa {
  background: #25d366;
  color: #fff;
}

.float-btn--top {
  background: var(--forest);
  color: var(--white);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

.float-btn--top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

@media (min-width: 1024px) {
  .float-actions {
    right: 1.75rem;
    bottom: 1.75rem;
  }
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--forest-deep);
  color: rgba(255, 255, 255, 0.78);
  padding: 4.5rem 0 0;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand img {
  height: 72px;
  width: auto;
  margin-bottom: 1.15rem;
  padding: 0.65rem 0.85rem;
  background: rgba(250, 248, 243, 0.95);
  border-radius: var(--radius-sm);
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 28ch;
  margin-bottom: 1.25rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
    color 0.3s var(--ease);
  color: var(--white);
}

.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--forest-deep);
}

.footer-social svg {
  width: 16px;
  height: 16px;
}

.footer-col h4 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 1.15rem;
}

.footer-col ul {
  display: grid;
  gap: 0.55rem;
}

.footer-col a {
  font-size: 0.92rem;
  transition: color 0.25s var(--ease);
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-col .contact-line {
  display: grid;
  gap: 0.65rem;
  font-size: 0.92rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.65);
}

.footer-bottom a:hover {
  color: var(--gold);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.azryno {
  color: var(--gold) !important;
  font-weight: 500;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  }
}

/* ========== GALLERY PAGE ========== */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
  padding: 2.5rem 0 1.5rem;
  position: sticky;
  top: var(--header-h);
  z-index: 50;
  background: rgba(250, 248, 243, 0.94);
  backdrop-filter: blur(12px);
}

.filter-btn {
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  background: var(--white);
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.filter-btn:hover,
.filter-btn[aria-pressed="true"] {
  background: var(--forest);
  color: var(--white);
  border-color: var(--forest);
}

.masonry {
  column-count: 1;
  column-gap: 1rem;
  padding-bottom: var(--section-y);
}

.masonry__item {
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.masonry__item.is-hidden {
  display: none;
}

.masonry__item img {
  width: 100%;
  display: block;
  transition: transform 0.7s var(--ease);
}

.masonry__item:hover img {
  transform: scale(1.03);
}

.masonry__caption {
  position: absolute;
  inset: auto 0 0;
  padding: 1.5rem 1rem 1rem;
  background: linear-gradient(transparent, rgba(15, 42, 21, 0.8));
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.masonry__item:hover .masonry__caption,
.masonry__item:focus-within .masonry__caption {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 640px) {
  .masonry {
    column-count: 2;
  }
}

@media (min-width: 1024px) {
  .masonry {
    column-count: 3;
    column-gap: 1.25rem;
  }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(10, 20, 12, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox__img {
  max-width: min(1100px, 100%);
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}

.lightbox__caption {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  text-align: center;
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  display: grid;
  place-items: center;
  transition: background 0.25s var(--ease);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
  background: var(--gold);
  color: var(--forest-deep);
  border-color: var(--gold);
}

.lightbox__close {
  top: 1.25rem;
  right: 1.25rem;
  font-size: 1.5rem;
}

.lightbox__prev {
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__next {
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__close svg,
.lightbox__prev svg,
.lightbox__next svg {
  width: 20px;
  height: 20px;
}

/* ========== SCROLL PROGRESS ========== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--gold), var(--gold-muted));
  z-index: 1100;
  pointer-events: none;
}

/* ========== FLAG MARQUEE (after How it works) ========== */
.flag-marquee {
  padding: clamp(2.75rem, 6vw, 4.5rem) 0 clamp(2.25rem, 5vw, 3.5rem);
  background: var(--warm-white);
  border-block: 1px solid var(--line);
  overflow: hidden;
}

.flag-marquee__intro {
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.flag-marquee__title {
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 3.5vw, 2.35rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--forest-deep);
  margin: 0.35rem 0 0.65rem;
}

.flag-marquee__copy {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}

.flag-marquee__viewport {
  display: flex;
  overflow: hidden;
  user-select: none;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 6%,
    #000 94%,
    transparent
  );
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.flag-marquee__viewport + .flag-marquee__viewport {
  margin-top: 0.85rem;
}

.flag-marquee__track {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
  min-width: max-content;
  padding-right: 0.85rem;
  animation: flagMarqueeLeft 75s linear infinite;
  will-change: transform;
}

.flag-marquee__viewport--reverse .flag-marquee__track {
  animation-name: flagMarqueeRight;
  animation-duration: 85s;
}

.flag-marquee__viewport:hover .flag-marquee__track {
  animation-play-state: paused;
}

.flag-marquee__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  flex-shrink: 0;
  height: 2rem;
  padding: 0 0.55rem;
  border-radius: 999px;
  background: rgba(30, 81, 40, 0.04);
  border: 1px solid rgba(30, 81, 40, 0.08);
}

.flag-marquee__item--focus {
  height: 2.15rem;
  padding-inline: 0.7rem 0.85rem;
  background: rgba(30, 81, 40, 0.08);
  border-color: rgba(227, 178, 60, 0.35);
}

.flag-marquee__flag {
  font-size: 1rem;
  line-height: 1;
  filter: saturate(1.05);
}

.flag-marquee__item--focus .flag-marquee__flag {
  font-size: 1.05rem;
}

.flag-marquee__name {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--forest-dark);
  white-space: nowrap;
}

@keyframes flagMarqueeLeft {
  to {
    transform: translateX(-100%);
  }
}

@keyframes flagMarqueeRight {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .flag-marquee__track {
    animation: none;
  }

  .flag-marquee__viewport {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    mask-image: none;
    -webkit-mask-image: none;
  }
}

/* ========== MARQUEE ========== */
.marquee-section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  background: var(--warm-white);
  border-block: 1px solid var(--line);
  overflow: hidden;
}

.marquee-section__label {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: 2rem;
}

.marquee {
  display: flex;
  overflow: hidden;
  user-select: none;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee + .marquee {
  margin-top: 1.5rem;
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  flex-shrink: 0;
  min-width: 100%;
  padding-right: 3.5rem;
  animation: marqueeLeft 42s linear infinite;
  will-change: transform;
}

.marquee--reverse .marquee__track {
  animation-name: marqueeRight;
  animation-duration: 48s;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__item {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.6vw, 2.75rem);
  font-weight: 500;
  color: var(--forest-dark);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 3.5rem;
}

.marquee--reverse .marquee__item {
  font-style: italic;
  color: var(--gold-muted);
}

.marquee__item::after {
  content: "✦";
  font-size: 0.9rem;
  color: var(--gold);
}

@keyframes marqueeLeft {
  to {
    transform: translateX(-100%);
  }
}

@keyframes marqueeRight {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

/* ========== PARALLAX ========== */
[data-parallax] {
  will-change: transform;
}

.hero__media img[data-parallax],
.story__bg img[data-parallax],
.final-cta__bg img[data-parallax],
.page-hero__media img[data-parallax] {
  height: 120%;
  top: -10%;
  position: relative;
}

/* ========== REVEAL ========== */
.reveal,
.reveal-left,
.reveal-right,
.reveal-zoom {
  opacity: 0;
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal {
  transform: translateY(32px);
}

.reveal-left {
  transform: translateX(-44px);
}

.reveal-right {
  transform: translateX(44px);
}

.reveal-zoom {
  transform: scale(0.94);
}

.reveal.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible,
.reveal-zoom.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}

/* Header on light pages (gallery / knowledge) */
.site-header.header--solid {
  background: transparent;
  backdrop-filter: none;
}

.site-header.header--solid .nav-link {
  color: var(--ink-soft);
}

.site-header.header--solid .nav-link:hover,
.site-header.header--solid .nav-link.is-active {
  color: var(--forest);
}

.site-header.header--solid .header-cta {
  background: var(--forest);
  color: var(--white);
  border-color: transparent;
}

.site-header.header--solid .header-cta:hover {
  background: var(--forest-dark);
}

/* Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-zoom {
    opacity: 1;
    transform: none;
  }

  .hero__media img {
    animation: none;
  }

  .marquee__track {
    animation: none;
  }
}

/* ========== PAGE LOADER — multilingual hello + curtain ========== */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  overflow: hidden;
  pointer-events: auto;
}

.page-loader__curtain {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 2rem;
  background:
    radial-gradient(ellipse 90% 70% at 50% 42%, rgba(45, 106, 56, 0.4), transparent 68%),
    linear-gradient(165deg, #07140b 0%, var(--forest-deep) 48%, #0a1a0e 100%);
  color: var(--white);
  transform: translate3d(0, 0, 0);
  transition: transform 1.15s cubic-bezier(0.77, 0, 0.18, 1);
  will-change: transform;
}

.page-loader.is-done .page-loader__curtain {
  transform: translate3d(0, -105%, 0);
}

.page-loader.is-done {
  pointer-events: none;
}

.page-loader.is-gone {
  visibility: hidden;
}

.page-loader__inner {
  display: grid;
  justify-items: center;
  gap: 0.85rem;
  text-align: center;
  max-width: min(92vw, 40rem);
}

.page-loader__hello {
  margin: 0;
  font-family: var(--font-serif), "Noto Serif", "Hiragino Mincho ProN",
    "Songti SC", "Noto Sans Sinhala", "Iskoola Pota", "Latha", "Noto Sans Tamil",
    "Noto Sans Devanagari", "Noto Sans Arabic", "Apple SD Gothic Neo", serif;
  font-size: clamp(2.75rem, 11vw, 5.75rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
  text-wrap: balance;
  transition:
    opacity 0.32s var(--ease),
    transform 0.38s var(--ease),
    filter 0.38s var(--ease);
}

.page-loader__hello.is-exit {
  opacity: 0;
  transform: translate3d(0, 18px, 0) scale(0.97);
  filter: blur(4px);
}

.page-loader__hello.is-enter {
  opacity: 0;
  transform: translate3d(0, -14px, 0) scale(1.02);
  filter: blur(3px);
}

.page-loader__lang {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(240, 215, 138, 0.78);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.page-loader__lang.is-exit {
  opacity: 0;
  transform: translateY(6px);
}

.page-loader__progress {
  position: absolute;
  left: 50%;
  bottom: max(1.75rem, env(safe-area-inset-bottom));
  width: min(12rem, 42vw);
  height: 1px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  overflow: hidden;
}

.page-loader__fill {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-muted), var(--gold-soft));
  border-radius: inherit;
  transition: width 0.3s linear;
}

@media (prefers-reduced-motion: reduce) {
  .page-loader__curtain {
    transition: opacity 0.35s ease;
  }

  .page-loader.is-done .page-loader__curtain {
    transform: none;
    opacity: 0;
  }

  .page-loader__hello,
  .page-loader__lang {
    transition: opacity 0.2s ease;
  }

  .page-loader__hello.is-exit,
  .page-loader__hello.is-enter {
    transform: none;
    filter: none;
  }
}

/* ========== COOKIE BANNER ========== */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 9000;
  max-width: 42rem;
  margin-inline: auto;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  background: rgba(15, 42, 21, 0.94);
  color: var(--white);
  border: 1px solid rgba(227, 178, 60, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
  pointer-events: none;
}

.cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cookie-banner__inner {
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .cookie-banner {
    left: 1.5rem;
    right: auto;
    bottom: 1.5rem;
    width: min(28rem, calc(100vw - 3rem));
    margin-inline: 0;
  }

  .cookie-banner__inner {
    gap: 1.15rem;
  }
}

.cookie-banner__title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--gold-soft);
  margin-bottom: 0.35rem;
}

.cookie-banner__desc {
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.cookie-banner__btn {
  flex: 1 1 auto;
  min-width: 7.5rem;
  justify-content: center;
  font-size: 0.82rem;
  padding: 0.7rem 1rem;
}

.cookie-banner .btn--outline {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
  background: transparent;
}

.cookie-banner .btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: transparent;
}

.cookie-banner .btn--primary {
  background: var(--gold);
  color: var(--forest-deep);
  border-color: var(--gold);
}

.cookie-banner .btn--primary:hover {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
}

@media (min-width: 900px) {
  /* Keep clear of floating WhatsApp / scroll-top */
  .cookie-banner {
    bottom: 1.75rem;
  }
}

/* ========== KNOWLEDGE BASE ========== */
.kb {
  padding: clamp(2.5rem, 6vw, var(--section-y)) 0 clamp(3rem, 8vw, 5rem);
  background: var(--warm-white);
}

.kb__layout {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 640px) {
  .kb__layout {
    gap: 2rem;
  }
}

@media (min-width: 980px) {
  .kb__layout {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 3rem;
  }
}

.kb-toc {
  position: relative;
  z-index: 5;
}

@media (max-width: 979px) {
  .kb-toc {
    position: sticky;
    top: calc(var(--header-h) - 2px);
  }
}

.kb-toc__card {
  display: grid;
  gap: 0;
  padding: 0;
  border-radius: var(--radius);
  background: var(--cream);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.kb-toc__summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.1rem;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.kb-toc__summary::-webkit-details-marker {
  display: none;
}

.kb-toc__chevron {
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--forest);
  border-bottom: 2px solid var(--forest);
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease);
  flex-shrink: 0;
}

.kb-toc__card[open] .kb-toc__chevron {
  transform: rotate(-135deg);
  margin-top: 0.35rem;
}

.kb-toc__body {
  display: grid;
  gap: 1rem;
  padding: 0 1.1rem 1.15rem;
}

.kb-toc__label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-muted);
  font-weight: 600;
}

.kb-search input {
  width: 100%;
  padding: 0.75rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--ink);
}

.kb-search input:focus {
  outline: 2px solid rgba(30, 81, 40, 0.35);
  outline-offset: 1px;
}

.kb-toc__nav {
  display: grid;
  gap: 0.15rem;
  max-height: min(50vh, 22rem);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-right: 0.15rem;
}

.kb-toc__nav a {
  font-size: 0.9rem;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  color: var(--ink-soft);
  border-left: 2px solid transparent;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease);
  min-height: 44px;
  display: flex;
  align-items: center;
}

.kb-toc__nav a:hover,
.kb-toc__nav a.is-active {
  color: var(--forest);
  background: rgba(30, 81, 40, 0.06);
  border-left-color: var(--gold);
}

.kb-toc__nav a[hidden] {
  display: none;
}

.kb-toc__cta {
  justify-content: center;
  width: 100%;
  font-size: 0.85rem;
  padding: 0.8rem 1rem;
  min-height: 46px;
}

@media (min-width: 980px) {
  .kb-toc__card {
    position: sticky;
    top: calc(var(--header-h) + 1.25rem);
    max-height: calc(100vh - var(--header-h) - 2.5rem);
    overflow: auto;
    padding: 1.35rem 1.25rem;
    gap: 1rem;
  }

  .kb-toc__summary {
    pointer-events: none;
    padding: 0;
    cursor: default;
  }

  .kb-toc__chevron {
    display: none;
  }

  .kb-toc__body {
    padding: 0;
  }

  .kb-toc__nav {
    max-height: none;
    overflow: visible;
  }

  .kb-toc__label {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
  }

  .kb-search input {
    font-size: 0.88rem;
  }

  .kb-toc__nav a {
    font-size: 0.88rem;
    padding: 0.45rem 0.65rem;
    min-height: 0;
  }
}

.kb-content {
  display: grid;
  gap: 1.15rem;
  min-width: 0;
}

@media (min-width: 720px) {
  .kb-content {
    gap: 1.75rem;
  }
}

.kb-article {
  padding: 1.25rem 1.1rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (min-width: 560px) {
  .kb-article {
    padding: 1.5rem 1.35rem;
  }
}

@media (min-width: 720px) {
  .kb-article {
    padding: 2.25rem 2.35rem;
  }
}

.kb-article[hidden] {
  display: none;
}

.kb-kicker {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-muted);
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.kb-article h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 5.5vw, 2.15rem);
  font-weight: 500;
  color: var(--forest-deep);
  line-height: 1.2;
  margin-bottom: 0.85rem;
}

.kb-article h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 3.5vw, 1.25rem);
  font-weight: 500;
  color: var(--forest);
  margin: 1.15rem 0 0.5rem;
}

.kb-article p {
  color: var(--ink-soft);
  margin-bottom: 0.85rem;
  max-width: 62ch;
  font-size: clamp(0.95rem, 2.8vw, 1rem);
}

.kb-list {
  display: grid;
  gap: 0.55rem;
  margin: 0.75rem 0 1rem;
  padding-left: 1.15rem;
  color: var(--ink-soft);
  font-size: clamp(0.92rem, 2.8vw, 1rem);
}

.kb-list li {
  padding-left: 0.25rem;
  line-height: 1.55;
}

.kb-list--ordered {
  list-style: decimal;
}

.kb-callout {
  margin: 1rem 0;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(30, 81, 40, 0.06);
  border-left: 3px solid var(--forest);
  color: var(--ink-soft);
  font-size: 0.92rem;
}

@media (min-width: 720px) {
  .kb-callout {
    padding: 1rem 1.15rem;
    font-size: 0.95rem;
  }
}

.kb-callout--gold {
  background: rgba(227, 178, 60, 0.12);
  border-left-color: var(--gold);
}

.kb-callout a {
  color: var(--forest);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.kb-grid {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0 1.25rem;
}

@media (min-width: 560px) {
  .kb-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
  }
}

.kb-card {
  padding: 1rem 1.05rem;
  border-radius: var(--radius-sm);
  background: var(--cream);
  border: 1px solid var(--line);
  min-width: 0;
}

.kb-card h3 {
  margin-top: 0;
  font-size: 1.05rem;
}

.kb-card p {
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
}

.kb-split {
  display: grid;
  gap: 0.85rem;
  margin: 1rem 0;
}

@media (min-width: 720px) {
  .kb-split {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

.kb-do,
.kb-dont {
  padding: 1rem 1.05rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}

.kb-do {
  background: rgba(30, 81, 40, 0.05);
}

.kb-dont {
  background: rgba(155, 44, 44, 0.05);
}

.kb-do h3,
.kb-dont h3 {
  margin-top: 0;
}

.kb-scam {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.kb-scam:last-of-type {
  border-bottom: none;
}

.kb-scam h3 {
  margin-top: 0.25rem;
  font-size: 1.1rem;
}

.kb-updated {
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: var(--muted);
  font-style: italic;
}

.kb-cta {
  margin-top: 0.35rem;
  padding: 1.75rem 1.25rem;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 70% 80% at 90% 10%, rgba(227, 178, 60, 0.18), transparent 55%),
    linear-gradient(145deg, var(--forest-deep), var(--forest));
  color: var(--white);
  text-align: center;
}

@media (min-width: 720px) {
  .kb-cta {
    padding: 2.25rem 1.75rem;
  }
}

.kb-cta .eyebrow {
  color: var(--gold-soft);
}

.kb-cta h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 6vw, 2.4rem);
  font-weight: 500;
  line-height: 1.2;
  margin: 0.5rem auto 1rem;
  max-width: 18ch;
  color: var(--white);
}

.kb-cta p {
  max-width: 42rem;
  margin: 0 auto 1.25rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}

.kb-cta__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
}

.kb-cta__actions .btn {
  width: 100%;
  justify-content: center;
  min-height: 48px;
}

@media (min-width: 520px) {
  .kb-cta__actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .kb-cta__actions .btn {
    width: auto;
  }
}

.kb-cta .btn--outline {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.kb-cta .btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.kb-cta__note {
  margin-top: 1.1rem !important;
  font-size: 0.82rem !important;
  color: var(--gold-soft) !important;
}

.kb-cta__note strong {
  color: var(--gold);
}

/* Shared page hero — mobile-first tuning (gallery + knowledge base) */
.page-hero {
  min-height: auto;
  padding: calc(var(--header-h) + 2rem) 0 2.5rem;
}

@media (min-width: 720px) {
  .page-hero {
    min-height: 42vh;
    padding: calc(var(--header-h) + 3rem) 0 3.5rem;
  }
}

@media (min-width: 1024px) {
  .page-hero {
    min-height: 52vh;
    padding: calc(var(--header-h) + 3rem) 0 4rem;
  }
}

.page-hero h1 {
  font-size: clamp(2rem, 8vw, 4.5rem);
}

.page-hero p {
  font-size: clamp(0.95rem, 3.2vw, 1.05rem);
  max-width: 36rem;
}

@media (max-width: 479px) {
  :root {
    --container: min(1180px, calc(100% - 1.5rem));
    --container-wide: min(1320px, calc(100% - 1.25rem));
    --header-h: 84px;
  }
}

@media (max-width: 719px) {
  .kb {
    padding-bottom: 5.5rem;
  }
}

/* ==========================================================================
   SITE-WIDE MOBILE & TABLET RESPONSIVE LAYER
   ========================================================================== */

.btn-label--short {
  display: none;
}

.br-desktop {
  display: none;
}

@media (min-width: 640px) {
  .br-desktop {
    display: inline;
  }
}

/* ---- Phone & small tablet (≤767px) ---- */
@media (max-width: 767px) {
  :root {
    --container: min(1180px, calc(100% - 1.75rem));
    --container-wide: min(1320px, calc(100% - 1.5rem));
    --header-h: 80px;
    --section-y: clamp(3.25rem, 12vw, 4.5rem);
  }

  .logo img {
    height: 44px;
  }

  .mobile-nav {
    padding-top: max(0.75rem, env(safe-area-inset-top));
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
    padding-inline: 0.85rem;
  }

  .mobile-nav__links a {
    font-size: 0.9rem;
    padding: 0.65rem 0.9rem;
  }

  .mobile-nav__cta {
    font-size: 0.76rem;
    padding: 0.72rem 1.25rem;
  }

  /* RIVR-style hero — flush to next section, no bottom gap */
  .rivr-hero {
    padding: 0.55rem 0.55rem 0;
    min-height: 0;
  }

  .rivr-hero__shell {
    min-height: calc(100svh - 0.55rem);
  }

  .rivr-hero__frame {
    border-radius: 1.25rem 1.25rem 0 0;
    min-height: calc(100svh - 0.55rem);
  }

  .rivr-hero__copy {
    padding: calc(var(--header-h) + 0.85rem) 1rem 7.5rem;
  }

  .rivr-hero__title {
    font-size: clamp(1.95rem, 9vw, 2.55rem);
    max-width: 14ch;
  }

  .rivr-hero__sub {
    font-size: 0.92rem;
  }

  .rivr-card-left {
    right: 0.75rem;
    bottom: 5.75rem;
    min-width: 128px;
    padding: 0.75rem;
  }

  .rivr-corner {
    right: 0;
    bottom: -1px;
    gap: 0.65rem;
    padding: 0.95rem 0.7rem calc(0.7rem + 1px) 1.55rem;
  }

  .rivr-corner__title {
    font-size: 0.92rem;
  }

  /* Full-width seal so no video hairline shows under the hero */
  .rivr-hero__shell::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: var(--warm-white);
    z-index: 4;
    pointer-events: none;
  }

  .journey {
    margin-top: -1px;
  }

  /* Journey / booking */
  .journey__panel {
    padding: 1.25rem 1rem;
  }

  .journey__panel-title {
    font-size: 1.45rem;
  }

  .journey__actions {
    display: grid;
    gap: 0.65rem;
  }

  .journey__actions .btn {
    width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
    line-height: 1.3;
  }

  .bf-nav {
    flex-direction: column;
  }

  .bf-nav .btn {
    width: 100%;
    white-space: normal;
    text-align: center;
    line-height: 1.3;
    min-height: 48px;
  }

  .btn-label--full {
    display: none;
  }

  .btn-label--short {
    display: inline;
  }

  .form-field input,
  .form-field select,
  .form-field textarea {
    font-size: 16px;
    padding: 0.85rem 0.95rem;
  }

  /* Sections density */
  .section-title {
    font-size: clamp(1.85rem, 7vw, 2.35rem);
  }

  .dest-card__overlay h3 {
    font-size: 1.35rem;
  }

  .dest-card__overlay {
    padding: 1.15rem;
  }

  .hscroll__track {
    padding-inline: 1rem;
    gap: 0.85rem;
  }

  .exp-card {
    width: min(280px, 78vw);
  }

  .service-card {
    width: min(260px, 78vw);
    padding: 1.15rem;
  }

  /* Offer */
  .offer-card {
    padding: 1.5rem 1.15rem;
  }

  .offer-card__percent {
    font-size: clamp(3.1rem, 18vw, 4.25rem);
  }

  .offer-card__divider::before,
  .offer-card__divider::after {
    display: none;
  }

  .offer-card__actions {
    display: grid;
    gap: 0.65rem;
  }

  .offer-card__actions .btn {
    width: 100%;
    justify-content: center;
    white-space: normal;
  }

  .offer-card__code {
    justify-content: center;
    letter-spacing: 0.14em;
  }

  /* FAQ facts */
  .facts-marquee {
    height: 260px;
  }

  .faq-item summary {
    padding: 1.05rem 1.1rem;
    font-size: 1.05rem;
    gap: 0.75rem;
  }

  /* Gallery fan preview */
  .gallery-fan {
    overflow: hidden;
    padding-inline: 0.25rem;
  }

  .gallery-fan__card {
    width: clamp(72px, 20vw, 120px);
  }

  /* Gallery page filters — horizontal scroll */
  .gallery-filters {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0.45rem;
    padding: 1rem 0 1rem;
    margin-inline: -0.25rem;
    padding-inline: 0.5rem;
    scrollbar-width: none;
  }

  .gallery-filters::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 0.65rem 1rem;
    font-size: 0.8rem;
  }

  .masonry__caption {
    opacity: 1;
    transform: none;
  }

  .lightbox {
    padding: 3.25rem 0.65rem 5rem;
  }

  .lightbox__prev,
  .lightbox__next {
    top: auto;
    bottom: 1.15rem;
    transform: none;
  }

  .lightbox__prev {
    left: 0.75rem;
  }

  .lightbox__next {
    right: 0.75rem;
  }

  .lightbox__caption {
    bottom: 4.25rem;
    font-size: 0.85rem;
    padding-inline: 1rem;
  }

  /* Footer */
  .footer-brand img {
    height: 56px;
  }

  .footer-social a {
    width: 44px;
    height: 44px;
  }

  .site-footer {
    padding-bottom: max(2rem, env(safe-area-inset-bottom));
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    text-align: left;
  }

  /* Floats + cookie */
  .float-actions {
    right: max(0.75rem, env(safe-area-inset-right));
    bottom: max(1rem, env(safe-area-inset-bottom));
  }

  body:has(.cookie-banner.is-visible) .float-actions {
    visibility: hidden;
    pointer-events: none;
  }

  .cookie-banner {
    left: 0.75rem;
    right: 0.75rem;
    bottom: max(0.75rem, env(safe-area-inset-bottom));
    padding: 1.1rem 1.05rem;
  }

  .cookie-banner__actions {
    display: grid;
    gap: 0.5rem;
  }

  .cookie-banner__btn {
    width: 100%;
    min-width: 0;
    white-space: normal;
    min-height: 46px;
  }

  /* Clear fixed UI from last content */
  main {
    padding-bottom: 1rem;
  }

  .final-cta,
  .kb {
    padding-bottom: 5.5rem;
  }

  /* Story / why / founder polish */
  .story__highlights {
    grid-template-columns: 1fr;
  }

  .founder__frame {
    max-width: 280px;
    margin-inline: auto;
  }

  .about__media,
  .founder__media {
    margin-inline: auto;
  }

  .stats__grid {
    gap: 1.15rem;
  }

  .stat__num {
    font-size: clamp(1.85rem, 9vw, 2.4rem);
  }

  .social-card__body h3 {
    font-size: 1.15rem;
  }

  .testimonial {
    width: min(340px, 86vw);
  }
}

/* Extra-tight phones */
@media (max-width: 379px) {
  :root {
    --container: min(1180px, calc(100% - 1.25rem));
    --container-wide: min(1320px, calc(100% - 1.1rem));
  }

  .rivr-hero__title {
    font-size: clamp(1.75rem, 9.5vw, 2.15rem);
  }

  .rivr-card-left__btn span:last-child {
    font-size: 0.8rem;
  }

  .header-cta {
    display: none;
  }
}

/* ---- Tablet (768–1023px) ---- */
@media (min-width: 768px) and (max-width: 1023px) {
  :root {
    --container: min(1180px, calc(100% - 2.25rem));
    --section-y: clamp(4rem, 8vw, 5.5rem);
  }

  .logo img {
    height: 48px;
  }

  .rivr-hero__copy {
    padding-inline: 1.75rem;
  }

  .rivr-hero__title {
    font-size: clamp(2.6rem, 5.5vw, 3.6rem);
    max-width: 16ch;
  }

  .journey__panel {
    padding: 1.75rem 1.6rem;
  }

  .facts-marquee {
    height: 340px;
  }

  .faq-layout {
    gap: 2rem;
  }

  .offer-card__percent {
    font-size: clamp(4rem, 8vw, 5.5rem);
  }

  .gallery-filters {
    gap: 0.5rem;
    padding-inline: 0.5rem;
  }

  .filter-btn {
    min-height: 42px;
  }

  .float-actions {
    right: 1.25rem;
    bottom: 1.25rem;
  }

  body:has(.cookie-banner.is-visible) .float-actions {
    bottom: 12rem;
  }

  .footer-social a {
    width: 44px;
    height: 44px;
  }
}

/* Prefer reduced motion: keep layout stable */
@media (prefers-reduced-motion: reduce) {
  .gallery-filters {
    scroll-behavior: auto;
  }
}

/* Coarse pointers — always show masonry captions */
@media (hover: none) and (pointer: coarse) {
  .masonry__item:hover .masonry__caption,
  .masonry__caption {
    opacity: 1;
    transform: none;
  }
}
