/* ============================================================================
   TRI EMAS MANUNGGAL — COMPONENTS
   Built only on the tokens in brand-tokens.css. Mobile-first.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--color-bg-light);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--color-accent-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--maroon-900); }

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

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: var(--space-4); top: -60px;
  background: var(--brass-300); color: var(--maroon-950);
  padding: var(--space-2) var(--space-4); border-radius: var(--radius-sm);
  font-weight: 600; z-index: 100; transition: top var(--dur-2) var(--ease-out);
}
.skip-link:focus { top: var(--space-4); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ------------------------------------------------------------------ brand */

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  flex: none;                 /* never let the header squeeze the logo */
  text-decoration: none;
  color: var(--color-text-inverse);
}

.brand__mark {
  flex: none;
  width: auto;
  height: 38px;
  border-radius: var(--radius-xs);
}

.brand__text { display: flex; flex-direction: column; line-height: 1.05; }

.brand__name {
  font-family: var(--font-display);
  font-size: clamp(0.92rem, 2.2vw, 1.12rem);
  font-weight: 600;
  letter-spacing: 0.035em;
  white-space: nowrap;
  color: var(--cream-100);
}

.brand__sub {
  font-size: 0.58rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--brass-400);
  margin-top: 3px;
}

/* ----------------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--maroon-950);
  background: color-mix(in srgb, var(--maroon-950) 94%, transparent);
  border-bottom: 1px solid rgba(217, 180, 91, 0.22);
  backdrop-filter: saturate(120%) blur(10px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  min-height: var(--header-h);
}

.nav { display: none; margin-inline-start: auto; }
.nav ul { display: flex; align-items: center; gap: var(--space-5); list-style: none; margin: 0; padding: 0; }

.nav a {
  color: var(--color-text-inverse-muted);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  padding-block: var(--space-2);
  border-bottom: 1px solid transparent;
  transition: color var(--dur-1) var(--ease-out), border-color var(--dur-1) var(--ease-out);
}
.nav a:hover,
.nav a[aria-current="page"] { color: var(--brass-200); border-bottom-color: var(--brass-400); }

.header-actions { display: flex; align-items: center; gap: var(--space-3); margin-inline-start: auto; }
.nav + .header-actions { margin-inline-start: 0; }

.header-phone {
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--cream-100);
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;       /* the number is never worth breaking in two */
}
.header-phone__text > span { color: var(--brass-300); }
.header-phone__icon { display: none; }

/* zero-JS mobile menu */
.mobile-nav { position: relative; }
.mobile-nav > summary {
  list-style: none;
  cursor: pointer;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 1px solid rgba(217, 180, 91, 0.35);
  border-radius: var(--radius-sm);
  color: var(--brass-200);
}
.mobile-nav > summary::-webkit-details-marker { display: none; }
.mobile-nav[open] > summary { background: rgba(217, 180, 91, 0.12); }
.mobile-nav__panel {
  position: absolute; right: 0; top: calc(100% + 10px);
  min-width: 220px;
  background: var(--maroon-900);
  border: 1px solid rgba(217, 180, 91, 0.3);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: var(--space-3);
  display: grid;
  gap: var(--space-1);
}
.mobile-nav__panel a {
  color: var(--cream-100); text-decoration: none; font-size: 0.9rem;
  padding: var(--space-2) var(--space-3); border-radius: var(--radius-sm);
}
.mobile-nav__panel a:hover { background: rgba(217, 180, 91, 0.12); color: var(--brass-200); }

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.8rem 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--dur-1) var(--ease-out),
              color var(--dur-1) var(--ease-out),
              transform var(--dur-1) var(--ease-out),
              box-shadow var(--dur-2) var(--ease-out);
}
.btn:active { transform: translateY(1px); }

.btn--gold {
  background: var(--brass-300);
  color: var(--maroon-950);
  box-shadow: var(--shadow-gold);
  border-color: var(--brass-400);
}
.btn--gold:hover { background: var(--brass-200); color: var(--maroon-950); box-shadow: var(--shadow-md); transform: translateY(-1px); }

.btn--ghost {
  background: transparent;
  color: var(--brass-200);
  border-color: rgba(217, 180, 91, 0.45);
}
.btn--ghost:hover { background: rgba(217, 180, 91, 0.12); color: var(--brass-100); }

.btn--dark { background: var(--maroon-900); color: var(--cream-050); }
.btn--dark:hover { background: var(--maroon-800); color: var(--cream-050); }

.btn--sm { padding: 0.6rem 1rem; font-size: 0.82rem; }
.btn--block { width: 100%; }

/* ------------------------------------------------------------- typography */

h1, h2, h3, h4 { margin: 0; }

.display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--brass-600);
  margin: 0 0 var(--space-2);
}
.eyebrow::before {
  content: "";
  width: 24px; height: 1px;
  background: var(--brass-500);
  flex: none;
}

.section-title { font-size: var(--text-3xl); color: var(--maroon-900); }
.section-lede { margin: var(--space-3) 0 0; max-width: 62ch; color: var(--color-text-muted); }

/* --------------------------------------------------------------- sections */

.section { padding: clamp(3rem, 6vw, 5.5rem) 0; }
.section--cream { background: var(--color-bg-light); }
.section--tint { background: var(--cream-100); }
.section--dark { background: var(--maroon-950); color: var(--color-text-inverse); }
.section--dark .section-title { color: var(--cream-100); }
.section--dark .section-lede { color: var(--color-text-inverse-muted); }
.section--dark .eyebrow { color: var(--brass-300); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

/* ------------------------------------------------------------------- hero */

.hero {
  position: relative;
  overflow: hidden;
  color: var(--color-text-inverse);
  background:
    radial-gradient(120% 110% at 50% -20%, var(--maroon-700) 0%, var(--maroon-900) 42%, var(--maroon-950) 100%);
  padding: clamp(2.75rem, 5.5vw, 5rem) 0 clamp(2rem, 4vw, 3.25rem);
}

.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(217, 180, 91, 0.05) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(0deg, rgba(217, 180, 91, 0.035) 0 1px, transparent 1px 96px);
  pointer-events: none;
  -webkit-mask-image: radial-gradient(90% 80% at 50% 0%, #000 20%, transparent 100%);
  mask-image: radial-gradient(90% 80% at 50% 0%, #000 20%, transparent 100%);
}

.hero::after {
  content: "";
  position: absolute;
  width: 620px; height: 620px;
  right: -180px; top: -260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 180, 91, 0.16), transparent 62%);
  pointer-events: none;
}

/* Wide enough for the display headline to break in four lines, narrow enough to
   keep the lede readable — and it keeps the copy over the dark side of the scrim. */
.hero__copy { max-width: 34rem; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  border: 1px solid rgba(217, 180, 91, 0.35);
  background: rgba(217, 180, 91, 0.08);
  color: var(--brass-200);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-5);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--cream-050);
  margin: 0 0 var(--space-4);
  text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--brass-300); }

.hero__lede {
  font-size: var(--text-lg);
  color: var(--color-text-inverse-muted);
  max-width: 52ch;
  margin: 0 0 var(--space-5);
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-5);
  font-size: 0.82rem;
  color: var(--color-text-inverse-muted);
  padding: 0;
  margin: 0;
  list-style: none;
}
.hero__meta li { display: flex; align-items: center; gap: var(--space-2); }
.hero__meta svg { color: var(--brass-400); flex: none; }

/* --------------------------------------------------- hero photo slideshow */

/* The photos are the section background: absolute, so they never affect layout,
   with the scrim above them and the page content above that. */
.hero__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--maroon-950);
}

.hero__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 900ms var(--ease-out);
}
.hero__slide.is-active { opacity: 1; }

.hero__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* A maroon wash so cream type clears WCAG AA over any of the photos: heavy on
   the left, where the copy sits, and near-solid at the bottom for the trust row. */
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(28, 6, 11, 0.90) 0%, rgba(28, 6, 11, 0.84) 30%, rgba(28, 6, 11, 0.58) 62%, rgba(28, 6, 11, 0.36) 100%),
    linear-gradient(to top, rgba(28, 6, 11, 0.88) 0%, rgba(28, 6, 11, 0.36) 26%, rgba(28, 6, 11, 0) 58%),
    linear-gradient(to bottom, rgba(28, 6, 11, 0.55) 0%, rgba(28, 6, 11, 0) 22%);
}

/* The shared muted-text token (#CBB6A9) is tuned for a flat maroon field; over
   the Batur lava field it bottoms out at 4.48:1, just under AA. The hero's
   secondary type is lifted to 5.1:1 worst case — still quieter than the
   headline, which measures 7:1 or better on every slide. */
.hero__lede,
.hero__meta { color: #D6C4B7; }

/* The badge's own 8% brass tint is invisible over a photo, and brass on bright
   foliage measured 2.98:1 — it gets a real backing here instead. */
.hero--media .hero__badge {
  background: rgba(28, 6, 11, 0.58);
  border-color: rgba(217, 180, 91, 0.45);
}

/* The brass grid and glow were drawn for an empty maroon field; over a photo
   they read as dirt. */
.hero--media::before,
.hero--media::after { display: none; }

.hero > .container { position: relative; z-index: 1; }

.hero__bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-3);
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}

/* Six labels do not fit a phone, so the strip scrolls sideways instead of
   wrapping — the hero keeps one height whatever the label count, and the pause
   button stays outside the scroller and always visible. */
.hero__tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.4rem;
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior-x: contain;
}
.hero__tabs::-webkit-scrollbar { display: none; }
.hero__tabs[hidden] { display: none; }

.hero__tab {
  flex: none;
  white-space: nowrap;
  font: inherit;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-050);
  background: rgba(28, 6, 11, 0.45);
  border: 1px solid rgba(217, 180, 91, 0.5);
  border-radius: var(--radius-pill);
  padding: 0.34rem 0.7rem;
  cursor: pointer;
  transition: color var(--dur-1) var(--ease-out), background var(--dur-1) var(--ease-out), border-color var(--dur-1) var(--ease-out);
}
.hero__tab:hover { background: rgba(28, 6, 11, 0.68); border-color: var(--brass-300); }
.hero__tab.is-active {
  background: var(--brass-300);
  border-color: var(--brass-300);
  color: var(--maroon-950);
}

/* The credit is a condition of the photo licence, so it sits on the hero rather
   than in a footer nobody scrolls to. */
.hero__credit {
  margin: 0;
  font-size: 0.68rem;
  color: #D6C4B7;
}
.hero__credit a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.hero__credit a:hover { color: var(--brass-200); }

.hero__pause {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  border: 1px solid rgba(217, 180, 91, 0.5);
  background: rgba(28, 6, 11, 0.45);
  color: var(--cream-100);
  cursor: pointer;
  transition: color var(--dur-1) var(--ease-out), border-color var(--dur-1) var(--ease-out);
}
.hero__pause:hover { border-color: var(--brass-300); color: var(--brass-200); }
.hero__pause[hidden] { display: none; }
.hero__pause svg { display: block; }

/* A tall viewport would fill a 16:9 photo with its own centre sliver; the
   portrait crop takes over here instead (see the <picture> in the view). */
@media (max-width: 899px) {
  .hero__scrim {
    background: linear-gradient(to bottom,
      rgba(28, 6, 11, 0.34) 0%,
      rgba(28, 6, 11, 0.66) 16%,
      rgba(28, 6, 11, 0.80) 38%,
      rgba(28, 6, 11, 0.88) 100%);
  }
}

/* Three chips, a credit and a pause on one row down to 320 px. */
@media (max-width: 559px) {
  .hero__tab { font-size: 0.63rem; letter-spacing: 0.07em; padding: 0.3rem 0.5rem; }
  .hero__credit { order: 3; flex-basis: 100%; }
  .hero__pause { width: 28px; height: 28px; }
}

/* ----------------------------------------------------------- search panel */

.search-panel {
  background: var(--cream-050);
  border: 1px solid rgba(217, 180, 91, 0.45);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-4);
  display: grid;
  gap: var(--space-3);
}

.search-panel__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--maroon-900);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin: 0 0 var(--space-1);
}

.field { display: grid; gap: 6px; }

.field > label {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7A5A5F;
}

.field select,
.field input,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 0.6rem 0.75rem;
  font: inherit;
  font-size: 0.92rem;
  color: var(--maroon-900);
  background: #fff;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238A6A2A' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2rem;
}
.field select:focus,
.field input:focus { border-color: var(--brass-500); outline: 3px solid rgba(217, 180, 91, 0.35); outline-offset: 1px; }
.field__hint { font-size: 0.72rem; color: #7A5A5F; }

/* ------------------------------------------------------------------ trust */

.trust {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(217, 180, 91, 0.2);
}

.trust__item { display: flex; gap: var(--space-3); align-items: flex-start; }
.trust__ico {
  flex: none;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 1px solid rgba(217, 180, 91, 0.4);
  border-radius: 50%;
  color: var(--brass-300);
  background: rgba(217, 180, 91, 0.07);
}
.trust__item strong { display: block; color: var(--cream-100); font-size: 0.86rem; font-weight: 600; }
.trust__item span { font-size: 0.78rem; color: var(--color-text-inverse-muted); }

/* ------------------------------------------------------------- tour cards */

.tour-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
  gap: var(--space-5);
}

.tour-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--cream-300);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--dur-2) var(--ease-out),
              box-shadow var(--dur-2) var(--ease-out),
              border-color var(--dur-2) var(--ease-out);
}
.tour-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brass-400); }

.tour-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  background:
    radial-gradient(120% 120% at 20% 0%, var(--maroon-700), var(--maroon-900) 55%, var(--maroon-950));
  overflow: hidden;
}

/* The photo is the backdrop; the chips above it still need a readable edge,
   which is why the tag keeps its own dark backing. */
.tour-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--dur-3) var(--ease-out);
}
.tour-card:hover .tour-card__media img { transform: scale(1.035); }

/* CSS-only coin motif, kept only for products with no photography */
.tour-card__media--empty::before {
  content: "";
  position: absolute;
  width: 46px; height: 46px;
  border: 8px solid rgba(217, 180, 91, 0.18);
  border-radius: 4px;
}
.tour-card__media--empty::after {
  content: "";
  position: absolute;
  width: 168px; height: 168px;
  border-radius: 50%;
  border: 14px solid rgba(217, 180, 91, 0.12);
  box-shadow: inset 0 0 0 1px rgba(217, 180, 91, 0.22), 0 0 60px rgba(217, 180, 91, 0.12);
}

.tour-card__tag {
  position: absolute;
  top: var(--space-3); left: var(--space-3);
  z-index: 1;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-200);
  background: rgba(28, 6, 11, 0.7);
  border: 1px solid rgba(217, 180, 91, 0.35);
  border-radius: var(--radius-pill);
  padding: 0.32rem 0.62rem;
  backdrop-filter: blur(6px);
}

.tour-card__duration {
  position: absolute;
  bottom: var(--space-3); right: var(--space-3);
  z-index: 1;
  font-size: 0.7rem;
  color: var(--maroon-900);
  background: var(--cream-100);
  border-radius: var(--radius-pill);
  padding: 0.28rem 0.6rem;
  font-weight: 600;
}

.tour-card__body { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-4) var(--space-5) var(--space-5); flex: 1; }

.tour-card__title { font-family: var(--font-display); font-size: 1.18rem; line-height: 1.3; color: var(--maroon-900); }
.tour-card__title a { color: inherit; text-decoration: none; }
.tour-card__title a:hover { color: var(--brass-700); }

.tour-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); font-size: 0.78rem; color: var(--color-text-muted); }
.tour-card__meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--cream-300); }

.rating { display: inline-flex; align-items: center; gap: 0.3rem; font-weight: 600; color: var(--maroon-800); }
.rating .stars { color: var(--brass-500); letter-spacing: 0.05em; }

.tour-card__foot {
  margin-top: auto;
  padding-top: var(--space-3);
  border-top: 1px solid var(--cream-200);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-3);
}

.price { display: flex; flex-direction: column; line-height: 1.1; }
.price span { font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-text-muted); }
.price strong { font-family: var(--font-display); font-size: 1.25rem; color: var(--maroon-900); font-weight: 600; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.82rem; font-weight: 600; color: var(--brass-700);
  text-decoration: none; white-space: nowrap;
}
.link-arrow:hover { color: var(--maroon-900); gap: 0.5rem; }

/* ------------------------------------------------------------ pills / steps */

.pill-row { display: flex; flex-wrap: wrap; gap: var(--space-2); }

.pill {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: 0.55rem 1rem;
  border: 1px solid rgba(217, 180, 91, 0.38);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  color: var(--brass-200);
  text-decoration: none;
  transition: background var(--dur-1) var(--ease-out), color var(--dur-1) var(--ease-out), border-color var(--dur-1) var(--ease-out);
}
.pill:hover { background: rgba(217, 180, 91, 0.12); color: var(--brass-100); border-color: rgba(217, 180, 91, 0.6); }
.pill span { color: var(--color-text-inverse-muted); font-size: 0.75rem; }

.steps { display: grid; gap: var(--space-5); counter-reset: step; }
.step { position: relative; padding-left: 4rem; }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0; top: -0.15rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--brass-400);
  border: 1px solid rgba(217, 180, 91, 0.35);
  border-radius: 50%;
  width: 2.6rem; height: 2.6rem;
  display: grid; place-items: center;
}
.step h3 { font-family: var(--font-display); font-size: 1.05rem; color: var(--cream-100); margin-bottom: 0.3rem; }
.step p { margin: 0; font-size: 0.86rem; color: var(--color-text-inverse-muted); }

/* --------------------------------------------------------------- reviews */

.review-grid { display: grid; gap: var(--space-5); grid-template-columns: 1fr; }

.review-card {
  background: #fff;
  border: 1px solid var(--cream-300);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.review-card__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.review-card blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.04rem;
  line-height: 1.55;
  color: var(--maroon-800);
}
.review-card__who { display: flex; align-items: center; gap: var(--space-3); margin-top: auto; padding-top: var(--space-3); border-top: 1px solid var(--cream-200); }
.avatar {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--maroon-900); color: var(--brass-200);
  font-family: var(--font-display); font-size: 0.9rem;
}
.review-card__who strong { display: block; font-size: 0.85rem; color: var(--maroon-900); }
.review-card__who span { font-size: 0.75rem; color: var(--color-text-muted); }

.verified {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.04em;
  color: var(--color-success);
  background: rgba(31, 107, 74, 0.08);
  border-radius: var(--radius-pill);
  padding: 0.25rem 0.55rem;
}

/* ------------------------------------------------------------------ posts */

.post-grid { display: grid; gap: var(--space-5); grid-template-columns: 1fr; }

.post-card {
  display: flex; flex-direction: column; gap: var(--space-3);
  padding: var(--space-5);
  background: var(--cream-050);
  border: 1px solid var(--cream-300);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: border-color var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out);
}
.post-card:hover { border-color: var(--brass-400); transform: translateY(-3px); }
.post-card__cat { font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass-700); font-weight: 700; }
.post-card h3 { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.35; color: var(--maroon-900); }
.post-card p { margin: 0; font-size: 0.86rem; color: var(--color-text-muted); }
.post-card__meta { margin-top: auto; font-size: 0.74rem; color: var(--color-text-muted); padding-top: var(--space-2); border-top: 1px solid var(--cream-200); }

/* Card with photography: the photo bleeds to the card edge, so the padding
   moves onto the body instead of sitting around the whole card. */
.post-card--photo { padding: 0; overflow: hidden; }
.post-card--photo > :not(.post-card__media) { padding-inline: var(--space-5); }
.post-card--photo > :last-child { padding-bottom: var(--space-5); }
.post-card--photo .post-card__cat { padding-top: var(--space-4); }
.post-card__media { display: block; aspect-ratio: 16 / 10; background: var(--maroon-900); }
.post-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------------------------------------------------------------- journal */

.blog-layout { display: grid; gap: clamp(2rem, 4vw, 3rem); align-items: start; }
.blog-main { display: grid; gap: clamp(1.75rem, 3vw, 2.5rem); min-width: 0; }
.blog-main__title { font-size: var(--text-2xl); }

.blog-aside { display: grid; gap: var(--space-4); align-content: start; }
.blog-aside__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.blog-aside__list a { font-size: 0.86rem; color: var(--maroon-900); text-decoration: none; border-bottom: 1px solid transparent; }
.blog-aside__list a:hover { border-bottom-color: var(--brass-400); }
.aside-card--cta p { margin: 0; font-size: 0.84rem; color: var(--color-text-muted); }

.tag-cloud { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); }
.tag-chip {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.28rem 0.6rem;
  font-size: 0.76rem; font-weight: 600;
  color: var(--brass-700); text-decoration: none;
  border: 1px solid var(--cream-300); border-radius: var(--radius-pill);
  transition: border-color var(--dur-1) var(--ease-out), background var(--dur-1) var(--ease-out);
}
.tag-chip:hover { border-color: var(--brass-400); background: var(--cream-100); }
.tag-chip__count { font-size: 0.68rem; font-weight: 500; color: var(--color-text-muted); }
/* Over the maroon hero the cream chip has no contrast; the light variant flips
   to brass-on-maroon, which the token sheet already measures at 9.2:1. */
.tag-cloud--light { margin-top: var(--space-4); }
.tag-cloud--light .tag-chip { color: var(--brass-200); border-color: rgba(217, 180, 91, 0.4); background: rgba(217, 180, 91, 0.08); }
.tag-cloud--light .tag-chip:hover { background: rgba(217, 180, 91, 0.18); border-color: var(--brass-300); }
.eyebrow__link { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(217, 180, 91, 0.5); }
.eyebrow__link:hover { border-bottom-color: var(--brass-300); }

/* Lead article on the hub */
.post-feature {
  display: grid; gap: var(--space-4);
  background: #fff; border: 1px solid var(--cream-300);
  border-radius: var(--radius-lg); overflow: hidden;
}
.post-feature__media { margin: 0; position: relative; background: var(--maroon-900); aspect-ratio: 16 / 10; }
.post-feature__media img { width: 100%; height: 100%; object-fit: cover; }
.post-feature__media figcaption {
  position: absolute; inset-inline: 0; bottom: 0;
  padding: var(--space-2) var(--space-3); font-size: 0.68rem; color: var(--cream-200);
  background: linear-gradient(transparent, rgba(28, 6, 11, 0.8));
}
.post-feature__body { display: grid; gap: var(--space-3); padding: 0 var(--space-5) var(--space-5); align-content: start; }
.post-feature__title { font-family: var(--font-display); font-size: clamp(1.35rem, 3vw, 1.9rem); line-height: var(--leading-snug); }
.post-feature__title a { color: var(--maroon-900); text-decoration: none; }
.post-feature__title a:hover { color: var(--brass-700); }
.post-feature__body p { margin: 0; color: var(--color-text-muted); }
.post-feature__body .post-card__meta { border-top: 0; padding-top: 0; }
.post-feature__body .btn { justify-self: start; }

/* Article */
.post__hero { margin: 0; background: var(--maroon-900); position: relative; }
.post__hero img { display: block; width: 100%; max-height: 520px; object-fit: cover; }
.post__hero figcaption {
  padding: var(--space-2) var(--gutter); font-size: 0.68rem;
  color: var(--color-text-inverse-muted); background: var(--maroon-900);
}
.blog-layout--article { padding-block: clamp(2rem, 5vw, 3.5rem); }
.post__body { max-width: 72ch; }
.post__body h2 { font-size: var(--text-xl); }
.post__body h3 { font-size: 1.05rem; }
.post__body li { color: var(--maroon-800); }

.post-keywords {
  display: grid; gap: var(--space-3);
  padding: var(--space-4);
  background: var(--cream-100); border: 1px dashed var(--cream-300);
  border-radius: var(--radius-md);
}
.post-keywords__title { font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: #7A5A5F; }
.post-keywords__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); }
.keyword {
  display: inline-flex; align-items: baseline; gap: 0.4rem;
  padding: 0.25rem 0.6rem;
  font-size: 0.78rem; color: var(--maroon-800);
  background: var(--cream-050); border: 1px solid var(--cream-300); border-radius: var(--radius-sm);
}
.keyword--primary { border-color: var(--brass-400); background: #fff; font-weight: 600; }
.keyword__flag { font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass-700); }

/* One card, full width: the lead "book this tour" unit on an article. */
.tour-grid--lead { grid-template-columns: 1fr; }
.post-grid--2 { grid-template-columns: 1fr; }

/* --------------------------------------------------------------- CTA band */

.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--maroon-900), var(--maroon-950) 70%);
  color: var(--color-text-inverse);
  border-block: 1px solid rgba(217, 180, 91, 0.28);
  padding: clamp(2.5rem, 5vw, 4.5rem) 0;
}
.cta-band__inner { display: grid; gap: var(--space-5); align-items: center; }
.cta-band h2 { font-family: var(--font-display); font-size: var(--text-3xl); color: var(--cream-050); }
.cta-band p { margin: var(--space-2) 0 0; color: var(--color-text-inverse-muted); max-width: 54ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* ----------------------------------------------------------- social links */

/* A band of its own, on cream: the homepage and the keyword landing pages end
   with it, so a guest who has read this far can check the account before paying
   a stranger. Hidden entirely by the partial when no network is configured. */
.social-band {
  padding: clamp(2rem, 4vw, 3rem) 0;
  background: var(--cream-050, #FBF6EE);
  border-top: 1px solid var(--cream-200, #EFE3D2);
}
.social-band__inner {
  display: grid;
  gap: var(--space-4);
  align-items: center;
}
.social-band__copy h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--maroon-900);
  margin: 0;
}
.social-band__copy p {
  margin: var(--space-2) 0 0;
  max-width: 56ch;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.social-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.social-links .social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid rgba(199, 159, 69, 0.45);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--maroon-800);
  text-decoration: none;
  transition: background var(--dur-1) var(--ease-out), border-color var(--dur-1) var(--ease-out);
}
.social-links .social-link__go { color: var(--brass-600, #A67C24); font-size: 0.7rem; }
.social-icon { flex: none; color: var(--brass-600, #A67C24); }
.social-link .social-icon { margin-right: 0.1rem; }
.social-links .social-link:hover {
  background: rgba(217, 180, 91, 0.14);
  border-color: var(--brass-400, #C79F45);
}

@media (min-width: 768px) {
  .social-band__inner { grid-template-columns: 1fr auto; gap: var(--space-6); }
  .social-links { justify-content: flex-end; }
}

/* ---------------------------------------------------------- review proof */

/* The strip under a landing-page hero. Deliberately quiet: two cards and a
   sentence, no shadow, no colour beyond the brass stars — the figures should
   read as evidence, not as an advertisement. */
.social-proof {
  background: var(--cream-050, #FBF6EE);
  border-bottom: 1px solid var(--cream-200, #EFE3D2);
  padding: var(--space-4) 0;
}
.social-proof__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3) var(--space-5);
}
.social-proof__lede {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-700, #7A5A1E);
}
.social-proof__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.social-proof__card {
  border: 1px solid var(--cream-300, #E4D5C1);
  border-radius: var(--radius-lg, 14px);
  background: #fff;
}
.social-proof__link {
  display: grid;
  gap: 0.12rem;
  padding: 0.55rem 0.85rem;
  text-decoration: none;
  color: var(--maroon-900);
}
.social-proof__brand {
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.social-proof__scoreline { display: flex; align-items: baseline; gap: 0.45rem; }
.social-proof__scoreline strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.1;
}
.social-proof__stars { display: inline-flex; gap: 0.06rem; }
.social-proof__star { font-size: 0.72rem; color: var(--cream-300, #E4D5C1); }
.social-proof__star.is-on { color: var(--brass-500, #B8912F); }
.social-proof__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.76rem;
  color: var(--color-text-muted);
}
.social-proof__go { color: var(--brass-600, #A67C24); font-size: 0.7rem; }
.social-proof__link:hover { background: rgba(217, 180, 91, 0.1); border-radius: var(--radius-lg, 14px); }
.social-proof__link:hover .social-proof__meta { color: var(--maroon-800); }

/* ----------------------------------------------------------------- footer */

.site-footer {
  background: var(--maroon-950);
  color: var(--color-text-inverse-muted);
  padding: clamp(2.5rem, 5vw, 4rem) 0 var(--space-5);
  font-size: 0.86rem;
}
.footer-grid { display: grid; gap: var(--space-6); grid-template-columns: 1fr; }
.footer-brand { display: grid; gap: var(--space-4); justify-items: start; }
.footer-logo { width: 216px; }

/* Both of these are optional in the CMS — the markup is only rendered when the
   owner has filled the field in — so neither may rely on the other being there
   for its spacing. The grid gap above does that work. */
.footer-about {
  margin: 0;
  max-width: 46ch;
  font-size: 0.84rem;
  line-height: 1.65;
  color: var(--color-text-inverse-muted);
}

/* Specificity note: `.site-footer ul` turns every list in the footer into a
   vertical grid, so the social row has to out-weigh it to lie flat. */
.site-footer ul.social-links--footer {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
  font-size: 0.78rem;
}
.site-footer .social-links--footer a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  letter-spacing: 0.01em;
  color: var(--cream-200, #EFE3D2);
}
.site-footer .social-links--footer .social-icon { color: var(--brass-400); }
.site-footer .social-links--footer a:hover { color: var(--brass-200); }
.site-footer .social-links--footer a:hover .social-icon { color: var(--brass-200); }
/* No drop-shadow: the logo has no plate to lift off the footer any more, and a
   shadow that follows the artwork's own silhouette just smudges the maroon. */
.site-footer h4 { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass-300); margin: 0 0 var(--space-3); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.site-footer a { color: var(--color-text-inverse-muted); text-decoration: none; }
.site-footer a:hover { color: var(--brass-200); }
.site-footer address { font-style: normal; line-height: 1.7; }

.pay-chips { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-4); }
.pay-chips span {
  font-size: 0.66rem; letter-spacing: 0.06em;
  border: 1px solid rgba(217, 180, 91, 0.3);
  border-radius: var(--radius-xs);
  padding: 0.3rem 0.5rem;
  color: var(--cream-200);
}

.legal {
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(217, 180, 91, 0.16);
  display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5);
  justify-content: space-between;
  font-size: 0.74rem;
  color: #A98F82;
}

/* ------------------------------------------------------------ float / misc */

.wa-float {
  position: fixed;
  right: var(--space-4);
  bottom: var(--space-4);
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.7rem 1.05rem;
  border-radius: var(--radius-pill);
  background: var(--brass-300);
  color: var(--maroon-950);
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
}
.wa-float:hover { background: var(--brass-200); color: var(--maroon-950); }

/* ------------------------------------------------------- forms / checkout */

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.field textarea {
  min-height: 96px;
  resize: vertical;
  padding: 0.6rem 0.75rem;
  font: inherit;
  font-size: 0.92rem;
  color: var(--maroon-900);
  background: #fff;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
}

.booking-form {
  background: #fff;
  border: 1px solid var(--cream-300);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 2rem);
  display: grid;
  gap: var(--space-4);
  margin-top: var(--space-5);
}

.booking-form__grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
}

.form-errors {
  margin-top: var(--space-5);
  padding: var(--space-4);
  border: 1px solid #9B2730;
  border-radius: var(--radius-md);
  background: rgba(155, 39, 48, 0.06);
  color: #7D1F27;
  font-size: 0.88rem;
}
.form-errors ul { margin: var(--space-2) 0 0; padding-left: 1.1rem; }

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.7rem;
  border: 1px solid currentColor;
}
.status-chip--paid { color: var(--color-success); background: rgba(31, 107, 74, 0.07); }
.status-chip--pending { color: var(--color-warning); background: rgba(138, 90, 16, 0.07); }
.status-chip--closed { color: #7D2A31; background: rgba(155, 39, 48, 0.07); }

.summary-list {
  list-style: none;
  margin: var(--space-5) 0 0;
  padding: 0;
  border: 1px solid var(--cream-300);
  border-radius: var(--radius-lg);
  background: #fff;
  overflow: hidden;
}
.summary-list li {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--cream-200);
  font-size: 0.9rem;
}
.summary-list li:last-child { border-bottom: 0; }
.summary-list li span:first-child { color: var(--color-text-muted); }
.summary-list li strong { font-family: var(--font-display); color: var(--maroon-900); }

@media (min-width: 640px) {
  .booking-form__grid { grid-template-columns: 1fr 1fr; }
  .booking-form__grid .field--full { grid-column: 1 / -1; }
}

.divider-gold {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, transparent, rgba(217, 180, 91, 0.5), transparent);
  margin: 0;
}

/* ------------------------------------------------------------ breakpoints */

/* On phones the header CTA would force the lockup to shrink; the hero search
   panel and the floating WhatsApp button carry conversion instead. */
@media (max-width: 559px) {
  .header-actions > .btn { display: none; }

  /* On a phone the hero is one long column of type over the photo, so the
     reassurance list moves below the primary button rather than pushing it under
     the fold, and the ghost WhatsApp button goes because the floating button
     covers it — the same trade the header CTA makes. */
  .hero__copy { display: flex; flex-direction: column; align-items: flex-start; }
  .hero__actions { order: 2; }
  .hero__meta { order: 3; margin-top: var(--space-4); }
  .hero__actions .btn--ghost { display: none; }
}

/* Compact lockup so "Tri Emas Manunggal" survives on a 320 px screen */
@media (max-width: 420px) {
  .site-header__inner { gap: var(--space-3); }
  .brand { gap: var(--space-2); }
  .brand__mark { height: 32px; }
  .brand__name { font-size: 0.82rem; letter-spacing: 0.02em; }
  .brand__sub { font-size: 0.5rem; letter-spacing: 0.28em; margin-top: 2px; }
}

@media (min-width: 560px) {
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .post-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .search-panel { grid-template-columns: repeat(2, 1fr); }
  .search-panel > .btn { grid-column: 1 / -1; }
}

@media (min-width: 768px) {
  .search-panel { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
  .step { padding-left: 0; padding-top: 3.6rem; }
  .step::before { top: 0; }
  .cta-band__inner { grid-template-columns: 1.4fr auto; }
}

@media (min-width: 960px) {
  .nav { display: block; }
  .header-phone { display: inline-flex; }
  .mobile-nav { display: none; }
  .trust { grid-template-columns: repeat(4, 1fr); }
  .review-grid { grid-template-columns: repeat(3, 1fr); }
  .post-grid { grid-template-columns: repeat(3, 1fr); }
  .blog-layout { grid-template-columns: minmax(0, 1fr) 320px; }
  .post-feature { grid-template-columns: 1.05fr 1fr; align-items: stretch; }
  .post-feature__media { height: 100%; aspect-ratio: auto; min-height: 320px; }
  .post-feature__body { padding: var(--space-5) var(--space-5) var(--space-5) 0; align-content: center; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}

@media (min-width: 1080px) {
  .search-panel {
    grid-template-columns: 1.1fr 1.1fr 0.9fr auto;
    align-items: end;
    padding: var(--space-4) var(--space-4) var(--space-4);
  }
  .search-panel > .btn { grid-column: auto; }
  .search-panel__title { grid-column: 1 / -1; }
}

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

/* ============================================================================
   CATALOGUE (Phase 2) — listing filters + product detail
   Appended to components.css; uses only brand-tokens.css variables.
   ========================================================================== */

.section--tight { padding: clamp(1.75rem, 3.5vw, 2.75rem) 0 clamp(2.5rem, 5vw, 4rem); }

/* On the cream reading surface the dark ghost button is unreadable. */
.btn--ghost-dark { color: var(--maroon-800); border-color: var(--color-border-strong); }
.btn--ghost-dark:hover { background: rgba(43, 11, 18, 0.06); color: var(--maroon-950); }

/* ------------------------------------------------------------- breadcrumbs */

.breadcrumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2);
  font-size: 0.76rem; color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}
.breadcrumbs a { color: var(--brass-700); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs--light { color: var(--color-text-inverse-muted); }
.breadcrumbs--light a { color: var(--brass-300); }

/* --------------------------------------------------------- listing header */

.catalogue-head {
  position: relative;
  overflow: hidden;
  color: var(--color-text-inverse);
  background: radial-gradient(120% 130% at 12% -30%, var(--maroon-700), var(--maroon-900) 48%, var(--maroon-950));
  padding: clamp(1.5rem, 3vw, 2.25rem) 0 clamp(2rem, 4vw, 3rem);
}
.catalogue-head__title { font-size: clamp(1.85rem, 4.2vw, 2.9rem); color: var(--cream-050); max-width: 22ch; }
.catalogue-head__lede { margin: var(--space-3) 0 0; max-width: 58ch; color: var(--color-text-inverse-muted); }
.catalogue-head__points {
  list-style: none; margin: var(--space-5) 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5);
  font-size: 0.82rem; color: var(--color-text-inverse-muted);
}
.catalogue-head__points li { display: flex; align-items: center; gap: 0.4rem; }
.catalogue-head__points li::before { content: "✓"; color: var(--brass-300); font-weight: 700; }

/* ---------------------------------------------------------------- filters */

.filters {
  background: #fff;
  border: 1px solid var(--cream-300);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  display: grid;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

.filters__bar { display: grid; gap: var(--space-3); }
.field--search input { min-height: 46px; }

.filters__reset {
  align-self: end;
  font-size: 0.8rem;
  color: var(--brass-700);
}

.filters__group {
  border: 0;
  border-top: 1px solid var(--cream-200);
  margin: 0;
  padding: var(--space-3) 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
}
.filters__group legend {
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: #7A5A5F;
  padding: 0; margin-bottom: var(--space-2);
}

.check {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.85rem; color: var(--maroon-900);
  cursor: pointer; padding: 0.3rem 0;
}
.check input { width: 17px; height: 17px; accent-color: var(--brass-500); flex: none; }
.check__count { color: var(--color-text-muted); font-size: 0.74rem; font-variant-numeric: tabular-nums; }
.check--empty { color: var(--color-text-muted); }
.check--empty input { opacity: 0.5; }
.check--sm { font-size: 0.8rem; }
.check__clear { font-size: 0.76rem; color: var(--brass-700); }

.range { display: grid; gap: var(--space-2); width: 100%; max-width: 340px; }
.range input[type="range"] { width: 100%; accent-color: var(--brass-500); min-height: 28px; }
.range output { font-family: var(--font-display); font-size: 1.02rem; color: var(--maroon-900); }

/* ------------------------------------------------------------ result meta */

.results-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--space-3); margin-bottom: var(--space-4);
}
.results-bar__count { margin: 0; font-size: 0.86rem; color: var(--color-text-muted); }
.results-bar__count strong { color: var(--maroon-900); }

.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; margin: 0; padding: 0; }
.chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.76rem; text-decoration: none;
  color: var(--maroon-800); background: var(--cream-100);
  border: 1px solid var(--cream-300); border-radius: var(--radius-pill);
  padding: 0.25rem 0.65rem;
}
.chip::after { content: "×"; color: var(--brass-700); font-weight: 700; }
.chip:hover { border-color: var(--brass-400); }

.empty-state {
  border: 1px dashed var(--cream-300); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem); text-align: center;
  background: #fff;
}
.empty-state p { margin: 0 0 var(--space-4); color: var(--color-text-muted); }
.empty-state__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: center; }

/* ------------------------------------------------------------------ pager */

.pager {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: var(--space-3); margin-top: var(--space-6);
}
.pager__pages { display: flex; gap: var(--space-1); list-style: none; margin: 0; padding: 0; }
.pager__pages a, .pager__pages span {
  display: grid; place-items: center;
  min-width: 38px; height: 38px; padding: 0 0.5rem;
  border: 1px solid var(--cream-300); border-radius: var(--radius-sm);
  font-size: 0.86rem; text-decoration: none; color: var(--maroon-900);
  background: #fff;
}
.pager__pages span[aria-current] { background: var(--maroon-900); color: var(--cream-050); border-color: var(--maroon-900); }
.pager__pages a:hover { border-color: var(--brass-400); color: var(--brass-700); }
.pager__step { font-size: 0.84rem; font-weight: 600; color: var(--brass-700); text-decoration: none; }

/* ----------------------------------------------------------- detail hero */

.detail-hero {
  color: var(--color-text-inverse);
  background: radial-gradient(110% 120% at 85% -10%, var(--maroon-700), var(--maroon-900) 55%, var(--maroon-950));
  padding: clamp(1.25rem, 2.5vw, 2rem) 0 clamp(2rem, 4vw, 3rem);
}
.detail-hero__grid { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.detail-hero__title { font-size: clamp(1.7rem, 4vw, 2.6rem); color: var(--cream-050); }
.detail-hero__lede { margin: var(--space-3) 0 0; color: var(--color-text-inverse-muted); max-width: 56ch; }

.detail-hero__facts {
  list-style: none; margin: var(--space-5) 0 0; padding: var(--space-4) 0 0;
  border-top: 1px solid rgba(217, 180, 91, 0.22);
  display: grid; gap: var(--space-3);
  font-size: 0.82rem;
}
.detail-hero__facts li { display: grid; gap: 0.1rem; }
.detail-hero__facts strong { color: var(--cream-100); font-weight: 600; }
.detail-hero__facts span { color: var(--color-text-inverse-muted); }

.detail-hero__media {
  position: relative; margin: 0;
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid rgba(217, 180, 91, 0.28);
  background: var(--maroon-900);
  aspect-ratio: 16 / 10;
}
.detail-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.detail-hero__media figcaption {
  position: absolute; inset-inline: 0; bottom: 0;
  padding: var(--space-3) var(--space-4);
  font-size: 0.72rem; color: var(--cream-200);
  background: linear-gradient(transparent, rgba(28, 6, 11, 0.85));
}
/* Licence credit sits on the photo because CC BY makes it a condition of use */
.detail-hero__credit {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.66rem;
  color: rgba(251, 246, 236, 0.72);
}
.detail-hero__placeholder {
  height: 100%; display: grid; place-items: center; gap: var(--space-3);
  text-align: center; padding: var(--space-5);
  color: var(--brass-300); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
  background:
    radial-gradient(90% 90% at 50% 40%, rgba(217, 180, 91, 0.12), transparent 60%),
    var(--maroon-900);
}
.detail-hero__placeholder span { max-width: 24ch; line-height: 1.6; }

/* ----------------------------------------------------------- detail body */

.detail-layout { display: grid; gap: clamp(2rem, 4vw, 3rem); }
.detail-main { display: grid; gap: clamp(1.75rem, 3vw, 2.5rem); min-width: 0; }

.prose { font-size: 0.98rem; color: var(--maroon-800); max-width: 68ch; }
.prose p { margin: 0 0 var(--space-4); }
.prose h2, .prose h3 { font-family: var(--font-display); color: var(--maroon-900); margin: var(--space-5) 0 var(--space-2); }
.prose ul, .prose ol { padding-left: 1.2rem; display: grid; gap: var(--space-2); }
.prose a { color: var(--brass-700); }

.detail-block { min-width: 0; }
.detail-block__title {
  font-family: var(--font-display); font-size: 1.3rem; color: var(--maroon-900);
  margin: 0 0 var(--space-4);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--cream-300);
}

/* timeline ------------------------------------------------------------- */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline__item {
  position: relative;
  display: grid; grid-template-columns: 4.5rem 1fr; gap: var(--space-3);
  padding: 0 0 var(--space-4);
}
.timeline__item::before {
  content: ""; position: absolute; left: 4.4rem; top: 0.55rem;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--brass-400);
  box-shadow: 0 0 0 3px rgba(217, 180, 91, 0.18);
}
.timeline__item::after {
  content: ""; position: absolute; left: 4.75rem; top: 1.15rem; bottom: 0;
  width: 1px; background: var(--cream-300);
}
.timeline__item:last-child::after { display: none; }
.timeline__time {
  font-family: var(--font-display); font-size: 0.86rem; color: var(--brass-700);
  font-variant-numeric: tabular-nums; padding-top: 0.15rem;
}
.timeline__body { padding-left: var(--space-3); }
.timeline__body h3 { font-size: 0.98rem; color: var(--maroon-900); }
.timeline__body p { margin: 0.2rem 0 0; font-size: 0.86rem; color: var(--color-text-muted); }

/* lists ---------------------------------------------------------------- */
.columns-2 { display: grid; gap: var(--space-5); }
.tick-list, .cross-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.tick-list li, .cross-list li {
  position: relative; padding-left: 1.6rem;
  font-size: 0.88rem; color: var(--maroon-800);
}
.tick-list li::before {
  content: "✓"; position: absolute; left: 0; top: -0.05rem;
  color: var(--color-success); font-weight: 700;
}
.cross-list li::before {
  content: "–"; position: absolute; left: 0; top: -0.05rem;
  color: #7D2A31; font-weight: 700;
}
.tick-list__title { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: #7A5A5F; margin-bottom: var(--space-2); }
.tick-list--sm li { font-size: 0.82rem; }

/* tables --------------------------------------------------------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--cream-300); border-radius: var(--radius-md); }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.86rem; background: #fff; }
.data-table th, .data-table td { text-align: left; padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--cream-200); }
.data-table thead th { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: #7A5A5F; background: var(--cream-050); }
.data-table tbody th { font-weight: 600; color: var(--maroon-900); }
.data-table tr:last-child th, .data-table tr:last-child td { border-bottom: 0; }

/* photo slides ---------------------------------------------------------
 * Same construction as the review slider: a plain sideways scroll container,
 * one frame per track width and no gap, so a swipe lands exactly on an index.
 * Without JavaScript every frame is still there to scroll through; the arrows
 * and thumbnails are hidden in the markup and revealed by photo-slideshow.js.
 */
.shots { display: grid; gap: var(--space-3); min-width: 0; }
.shots__track {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: stretch;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none;
  border-radius: var(--radius-lg);
}
.shots__track::-webkit-scrollbar { display: none; }
.shots__track:focus-visible { outline: 3px solid var(--brass-500); outline-offset: 3px; }
.shots__slide { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; display: flex; }
.shots__frame {
  flex: 1; margin: 0; display: flex; flex-direction: column;
  background: var(--maroon-900); border-radius: var(--radius-lg); overflow: hidden;
}
.shots__frame img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.shots__frame figcaption {
  display: flex; flex-wrap: wrap; gap: 0.15rem var(--space-3); justify-content: space-between;
  padding: var(--space-2) var(--space-3);
  font-size: 0.74rem; line-height: 1.45; color: var(--cream-200);
}
.shots__credit { color: var(--brass-300); }
.shots__bar { display: flex; align-items: center; justify-content: center; gap: var(--space-4); }
.shots__arrow {
  flex: none; width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--color-border-strong);
  background: #fff; color: var(--maroon-800); cursor: pointer;
  transition: background var(--dur-1) var(--ease-out), color var(--dur-1) var(--ease-out), opacity var(--dur-1) var(--ease-out);
}
.shots__arrow:hover:not(:disabled) { background: var(--maroon-900); color: var(--brass-200); border-color: var(--maroon-900); }
.shots__arrow:disabled { opacity: 0.35; cursor: default; }
.shots__count { margin: 0; font-size: 0.78rem; font-variant-numeric: tabular-nums; color: var(--color-text-muted); }
/* Wrapping, not a second scroll strip. Nine thumbnails in a non-wrapping flex
   row give the box a 1000 px intrinsic width, which the grid then propagates to
   the page — a phone got a 327 px horizontal scrollbar from four thumbnails it
   could not even see. Wrapping keeps the intrinsic width at one thumbnail. */
.shots__thumbs { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.shots__thumb {
  flex: 0 0 auto; width: 96px; padding: 0; aspect-ratio: 16 / 10;
  border: 2px solid transparent; border-radius: var(--radius-sm);
  background: var(--maroon-900); cursor: pointer; overflow: hidden; opacity: 0.7;
  transition: opacity var(--dur-1) var(--ease-out);
}
.shots__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.shots__thumb:hover { opacity: 1; }
.shots__thumb.is-active { border-color: var(--brass-400); opacity: 1; }

/* faq ------------------------------------------------------------------ */
.faq { display: grid; gap: var(--space-2); }
.faq__item {
  border: 1px solid var(--cream-300); border-radius: var(--radius-md);
  background: #fff; padding: var(--space-3) var(--space-4);
}
.faq__item summary {
  cursor: pointer; font-weight: 600; font-size: 0.9rem; color: var(--maroon-900);
  list-style: none; display: flex; justify-content: space-between; gap: var(--space-3);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; color: var(--brass-600); font-weight: 700; }
.faq__item[open] summary::after { content: "−"; }
.faq__item p { margin: var(--space-3) 0 0; font-size: 0.86rem; color: var(--color-text-muted); }

/* --------------------------------------------------------- booking widget */

.detail-aside { display: grid; gap: var(--space-4); align-content: start; min-width: 0; }

.booking-widget {
  background: #fff;
  border: 1px solid var(--cream-300);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--space-4);
  display: grid;
  gap: var(--space-4);
}
.booking-widget[data-loading="true"] [data-quote] { opacity: 0.55; transition: opacity var(--dur-1) var(--ease-out); }

.booking-widget__head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: var(--space-2); }
.booking-widget__head .price strong { font-size: 1.5rem; }
.booking-widget__form { display: grid; gap: var(--space-3); }
.booking-widget__pax { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.booking-widget__addons { border: 0; margin: 0; padding: 0; display: grid; gap: var(--space-1); }
.booking-widget__addons legend { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #7A5A5F; margin-bottom: var(--space-1); }
.booking-widget__tiers { font-size: 0.72rem; }

.booking-widget__total {
  border-top: 1px solid var(--cream-200);
  padding-top: var(--space-3);
  display: grid; gap: var(--space-2);
}
.booking-widget__line { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-3); font-size: 0.86rem; }
.booking-widget__line strong { font-family: var(--font-display); font-size: 1.25rem; color: var(--maroon-900); }
.booking-widget__line--muted { color: var(--color-text-muted); font-size: 0.8rem; }
.booking-widget__total .field__hint { margin: 0; }

.aside-card {
  background: var(--cream-050);
  border: 1px solid var(--cream-300);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  display: grid; gap: var(--space-3);
}
.aside-card__title { font-family: var(--font-display); font-size: 1.02rem; color: var(--maroon-900); }

/* ----------------------------------------------------------- testimonials */

.tst { margin-top: var(--space-5); }

.tst__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

.tst__score { display: grid; gap: 0.2rem; margin: 0; text-align: start; }
.tst__score > span:last-child { font-size: 0.78rem; color: var(--color-text-muted); }
.tst__score .rating { font-size: 1rem; }

/*
 * A plain scroll container: one slide per track-width, no gap. The cards carry
 * their own border instead of the layout carrying a gap, so a swipe never
 * drifts by a few pixels per slide — the scroll position maps to an index
 * exactly, at every viewport.
 */
.tst__track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  max-width: 760px;
  margin-inline: auto;
  border-radius: var(--radius-lg);
}
.tst__track::-webkit-scrollbar { display: none; }
.tst__track:focus-visible { outline: 3px solid var(--brass-500); outline-offset: 3px; }

.tst__slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
}

.tst__card {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: #fff;
  border: 1px solid var(--cream-300);
  border-radius: var(--radius-lg);
}

.tst__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3); }

.tst__quote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  line-height: 1.6;
  color: var(--maroon-800);
}

.tst__who {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: auto;
  padding-top: var(--space-3);
  border-top: 1px solid var(--cream-200);
}
.tst__who strong { display: block; font-size: 0.9rem; color: var(--maroon-900); }
.tst__who span { font-size: 0.76rem; color: var(--color-text-muted); }

/*
 * A block, not inline-flex: a long tour title has to wrap on a phone, and an
 * inline-flex anchor pushes the arrow out to the far edge of the card instead
 * of leaving it after the last word.
 */
.tst__product {
  align-self: flex-start;
  max-width: 100%;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--brass-700);
  text-decoration: none;
  border-bottom: 1px solid rgba(217, 180, 91, 0.5);
}
.tst__product:hover { color: var(--maroon-900); }
.tst__product .link-arrow { display: inline; font-size: 0.9rem; white-space: nowrap; margin-inline-start: 0.3rem; }

.tst__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-5);
}

.tst__nav {
  flex: none;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--color-border-strong);
  background: #fff;
  color: var(--maroon-800);
  cursor: pointer;
  transition: background var(--dur-1) var(--ease-out), color var(--dur-1) var(--ease-out), opacity var(--dur-1) var(--ease-out);
}
.tst__nav:hover:not(:disabled) { background: var(--maroon-900); color: var(--brass-200); border-color: var(--maroon-900); }
.tst__nav:disabled { opacity: 0.35; cursor: default; }

.tst__dots { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.5rem; }
.tst__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--brass-700);
  background: transparent;
  cursor: pointer;
  transition: background var(--dur-1) var(--ease-out), transform var(--dur-1) var(--ease-out);
}
.tst__dot:hover { background: rgba(217, 180, 91, 0.45); }
.tst__dot[aria-current="true"] { background: var(--brass-600); border-color: var(--brass-600); transform: scale(1.25); }

/* ---------------------------------------------------------------- contact */

.contact-layout {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}

.contact-form { margin-top: var(--space-5); }

/* Off-screen, not display:none — the field has to be posted for the model's
   max_length[0] rule to reject a bot that fills it. */
.contact-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}
.contact-form__foot .field__hint { max-width: 46ch; }

.field__optional {
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: none;
  color: #9A7A7F;
}

.contact-aside {
  display: grid;
  gap: var(--space-4);
  align-content: start;
}

.contact-details {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-4);
}
.contact-details li { display: grid; gap: 2px; font-size: 0.88rem; color: var(--maroon-900); }
.contact-details__label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7A5A5F;
}
.contact-details a {
  color: var(--maroon-900);
  text-decoration: none;
  border-bottom: 1px solid rgba(217, 180, 91, 0.55);
  justify-self: start;
}
.contact-details a:hover { color: var(--brass-700); }

.contact-hours {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-3);
  font-size: 0.84rem;
  color: var(--color-text-muted);
}
.contact-hours li { display: grid; gap: 1px; }
.contact-hours strong { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass-700); }

.notice {
  margin-top: var(--space-5);
  padding: var(--space-4);
  display: grid;
  gap: var(--space-2);
  justify-items: start;
  border: 1px solid var(--brass-400);
  border-radius: var(--radius-md);
  background: var(--cream-050);
  color: var(--maroon-900);
  font-size: 0.9rem;
}
.notice p { margin: 0; max-width: 60ch; color: var(--color-text-muted); }

/* The redirect lands on #sent / #form; without this the sticky header covers
   the first line of both. */
#sent,
#form { scroll-margin-top: calc(var(--header-h) + var(--space-4)); }

/* checkout add-ons reuse the filter checkbox */
.booking-form__addons { border: 1px solid var(--cream-200); border-radius: var(--radius-md); padding: var(--space-3) var(--space-4); display: grid; gap: var(--space-1); }
.booking-form__addons legend { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #7A5A5F; padding: 0 var(--space-2); }

/* ------------------------------------------------------------ breakpoints */

@media (min-width: 640px) {
  .filters__bar { grid-template-columns: 1.6fr 1fr auto; align-items: end; }
  .filters__reset { grid-column: 1 / -1; }
  .detail-hero__facts { grid-template-columns: repeat(2, 1fr); }
  .columns-2 { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 960px) {
  .detail-hero__grid { grid-template-columns: 1.05fr 0.95fr; align-items: center; }
  .detail-hero__facts { grid-template-columns: 1fr; }
  .detail-layout { grid-template-columns: minmax(0, 1fr) 380px; align-items: start; }
  .contact-layout { grid-template-columns: minmax(0, 1fr) 340px; }
  .contact-aside { position: sticky; top: calc(var(--header-h) + var(--space-4)); }
  /* The widget follows the reader down the long itinerary. */
  .detail-aside { position: sticky; top: calc(var(--header-h) + var(--space-4)); }
  .filters__bar { grid-template-columns: 1.6fr 1fr auto auto; }
  .tour-grid--lead { grid-template-columns: minmax(0, 420px); }
  .filters__reset { grid-column: auto; }
}

/*
 * 960–1079 px: the lockup, five nav links, the number and the CTA do not fit on
 * one line — at 960 the number and the CTA each wrapped, leaving a header full
 * of two-line blocks 12 px apart. The number becomes a 42 px telephone button
 * (the link still dials, and its aria-label carries the digits) and the menu
 * gets room to breathe again. From 1080 px there is slack for the full number.
 */
@media (min-width: 960px) and (max-width: 1079px) {
  /* The slack goes before the menu, so the actions keep a real gap from it. */
  .site-header__inner { gap: var(--space-5); }
  .nav ul { gap: var(--space-4); }

  .header-phone {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(217, 180, 91, 0.35);
    border-radius: var(--radius-sm);
    color: var(--brass-200);
    transition: background var(--dur-1) var(--ease-out), border-color var(--dur-1) var(--ease-out);
  }
  .header-phone:hover,
  .header-phone:focus-visible {
    background: rgba(217, 180, 91, 0.12);
    border-color: rgba(217, 180, 91, 0.6);
  }
  .header-phone__icon { display: block; }
  .header-phone__icon svg { display: block; }
  .header-phone__text { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  /* A slide change is a page-height change for the reader; jump, do not glide. */
  .tst__track { scroll-behavior: auto; }
}

@media (max-width: 420px) {
  .timeline__item { grid-template-columns: 3.4rem 1fr; }
  .timeline__item::before { left: 3.32rem; }
  .timeline__item::after { left: 3.66rem; }
  .booking-widget__pax { grid-template-columns: 1fr 1fr; }
}

/*
 * ---------------------------------------------------------------------------
 * Payment page (checkout/pay.php)
 * ---------------------------------------------------------------------------
 * Deliberately plain: two cards that stack on a phone, a big amount, and the
 * account numbers in a monospace face so a person copying one by eye does not
 * confuse 0 and O. The QRIS image sits on white because a scanner needs the
 * quiet zone around the code, whatever the page background is.
 */
.pay-amount {
  display: grid;
  gap: 0.15rem;
  padding: var(--space-5);
  border: 1px solid var(--brass-300, #D9B45B);
  border-radius: var(--radius-lg, 14px);
  background: rgba(217, 180, 91, 0.1);
  margin: var(--space-5) 0;
}
.pay-amount span {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-700, #7A5A1E);
}
.pay-amount strong {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 1.1;
  color: var(--maroon-900);
}
.pay-amount small { color: var(--color-text-muted); }

/* The deposit/full choice: two links, so it works with no JavaScript and is
   still two big tap targets on a phone. The chosen one is outlined in brass. */
.pay-choice {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin: 0 0 var(--space-4);
}
.pay-choice__option {
  display: grid;
  gap: 0.2rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--cream-300, #E4D5C1);
  border-radius: var(--radius-lg, 14px);
  background: #fff;
  color: var(--maroon-900);
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.pay-choice__option:hover { border-color: var(--brass-300, #D9B45B); }
.pay-choice__option.is-active {
  border-color: var(--brass-400, #C79F45);
  background: rgba(217, 180, 91, 0.12);
  box-shadow: inset 0 0 0 1px var(--brass-400, #C79F45);
}
.pay-choice__option em {
  font-style: normal;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-700, #7A5A1E);
}
.pay-choice__option strong { font-size: 0.98rem; }
.pay-choice__option span { font-size: 0.82rem; color: var(--color-text-muted); }

/* Numbered next-steps on the thank-you screen. The dark .step variant above is
   for the homepage band; this one sits on cream and must stay readable there. */
.thanks-steps {
  list-style: none;
  margin: var(--space-4) 0 0;
  padding: 0;
  display: grid;
  gap: var(--space-4);
  counter-reset: thanks;
}
.thanks-steps li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: var(--space-3);
  align-items: start;
}
.thanks-steps li::before {
  counter-increment: thanks;
  content: counter(thanks);
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(199, 159, 69, 0.55);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--brass-700, #7A5A1E);
}
.thanks-steps strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--maroon-800);
}
.thanks-steps p { margin: 0.2rem 0 0; font-size: 0.86rem; color: var(--color-text-muted); line-height: 1.6; }

.pay-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin: var(--space-5) 0;
}

.pay-card {
  border: 1px solid var(--cream-300, #E4D5C1);
  border-radius: var(--radius-lg, 14px);
  background: #fff;
  padding: var(--space-5);
  margin: var(--space-4) 0;
}
.pay-grid .pay-card { margin: 0; }
.pay-card h2 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0 0 0.35rem;
  color: var(--maroon-900);
}
.pay-card__hint { color: var(--color-text-muted); font-size: 0.9rem; margin: 0 0 var(--space-3); }

.pay-accounts { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.pay-accounts li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--cream-200, #EFE3D2);
  border-radius: 10px;
}
.pay-accounts__bank { display: block; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass-700, #7A5A1E); }
.pay-accounts__number { display: block; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 1.02rem; letter-spacing: 0.04em; color: var(--maroon-900); }
.pay-accounts__holder { display: block; font-size: 0.8rem; color: var(--color-text-muted); }

.pay-qris {
  display: block;
  width: 100%;
  max-width: 240px;
  height: auto;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--cream-200, #EFE3D2);
  border-radius: 10px;
}

.pay-form { display: grid; gap: var(--space-4); justify-items: start; }
.pay-form fieldset { border: 1px solid var(--cream-200, #EFE3D2); border-radius: 10px; padding: 0.6rem 0.85rem; }
.pay-form legend { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-text-muted); padding: 0 0.4rem; }
.pay-form .field { width: 100%; }

.form-note {
  border: 1px solid var(--cream-300, #E4D5C1);
  border-left: 4px solid var(--brass-500, #B8912F);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  font-size: 0.92rem;
  line-height: 1.6;
  background: rgba(217, 180, 91, 0.08);
  margin: var(--space-4) 0;
}
.form-note--ok {
  border-left-color: #1F6B4A;
  background: rgba(31, 107, 74, 0.07);
}
