/* ============================================================
       1. BASE + TOKENS
       ============================================================ */
:root {
  --bar-h: 60px;
  --nav-h: 72px;
  --tabbar-h: 74px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --card-r: 22px;
  --ink: #111110;
  --muted: #6b6b66;
  --line: rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Readex Pro", system-ui, sans-serif;
  color: var(--ink);
  background: var(--surface);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--tabbar-h) + var(--safe-bottom) + 1.25rem);
}

@media (min-width: 1024px) {
  body {
    padding-bottom: 0;
    background: var(--paper);
  }

  /* DESKTOP HIDDEN — mobile-app-only sections */
  .trust-strip,
  .consultant-section,
  .sec--might,
  .support-section {
    display: none !important;
  }
}

.rail::-webkit-scrollbar,
.stories::-webkit-scrollbar,
.moods::-webkit-scrollbar {
  display: none;
}

/* ============================================================
       2. SITE HEADER
       ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: calc(var(--safe-top) + 0.85rem) 1.1rem 0.8rem;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.site-header__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--ink);
}

.site-header__logo svg {
  width: 22px;
  height: 22px;
  color: var(--garnet-red);
}

.site-header__logo span {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.site-header__nav {
  display: none;
}

.site-header__cta {
  display: none;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  background: var(--garnet-red);
  color: #fff;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.site-header__cta:hover {
  filter: brightness(0.92);
}

.site-header__cta svg {
  width: 14px;
  height: 14px;
}

.site-header__menu {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: transparent;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--ink);
  flex-shrink: 0;
  cursor: pointer;
}

.site-header__menu svg {
  width: 20px;
  height: 20px;
}

@media (min-width: 1024px) {
  .site-header {
    height: var(--nav-h);
    padding: 0 2.5rem;
  }

  .site-header__logo {
    flex-shrink: 0;
  }

  .site-header__logo svg {
    width: 26px;
    height: 26px;
  }

  .site-header__logo span {
    font-size: 1.25rem;
  }

  .site-header__nav {
    display: flex;
    flex-wrap: nowrap;
    flex: 1 1 auto;
    justify-content: center;
    gap: 1.25rem;
    min-width: 0;
    font-size: 0.9rem;
    font-weight: 500;
  }

  @media (min-width: 1200px) {
    .site-header__nav {
      gap: 1.75rem;
    }
  }

  .site-header__nav a {
    text-decoration: none;
    color: var(--ink-soft);
    transition: color 0.15s;
  }

  .site-header__nav a:hover,
  .site-header__nav a.is-active {
    color: var(--garnet-red);
  }

  .site-header__cta {
    display: inline-flex;
    flex-shrink: 0;
    padding: 0.58rem 1.25rem;
    font-size: 0.9rem;
  }

  .site-header__menu {
    display: none;
  }
}

@media (min-width: 1280px) {
  .site-header__cta {
    padding: 0.62rem 1.5rem;
    font-size: 0.95rem;
  }
}

@media (min-width: 1440px) {
  .site-header__nav {
    gap: 2rem;
  }

  .site-header__cta {
    padding: 0.65rem 1.65rem;
    font-size: 0.98rem;
  }
}

/* ============================================================
       3. HERO
       Mobile: postcard + heading + search on white
       Desktop: full-bleed photo with overlaid heading, sub, search, chips
       ============================================================ */
.hero {
  display: flex;
  flex-direction: column;
}

.hero__photo {
  position: relative;
  height: 200px;
  margin: 0.8rem 1.1rem 0;
  border-radius: var(--card-r);
  overflow: hidden;
  isolation: isolate;
}

/* Boarding-pass shape: two notches + dashed perforation on the hero image.
       Mobile/tablet only — on desktop the hero photo is full-bleed. */
.hero__photo::before,
.hero__photo::after {
  content: '';
  position: absolute;
  left: 70%;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--surface);
  transform: translateX(-50%);
  z-index: 3;
  pointer-events: none;
}

.hero__photo::before {
  top: -11px;
}

.hero__photo::after {
  bottom: -11px;
}

/* Inner boarding-pass outline (dashed SVG, sits ~50px inside the hero photo).
       Visible on all breakpoints; tuned via viewBox inset so it scales cleanly. */
.hero__pass-outline {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  display: block;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(600px 320px at 70% 30%, rgba(255, 220, 180, 0.35), transparent 60%),
    radial-gradient(600px 320px at 20% 80%, rgba(50, 20, 15, 0.35), transparent 60%),
    linear-gradient(135deg, #c28668 0%, #8a3d2a 45%, #3b1812 100%);
}

.hero__dest-img {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  opacity: 0.5;
}

.hero__sun {
  display: none;
  position: absolute;
  right: 8%;
  top: 18%;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffe1b3 0%, #f5c795 40%, transparent 70%);
  z-index: -1;
  opacity: 0.7;
  pointer-events: none;
}

.hero__overlay {
  display: none;
}

.hero__inner {
  padding: 1.4rem 1.1rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero__h1 {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.hero__h1 .accent {
  color: var(--garnet-red);
  font-style: italic;
  font-weight: 600;
}

.hero__sub {
  margin: -0.5rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

.hero__sub b {
  color: var(--ink);
  font-weight: 600;
}

.hero__chips {
  display: none;
}

@media (min-width: 768px) {
  .hero__photo {
    height: 340px;
    margin: 1rem 2rem 0;
    border-radius: 28px;
  }

  .hero__inner {
    padding: 2rem 2rem 0;
  }

  .hero__h1 {
    font-size: 2rem;
    max-width: 22ch;
  }

  .hero__sub {
    font-size: 0.95rem;
  }
}

@media (min-width: 1024px) {

  /* Hide edge notches on desktop (hero photo becomes full-bleed).
         The inner SVG outline stays visible on all breakpoints. */
  .hero__photo::before,
  .hero__photo::after {
    display: none;
  }

  .hero {
    position: relative;
    min-height: min(88vh, 820px);
    display: grid;
    place-items: center;
    isolation: isolate;
    color: #fff;
    overflow: hidden;
    padding: 5rem 2rem 5rem;
  }

  .hero__photo {
    position: absolute;
    inset: 0;
    height: auto;
    margin: 0;
    border-radius: 0;
    z-index: -2;
  }

  .hero__overlay {
    display: block;
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.35) 55%, rgba(0, 0, 0, 0.55) 100%);
  }

  .hero__sun {
    display: block;
  }

  .hero__inner {
    padding: 0;
    text-align: center;
    max-width: 1000px;
    width: 100%;
    gap: 1.25rem;
    align-items: center;
  }

  .hero__h1 {
    color: #fff;
    font-size: clamp(2.25rem, 3.6vw, 3rem);
    font-weight: 500;
    text-transform: none;
    /* override global h1 uppercase */
    letter-spacing: -0.005em;
    line-height: 1.25;
    max-width: 30ch;
    text-shadow:
      0 2px 6px rgba(0, 0, 0, 0.45),
      0 6px 24px rgba(0, 0, 0, 0.35);
  }

  .hero__h1 .accent {
    color: #ffb7b9;
    /* pink — matches v3-full-hero */
    font-style: italic;
    font-weight: 600;
  }

  .hero__sub {
    margin: 0;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.88);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  }

  .hero__sub b {
    color: #fff;
    font-weight: 600;
  }

  .hero__inner>.search-card {
    margin-top: 1rem;
  }

  .hero__chips {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 0.25rem;
  }

  .chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 500;
    color: #fff;
  }

  .chip::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ffb7b9;
  }

  /* Tagline pill — sits between search and chips */
  .hero__pill {
    display: flex;
    justify-content: center;
  }

  .tag-pill {
    display: inline-block;
    padding: 0.5rem 1.1rem;
    background: var(--garnet-red);
    color: #fff;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    box-shadow: 0 6px 18px rgba(169, 30, 34, 0.35);
  }

  /* Scroll indicator at bottom of hero */
  .hero__scroll {
    display: block;
    position: absolute;
    bottom: 0.35rem;
    /* sits just above hero bottom edge, clearly below the boarding-pass outline */
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-weight: 500;
    z-index: 1;
    padding-bottom: 22px;
  }

  .hero__scroll::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 22px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0));
  }
}

/* Tagline pill + scroll indicator hidden on mobile (desktop-only elements) */
@media (max-width: 1023px) {

  .hero__pill,
  .hero__scroll {
    display: none;
  }
}

/* ============================================================
       RIBBON (desktop-only seasonal announcement)
       ============================================================ */
.ribbon {
  display: none;
}

@media (min-width: 1024px) {
  .ribbon {
    display: block;
    background: var(--garnet-red);
    color: #fff;
    text-align: center;
    padding: 0.55rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    position: relative;
    z-index: 50;
  }

  .ribbon b {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .ribbon a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
    margin-left: 0.35rem;
  }
}

/* ============================================================
       4. SEARCH CARD — v5-responsive3 reference
       ============================================================ */
.search-card {
  position: relative;
  background: #fff;
  border-radius: var(--card-r);
  padding: 0.9rem 0.9rem 1rem;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.08),
    0 2px 6px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--line);
  color: var(--ink);
  text-align: left;
}

.seg {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: #f3f3f5;
  padding: 4px;
  border-radius: 12px;
  margin-bottom: 0.9rem;
  font-size: 0.8rem;
}

.seg button {
  border: none;
  background: transparent;
  font: inherit;
  font-weight: 600;
  color: var(--muted);
  padding: 0.6rem 0.25rem;
  border-radius: 9px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.seg button.is-active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.srow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}

.sfield {
  background: #f8f8fa;
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 0.6rem 0.8rem;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.sfield.full {
  grid-column: 1 / -1;
}

.sfield label {
  font-size: 0.68rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sfield .val {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  margin-top: 0.15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sfield .val .small {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.78rem;
}

.sbtn {
  width: 100%;
  padding: 0.95rem 1rem;
  background: var(--garnet-red);
  color: #fff;
  border: none;
  border-radius: 14px;
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.3rem;
  cursor: pointer;
}

.sbtn svg { width: 16px; height: 16px; }
.sbtn:hover { filter: brightness(0.94); }
a.sbtn { text-decoration: none; color: #fff; box-sizing: border-box; }

.spanel { display: none; }
.spanel.is-active { display: block; }

.search-section { padding: 1rem 1.1rem 0; }

@media (min-width: 768px) {
  .search-section { padding: 2.5rem 2rem 2rem; }
}

@media (min-width: 1024px) {
  /* Container: centred in 1320px grid matching hero banner */
  .search-section {
    max-width: var(--max-wide, 1320px);
    margin: 0 auto;
    padding: 1.5rem 2.5rem 2.5rem;
  }

  /* Card shell: v5 spec — centred at 1060px, tighter padding */
  .search-section > .search-card,
  .hero__inner > .search-card {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0.65rem 0.75rem 0.75rem;
    border-radius: 16px;
    border: none;
    box-shadow:
      0 12px 36px rgba(0, 0, 0, 0.09),
      0 3px 10px rgba(0, 0, 0, 0.05);
  }

  /* Tabs: flat underline style */
  .seg {
    display: flex;
    gap: 0;
    background: transparent;
    padding: 0;
    border-radius: 0;
    margin: 0 0 0.55rem;
    font-size: 0.88rem;
    max-width: none;
    border-bottom: 1.5px solid var(--line, #e8e8ea);
  }

  .seg button {
    padding: 0.55rem 1.1rem;
    border-radius: 0;
    background: transparent;
    color: var(--muted);
    font-weight: 600;
    font-size: 0.88rem;
    border-bottom: 2.5px solid transparent;
    margin-bottom: -1.5px;
    transition: color 0.15s, border-color 0.15s;
    box-shadow: none;
  }

  .seg button.is-active {
    color: var(--garnet-red);
    border-bottom-color: var(--garnet-red);
    background: transparent;
    box-shadow: none;
  }

  .seg button:hover:not(.is-active) { color: var(--ink); }

  /* Trip pills: compact */
  .trip-pills { justify-content: flex-start !important; gap: 0.25rem !important; margin-bottom: 0.5rem !important; }
  .trip-pills label { padding: 0.35rem 1.2rem !important; font-size: 0.78rem !important; font-weight: 600 !important; border-width: 1px !important; flex: 0 !important; }

  /* Single-row layout: fields + button */
  .spanel.is-active {
    display: grid;
    grid-template-columns:
      minmax(0, 1.2fr)
      minmax(0, 1.2fr)
      minmax(0, 1fr)
      minmax(0, 1fr)
      minmax(0, 1.3fr)
      auto;
    gap: 0;
    align-items: stretch;
  }

  /* Flights: route + passengers + class + CTA */
  .spanel[data-panel="flight"].is-active {
    grid-template-columns:
      minmax(0, 1.05fr)
      minmax(0, 1.05fr)
      minmax(0, 0.95fr)
      minmax(0, 0.95fr)
      minmax(0, 1.15fr)
      minmax(0, 0.88fr)
      auto;
  }

  .spanel[data-panel="flight"].is-oneway.is-active {
    grid-template-columns:
      minmax(0, 1.15fr)
      minmax(0, 1.15fr)
      minmax(0, 1fr)
      minmax(0, 1.2fr)
      minmax(0, 0.92fr)
      auto;
  }

  .spanel[data-panel="flight"].is-multi.is-active {
    grid-template-columns:
      minmax(0, 1.2fr)
      minmax(0, 0.85fr)
      auto;
  }

  .spanel[data-panel="flight"] .trip-pills,
  .spanel[data-panel="flight"] .multi-wrap.is-visible {
    grid-column: 1 / -1;
  }

  .spanel[data-panel="flight"] .sfield.is-hidden,
  .spanel[data-panel="flight"] .sfield--return.is-hidden {
    display: none !important;
  }

  .srow { display: contents; margin: 0; }

  .sfield, .sfield.full { grid-column: auto; }

  .spanel[data-panel="hotel"].is-active {
    grid-template-columns:
      minmax(0, 1.35fr)
      minmax(0, 0.95fr)
      minmax(0, 0.95fr)
      minmax(0, 1.15fr)
      auto;
  }

  .spanel[data-panel="combo"].is-active {
    grid-template-columns:
      minmax(0, 1.05fr)
      minmax(0, 1.05fr)
      minmax(0, 0.95fr)
      minmax(0, 0.95fr)
      minmax(0, 1.15fr)
      auto;
  }

  .sfield {
    padding: 0.45rem 0.75rem;
    justify-content: center;
    min-height: 0;
    background: transparent;
    border-radius: 0;
    border: none;
    border-right: 1.5px solid var(--line, #e8e8ea);
  }

  .sfield:last-of-type { border-right: none; }

  .sfield label { font-size: 0.6rem; letter-spacing: 0.05em; }
  .sfield .val { font-size: 0.88rem; }

  .sbtn {
    max-width: none;
    margin: 0;
    padding: 0 1.3rem;
    min-width: 130px;
    height: 100%;
    border-radius: 10px;
    white-space: nowrap;
    font-size: 0.88rem;
  }

  .sbtn svg { width: 16px; height: 16px; }

  .spanel[data-panel="flight"] .sfield--class select.val {
    padding-right: 0.15rem;
  }
}

/* Hero search — passenger widget matches native fields */
.search-card .sfield--pax {
  position: relative;
  min-width: 0;
}

.search-card .sfield--pax .gp-field {
  width: 100%;
}

@media (max-width: 1023px) {
  .search-card .srow--flight-meta,
  .search-card .srow--hotel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
  }

  .search-card .srow--hotel .sfield--dest,
  .search-card .srow--hotel .home-hotel-guests {
    grid-column: 1 / -1;
  }

  .search-card .sfield--pax {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .search-card .sfield--pax .gp-trigger {
    border: none;
    background: transparent;
    box-shadow: none !important;
    min-height: 0;
    padding: 0 1.1rem 0 0;
    border-radius: 0;
  }

  .search-card .sfield--pax .gp-trigger:hover,
  .search-card .sfield--pax .gp-trigger.is-open {
    border: none;
    box-shadow: none !important;
  }

  .search-card .sfield--pax .gp-trigger__label {
    font-size: 0.6rem;
    letter-spacing: 0.05em;
    font-weight: 500;
  }

  .search-card .sfield--pax .gp-trigger__value {
    font-size: 0.88rem;
    margin-top: 0.15rem;
  }

  .search-card .home-hotel-guests .gp-trigger {
    border: none;
    background: transparent;
    box-shadow: none !important;
    min-height: 0;
    padding: 0 1.1rem 0 0;
    border-radius: 0;
  }

  .search-card .home-hotel-guests .gp-trigger__label {
    font-size: 0.6rem;
    letter-spacing: 0.05em;
    font-weight: 500;
  }

  .search-card .home-hotel-guests .gp-trigger__value,
  .search-card .home-hotel-guests .gp-trigger__rooms {
    font-size: 0.88rem;
  }

  .search-card .home-package-pax .gp-trigger {
    border: none;
    background: transparent;
    box-shadow: none !important;
    min-height: 0;
    padding: 0 1.1rem 0 0;
    border-radius: 0;
  }
}

/* ============================================================
       5. TRUST STRIP (mobile/tablet only — chips take over on desktop)
       ============================================================ */
.trust-strip {
  margin: 0.85rem 1.1rem 0;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
}

.trust-strip b {
  color: var(--ink);
  font-weight: 600;
}

.trust-strip .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.45;
  flex-shrink: 0;
}

.trust-strip .star {
  color: var(--garnet-red);
}

@media (min-width: 768px) {
  .trust-strip {
    margin: 1rem 2rem 0;
  }
}

@media (min-width: 1024px) {
  .trust-strip {
    display: none;
  }
}

/* ============================================================
       6. SECTION SHELL
       ============================================================ */
.sec {
  padding: 1.75rem 1.1rem 0;
}

.sec__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.9rem;
  gap: 1rem;
}

.sec__head h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.005em;
  text-transform: none;
  line-height: 1.3;
}

.sec__head>a,
.sec__head-all {
  color: var(--garnet-red);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.sec__sub {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0.2rem 0 0;
  line-height: 1.45;
  font-weight: 400;
}

/* Eyebrow hidden on mobile (space tight); visible editorial on desktop */
.sec__eyebrow {
  display: none;
}

@media (min-width: 768px) {
  .sec {
    padding: 2.5rem 2rem 0;
  }

  .sec__head h2 {
    font-size: 1.3rem;
  }
}

@media (min-width: 1024px) {
  .sec {
    padding: 5rem 2.5rem 0;
    max-width: 1320px;
    margin: 0 auto;
    width: 100%;
  }

  .sec__head {
    margin-bottom: 2.5rem;
    align-items: end;
  }

  .sec__eyebrow {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--garnet-red);
    margin: 0 0 0.9rem;
  }

  .sec__head h2 {
    font-size: clamp(1.9rem, 2.8vw, 2.6rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.005em;
    line-height: 1.05;
    max-width: 22ch;
  }

  .sec__sub {
    font-size: 1rem;
    margin-top: 0.5rem;
    max-width: 52ch;
  }

  .sec__head-all,
  .sec__head>a {
    font-size: 0.9rem;
  }
}

@media (min-width: 1440px) {
  .sec {
    padding-top: 6.5rem;
  }
}

/* ============================================================
       7. MOODS
       Mobile: horizontal pill rail (scrollable).
       Desktop: centred editorial band, pills wrap in 1–2 rows.
       Each pill is a link to /journeys/?mood=<slug>.
       ============================================================ */
.sec--moods {
  padding-right: 0;
}

.sec--moods .sec__head {
  padding-right: 1.1rem;
  margin-bottom: 0.5rem;
}

.moods {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 0.25rem 1.1rem 0.5rem;
  margin: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.mood {
  flex: 0 0 auto;
  scroll-snap-align: start;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: #f3f3f5;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink);
  border: 1px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}

.mood:hover {
  background: #e8e8ea;
}

.mood:active {
  transform: scale(0.97);
}

.mood .em {
  opacity: 0.8;
  margin-right: 0.25rem;
}

@media (min-width: 768px) {
  .sec--moods .sec__head {
    padding-right: 2rem;
  }

  .moods {
    padding: 0.25rem 2rem 0.5rem;
  }
}

@media (min-width: 1024px) {

  /* Editorial band — sits between hero and destinations.
         Band goes edge-to-edge; content inside is centred with its own max-width. */
  .sec--moods {
    max-width: none;
    margin: 0;
    padding: 4.5rem 2.5rem 5rem;
    background: var(--surface-2, #fafaf7);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .sec--moods .sec__head {
    padding-right: 0;
    text-align: center;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2.5rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
  }

  .sec--moods .sec__head>div {
    text-align: center;
  }

  .sec--moods .sec__head h2 {
    max-width: 30ch;
    margin-inline: auto;
  }

  .sec--moods .sec__sub {
    text-align: center;
    max-width: 56ch;
    margin-inline: auto;
  }

  .moods {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    overflow: visible;
    padding: 0.25rem 0 0;
    max-width: 1000px;
    margin: 0 auto;
  }

  .mood {
    font-size: 0.95rem;
    padding: 0.85rem 1.5rem;
    background: #fff;
    border-color: var(--line);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  }

  .mood:hover {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
  }

  .mood:hover .em {
    opacity: 1;
  }
}

@media (min-width: 1440px) {
  .sec--moods {
    padding: 5.5rem 2.5rem 6rem;
  }
}

/* ============================================================
       8. DESTINATION STORIES
       Mobile: horizontal circle scroll.
       Desktop: 8-col grid (still circles, but big).
       ============================================================ */
.sec--stories {
  padding-right: 0;
}

.sec--stories .sec__head {
  padding-right: 1.1rem;
}

.stories {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  padding: 0 1.1rem 0.5rem;
  margin: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.story {
  flex: 0 0 auto;
  width: 72px;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
}

.story__ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  padding: 2.5px;
  background: conic-gradient(from 180deg, var(--garnet-red), #f6b7b9, var(--garnet-red));
  margin-bottom: 0.4rem;
}

.story__img {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
}

.story__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  box-sizing: border-box;
  border: 2.5px solid #fff;
  border-radius: 50%;
}

.story__name {
  font-size: 0.72rem;
  font-weight: 500;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .sec--stories .sec__head {
    padding-right: 2rem;
  }

  .stories {
    padding: 0 2rem 0.5rem;
  }
}

@media (min-width: 1024px) {
  .sec--stories {
    padding-right: 2.5rem;
  }

  .stories {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 1.75rem;
    overflow: visible;
    padding: 0;
    margin: 0;
  }

  .story {
    width: auto;
  }

  .story__ring {
    width: 100%;
    aspect-ratio: 1;
    height: auto;
    padding: 3px;
  }

  .story__name {
    font-size: 0.95rem;
    font-weight: 500;
    margin-top: 0.75rem;
  }
}

/* ============================================================
       9. RAILS → GRIDS
       ============================================================ */
.sec--rail {
  padding-right: 0;
}

.sec--rail .sec__head {
  padding-right: 1.1rem;
}

.rail {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 1.1rem 0.5rem;
  margin: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.rail>* {
  flex: 0 0 78%;
  max-width: 300px;
  scroll-snap-align: start;
}

@media (min-width: 768px) {
  .sec--rail .sec__head {
    padding-right: 2rem;
  }

  .rail {
    padding: 0 2rem 0.5rem;
    gap: 1rem;
  }

  .rail>* {
    flex: 0 0 46%;
    max-width: 360px;
  }
}

@media (min-width: 1024px) {
  .sec--rail {
    padding-right: 2.5rem;
  }

  .rail {
    display: grid;
    overflow: visible;
    scroll-snap-type: none;
    padding: 0;
    margin: 0;
    gap: 1.75rem;
  }

  .rail>* {
    flex: initial;
    max-width: none;
    scroll-snap-align: none;
  }

  .sec--trips .rail {
    grid-template-columns: repeat(4, 1fr);
  }

  .sec--might .rail {
    grid-template-columns: repeat(3, 1fr);
  }

  .sec--notes .rail {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================================
       10. TRIP CARD
       ============================================================ */
.tripcard {
  background: #fff;
  border-radius: var(--card-r);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
  padding: 0.45rem 0.45rem 0;
  /* white frame around the image on 3 sides */
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03), 0 4px 12px rgba(0, 0, 0, 0.04);
}

.tripcard:hover {
  transform: translateY(-3px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05), 0 14px 30px rgba(0, 0, 0, 0.09);
}

.tripcard__img {
  aspect-ratio: 5/4;
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--card-r) - 6px);
  /* fully rounded on all 4 corners */
}

.tripcard__img-bg {
  position: absolute;
  inset: 0;
}

.media-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.tripcard__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--garnet-red);
  color: #fff;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  backdrop-filter: blur(6px);
}

.tripcard__badge--sale {
  background: var(--garnet-red);
}

.tripcard__heart {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(255, 255, 255, 0.95);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
}

.tripcard__body {
  padding: 0.85rem 0.6rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.tripcard__days {
  font-size: 0.68rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tripcard__name {
  font-size: 0.98rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
}

.tripcard__foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 0.4rem;
  font-size: 0.82rem;
}

.tripcard__price {
  font-weight: 700;
}

.tripcard__price s {
  color: #bbb;
  font-weight: 400;
  margin-right: 0.3rem;
  font-size: 0.78rem;
}

.tripcard__price em {
  font-style: normal;
  color: var(--garnet-red);
}

.tripcard__rating {
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

.tripcard__rating b {
  color: var(--ink);
  font-weight: 700;
}

@media (min-width: 1024px) {
  .tripcard {
    padding: 0.55rem 0.55rem 0;
  }

  .tripcard__body {
    padding: 1rem 0.7rem 0.9rem;
    gap: 0.4rem;
  }

  .tripcard__name {
    font-size: 1.05rem;
  }

  .tripcard__foot {
    font-size: 0.88rem;
    margin-top: 0.5rem;
    padding-top: 0.85rem;
    border-top: 1px dashed var(--line);
  }
}

/* ============================================================
       11. TRIPS SECTION — filter tabs + "Browse all" button
       (Desktop only; mobile keeps simple sec__head with "All →")
       ============================================================ */
.trips__tabs {
  display: none;
}

.trips__foot {
  display: none;
}

@media (min-width: 1024px) {

  /* Tabs render as a secondary filter row on the right of sec__head.
         If space is tight, they wrap below with extra breathing room before the grid. */
  .sec--trips .sec__head {
    flex-wrap: wrap;
    margin-bottom: 3.125rem;
    /* 50px: breathing room between tabs row and card grid */
    row-gap: 1.25rem;
    /* normal gap between heading and tabs when they wrap below */
  }

  .sec--trips .sec__head>a {
    display: none;
  }

  /* "All journeys" link replaced by tabs + ghost button */
  .trips__tabs {
    display: flex;
    gap: 0.25rem;
    background: var(--surface);
    padding: 0.3rem;
    border-radius: 999px;
    font-size: 0.88rem;
    margin-bottom: 1.25rem;
    /* extra gap after tabs strip before card grid */
  }

  .trips__tab {
    padding: 0.6rem 1.15rem;
    border: none;
    background: transparent;
    border-radius: 999px;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    color: var(--muted);
    white-space: nowrap;
  }

  .trips__tab.is-active {
    background: var(--ink);
    color: #fff;
  }

  .trips__foot {
    display: flex;
    justify-content: center;
    margin: 3rem 0 5rem;
    /* breathing room above and below the ghost button */
  }
}

/* ============================================================
       12. GHOST BUTTON (reusable)
       ============================================================ */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 1.75rem;
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.btn-ghost:hover {
  background: var(--ink);
  color: #fff;
}

/* ============================================================
       13. LIST CARD ("Might suit you") — mobile only
       ============================================================ */
.listcard {
  display: grid;
  grid-template-columns: 110px 1fr;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s;
}

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

.listcard__img {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  align-self: stretch;
}

.listcard__img-bg {
  position: absolute;
  inset: 0;
}

.listcard__body {
  padding: 0.8rem 0.95rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.3rem;
  min-width: 0;
}

.listcard__days {
  font-size: 0.68rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.listcard__name {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
}

.listcard__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

.listcard__foot em {
  font-style: normal;
  color: var(--garnet-red);
  font-weight: 700;
}

/* Hide Might-suit entirely on desktop — redundant with 8-card trip grid */
@media (min-width: 1024px) {
  .sec--might {
    display: none;
  }
}

/* ============================================================
       14. CONSULTANT
       ============================================================ */
.consultant-section {
  margin: 1.75rem 1.1rem 0;
}

.consultant {
  background: linear-gradient(135deg, #1b1b1f 0%, #2e1212 100%);
  color: #fff;
  border-radius: var(--card-r);
  padding: 1.25rem;
  position: relative;
  overflow: hidden;
}

.consultant::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -20%;
  width: 200px;
  height: 200px;
  background: radial-gradient(closest-side, rgba(169, 30, 34, 0.6), transparent 70%);
  pointer-events: none;
}

.consultant__row {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  position: relative;
  margin-bottom: 1rem;
}

.consultant__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f5d1c3, #c86853);
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #fff;
  font-size: 1.1rem;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.25);
}

.consultant__id small {
  display: block;
  font-size: 0.7rem;
  opacity: 0.65;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.15rem;
}

.consultant__id b {
  font-size: 1rem;
  font-weight: 600;
}

.consultant__id span {
  display: block;
  font-size: 0.78rem;
  opacity: 0.72;
  margin-top: 0.1rem;
}

.consultant__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  position: relative;
}

.consultant__btn {
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.consultant__btn--call {
  background: #fff;
  color: var(--ink);
}

.consultant__btn--wa {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

@media (min-width: 768px) {
  .consultant-section {
    margin: 2.5rem 2rem 0;
  }
}

@media (min-width: 1024px) {
  .consultant-section {
    max-width: 1320px;
    margin: 5rem auto 0;
    padding: 0 2.5rem;
  }

  .consultant {
    padding: 2.5rem 3rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2.5rem;
    align-items: center;
  }

  .consultant::before {
    top: -40%;
    right: -10%;
    width: 360px;
    height: 360px;
  }

  .consultant__row {
    margin-bottom: 0;
    gap: 1.25rem;
  }

  .consultant__avatar {
    width: 88px;
    height: 88px;
    font-size: 2rem;
    border-width: 3px;
  }

  .consultant__id small {
    font-size: 0.78rem;
  }

  .consultant__id b {
    font-size: 1.5rem;
  }

  .consultant__id span {
    font-size: 0.95rem;
    margin-top: 0.3rem;
  }

  .consultant__actions {
    grid-template-columns: 1fr;
    gap: 0.6rem;
    min-width: 200px;
  }

  .consultant__btn {
    padding: 0.85rem 1.5rem;
    font-size: 0.95rem;
  }
}

/* ============================================================
       15. PROMISES
       Mobile: 2×2 compact. Desktop: full-bleed band on surface-2 with 4×1 grid.
       ============================================================ */
.sec--promises .promises {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.promise {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem 0.9rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03), 0 4px 12px rgba(0, 0, 0, 0.04);
}

.promise__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--garnet-red-soft);
  color: var(--garnet-red);
  display: grid;
  place-items: center;
  margin-bottom: 0.65rem;
}

.promise__icon svg {
  width: 18px;
  height: 18px;
}
.promise__icon i {
  font-size: 16px;
}

.promise h3 {
  font-size: 0.88rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
  line-height: 1.35;
}

.promise p {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.45;
}

@media (min-width: 1024px) {

  /* Full-bleed band on surface-2 */
  .sec--promises {
    max-width: none;
    padding: 6rem 2.5rem;
    background: var(--surface-2, #f4f4f2);
    margin-top: 0;
  }

  .sec--promises .sec__head,
  .sec--promises .promises {
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
  }

  .sec--promises .sec__head {
    text-align: center;
    flex-direction: column;
    align-items: center;
  }

  .sec--promises .sec__head h2 {
    max-width: 32ch;
  }

  .sec--promises .promises {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }

  .promise {
    padding: 2rem 1.75rem;
    border-radius: 20px;
    text-align: left;
  }

  .promise__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    margin-bottom: 1.1rem;
  }

  .promise__icon svg {
    width: 22px;
    height: 22px;
  }
  .promise__icon i {
    font-size: 20px;
  }

  .promise h3 {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
  }

  .promise p {
    font-size: 0.92rem;
    line-height: 1.55;
  }
}

/* ============================================================
       16. PURPOSE BAND (desktop only — dark full-bleed brand moment)
       ============================================================ */
.purpose {
  display: none;
}

@media (min-width: 1024px) {
  .purpose {
    display: block;
    padding: 6.5rem 2.5rem;
    background: var(--ink);
    color: #fff;
    position: relative;
    overflow: hidden;
  }

  .purpose::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 60%;
    height: 160%;
    background: radial-gradient(closest-side, rgba(169, 30, 34, 0.3), transparent 70%);
    pointer-events: none;
  }

  .purpose__inner {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
  }

  .purpose__eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fff;
    opacity: 0.6;
    margin: 0 0 1rem;
  }

  .purpose__h2 {
    font-size: clamp(2rem, 3vw, 2.85rem);
    text-transform: uppercase;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.005em;
    margin: 0 0 1.25rem;
    max-width: 20ch;
  }

  .purpose__text {
    color: rgba(255, 255, 255, 0.72);
    max-width: 46ch;
    margin: 0 0 1.5rem;
    line-height: 1.6;
    font-size: 1rem;
  }

  .purpose__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem 2.5rem;
  }

  .purpose__stat b {
    display: block;
    font-size: 2.75rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
  }

  .purpose__stat span {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    margin-top: 0.4rem;
    display: block;
  }
}

/* ============================================================
       17. NOTE CARD
       ============================================================ */
.notecard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
  padding: 0.45rem 0.45rem 0;
  /* white frame around the image */
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03), 0 4px 12px rgba(0, 0, 0, 0.04);
}

.notecard:hover {
  transform: translateY(-3px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05), 0 14px 30px rgba(0, 0, 0, 0.09);
}

.notecard__img {
  position: relative;
  aspect-ratio: 5/3;
  overflow: hidden;
  border-radius: 12px;
  /* all four corners rounded */
}

.notecard__body {
  padding: 0.85rem 0.6rem 0.75rem;
}

.notecard__cat {
  font-size: 0.68rem;
  color: var(--garnet-red);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.notecard__t {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0.2rem 0 0.5rem;
}

.notecard__meta {
  font-size: 0.74rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
}

@media (min-width: 1024px) {
  .sec--notes {
    max-width: none;
    padding: 6rem 2.5rem;
    background: var(--surface);
  }

  .sec--notes .sec__head,
  .sec--notes .rail {
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
  }

  .notecard {
    padding: 0.55rem 0.55rem 0;
  }

  .notecard__img {
    aspect-ratio: 16/10;
    border-radius: 14px;
  }

  .notecard__body {
    padding: 1.25rem 1rem 1.15rem;
  }

  .notecard__t {
    font-size: 1.1rem;
    margin: 0.3rem 0 0.75rem;
    line-height: 1.35;
  }

  .notecard__meta {
    font-size: 0.82rem;
  }
}

/* ============================================================
       18. SUPPORT BANNER
       ============================================================ */
.support-section {
  margin: 1.75rem 1.1rem 0;
}

.support {
  background: var(--garnet-red-soft);
  border-radius: var(--card-r);
  padding: 1.1rem 1.2rem;
  display: flex;
  gap: 0.9rem;
  align-items: center;
}

.support__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fff;
  color: var(--garnet-red);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.support h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
}

.support p {
  margin: 0.15rem 0 0;
  font-size: 0.78rem;
  color: var(--ink-soft);
}

@media (min-width: 768px) {
  .support-section {
    margin: 2.5rem 2rem 0;
  }
}

@media (min-width: 1024px) {

  /* On desktop, the support banner gets its own row below the purpose band
         (and before the newsletter). Kept simpler than mobile. */
  .support-section {
    max-width: 1320px;
    margin: 5rem auto 0;
    padding: 0 2.5rem;
  }

  .support {
    padding: 2rem 2.5rem;
    gap: 1.5rem;
    border-radius: 20px;
  }

  .support__icon {
    width: 56px;
    height: 56px;
  }

  .support__icon svg {
    width: 26px;
    height: 26px;
  }

  .support h3 {
    font-size: 1.25rem;
  }

  .support p {
    font-size: 1rem;
    margin-top: 0.35rem;
  }
}

/* ============================================================
       19. NEWSLETTER
       Mobile: compact band. Desktop: dramatic centred band on garnet-red-soft.
       ============================================================ */
.newsletter {
  margin-top: 1.75rem;
  padding: 2.5rem 1.1rem;
  background: var(--garnet-red-soft);
  text-align: center;
}

.newsletter__inner {
  max-width: 680px;
  margin: 0 auto;
}

.newsletter__eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--garnet-red);
  margin: 0 0 0.75rem;
}

.newsletter__h2 {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  line-height: 1.25;
  color: var(--ink);
}

.newsletter__text {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin: 0 0 1.25rem;
  line-height: 1.55;
}

.newsletter__form {
  display: flex;
  gap: 0.4rem;
  background: #fff;
  padding: 0.3rem;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(169, 30, 34, 0.08);
}

.newsletter__form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: none;
  background: transparent;
  font: inherit;
  font-size: 0.88rem;
  outline: none;
  min-width: 0;
}

.newsletter__form button {
  padding: 0.7rem 1.35rem;
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  white-space: nowrap;
}

@media (min-width: 1024px) {
  .newsletter {
    margin-top: 0;
    padding: 6rem 2.5rem;
  }

  .newsletter__h2 {
    font-size: clamp(2rem, 2.8vw, 2.6rem);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: -0.005em;
    line-height: 1.05;
  }

  .newsletter__text {
    font-size: 1.05rem;
    max-width: 52ch;
    margin: 0.5rem auto 1.75rem;
  }

  .newsletter__form input {
    font-size: 0.95rem;
    padding: 0.85rem 1.25rem;
  }

  .newsletter__form button {
    padding: 0.85rem 1.75rem;
    font-size: 0.95rem;
  }
}

/* ============================================================
       20. FOOTER
       ============================================================ */
.site-footer {
  padding: 2.5rem 1.1rem 1rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.5;
  background: var(--surface);
}

.site-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.site-footer__brand svg {
  width: 22px;
  height: 22px;
  color: var(--garnet-red);
}

.site-footer__brand span {
  color: var(--ink);
  font-weight: 700;
  font-size: 1.1rem;
}

.site-footer__pill {
  margin-top: 0.75rem;
  display: inline-block;
}

.site-footer__sig {
  margin: 1rem 0 0;
  font-size: 0.72rem;
}

.site-footer__grid {
  display: none;
}

@media (min-width: 1024px) {
  .site-footer {
    background: var(--garnet-red);
    color: rgba(255, 255, 255, 0.62);
    padding: 5rem 2.5rem 2rem;
    text-align: left;
    margin-top: 0;
  }

  .site-footer>.site-footer__brand,
  .site-footer>.site-footer__pill,
  .site-footer>.site-footer__sig {
    display: none;
  }

  .site-footer__grid {
    display: grid;
    max-width: 1320px;
    margin: 0 auto;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 3rem;
  }

  .site-footer__col h4 {
    color: #fff;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 1.1rem;
    font-weight: 600;
  }

  .site-footer__col a {
    display: block;
    padding: 0.3rem 0;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.9rem;
  }

  .site-footer__col a:hover {
    color: #fff;
  }

  .site-footer__col p {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.9rem;
    margin: 0 0 1rem;
    line-height: 1.6;
  }

  .site-footer__col .site-footer__brand {
    display: inline-flex;
    margin-bottom: 1rem;
  }

  .site-footer__col .site-footer__brand span {
    color: #fff;
  }

  .site-footer__foot {
    max-width: 1320px;
    margin: 3rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
  }
}

.site-footer__foot {
  display: none;
}

@media (min-width: 1024px) {
  .site-footer__foot {
    display: flex;
  }
}

/* ============================================================
       21. BOTTOM TAB BAR
       ============================================================ */
.tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: calc(var(--tabbar-h) + var(--safe-bottom));
  padding-bottom: var(--safe-bottom);
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 16px rgba(0, 0, 0, 0.05);
}

.tabbar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 500;
  padding: 0.5rem 0.25rem;
}

.tabbar a svg {
  width: 22px;
  height: 22px;
}

.tabbar a.is-active {
  color: var(--garnet-red);
}

@media (min-width: 1024px) {
  .tabbar {
    display: none;
  }
}

/* ============================================================
       22. NAV DRAWER
       ============================================================ */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
}

.drawer__scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(82%, 340px);
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.12);
  padding: calc(var(--safe-top) + 1.2rem) 0 calc(var(--safe-bottom) + 1rem);
}

.drawer.is-open {
  pointer-events: auto;
}

.drawer.is-open .drawer__scrim {
  opacity: 1;
}

.drawer.is-open .drawer__panel {
  transform: translateX(0);
}

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.2rem 1rem;
  border-bottom: 1px solid var(--line);
}

.drawer__head .site-header__logo span {
  font-size: 1.2rem;
}

.drawer__close {
  width: 36px;
  height: 36px;
  border: none;
  background: #f3f3f5;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink);
  cursor: pointer;
}

.drawer__close svg {
  width: 16px;
  height: 16px;
}

.drawer__links {
  padding: 0.75rem 0;
  flex: 1;
  overflow-y: auto;
}

.drawer__link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 1.4rem;
  font-size: 1rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}

.drawer__link svg {
  width: 20px;
  height: 20px;
  color: var(--muted);
  flex-shrink: 0;
}

.drawer__link:hover {
  background: #f8f8fa;
}

.drawer__link.is-active {
  color: var(--garnet-red);
  background: var(--garnet-red-soft);
}

.drawer__link.is-active svg {
  color: var(--garnet-red);
}

.drawer__foot {
  padding: 1rem 1.4rem 0;
  border-top: 1px solid var(--line);
}

.drawer__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--garnet-red);
  color: #fff;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.drawer__foot p {
  margin: 0.85rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}

@media (min-width: 1024px) {
  .drawer {
    display: none;
  }
}

overflow-y: auto;
}

.drawer__link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 1.4rem;
  font-size: 1rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}

.drawer__link svg {
  width: 20px;
  height: 20px;
  color: var(--muted);
  flex-shrink: 0;
}

.drawer__link:hover {
  background: #f8f8fa;
}

.drawer__link.is-active {
  color: var(--garnet-red);
  background: var(--garnet-red-soft);
}

.drawer__link.is-active svg {
  color: var(--garnet-red);
}

.drawer__foot {
  padding: 1rem 1.4rem 0;
  border-top: 1px solid var(--line);
}

.drawer__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--garnet-red);
  color: #fff;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.drawer__foot p {
  margin: 0.85rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}

@media (min-width: 1024px) {
  .drawer {
    display: none;
  }
}