/* ==========================================================================
   MIGOMBANI HOMESTAY — COMPONENTS
   ========================================================================== */

/* ==========================================================================
   1. BUTTONS
   ========================================================================== */

.btn {
  --btn-bg: var(--brand);
  --btn-fg: var(--on-brand);
  --btn-line: transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .625rem;
  min-height: 48px;                       /* touch target */
  padding: .875rem 1.75rem;
  border: 1px solid var(--btn-line);
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform var(--t-base) var(--e-spring),
    box-shadow var(--t-base) var(--e-soft),
    background-color var(--t-base) var(--e-soft),
    color var(--t-base) var(--e-soft),
    border-color var(--t-base) var(--e-soft);
  box-shadow: var(--sh-sm);
}
/* Sheen that sweeps across on hover */
.btn::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 20%, rgb(255 255 255 / .28) 46%, transparent 68%);
  transform: translateX(-120%);
  transition: transform 720ms var(--e-out);
}
.btn:hover::before { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }
.btn:active { transform: translateY(0) scale(.985); transition-duration: 90ms; }
.btn[disabled], .btn[aria-disabled='true'] {
  opacity: .45; pointer-events: none; box-shadow: none;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

.btn-accent  { --btn-bg: var(--accent); --btn-fg: var(--on-accent); }
.btn-accent:hover { --btn-bg: var(--accent-strong); box-shadow: var(--sh-glow); }

.btn-pop     { --btn-bg: var(--pop); --btn-fg: var(--on-pop); }

.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-line: var(--line-strong);
  box-shadow: none;
}
.btn-ghost:hover { --btn-bg: color-mix(in oklab, var(--brand) 8%, transparent); --btn-line: var(--brand); box-shadow: var(--sh-sm); }

.btn-glass {
  --btn-bg: var(--glass-bg);
  --btn-fg: var(--ink);
  --btn-line: var(--glass-line);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.6);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.6);
}
.btn-glass:hover { --btn-bg: var(--glass-bg-2); }

/* A long label ("Send on WhatsApp instead") must not force a grid column
   wider than the screen — let it wrap once there is no room. */
@media (max-width: 30rem) {
  .btn { white-space: normal; text-align: center; padding-inline: 1.25rem; line-height: 1.3; }
  .btn-lg { padding-inline: 1.5rem; }
}

.btn-sm { min-height: 40px; padding: .55rem 1.1rem; font-size: var(--fs-2xs); }
.btn-lg { min-height: 58px; padding: 1.15rem 2.5rem; font-size: var(--fs-base); }
.btn-block { width: 100%; }

.btn-icon {
  min-height: 44px; width: 44px; padding: 0;
  border-radius: var(--r-pill);
}
.btn-icon svg { width: 1.25rem; height: 1.25rem; }

/* Loading state */
.btn.is-busy { pointer-events: none; color: transparent; }
.btn.is-busy::after {
  content: '';
  position: absolute; inset: 0; margin: auto;
  width: 1.15rem; height: 1.15rem;
  border: 2px solid color-mix(in oklab, var(--btn-fg) 35%, transparent);
  border-top-color: var(--btn-fg);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   2. GLASS SURFACES & CARDS
   ========================================================================== */

.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-line);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.7);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.7);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
  position: relative;
}
/* Inner top highlight — what makes glass read as glass */
.glass::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, rgb(255 255 255 / .55), rgb(255 255 255 / .04) 42%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
:root[data-theme='dark'] .glass::before {
  background: linear-gradient(160deg, rgb(255 255 255 / .18), rgb(255 255 255 / .02) 42%, transparent 70%);
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  transition: transform var(--t-base) var(--e-out), box-shadow var(--t-base) var(--e-soft), border-color var(--t-base) var(--e-soft);
}
.card-pad { padding: clamp(1.25rem, 2.5vw, 2rem); }

.card-hover:hover, .card-hover:focus-within {
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
  border-color: var(--line-strong);
}

/* Media inside a card */
.card-media {
  position: relative;
  overflow: hidden;
  background: var(--surface-sunk);
}
.card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--e-out), filter 600ms var(--e-soft);
}
.card-hover:hover .card-media img,
.card-hover:focus-within .card-media img { transform: scale(1.06); }

.ratio-4-3  { aspect-ratio: 4 / 3; }
.ratio-3-2  { aspect-ratio: 3 / 2; }
.ratio-16-9 { aspect-ratio: 16 / 9; }
.ratio-1-1  { aspect-ratio: 1 / 1; }
.ratio-3-4  { aspect-ratio: 3 / 4; }
.ratio-2-3  { aspect-ratio: 2 / 3; }

/* Scrim so white text stays legible on any photograph */
.scrim::after {
  content: ''; position: absolute; inset: 0;
  background: var(--scrim-bottom);
  pointer-events: none;
}
.scrim-full::after { background: linear-gradient(to top, rgb(4 20 14 / .92), rgb(4 20 14 / .35) 55%, rgb(4 20 14 / .15)); }

/* Chips / pills */
.chip {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .38rem .8rem;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: var(--fs-3xs);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-2);
  white-space: nowrap;
}
.chip-accent { background: color-mix(in oklab, var(--accent) 22%, transparent); border-color: color-mix(in oklab, var(--accent) 45%, transparent); color: var(--accent-ink); }
.chip-glass {
  background: rgb(255 255 255 / .14);
  border-color: rgb(255 255 255 / .26);
  color: #fff;
  backdrop-filter: blur(10px) saturate(1.5);
  -webkit-backdrop-filter: blur(10px) saturate(1.5);
}
.chip svg { width: .95em; height: .95em; }

/* Interactive filter chip */
.chip-btn { cursor: pointer; transition: all var(--t-fast) var(--e-soft); min-height: 40px; padding-inline: 1rem; }
.chip-btn:hover { border-color: var(--brand); color: var(--ink); }
.chip-btn[aria-pressed='true'], .chip-btn.is-on {
  background: var(--brand); border-color: var(--brand); color: var(--on-brand);
}

/* Price tag that floats on a photo */
.price-tag {
  position: absolute; z-index: 2;
  left: 1rem; bottom: 1rem;
  display: flex; align-items: baseline; gap: .45rem;
  padding: .55rem 1rem;
  border-radius: var(--r-pill);
  background: rgb(255 255 255 / .16);
  border: 1px solid rgb(255 255 255 / .3);
  backdrop-filter: blur(16px) saturate(1.6);
  -webkit-backdrop-filter: blur(16px) saturate(1.6);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgb(0 0 0 / .5);
}
.price-tag .amount { font-family: var(--font-display); font-size: var(--fs-lg); line-height: 1; }
.price-tag .per { font-family: var(--font-mono); font-size: var(--fs-3xs); letter-spacing: .08em; opacity: .82; }
.price-tag .from { font-family: var(--font-mono); font-size: var(--fs-3xs); letter-spacing: .12em; text-transform: uppercase; opacity: .8; }

.badge-float {
  position: absolute; z-index: 2; top: 1rem; left: 1rem;
}

/* ==========================================================================
   3. HEADER / NAVIGATION
   ========================================================================== */

.header {
  position: fixed; inset: 0 0 auto 0;
  z-index: var(--z-header);
  height: var(--header-h);
  display: flex; align-items: center;
  transition: height var(--t-base) var(--e-soft), background-color var(--t-base) var(--e-soft),
              border-color var(--t-base) var(--e-soft), box-shadow var(--t-base) var(--e-soft);
  border-bottom: 1px solid transparent;
}
.header::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--glass-bg-2);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  opacity: 0;
  transition: opacity var(--t-base) var(--e-soft);
}
.header.is-stuck::before { opacity: 1; }
.header.is-stuck { border-bottom-color: var(--line); box-shadow: var(--sh-sm); }
.header.is-hidden { transform: translateY(-100%); }
.header { transition-property: transform, height, background-color, border-color, box-shadow; }

/* Over the hero the header text is white; once stuck it uses theme ink. */
.header.is-over-hero { color: #fff; }
.header.is-over-hero .nav-link { color: rgb(255 255 255 / .86); }
.header.is-over-hero .nav-link:hover { color: #fff; }
.header.is-over-hero .icon-btn { color: #fff; border-color: rgb(255 255 255 / .28); }

.header .wrap-wide { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); width: 100%; }

.brand { display: flex; align-items: center; gap: .7rem; flex: none; }
.brand img { height: 44px; width: auto; transition: height var(--t-base) var(--e-soft); }
.header.is-stuck .brand img { height: 38px; }
/* The logo artwork is dark green — invert it to cream over the hero photo */
.header.is-over-hero .brand img { filter: brightness(0) invert(1); }
:root[data-theme='dark'] .brand img { filter: brightness(0) invert(1) sepia(.18) saturate(1.4) hue-rotate(88deg) brightness(1.05); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .brand img { filter: brightness(0) invert(1) sepia(.18) saturate(1.4) hue-rotate(88deg) brightness(1.05); }
}
.brand-text { display: none; line-height: 1.05; }
.brand-text b { display: block; font-family: var(--font-display); font-size: 1.05rem; font-weight: 500; letter-spacing: .01em; }
.brand-text span { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; opacity: .78; }
@media (min-width: 30rem) { .brand-text { display: block; } }

.nav { display: none; align-items: center; gap: clamp(.25rem, 1.4vw, 1.1rem); }
@media (min-width: 62rem) { .nav { display: flex; } }

.nav-link {
  position: relative;
  padding: .55rem .55rem;
  font-size: var(--fs-sm);
  font-weight: 400;
  letter-spacing: .01em;
  color: var(--ink-2);
  transition: color var(--t-fast) var(--e-soft);
  white-space: nowrap;
}
.nav-link::after {
  content: '';
  position: absolute; left: .55rem; right: .55rem; bottom: .18rem;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform var(--t-base) var(--e-out);
}
.nav-link:hover { color: var(--ink); }
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-link[aria-current='page'] { color: var(--ink); }
.nav-link[aria-current='page']::after { transform: scaleX(1); background: var(--accent); height: 2px; }

.header-actions { display: flex; align-items: center; gap: .5rem; flex: none; }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
  transition: all var(--t-fast) var(--e-soft);
}
.icon-btn:hover { color: var(--ink); border-color: var(--line-strong); background: var(--surface-2); }
.icon-btn svg { width: 1.15rem; height: 1.15rem; }
.icon-btn .lang-code { font-family: var(--font-mono); font-size: .72rem; font-weight: 500; letter-spacing: .04em; }

.header .btn { display: none; }
@media (min-width: 48rem) { .header .btn { display: inline-flex; } }

.burger { display: inline-grid; }
@media (min-width: 62rem) { .burger { display: none; } }
.burger-lines { display: block; width: 18px; height: 12px; position: relative; }
.burger-lines i {
  position: absolute; left: 0; right: 0; height: 1.5px;
  background: currentColor; border-radius: 2px;
  transition: transform var(--t-base) var(--e-out), opacity var(--t-fast) var(--e-soft);
}
.burger-lines i:nth-child(1) { top: 0; }
.burger-lines i:nth-child(2) { top: 5.25px; }
.burger-lines i:nth-child(3) { top: 10.5px; }
.burger[aria-expanded='true'] i:nth-child(1) { transform: translateY(5.25px) rotate(45deg); }
.burger[aria-expanded='true'] i:nth-child(2) { opacity: 0; transform: scaleX(.4); }
.burger[aria-expanded='true'] i:nth-child(3) { transform: translateY(-5.25px) rotate(-45deg); }

/* ── Mobile drawer ───────────────────────────────────────────────────── */
.drawer {
  position: fixed; inset: 0;
  z-index: var(--z-drawer);
  visibility: hidden;
  /* The panel parks off-canvas at translateX(100%). Being fixed, it is not
     clipped by body's overflow, so clip it here or it widens the document. */
  overflow: hidden;
}
.drawer.is-open { visibility: visible; }
.drawer-scrim {
  position: absolute; inset: 0;
  background: rgb(3 11 8 / .6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity var(--t-base) var(--e-soft);
}
.drawer.is-open .drawer-scrim { opacity: 1; }
.drawer-panel {
  position: absolute; inset: 0 0 0 auto;
  width: min(24rem, 88vw);
  background: var(--surface);
  border-left: 1px solid var(--line);
  box-shadow: var(--sh-xl);
  padding: calc(var(--header-h) + 1rem) var(--sp-6) var(--sp-8);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--t-slow) var(--e-out);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.drawer.is-open .drawer-panel { transform: none; }
.drawer-close { position: absolute; top: 1.1rem; right: var(--sp-6); }
.drawer-nav { display: flex; flex-direction: column; gap: .25rem; margin-bottom: var(--sp-6); }
.drawer-nav a {
  display: flex; align-items: baseline; gap: .9rem;
  padding: .85rem 0;
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateX(18px);
  transition: opacity var(--t-slow) var(--e-out), transform var(--t-slow) var(--e-out), color var(--t-fast) var(--e-soft);
}
.drawer.is-open .drawer-nav a { opacity: 1; transform: none; }
.drawer-nav a:hover { color: var(--brand); }
.drawer-nav a[aria-current='page'] { color: var(--brand); }
.drawer-nav a i {
  font-family: var(--font-mono); font-style: normal;
  font-size: .62rem; letter-spacing: .12em; color: var(--ink-3);
}
.drawer-foot { margin-top: auto; padding-top: var(--sp-6); }
.drawer-contact { display: flex; flex-direction: column; gap: .25rem; margin-top: var(--sp-5); font-size: var(--fs-sm); color: var(--ink-2); }
/* This is the mobile menu — these are thumb targets, not inline text. */
.drawer-contact a {
  display: flex; align-items: center; gap: .6rem;
  min-height: 44px; padding-block: .35rem;
  transition: color var(--t-fast) var(--e-soft);
}
.drawer-contact a:hover { color: var(--brand); }
.drawer-contact svg { width: 1rem; height: 1rem; color: var(--brand); flex: none; }

/* Scroll progress line under the header */
.progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 2px; z-index: calc(var(--z-header) + 1);
  background: transparent; pointer-events: none;
}
.progress i {
  display: block; height: 100%; width: 100%;
  transform: scaleX(var(--p, 0)); transform-origin: left;
  background: linear-gradient(to right, var(--forest-400), var(--accent), var(--pop));
}

/* ==========================================================================
   4. HERO
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1600ms var(--e-soft);
}
.hero-slide.is-on { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 55%;
}
.ken-burns { animation: ken 22s var(--e-inout) infinite alternate; }
@keyframes ken {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to   { transform: scale(1.16) translate3d(-1.5%, -1.5%, 0); }
}
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background:
    var(--scrim-bottom),
    var(--scrim-top),
    radial-gradient(120% 80% at 20% 100%, rgb(6 32 23 / .55), transparent 60%);
}

.hero-body {
  position: relative; z-index: 1;
  padding-block: calc(var(--header-h) + 3rem) clamp(7rem, 14vw, 11rem);
  width: 100%;
}
.hero h1 {
  font-size: var(--fs-hero);
  line-height: .96;
  letter-spacing: -.03em;
  max-width: 16ch;
  margin-bottom: var(--sp-5);
  text-shadow: 0 2px 40px rgb(0 0 0 / .3);
}
/* Narrow screens wrap a line in two. The desktop leading is tight enough
   that a wrapped line would collide with the one below it. */
@media (max-width: 46rem) {
  .hero h1 { line-height: 1.06; letter-spacing: -.02em; max-width: 100%; }
  .hero h1 .split-line { margin-bottom: 0; }
}
.hero h1 em {
  font-style: italic;
  color: var(--banana-300);
}
.hero .lead {
  color: rgb(255 255 255 / .88);
  max-width: 42ch;
  font-size: var(--fs-md);
  text-shadow: 0 1px 20px rgb(0 0 0 / .4);
}
.hero .eyebrow { color: var(--banana-300); }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: var(--sp-6); }

/* Slide dots */
.hero-dots {
  position: absolute; z-index: 2;
  right: var(--gutter); bottom: clamp(7rem, 14vw, 11rem);
  display: flex; flex-direction: column; gap: .55rem;
}
/* The dot is 10px but the tappable area is 34px — the ring is drawn by the
   pseudo-element so the hit box can be far larger than the mark. */
.hero-dots button {
  position: relative;
  width: 34px; height: 34px; padding: 0;
  border: 0; background: none;
  cursor: pointer;
  display: grid; place-items: center;
}
.hero-dots button::after {
  content: '';
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 1px solid rgb(255 255 255 / .7);
  transition: all var(--t-base) var(--e-out);
}
.hero-dots button:hover::after { border-color: #fff; transform: scale(1.2); }
.hero-dots button[aria-selected='true']::after { background: var(--accent); border-color: var(--accent); transform: scale(1.35); }
@media (max-width: 47.99rem) { .hero-dots { flex-direction: row; bottom: auto; top: calc(var(--header-h) + 1rem); } }

/* Scroll cue */
.scroll-cue {
  position: absolute; z-index: 2;
  left: 50%; bottom: 1.5rem; transform: translateX(-50%);
  display: none; flex-direction: column; align-items: center; gap: .5rem;
  font-family: var(--font-mono); font-size: var(--fs-3xs);
  letter-spacing: var(--ls-label); text-transform: uppercase;
  color: rgb(255 255 255 / .7);
}
@media (min-width: 48rem) { .scroll-cue { display: flex; } }
.scroll-cue i { display: block; width: 1px; height: 44px; background: linear-gradient(to bottom, transparent, currentColor); position: relative; overflow: hidden; }
.scroll-cue i::after {
  content: ''; position: absolute; inset: 0;
  background: var(--accent);
  animation: cue 2.2s var(--e-inout) infinite;
}
@keyframes cue { 0% { transform: translateY(-100%); } 60%,100% { transform: translateY(100%); } }

/* ==========================================================================
   5. SEARCH / BOOKING BAR
   ========================================================================== */

.searchbar {
  position: relative;
  z-index: var(--z-sticky);
  margin-top: 1.25rem;
}
/* Only pull the bar up over the hero once it is a single row — stacked, it
   is tall enough to cover the heading it is meant to sit below. */
@media (min-width: 56rem) {
  .searchbar { margin-top: -3.75rem; }
}
.searchbar-inner {
  display: grid;
  gap: .5rem;
  padding: .5rem;
  border-radius: var(--r-xl);
  background: var(--glass-bg-2);
  border: 1px solid var(--glass-line);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  box-shadow: var(--sh-lg);
  grid-template-columns: 1fr;
}
@media (min-width: 56rem) {
  .searchbar-inner { grid-template-columns: 1.1fr 1.1fr 1fr auto; align-items: stretch; }
}
.sb-field {
  position: relative;
  display: flex; flex-direction: column; justify-content: center;
  gap: .1rem;
  min-height: 62px;
  padding: .6rem 1.2rem;
  border-radius: var(--r-lg);
  background: transparent;
  border: 1px solid transparent;
  text-align: left;
  cursor: pointer;
  transition: background-color var(--t-fast) var(--e-soft), border-color var(--t-fast) var(--e-soft);
  width: 100%;
}
.sb-field:hover { background: color-mix(in oklab, var(--surface) 60%, transparent); }
.sb-field[aria-expanded='true'] { background: var(--surface); border-color: var(--line-strong); }
.sb-field + .sb-field { border-left: 1px solid var(--line); border-radius: var(--r-lg); }
@media (max-width: 55.99rem) { .sb-field + .sb-field { border-left: 0; border-top: 1px solid var(--line); } }
.sb-label {
  font-family: var(--font-mono); font-size: var(--fs-3xs);
  letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--ink-3);
}
.sb-value { font-size: var(--fs-sm); color: var(--ink); font-weight: 400; }
.sb-value.is-empty { color: var(--ink-3); }
.searchbar .btn { border-radius: var(--r-lg); min-height: 62px; }

/* Popovers used by the search bar */
.popover {
  position: absolute; z-index: var(--z-modal);
  top: calc(100% + .5rem); left: 0;
  min-width: 18rem;
  padding: var(--sp-5);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xl);
  opacity: 0; transform: translateY(-8px) scale(.98);
  visibility: hidden;
  transition: opacity var(--t-base) var(--e-out), transform var(--t-base) var(--e-out), visibility var(--t-base);
}
.popover.is-open { opacity: 1; transform: none; visibility: visible; }
.popover-right { left: auto; right: 0; }
@media (max-width: 40rem) {
  .popover { position: fixed; inset: auto 0 0 0; top: auto; border-radius: var(--r-xl) var(--r-xl) 0 0; transform: translateY(100%); max-height: 82svh; overflow-y: auto; }
  .popover.is-open { transform: none; }
}

/* Guest stepper */
.stepper-row { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5); padding-block: .75rem; }
.stepper-row + .stepper-row { border-top: 1px solid var(--line); }
.stepper-row b { display: block; font-weight: 500; font-size: var(--fs-sm); }
.stepper-row small { color: var(--ink-3); font-size: var(--fs-2xs); }
.stepper { display: flex; align-items: center; gap: .35rem; }
.stepper button {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: transparent; color: var(--ink);
  cursor: pointer;
  transition: all var(--t-fast) var(--e-soft);
}
.stepper button:hover:not([disabled]) { border-color: var(--brand); background: var(--brand); color: var(--on-brand); }
.stepper button[disabled] { opacity: .32; cursor: not-allowed; }
.stepper output { min-width: 2.2rem; text-align: center; font-family: var(--font-mono); font-size: var(--fs-sm); }

/* ==========================================================================
   6. DATE PICKER
   ========================================================================== */

.dp { --dp-cell: 2.5rem; user-select: none; }
.dp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--sp-4); gap: var(--sp-4); }
.dp-title { font-family: var(--font-display); font-size: var(--fs-lg); }
.dp-nav { display: flex; gap: .35rem; }
.dp-nav button {
  width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--line); background: transparent;
  color: var(--ink-2); cursor: pointer; transition: all var(--t-fast) var(--e-soft);
}
.dp-nav button:hover:not([disabled]) { border-color: var(--brand); color: var(--ink); }
.dp-nav button[disabled] { opacity: .3; cursor: not-allowed; }
.dp-nav svg { width: 1rem; height: 1rem; }

.dp-months { display: grid; gap: var(--sp-6); grid-template-columns: 1fr; }
@media (min-width: 44rem) { .dp-months { grid-template-columns: 1fr 1fr; } }

.dp-month-title {
  font-family: var(--font-display); font-size: var(--fs-md);
  text-align: center; margin-bottom: var(--sp-3); font-weight: 400;
}
.dp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.dp-dow {
  font-family: var(--font-mono); font-size: var(--fs-3xs);
  text-align: center; color: var(--ink-3); padding-block: .4rem;
  letter-spacing: .06em;
}
.dp-day {
  position: relative;
  aspect-ratio: 1;
  min-height: var(--dp-cell);
  display: grid; place-items: center;
  border: 0; background: transparent;
  color: var(--ink);
  font-size: var(--fs-sm);
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  border-radius: var(--r-sm);
  transition: background-color var(--t-fast) var(--e-soft), color var(--t-fast) var(--e-soft);
}
.dp-day:hover:not(:disabled) { background: var(--surface-2); }
.dp-day:disabled { color: var(--ink-3); opacity: .38; cursor: not-allowed; text-decoration: line-through; }
.dp-day.is-empty { visibility: hidden; pointer-events: none; }
.dp-day.in-range { background: color-mix(in oklab, var(--brand) 12%, transparent); border-radius: 0; }
.dp-day.is-start, .dp-day.is-end {
  background: var(--brand); color: var(--on-brand); font-weight: 500;
}
.dp-day.is-start { border-radius: var(--r-sm) 0 0 var(--r-sm); }
.dp-day.is-end   { border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.dp-day.is-start.is-end { border-radius: var(--r-sm); }
.dp-day.is-today::after {
  content: ''; position: absolute; bottom: .28rem; left: 50%; transform: translateX(-50%);
  width: 3px; height: 3px; border-radius: 50%; background: var(--accent);
}
.dp-day.is-start.is-today::after, .dp-day.is-end.is-today::after { background: var(--on-brand); }
.dp-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-4); margin-top: var(--sp-5); padding-top: var(--sp-4);
  border-top: 1px solid var(--line);
}
.dp-hint { font-size: var(--fs-2xs); color: var(--ink-3); }

/* ==========================================================================
   7. FORMS
   ========================================================================== */

.field { display: flex; flex-direction: column; gap: .4rem; }
.field > label, .field-label {
  font-family: var(--font-mono);
  font-size: var(--fs-3xs);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--ink-2);
}
.field > label .opt { text-transform: none; letter-spacing: .02em; color: var(--ink-3); }

.input, .select, .textarea {
  width: 100%;
  min-height: 52px;
  padding: .85rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  color: var(--ink);
  font-size: var(--fs-base);
  transition: border-color var(--t-fast) var(--e-soft), box-shadow var(--t-fast) var(--e-soft), background-color var(--t-fast) var(--e-soft);
}
.input::placeholder, .textarea::placeholder { color: var(--ink-3); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--brand); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--brand) 18%, transparent);
}
.textarea { min-height: 8rem; resize: vertical; line-height: 1.6; }

.select {
  appearance: none;
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23667A70' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.15rem;
  cursor: pointer;
}
:root[data-theme='dark'] .select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236E8B7E' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}

.field.has-error .input, .field.has-error .select, .field.has-error .textarea {
  border-color: var(--danger);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--danger) 15%, transparent);
}
.field-error {
  display: flex; align-items: center; gap: .4rem;
  font-size: var(--fs-2xs); color: var(--danger);
  min-height: 0; overflow: hidden;
}
.field-error svg { width: .95rem; height: .95rem; flex: none; }
.field-hint { font-size: var(--fs-2xs); color: var(--ink-3); }

/* Checkbox */
.check { position: relative; display: flex; align-items: flex-start; gap: .75rem; cursor: pointer; font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.55; }
/* Kept in the layout (not display:none) so it stays focusable and hit-testable,
   but sized to the visible box it sits behind. */
.check input { position: absolute; opacity: 0; inset: 0 auto auto 0; width: 22px; height: 22px; margin: 0; cursor: pointer; }
.check i {
  flex: none; display: grid; place-items: center;
  width: 22px; height: 22px; margin-top: .1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xs);
  background: var(--surface);
  transition: all var(--t-fast) var(--e-soft);
}
.check i svg { width: .85rem; height: .85rem; color: var(--on-brand); opacity: 0; transform: scale(.5); transition: all var(--t-fast) var(--e-spring); }
.check input:checked + i { background: var(--brand); border-color: var(--brand); }
.check input:checked + i svg { opacity: 1; transform: none; }
.check input:focus-visible + i { outline: 3px solid var(--accent); outline-offset: 2px; }
.check.has-error i { border-color: var(--danger); }

/* Radio card (used for room + extras selection) */
.radio-card {
  position: relative;
  display: block;
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
  transition: border-color var(--t-base) var(--e-soft), box-shadow var(--t-base) var(--e-soft), transform var(--t-base) var(--e-out);
}
.radio-card:hover { border-color: var(--line-strong); transform: translateY(-3px); box-shadow: var(--sh-md); }
.radio-card input { position: absolute; opacity: 0; width: 0; height: 0; }
.radio-card:has(input:checked) { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand), var(--sh-md); }
.radio-card:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 3px; }
.radio-card:has(input:disabled) { opacity: .5; pointer-events: none; }
.radio-tick {
  position: absolute; top: .85rem; right: .85rem; z-index: 3;
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line-strong);
  transition: all var(--t-base) var(--e-spring);
}
.radio-card:has(input:checked) .radio-tick { background: var(--brand); border-color: var(--brand); transform: scale(1.06); }
.radio-tick svg { width: .85rem; height: .85rem; color: var(--on-brand); opacity: 0; transition: opacity var(--t-fast); }
.radio-card:has(input:checked) .radio-tick svg { opacity: 1; }

/* Toast */
.toast-host { position: fixed; z-index: var(--z-toast); left: 50%; bottom: 1.5rem; transform: translateX(-50%); display: flex; flex-direction: column; gap: .5rem; pointer-events: none; width: min(26rem, calc(100vw - 2rem)); }
.toast {
  display: flex; align-items: center; gap: .7rem;
  padding: .9rem 1.2rem;
  border-radius: var(--r-pill);
  background: var(--forest-800); color: #fff;
  box-shadow: var(--sh-lg);
  font-size: var(--fs-sm);
  animation: toast-in var(--t-base) var(--e-out);
}
.toast svg { width: 1.1rem; height: 1.1rem; flex: none; color: var(--banana-300); }
.toast.is-out { animation: toast-out var(--t-base) var(--e-soft) forwards; }
@keyframes toast-in  { from { opacity: 0; transform: translateY(14px); } }
@keyframes toast-out { to   { opacity: 0; transform: translateY(10px); } }

/* ==========================================================================
   8. ACCORDION (FAQ)
   ========================================================================== */

.acc-item { border-bottom: 1px solid var(--line); }
.acc-trigger {
  width: 100%;
  display: flex; align-items: flex-start; justify-content: space-between; gap: var(--sp-5);
  padding: clamp(1.1rem, 2vw, 1.6rem) 0;
  background: none; border: 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  line-height: 1.3;
  color: var(--ink);
  transition: color var(--t-fast) var(--e-soft);
}
.acc-trigger:hover { color: var(--brand); }
.acc-icon {
  flex: none; width: 30px; height: 30px; margin-top: .15rem;
  border-radius: 50%; border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  transition: all var(--t-base) var(--e-out);
}
.acc-icon::before, .acc-icon::after {
  content: ''; position: absolute; background: currentColor; border-radius: 2px;
  transition: transform var(--t-base) var(--e-out), opacity var(--t-fast);
}
.acc-icon { position: relative; }
.acc-icon::before { width: 11px; height: 1.5px; }
.acc-icon::after  { width: 1.5px; height: 11px; }
.acc-trigger[aria-expanded='true'] .acc-icon { background: var(--brand); border-color: var(--brand); color: var(--on-brand); transform: rotate(90deg); }
.acc-trigger[aria-expanded='true'] .acc-icon::after { transform: scaleY(0); opacity: 0; }

.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t-slow) var(--e-out); }
.acc-panel.is-open { grid-template-rows: 1fr; }
.acc-panel > div { overflow: hidden; }
.acc-panel p { padding-bottom: clamp(1.1rem, 2vw, 1.6rem); max-width: 58ch; color: var(--ink-2); }

/* ==========================================================================
   9. REVIEWS CAROUSEL
   ========================================================================== */

.rail {
  display: flex;
  gap: var(--sp-5);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-block: .5rem 1.5rem;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  scrollbar-width: none;
  cursor: grab;
}
.rail::-webkit-scrollbar { display: none; }
.rail.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.rail.is-dragging * { pointer-events: none; }
.rail > * { scroll-snap-align: start; flex: 0 0 auto; }

.review {
  width: min(26rem, 82vw);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex; flex-direction: column; gap: var(--sp-4);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
}
.review-quote {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  line-height: 1.52;
  color: var(--ink);
  flex: 1;
}
.review-quote::before { content: '“'; color: var(--accent); margin-right: .1em; }
.review-quote::after  { content: '”'; color: var(--accent); }
.review-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); padding-top: var(--sp-4); border-top: 1px solid var(--line); }
.review-who b { display: block; font-weight: 500; font-size: var(--fs-sm); }
.review-who span { font-size: var(--fs-2xs); color: var(--ink-3); }
.stars { display: flex; gap: 2px; color: var(--accent); }
.stars svg { width: .95rem; height: .95rem; }
.stars .off { color: var(--line-strong); }

.rail-nav { display: flex; gap: .5rem; }

/* ==========================================================================
   10. LIGHTBOX
   ========================================================================== */

.lightbox {
  position: fixed; inset: 0; z-index: var(--z-modal);
  display: grid; place-items: center;
  background: rgb(3 11 8 / .93);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden;
  transition: opacity var(--t-base) var(--e-soft), visibility var(--t-base);
  padding: clamp(1rem, 4vw, 3rem);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-figure {
  max-width: min(96rem, 100%);
  max-height: 100%;
  display: flex; flex-direction: column; gap: var(--sp-4);
  transform: scale(.94);
  transition: transform var(--t-slow) var(--e-out);
}
.lightbox.is-open .lightbox-figure { transform: none; }
.lightbox-figure img {
  max-height: min(78svh, 60rem);
  width: auto; margin-inline: auto;
  object-fit: contain;
  border-radius: var(--r-md);
  box-shadow: 0 40px 100px -30px rgb(0 0 0 / .8);
  background: transparent;
}
.lightbox-cap {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5);
  color: rgb(255 255 255 / .82); font-size: var(--fs-sm);
}
.lightbox-cap .mono { color: rgb(255 255 255 / .55); font-size: var(--fs-2xs); letter-spacing: .1em; }
.lightbox-close { position: absolute; top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); color: #fff; border-color: rgb(255 255 255 / .25); }
.lightbox-close:hover { background: rgb(255 255 255 / .12); color: #fff; }
.lightbox-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  color: #fff; border-color: rgb(255 255 255 / .25);
  width: 52px; height: 52px;
}
.lightbox-arrow:hover { background: rgb(255 255 255 / .12); color: #fff; }
.lightbox-arrow.prev { left: clamp(.5rem, 2vw, 2rem); }
.lightbox-arrow.next { right: clamp(.5rem, 2vw, 2rem); }
@media (max-width: 40rem) { .lightbox-arrow { top: auto; bottom: 1rem; transform: none; } }

/* ==========================================================================
   11. FOOTER
   ========================================================================== */

.footer {
  position: relative;
  background: var(--forest-950);
  color: #E8F5EE;
  padding-block: clamp(3.5rem, 7vw, 6rem) 0;
  overflow: hidden;
}
.footer-grid {
  display: grid; gap: clamp(2rem, 4vw, 3.5rem);
  grid-template-columns: 1fr;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
@media (min-width: 44rem) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 68rem) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.4fr; } }

.footer-head {
  font-family: var(--font-mono); font-size: var(--fs-3xs);
  letter-spacing: var(--ls-label); text-transform: uppercase;
  line-height: var(--lh-snug);
  color: var(--banana-300); margin-bottom: var(--sp-4); font-weight: 500;
}
.footer-links { display: flex; flex-direction: column; gap: .7rem; }
.footer-links a {
  color: rgb(232 245 238 / .74); font-size: var(--fs-sm);
  width: fit-content; min-height: 26px;              /* comfortable tap height */
  display: flex; align-items: center;
  transition: color var(--t-fast) var(--e-soft), transform var(--t-fast) var(--e-out);
}
.footer-links a:hover { color: #fff; transform: translateX(3px); }
.footer .brand img { height: 56px; filter: brightness(0) invert(1); }
.footer-blurb { color: rgb(232 245 238 / .66); font-size: var(--fs-sm); max-width: 32ch; margin-top: var(--sp-4); line-height: 1.7; }

.footer-bottom {
  border-top: 1px solid rgb(255 255 255 / .1);
  padding-block: var(--sp-5);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--sp-4);
  font-size: var(--fs-2xs);
  color: rgb(232 245 238 / .5);
}
.footer-bottom a:hover { color: #fff; }

.social { display: flex; gap: .5rem; margin-top: var(--sp-5); }
.social a {
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid rgb(255 255 255 / .16);
  color: rgb(232 245 238 / .8);
  transition: all var(--t-base) var(--e-out);
}
.social a:hover { background: var(--accent); border-color: var(--accent); color: var(--forest-950); transform: translateY(-3px); }
.social svg { width: 1.1rem; height: 1.1rem; }

.newsletter { display: flex; gap: .5rem; margin-top: var(--sp-4); }
.newsletter .input { background: rgb(255 255 255 / .06); border-color: rgb(255 255 255 / .16); color: #fff; min-height: 48px; }
.newsletter .input::placeholder { color: rgb(232 245 238 / .4); }
.newsletter .input:focus { border-color: var(--banana-300); box-shadow: 0 0 0 4px rgb(245 194 67 / .18); }

/* Giant watermark wordmark at the base of the footer */
.footer-mark {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 15vw, 14rem);
  line-height: .8;
  letter-spacing: -.03em;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgb(255 255 255 / .1);
  padding-bottom: .08em;
  user-select: none;
  pointer-events: none;
}

/* ==========================================================================
   12. FLOATING ACTIONS
   ========================================================================== */

.fab-stack {
  position: fixed; z-index: var(--z-sticky);
  right: var(--gutter); bottom: var(--gutter);
  display: flex; flex-direction: column; gap: .6rem;
  align-items: flex-end;
}
.fab {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--sh-lg);
  cursor: pointer;
  transition: all var(--t-base) var(--e-out);
}
.fab:hover { transform: translateY(-3px) scale(1.05); }
.fab svg { width: 1.4rem; height: 1.4rem; }
.fab-wa { background: #25D366; border-color: #25D366; color: #05301A; }
.fab-wa:hover { background: #1FBE5A; }
.fab-top { opacity: 0; visibility: hidden; transform: translateY(10px); }
.fab-top.is-on { opacity: 1; visibility: visible; transform: none; }

/* ==========================================================================
   13. MISC UI
   ========================================================================== */

/* Stat block */
.stat { text-align: center; }
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  line-height: 1;
  color: var(--ink);
  letter-spacing: -.02em;
}
.stat span {
  display: block; margin-top: .6rem;
  font-family: var(--font-mono); font-size: var(--fs-3xs);
  letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--ink-3);
}

/* Marquee strip */
.marquee { overflow: hidden; padding-block: var(--sp-5); border-block: 1px solid var(--line); }
.marquee-track { display: flex; gap: var(--sp-8); width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  color: var(--ink-3);
  display: flex; align-items: center; gap: var(--sp-8);
  white-space: nowrap;
}
.marquee span::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Feature / facility tile */
.tile {
  display: flex; flex-direction: column; gap: .85rem;
  padding: clamp(1.25rem, 2.4vw, 1.75rem);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color var(--t-base) var(--e-soft), transform var(--t-base) var(--e-out), background-color var(--t-base) var(--e-soft);
}
.tile:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.tile-icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: var(--r-md);
  background: color-mix(in oklab, var(--brand) 12%, transparent);
  color: var(--brand);
  transition: all var(--t-base) var(--e-out);
}
.tile:hover .tile-icon { background: var(--brand); color: var(--on-brand); transform: rotate(-6deg) scale(1.06); }
.tile-icon svg { width: 1.35rem; height: 1.35rem; }
.tile h3 { font-family: var(--font-sans); font-size: var(--fs-md); font-weight: 500;
           letter-spacing: var(--ls-normal); line-height: var(--lh-snug); }
.tile p { font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.6; }

/* Amenity list */
.amen-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 12.5rem), 1fr)); gap: .85rem var(--sp-5); }
.amen { display: flex; align-items: center; gap: .7rem; font-size: var(--fs-sm); color: var(--ink-2); }
.amen svg { width: 1.1rem; height: 1.1rem; color: var(--brand); flex: none; }

/* Spec row (room detail) */
.spec-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr)); gap: var(--sp-4); }
.spec { border-top: 1px solid var(--line); padding-top: var(--sp-3); }
.spec dt { font-family: var(--font-mono); font-size: var(--fs-3xs); letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--ink-3); margin-bottom: .3rem; }
.spec dd { font-size: var(--fs-md); }

/* Distances list */
.dist-list { display: flex; flex-direction: column; }
.dist {
  display: flex; align-items: baseline; gap: var(--sp-4);
  padding-block: clamp(.9rem, 1.8vw, 1.3rem);
  border-top: 1px solid var(--line);
}
.dist:last-child { border-bottom: 1px solid var(--line); }
.dist b {
  font-family: var(--font-display); font-size: var(--fs-2xl); line-height: 1;
  min-width: 4.5ch; letter-spacing: -.02em;
}
.dist b i { font-family: var(--font-mono); font-size: .32em; font-style: normal; letter-spacing: .08em; margin-left: .15em; opacity: .65; }
.dist-label { flex: 1; font-size: var(--fs-md); }
.dist-time { font-family: var(--font-mono); font-size: var(--fs-2xs); color: var(--ink-3); letter-spacing: .06em; }

/* Steps / progress (booking) */
.steps { display: flex; align-items: center; gap: .35rem; margin-bottom: var(--sp-7); }
.step-node { display: flex; align-items: center; gap: .35rem; flex: 1; min-width: 0; }
.step-node:last-child { flex: none; }
.step-dot {
  width: 34px; height: 34px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-family: var(--font-mono); font-size: var(--fs-2xs);
  color: var(--ink-3);
  transition: all var(--t-base) var(--e-spring);
}
.step-bar { flex: 1; height: 1px; background: var(--line-strong); position: relative; overflow: hidden; min-width: .75rem; }
.step-bar::after { content: ''; position: absolute; inset: 0; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform var(--t-slow) var(--e-out); }
.step-node.is-done .step-dot { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.step-node.is-done .step-bar::after { transform: scaleX(1); }
.step-node.is-now .step-dot { border-color: var(--brand); color: var(--brand); box-shadow: 0 0 0 4px color-mix(in oklab, var(--brand) 16%, transparent); }
.step-label { font-family: var(--font-mono); font-size: var(--fs-3xs); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
@media (max-width: 52rem) { .step-label { display: none; } }

/* Summary panel */
.summary-line { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-4); padding-block: .55rem; font-size: var(--fs-sm); }
.summary-line span:first-child { color: var(--ink-2); }
.summary-line span:last-child { font-variant-numeric: tabular-nums; }
.summary-total {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-4);
  margin-top: var(--sp-4); padding-top: var(--sp-4);
  border-top: 1px solid var(--line-strong);
}
.summary-total b { font-family: var(--font-display); font-size: var(--fs-2xl); line-height: 1; letter-spacing: -.02em; }

/* Sticky sidebar */
.sticky-side { position: sticky; top: calc(var(--header-h) + 1.5rem); }

/* Empty state */
.empty {
  text-align: center; padding: clamp(3rem, 8vw, 6rem) var(--gutter);
  border: 1px dashed var(--line-strong); border-radius: var(--r-lg);
  color: var(--ink-2);
}
.empty svg { width: 2.5rem; height: 2.5rem; color: var(--ink-3); margin: 0 auto var(--sp-4); }

/* ==========================================================================
   REVIEWS — real-review additions
   ========================================================================== */

/* The aggregate rating, shown only when real reviews exist. */
.review-agg {
  display: inline-flex; align-items: baseline; gap: .6rem;
  margin-top: 1rem; padding: .5rem 1rem;
  background: var(--surface-2); border-radius: 999px;
}
.review-agg b {
  font-family: var(--font-display);
  font-size: var(--fs-xl); line-height: 1; color: var(--accent-ink);
}
.review-agg span { font-size: var(--fs-2xs); color: var(--ink-3); }
:root[data-theme='dark'] .review-agg b { color: var(--accent); }

.review-title {
  font-weight: 600; font-size: var(--fs-md);
  margin: 0 0 .5rem; color: var(--ink);
}

/* Reviewer name links back to the Google review — their terms require it. */
.review-who a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.review-who a:hover { border-bottom-color: currentColor; }

/* The family's reply, indented under the review it answers. */
.review-reply {
  margin-top: 1rem; padding: .85rem 1rem;
  background: var(--surface-2);
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
}
.review-reply b {
  display: block; font-size: var(--fs-3xs);
  letter-spacing: var(--ls-label); text-transform: uppercase;
  color: var(--ink-3); margin-bottom: .3rem;
}
.review-reply p { margin: 0; font-size: var(--fs-sm); line-height: 1.6; }

/* ==========================================================================
   MAP — Leaflet + OpenStreetMap
   The old Google iframe was blocked by our own CSP (frame-src), so it never
   rendered in production. This replaces it: no iframe, no key, no cookie.
   ========================================================================== */

.map-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-lg, 18px);
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.map-frame-sm { aspect-ratio: 16 / 9; margin-bottom: var(--sp-5); }

/* Leaflet writes its own absolute positioning; it needs a real height. */
.map-frame.is-live { background: var(--sand-100); }
:root[data-theme='dark'] .map-frame.is-live { background: var(--surface-sunk); }

/* The tiles are a light-mode photograph of the world. In dark mode, take
   the glare off rather than inverting them into something unrecognisable. */
:root[data-theme='dark'] .map-frame .leaflet-tile-pane {
  filter: brightness(.72) saturate(.85) contrast(1.05);
}

.map-frame .leaflet-container {
  width: 100%; height: 100%;
  background: var(--surface-2);
  font-family: var(--font-sans);
}
.map-frame .leaflet-control-attribution {
  background: rgb(255 255 255 / .82);
  font-size: 10px;
  padding: 2px 6px;
}
.map-frame .leaflet-control-attribution a { color: var(--forest-600); }

/* Brand marker, drawn not fetched. */
.map-pin-dot {
  display: block; width: 18px; height: 18px;
  margin: 4px;
  border-radius: 50%;
  background: var(--bloom-500);
  border: 3px solid #fff;
  box-shadow: 0 2px 10px rgb(6 32 23 / .45);
}
.map-pin-marker::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid var(--bloom-500);
  opacity: .55;
  animation: mapPulse 2.6s var(--e-out) infinite;
}
@keyframes mapPulse {
  0%   { transform: scale(.7); opacity: .55; }
  70%  { transform: scale(1.9); opacity: 0; }
  100% { transform: scale(1.9); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .map-pin-marker::after { animation: none; }
}

.map-frame .leaflet-popup-content { font-size: var(--fs-sm); line-height: 1.55; }
.map-frame .leaflet-popup-content a { color: var(--forest-600); }

/* Shown when Leaflet cannot load at all — a visitor must still be able to
   find the place. */
.map-fallback {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .75rem; padding: var(--sp-5); text-align: center;
}
.map-fallback p { max-width: 32ch; font-size: var(--fs-sm); color: var(--ink-2); margin: 0; }
