@charset "utf-8";
/* ===========================================================================
   Duma Tours & Travels — public site
   ---------------------------------------------------------------------------
   Duma is Swahili for cheetah. The palette comes from that animal's world at
   the hours it hunts: charcoal from a cold campfire, bleached bone, the ochre
   of its coat, acacia in shade, and one rust accent used almost nowhere.

   The signature device is the tear line — the dark stripe running from a
   cheetah's eye to its mouth. Here it is a hairline that drops from section
   eyebrows and from active navigation. It appears once per section and never
   as decoration alone: it always marks where the eye should start.
   ========================================================================= */

:root {
  /* --- Colour ------------------------------------------------------- */
  --char:       #16110E;   /* charcoal, warm not blue */
  --char-lift:  #241C17;   /* raised surface on charcoal */
  --char-line:  #3A2E25;

  --bone:       #F4EFE6;   /* page ground */
  --sand:       #E7DECD;   /* alternating band */
  --sand-line:  #D4C8B2;

  --ochre:      #C2782B;   /* cheetah coat — the one warm signal */
  --ochre-lift: #D89448;
  --acacia:     #5E6A4E;   /* thorn tree in shade */
  --rust:       #9A3B1F;   /* used for one thing per page, at most */

  --ink:        #16110E;
  --ink-soft:   #4A3F36;
  --mist:       #857A6C;   /* captions, meta, disabled */

  /* --- Type --------------------------------------------------------- */
  --display: 'Bodoni Moda', 'Didot', 'Times New Roman', serif;
  --ui:      'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Fluid scale. Clamps mean no breakpoint jumps in headline size. */
  --t-hero:  clamp(2.75rem, 1.2rem + 6.4vw, 7rem);
  --t-h1:    clamp(2.25rem, 1.3rem + 3.8vw, 4.25rem);
  --t-h2:    clamp(1.75rem, 1.2rem + 2.2vw, 2.875rem);
  --t-h3:    clamp(1.3rem,  1.05rem + 1vw,  1.75rem);
  --t-lead:  clamp(1.0625rem, 1rem + 0.5vw, 1.3125rem);
  --t-body:  1.0625rem;
  --t-small: 0.875rem;
  --t-micro: 0.6875rem;   /* eyebrows and labels, always tracked out */

  --track-eyebrow: 0.22em;
  --track-nav:     0.14em;

  /* --- Space -------------------------------------------------------- */
  --s-1: 0.25rem;  --s-2: 0.5rem;   --s-3: 0.75rem;  --s-4: 1rem;
  --s-5: 1.5rem;   --s-6: 2rem;     --s-7: 3rem;     --s-8: 4rem;
  --s-9: 6rem;     --s-10: 8rem;

  --pad-sm: clamp(1.5rem, 3vw, 2.5rem);
  --pad-md: clamp(2.5rem, 5vw, 4.5rem);
  --pad-lg: clamp(4rem, 8vw, 7.5rem);
  --pad-xl: clamp(5.5rem, 11vw, 11rem);

  --gutter: clamp(1.25rem, 4vw, 3.5rem);

  /* --- Measure ------------------------------------------------------ */
  --w-narrow: 46rem;
  --w-normal: 68rem;
  --w-wide:   84rem;

  /* --- Motion ------------------------------------------------------- */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.45s;

  --nav-h: 4.5rem;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 1rem);
}

body {
  font-family: var(--ui);
  font-size: var(--t-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; padding: 0; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------------------------------------------------------------------------
   Typography
   ------------------------------------------------------------------------ */
.display, h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); line-height: 1.2; }

/* The one typographic move: an italic phrase inside a roman headline, which
   Bodoni's high contrast makes land hard. Used for the emphasised idea only. */
.display em, h1 em, h2 em {
  font-style: italic;
  font-weight: 400;
}

.lead {
  font-size: var(--t-lead);
  line-height: 1.55;
  color: var(--ink-soft);
  text-wrap: pretty;
}

/* Eyebrow: small, tracked out, always paired with the tear line. */
.eyebrow {
  font-family: var(--ui);
  font-size: var(--t-micro);
  font-weight: 600;
  letter-spacing: var(--track-eyebrow);
  text-transform: uppercase;
  color: var(--mist);
  display: block;
  position: relative;
  padding-bottom: var(--s-5);
  margin-bottom: var(--s-4);
}

/* --- The tear line ------------------------------------------------------ */
.eyebrow::after {
  content: "";
  position: absolute;
  left: 0;
  top: 1.6em;
  width: 1px;
  height: 0;
  background: var(--ochre);
  animation: tear 0.9s var(--ease-out) forwards;
}

@keyframes tear {
  to { height: 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  .eyebrow::after { height: 1.4rem; animation: none; }
}

.prose p + p { margin-top: 1.15em; }
.prose h2, .prose h3 { margin: 1.8em 0 0.6em; }
.prose ul { margin: 1.15em 0; }
.prose li { padding-left: 1.4em; position: relative; margin-bottom: 0.5em; }
.prose li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.72em;
  width: 0.5rem; height: 1px;
  background: var(--ochre);
}
.prose a {
  text-decoration: underline;
  text-decoration-color: var(--sand-line);
  text-underline-offset: 0.22em;
  transition: text-decoration-color var(--dur) var(--ease);
}
.prose a:hover { text-decoration-color: var(--ochre); }

.prose blockquote {
  font-family: var(--display);
  font-size: var(--t-h3);
  font-style: italic;
  line-height: 1.35;
  padding-left: var(--s-5);
  border-left: 1px solid var(--ochre);
  margin: 1.8em 0;
}

/* ---------------------------------------------------------------------------
   Layout primitives — driven by the block settings schema
   ------------------------------------------------------------------------ */
.blk { position: relative; }
.blk__inner {
  margin-inline: auto;
  padding-inline: var(--gutter);
  width: 100%;
}

.w-narrow > .blk__inner { max-width: var(--w-narrow); }
.w-normal > .blk__inner { max-width: var(--w-normal); }
.w-wide   > .blk__inner { max-width: var(--w-wide); }
.w-full   > .blk__inner { max-width: none; padding-inline: 0; }

.pt-none { padding-top: 0; }
.pt-sm   { padding-top: var(--pad-sm); }
.pt-md   { padding-top: var(--pad-md); }
.pt-lg   { padding-top: var(--pad-lg); }
.pt-xl   { padding-top: var(--pad-xl); }
.pb-none { padding-bottom: 0; }
.pb-sm   { padding-bottom: var(--pad-sm); }
.pb-md   { padding-bottom: var(--pad-md); }
.pb-lg   { padding-bottom: var(--pad-lg); }
.pb-xl   { padding-bottom: var(--pad-xl); }

.surface--bone { background: var(--bone); }
.surface--sand { background: var(--sand); }

.surface--char,
.surface--acacia {
  --ink: var(--bone);
  --ink-soft: rgba(244, 239, 230, 0.78);
  --mist: rgba(244, 239, 230, 0.55);
  --sand-line: rgba(244, 239, 230, 0.2);
  color: var(--bone);
}
.surface--char   { background: var(--char); }
.surface--acacia { background: var(--acacia); }

/* A block that follows one with matching space collapses the pair, so two
   large gaps never stack into a hole. */
.blk + .blk.pt-lg:not(.surface) { padding-top: calc(var(--pad-lg) * 0.6); }
.blk + .blk.pt-xl:not(.surface) { padding-top: calc(var(--pad-xl) * 0.7); }

/* ---------------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  font-family: var(--ui);
  font-size: var(--t-micro);
  font-weight: 600;
  letter-spacing: var(--track-eyebrow);
  text-transform: uppercase;
  padding: 1.05rem 1.9rem;
  border: 1px solid transparent;
  background: none;
  cursor: pointer;
  position: relative;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}

.btn--primary {
  background: var(--ochre);
  color: var(--char);
  border-color: var(--ochre);
}
.btn--primary:hover { background: var(--ochre-lift); border-color: var(--ochre-lift); }

.btn--ghost {
  border-color: currentColor;
  color: inherit;
  opacity: 0.85;
}
.btn--ghost:hover { opacity: 1; background: rgba(194, 120, 43, 0.12); border-color: var(--ochre); }

/* Text link with an arrow that extends on hover — the tear line, horizontal. */
.btn--text {
  padding: 0;
  color: inherit;
}
.btn--text::after {
  content: "";
  width: 1.5rem; height: 1px;
  background: var(--ochre);
  transition: width var(--dur) var(--ease);
}
.btn--text:hover::after { width: 2.75rem; }

/* ---------------------------------------------------------------------------
   Header
   ------------------------------------------------------------------------ */
.site-head {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 900;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding-inline: var(--gutter);
  gap: var(--s-6);
  color: var(--bone);
  transition: background-color var(--dur) var(--ease), backdrop-filter var(--dur) var(--ease);
}
.site-head::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(244,239,230,0.22), transparent);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}
.site-head[data-stuck="true"] {
  background: rgba(22, 17, 14, 0.92);
  backdrop-filter: blur(14px) saturate(1.2);
}
.site-head[data-stuck="true"]::after { opacity: 1; }

.brand {
  font-family: var(--display);
  font-size: 1.375rem;
  letter-spacing: 0.06em;
  line-height: 1;
  margin-right: auto;
}
.brand span {
  display: block;
  font-family: var(--ui);
  font-size: 0.5625rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-top: 0.32rem;
}

.nav { display: flex; align-items: center; gap: var(--s-6); }

.nav__link {
  font-size: var(--t-micro);
  font-weight: 500;
  letter-spacing: var(--track-nav);
  text-transform: uppercase;
  position: relative;
  padding: 0.4rem 0;
  white-space: nowrap;
}
/* Nav tear line: drops down from the label rather than sliding across. */
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; top: 100%;
  width: 1px; height: 0;
  background: var(--ochre);
  transition: height 0.3s var(--ease-out);
}
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { height: 0.6rem; }

.nav__cta { margin-left: var(--s-4); }

/* The header is a fixed 4.5rem. A default .btn is taller than that, so the
   nav variant is tightened rather than letting it overflow the bar. */
.nav .btn {
  padding: 0.72rem 1.35rem;
  font-size: 0.625rem;
  letter-spacing: 0.18em;
}

.nav-toggle { display: none; background: none; border: 0; padding: var(--s-2); cursor: pointer; }

@media (max-width: 60rem) {
  .nav { display: none; }
  .nav-toggle { display: block; }
}

/* ---------------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: var(--bone);
  overflow: hidden;
}

.hero__media { position: absolute; inset: 0; }
.hero__media img,
.hero__media video { width: 100%; height: 100%; object-fit: cover; }

/* Two-stop scrim: dark enough to read against, light enough to see the animal. */
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(22,17,14,0.90) 0%, rgba(22,17,14,0.42) 45%, rgba(22,17,14,0.14) 72%),
    linear-gradient(to right, rgba(22,17,14,0.72) 0%, rgba(22,17,14,0.34) 38%, transparent 68%);
}

.hero__body {
  position: relative;
  padding: var(--gutter);
  padding-bottom: clamp(3.5rem, 9vh, 7rem);
  max-width: var(--w-wide);
  margin-inline: auto;
  width: 100%;
}

.hero__title {
  font-size: var(--t-hero);
  line-height: 0.98;
  letter-spacing: -0.025em;
  max-width: 15ch;
}

.hero__lead {
  margin-top: var(--s-5);
  max-width: 42ch;
  color: rgba(244, 239, 230, 0.82);
  font-size: var(--t-lead);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
  margin-top: var(--s-7);
}

.hero .eyebrow { color: rgba(244, 239, 230, 0.65); }

/* Page-load sequence: the hero settles rather than fading in wholesale. */
.hero [data-rise] {
  opacity: 0;
  transform: translateY(1.25rem);
  animation: rise 1s var(--ease-out) forwards;
}
.hero [data-rise="1"] { animation-delay: 0.15s; }
.hero [data-rise="2"] { animation-delay: 0.3s; }
.hero [data-rise="3"] { animation-delay: 0.45s; }
.hero [data-rise="4"] { animation-delay: 0.6s; }

@keyframes rise {
  to { opacity: 1; transform: none; }
}

@media (max-width: 40rem) {
  .hero__actions,
  .cta__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn,
  .cta__actions .btn { justify-content: center; }
  .figures { grid-template-columns: repeat(2, 1fr); }
}

/* ---------------------------------------------------------------------------
   Section heading
   ------------------------------------------------------------------------ */
.sec-head { max-width: 52rem; margin-bottom: var(--s-8); }
.sec-head__title { font-size: var(--t-h2); }
.sec-head__lead { margin-top: var(--s-4); }

/* ---------------------------------------------------------------------------
   Split: image beside text, alternating
   ------------------------------------------------------------------------ */
.split {
  display: grid;
  gap: clamp(var(--s-6), 5vw, var(--s-9));
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 52rem) {
  .split { grid-template-columns: 1fr 1fr; }
  .split[data-flip="true"] .split__media { order: 2; }
}

.split__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }

.split__caption {
  font-size: var(--t-small);
  color: var(--mist);
  margin-top: var(--s-3);
}

/* ---------------------------------------------------------------------------
   Destination rail — horizontal scroll on every viewport, deliberately.
   Browsing places is a lateral act, and it keeps phone parity with desktop.
   ------------------------------------------------------------------------ */
.rail {
  --rail-pad: max(var(--gutter), calc((100vw - var(--w-wide)) / 2 + var(--gutter)));
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(15rem, 22rem);
  gap: var(--s-5);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  /* Start flush with the text column above, not the viewport edge, so the
     rail reads as part of the section. The trailing pseudo-element restores
     the end padding that flex/grid overflow containers drop. */
  padding-inline: var(--rail-pad);
  /* Without a matching scroll-padding, mandatory snapping pulls the first
     card flush to the scrollport edge and silently cancels the padding above. */
  scroll-padding-inline: var(--rail-pad);
  padding-bottom: var(--s-4);
  scrollbar-width: thin;
  scrollbar-color: var(--sand-line) transparent;
}
.rail::-webkit-scrollbar { height: 3px; }
.rail::-webkit-scrollbar-thumb { background: var(--sand-line); }

.rail > * { scroll-snap-align: start; }

.rail::after {
  content: "";
  width: calc(var(--rail-pad) - var(--s-5));
  min-width: 1px;
}

.place {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--char);
}
.place img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out), filter var(--dur) var(--ease);
  filter: saturate(0.92);
}
.place:hover img { transform: scale(1.05); filter: saturate(1); }

.place::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(to top,
      rgba(22,17,14,0.94) 0%,
      rgba(22,17,14,0.80) 22%,
      rgba(22,17,14,0.30) 52%,
      rgba(22,17,14,0.04) 78%);
}

.place__body {
  position: absolute;
  inset: auto 0 0 0;
  padding: var(--s-5);
  color: var(--bone);
  z-index: 1;
}
.place__name { font-family: var(--display); font-size: 1.5rem; line-height: 1.1; }
.place__note {
  font-size: var(--t-small);
  color: rgba(244,239,230,0.72);
  margin-top: var(--s-2);
  max-width: 28ch;
}
.place__when {
  font-size: var(--t-micro);
  letter-spacing: var(--track-eyebrow);
  text-transform: uppercase;
  color: var(--ochre);
  margin-top: var(--s-3);
}

/* ---------------------------------------------------------------------------
   Card grid
   ------------------------------------------------------------------------ */
.grid {
  display: grid;
  gap: clamp(var(--s-5), 3vw, var(--s-7));
  grid-template-columns: repeat(auto-fit, minmax(min(17rem, 100%), 1fr));
}

.card { display: flex; flex-direction: column; gap: var(--s-4); }
.card__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--sand); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__title { font-family: var(--display); font-size: var(--t-h3); }
.card__text { color: var(--ink-soft); font-size: var(--t-small); }

.card__meta {
  display: flex;
  gap: var(--s-4);
  font-size: var(--t-micro);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mist);
}

/* ---------------------------------------------------------------------------
   Pull quote
   ------------------------------------------------------------------------ */
.quote { text-align: center; max-width: 40rem; margin-inline: auto; }
.quote__text {
  font-family: var(--display);
  font-size: var(--t-h2);
  font-style: italic;
  line-height: 1.24;
  text-wrap: balance;
}
.quote__by {
  margin-top: var(--s-6);
  font-size: var(--t-micro);
  letter-spacing: var(--track-eyebrow);
  text-transform: uppercase;
  color: var(--mist);
}

/* ---------------------------------------------------------------------------
   Figures — the count of something real, not a vanity metric
   ------------------------------------------------------------------------ */
.figures {
  display: grid;
  gap: var(--s-6);
  grid-template-columns: repeat(auto-fit, minmax(min(11rem, 100%), 1fr));
}
.figure__value {
  font-family: var(--display);
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
  font-size: clamp(2.5rem, 1.5rem + 3vw, 4rem);
  line-height: 1;
}
.figure__label {
  margin-top: var(--s-3);
  font-size: var(--t-small);
  color: var(--ink-soft);
  max-width: 22ch;
}

/* ---------------------------------------------------------------------------
   Call to action band
   ------------------------------------------------------------------------ */
.cta { text-align: center; max-width: 44rem; margin-inline: auto; }
.cta__title { font-size: var(--t-h1); }
.cta__lead { margin-top: var(--s-5); }
.cta__actions {
  margin-top: var(--s-7);
  display: flex;
  gap: var(--s-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------ */
.site-foot {
  background: var(--char);
  color: var(--bone);
  padding: var(--pad-lg) var(--gutter) var(--s-6);
}
.site-foot__grid {
  max-width: var(--w-wide);
  margin-inline: auto;
  display: grid;
  gap: var(--s-8);
  grid-template-columns: repeat(auto-fit, minmax(min(13rem, 100%), 1fr));
}
.site-foot h4 {
  font-family: var(--ui);
  font-size: var(--t-micro);
  font-weight: 600;
  letter-spacing: var(--track-eyebrow);
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: var(--s-5);
}
.site-foot li { margin-bottom: var(--s-3); }
.site-foot a { color: rgba(244,239,230,0.75); transition: color var(--dur) var(--ease); }
.site-foot a:hover { color: var(--bone); }

.site-foot__base {
  max-width: var(--w-wide);
  margin: var(--s-8) auto 0;
  padding-top: var(--s-5);
  border-top: 1px solid var(--char-line);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
  justify-content: space-between;
  font-size: var(--t-small);
  color: rgba(244,239,230,0.5);
}

/* ---------------------------------------------------------------------------
   Scroll reveal — one shared observer, applied sparingly
   ------------------------------------------------------------------------ */
[data-reveal] {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
}
[data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
  .hero [data-rise] { opacity: 1; transform: none; animation: none; }
}

/* ---------------------------------------------------------------------------
   Editor-only
   ------------------------------------------------------------------------ */
.blk-error {
  border: 1px dashed var(--rust);
  background: rgba(154, 59, 31, 0.06);
  padding: var(--s-5);
  font-family: var(--ui);
  font-size: var(--t-small);
  color: var(--rust);
}

.img--empty {
  background: repeating-linear-gradient(45deg, var(--sand) 0 8px, var(--bone) 8px 16px);
  aspect-ratio: 3 / 2;
}

.skip-link {
  position: absolute;
  left: var(--s-4); top: var(--s-4);
  transform: translateY(-200%);
  background: var(--ochre);
  color: var(--char);
  padding: var(--s-3) var(--s-5);
  z-index: 1000;
  font-size: var(--t-micro);
  letter-spacing: var(--track-eyebrow);
  text-transform: uppercase;
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: none; }

/* ---------------------------------------------------------------------------
   Gallery
   ---------------------------------------------------------------------------
   Safari sells on photographs, so a portrait is allowed to stay a portrait
   rather than being cropped square to keep a grid tidy.
   ------------------------------------------------------------------------ */
.gal {
  display: grid;
  gap: var(--s-3);
  grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr));
  grid-auto-rows: 14rem;
}
.gal__item { margin: 0; overflow: hidden; position: relative; background: var(--sand); }
.gal__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.gal__item:hover img { transform: scale(1.04); }
.gal__item figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 2rem var(--s-4) var(--s-3);
  background: linear-gradient(to top, rgba(22,17,14,.85), transparent);
  color: var(--bone); font-size: var(--t-small);
}

@media (min-width: 46rem) {
  .gal--mosaic .gal__item--wide { grid-column: span 2; }
  .gal--mosaic .gal__item--tall { grid-row: span 2; }
}
.gal--even { grid-auto-rows: 13rem; }
.gal--strip {
  grid-auto-flow: column;
  grid-auto-columns: minmax(15rem, 1fr);
  grid-template-columns: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}
.gal--strip .gal__item { scroll-snap-align: start; }
.gal__caption { margin-top: var(--s-4); font-size: var(--t-small); color: var(--mist); }

/* ---------------------------------------------------------------------------
   Questions
   ------------------------------------------------------------------------ */
.faq { max-width: var(--w-narrow); }
.faq__item { border-bottom: 1px solid var(--sand-line); }
.faq__q {
  padding: var(--s-5) 2rem var(--s-5) 0;
  font-family: var(--display);
  font-size: var(--t-h3);
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
  position: relative;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: "";
  position: absolute; right: .25rem; top: 50%;
  width: .75rem; height: 1px;
  background: var(--ochre);
  transition: transform .3s var(--ease);
}
.faq__q::before {
  content: "";
  position: absolute; right: .25rem; top: 50%;
  width: .75rem; height: 1px;
  background: var(--ochre);
  transform: rotate(90deg);
  transition: opacity .3s var(--ease);
}
.faq__item[open] .faq__q::before { opacity: 0; }
.faq__a { padding-bottom: var(--s-5); max-width: 60ch; }

/* ---------------------------------------------------------------------------
   Cards
   ------------------------------------------------------------------------ */
.cards {
  display: grid;
  gap: clamp(var(--s-5), 3vw, var(--s-7));
  grid-template-columns: repeat(auto-fit, minmax(min(17rem, 100%), 1fr));
}
@media (min-width: 60rem) {
  .cards { grid-template-columns: repeat(var(--cols, 3), 1fr); }
}

.cards__card { display: flex; flex-direction: column; gap: var(--s-4); }
a.cards__card:hover .cards__title { color: var(--ochre); }
a.cards__card:hover .cards__media img { transform: scale(1.05); }

.cards__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--sand); }
.cards__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }

.cards__eyebrow {
  font-size: var(--t-micro); letter-spacing: var(--track-eyebrow);
  text-transform: uppercase; color: var(--mist); display: block; margin-bottom: var(--s-2);
}
.cards__title {
  font-family: var(--display); font-size: var(--t-h3); line-height: 1.2;
  transition: color var(--dur) var(--ease);
}
.cards__text { font-size: var(--t-small); color: var(--ink-soft); line-height: 1.6; margin-top: var(--s-2); }
.cards__meta {
  margin-top: var(--s-3); font-size: var(--t-micro);
  letter-spacing: .1em; text-transform: uppercase; color: var(--ochre);
}

/* Text over the photograph, for a shorter, more dramatic card. */
.cards--overlay .cards__card { position: relative; aspect-ratio: 3 / 4; }
.cards--overlay .cards__media { position: absolute; inset: 0; aspect-ratio: auto; }
.cards--overlay .cards__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(22,17,14,.9), rgba(22,17,14,.05) 60%);
}
.cards--overlay .cards__body {
  position: relative; z-index: 1; margin-top: auto; padding: var(--s-5); color: var(--bone);
}
.cards--overlay .cards__text { color: rgba(244,239,230,.78); }

/* ---------------------------------------------------------------------------
   Itinerary — the same rail as the proposal, so website and quote agree
   ------------------------------------------------------------------------ */
.itin { max-width: var(--w-narrow); }
.itin__day { display: grid; grid-template-columns: 2.75rem 1fr; gap: var(--s-4); }
.itin__rail { position: relative; display: flex; justify-content: center; }
.itin__rail::before {
  content: ""; position: absolute; top: 0; bottom: 0; width: 1px; background: var(--sand-line);
}
.itin__day:first-child .itin__rail::before { top: 1.4rem; }
.itin__day:last-child .itin__rail::before { bottom: calc(100% - 1.4rem); }
.itin__n {
  position: relative; z-index: 1;
  width: 2rem; height: 2rem; margin-top: .4rem;
  border-radius: 50%; background: var(--bone);
  border: 1px solid var(--sand-line);
  display: grid; place-items: center;
  font-size: var(--t-small);
  font-variant-numeric: lining-nums;
  color: var(--ink-soft);
}
.itin__body { padding-bottom: var(--s-8); min-width: 0; }
.itin__where {
  font-size: var(--t-micro); letter-spacing: var(--track-eyebrow);
  text-transform: uppercase; color: var(--ochre); margin-top: .8rem;
}
.itin__title { font-family: var(--display); font-size: var(--t-h3); margin-top: .2rem; }
.itin__img { margin-top: var(--s-4); aspect-ratio: 3 / 2; overflow: hidden; }
.itin__img img { width: 100%; height: 100%; object-fit: cover; }
.itin__text { margin-top: var(--s-4); color: var(--ink-soft); line-height: 1.65; }
.itin__stay {
  margin-top: var(--s-3); padding: var(--s-3) var(--s-4);
  background: var(--white); border: 1px solid var(--sand-line);
  font-size: var(--t-small);
}

/* ---------------------------------------------------------------------------
   Photo band
   ------------------------------------------------------------------------ */
.band { position: relative; overflow: hidden; }
.band--short { height: clamp(16rem, 38vh, 26rem); }
.band--tall  { height: clamp(24rem, 66vh, 40rem); }
.band img { width: 100%; height: 100%; object-fit: cover; }
.band::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(22,17,14,.6), rgba(22,17,14,.1));
}
.band__text {
  position: absolute; inset: auto 0 0 0; z-index: 1;
  padding: var(--gutter);
  max-width: var(--w-wide); margin-inline: auto;
  font-family: var(--display);
  font-size: var(--t-h2);
  line-height: 1.15;
  color: var(--bone);
  text-wrap: balance;
}
