/* Tanzania Golf — site styles
   Layout idea: generous ivory pages, photography carries the emotion, serif headlines
   with an italic second line, forest green for structure, cognac as the only accent.
   Palette and fonts come from the validated moodboard (do not change without Thomas). */

:root {
  --forest: #18382D;
  --forest-deep: #0F2A20;
  --ivory: #F5F2E9;
  --ivory-soft: #EFEBE0;
  --sand: #D8C8AA;
  --cognac: #A56F32;
  --cognac-text: #8A5A26; /* same hue, darker: readable for small text (5.2:1 on ivory) */
  --ink: #292A25;
  --muted: #5B6158;
  --line: rgba(24, 56, 45, 0.16);
  --on-photo: #FBF9F3;

  --serif: "Old Standard TT", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 88px);
  --max: 1280px;
  --header-h: 88px;
  --radius: 10px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--forest); margin: 0; text-wrap: balance; line-height: 1.08; letter-spacing: -0.005em; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.5rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.65rem); line-height: 1.2; }
h1 em, h2 em, h3 em { font-style: italic; }
p { margin: 0; }

.container {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.section { padding-block: clamp(80px, 11vw, 150px); }

.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--forest); margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: var(--cognac); }
.lead { font-size: 1.06rem; color: var(--muted); max-width: 34em; margin-top: 26px; }
.section-intro { color: var(--muted); margin-top: 20px; max-width: 32em; }
.caption { margin-top: 14px; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--forest); color: var(--ivory); padding: 10px 16px; border-radius: 6px; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--cognac); outline-offset: 3px; border-radius: 4px; }

/* ---------- Links & buttons ---------- */
.text-link {
  display: inline-block; text-decoration: none; color: var(--forest);
  padding-bottom: 6px; position: relative; font-size: 0.98rem;
  transition: transform 0.35s var(--ease), color 0.25s;
}
.text-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform-origin: left; transition: transform 0.45s var(--ease);
}
.text-link--light { color: var(--on-photo); }
.button {
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--forest); color: var(--ivory); text-decoration: none;
  padding: 17px 28px; border-radius: 8px; font-size: 0.98rem; font-weight: 400;
  transition: transform 0.35s var(--ease), background 0.25s, box-shadow 0.35s var(--ease);
}
.button .icon { width: 20px; height: 20px; transition: transform 0.35s var(--ease); }
.icon { width: 22px; height: 22px; flex: none; }

.glass {
  background: rgba(245, 242, 233, 0.62);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  backdrop-filter: blur(12px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: var(--forest);
}
.round {
  width: 46px; height: 46px; border-radius: 50%;
  display: inline-grid; place-items: center; cursor: pointer; padding: 0;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.round[disabled] { opacity: 0.35; cursor: default; }

/* Clickable things grow a touch under the pointer (validated 17 Oct). */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .button:hover { transform: scale(1.035); box-shadow: 0 10px 24px -14px rgba(15, 42, 32, 0.6); }
  .button:hover .icon { transform: translateX(3px); }
  .text-link:hover { transform: scale(1.04); }
  .text-link:hover::after { transform: scaleX(0.55); }
  .round:not([disabled]):hover { transform: scale(1.08); }
  .nav-desktop a:hover { transform: scale(1.05); }
  .brand:hover { transform: scale(1.03); }
  .footer-links a:hover, .footer-quiet:hover { transform: scale(1.05); }
}
@media (hover: none) {
  .button:active, .round:active, .tile:active { transform: scale(0.98); }
}

/* ---------- Header ---------- */
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--ivory);
}
.announce {
  position: relative; display: flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 8px 56px; background: var(--forest); color: var(--ivory);
  font-size: 0.86rem; line-height: 1.45; text-align: center; letter-spacing: 0.01em;
}
.announce p { margin: 0; max-width: 60em; }
.announce-close {
  position: absolute; right: max(8px, env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 0; color: var(--ivory); cursor: pointer; opacity: 0.8; transition: opacity 0.2s, transform 0.2s var(--ease);
}
.announce-close:hover { opacity: 1; transform: translateY(-50%) scale(1.08); }
.announce-close svg { width: 16px; height: 16px; }
@media (max-width: 760px) { .announce { font-size: 0.8rem; padding: 8px 48px 8px 20px; text-align: left; justify-content: flex-start; } }
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(245, 242, 233, 0.94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner {
  height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px;
  max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
/* One logo geometry shared by the header and the hero, so the hero logo can glide
   into the header (validated 17 Oct): mark height = --logo-h, wordmark = 2.63 × --logo-h. */
.logo-stack { display: flex; flex-direction: column; align-items: center; gap: calc(var(--logo-h) * 0.14); }
.logo-stack img:first-child { height: var(--logo-h); width: auto; }
.logo-stack img:last-child { width: calc(var(--logo-h) * 2.63); height: auto; }
.brand { --logo-h: 38px; text-decoration: none; transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
/* Home: the header logo waits until the hero logo has glided into place. */
.page-home .site-header:not(.show-brand) .brand { opacity: 0; pointer-events: none; }
.logo-fly .page-home .site-header .brand { transition: transform 0.5s var(--ease); }

.nav-desktop { display: flex; align-items: center; gap: clamp(22px, 3vw, 44px); }
.nav-desktop a {
  text-decoration: none; font-size: 0.96rem; color: var(--forest); position: relative;
  padding-block: 6px; display: inline-block; transition: transform 0.3s var(--ease);
}
.nav-desktop a[aria-current="page"]:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--cognac);
}
.nav-desktop .nav-cta { border: 1px solid rgba(24, 56, 45, 0.35); border-radius: 8px; padding: 11px 22px; }
.nav-mobile { display: none; align-items: center; gap: 22px; }
.mobile-enquire { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--forest); font-size: 0.95rem; }
.mobile-enquire .icon { width: 18px; height: 18px; }
.menu-button { background: none; border: 0; padding: 8px 0; font: inherit; font-size: 0.95rem; color: var(--forest); cursor: pointer; }

/* Drawer (mobile menu from the right, validated) */
.drawer-scrim {
  position: fixed; inset: 0; z-index: 70; background: rgba(14, 41, 30, 0.38);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  opacity: 0; transition: opacity 0.35s var(--ease);
}
.drawer-scrim.is-open { opacity: 1; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 80;
  width: min(86vw, 390px); background: var(--ivory);
  padding: calc(28px + env(safe-area-inset-top, 0px)) max(28px, env(safe-area-inset-right, 0px)) calc(28px + env(safe-area-inset-bottom, 0px)) 28px;
  display: flex; flex-direction: column;
  transform: translateX(104%); transition: transform 0.5s var(--ease-out);
  box-shadow: -24px 0 60px -30px rgba(15, 42, 32, 0.45);
}
.drawer.is-open { transform: none; }
.drawer-close {
  align-self: flex-end; display: inline-flex; align-items: center; gap: 8px;
  border-radius: 999px; padding: 9px 16px; font: inherit; font-size: 0.88rem; cursor: pointer;
}
.drawer-close .icon { width: 16px; height: 16px; }
.drawer-label { font-family: var(--serif); letter-spacing: 0.14em; text-transform: uppercase; color: var(--forest); margin-top: 26px; font-size: 0.95rem; }
.drawer-links { display: flex; flex-direction: column; margin-top: auto; }
.drawer-links a {
  text-decoration: none; text-align: right; font-family: var(--serif); font-size: 1.9rem; color: var(--forest);
  padding: 14px 0; border-bottom: 1px solid var(--line); position: relative;
}
.drawer-links a[aria-current="page"]::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--cognac);
}
.drawer-links .nav-cta {
  margin-top: 24px; border: 0; background: var(--forest); color: var(--ivory); border-radius: 8px;
  text-align: center; font-family: var(--sans); font-size: 1rem; padding: 16px;
}
.drawer-links .nav-cta::before { display: none; }
.drawer-note { margin-top: 18px; text-align: right; font-size: 0.82rem; color: var(--muted); }

/* ---------- Hero ---------- */
.hero {
  position: relative; display: grid;
  min-height: clamp(560px, 86svh, 920px);
  color: var(--on-photo); overflow: hidden; isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10, 30, 22, 0.32) 0%, rgba(10, 30, 22, 0) 30%),
    linear-gradient(0deg, rgba(10, 30, 22, 0.62) 0%, rgba(10, 30, 22, 0.12) 46%, rgba(10, 30, 22, 0) 62%);
}
.hero-signature {
  --logo-h: clamp(64px, 9vw, 100px);
  position: absolute; z-index: 5; left: 50%; transform: translateX(-50%);
  top: calc(env(safe-area-inset-top, 0px) + var(--header-h) + clamp(28px, 6vh, 64px));
}
.sig-ivory img { filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.22)); }
.sig-forest { position: absolute; inset: 0; opacity: 0; }
/* With JavaScript the hero logo is lifted out of the photo and steered by site.js. */
.logo-fly .hero-signature { position: fixed; top: 0; left: 0; visibility: hidden; z-index: 55; transform-origin: 0 0; will-change: transform; }
.hero-copy {
  align-self: end; width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
  padding-bottom: clamp(56px, 9vh, 96px);
}
.hero h1 { color: var(--on-photo); font-size: clamp(2.8rem, 6.4vw, 5.6rem); line-height: 1.02; }
.hero h1 .h-line { display: block; }
.hero-tagline { margin-top: 22px; font-size: 1rem; opacity: 0.92; }
.hero-audience { margin-top: 8px; font-size: 0.86rem; opacity: 0.8; max-width: 34em; }
.hero-link { margin-top: 30px; }
.hero-location {
  position: absolute; right: max(var(--gutter), env(safe-area-inset-right, 0px)); bottom: clamp(24px, 4vh, 40px);
  font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.85;
}

/* ---------- Dolly ---------- */
.dolly-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.dolly-figure { margin: 0; min-width: 0; }
.img-frame { overflow: hidden; border-radius: var(--radius); }
.img-frame img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }

/* ---------- Section heads ---------- */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head > div { min-width: 0; }

/* ---------- Journey tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.tile {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius);
  color: var(--on-photo); text-decoration: none; isolation: isolate;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.tile-media { position: relative; z-index: -1; }
.tile-media img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; transition: transform 1.1s var(--ease); }
.tile::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(10, 30, 22, 0.7) 0%, rgba(10, 30, 22, 0.18) 42%, rgba(10, 30, 22, 0) 62%);
}
.tile-copy { position: absolute; left: 26px; right: 90px; bottom: 24px; }
.tile-duration { font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.9; margin-bottom: 8px; }
.tile h3 { color: var(--on-photo); font-size: clamp(1.45rem, 2.4vw, 2rem); }
.tile-arrow {
  position: absolute; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; transition: transform 0.45s var(--ease), background 0.3s;
}
.tile-arrow .icon { width: 20px; height: 20px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .tile:hover { transform: scale(1.015); box-shadow: 0 26px 50px -30px rgba(15, 42, 32, 0.55); }
  .tile:hover .tile-media img { transform: scale(1.05); }
  .tile:hover .tile-arrow { transform: translateX(4px); background: rgba(245, 242, 233, 0.9); }
}
.carousel-controls { display: none; }

/* ---------- Booking trail (validated 17 Oct: a line that draws itself) ---------- */
.trail-wrap { position: relative; --dot: 58px; --gap: clamp(20px, 3vw, 44px); }
.trail { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); position: relative; }
.trail-line {
  position: absolute; top: calc(var(--dot) / 2); left: calc(var(--dot) / 2); right: calc((100% - 3 * var(--gap)) / 4 - var(--dot) / 2);
  height: 1px; background: var(--line);
}
.trail-progress { position: absolute; inset: 0; background: var(--cognac); transform-origin: left; }
.trail-step { position: relative; display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.trail-dot {
  width: var(--dot); height: var(--dot); border-radius: 50%; display: grid; place-items: center;
  background: var(--ivory); border: 1px solid rgba(24, 56, 45, 0.28); color: var(--forest); position: relative; z-index: 1;
}
.trail-num { font-size: 0.72rem; letter-spacing: 0.2em; color: var(--cognac-text); display: block; margin-bottom: 10px; }
.trail-text h3 { margin-bottom: 12px; }
.trail-text p { color: var(--muted); font-size: 0.97rem; max-width: 22em; }
.booking-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 36px; margin-top: clamp(56px, 7vw, 88px); }


/* ================= Inner pages ================= */
.section-tight { padding-block: clamp(24px, 4vw, 56px) clamp(72px, 9vw, 120px); }
.page-head { padding-block: clamp(56px, 8vw, 112px) clamp(32px, 4vw, 56px); }
.page-head-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: clamp(28px, 6vw, 96px); align-items: end; }
.page-head h1 { font-size: clamp(2.8rem, 6vw, 5.2rem); line-height: 1.02; }
.page-head h1 em { font-style: italic; }
.page-intro { color: var(--muted); font-size: 1.04rem; max-width: 28em; padding-bottom: 10px; }

/* Closing invitation (quiet, no coloured band) */
.closing { padding-block: clamp(64px, 9vw, 120px); }
.closing-inner { display: flex; justify-content: space-between; align-items: center; gap: 28px 48px; flex-wrap: wrap; padding-top: clamp(48px, 6vw, 72px); border-top: 1px solid var(--line); }
.closing h2 { font-size: clamp(2rem, 4vw, 3.2rem); }

/* ---------- Journeys grid ---------- */
.jgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 4vw, 56px) clamp(20px, 2.4vw, 36px); }
.jcard { display: flex; flex-direction: column; min-width: 0; scroll-margin-top: calc(var(--header-h) + 24px); }
.jcard-media { display: block; padding: 0; border: 0; background: none; cursor: pointer; border-radius: var(--radius); overflow: hidden; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.jcard-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.1s var(--ease); }
.jcard-body { display: flex; flex-direction: column; gap: 12px; padding-top: 20px; flex: 1; }
.jcard-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.jcard-duration { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.jcard-icons { display: inline-flex; gap: 8px; color: var(--forest); }
.jcard-icons .icon { width: 20px; height: 20px; }
.jcard h3 { font-size: clamp(1.45rem, 2vw, 1.8rem); }
.jcard-text { color: var(--muted); font-size: 0.96rem; }
.jcard-explore { align-self: flex-start; margin-top: auto; padding-top: 10px; background: none; border: 0; font: inherit; font-size: 0.95rem; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; }
.jcard-explore .icon { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .jcard-media:hover { transform: scale(1.015); box-shadow: 0 26px 50px -30px rgba(15, 42, 32, 0.55); }
  .jcard-media:hover img, .js .jcard-media.reveal-img.is-visible:hover img { transform: scale(1.05); }
  .jcard-explore:hover .icon { transform: translateX(4px); }
}
.journeys-note { margin-top: clamp(48px, 6vw, 72px); color: var(--muted); max-width: 46em; display: grid; gap: 6px; font-size: 0.96rem; }

/* ---------- Journey detail panel ---------- */
.panel { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; margin: 0; overflow: hidden; }
.panel::backdrop { background: rgba(14, 41, 30, 0.45); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.panel[open] { display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.panel-sheet { position: relative; width: min(760px, 100%); max-height: 100%; overflow-y: auto; overscroll-behavior: contain; background: var(--ivory); border-radius: 14px; box-shadow: 0 40px 80px -40px rgba(10, 30, 22, 0.6); }
.panel-close { position: sticky; top: 14px; float: right; margin: 14px 14px -60px 0; z-index: 2; display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 9px 16px; font: inherit; font-size: 0.88rem; cursor: pointer; }
.panel-close .icon { width: 16px; height: 16px; }
.panel-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.panel-body { padding: clamp(26px, 4vw, 48px); display: grid; gap: 14px; }
.panel-body .eyebrow { margin-bottom: 4px; }
.panel-body h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 6px; }
.panel-text { color: var(--muted); }
.panel-extra { margin-top: 12px; padding: 20px 22px; border-left: 2px solid var(--cognac); background: var(--ivory-soft); border-radius: 0 8px 8px 0; }
.panel-extra h3 { font-size: 1.25rem; margin-bottom: 8px; }
.panel-extra p { color: var(--muted); font-size: 0.96rem; }
.panel-route-title { font-size: 1.45rem; margin-top: 18px; }
.route { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 22px; position: relative; }
.route::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 1px; background: var(--cognac); opacity: 0.6; }
.route-step { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; align-items: start; position: relative; }
.route-dot { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ivory); border: 1px solid var(--cognac); color: var(--forest); }
.route-dot .icon { width: 20px; height: 20px; }
.route-num { font-size: 0.68rem; letter-spacing: 0.2em; color: var(--cognac-text); }
.route-step h4 { font-family: var(--serif); font-weight: 400; font-size: 1.2rem; color: var(--forest); margin: 2px 0 6px; }
.route-step p { color: var(--muted); font-size: 0.95rem; }
.panel-note { font-size: 0.82rem; color: var(--muted); margin-top: 14px; }
.panel-body .button { justify-self: start; margin-top: 6px; }
@media (prefers-reduced-motion: no-preference) {
  .panel[open] .panel-sheet { animation: sheet-in 0.55s var(--ease-out) both; }
  .panel[open]::backdrop { animation: fade-in 0.4s var(--ease) both; }
}
@keyframes sheet-in { from { opacity: 0; transform: translateY(26px) scale(0.985); } to { opacity: 1; transform: none; } }

/* ---------- Photography add-on (any journey) ---------- */
.addon-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 6vw, 96px); align-items: center; padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.addon-img img { aspect-ratio: 4 / 3; object-position: 40% 50%; }
.groups-band { padding-bottom: 0; }
.groups-card { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 80px); align-items: center; padding: clamp(28px, 5vw, 64px); background: var(--ivory-soft); border: 1px solid rgba(165, 111, 50, 0.35); border-radius: var(--radius); }
.groups-icon { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid rgba(165, 111, 50, 0.45); border-radius: 50%; color: var(--cognac); margin-bottom: 20px; }
.groups-icon svg { width: 20px; height: 20px; }
.groups-card h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.groups-card h2 em { font-style: italic; }
.groups-copy { display: grid; gap: 16px; justify-items: start; max-width: 34em; }
.groups-copy p { color: var(--muted); }
@media (max-width: 760px) { .groups-card { grid-template-columns: minmax(0, 1fr); } }
.addon-copy { display: grid; gap: 16px; justify-items: start; max-width: 34em; }
.addon-copy h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.addon-copy p:not(.eyebrow) { color: var(--muted); }
@media (max-width: 760px) { .addon-grid { grid-template-columns: minmax(0, 1fr); } .addon-img img { aspect-ratio: 4 / 3; } }

/* ---------- FAQ (validated 16 Oct: fine dividers, + / −, no boxes) ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.faq h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { margin: 0; font-family: var(--sans); }
.faq-q button {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  background: none; border: 0; padding: 22px 2px; min-height: 64px; cursor: pointer; text-align: left;
  font: inherit; font-size: 1.04rem; color: var(--forest);
}
.faq-sign { position: relative; width: 14px; height: 14px; flex: none; }
.faq-sign::before, .faq-sign::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.4px; margin-top: -0.7px; background: var(--forest); border-radius: 1px; transition: transform 0.3s var(--ease); }
.faq-sign::after { transform: rotate(90deg); }
.faq-q button[aria-expanded="true"] .faq-sign::after { transform: rotate(0deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.38s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-a p { color: var(--muted); padding: 0 40px 24px 2px; max-width: 40em; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .faq-q button:hover span:first-child { transform: translateX(3px); }
  .faq-q button span:first-child { transition: transform 0.3s var(--ease); }
}

/* ---------- About ---------- */
.founders-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 4vw, 56px); max-width: calc(1000px + 2 * var(--gutter)); }
.founder { margin: 0; }
.founder--offset { margin-top: clamp(40px, 8vw, 110px); }
.founder .img-frame img { aspect-ratio: 4 / 5; object-position: 50% 30%; }
.founder figcaption { display: grid; gap: 4px; margin-top: 18px; }
.founder-name { font-family: var(--serif); font-size: 1.5rem; color: var(--forest); }
.founder-role { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.approach-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.approach-text { display: grid; gap: 18px; margin-top: 28px; color: var(--muted); max-width: 34em; }
.approach-img img { aspect-ratio: 4 / 5; }
.values-list { list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.value { display: grid; gap: 14px; align-content: start; }
.value-num { font-family: var(--serif); font-size: 2.4rem; color: #9C8256; line-height: 1; }
.value h3 { font-size: clamp(1.4rem, 2vw, 1.7rem); }
.value p { color: var(--muted); font-size: 0.97rem; max-width: 22em; }
.js .value.reveal { transition-delay: calc(var(--i) * 0.12s); }

.partners-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: end; }
.partners-text { color: var(--muted); max-width: 32em; }
.marquee { margin-top: clamp(48px, 6vw, 72px); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(48px, 6vw, 88px); width: max-content; }
.logo-item { flex: none; display: grid; place-items: center; height: 96px; }
.logo-item img { height: 64px; width: auto; max-width: 200px; object-fit: contain; }
.logo-item--dark { background: var(--forest); border-radius: 10px; height: 92px; padding: 10px 18px; }
.logo-item--dark img { height: 70px; }
.marquee-controls { display: flex; justify-content: flex-end; margin-top: 18px; }
.marquee-controls .round { width: 40px; height: 40px; border-color: var(--line); background: transparent; }
.marquee-controls .icon { width: 16px; height: 16px; }
.when-paused { display: none; }
[data-marquee-toggle][aria-pressed="true"] .when-playing { display: none; }
[data-marquee-toggle][aria-pressed="true"] .when-paused { display: inline; }
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: drift 46s linear infinite; }
  .marquee:hover .marquee-track, .marquee.is-paused .marquee-track { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; }
  .marquee-track li[aria-hidden="true"] { display: none; }
  .marquee-controls { display: none; }
}
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(calc(-50% - clamp(24px, 3vw, 44px))); } }

@media (max-width: 1050px) {
  .jgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-grid, .approach-grid, .partners-head { grid-template-columns: minmax(0, 1fr); }
  .page-head-grid { grid-template-columns: minmax(0, 1fr); align-items: start; }
}
@media (max-width: 760px) {
  .jgrid {
    display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: calc(-1 * max(var(--gutter), env(safe-area-inset-left, 0px)));
    padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px));
    scroll-padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px));
    scrollbar-width: none;
  }
  .jgrid::-webkit-scrollbar { display: none; }
  .jcard { flex: 0 0 84%; scroll-snap-align: start; }
  .values-list { grid-template-columns: minmax(0, 1fr); }
  .founders-grid { gap: 14px; }
  .founder-name { font-size: 1.2rem; }
  .logo-item img { height: 48px; max-width: 150px; }
  .logo-item, .logo-item--dark { height: 76px; }
  .logo-item--dark img { height: 56px; }
  .closing-inner { flex-direction: column; align-items: flex-start; }
  .faq-a p { padding-right: 8px; }
  .panel[open] { padding: 0; align-items: end; }
  .panel-sheet { border-radius: 16px 16px 0 0; max-height: calc(100% - 24px - env(safe-area-inset-top, 0px)); }
}


/* ================= Contact & enquiry form ================= */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.enquiry-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: clamp(32px, 6vw, 88px); align-items: start; }
.enquiry-main { min-width: 0; }
.enquiry-side { display: grid; gap: 24px; position: sticky; top: calc(var(--header-h) + 24px); }
.side-card { display: grid; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.side-card h3 { font-size: 1.35rem; }
.side-card p { color: var(--muted); font-size: 0.95rem; }
.direct-mails { display: grid; gap: 6px; }
.mail { color: var(--forest); text-decoration: none; font-size: 0.95rem; user-select: all; overflow-wrap: anywhere; }
.side-img img { aspect-ratio: 4 / 5; }

.progress { margin-bottom: clamp(28px, 4vw, 44px); }
.progress-bar { height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.progress-bar span { display: block; height: 100%; background: var(--cognac); transform-origin: left; transform: scaleX(0.16); transition: transform 0.6s var(--ease-out); }
.progress-steps { list-style: none; margin: 12px 0 0; padding: 0; display: flex; justify-content: space-between; gap: 8px; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.progress-steps li.is-current { color: var(--forest); }
.progress-steps li.is-done { color: var(--cognac-text); }

.step-head { display: grid; gap: 8px; margin-bottom: clamp(24px, 3vw, 36px); }
.step-count { font-size: 0.72rem; letter-spacing: 0.2em; color: var(--cognac-text); }
.step-title { font-size: clamp(1.9rem, 3.4vw, 2.7rem); outline: none; }
.step-hint { color: var(--muted); }
.step-body { display: grid; gap: clamp(24px, 3vw, 32px); }
.step-nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: clamp(32px, 4vw, 48px); padding-top: 24px; border-top: 1px solid var(--line); }
.step-back { background: none; border: 0; font: inherit; cursor: pointer; }
.button { border: 0; cursor: pointer; font-family: inherit; }
.button[disabled] { opacity: 0.6; cursor: progress; }
@media (prefers-reduced-motion: no-preference) {
  .step.is-entering { animation: step-in 0.5s var(--ease-out) both; }
}
@keyframes step-in { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }

/* Journey picker */
.pick-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pick { position: relative; display: grid; border-radius: var(--radius); overflow: hidden; cursor: pointer; background: var(--ivory-soft); border: 1px solid transparent; transition: transform 0.35s var(--ease), border-color 0.25s, box-shadow 0.35s var(--ease); }
.pick input, .chip input, .ichip input { position: absolute; opacity: 0; pointer-events: none; }
.pick-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.8s var(--ease); }
.pick-text { display: grid; gap: 4px; padding: 14px 16px 16px; }
.pick-title { font-family: var(--serif); font-size: 1.15rem; color: var(--forest); line-height: 1.2; }
.pick small { font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.pick--help { align-content: center; border: 1px dashed rgba(24, 56, 45, 0.35); background: transparent; min-height: 120px; }
.pick--help small { text-transform: none; letter-spacing: 0; font-size: 0.85rem; }
.pick:has(input:checked) { border-color: var(--forest); box-shadow: 0 0 0 1px var(--forest); }
.pick:has(input:checked)::after { content: ""; position: absolute; top: 10px; right: 10px; width: 26px; height: 26px; border-radius: 50%; background: var(--forest) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F5F2E9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 16px no-repeat; }
.pick:has(input:focus-visible), .chip:has(input:focus-visible), .ichip:has(input:focus-visible), .toggle:has(input:focus-visible), .mini-check:has(input:focus-visible) { outline: 2px solid var(--cognac); outline-offset: 3px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .pick:hover { transform: scale(1.02); }
  .pick:hover .pick-media img { transform: scale(1.05); }
  .chip:hover span, .ichip:hover span { transform: scale(1.04); }
}

/* Counters */
.counters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.counter { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 16px; padding: 18px 20px; border-radius: var(--radius); background: var(--ivory-soft); }
.counter-label { display: grid; gap: 2px; color: var(--forest); }
.counter-label small { color: var(--muted); font-size: 0.78rem; }
.counter-ctl { display: flex; align-items: center; gap: 12px; }
.counter-btn { width: 40px; height: 40px; border: 1px solid rgba(24, 56, 45, 0.3); background: var(--ivory); color: var(--forest); font-size: 1.25rem; line-height: 1; }
.counter-val { min-width: 2ch; text-align: center; font-family: var(--serif); font-size: 1.5rem; color: var(--forest); font-variant-numeric: tabular-nums; }
.counter-val[data-empty="true"] { color: var(--muted); }
.counter .mini-check { flex-basis: 100%; }

/* Chips */
.fset { border: 0; margin: 0; padding: 0; display: grid; gap: 12px; min-width: 0; }
.flabel { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--forest); padding: 0; }
.flabel abbr { text-decoration: none; color: var(--cognac); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip span { display: inline-grid; gap: 2px; padding: 11px 18px; border-radius: 999px; border: 1px solid rgba(24, 56, 45, 0.25); color: var(--forest); font-size: 0.95rem; background: transparent; transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.3s var(--ease); }
.chip small { font-size: 0.72rem; color: var(--muted); }
.chip input:checked + span { background: var(--forest); border-color: var(--forest); color: var(--ivory); }
.chip input:checked + span small { color: var(--sand); }
.chip input:disabled + span { opacity: 0.4; }
.chips--lg .chip span { padding: 13px 22px; font-size: 1rem; }
.icon-chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ichip { position: relative; cursor: pointer; }
.ichip span { display: grid; justify-items: center; gap: 10px; padding: 18px 10px; border-radius: var(--radius); border: 1px solid rgba(24, 56, 45, 0.2); color: var(--forest); font-size: 0.92rem; transition: background 0.25s, color 0.25s, transform 0.3s var(--ease); }
.ichip .icon { width: 28px; height: 28px; }
.ichip input:checked + span { background: var(--forest); color: var(--ivory); border-color: var(--forest); }

/* Fields */
.field { display: grid; gap: 8px; min-width: 0; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field--short { max-width: 320px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--ivory);
  border: 1px solid rgba(24, 56, 45, 0.28); border-radius: 8px; padding: 13px 14px; min-height: 50px;
  transition: border-color 0.2s, box-shadow 0.2s; -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2318382D' stroke-width='1.6'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(24, 56, 45, 0.12); }
.field [aria-invalid="true"] { border-color: #9B3B2A; }
.ferror { color: #9B3B2A; font-size: 0.86rem; }
.fnote { font-size: 0.84rem; color: var(--muted); }
.fnote a { color: var(--forest); }
.calc-length { font-family: var(--serif); font-size: 1.2rem; color: var(--forest); min-height: 1.4em; margin-top: 10px; }
.mini-check { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; color: var(--forest); font-size: 0.92rem; }
.mini-check input { width: 18px; height: 18px; accent-color: var(--forest); }
.budget-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.budget-amount { position: relative; width: min(220px, 100%); }
.budget-amount .currency { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-size: 0.8rem; letter-spacing: 0.1em; color: var(--muted); }
.budget-amount input { padding-left: 54px; font-variant-numeric: tabular-nums; }
.budget.is-discuss .budget-row { opacity: 0.45; }
.toggle { display: inline-flex; align-items: center; gap: 14px; cursor: pointer; color: var(--forest); position: relative; }
.toggle input { position: absolute; opacity: 0; }
.toggle-ui { width: 46px; height: 28px; border-radius: 999px; background: rgba(24, 56, 45, 0.2); position: relative; transition: background 0.25s; flex: none; }
.toggle-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--ivory); box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform 0.3s var(--ease); }
.toggle input:checked + .toggle-ui { background: var(--forest); }
.toggle input:checked + .toggle-ui::after { transform: translateX(18px); }
.pro-fields { display: grid; gap: 20px; padding-left: 18px; border-left: 2px solid var(--sand); }
.more { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.more summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 18px 2px; cursor: pointer; color: var(--forest); }
.more summary::-webkit-details-marker { display: none; }
.more[open] .faq-sign::after { transform: rotate(0deg); }
.more-body { display: grid; gap: 24px; padding: 4px 0 24px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Review */
.review { display: grid; gap: 4px; }
.review-block { border-top: 1px solid var(--line); padding: 18px 0; }
.review-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 10px; }
.review-head h3 { font-size: 1.25rem; }
.review-head .text-link { background: none; border: 0; font: inherit; font-size: 0.88rem; cursor: pointer; }
.review dl { margin: 0; display: grid; gap: 8px; }
.review dl div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; }
.review dt { color: var(--muted); font-size: 0.86rem; }
.review dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.ns { color: var(--muted); font-style: italic; }
.send-error { margin-top: 20px; padding: 18px 20px; border-left: 2px solid #9B3B2A; background: var(--ivory-soft); border-radius: 0 8px 8px 0; display: grid; gap: 8px; }
.send-error h3 { font-size: 1.2rem; }
.send-error p { color: var(--muted); font-size: 0.95rem; }

/* Thank you: the ball rolls into the hole (validated 16 Oct) */
.thanks { display: grid; justify-items: start; gap: 16px; padding-block: clamp(24px, 4vw, 48px); outline: none; }
.thanks h2 { font-size: clamp(2rem, 4vw, 3rem); }
.thanks p { color: var(--muted); max-width: 32em; }
.hole { width: 220px; height: 120px; color: var(--forest); }
.hole-ball { transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .thanks.is-in .hole-pole, .thanks.is-in .hole-flag { animation: fade-in 0.5s var(--ease) both; }
  .thanks.is-in .hole-flag { transform-box: fill-box; transform-origin: left center; animation: flag-wave 1.6s var(--ease) 1.3s both; }
  .thanks.is-in .hole-ball { animation: ball-roll 1.25s cubic-bezier(.45,.05,.4,1) 0.25s both; }
  .thanks.is-in h2, .thanks.is-in p, .thanks.is-in .text-link { animation: fade-up 0.8s var(--ease-out) 1.2s both; }
}
@media (prefers-reduced-motion: reduce) { .thanks .hole-ball { opacity: 0; } }
.thanks:not(.is-in) .hole-ball { opacity: 1; }
@keyframes ball-roll {
  0% { transform: translate(0, 0) rotate(0); opacity: 1; }
  78% { transform: translate(110px, 9px) rotate(540deg); opacity: 1; }
  100% { transform: translate(110px, 22px) rotate(600deg) scale(0.4); opacity: 0; }
}
@keyframes flag-wave { 0%, 100% { transform: skewY(0); } 40% { transform: skewY(-6deg); } 70% { transform: skewY(3deg); } }

/* Privacy page */
.prose { max-width: 42em; display: grid; gap: 22px; }
.prose h2 { font-size: 1.5rem; margin-top: 10px; }
.prose p { color: var(--muted); }
.prose a { color: var(--forest); }

@media (max-width: 1050px) {
  .enquiry-grid { grid-template-columns: minmax(0, 1fr); }
  .enquiry-side { position: static; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
}
@media (max-width: 760px) {
  .pick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pick-title { font-size: 1rem; }
  .pick-text { padding: 10px 12px 12px; }
  .counters, .field-row { grid-template-columns: minmax(0, 1fr); }
  .icon-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .progress-steps { font-size: 0.58rem; letter-spacing: 0.08em; }
  .progress-steps li:not(.is-current) { overflow: hidden; max-width: 1.2em; color: transparent; }
  .progress-steps li:not(.is-current)::before { content: "•"; color: var(--muted); }
  .progress-steps li.is-done::before { color: var(--cognac); }
  .review dl div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .enquiry-side { grid-template-columns: minmax(0, 1fr); }
  .side-img { display: none; }
}

/* ---------- Comfortable tap targets on touch screens (min. 44 px) ---------- */
@media (hover: none), (max-width: 760px) {
  .text-link, .mobile-enquire, .menu-button, .footer-links a, .footer-quiet, .mail, .jcard-explore, .review-head .text-link, .step-back {
    min-height: 44px; display: inline-flex; align-items: center;
  }
  .text-link { padding-bottom: 0; }
  .footer-links { gap: 8px 28px; }
  .direct-mails { gap: 0; }
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); }
.footer-inner {
  max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto;
  padding: 56px max(var(--gutter), env(safe-area-inset-right, 0px)) calc(32px + env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px));
}
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.footer-brand img { width: 210px; height: auto; }
.footer-links { display: flex; gap: 32px; flex-wrap: wrap; }
.footer-links a, .footer-quiet { text-decoration: none; color: var(--forest); display: inline-block; transition: transform 0.3s var(--ease); }
.footer-links a { font-size: 0.95rem; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 0.78rem; color: var(--muted);
}
.footer-quiet { color: var(--muted); }
.footer-tagline { letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.68rem; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* Arrival: the antelope rises into view, then the name, then the headline. */
  .hero-img { animation: settle 2.6s var(--ease-out) both; }
  .sig-mark { animation: rise-mark 1.25s var(--ease-out) 0.15s both; }
  .sig-word { animation: fade-up 0.9s var(--ease-out) 0.85s both; }
  .hero h1 .h-line:first-child { animation: fade-up 0.9s var(--ease-out) 1.05s both; }
  .hero h1 .h-line:last-child { animation: fade-up 0.9s var(--ease-out) 1.2s both; }
  .hero-tagline { animation: fade-up 0.9s var(--ease-out) 1.4s both; }
  .hero-audience { animation: fade-up 0.9s var(--ease-out) 1.5s both; }
  .hero-link, .hero-location { animation: fade-in 1s var(--ease) 1.6s both; }

  /* Sections drift in; photos unveil like a curtain lifting (validated 17 Oct). */
  .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease-out); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
  .js .reveal-img { clip-path: inset(0 0 100% 0 round var(--radius)); transition: clip-path 1.3s var(--ease-out); }
  .js .reveal-img img { transform: scale(1.08); transition: transform 1.8s var(--ease-out); }
  .js .reveal-img.is-visible { clip-path: inset(0 0 0 0 round var(--radius)); }
  .js .reveal-img.is-visible img { transform: scale(1); }
  .js .tile.reveal-img.is-visible:hover img { transform: scale(1.05); }

  .js .trail-progress { transform: scaleX(0); transition: transform 1.6s var(--ease) 0.2s; }
  .js .trail-wrap.is-drawn .trail-progress { transform: scaleX(1); }
  .js .trail-step { opacity: 0; transform: translateY(14px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease-out); transition-delay: calc(0.25s + var(--i) * 0.38s); }
  .js .trail-wrap.is-drawn .trail-step { opacity: 1; transform: none; }
  .js .trail-dot { transition: background 0.5s, color 0.5s, border-color 0.5s; transition-delay: calc(0.3s + var(--i) * 0.38s); }
  .js .trail-wrap.is-drawn .trail-dot { border-color: var(--cognac); }
}
@keyframes settle { from { transform: scale(1.06); } to { transform: scale(1); } }
@keyframes rise-mark {
  from { clip-path: inset(100% 0 0 0); transform: translateY(14px); opacity: 0.4; }
  to { clip-path: inset(0 0 0 0); transform: none; opacity: 1; }
}
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 0.92; } }

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

/* ---------- Tablet ---------- */
@media (max-width: 1050px) {
  .dolly-grid { grid-template-columns: minmax(0, 1fr); }
  .dolly-figure { order: -1; }
  .trail { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 56px; }
  .trail-line { display: none; }
}

/* ---------- Phone ---------- */
@media (max-width: 760px) {
  :root { --header-h: 74px; }
  body { font-size: 16px; }
  .nav-desktop { display: none; }
  .nav-mobile { display: flex; }
  .brand { --logo-h: 31px; }
  .hero { min-height: clamp(560px, 88svh, 760px); }
  .hero-img { object-position: 64% 50%; }
  .hero-location { left: max(var(--gutter), env(safe-area-inset-left, 0px)); right: auto; }
  .hero-copy { padding-bottom: 76px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 20px; }

  /* Journey tiles become a swipeable row (validated). */
  .tiles {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: calc(-1 * max(var(--gutter), env(safe-area-inset-left, 0px)));
    padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px));
    scroll-padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px));
    scrollbar-width: none;
  }
  .tiles::-webkit-scrollbar { display: none; }
  .tile { flex: 0 0 82%; scroll-snap-align: start; }
  .tile-media img { aspect-ratio: 4 / 5; }
  .tile-copy { left: 20px; right: 76px; bottom: 20px; }
  .carousel-controls { display: flex; align-items: center; gap: 12px; margin-top: 22px; font-size: 0.82rem; color: var(--muted); }
  .carousel-hint { margin-right: auto; }
  .carousel-count { font-variant-numeric: tabular-nums; margin-right: 6px; }

  /* The trail runs vertically on a phone. */
  .trail-wrap { --dot: 50px; }
  .trail { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
  .trail-line { display: block; top: calc(var(--dot) / 2); bottom: calc(var(--dot) / 2); left: calc(var(--dot) / 2); right: auto; width: 1px; height: auto; }
  .trail-progress { transform-origin: top; }
  .js .trail-progress { transform: scaleY(0); }
  .js .trail-wrap.is-drawn .trail-progress { transform: scaleY(1); }
  .trail-step { flex-direction: row; gap: 22px; }
  .trail-text { padding-top: 4px; }
  .booking-cta { flex-direction: column; align-items: flex-start; }
  .footer-top { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 1050px) and (min-width: 761px) {
  .js .trail-step { transition-delay: calc(0.1s + var(--i) * 0.2s); }
}

/* ===== Phone: centred layout (Thomas, 22 Oct). Long reading texts stay left-aligned:
   FAQ answers, the enquiry form, journey programmes and the privacy page. ===== */
@media (max-width: 760px) {
  .eyebrow { justify-content: center; text-align: center; gap: 12px; }
  .eyebrow::before, .eyebrow::after { content: ""; flex: 0 0 22px; width: 22px; height: 1px; background: var(--cognac); }
  .announce { text-align: center; justify-content: center; padding: 8px 48px; }
  .approach-grid > .reveal, .values > .container > .reveal, .faq-grid > h2 { text-align: center; }
  .direct-mails { justify-items: center; }

  /* Home hero */
  .hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .hero-copy h1 .h-line { display: block; }
  .hero-location { left: 0; right: 0; text-align: center; }

  /* Section openings, intros and short texts */
  .section-head, .section-head > div { align-items: center; text-align: center; }
  .lead, .section-intro, .page-intro, .groups-copy, .addon-copy, .approach-text { margin-inline: auto; }
  .dolly-copy, .page-head, .page-head-grid > *, .journeys-note, .addon-copy, .groups-card, .approach-text,
  .partners-head, .partners-text, .closing-inner, .thanks, .enquiry-side, .side-card, .caption { text-align: center; }
  .groups-card, .groups-copy, .addon-copy, .thanks { justify-items: center; }
  .groups-icon { margin-inline: auto; }
  .closing-inner, .booking-cta { align-items: center; }
  .page-head-grid { justify-items: center; }

  /* Journey cards */
  .jcard-body { text-align: center; align-items: center; }
  .jcard-meta { flex-direction: column; gap: 10px; }
  .jcard-body > a, .jcard-body .text-link { align-self: center; margin-inline: auto; }

  /* Swipe controls */
  .carousel-controls { justify-content: center; flex-wrap: wrap; }
  .carousel-hint { margin-right: 0; flex-basis: 100%; text-align: center; }

  /* Booking trail: one centred line, each step sits on it */
  .trail-line { left: 50%; transform: translateX(-0.5px); }
  .trail-step { flex-direction: column; align-items: center; text-align: center; gap: 14px; }
  .trail-dot { position: relative; z-index: 1; }
  .trail-text { position: relative; z-index: 1; background: var(--ivory); padding: 8px 4px; }
  .trail-text p { margin-inline: auto; }

  /* About */
  .founder, .value, .values-list { text-align: center; }

  /* Footer */
  .footer-top, .footer-bottom { align-items: center; justify-content: center; text-align: center; }
  .footer-links { justify-content: center; }
  .footer-brand { margin-inline: auto; }
}
