/* ============================================================
   EXPERIENCES PAGE
   Card carousel: 4 across on desktop (all visible, controls hidden), 3 on tablet landscape,
   ~2 on tablet portrait, 1 + peek of the next card on phones (swipe, with arrows + 44px dots).
   Breakpoints: 1100 · 820 · 560 · 400
   ============================================================ */
:root {
  --ink-muted: #66665f;                 /* secondary copy on ivory, 5.3:1 */
  --card-fallback: linear-gradient(160deg, #2c6e49 0%, #1f3d2e 55%, #151a17 100%); /* shown if a photo fails to load */
}

/* ——— Reveal robustness ——— */
html:not(.js) .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; } }

/* ——— Hero ——— */
#hero { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: var(--ivory);
  min-height: min(60vh, 600px);
  padding: calc(var(--nav-h) + clamp(36px, 7vw, 88px)) var(--gutter) clamp(32px, 4.5vw, 56px); }
.hero-inner { position: relative; z-index: 2; width: 100%; max-width: 920px; }
.hero-eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: 3px; color: var(--orange); font-weight: 600; margin-bottom: 20px; display: block; }
.hero-title { font-family: var(--f-display); font-size: clamp(44px, 9vw, 120px); font-weight: 900; line-height: 1.1; letter-spacing: -.025em; color: var(--black); margin-bottom: 20px; }
.hero-title em { color: var(--orange); font-style: italic; }
.hero-sub { font-size: 16px; color: var(--ink-muted); max-width: 560px; margin: 0 auto 40px; line-height: 1.6; font-weight: 300; text-wrap: balance; }
@media (max-width: 560px) {
  .hero-eyebrow { letter-spacing: 2.5px; margin-bottom: 16px; }
  .hero-title { margin-bottom: 16px; }
  .hero-sub { font-size: 15px; font-weight: 400; margin-bottom: 28px; }
}

/* ——— Experience card carousel ——— */
.exp-section { padding: clamp(28px, 4vw, 48px) var(--gutter) clamp(52px, 7vw, 88px); background: var(--ivory); display: block; min-height: 0; }
.exp-wrap { max-width: var(--container); margin-inline: auto; }

.exp-slider { --per-view: 4; --gap: 20px; display: flex; gap: var(--gap); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch;
  padding: 10px 4px 30px; margin: -10px -4px -30px; }   /* room inside the scroller for the hover lift and the card shadow (overflow would clip both) */
.exp-slider:focus-visible { outline-offset: 6px; border-radius: 20px; }
@media (max-width: 1100px) { .exp-slider { --per-view: 3; } }
@media (max-width: 820px)  { .exp-slider { --per-view: 2.15; } }
@media (max-width: 560px)  {
  .exp-slider { --per-view: 1.18; --gap: 14px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
}

.exp-card { flex: 0 0 calc((100% - (var(--per-view) - 1) * var(--gap)) / var(--per-view)); min-width: 0; scroll-snap-align: start;
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 4/5; min-height: 360px;
  border-radius: 20px; overflow: hidden; overflow: clip; isolation: isolate; background: var(--card-fallback);
  text-decoration: none; color: #fff; -webkit-tap-highlight-color: transparent; transition: transform .4s var(--ease-out), box-shadow .4s;
  box-shadow: 0 10px 26px -8px rgba(26,26,26,.2); }
/* pale photos (white sky, haze) must not dissolve into the ivory page: a hairline ring keeps the edge and corners readable */
.exp-card::after { content: ''; position: absolute; inset: 0; z-index: 3; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(26,26,26,.14); pointer-events: none; }
.exp-card:focus-visible { outline-offset: 4px; border-radius: 20px; }
.exp-card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.exp-card-img.img-failed { display: none; }
.exp-card-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(8,8,8,.2) 0, rgba(8,8,8,0) 24%), var(--scrim-card); }
/* text block is in flow (the card grows to fit it) with its own scrim, so the title is readable on any photo */
.exp-card-content { position: relative; z-index: 2; padding: 104px clamp(20px, 2.2vw, 26px) clamp(20px, 2.2vw, 26px);
  background: linear-gradient(to top, rgba(8,8,8,.88) 0, rgba(8,8,8,.68) calc(100% - 104px), rgba(8,8,8,0) 100%);
  text-shadow: 0 1px 10px rgba(0,0,0,.45); }
.exp-card-tag { font-size: 11px; color: var(--orange-light); text-transform: uppercase; letter-spacing: 2.5px; font-weight: 700; margin-bottom: 8px; display: block; }
.exp-card-name { font-family: var(--f-display); font-size: clamp(25px, 2.5vw, 32px); font-weight: 900; line-height: 1.12; margin-bottom: 14px; color: #fff; text-wrap: balance; }
.exp-card-btn { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--orange-light); white-space: nowrap; transition: gap .25s, color .25s; }
@media (hover: hover) {
  .exp-card:hover { transform: translateY(-6px); box-shadow: 0 20px 36px -10px rgba(0,0,0,.28); }
  .exp-card:hover .exp-card-img { transform: scale(1.06); }
  .exp-card:hover .exp-card-btn { gap: 10px; color: #fff; }
}
@media (hover: none) { .exp-card:active { transform: scale(.985); } }
@media (max-width: 560px) { .exp-card { min-height: 400px; aspect-ratio: 4/5; border-radius: 18px; } }
.exp-card.reveal.visible { transition: transform .4s var(--ease-out), box-shadow .4s; transition-delay: 0s !important; animation: expCardRise .7s var(--ease-out) var(--rd, 0s) backwards; }
@keyframes expCardRise { from { opacity: 0; transform: translateY(28px); } }

/* carousel controls (hidden by JS when every card already fits) */
.exp-controls { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 24px; }
.exp-controls[hidden] { display: none; }
.exp-arrow { width: 44px; height: 44px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 1.5px solid rgba(26,26,26,.2); background: #fff; color: var(--black); cursor: pointer; transition: border-color .2s, color .2s, opacity .2s; }
.exp-arrow[aria-disabled="true"] { opacity: .35; pointer-events: none; }
@media (hover: hover) { .exp-arrow:hover { border-color: var(--orange); color: var(--orange); } }
.exp-dots { display: flex; align-items: center; }
.exp-dot { position: relative; width: 40px; height: 44px; padding: 0; border: none; background: none; cursor: pointer; }
.exp-dot::before { content: ''; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: rgba(26,26,26,.25); transition: background .3s, transform .3s; }
.exp-dot.active::before { background: var(--orange); transform: scale(1.4); }

.exp-more { text-align: center; padding-top: clamp(28px, 4vw, 48px); }
.exp-more-btn { min-height: 48px; justify-content: center; padding: 13px 36px; font-weight: 600; background: transparent; }
@media (max-width: 560px) { .exp-more-btn { width: 100%; } }

/* ——— Why travel with us ——— */
.why-section { padding: var(--section-y) var(--gutter); background: var(--ivory-2); }
.why-container { max-width: 1080px; margin: 0 auto; }
.why-section .section-label { text-align: center; }
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 32px); margin-top: 40px; }
.why-item { text-align: center; }
.why-icon { width: 64px; height: 64px; flex: 0 0 auto; background: var(--orange-pale); color: var(--orange); border-radius: 50%; margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; }
.why-title { font-family: var(--f-display); font-size: 20px; font-weight: 700; line-height: 1.25; margin-bottom: 10px; }
.why-desc { font-size: 15px; color: var(--ink-muted); line-height: 1.6; max-width: 320px; margin-inline: auto; text-wrap: pretty; }
@media (max-width: 820px) {
  .why-section .section-label { text-align: left; }
  .why-grid { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 12px; }
  .why-item { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; align-items: start; text-align: left; padding: 22px 0; border-bottom: 1px solid var(--ivory-3); }
  .why-item:last-child { border-bottom: none; }
  .why-icon { width: 56px; height: 56px; margin: 0; }
  .why-title { margin-bottom: 6px; }
  .why-desc { max-width: none; margin: 0; }
}

/* ——— Enquiry strip (shared component; text contrast raised for this page) ——— */
.enquiry-strip p { color: rgba(255,255,255,.84); max-width: 560px; margin-inline: auto; text-wrap: balance; }
.enquiry-strip h2 { line-height: 1.12; }
@media (max-width: 560px) { .enquiry-strip p { font-size: 15px; margin-bottom: 28px; } }
