/* ─────────────────────────────────────────
   ELYSIAN TRAVEL GROUP — base.css
   Global reset, variables, utilities, nav,
   shared page hero, footer, animations.
   Import this on every page.
   (Homepage-only styles live in home.css)
───────────────────────────────────────── */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

:root {
  /* Dark brown + cream palette (token names kept for other pages' CSS) */
  --ink:        #2B1C1A;
  --stone:      #EDE3D2;
  --warm-white: #F6EFE3;
  --gold:       #2B1C1A;
  --gold-light: #6B5A55;
  --wine:       #2B1C1A;
  --sand:       #DDCCB3;
  --muted:      #5C504C;
  --border:     rgba(43,28,26,0.16);
  --serif:      'Cormorant Garamond', Georgia, serif;
  --sans:       'Jost', sans-serif;

  /* Section rhythm — one consistent scale, used site-wide */
  --space-section:         128px;
  --space-section-tablet:  96px;
  --space-section-mobile:  72px;
  --space-inline:          64px;
  --space-inline-tablet:   40px;
  --space-inline-mobile:   24px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--warm-white);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── UTILITY ───────────────────────────── */
.gold-rule {
  width: 32px;
  height: 1px;
  background: var(--gold);
}
.label {
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 400;
}
/* On a photo or an ink panel the label and rule need the light tone instead. */
.page-hero-content .label,
.cta-content .label,
.svc-section.dark .label { color: var(--sand); }
.page-hero-content .gold-rule,
.cta-content .gold-rule,
.svc-section.dark .gold-rule { background: var(--sand); }

/* ── LOGO ──────────────────────────────── */
.elysian-logo {
  display: block;
  height: 36.8px;
  width: auto;
}
/* Centred wordmark with pages split either side */
.nav-left  { grid-column: 1; justify-self: start; }
.nav-logo  { grid-column: 2; }
.nav-right {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links.nav-mobile { display: none; }
.nav-left a, .nav-right a { white-space: nowrap; }

/* ── NAV ───────────────────────────────── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 32px;
  padding: 30px 64px;
  transition: background 0.5s ease, padding 0.4s ease, border-color 0.5s ease;
  border-bottom: 1px solid transparent;
}
#nav.scrolled {
  background: rgba(246,239,227,0.97);
  backdrop-filter: blur(12px);
  padding: 18px 64px;
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  display: block;
  line-height: 0;
  color: var(--warm-white);
  text-decoration: none;
  transition: color 0.4s;
  flex-shrink: 0;
}
#nav.scrolled .nav-logo { color: var(--ink); }
/* The same black lockup as the intro loader */
.nav-logo img { display: block; height: 52px; width: auto; }

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  transition: color 0.3s;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}
.nav-links a:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}
#nav.scrolled .nav-links a { color: var(--muted); }
#nav.scrolled .nav-links a:hover { color: var(--ink); border-color: var(--ink); }
.nav-contact-mobile { display: none; }

.nav-cta {
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.28);
  padding: 10px 22px;
  transition: all 0.3s;
  flex-shrink: 0;
}
.nav-cta:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}
#nav.scrolled .nav-cta {
  color: var(--ink);
  border-color: var(--border);
}
#nav.scrolled .nav-cta:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

/* Nav light variant (pages without dark hero) */
/* Dark ground under the nav before scrolling: same cream band as .scrolled */
#nav.nav-solid {
  background: rgba(246,239,227,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
#nav.nav-light .nav-logo { color: var(--ink); }
#nav.nav-light .nav-links a { color: var(--muted); }
#nav.nav-light .nav-links a:hover { color: var(--ink); border-color: var(--ink); }
#nav.nav-light .nav-cta { color: var(--ink); border-color: var(--border); }
#nav.nav-light .nav-cta:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
#nav.nav-light .nav-toggle span { background: var(--ink); }

/* Hamburger toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-shrink: 0;
  z-index: 301;
  position: relative;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: #fff;
  transition: transform 0.35s ease, opacity 0.25s ease, background 0.4s;
  transform-origin: center;
}
#nav.scrolled .nav-toggle span { background: var(--ink); }
.nav-toggle.open span { background: var(--ink); }
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── PAGE HERO (shared, reusable) ────────── */
.page-hero {
  position: relative;
  width: 100%;
  height: 88vh;
  min-height: 560px;
  overflow: hidden;
}
.page-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(43,28,26,0.42);
}
.page-hero-content {
  position: absolute;
  bottom: 11vh;
  left: 64px;
  right: 64px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1.2s ease 0.5s forwards;
}
.page-hero-content .label { margin-bottom: 20px; }
.page-hero-title {
  font-family: var(--serif);
  font-size: clamp(52px, 6vw, 90px);
  font-weight: 300;
  line-height: 1.04;
  color: #fff;
  max-width: 700px;
  letter-spacing: -0.01em;
}
.page-hero-title em { font-style: normal; }
.page-hero-sub {
  margin-top: 22px;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.62);
  max-width: 480px;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

/* ── SPLIT HERO (shared) ───────────────────
   Text left, photo right, nothing on the photo. Akram's standing direction
   for page openings; replaces .page-hero page by page. */
.split-hero {
  max-width: 1440px;
  margin: 0 auto;
  padding: 132px var(--space-inline) 0;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(48px, 6vw, 112px);
  align-items: center;
}
.split-hero-title {
  font-family: var(--serif);
  font-size: clamp(40px, 4.4vw, 68px);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.split-hero-sub {
  max-width: 420px;
  margin-top: 24px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
}
.split-hero-img {
  justify-self: end;
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: calc(100vh - 180px);
  overflow: hidden;
  background: var(--sand);
}
.split-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 1024px) {
  .split-hero { padding: 124px var(--space-inline-tablet) 0; gap: 48px; }
}
@media (max-width: 768px) {
  .split-hero { padding: 112px var(--space-inline-mobile) 0; grid-template-columns: 1fr; gap: 36px; }
  .split-hero-img { max-height: none; }
}

/* ── DECK ARROWS (shared) ─────────────────
   Home experiences deck and the destinations carousel. The deck sets
   --peek, the width of the gutters the arrows sit in. */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(43,28,26,0.25);
  background: rgba(246,239,227,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s, color 0.3s, opacity 0.3s;
}
.hero-arrow-prev { left: calc((var(--peek) - 48px) / 2); }
.hero-arrow-next { right: calc((var(--peek) - 48px) / 2); }
.hero-arrow:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--warm-white);
}
.hero-arrow.is-disabled {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 1024px) {
  .hero-arrow { width: 44px; height: 44px; }
  .hero-arrow-prev { left: 14px; }
  .hero-arrow-next { right: 14px; }
}
/* Phones: arrows leave the photo and sit in a row under the deck */
@media (max-width: 768px) {
  .hero-arrow { position: static; transform: none; width: 44px; height: 44px; background: none; backdrop-filter: none; }
  .hero-arrow.is-disabled { opacity: 0.3; }
}

/* ── CAROUSEL (shared) ───────────────────
   Destinations and experiences. Same mechanics as the home deck (initDeck
   in script.js, shared .hero-arrow): one item per slide, neighbours
   peeking in the gutters. Photo left, text right on the page ground, no
   card. A slide with .hidden (the experiences filter) drops out. */
.carousel {
  --peek: clamp(64px, 9vw, 160px);
  --gap: 56px;
  position: relative;
  margin-bottom: var(--space-section);
}
.carousel-track {
  display: flex;
  gap: var(--gap);
  padding: 0 var(--peek);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--peek);
  scrollbar-width: none;
  cursor: grab;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track.dragging { cursor: grabbing; }
.carousel-track.dragging,
.carousel-track.is-animating { scroll-snap-type: none; }
.carousel-track img { -webkit-user-drag: none; user-select: none; }
.carousel-slide.hidden { display: none; }

.carousel-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 5vw, 96px);
  align-items: center;
}
.carousel-photo {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  max-height: calc(100vh - 220px);
  overflow: hidden;
  background: var(--sand);
}
.carousel-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.05);
  transition: transform 2.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.carousel-slide.is-active .carousel-photo img { transform: scale(1); }

.carousel-text {
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.3s, transform 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}
.carousel-slide.is-active .carousel-text { opacity: 1; transform: none; }
.carousel-name {
  font-family: var(--serif);
  font-size: clamp(34px, 3.4vw, 52px);
  font-weight: 300;
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: 22px;
}
.carousel-desc {
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
}
.carousel-meta {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--gold-light);
}
.carousel-link {
  margin-top: 32px;
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(43,28,26,0.35);
  padding-bottom: 3px;
  transition: border-color 0.3s;
}
.carousel-link:hover { border-color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  .carousel-photo img,
  .carousel-text { transition: none; transform: none; opacity: 1; }
}

@media (max-width: 1024px) {
  .carousel { --peek: 72px; --gap: 40px; margin-bottom: var(--space-section-tablet); }
}
@media (max-width: 768px) {
  .carousel { --peek: var(--space-inline-mobile); --gap: 24px; margin-bottom: var(--space-section-mobile); display: flex; flex-direction: column; }
  .carousel-nav { order: 2; display: flex; justify-content: flex-end; gap: 10px; padding: 24px var(--space-inline-mobile) 0; }
  .carousel-slide { grid-template-columns: 1fr; row-gap: 28px; }
  .carousel-photo { aspect-ratio: 4 / 3; max-height: none; }
  .carousel-text { max-width: none; }
}

/* ── SECTION HEADER SHARED ─────────────── */
.section-header {
  padding: 0 64px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 300;
  color: var(--ink);
  line-height: 1.18;
  margin-top: 14px;
}
.section-title em { font-style: normal; }
.section-title.light { color: #fff; }

.section-link {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(43,28,26,0.35);
  padding-bottom: 3px;
  transition: border-color 0.3s;
  white-space: nowrap;
  margin-bottom: 6px;
}
.section-link:hover { border-color: var(--gold); }

/* ── CTA BANNER (shared, reusable) ─────── */
.cta-banner {
  position: relative;
  height: 72vh;
  min-height: 520px;
  overflow: hidden;
}
.cta-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}
.cta-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(43,28,26,0.54);
}
.cta-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
}
.cta-title {
  font-family: var(--serif);
  font-size: clamp(40px, 5.5vw, 74px);
  font-weight: 300;
  color: #fff;
  line-height: 1.12;
  margin-bottom: 48px;
  max-width: 640px;
}
.cta-title em { font-style: normal; }
.cta-btn {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--warm-white);
  padding: 18px 52px;
  text-decoration: none;
  transition: background 0.35s, color 0.35s;
}
.cta-btn:hover { background: #D9CDB9; color: var(--ink); }

/* ── QUOTE / PULL QUOTE (shared) ───────── */
.quote-section {
  padding: var(--space-section) var(--space-inline);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--warm-white);
}
.quote-inner { max-width: 860px; text-align: center; }
.quote-open {
  font-family: var(--serif);
  font-size: 90px;
  line-height: 0.55;
  color: var(--gold);
  opacity: 0.3;
  display: block;
  margin-bottom: 36px;
}
.quote-text {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 300;
  line-height: 1.42;
  color: var(--ink);
}

/* ── TESTIMONIALS (shared) ─────────────── */
.testimonials {
  padding: var(--space-section) var(--space-inline);
  max-width: 1440px;
  margin: 0 auto;
}
.testimonials-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 72px;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(26,24,20,0.07);
}
.testimonial-item {
  background: var(--warm-white);
  padding: 52px 44px;
  position: relative;
}
.testimonial-item::before {
  content: '"';
  font-family: var(--serif);
  font-size: 72px;
  line-height: 0.7;
  color: var(--gold);
  opacity: 0.22;
  position: absolute;
  top: 36px;
  left: 38px;
}
.testimonial-text {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.62;
  color: var(--ink);
  margin-bottom: 52px;
  padding-top: 24px;
}
.testimonial-name {
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #3a3630;
}
.testimonial-detail {
  font-size: 11px;
  font-weight: 400;
  color: #7a746c;
  margin-top: 5px;
  letter-spacing: 0.06em;
}

/* ── FOOTER ────────────────────────────── */
/* Four-column sitemap footer (brand + newsletter, Navigate, Destinations,
   Company), on the dark-brown footer ground. Cream at low opacity does the
   work gold used to on the old near-black footer. */
footer {
  background: var(--wine);
  color: var(--warm-white);
  padding: 90px var(--space-inline) 44px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 70px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(246,239,227,0.1);
  margin-bottom: 40px;
}

.footer-brand { min-width: 0; }
.footer-logo {
  height: 84px;
  width: auto;
  display: block;
}
.footer-tagline {
  font-size: 13px;
  line-height: 1.88;
  color: rgba(246,239,227,0.5);
  max-width: 290px;
  margin-top: 20px;
}
.footer-recognition {
  margin-top: 26px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sand);
  opacity: 0.6;
}

.footer-col-title {
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sand);
  opacity: 0.6;
  margin-bottom: 26px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 13px;
  letter-spacing: 0.02em;
  color: rgba(246,239,227,0.55);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--warm-white); }

/* ── FOOTER NEWSLETTER ─────────────────── */
/* Understated on purpose: a quiet label, the field, one plain line under it.
   No "by request" framing — restraint reads as exclusivity, claiming it doesn't. */
.footer-newsletter {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(246,239,227,0.08);
  max-width: 340px;
}
.footer-newsletter-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(246,239,227,0.4);
  margin-bottom: 14px;
}
.footer-newsletter-row {
  display: flex;
  border: 1px solid rgba(246,239,227,0.14);
  transition: border-color 0.3s;
}
.footer-newsletter-row:focus-within { border-color: rgba(246,239,227,0.4); }
.footer-newsletter-row input[type="email"] {
  flex: 1;
  min-width: 0;
  background: none;
  border: none;
  outline: none;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--warm-white);
  padding: 12px 16px;
}
.footer-newsletter-row input[type="email"]::placeholder { color: rgba(246,239,227,0.28); }
.footer-newsletter-row button {
  background: none;
  border: none;
  border-left: 1px solid rgba(246,239,227,0.14);
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(246,239,227,0.8);
  padding: 12px 18px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.3s, color 0.3s;
}
.footer-newsletter-row button:hover {
  background: rgba(246,239,227,0.07);
  color: var(--warm-white);
}
.footer-newsletter-note {
  font-size: 11.5px;
  line-height: 1.7;
  color: rgba(246,239,227,0.35);
  margin-top: 10px;
}
.footer-newsletter-feedback {
  font-size: 11px;
  letter-spacing: 0.04em;
  margin-top: 8px;
  min-height: 16px;
  color: rgba(246,239,227,0.7);
}

.footer-social {
  list-style: none;
  margin-top: 28px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(246,239,227,0.55);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-social a:hover { color: var(--warm-white); }
.footer-social svg { width: 16px; height: 16px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-copy {
  font-size: 11.5px;
  color: rgba(246,239,227,0.3);
}
.footer-legal {
  list-style: none;
  display: flex;
  gap: 32px;
}
.footer-legal a {
  font-size: 11.5px;
  color: rgba(246,239,227,0.3);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-legal a:hover { color: rgba(246,239,227,0.6); }

@media (max-width: 1024px) {
  footer { padding: 70px var(--space-inline-tablet) 36px; }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 48px 40px;
  }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  footer { padding: 60px var(--space-inline-mobile) 36px; }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 44px;
    text-align: center;
  }
  .footer-logo { margin: 0 auto; }
  .footer-tagline {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .footer-newsletter {
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
  }
  .footer-links { align-items: center; }
  .footer-social { display: flex; justify-content: center; }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}


/* ── DESTINATIONS STRIP (shared: home + destinations page) ── */
.dest-strip {
  display: flex;
  gap: 2px;
  padding: 0 64px;
  overflow-x: auto;
  scrollbar-width: none;
}
.dest-strip::-webkit-scrollbar { display: none; }

.dest-card {
  flex: 0 0 340px;
  height: 500px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: block;
}
.dest-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}
.dest-card:hover img { transform: scale(1.07); }
/* Suppress the hover-zoom while an arrow click is auto-scrolling the strip —
   see .carousel-track.is-auto-scrolling in home.css for the same pattern. */
.dest-strip.is-auto-scrolling .dest-card:hover img { transform: none; }

.dest-overlay {
  position: absolute;
  inset: 0;
  background: rgba(43,28,26,0.46);
  transition: background 0.4s;
}
.dest-card:hover .dest-overlay {
  background: rgba(43,28,26,0.46);
}
.dest-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 34px;
}
.dest-region {
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 8px;
}
.dest-name {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 300;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.1;
}
.dest-desc {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.78);
  line-height: 1.72;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.4s ease;
  opacity: 0;
}
.dest-card:hover .dest-desc { max-height: 80px; opacity: 1; }

.dest-any {
  flex: 0 0 280px;
  height: 500px;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 34px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.dest-any::before {
  content: '+';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  font-family: var(--serif);
  font-size: 120px;
  font-weight: 400;
  color: rgba(239,233,221,0.14);
  line-height: 1;
  transition: color 0.4s, transform 0.5s;
}
.dest-any:hover::before {
  color: rgba(239,233,221,0.24);
  transform: translate(-50%, -60%) scale(1.06);
}
.dest-any-title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.2;
  position: relative;
}
.dest-any-sub {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,0.42);
  line-height: 1.75;
  position: relative;
}

/* ── ANIMATIONS ────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
}

/* ═══════════════════════════════════════════
   RESPONSIVE — base
═══════════════════════════════════════════ */

@media (max-width: 1024px) {
  #nav { padding: 24px 40px; }
  #nav.scrolled { padding: 16px 40px; }
  .testimonials { padding: var(--space-section-tablet) var(--space-inline-tablet); }
  .section-header { padding: 0 40px; }
  .quote-section { padding: var(--space-section-tablet) var(--space-inline-tablet); }
  .article-related { padding: 72px 40px; }
  .dest-strip { padding: 0 40px; }
}

/* A centred logo needs both sides to fit their column, so tighten the nav early */
@media (max-width: 1260px) {
  #nav { padding: 24px 40px; column-gap: 20px; }
  #nav.scrolled { padding: 16px 40px; }
  .nav-links { gap: 20px; }
  .nav-links a { font-size: 9.5px; }
  .nav-right { gap: 20px; }
  .nav-cta { padding: 9px 14px; font-size: 9.5px; }
}

/* Not enough room for the button beside a centred logo on small laptops */
@media (min-width: 769px) and (max-width: 1040px) {
  .nav-right .nav-cta { display: none; }
}

@media (max-width: 768px) {
  #nav {
    padding: 14px 24px;
    background: rgba(246,239,227,0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
  }
  #nav.scrolled { padding: 14px 24px; }
  .nav-logo { color: var(--ink); }
  .nav-logo img { height: 40px; }
  .nav-toggle span { background: var(--ink); }
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0;
    background: var(--warm-white);
    padding: 80px 24px 52px;
    flex-direction: column;
    gap: 0;
    list-style: none;
    border-bottom: 1px solid var(--border);
    z-index: 190;
    box-shadow: 0 8px 40px rgba(24,22,15,0.1);
  }
  .nav-links.open { display: flex; }
  .nav-left, .nav-right { display: none; }
  .nav-logo { font-size: 21px; }
  .nav-logo { position: relative; z-index: 301; }
  .nav-toggle { grid-column: 3; grid-row: 1; justify-self: end; }
  .nav-links li { border-bottom: 1px solid var(--border); }
  .nav-links a {
    color: var(--muted);
    display: block;
    padding: 18px 0;
    font-size: 11px;
    letter-spacing: 0.18em;
    border-bottom: none;
  }
  .nav-links a:hover { color: var(--ink); border-color: transparent; }
  .nav-contact-mobile { display: block; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .page-hero { height: 68vh; min-height: 420px; }
  .page-hero-content { left: 24px; right: 24px; bottom: 8vh; }
  .page-hero-title { font-size: clamp(36px, 7vw, 68px); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .section-header { flex-direction: column; gap: 14px; align-items: flex-start; padding: 0 24px; }
  .reveal-delay-1,
  .reveal-delay-2,
  .reveal-delay-3 { transition-delay: 0s; }
  .quote-section { padding: var(--space-section-mobile) var(--space-inline-mobile); }
  .dest-strip { padding: 0 24px; }
}

@media (max-width: 480px) {
  .testimonial-item { padding: 40px 28px; }
  .page-hero-title { font-size: clamp(32px, 8vw, 54px); }
}

/* ── FOOTER REVEAL (opt-in: body.footer-reveal) ──
   The page slides up and away to uncover the footer beneath it.
   footer.js picks pinned (footer fits the viewport) or slide (taller
   footer, e.g. mobile) and drives --reveal (0 → 1) as it is uncovered. */
elysian-footer { display: block; }

body.footer-reveal-active main.page {
  position: relative;
  z-index: 1;
  background: var(--warm-white);
  /* Keeps a last section's bottom margin inside the page ground; without it
     the margin collapses out and uncovers the footer early (no gap). */
  display: flow-root;
}
body.footer-reveal-active .footer-inner {
  opacity: calc(0.2 + var(--reveal, 1) * 0.8);
}

body.footer-reveal-pinned elysian-footer {
  position: sticky;
  bottom: 0;
  z-index: 0;
}
body.footer-reveal-pinned .footer-inner {
  transform: translateY(calc((1 - var(--reveal, 1)) * 120px));
  will-change: transform, opacity;
}

body.footer-reveal-slide elysian-footer {
  position: relative;
  z-index: 0;
  transform: translateY(calc((var(--reveal, 1) - 1) * 40vh));
  will-change: transform;
}
