/* ============================================================
   HOMEPAGE — content-driven, fully responsive sections.
   Native scrolling only (no scroll-snap, no 100vh rigid sections).
   Breakpoints: 1280 (map overlay) · 1100 · 820 · 560 · 400.
   Rhythm comes from --section-y / --gutter (style.css).
   ============================================================ */
:root {
  --home-w: 1500px;              /* = --container-wide, the same width the footer grid uses, so edges line up */
  --home-muted: #66665f;
  --home-y: clamp(56px, 7vw, 96px);   /* a deliberate, slightly tighter variant of --section-y */
  --photo-ph: #2a3a31;                /* solid forest plate behind card photos until they load */
  /* left/right edge of page content: the gutter, or the centred container edge on very wide screens.
     Hero text, sections and footer all start on this one line (percentages resolve against the element using it). */
  --home-edge: max(var(--gutter), calc((100% - var(--home-w)) / 2));
}

html, body { margin: 0; padding: 0; overflow-x: clip; }

/* No-JS safety for the global scroll-reveal helper */
html:not(.js) .reveal { opacity: 1; transform: none; }
/* style.css's phone rule `.js .reveal { translateY(16px) }` out-ranks `.reveal.visible` by source order, which left every
   revealed item 16px low on phones (it was gluing the Get In Touch pill to the stat cards). Pin the revealed state. */
.js .reveal.visible, .js .reveal-left.visible, .js .reveal-right.visible { transform: none; }

/* ——— Shared scaffolding ——— */
.home-sec { position: relative; padding-block: var(--home-y); }
.home-wrap { width: 100%; max-width: calc(var(--home-w) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.home-sec .section-heading { font-size: clamp(30px, 4vw, 56px); margin-bottom: clamp(28px, 4vw, 48px); }
/* style.css caps .section-heading at 560px, which cannot hold the 56px "Everything your journey" (three lines + an orphan at >=1280).
   Home headings carry their own <br>, so let each line be as wide as it needs; the centred variant keeps its own 700px measure. */
.home-sec .section-heading:not(.section-heading--center) { max-width: none; }
.section-heading--center { text-align: center; max-width: 700px; margin-inline: auto; }
.section-label.is-center { text-align: center; }
/* Headings break into even lines; paragraphs never end on a one-word last line */
.home-sec .section-heading, .map-heading, .cta-heading { text-wrap: balance; }
.hero-sub, .pers-text, .cta-sub, .testi-text, .why-text, .svc-desc { text-wrap: pretty; }

/* Adjacent sections that share a background get a tighter join, so the gap is intentional and
   never reads as dead space (the client's "too much space after Personalised Travel" item). */
#map-section   { padding-bottom: calc(var(--home-y) * .3); }
#experiences   { padding-top: calc(var(--home-y) * .6); }
#personalized  { padding-bottom: calc(var(--home-y) * .6); }
#itineraries   { padding-top: calc(var(--home-y) * .6); }

/* ——— Entrance states ———
   Only applied while scripts run (html.js) and until home-animation.js reveals them. Never applied for
   reduced motion, and .home-fallback (CDN blocked / init failed / 6s timeout) forces everything visible. */
@media (prefers-reduced-motion: no-preference) {
  html.js:not(.home-fallback) :is(
    .why-card, .exp-preview-card, .experiences-header-right, .svc-card, .pillar,
    .itin-card, .itin-header .home-viewall, .testi-card, .cta-copy > *, .promise-item, .stat-item
  ) { opacity: 0; }
}
html.home-fallback :is(
  .why-card, .exp-preview-card, .experiences-header-right, .svc-card, .pillar,
  .itin-card, .itin-header .home-viewall, .testi-card, .cta-copy > *, .promise-item, .stat-item, .sw-i
) { opacity: 1 !important; transform: none !important; }

/* ============================================================
   HERO
   ============================================================ */
#hero { background: #0d0d0d; align-items: stretch; flex-direction: column; justify-content: space-between; }
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.8s ease-in-out; will-change: opacity; }
.hero-video.active { opacity: .72; }
/* Scrim: darker behind the headline column so the white text always clears AA on bright dunes / sky */
.hero-video-overlay { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(8,8,8,.6) 0%, rgba(8,8,8,.34) 46%, rgba(8,8,8,.06) 100%),
  linear-gradient(170deg, rgba(0,0,0,.26) 0%, rgba(0,0,0,0) 34%, rgba(13,13,13,.92) 100%); }

.hero-content { position: relative; z-index: 2; flex: 1; width: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; color: #fff; padding: calc(var(--nav-h) + 56px) var(--home-edge) 24px; }
.hero-h1 { font-family: var(--f-display); font-size: clamp(40px, 6.5vw, 100px); font-weight: 900; line-height: 1.1; letter-spacing: -.02em; max-width: 1100px; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.hero-h1 .line { display: block; }
.hero-h1 .accent { color: var(--orange); font-style: italic; }
.hero-sub { font-size: clamp(15px, 1.4vw, 18px); font-weight: 400; color: rgba(255,255,255,.9); max-width: 520px; margin-top: 20px; line-height: 1.65; text-shadow: 0 1px 18px rgba(0,0,0,.5); }
.hero-sub .nb { white-space: nowrap; }                 /* "drop-off" never breaks at its hyphen (markup: front-page.php) */
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px 16px; margin-top: 32px; }
.hero-actions .btn-primary, .hero-actions .btn-outline-light { justify-content: center; min-height: 52px; }

/* Hero intro — pure CSS so it needs no library and never flashes an empty hero */
@media (prefers-reduced-motion: no-preference) {
  .hero-h1 .line { animation: heroLine 1s var(--ease-out) both; }
  .hero-h1 .line:nth-child(1) { animation-delay: .3s; }
  .hero-h1 .line:nth-child(2) { animation-delay: .42s; }
  .hero-h1 .line:nth-child(3) { animation-delay: .54s; }
  .hero-sub     { animation: heroUp .8s var(--ease-out) .85s both; }
  .hero-actions { animation: heroUp .8s var(--ease-out) .97s both; }
  .hero-scroll-hint { animation: heroFade .6s ease 1.3s both; }
}
/* negative insets so descenders and the italic overhang of the accent word are never clipped */
@keyframes heroLine { from { clip-path: inset(-20% 100% -30% -5%); } to { clip-path: inset(-20% -5% -30% -5%); } }
@keyframes heroUp   { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes heroFade { from { opacity: 0; } to { opacity: 1; } }

/* Bottom bar: reel dots centred, scroll hint right — in flow, so it can never collide with the buttons */
.hero-bottom-bar { position: relative; z-index: 3; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; padding: 8px var(--home-edge) 24px; flex-shrink: 0; pointer-events: none; }
.hero-reel-dots { grid-column: 2; display: flex; align-items: center; pointer-events: auto; }
.hero-reel-dot { width: 14px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; -webkit-tap-highlight-color: transparent; }
.hero-reel-dot::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.45); transition: background .4s, transform .4s, width .4s; }
.hero-reel-dot.active::before { background: var(--orange); transform: scale(1.4); }
.hero-scroll-hint { grid-column: 3; justify-self: end; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 4px 6px; color: rgba(255,255,255,.75); font-size: 11px; letter-spacing: 3px; text-transform: uppercase; text-decoration: none; pointer-events: auto; }
.scroll-stem { display: block; width: 1px; height: 44px; background: rgba(255,255,255,.25); overflow: hidden; position: relative; }
.scroll-stem::after { content: ''; position: absolute; top: -100%; left: 0; width: 100%; height: 100%; background: var(--orange); animation: stemDrop 2s ease-in-out infinite; }
@keyframes stemDrop { to { top: 160%; } }

/* Touch: bigger hit areas, drawn as story-style segments */
@media (pointer: coarse) {
  .hero-reel-dot { width: 44px; height: 44px; }
  .hero-reel-dot::before { width: 24px; height: 3px; border-radius: 3px; }
  .hero-reel-dot.active::before { transform: none; width: 32px; }
  .hero-scroll-hint { padding-bottom: 15px; }        /* label text sits on the dots' centre line (44px tap area) */
}
/* a reel whose video could not load is dropped from the cycle (see home-animation.js) */
.hero-reel-dot.is-off { display: none; }

/* Short laptop screens: tighten the hero so the headline never crowds the nav */
@media (max-height: 800px) and (min-width: 821px) {
  .hero-content { padding-top: calc(var(--nav-h) + 24px); }
  .hero-h1 { font-size: clamp(32px, 5vw, 64px); }
  .hero-sub { margin-top: 12px; }
  .hero-actions { margin-top: 20px; }
}
@media (max-height: 640px) and (min-width: 821px) {
  .hero-content { padding-top: 96px; }
  .hero-h1 { font-size: clamp(26px, 4.2vw, 48px); }
  .hero-sub { font-size: 13px; line-height: 1.5; margin-top: 10px; max-width: 440px; }
  .hero-actions { margin-top: 14px; }
}
@media (max-width: 820px) {
  .hero-video-overlay { background: linear-gradient(180deg, rgba(8,8,8,.5) 0%, rgba(8,8,8,.3) 28%, rgba(8,8,8,.58) 60%, rgba(13,13,13,.94) 100%); }
  .hero-content { padding-top: calc(var(--nav-h) + 32px); }
}
/* Landscape phones: the hero is only ~360px tall, so shrink type and keep the buttons side by side */
@media (max-height: 500px) and (orientation: landscape) and (max-width: 940px) {
  .hero-content { padding-top: calc(var(--nav-h) + 4px); padding-bottom: 12px; }
  .hero-h1 { font-size: clamp(30px, 9vh, 42px); }
  .hero-sub { font-size: 14px; margin-top: 10px; max-width: 46ch; }
  .hero-actions { margin-top: 16px; }
}
@media (max-width: 560px) {
  .hero-h1 { font-size: clamp(38px, 11.6vw, 48px); letter-spacing: -.015em; }
  .hero-sub { font-size: 16px; margin-top: 18px; max-width: 34ch; }
  .hero-actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 340px; gap: 12px; margin-top: 28px; }
  .hero-scroll-hint { position: absolute; visibility: hidden; }   /* touch hero: the reel segments are the one bottom control (not display:none, which would restart its intro animation on every resize) */
}

/* ============================================================
   PROMISE STRIP + STATS BAND
   (not in the current template — kept responsive and content-driven for when they return)
   ============================================================ */
#promise { background: var(--dark-green); padding: 0; }
.promise-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.promise-item { padding: var(--section-y) clamp(24px, 4.5vw, 64px); border-right: 1px solid rgba(255,255,255,.12); display: flex; flex-direction: column; justify-content: center; position: relative; }
.promise-item:last-child { border-right: none; }
.promise-item::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--orange) 0%, transparent 100%); opacity: 0; transition: opacity .4s; }
.promise-item:hover::before { opacity: 1; }
.p-icon { width: 64px; height: 64px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; display: flex; align-items: center; justify-content: center; margin-bottom: 28px; transition: background .3s, border-color .3s; }
.promise-item:hover .p-icon { background: rgba(213,142,74,.15); border-color: rgba(213,142,74,.35); }
.p-title { font-family: var(--f-display); font-size: clamp(21px, 2vw, 24px); font-weight: 700; color: #fff; margin-bottom: 14px; line-height: 1.2; }
.p-title span { color: var(--orange-light); }
.p-desc { font-size: 15px; line-height: 1.7; color: rgba(255,255,255,.72); max-width: 340px; }
@media (max-width: 820px) {
  .promise-grid { grid-template-columns: 1fr; }
  .promise-item { padding: 36px var(--gutter); border-right: none; border-bottom: 1px solid rgba(255,255,255,.12); }
  .promise-item:last-child { border-bottom: none; }
  .p-icon { margin-bottom: 20px; }
}

#stats { background: var(--black); padding: 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat-item { padding: clamp(36px, 6vw, 72px) clamp(20px, 3.4vw, 60px); border-right: 1px solid rgba(255,255,255,.08); display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.stat-item::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--orange), transparent); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); }
.stat-item:hover::after { transform: scaleX(1); }
.stat-item:last-child { border-right: none; }
.stat-num { font-family: var(--f-display); font-size: clamp(40px, 6vw, 88px); font-weight: 900; color: var(--orange); line-height: 1; display: block; }
.stat-lbl { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.62); margin-top: 14px; display: block; }
@media (max-width: 820px) {
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.08); }
}

/* ============================================================
   WHY — "Tailormade Holidays"
   ============================================================ */
#why { background: var(--ivory-2); }
#why .why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 2.8vw, 40px); }
.why-card { cursor: default; }
.why-icon-wrap { width: 56px; height: 56px; background: var(--orange-pale); border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; transition: background .35s var(--ease-out), transform .35s var(--ease-out); }
.why-card:hover .why-icon-wrap { background: var(--orange); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(213,142,74,.35); }
.why-card:hover .why-icon-wrap svg { stroke: #fff !important; }
.why-title { font-size: 19px; font-weight: 700; line-height: 1.3; margin-bottom: 12px; }
.why-text { font-size: 15px; color: var(--home-muted); line-height: 1.7; }
@media (max-width: 1100px) { #why .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (max-width: 820px) {
  .why-card { background: #fff; border-radius: var(--radius-card); padding: 26px 24px 28px; box-shadow: 0 2px 20px rgba(0,0,0,.04); }
  .why-icon-wrap { width: 48px; height: 48px; border-radius: 14px; margin-bottom: 18px; }
}
@media (max-width: 560px) { #why .why-grid { grid-template-columns: 1fr; gap: 16px; } }

/* ============================================================
   WORLD MAP — "The world, your way"
   ≥1280 heading overlays the map · below that heading sits above ·
   ≤640 the map is a swipeable band with larger pins and a docked card.
   ============================================================ */
#map-section { background: var(--ivory); padding-top: calc(var(--home-y) * .5); overflow: hidden; }
.map-header { position: relative; z-index: 5; padding-bottom: 20px; }
.map-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--orange-ink); margin-bottom: 14px; }
.map-heading { font-family: var(--f-display); font-size: clamp(32px, 4vw, 60px); font-weight: 900; line-height: 1; letter-spacing: -.02em; color: var(--black); max-width: 500px; }
.map-sub { font-size: 15px; color: var(--home-muted); margin-top: 14px; max-width: 360px; line-height: 1.55; text-wrap: balance; }
.map-wrap { max-width: 1700px; margin-inline: auto; padding-inline: var(--gutter); }
.map-stage { position: relative; }
#world-map-container { background: transparent; overflow: hidden; }
#world-map-svg { display: block; width: 100%; height: auto; aspect-ratio: 864 / 456; max-width: none; }
.dest-marker { outline: none; }
.dest-marker:focus-visible .dest-dot { stroke: var(--black); stroke-width: 2.5; }
.dest-label { font-size: 11px; }
.map-hint, .map-pan { display: none; }
.mt-touch, .mh-mouse { display: none; }
.map-hint svg, .map-pan svg, .home-viewall svg { flex: none; max-width: none; }     /* the global svg { max-width:100% } would squash icons in flex pills to 0px */
@media (hover: none) { .mt-mouse { display: none; } .mt-touch { display: inline; } }                 /* "Click" copy reads "Tap" on touch screens */
@media (hover: hover) and (pointer: fine) { .mh-touch { display: none; } .mh-mouse { display: inline; } }   /* narrow desktop windows say "Drag / Click" */

/* Tooltip (desktop = floating next to the pin, JS positions it inside the stage) */
.map-tooltip { z-index: 30; top: 0; left: 0; }
.map-tooltip-region { font-size: 11px; }
.map-tooltip-name { font-size: 18px; }
.map-tooltip-desc { font-size: 13px; color: rgba(255,255,255,.72); }
.map-tooltip-link { min-height: 32px; }
.map-tt-close { display: none; position: absolute; top: 4px; right: 4px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; color: rgba(255,255,255,.85); cursor: pointer; place-items: center; }

.map-heading em { font-style: italic; color: var(--orange); }
@media (min-width: 1280px) {
  /* heading floats over the NW corner of the map, as in the original design. The map stage is nudged right so that
     corner is genuinely pin-free: the Canada pin used to sit against the full stop of "your way." */
  .map-header { position: absolute; left: 0; right: 0; top: calc(var(--home-y) * .5 + 12px); margin-inline: auto; padding-bottom: 0; pointer-events: none; }
  .map-heading { font-size: clamp(42px, 3.6vw, 58px); }       /* a touch smaller here, and the stage further right, so "The world," clears the Alaska coastline (35px+ at 1280-1920) */
  .map-stage { margin-left: clamp(0px, 11vw, 200px); }
  .map-sub { max-width: 300px; }
}
@media (max-width: 820px) {
  .map-wrap { padding-inline: 0; }
  .map-sub { max-width: 420px; }
  /* docked card: slides over the lower (or upper) edge of the map, always inside the viewport */
  #mapTooltip.is-docked { left: 12px; right: 12px; bottom: 12px; top: auto; width: auto; display: grid; grid-template-columns: 112px minmax(0, 1fr); transform: translateY(12px); }
  #mapTooltip.is-docked.at-top { top: 12px; bottom: auto; }
  #mapTooltip.is-docked.show { transform: none; }
  #mapTooltip.is-docked .map-tooltip-img { width: 100%; height: 100%; min-height: 132px; }
  #mapTooltip.is-docked .map-tooltip-body { padding: 14px 44px 12px 16px; }
  .map-tooltip-link { min-height: 44px; font-size: 13px; }
  #mapTooltip.is-docked .map-tooltip-link { margin-top: 4px; }
  #mapTooltip.is-docked .map-tt-close { display: grid; }
}
@media (max-width: 640px) {
  #world-map-container { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); }
  #world-map-container::-webkit-scrollbar { display: none; }
  /* wider than the screen: pins get ~2x the spacing and become tappable; swipe to pan */
  #world-map-svg { width: 760px; }
  .map-hint { display: inline-flex; align-items: center; gap: 8px; position: absolute; left: 50%; bottom: 6px; z-index: 6; transform: translateX(-50%); padding: 9px 16px; border-radius: 40px; background: rgba(26,26,26,.82); color: #fff; font-size: 13px; font-weight: 500; letter-spacing: .2px; white-space: nowrap; pointer-events: none; transition: opacity .5s; }
  .map-hint.is-hidden { opacity: 0; }
  /* pan arrows: a lasting cue that the band scrolls, and a tap alternative to swiping (hidden at each end) */
  .map-pan { display: grid; place-items: center; position: absolute; bottom: 3px; z-index: 6; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: rgba(26,26,26,.72); color: #fff; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,.16); -webkit-tap-highlight-color: transparent; transition: opacity .3s; }
  .map-pan::after { content: ''; position: absolute; inset: -4px; }
  .map-pan--prev { left: 10px; }
  .map-pan--next { right: 10px; }
  .map-pan.is-off, html:not(.js) .map-pan, .map-stage.has-tip .map-pan { opacity: 0; pointer-events: none; }   /* has-tip: a docked card is open (home-animation.js), its corners must not show the arrows */
}
/* touch: static halos (battery), and no sticky :hover label — the docked card names the pin */
@media (hover: none) { .dest-pulse { animation: none; r: 11px; } .dest-marker:hover .dest-label { opacity: 0; } }

.map-bottom-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; padding: 28px var(--gutter); }
.map-stat { display: flex; flex-direction: column; gap: 2px; }
.map-stat-num { font-size: 22px; font-weight: 700; color: var(--orange); font-family: var(--f-display); }
.map-stat-lbl { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--home-muted); }
.map-divider { width: 1px; height: 36px; background: var(--gray-light); }
@media (max-width: 560px) { .map-divider { display: none; } .map-bottom-strip { gap: 16px 28px; } }

/* ============================================================
   EXPERIENCES PREVIEW
   ============================================================ */
#experiences { background: var(--ivory); }
.experiences-header { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 20px 24px; margin-bottom: clamp(28px, 4vw, 56px); }
.experiences-header-left { flex: 1 1 320px; }
.experiences-header .section-heading { margin-bottom: 0; max-width: none; }
.experiences-header-right { flex-shrink: 0; }
/* the one "view all" treatment, shared by Experiences and Itineraries */
.home-viewall { padding: 14px 30px; min-height: 48px; font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.exp-preview-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.7vw, 22px); }
.exp-preview-card { position: relative; border-radius: var(--radius-card); overflow: hidden; aspect-ratio: .8; display: block; text-decoration: none; cursor: pointer; background: var(--photo-ph); transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out); }
.exp-preview-card:hover { transform: translateY(-6px); box-shadow: 0 24px 56px rgba(0,0,0,.14); }
.exp-preview-img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; transition: transform .7s var(--ease-out), opacity .7s ease; }
.exp-preview-card:hover .exp-preview-img { transform: scale(1.06); }
.exp-preview-overlay { position: absolute; inset: 0; background: var(--scrim-card); }
.exp-preview-content { position: absolute; bottom: 0; left: 0; right: 0; padding: clamp(18px, 2vw, 26px); color: #fff; text-shadow: 0 1px 14px rgba(0,0,0,.5); }
.exp-preview-tag { font-size: 11px; text-transform: uppercase; letter-spacing: 2.5px; color: var(--orange-light); font-weight: 700; margin-bottom: 6px; }
.exp-preview-name { font-family: var(--f-display); font-size: clamp(20px, 1.9vw, 26px); font-weight: 900; line-height: 1.15; margin-bottom: 5px; color: #fff; }
.exp-preview-cta { font-size: 13px; font-weight: 700; color: var(--orange-light); letter-spacing: .3px; opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; }
.exp-preview-card:hover .exp-preview-cta, .exp-preview-card:focus-visible .exp-preview-cta { opacity: 1; transform: translateY(0); }
@media (hover: none) { .exp-preview-cta { opacity: 1; transform: none; margin-top: 8px; } }
@media (max-width: 1100px) { .exp-preview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .exp-preview-card { aspect-ratio: .88; } }
/* phones: a compact 2-up grid (4 cards ≈ half a screen of scroll instead of two) with smaller type */
@media (max-width: 560px) {
  .exp-preview-grid { gap: 12px; }
  .exp-preview-card { aspect-ratio: .74; border-radius: 16px; }
  .exp-preview-content { padding: 14px 14px 15px; }
  .exp-preview-tag { display: none; }                 /* every card says "Experience": the title and the CTA carry the card */
  .exp-preview-name { font-size: clamp(17px, 4.7vw, 20px); line-height: 1.18; margin-bottom: 4px; }
  .exp-preview-cta { font-size: 13px; margin-top: 6px; }
}
/* small phones: the 2-up card is only ~126px of text width, so the label + arrow must stay on ONE line (arrow orphaned at 360) */
@media (max-width: 400px) {
  .exp-preview-content { padding: 14px 12px 15px; }
  .exp-preview-cta { font-size: clamp(11.5px, 3.5vw, 13px); letter-spacing: 0; white-space: nowrap; }
}

/* ============================================================
   WHAT WE DO — services
   desktop/tablet: grid · phones: swipeable row with a peeking next card
   ============================================================ */
#what-we-do { background: var(--ivory-2); }
.svc-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.svc-card { display: flex; flex-direction: column; background: #fff; border-radius: 16px; padding: 28px 26px 24px; text-decoration: none; color: var(--black); transition: transform .3s, box-shadow .3s; }
.svc-card:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(0,0,0,.1); }
.svc-icon { margin-bottom: 14px; line-height: 0; }
.svc-title { font-family: var(--f-display); font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--black); line-height: 1.25; }
.svc-desc { font-size: 15px; color: var(--home-muted); line-height: 1.65; }
.svc-link { margin-top: auto; padding-top: 16px; font-size: 13px; font-weight: 700; color: var(--orange-ink); }
@media (max-width: 820px) { .svc-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .svc-row { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); -webkit-overflow-scrolling: touch; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 22px; }
  .svc-row::-webkit-scrollbar { display: none; }
  .svc-card { flex: 0 0 min(78vw, 300px); scroll-snap-align: start; }
}

/* ============================================================
   PERSONALISED TRAVEL
   ============================================================ */
#personalized { background: var(--ivory); }
.pers-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.pers-copy .section-heading { max-width: none; }
.pers-text { font-size: 15.5px; line-height: 1.8; color: var(--home-muted); margin-bottom: 20px; max-width: 560px; }
.pers-cta { margin-top: 12px; min-height: 52px; }
.pers-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pillar { background: var(--ivory-2); border-radius: 18px; padding: 26px 16px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.pillar-icon { width: 46px; height: 46px; border-radius: 50%; background: var(--orange-pale); display: grid; place-items: center; margin-bottom: 14px; }
.pillar-num { font-family: var(--f-display); font-size: clamp(30px, 3.2vw, 40px); font-weight: 900; color: var(--orange); line-height: 1; }
.pillar-lbl { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--home-muted); margin-top: 8px; }
@media (max-width: 820px) {
  .pers-grid { grid-template-columns: 1fr; row-gap: 44px; }       /* the CTA pill gets real air above the stat cards */
  .pers-pillars { gap: 14px; }
}

/* ============================================================
   ITINERARIES
   4 cols → 2 cols → phones: swipeable row with a peeking next card
   ============================================================ */
#itineraries { background: var(--ivory); }
/* Personalised and Itineraries share the ivory ground: a hairline at the join keeps them two sections, not one long one */
#itineraries::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: min(calc(100% - 2 * var(--gutter)), var(--home-w)); height: 1px; background: var(--gray-light); }
.itin-header { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px 24px; margin-bottom: clamp(28px, 4vw, 48px); }
.itin-header .section-heading { margin-bottom: 0; max-width: none; }
.itin-grid { max-width: none; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.7vw, 22px); }
.itin-card { border-radius: 16px; background: var(--photo-ph); }           /* solid placeholder: a late photo never leaves a see-through void */
.itin-bg { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; transition: transform .7s var(--ease-out), opacity .7s ease; }
.itin-name { font-size: clamp(18px, 1.6vw, 21px); }
.itin-region { font-size: 11px; }
.itin-days { font-size: 13px; }
@media (max-width: 1100px) { .itin-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .itin-grid { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); -webkit-overflow-scrolling: touch; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 18px; }
  .itin-grid::-webkit-scrollbar { display: none; }
  .itin-card { flex: 0 0 min(76vw, 300px); aspect-ratio: .8; scroll-snap-align: start; }
}
/* photo fade-in: home-animation.js tags only not-yet-loaded card photos .img-fade, then .is-loaded on load/error */
.img-fade:not(.is-loaded) { opacity: 0; }
/* Touch has no hover state: give each card a visible "open" affordance instead of the hover wash */
@media (hover: none) {
  .itin-card::after { content: '→'; position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(8,8,8,.45); border: 1px solid rgba(255,255,255,.35); color: #fff; font-size: 16px; line-height: 1; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
#testimonials { background: var(--ivory-2); }
.testi-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.testi-card { display: flex; flex-direction: column; background: #fff; padding: clamp(26px, 3vw, 40px); border-radius: 20px; box-shadow: 0 2px 24px rgba(0,0,0,.04); }
/* a deliberate opening quotation mark: Playfair, brand orange, soft, sitting tight above the quote */
.testi-quote-mark { font-family: var(--f-display); font-weight: 900; font-size: 88px; line-height: 1; height: 44px; margin: -8px 0 12px -2px; color: var(--orange); opacity: .42; display: block; overflow: visible; }
.testi-text { font-size: 15px; line-height: 1.75; color: var(--black-soft); font-style: italic; flex: 1; }
.testi-author { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.testi-avatar { width: 44px; height: 44px; background: var(--orange-pale); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--orange); flex-shrink: 0; overflow: hidden; }
.testi-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.testi-name { font-size: 14px; font-weight: 700; }
.testi-trip { font-size: 12.5px; color: var(--home-muted); margin-top: 2px; }
.testi-card .travenza-stars { display: block; color: var(--orange); font-size: 14px; letter-spacing: 2px; margin-bottom: 8px; }
.testi-more { text-align: center; font-size: 14px; color: var(--home-muted); margin-top: 28px; }
.testi-more a { color: var(--orange-ink); font-weight: 600; text-decoration: underline; display: inline-block; padding: 12px 0; }
@media (max-width: 900px) {
  .testi-grid { grid-template-columns: 1fr; max-width: 720px; }
  .testi-card { padding: 26px 24px; }
  .testi-quote-mark { font-size: 76px; height: 38px; margin: -8px 0 10px -2px; }
}

/* ============================================================
   CTA — "Your dream trip is 48 hours away."
   Photo panel bleeds off the right edge and fades into the dark-green band
   (desktop); on phones it becomes a band above the copy.
   ============================================================ */
#cta-section { background: var(--dark-green); color: #fff; overflow: hidden; display: flex; align-items: center; min-height: clamp(520px, 64vh, 720px); }
#cta-section::before { content: ''; position: absolute; top: -30%; right: -6%; width: min(60vw, 760px); height: min(60vw, 760px); background: radial-gradient(circle, rgba(213,142,74,.12) 0%, transparent 70%); pointer-events: none; border-radius: 50%; }
.cta-inner { position: relative; z-index: 3; }
.cta-copy { max-width: 900px; }
.has-media .cta-copy { max-width: min(100%, 700px); }
.cta-eyebrow { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,.72); margin-bottom: 20px; }
.has-media .cta-eyebrow { color: rgba(255,255,255,.9); text-shadow: 0 1px 10px rgba(29,74,51,.7); }   /* it can sit on the photo's fade on phones/tablets */
.cta-heading { font-family: var(--f-display); font-size: clamp(38px, 5vw, 72px); font-weight: 900; line-height: 1.12; color: #fff; letter-spacing: -.02em; }
/* two deliberate lines, never a one-word last line: "Your dream trip" / "is 48 hours away." */
.cta-h-l1, .cta-h-rest { display: block; }
.cta-h-rest { white-space: nowrap; }
.cta-heading em { font-style: italic; color: var(--orange-light); }
.cta-sub { font-size: clamp(16px, 1.3vw, 18px); color: rgba(255,255,255,.84); font-weight: 400; margin-top: 24px; max-width: 460px; line-height: 1.6; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px 16px; margin-top: 40px; }
.cta-actions .btn-primary, .cta-actions .btn-outline-light { justify-content: center; min-height: 52px; }

.cta-media { position: absolute; top: 0; right: 0; bottom: 0; width: clamp(420px, 48vw, 1100px); z-index: 1; overflow: hidden; pointer-events: none; }
.cta-media-inner { position: absolute; inset: -6% 0; }
.cta-media-img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 58% 45%; transform-origin: 60% 50%; animation: ctaKen 30s ease-in-out infinite alternate; }
@keyframes ctaKen { from { transform: scale(1.02); } to { transform: scale(1.1); } }
/* green overlay: solid dark-green at the text edge, easing out so the photo reads on the far side */
.cta-media::after { content: ''; position: absolute; inset: 0; z-index: 2; background:
  linear-gradient(90deg, var(--dark-green) 0%, rgba(44,110,73,.9) 12%, rgba(44,110,73,.58) 40%, rgba(44,110,73,.3) 100%),
  linear-gradient(0deg, rgba(29,74,51,.92) 0%, rgba(29,74,51,.4) 16%, rgba(29,74,51,0) 40%); }   /* last stop = the footer's #1d4a33, so the photo dissolves into it instead of ending on a hard edge */

@media (max-width: 899px) {
  #cta-section { flex-direction: column; align-items: stretch; min-height: 0; }
  #cta-section.has-media { padding-top: 0; }
  .cta-media { position: relative; width: 100%; height: clamp(220px, 58vw, 380px); flex: none; }
  .cta-media-inner { inset: 0; }
  .cta-media::after { background: linear-gradient(180deg, rgba(44,110,73,.34) 0%, rgba(44,110,73,.5) 52%, var(--dark-green) 100%); }
  .has-media .cta-inner { margin-top: -22px; }       /* less overlap: the eyebrow starts where the photo has almost faded to solid green */
  .has-media .cta-copy { max-width: none; }
  .cta-heading { font-size: clamp(40px, 7vw, 56px); }
}
/* tablet portrait: the copy is narrower than the band, so centre it under the photo rather than leave the right side blank */
@media (min-width: 561px) and (max-width: 899px) {
  .cta-copy { text-align: center; margin-inline: auto; max-width: 640px; }
  .has-media .cta-copy { max-width: 640px; }
  .cta-sub { margin-inline: auto; max-width: 52ch; }
  .cta-actions { justify-content: center; }
}
@media (max-width: 560px) {
  /* the nowrap line "is 48 hours away." scales with the screen so it always fits (≈7.5em wide) */
  .cta-heading { font-size: clamp(28px, calc((100vw - 2 * var(--gutter)) / 8.1), 46px); }
  .cta-sub { margin-top: 20px; }
  .cta-actions { flex-direction: column; align-items: stretch; max-width: 340px; margin-top: 32px; }
}

/* ============================================================
   EXCLUSIVE PARTNERS (renders only when $partners is populated)
   ============================================================ */
#partners { background: var(--ivory); }
.partners-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; align-items: center; }
.partner-logo-slot { display: flex; align-items: center; justify-content: center; height: 88px; padding: 16px; background: #fff; border: 1px solid var(--gray-light); border-radius: 14px; transition: border-color .3s, transform .3s, box-shadow .3s; }
.partner-logo-slot img { max-width: 100%; max-height: 100%; object-fit: contain; }
a.partner-logo-slot:hover { border-color: var(--orange); transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,.08); }
.partners-coming-soon { font-size: 14px; color: var(--home-muted); font-style: italic; }
@media (max-width: 560px) { .partners-grid { gap: 14px; } }
