/* =====================================================================
   JOREHA HOMES — editorial hospitality design system
   Brown · pale gold · glowing gold
   Display: Cormorant Garamond   Text: Jost
   ===================================================================== */

:root {
  /* Brown — the primary structural colour */
  --brown: #3a2415;
  --brown-deep: #24150c;
  --brown-soft: #4e3320;

  /* Pale gold — the light ground */
  --pale-gold: #f0dfb9;
  --pale-gold-soft: #f8eed4;

  --ivory: #f8f0dd;
  --ivory-soft: #fcf7e9;
  --paper: #fdf8ec;
  --white: #ffffff;
  --charcoal: #33200f;
  --charcoal-soft: #422a17;
  --ink: #2c1c10;
  --graphite: #57402b;
  --muted: #8a6f52;
  --line: #ead9b6;
  /* Section, card and control rims all share one glowing gold hairline. */
  --line-strong: rgba(217, 166, 62, .42);
  --gold-line: rgba(217, 166, 62, .55);
  --gold-line-soft: rgba(217, 166, 62, .3);
  --gold-halo: 0 0 26px -8px rgba(226, 178, 82, .5);
  --gold-halo-strong: 0 0 34px -6px rgba(226, 178, 82, .72);
  --beige: #f1e4c4;

  /* Glowing gold — accent, light and halo */
  --gold: #d9a63e;
  --gold-deep: #94651a;
  --gold-soft: #f3cf87;
  --gold-glow: rgba(226, 178, 82, .55);
  --success: #3c6b50;
  --danger: #a2483c;
  --warning: #8f6823;

  --font-display: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --font-body: 'Jost', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  /* The layout spans the viewport: the header, nav and every section share
     the same edge-to-edge container with fluid gutters. Text blocks keep
     their own measure caps so lines never become unreadable. */
  --container: 1760px;
  --gutter: clamp(1.35rem, 3.2vw, 4.5rem);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow-soft: 0 30px 70px -45px rgba(25, 24, 21, .55);
  --shadow-card: 0 24px 60px -50px rgba(25, 24, 21, .7);
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: .005em;
  color: var(--graphite);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -.012em;
  color: var(--charcoal);
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.9rem, 6.4vw, 5.3rem); }
h2 { font-size: clamp(2.1rem, 4vw, 3.4rem); }
h3 { font-size: clamp(1.3rem, 1.9vw, 1.65rem); }

h1 em, h2 em, h3 em { font-style: italic; color: var(--gold-deep); }

p { margin: 0 0 1.15em; }
a { color: var(--charcoal); text-decoration: none; transition: color .28s var(--ease); }
a:hover { color: var(--gold-deep); }

ul, ol { margin: 0 0 1.1em; padding-left: 1.1rem; }
li { margin-bottom: .35rem; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
::selection { background: var(--gold-soft); color: var(--charcoal); }

/* ------------------------------------------------------------- layout */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 860px; }

.section { padding-block: clamp(4.5rem, 9vw, 8.5rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--flush-top { padding-top: 0; }
.section--ivory { background: var(--ivory); }
.section--beige { background: var(--beige); }
.section--paper { background: var(--paper); }
.section--dark {
  background:
    radial-gradient(120% 90% at 12% 0%, rgba(217, 166, 62, .12), transparent 58%),
    linear-gradient(180deg, var(--brown) 0%, var(--brown-deep) 100%);
  color: rgba(255, 255, 255, .72);
}
.section--dark h2, .section--dark h3, .section--dark h1 { color: var(--ivory-soft); }
.section--dark h2 em, .section--dark h3 em { color: var(--gold-soft); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--gold-deep);
  text-shadow: 0 0 18px rgba(226, 178, 82, .25);
  margin-bottom: 1.4rem;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: .55;
}
.section--dark .eyebrow { color: var(--gold-soft); }

.section-head { max-width: min(940px, 100%); margin-bottom: clamp(2.4rem, 4.5vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }

/* Section header row -----------------------------------------------------
   The title block stays on the left edge and the one action the section
   offers sits on the right edge, sharing its baseline. It is the same
   arrangement the Team Raha site uses, and it stops a page reading as a
   stack of centred blocks. */
.section-head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(1.4rem, 3vw, 3rem);
  max-width: none;
  flex-wrap: wrap;
}
.section-head--split > div { max-width: 66ch; }
.section-head--split .link-arrow { flex-shrink: 0; margin-bottom: .5rem; }
@media (max-width: 720px) {
  .section-head--split { align-items: flex-start; }
  .section-head--split .link-arrow { margin-bottom: 0; }
}
.section-head p { color: var(--muted); font-size: 1.02rem; margin-bottom: 0; max-width: 68ch; }
.section-head--center p { margin-inline: auto; }
.section--dark .section-head p { color: rgba(255, 255, 255, .55); }

.lead { font-size: clamp(1.05rem, 1.4vw, 1.18rem); color: var(--graphite); }

.text-muted { color: var(--muted); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: .8rem; }
.mt-2 { margin-top: 1.6rem; }
.mt-3 { margin-top: 2.6rem; }
.mb-0 { margin-bottom: 0 !important; }
.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;
}

/* ------------------------------------------------------------- buttons */
.btn {
  --btn-bg: var(--charcoal);
  --btn-fg: var(--ivory-soft);
  --btn-border: var(--charcoal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: 1.02rem 1.85rem;
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  line-height: 1;
  border: 1px solid var(--btn-border);
  border-radius: 0;
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
  text-align: center;
  white-space: nowrap;
}
.btn:hover { background: var(--gold-deep); border-color: var(--gold-deep); color: #fff; }
.btn svg { width: 15px; height: 15px; }

.btn--gold {
  --btn-fg: var(--charcoal);
  background: linear-gradient(135deg, var(--gold-soft) 0%, var(--gold) 52%, #c68f27 100%);
  border-color: rgba(148, 101, 26, .55);
  color: var(--charcoal);
  box-shadow:
    0 12px 30px -14px var(--gold-glow),
    inset 0 1px 0 rgba(255, 255, 255, .55);
}
.btn--gold:hover {
  background: linear-gradient(135deg, #ffe3a8 0%, #e7b451 52%, var(--gold) 100%);
  border-color: var(--gold-deep);
  color: var(--brown-deep);
  box-shadow:
    0 18px 44px -14px var(--gold-glow),
    0 0 0 1px rgba(243, 207, 135, .5),
    inset 0 1px 0 rgba(255, 255, 255, .7);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--charcoal);
  --btn-border: var(--gold-line);
}
.btn--ghost:hover { box-shadow: var(--gold-halo); }
.btn--ghost:hover { background: var(--charcoal); border-color: var(--charcoal); color: var(--ivory-soft); }

.btn--light {
  --btn-bg: transparent;
  --btn-fg: var(--ivory-soft);
  --btn-border: rgba(243, 207, 135, .55);
}
.btn--light:hover { background: var(--ivory-soft); border-color: var(--ivory-soft); color: var(--charcoal); }

.btn--sm { padding: .68rem 1.1rem; font-size: .62rem; letter-spacing: .16em; }
.btn--lg { padding: 1.18rem 2.35rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .67rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  color: var(--charcoal);
  border-bottom: 1px solid transparent;
  padding-bottom: .3rem;
}
.link-arrow svg { width: 15px; height: 15px; transition: transform .35s var(--ease); }
.link-arrow:hover { color: var(--gold-deep); }
.link-arrow:hover svg { transform: translateX(5px); }

/* --------------------------------------------------------------- forms */
.form-label {
  display: block;
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .55rem;
}
.form-control, .form-select, textarea.form-control {
  width: 100%;
  padding: .82rem .95rem;
  font-family: var(--font-body);
  font-size: .92rem;
  font-weight: 300;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--gold-line-soft);
  border-radius: 0;
  transition: border-color .25s var(--ease);
  appearance: none;
}
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%237d7568' stroke-width='1.6'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .9rem center;
  padding-right: 2.4rem;
}
.form-control:focus, .form-select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold), 0 0 20px -6px var(--gold-glow);
}
.form-control::placeholder { color: #a9a193; font-weight: 300; }
textarea.form-control { min-height: 130px; resize: vertical; }
.form-hint { display: block; font-size: .76rem; color: var(--muted); margin-top: .4rem; font-weight: 300; }
.form-group { margin-bottom: 1.25rem; }
.form-row { display: grid; gap: 0 1.3rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid { display: grid; gap: 0 1.3rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.form-check { display: flex; gap: .65rem; align-items: flex-start; font-size: .88rem; color: var(--graphite); }
.form-check input { margin-top: .3rem; accent-color: var(--gold-deep); width: 16px; height: 16px; flex-shrink: 0; }
fieldset { border: 0; padding: 0; margin: 0; }

/* -------------------------------------------------------------- header */
.utility-bar {
  background:
    radial-gradient(120% 260% at 8% 0%, rgba(217, 166, 62, .2), transparent 58%),
    var(--charcoal);
  border-bottom: 1px solid rgba(243, 207, 135, .18);
  color: rgba(255, 255, 255, .55);
  font-size: .67rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.utility-bar__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 38px;
}
.utility-bar__group { display: flex; align-items: center; gap: 1.6rem; }
.utility-bar span { display: inline-flex; align-items: center; gap: .45rem; }
.utility-bar svg { width: 13px; height: 13px; color: var(--gold-soft); }
.utility-bar a { color: rgba(255, 255, 255, .62); }
.utility-bar a:hover { color: var(--gold-soft); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(252, 246, 231, .96);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--gold-line-soft);
  transition: box-shadow .4s var(--ease);
}
.site-header.is-stuck {
  box-shadow:
    0 18px 44px -34px rgba(25, 24, 21, .6),
    0 1px 0 rgba(217, 166, 62, .16),
    0 0 24px -14px var(--gold-glow);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  min-height: 92px;
  transition: min-height .35s var(--ease);
}
.site-header.is-stuck .site-header__inner { min-height: 74px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img {
  height: 52px; width: auto;
  /* The mark is gold artwork; this halo is what makes it read as glowing. */
  filter: drop-shadow(0 0 7px rgba(217, 166, 62, .45)) drop-shadow(0 1px 2px rgba(120, 82, 20, .22));
  transition: height .35s var(--ease), filter .4s var(--ease);
}
.brand:hover img {
  filter: drop-shadow(0 0 12px rgba(226, 178, 82, .7)) drop-shadow(0 1px 2px rgba(120, 82, 20, .25));
}
.site-header.is-stuck .brand img { height: 44px; }

.main-nav { display: flex; align-items: center; gap: clamp(1.2rem, 2.6vw, 2.6rem); }
.main-nav a {
  position: relative;
  font-size: .68rem; font-weight: 400;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--graphite);
  padding-block: .45rem;
}
.main-nav a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.main-nav a:hover, .main-nav a.is-active { color: var(--charcoal); }

.header-actions { display: flex; align-items: center; gap: 1rem; }
.header-phone { display: inline-flex; align-items: center; gap: .45rem; font-size: .78rem; color: var(--graphite); }
.header-phone svg { width: 14px; height: 14px; color: var(--gold-deep); }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--charcoal);
  cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }

/* Mobile drawer */
.nav-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(400px, 92vw);
  background: var(--charcoal);
  color: rgba(255, 255, 255, .72);
  z-index: 120;
  transform: translateX(100%);
  transition: transform .45s var(--ease);
  display: flex;
  flex-direction: column;
  padding: 1.4rem clamp(1.15rem, 5vw, 1.9rem) calc(1.35rem + env(safe-area-inset-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
}
.nav-drawer.is-open { transform: translateX(0); }
.nav-drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.3rem; padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(217, 166, 62, .26);
}
.nav-drawer__head img { height: 42px; filter: brightness(0) invert(1); opacity: .92; }
.nav-drawer__close { background: none; border: 0; color: var(--ivory); cursor: pointer; padding: .3rem; }
.nav-drawer__close svg { width: 22px; height: 22px; }

/* A labelled list: number, name, chevron — one scannable row per page. */
.nav-drawer__label {
  margin: 0 0 .3rem;
  font-size: .6rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold-soft); opacity: .7;
}
.nav-drawer__nav { display: flex; flex-direction: column; margin-bottom: 1.35rem; }
.nav-drawer__link {
  display: grid;
  grid-template-columns: 1.9rem minmax(0, 1fr) auto;
  align-items: center;
  gap: .55rem;
  padding: .66rem 0;
  border-bottom: 1px solid rgba(217, 166, 62, .16);
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.15;
  color: var(--ivory-soft);
  position: relative;
  transition: color .25s var(--ease), background .25s var(--ease);
}
.nav-drawer__index {
  font-family: var(--font-body); font-size: .58rem; letter-spacing: .12em;
  color: rgba(243, 207, 135, .5); padding-top: .3em;
  transition: color .25s var(--ease);
}
.nav-drawer__text { min-width: 0; overflow-wrap: anywhere; }
.nav-drawer__chev { color: rgba(243, 207, 135, .3); transition: transform .25s var(--ease), color .25s var(--ease); }
.nav-drawer__link:hover, .nav-drawer__link:focus-visible { color: var(--gold-soft); }
.nav-drawer__link:hover .nav-drawer__chev, .nav-drawer__link:focus-visible .nav-drawer__chev { transform: translateX(3px); color: var(--gold-soft); }
.nav-drawer__link.is-active { color: var(--gold-soft); }
.nav-drawer__link.is-active .nav-drawer__index { color: var(--gold); }
.nav-drawer__link.is-active::after {
  content: ''; position: absolute; left: -0.2rem; bottom: -1px;
  width: 2.1rem; height: 2px; background: var(--gold);
}

/* Booking look-up, kept apart from the page list. */
.nav-drawer__booking {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .8rem;
  padding: .8rem .9rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(217, 166, 62, .3);
  border-radius: 8px;
  background: linear-gradient(120deg, rgba(217, 166, 62, .09), rgba(217, 166, 62, .02));
  color: var(--ivory-soft);
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.nav-drawer__booking:hover { border-color: rgba(243, 207, 135, .55); background: linear-gradient(120deg, rgba(217, 166, 62, .16), rgba(217, 166, 62, .04)); }
.nav-drawer__booking-icon {
  display: grid; place-items: center;
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  border: 1px solid rgba(243, 207, 135, .3); color: var(--gold-soft);
}
.nav-drawer__booking-copy { display: grid; gap: .1rem; min-width: 0; }
.nav-drawer__booking-copy strong { font-family: var(--font-display); font-weight: 400; font-size: 1.05rem; color: var(--ivory); }
.nav-drawer__booking-copy small { font-size: .68rem; letter-spacing: .01em; color: rgba(255, 255, 255, .45); }

/* Social row sits in the leftover middle space, so the drawer reads as a
   full composition instead of a list with a hole under it. */
.nav-drawer__social-wrap {
  margin-top: auto; padding-top: 1.1rem;
  display: grid; gap: .55rem; justify-items: start;
}
.nav-drawer__social { margin: 0; }
.nav-drawer__social a { width: 38px; height: 38px; }

.nav-drawer__foot {
  margin-top: auto; display: grid; gap: .65rem;
  padding-top: 1.1rem; border-top: 1px solid rgba(217, 166, 62, .18);
}
.nav-drawer__actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: .55rem; }
.nav-drawer__actions .btn { padding-inline: .7rem; white-space: nowrap; }
.nav-drawer__foot .btn--ghost { --btn-fg: var(--ivory-soft); --btn-border: rgba(243,207,135,.5); }
.nav-drawer__foot .btn--ghost:hover { background: var(--ivory-soft); color: var(--charcoal); }
.nav-drawer__contact { font-size: .8rem; color: rgba(255, 255, 255, .5); margin: 0; }
.nav-drawer__meta {
  display: flex; flex-wrap: wrap; gap: .2rem .55rem;
  margin: 0; padding-top: .15rem;
  font-size: .58rem; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(243, 207, 135, .45);
}
.nav-drawer__meta span + span::before { content: '\00B7'; margin-right: .55rem; color: rgba(243, 207, 135, .3); }

/* Short phones and landscape: keep the list breathable without scrolling. */
@media (max-height: 680px) {
  .nav-drawer { padding-top: 1rem; padding-bottom: calc(1rem + env(safe-area-inset-bottom)); }
  .nav-drawer__head { margin-bottom: .75rem; padding-bottom: .65rem; }
  .nav-drawer__head img { height: 36px; }
  .nav-drawer__link { font-size: 1.22rem; padding: .4rem 0; }
  .nav-drawer__nav { margin-bottom: 1rem; }
  .nav-drawer__booking { padding: .55rem .75rem; margin-bottom: .9rem; }
  .nav-drawer__booking-copy small { display: none; }
  .nav-drawer__social-wrap { padding-top: .6rem; gap: .4rem; }
  .nav-drawer__social a { width: 32px; height: 32px; }
  .nav-drawer__social svg { width: 16px; height: 16px; }
  .nav-drawer__foot { padding-top: .8rem; gap: .5rem; }
}

/* Smallest phones: drop the strapline so both buttons stay on screen. */
@media (max-height: 620px) {
  .nav-drawer__link { padding: .33rem 0; }
  .nav-drawer__booking { margin-bottom: .7rem; }
  .nav-drawer__social-wrap { padding-top: .45rem; }
  .nav-drawer__meta { display: none; }
}
.nav-overlay {
  position: fixed; inset: 0; background: rgba(18, 17, 15, .55);
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  z-index: 110; backdrop-filter: blur(2px);
}
.nav-overlay.is-visible { opacity: 1; visibility: visible; }
body.no-scroll { overflow: hidden; }

/* -------------------------------------------------------- hero scene */
/* Full-bleed day/night background that wipes between two photographs. */
.hero-scene {
  position: relative;
  display: flex;
  /* Content is balanced between the header and the availability bar rather
     than pinned to the bottom, so tall screens don't open a huge gap. */
  align-items: center;
  /* Fill the first screen on every device. svh keeps mobile browsers from
     jumping when their toolbars collapse; vh is the fallback. */
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: #1a130c;
  color: rgba(253, 248, 239, .82);
  isolation: isolate;
}
.hero-scene__media { position: absolute; inset: 0; z-index: 0; }
.hero-scene__layer {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 58%;
  will-change: clip-path;
}
.hero-scene__layer--day { z-index: 1; }
.hero-scene__layer--night { z-index: 2; clip-path: inset(0 100% 0 0); }
/* The scrim and beam sit above both photographs so the copy keeps its
   contrast through the wipe, not only between sweeps. */
/* Warm scrim. Layered so the copy stays legible over the bright daytime
   photograph as well as the night one, whatever part of the picture is
   behind it. */
.hero-scene__veil {
  position: absolute; inset: 0; z-index: 5;
  background:
    /* soft pool of shade behind the right-hand highlights */
    radial-gradient(46% 34% at 79% 62%, rgba(20, 13, 8, .5) 0%, rgba(20, 13, 8, .26) 48%, rgba(20, 13, 8, 0) 78%),
    radial-gradient(115% 105% at 0% 58%, rgba(26, 17, 9, .42) 0%, rgba(26, 17, 9, .2) 44%, rgba(26, 17, 9, 0) 74%),
    linear-gradient(96deg, rgba(24, 16, 9, .84) 0%, rgba(24, 16, 9, .64) 26%, rgba(24, 16, 9, .32) 48%, rgba(24, 16, 9, .13) 68%, rgba(24, 16, 9, .08) 82%, rgba(24, 16, 9, .4) 100%),
    linear-gradient(180deg, rgba(22, 14, 8, .45) 0%, rgba(22, 14, 8, .14) 9%, rgba(22, 14, 8, 0) 17%),
    linear-gradient(0deg, rgba(22, 14, 8, .58), transparent 42%);
}
.hero-scene__beam {
  position: absolute; top: -10%; bottom: -10%; left: 0;
  width: clamp(90px, 13vw, 220px);
  z-index: 6;
  transform: translate3d(-40vw, 0, 0);
  opacity: 0;
  background: linear-gradient(90deg,
    rgba(255, 246, 226, 0) 0%,
    rgba(255, 246, 226, .22) 34%,
    rgba(255, 250, 240, .78) 50%,
    rgba(255, 246, 226, .22) 66%,
    rgba(255, 246, 226, 0) 100%);
  filter: blur(10px);
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-scene__inner {
  position: relative; z-index: 2; width: 100%;
  /* The extra top offset clears the fixed utility bar on the home page. */
  padding-top: calc(clamp(8rem, 13vh, 9.5rem) + var(--header-offset, 0px));
  /* Slightly deeper at the bottom to clear the overlapping availability bar
     and to sit the copy a touch above the true centre. */
  padding-bottom: clamp(10rem, 16vh, 12.5rem);
}
.hero-scene .eyebrow {
  color: #f6dcaa;
  text-shadow: 0 0 22px rgba(217, 166, 62, .45), 0 1px 12px rgba(18, 12, 7, .7), 0 1px 2px rgba(18, 12, 7, .5);
}
.hero-scene h1 {
  color: #fdf8ee;
  font-size: clamp(2.6rem, 5.2vw, 5rem);
  max-width: 18ch;
  margin-bottom: 1.3rem;
  text-shadow: 0 2px 30px rgba(18, 12, 7, .5), 0 1px 3px rgba(18, 12, 7, .5);
}
.hero-scene h1 em {
  display: block;
  color: #f7dba6;
  text-shadow: 0 0 34px rgba(217, 166, 62, .38), 0 2px 30px rgba(18, 12, 7, .5);
}
.hero-scene__text {
  max-width: 52ch;
  color: rgba(253, 248, 240, .93);
  font-size: clamp(1rem, 1.25vw, 1.1rem);
  margin-bottom: 2.2rem;
  text-shadow: 0 1px 3px rgba(18, 12, 7, .62), 0 10px 30px rgba(18, 12, 7, .42);
}
.hero-scene__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* Copy on the left, residence highlights on the right, divided by a glowing
   gold hairline with a small diamond at its centre. */
.hero-scene__split {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(300px, .94fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.hero-scene__copy { min-width: 0; }
/* Frosted glass card so the highlights stay readable over either photograph
   through the day/night wipe. */
.hero-scene__aside {
  position: relative;
  align-self: center;
  /* The card closes the right edge of the page shell, so the hero reads as
     copy on the left and panel on the right rather than a centred stack. */
  justify-self: end;
  width: min(100%, clamp(26rem, 32vw, 38rem));
  padding: clamp(1.45rem, 1.9vw, 2rem) clamp(1.5rem, 2.1vw, 2.15rem);
  border: 1px solid rgba(243, 207, 135, .5);
  border-radius: 18px;
  background: linear-gradient(158deg,
    rgba(44, 27, 15, .42) 0%,
    rgba(26, 17, 9, .28) 55%,
    rgba(21, 13, 7, .36) 100%);
  -webkit-backdrop-filter: blur(12px) saturate(135%);
  backdrop-filter: blur(12px) saturate(135%);
  box-shadow:
    0 0 34px -10px rgba(226, 178, 82, .5),
    0 30px 64px -38px rgba(10, 7, 4, .85),
    inset 0 1px 0 rgba(255, 246, 226, .16);
}
/* A hairline of gold catching the top edge of the glass. */
.hero-scene__aside::before {
  content: "";
  position: absolute;
  left: 16%; right: 16%; top: -1px; height: 1px;
  background: linear-gradient(90deg,
    rgba(243, 207, 135, 0) 0%,
    rgba(255, 231, 178, .9) 50%,
    rgba(243, 207, 135, 0) 100%);
  box-shadow: 0 0 16px rgba(226, 178, 82, .55);
}
.hero-scene__aside-label {
  display: block;
  margin-bottom: 1.2rem;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: #fae5b8;
  text-shadow: 0 0 18px rgba(217, 166, 62, .4), 0 1px 8px rgba(18, 12, 7, .55);
}
.hero-scene__aside-label::after {
  content: "";
  display: block;
  width: 34px; height: 1px;
  margin-top: .8rem;
  background: rgba(243, 207, 135, .55);
  box-shadow: 0 0 12px rgba(226, 178, 82, .5);
}
/* Ghost button needs its own shade so it survives a bright photograph. */
.hero-scene__actions .btn--light {
  background: rgba(24, 17, 10, .3);
  border-color: rgba(243, 207, 135, .6);
  box-shadow: 0 0 22px -10px var(--gold-glow);
  color: #fdf8ee;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  text-shadow: 0 1px 8px rgba(18, 12, 7, .55);
}
.hero-scene__actions .btn--light:hover {
  background: var(--ivory-soft);
  border-color: var(--ivory-soft);
  color: var(--ink);
  text-shadow: none;
}
.hero-scene__meta {
  display: grid;
  gap: 1.1rem;
  margin: 0; padding: 0;
  list-style: none;
  max-width: none;
  font-size: clamp(1.02rem, 1.2vw, 1.15rem); letter-spacing: .012em; line-height: 1.5; font-weight: 400;
  color: #fffaf1;
  text-shadow: 0 1px 3px rgba(18, 12, 7, .85), 0 0 18px rgba(18, 12, 7, .65);
}
.hero-scene__meta li {
  display: flex;
  align-items: flex-start;
  gap: .95rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(243, 207, 135, .22);
}
.hero-scene__meta li:last-child { padding-bottom: 0; border-bottom: 0; }
.hero-scene__meta svg {
  width: 22px; height: 22px;
  flex-shrink: 0;
  margin-top: .12rem;
  color: var(--gold-soft);
  filter: drop-shadow(0 0 8px rgba(226, 178, 82, .5));
}
/* Day / night state of the backdrop, as a glass chip.
   It used to be 9px of tracked-out text pinned to the very top-right corner,
   floating outside the content column and colliding with the header. It now
   sits in the quiet band between the copy and the availability panel, on the
   same left edge as the headline, with a sun/moon disc and the wipe's
   progress drawn along its bottom edge. */
.hero-scene__status {
  position: absolute;
  /* the content column's left edge, not the viewport gutter */
  left: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter)));
  /* the availability panel overlaps the hero's foot by clamp(76px, 6.4vw, 112px);
     keep the same clearance above it at every width */
  bottom: calc(clamp(4.75rem, 6.4vw, 7rem) + 1.4rem);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: .72rem;
  margin: 0;
  padding: .4rem .98rem .4rem .42rem;
  border-radius: 999px;
  border: 1px solid rgba(243, 207, 135, .34);
  background: linear-gradient(150deg, rgba(32, 21, 12, .74) 0%, rgba(20, 13, 8, .58) 100%);
  -webkit-backdrop-filter: blur(10px) saturate(130%);
  backdrop-filter: blur(10px) saturate(130%);
  box-shadow:
    0 14px 32px -20px rgba(10, 7, 4, .95),
    inset 0 1px 0 rgba(255, 246, 226, .16);
  overflow: hidden;
  color: #fdf8ee;
}
.hero-scene__status-icon {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  flex: none;
  border-radius: 50%;
  border: 1px solid rgba(243, 207, 135, .45);
  background: radial-gradient(circle at 50% 32%, rgba(247, 219, 166, .3), rgba(217, 166, 62, .12));
  color: #f7dba6;
  box-shadow: 0 0 16px -5px rgba(226, 178, 82, .6);
}
.hero-scene__status-icon svg { width: 16px; height: 16px; }
.hero-scene__status-sun,
.hero-scene__status-moon {
  grid-area: 1 / 1;
  display: grid;
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.hero-scene__status-sun { opacity: 1; transform: none; }
.hero-scene__status-moon { opacity: 0; transform: rotate(-30deg) scale(.7); }
.hero-scene__status.is-night .hero-scene__status-sun { opacity: 0; transform: rotate(30deg) scale(.7); }
.hero-scene__status.is-night .hero-scene__status-moon { opacity: 1; transform: none; }
.hero-scene__status-label {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  line-height: 1;
  color: #fdf8ee;
  text-shadow: 0 1px 10px rgba(18, 12, 7, .65);
  white-space: nowrap;
}
/* the wipe writes its progress along the chip's bottom edge */
.hero-scene__status-track {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: rgba(255, 246, 226, .1);
}
.hero-scene__status-fill {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(247, 219, 166, .25), #f7dba6);
  box-shadow: 0 0 10px rgba(226, 178, 82, .65);
}
/* night wears the cooler light of the second photograph */
.hero-scene__status.is-night {
  border-color: rgba(214, 226, 245, .3);
  background: linear-gradient(150deg, rgba(24, 23, 28, .76) 0%, rgba(15, 15, 19, .62) 100%);
}
.hero-scene__status.is-night .hero-scene__status-icon {
  border-color: rgba(214, 226, 245, .4);
  background: radial-gradient(circle at 50% 32%, rgba(214, 226, 245, .24), rgba(255, 255, 255, .06));
  color: #e2e9f5;
  box-shadow: 0 0 16px -5px rgba(184, 204, 232, .5);
}

/* Transparent header over the hero; solid once the page scrolls. */
/* Home page keeps the same utility strip as every other page: it rides on top
   of the hero, then slides away once the solid header takes over. */
body.has-hero-scene {
  --utility-h: 39px;
  --header-offset: 39px;
}
.has-hero-scene .utility-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 96;
  background:
    radial-gradient(120% 260% at 8% 0%, rgba(217, 166, 62, .24), transparent 60%),
    rgba(24, 16, 9, .76);
  border-bottom: 1px solid rgba(243, 207, 135, .24);
  -webkit-backdrop-filter: blur(12px) saturate(130%);
  backdrop-filter: blur(12px) saturate(130%);
  transition: transform .45s var(--ease), opacity .4s var(--ease);
}
.has-hero-scene.is-scrolled .utility-bar {
  transform: translateY(-101%);
  opacity: 0;
}
.has-hero-scene .site-header {
  position: fixed; top: var(--utility-h, 39px); left: 0; right: 0; z-index: 95;
  transition: top .45s var(--ease), background .4s var(--ease),
    border-color .4s var(--ease), box-shadow .4s var(--ease), min-height .35s var(--ease);
  /* Still transparent, but with a warm scrim so the white navigation keeps
     its contrast over the bright daytime photograph. */
  background: linear-gradient(180deg, rgba(22, 15, 8, .4) 0%, rgba(22, 15, 8, .18) 62%, rgba(22, 15, 8, 0) 100%);
  border-bottom-color: rgba(255, 255, 255, .14);
  backdrop-filter: none;
}
.has-hero-scene .site-header.is-stuck {
  top: 0;
  background: rgba(252, 246, 231, .97);
  border-bottom-color: var(--line);
  backdrop-filter: saturate(150%) blur(14px);
}
.has-hero-scene .site-header:not(.is-stuck) .brand img {
  /* Brighter gold plus a deeper halo so the mark still glows over the bright
     daytime photograph. */
  filter:
    brightness(1.16) saturate(1.05)
    drop-shadow(0 0 12px rgba(243, 207, 135, .55))
    drop-shadow(0 2px 10px rgba(18, 12, 7, .6));
}
.has-hero-scene .site-header:not(.is-stuck) .main-nav a {
  color: #fff;
  text-shadow: 0 1px 14px rgba(18, 12, 7, .75), 0 1px 2px rgba(18, 12, 7, .55);
}
.has-hero-scene .site-header:not(.is-stuck) .main-nav a:hover,
.has-hero-scene .site-header:not(.is-stuck) .main-nav a.is-active { color: #fff; }
.has-hero-scene .site-header:not(.is-stuck) .main-nav a::after { background: var(--gold-soft); }
.has-hero-scene .site-header:not(.is-stuck) .header-phone {
  color: #fff;
  text-shadow: 0 1px 14px rgba(18, 12, 7, .75), 0 1px 2px rgba(18, 12, 7, .55);
}
.has-hero-scene .site-header:not(.is-stuck) .nav-toggle {
  color: #fff;
  border-color: rgba(243, 207, 135, .55);
  box-shadow: 0 0 20px -8px var(--gold-glow);
  background: rgba(24, 17, 10, .22);
  text-shadow: 0 1px 10px rgba(18, 12, 7, .6);
}

@media (max-width: 720px) {
  /* Phones keep the full-screen hero too; the tighter rhythm below is what
     lets the copy and the highlights share that screen without clipping. */
  .hero-scene { min-height: 100vh; min-height: 100svh; }
  .hero-scene__inner { padding-top: 5.5rem; padding-bottom: 7rem; }
  .hero-scene__actions .btn { flex: 1 1 100%; }
  .hero-scene h1 { font-size: clamp(2.1rem, 8.4vw, 2.6rem); margin-bottom: 1rem; }
  .hero-scene__text { margin-bottom: 1.4rem; font-size: .95rem; }
  .hero-scene__meta { gap: .85rem; font-size: .98rem; }
  /* Phones keep the chip, tucked into the band between the card and the
     availability panel instead of disappearing. */
  .hero-scene__status {
    left: var(--gutter);
    bottom: 3.75rem;
    gap: .55rem;
    padding: .32rem .82rem .32rem .34rem;
  }
  .hero-scene__status-icon { width: 24px; height: 24px; }
  .hero-scene__status-icon svg { width: 13px; height: 13px; }
  .hero-scene__status-label { font-size: .62rem; letter-spacing: .16em; }
  .hero-scene__beam { filter: blur(7px); }
  /* Phones: the highlights sit underneath the copy in the same glass card. */
  .hero-scene__split { grid-template-columns: 1fr; gap: 1.5rem; align-items: start; }
  .hero-scene__aside { padding: 1.2rem 1.25rem; border-radius: 16px; justify-self: stretch; width: 100%; }
  .hero-scene__aside-label { margin-bottom: .9rem; font-size: .68rem; }
  .hero-scene__meta li { padding-bottom: .8rem; }
  .hero-scene__meta { max-width: none; }
  /* On phones the copy spans the whole photograph, so darken all of it. */
  .hero-scene__veil {
    background:
      linear-gradient(180deg, rgba(22, 14, 8, .52) 0%, rgba(22, 14, 8, .3) 26%, rgba(22, 14, 8, .44) 100%),
      radial-gradient(150% 90% at 0% 58%, rgba(26, 17, 9, .4), rgba(26, 17, 9, .18) 58%, rgba(26, 17, 9, 0) 82%);
  }
}

/* Short screens — landscape phones, small laptops — get a tighter hero so
   the photograph still ends at the fold instead of running past it. */
@media (max-height: 700px) {
  .hero-scene__inner { padding-top: calc(6rem + var(--header-offset, 0px)); padding-bottom: 5.25rem; }
  .hero-scene h1 { font-size: clamp(1.8rem, 4.4vw, 2.7rem); margin-bottom: .9rem; }
  .hero-scene__text { margin-bottom: 1.1rem; font-size: .93rem; line-height: 1.5; }
  .hero-scene__split { gap: 1.4rem; }
  .hero-scene__aside { padding: .95rem 1.15rem; }
  .hero-scene__aside-label { margin-bottom: .6rem; font-size: .66rem; }
  .hero-scene__meta { gap: .55rem; font-size: .9rem; }
  .hero-scene__meta li { padding-bottom: .55rem; }
  .hero-scene__meta svg { width: 18px; height: 18px; }
}
/* Phones that short can't hold the copy and the residence highlights at once;
   the highlights step aside so the hero (and the availability bar) stay whole. */
@media (max-width: 720px) and (max-height: 700px) {
  .hero-scene__aside { display: none; }
  .hero-scene__split { gap: 0; }
}
/* Landscape phones: barely 400px of height, so the copy carries the screen on
   its own and the hero still lands exactly on the fold. */
@media (max-height: 480px) {
  /* Landscape phones can't spare the strip either; the header sits at the top. */
  .utility-bar { display: none; }
  body.has-hero-scene { --utility-h: 0px; --header-offset: 0px; }
  .hero-scene__inner { padding-top: 4rem; padding-bottom: 4.5rem; }
  .hero-scene h1 { font-size: clamp(1.6rem, 3.6vw, 2.2rem); margin-bottom: .7rem; }
  .hero-scene__text { margin-bottom: .9rem; font-size: .88rem; }
  .hero-scene__aside { display: none; }
  .hero-scene__split { grid-template-columns: 1fr; gap: 0; }
  .hero-scene .eyebrow { font-size: .58rem; letter-spacing: .2em; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scene__beam { display: none; }
  .hero-scene__status-sun,
  .hero-scene__status-moon { transition: none; }
}

/* ------------------------------------------------------- hero (split) */
.hero-split {
  position: relative;
  background:
    radial-gradient(ellipse at 12% 0%, #fbf7ef 0%, transparent 55%),
    var(--ivory);
  overflow: hidden;
}
.hero-split__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding-block: clamp(3rem, 6vw, 6rem) clamp(5rem, 9vw, 8rem);
  min-height: min(88vh, 820px);
}
.hero-split__copy { position: relative; z-index: 2; max-width: 720px; }
.hero-split h1 { margin-bottom: 1.4rem; }
.hero-split h1 em { display: block; }
.hero-split__text { font-size: clamp(1rem, 1.3vw, 1.1rem); color: var(--graphite); max-width: 54ch; margin-bottom: 2.4rem; }
.hero-split__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-split__meta {
  display: flex; flex-wrap: wrap; gap: 1.2rem 2.2rem;
  margin-top: 3rem; padding-top: 1.6rem;
  border-top: 1px solid var(--line-strong);
  font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.hero-split__meta span { display: inline-flex; align-items: center; gap: .5rem; }
.hero-split__meta svg { width: 15px; height: 15px; color: var(--gold-deep); }

.hero-split__media { position: relative; min-height: 460px; }
.hero-frame {
  position: absolute;
  top: 0; right: 0;
  width: 76%;
  aspect-ratio: 3 / 4;
  margin: 0;
  overflow: hidden;
  box-shadow: 0 50px 90px -60px rgba(25, 24, 21, .9);
  background: var(--beige);
}
.hero-frame::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(25, 24, 21, 0) 45%, rgba(25, 24, 21, .28));
  pointer-events: none;
}
.hero-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: heroDrift 22s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to   { transform: scale(1.07) translate3d(-1.2%, -1%, 0); }
}
.hero-frame--small {
  position: absolute;
  left: 0; bottom: 0;
  width: 46%;
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  border: 9px solid var(--ivory);
  box-shadow: 0 30px 60px -45px rgba(25, 24, 21, .9);
  background: var(--beige);
  z-index: 2;
}
.hero-frame--small img { width: 100%; height: 100%; object-fit: cover; }
.hero-caption {
  position: absolute;
  right: 0; bottom: -2.4rem;
  font-size: .6rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--muted);
  writing-mode: vertical-rl;
}
.hero-seal {
  position: absolute;
  top: 1.4rem; left: 1rem;
  width: 118px; height: 118px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(252, 246, 231, .92);
  display: grid; place-items: center;
  text-align: center;
  z-index: 3;
  box-shadow: 0 20px 40px -30px rgba(0,0,0,.4);
}
.hero-seal span {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.05;
  color: var(--charcoal);
}
.hero-seal small {
  display: block;
  font-family: var(--font-body);
  font-size: .52rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-top: .3rem;
}

/* --------------------------------------------------------- booking bar */
.searchbar-wrap { position: relative; z-index: 6; margin-top: clamp(-112px, -6.4vw, -76px); }

/* Glass availability panel -----------------------------------------------
   Frosted, fully rounded glass: the hero photograph stays visible through
   it, blurred and saturated like a lens, with a bright refractive rim, a
   slow specular sweep and softly rounded fields. */
.searchbar {
  position: relative;
  padding: 1.45rem clamp(1.2rem, 2.4vw, 2.1rem) 1.55rem;
  border-radius: 26px;
  border: 1px solid rgba(243, 207, 135, .62);
  background:
    linear-gradient(150deg,
      rgba(255, 255, 255, .5) 0%,
      rgba(255, 255, 255, .26) 45%,
      rgba(255, 255, 255, .4) 100%);
  -webkit-backdrop-filter: blur(22px) saturate(200%) brightness(1.07) contrast(1.03);
  backdrop-filter: blur(22px) saturate(200%) brightness(1.07) contrast(1.03);
  box-shadow:
    0 0 0 1px rgba(243, 207, 135, .22),
    0 0 46px -10px rgba(226, 178, 82, .55),
    0 42px 80px -48px rgba(15, 13, 10, .8),
    0 16px 32px -26px rgba(15, 13, 10, .55),
    inset 0 1px 0 rgba(255, 244, 214, .95),
    inset 0 -20px 36px -28px rgba(255, 244, 214, .9),
    inset 0 0 0 1px rgba(243, 207, 135, .3);
  isolation: isolate;
  overflow: hidden;
}
/* Refractive rim: a hairline highlight that is bright where light catches
   the edge and fades across the glass. */
.searchbar::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(140deg,
    rgba(255, 244, 214, .98) 0%,
    rgba(243, 207, 135, .3) 26%,
    rgba(217, 166, 62, .18) 52%,
    rgba(243, 207, 135, .55) 78%,
    rgba(255, 240, 205, .95) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}
/* Specular sweep travelling across the surface. */
.searchbar::after {
  content: "";
  position: absolute; top: -70%; bottom: -70%; left: -35%; width: 38%; z-index: 1;
  background: linear-gradient(100deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, .5) 48%,
    rgba(255, 255, 255, 0) 100%);
  filter: blur(16px);
  transform: rotate(9deg);
  opacity: .25;
  animation: glassSweep 12s ease-in-out infinite;
  pointer-events: none;
}
@keyframes glassSweep {
  0%, 12% { transform: translateX(0) rotate(9deg); opacity: .18; }
  50% { opacity: .55; }
  88%, 100% { transform: translateX(330%) rotate(9deg); opacity: .18; }
}

.searchbar__title {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-size: .62rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 1.2rem;
  padding-bottom: .95rem;
  border-bottom: 1px solid rgba(217, 166, 62, .5);
}
.searchbar__title svg { width: 15px; height: 15px; }
.searchbar form {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 1.2rem;
  align-items: end;
}
.searchbar__field { min-width: 0; }
.searchbar .btn { height: 48px; padding-inline: 1.5rem; border-radius: 14px; }

/* Fields become small panes of the same glass. */
.searchbar .form-control,
.searchbar .form-select {
  height: 50px;
  padding-block: 0;
  border-radius: 14px;
  border: 1px solid rgba(243, 207, 135, .7);
  background-color: rgba(255, 255, 255, .46);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .95),
    inset 0 0 0 1px rgba(255, 255, 255, .18),
    0 4px 12px -10px rgba(15, 13, 10, .55);
  -webkit-backdrop-filter: blur(12px) saturate(170%);
  backdrop-filter: blur(12px) saturate(170%);
  transition: background-color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.searchbar .form-select { padding-right: 2.4rem; }
.searchbar .form-control:focus,
.searchbar .form-select:focus {
  outline: none;
  background-color: rgba(255, 255, 255, .9);
  border-color: rgba(217, 166, 62, .9);
  box-shadow:
    0 0 0 3px rgba(217, 166, 62, .24),
    0 0 22px -6px rgba(226, 178, 82, .6),
    inset 0 1px 0 rgba(255, 250, 236, .95);
}
.searchbar .form-label { color: var(--graphite); }

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .searchbar { background: var(--white); }
  .searchbar .form-control, .searchbar .form-select { background-color: var(--white); }
}

@media (max-width: 720px) {
  .searchbar { border-radius: 22px; padding: 1.2rem 1.15rem 1.3rem; }
  .searchbar .form-control, .searchbar .form-select { height: 48px; border-radius: 12px; }
  .searchbar .btn { border-radius: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .searchbar::after { animation: none; opacity: .2; }
}

/* ---------------------------------------------------------- page heading */
.page-hero {
  position: relative;
  padding-block: clamp(3.4rem, 7vw, 5.8rem) clamp(2.6rem, 5vw, 4rem);
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: clamp(1rem, 6vw, 6rem);
  bottom: -3.5rem;
  width: 220px; height: 220px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  opacity: .55;
  pointer-events: none;
}
.page-hero h1 { margin-bottom: .8rem; max-width: 24ch; }
.page-hero p { max-width: 78ch; color: var(--muted); margin-bottom: 0; }
.page-hero .breadcrumb { position: relative; z-index: 1; }
.page-hero__inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.page-hero__meta { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

.breadcrumb {
  display: flex; flex-wrap: wrap; gap: .55rem; align-items: center;
  font-size: .64rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.6rem;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--gold-deep); }
.breadcrumb span[aria-current] { color: var(--gold-deep); }
/* Page heroes sit on a photograph, like the home page does. */
.page-hero--image {
  display: flex;
  align-items: flex-end;
  min-height: clamp(280px, 38vh, 440px);
  background-color: var(--charcoal);
  background-position: center 56%;
  background-repeat: no-repeat;
  background-size: cover;
  color: rgba(253, 248, 239, .82);
  border-bottom: 1px solid var(--gold-line-soft);
  isolation: isolate;
}
.page-hero--image::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(96deg, rgba(20, 13, 8, .94) 0%, rgba(20, 13, 8, .74) 34%, rgba(20, 13, 8, .36) 66%, rgba(20, 13, 8, .54) 100%),
    linear-gradient(180deg, rgba(20, 13, 8, .5) 0%, rgba(20, 13, 8, 0) 38%, rgba(20, 13, 8, .58) 100%);
}
.page-hero--image::after { display: none; }
.page-hero--image .container { position: relative; z-index: 1; width: 100%; }
.page-hero--image h1 { color: #fdf8ee; text-shadow: 0 2px 30px rgba(18, 12, 7, .55), 0 1px 3px rgba(18, 12, 7, .5); }
.page-hero--image p { color: rgba(253, 248, 239, .86); text-shadow: 0 1px 3px rgba(18, 12, 7, .55); }
.page-hero--image .breadcrumb,
.page-hero--image .breadcrumb a { color: rgba(253, 248, 239, .76); text-shadow: 0 1px 8px rgba(18, 12, 7, .55); }
.page-hero--image .breadcrumb a:hover { color: var(--gold-soft); }
.page-hero--image .breadcrumb span[aria-current] { color: var(--gold-soft); }
.page-hero--image .eyebrow { color: var(--gold-soft); }
/* With the transparent header riding on top, the photo hero needs a little
   more height and a deeper top pad so nothing tucks under the bar. */
.has-hero-scene .page-hero--image {
  /* A tall window onto the photograph, so the frame reads as a picture rather
     than a strip behind the title. */
  min-height: clamp(460px, 62vh, 760px);
  padding-top: calc(clamp(3.4rem, 7vw, 5.8rem) + 3.2rem);
}

@media (max-width: 720px) {
  .page-hero--image { min-height: clamp(240px, 46vh, 340px); background-position: center 60%; }
  .has-hero-scene .page-hero--image { min-height: clamp(340px, 56vh, 500px); }
}

/* Liquid lines backdrop ------------------------------------------------
   A canvas of slow gold ribbons sits behind a light section; the content
   stays on top and pointer events pass through. */
.section--liquid {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.section--liquid > .container { position: relative; z-index: 2; }
.liquid-lines {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(130% 120% at 50% 45%, #000 48%, transparent 100%);
  mask-image: radial-gradient(130% 120% at 50% 45%, #000 48%, transparent 100%);
}

/* Ambient apartment field ----------------------------------------------
   The listings sit in late-afternoon light rather than on a flat panel:
   pools of sun and fine dust drift across a warm wash, a hairline dot
   grid holds the edges, and a glint crosses the wall every half minute.
   The light is drawn by ambient-field.js because a still gradient always
   reads as a tint; the wash below keeps its depth before the canvas
   paints, without JS, and for reduced-motion visitors. Shared by the
   home page's featured grid and the apartments listing. */
.section--ambient {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.section--ambient,
.section--ivory.section--ambient,
.section--paper.section--ambient,
.section--sand.section--ambient {
  background-image:
    radial-gradient(70% 62% at 88% 8%, rgba(243, 207, 135, .6), transparent 62%),
    radial-gradient(64% 60% at 4% 96%, rgba(217, 166, 62, .3), transparent 66%),
    radial-gradient(52% 48% at 50% 38%, rgba(255, 252, 244, .55), transparent 72%),
    linear-gradient(168deg, #faf0da 0%, #f4e4c5 48%, #ecd9b3 100%);
}
/* A low sun at the top-right and a warm bounce at the bottom-left. */
.section--ambient::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(46% 46% at 92% -6%,
      rgba(255, 242, 210, .95) 0%,
      rgba(243, 207, 135, .62) 36%,
      rgba(243, 207, 135, 0) 74%),
    radial-gradient(42% 46% at 2% 104%,
      rgba(217, 166, 62, .34) 0%,
      rgba(217, 166, 62, 0) 70%);
}
/* Hairline arcs ripple out of the light like rings on plaster. They are the
   section's architecture: enough linework that the ground never reads as a
   flat colour, faint enough that the cards stay the focus. */
.section--ambient::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    repeating-radial-gradient(circle at 96% -8%,
      rgba(148, 101, 26, 0) 0 62px,
      rgba(148, 101, 26, .3) 62px 63.5px,
      rgba(148, 101, 26, 0) 63.4px 67px),
    repeating-radial-gradient(circle at 0% 112%,
      rgba(148, 101, 26, 0) 0 78px,
      rgba(148, 101, 26, .17) 78px 79.4px,
      rgba(148, 101, 26, 0) 79.4px 83px);
  -webkit-mask-image: radial-gradient(150% 140% at 50% 50%, transparent 14%, #000 78%);
  mask-image: radial-gradient(150% 140% at 50% 50%, transparent 14%, #000 78%);
}
.section--ambient > .container { position: relative; z-index: 2; }
/* The warmer ground costs the gold eyebrow a little contrast; deepen it
   inside these sections so the small caps stay comfortably readable. */
.section--ambient .eyebrow { color: #7c5411; }
/* Photographs keep their cut-out edges on the sand ground. */
.section--ambient .intro-media__inset { border-color: #f7ead0; }
.section--ambient .intro-media__label { background: #f7ead0; }

.ambient-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.ambient-field canvas {
  display: block;
  width: 100%;
  height: 100%;
}
/* Sunlight through tall windows: wide, soft bands that sway a few degrees
   as the afternoon turns. */
.ambient-field__rays {
  position: absolute;
  inset: -25% -15%;
  background:
    repeating-linear-gradient(104deg,
      rgba(255, 250, 236, 0) 0 118px,
      rgba(255, 250, 236, .62) 176px,
      rgba(255, 250, 236, 0) 236px 344px),
    repeating-linear-gradient(104deg,
      rgba(58, 36, 21, 0) 0 236px,
      rgba(58, 36, 21, .055) 292px,
      rgba(58, 36, 21, 0) 344px);
  opacity: .85;
  transform: rotate(-1.5deg);
  animation: ambientRays 42s ease-in-out infinite alternate;
}
@keyframes ambientRays {
  from { transform: translate3d(-3%, 0, 0) rotate(-1.5deg); }
  to   { transform: translate3d(4%, -2%, 0) rotate(2deg); }
}
.ambient-field__grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(58, 36, 21, .17) 1px, transparent 1.7px);
  background-size: 28px 28px;
  opacity: .55;
  -webkit-mask-image: radial-gradient(92% 80% at 50% 50%, transparent 22%, #000 96%);
  mask-image: radial-gradient(92% 80% at 50% 50%, transparent 22%, #000 96%);
}
.ambient-field__sheen {
  position: absolute;
  top: -40%; bottom: -40%; left: -20%; width: 26%;
  background: linear-gradient(102deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 250, 238, .55) 50%,
    rgba(255, 255, 255, 0) 100%);
  filter: blur(24px);
  opacity: 0;
  animation: ambientSheen 34s ease-in-out infinite;
}
@keyframes ambientSheen {
  0%, 8%    { transform: translateX(0) rotate(4deg); opacity: 0; }
  22%       { opacity: .45; }
  52%       { opacity: .24; }
  70%, 100% { transform: translateX(560%) rotate(4deg); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ambient-field__sheen { display: none; }
  .ambient-field__rays { animation: none; }
}

/* -------------------------------------------------------- intro / about */
.intro-split {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(2.2rem, 5vw, 5rem);
  align-items: center;
}
.intro-split--reverse .intro-split__media { order: 2; }
.intro-media { position: relative; }
.intro-media__main {
  width: 88%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: var(--beige);
}
.intro-media__inset {
  position: absolute;
  right: 0; bottom: -2.6rem;
  width: 52%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 8px solid var(--paper);
  box-shadow: var(--shadow-soft);
  background: var(--beige);
}
.section--ivory .intro-media__inset { border-color: var(--ivory); }
.intro-media__label {
  position: absolute;
  left: -.9rem; top: 2rem;
  writing-mode: vertical-rl;
  font-size: .58rem; letter-spacing: .34em; text-transform: uppercase;
  color: var(--gold-deep);
  background: var(--paper);
  padding: .8rem .35rem;
}
.section--ivory .intro-media__label { background: var(--ivory); }

.intro-copy h2 { max-width: 22ch; }
.intro-copy p { max-width: 66ch; }
.intro-list { list-style: none; padding: 0; margin: 2rem 0 2.2rem; display: grid; gap: .1rem; }
.intro-list li {
  display: flex; align-items: baseline; gap: .9rem;
  padding: .8rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .92rem;
  margin: 0;
}
.intro-list li span:first-child { font-family: var(--font-display); color: var(--gold-deep); font-size: .95rem; min-width: 1.6rem; }

/* --------------------------------------------------------- apartment cards */
.apartments-grid {
  display: grid;
  /* auto-fit collapses unused tracks so a short list still fills the row */
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: clamp(1.6rem, 3vw, 2.6rem);
}
.apartment-card {
  background: transparent;
  display: flex;
  flex-direction: column;
  position: relative;
  /* Caps a lone card on a row instead of letting it span the whole grid. */
  max-width: 680px;
}
.apartment-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--beige);
  border: 1px solid var(--gold-line-soft);
  box-shadow: var(--gold-halo);
  transition: border-color .5s var(--ease), box-shadow .5s var(--ease);
}
.apartment-card:hover .apartment-card__media {
  border-color: var(--gold-line);
  box-shadow: var(--gold-halo-strong);
}
.apartment-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), filter .5s;
  filter: saturate(.94);
}
.apartment-card:hover .apartment-card__media img { transform: scale(1.05); filter: saturate(1); }
.apartment-card__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20, 19, 16, .55), transparent 52%);
  opacity: 0;
  transition: opacity .45s var(--ease);
  pointer-events: none;
}
.apartment-card:hover .apartment-card__media::after { opacity: 1; }
.apartment-card__price {
  position: absolute;
  left: 0; bottom: 0;
  z-index: 2;
  background: var(--paper);
  color: var(--charcoal);
  padding: .65rem 1rem;
  font-size: .76rem;
  font-weight: 400;
  letter-spacing: .06em;
}
.apartment-card__price small { color: var(--muted); font-size: .66rem; letter-spacing: .1em; }
.apartment-card__flag {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  background: rgba(252, 246, 231, .94);
  color: var(--charcoal);
  font-size: .56rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  padding: .42rem .7rem;
}
.apartment-card__flag--sample { background: rgba(173, 135, 73, .95); color: #fff; }
.apartment-card__body { padding: 1.4rem 0 0; display: flex; flex-direction: column; flex: 1; }
.apartment-card__body h3 { font-size: 1.55rem; margin-bottom: .4rem; line-height: 1.1; }
.apartment-card__body h3 a { color: var(--charcoal); }
.apartment-card__body h3 a:hover { color: var(--gold-deep); }
.apartment-card__desc { font-size: .89rem; color: var(--muted); margin-bottom: 1rem; flex: 1; }
.apartment-card__specs {
  display: flex; flex-wrap: wrap; gap: .5rem 1.15rem;
  padding-block: .8rem;
  border-top: 1px solid var(--line);
  font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--graphite);
}
.apartment-card__specs span { display: inline-flex; align-items: center; gap: .38rem; }
.apartment-card__specs svg { width: 14px; height: 14px; color: var(--gold-deep); }
.apartment-card__amenities {
  display: flex; align-items: flex-start; gap: .4rem;
  font-size: .76rem; color: var(--muted); margin: .1rem 0 .9rem; line-height: 1.55;
}
.apartment-card__amenities svg { width: 13px; height: 13px; color: var(--gold); margin-top: .2rem; flex-shrink: 0; }
.apartment-card__amenities span { color: var(--gold-deep); }
.apartment-card__total { font-size: .76rem; color: var(--muted); margin: 0 0 .9rem; }
.apartment-card__total strong { color: var(--charcoal); font-weight: 400; }
.apartment-card__actions { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; margin-top: .3rem; }
.apartment-card--sample .apartment-card__media { outline: 1px solid transparent; }

/* ----------------------------------------------------------- facilities */
.facility-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0 clamp(2rem, 4vw, 3.5rem);
}
.facility {
  display: flex; gap: 1.1rem; align-items: flex-start;
  padding: 1.7rem 0;
  border-top: 1px solid var(--line);
}
.section--dark .facility { border-color: rgba(217, 166, 62, .3); }
.facility svg { width: 22px; height: 22px; color: var(--gold); flex-shrink: 0; margin-top: .15rem; }
.facility h3 { font-family: var(--font-body); font-size: .74rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--charcoal); margin-bottom: .35rem; }
.facility p { font-size: .86rem; color: var(--muted); margin: 0; }
.section--dark .facility h3 { color: var(--ivory-soft); }
.section--dark .facility p { color: rgba(255, 255, 255, .55); }

/* About page introduction: copy beside two photographs. */
.about-intro { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(2rem, 4.5vw, 4.5rem); align-items: start; }
.about-intro p { max-width: 70ch; }
.about-intro .stat-row { max-width: 640px; }
.about-intro__media { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.8rem, 1.4vw, 1.2rem); }
.about-intro__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--beige); }
.about-intro__media img:nth-child(2) { margin-top: clamp(1.2rem, 3vw, 2.6rem); }
@media (max-width: 980px) {
  /* minmax(0, 1fr) lets the copy column shrink instead of being widened by
     the photo pair, which used to push the page wider than the phone. */
  .about-intro { grid-template-columns: minmax(0, 1fr); }
  .about-intro > * { min-width: 0; }
  .about-intro__media { max-width: 560px; }
}

/* Amenity grid used on the About page (icon + name tiles). */
.amenity-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 clamp(1.6rem, 2.6vw, 2.8rem); }
.amenity { display: flex; align-items: center; gap: .9rem; padding: 1.15rem 0; border-top: 1px solid var(--line); }
.amenity svg { width: 20px; height: 20px; color: var(--gold-deep); flex-shrink: 0; }
.amenity h3 { font-family: var(--font-body); font-size: .8rem; font-weight: 400; letter-spacing: .03em; color: var(--graphite); margin: 0; }

/* --------------------------------------------------------------- gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* Taller tiles suit the portrait photographs and crop them far less. */
  grid-auto-rows: clamp(200px, 25vw, 360px);
  gap: clamp(.55rem, 1vw, .9rem);
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border: 0;
  padding: 0;
  background: var(--beige);
  cursor: zoom-in;
  display: block;
  width: 100%;
  height: 100%;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; object-position: center 46%; transition: transform 1s var(--ease); }
.gallery-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(18, 17, 15, .58), transparent 58%);
  opacity: 0; transition: opacity .4s var(--ease);
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item__caption {
  position: absolute; left: 1.1rem; bottom: .95rem; z-index: 2;
  color: #fff; font-size: .64rem; letter-spacing: .18em; text-transform: uppercase;
  opacity: 0; transform: translateY(6px); transition: all .4s var(--ease);
  text-align: left;
}
.gallery-item:hover .gallery-item__caption { opacity: 1; transform: none; }

/* Accordion strip (home page) --------------------------------------------
   Each photograph waits as a narrow panel showing only a slice of the frame;
   the active panel widens to reveal it, with its category and title. */
.gallery-strip {
  --peek: clamp(118px, 13vw, 168px);
  display: flex;
  align-items: stretch;
  gap: clamp(.5rem, .8vw, .85rem);
  height: clamp(430px, 46vw, 620px);
}
.gallery-panel {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  padding: 0;
  border: 1px solid rgba(240, 223, 185, .13);
  border-radius: 16px;
  background:
    radial-gradient(120% 58% at 50% 0%, rgba(217, 166, 62, .12), transparent 62%),
    linear-gradient(168deg, #2c1b0f 0%, #1d120a 58%, #150d07 100%);
  box-shadow: 0 0 24px -14px rgba(226, 178, 82, .45);
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: var(--pale-gold);
  -webkit-tap-highlight-color: transparent;
  transition:
    flex-grow .9s var(--ease),
    border-color .5s var(--ease),
    box-shadow .6s var(--ease);
}
.gallery-panel.is-open {
  flex-grow: 4.2;
  border-color: rgba(217, 166, 62, .5);
  box-shadow:
    0 34px 70px -34px rgba(21, 13, 7, .75),
    0 0 0 1px rgba(217, 166, 62, .16),
    0 0 44px -14px var(--gold-glow);
}
.gallery-panel:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 3px; }

.gallery-panel__media {
  position: absolute; inset: 0; z-index: 0;
  clip-path: inset(0 0 calc(100% - var(--peek)) 0 round 15px);
  transition: clip-path 1s var(--ease);
}
.gallery-panel__media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 48%;
  transform: scale(1.06);
  transition: transform 1.5s var(--ease);
}
.gallery-panel:hover .gallery-panel__media img { transform: scale(1.03); }
.gallery-panel.is-open .gallery-panel__media { clip-path: inset(0 round 15px); }
.gallery-panel.is-open .gallery-panel__media img { transform: scale(1); }

.gallery-panel__veil {
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top,
    rgba(18, 11, 6, .94) 0%, rgba(18, 11, 6, .62) 24%,
    rgba(18, 11, 6, .18) 46%, rgba(18, 11, 6, 0) 64%);
  opacity: 0;
  transition: opacity .55s var(--ease) .1s;
}
.gallery-panel.is-open .gallery-panel__veil { opacity: 1; }

.gallery-panel__body {
  position: absolute; inset: auto 0 0 0; z-index: 2;
  display: flex; flex-direction: column; align-items: flex-start; gap: .7rem;
  padding: clamp(1.1rem, 1.7vw, 1.8rem);
  opacity: 0; transform: translateY(16px);
  pointer-events: none;
  transition: opacity .4s var(--ease), transform .65s var(--ease);
}
.gallery-panel.is-open .gallery-panel__body {
  opacity: 1; transform: none;
  transition-delay: .2s;
}
.gallery-panel__tag {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .35rem .78rem;
  border: 1px solid rgba(243, 207, 135, .55);
  border-radius: 999px;
  background: rgba(20, 12, 7, .45);
  backdrop-filter: blur(8px);
  color: var(--gold-soft);
  font-size: .58rem; letter-spacing: .22em; text-transform: uppercase;
  white-space: nowrap;
}
.gallery-panel__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.35rem, 2.3vw, 2.5rem);
  line-height: 1.12;
  color: #fdf8ee;
  text-shadow: 0 2px 26px rgba(14, 9, 5, .6);
}
.gallery-panel__cta {
  display: inline-flex; align-items: center; gap: .45rem;
  padding-bottom: .22rem;
  border-bottom: 1px solid rgba(240, 223, 185, .34);
  color: var(--pale-gold);
  font-size: .6rem; letter-spacing: .2em; text-transform: uppercase;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.gallery-panel__cta-icon { width: 14px; height: 14px; }
.gallery-panel.is-open:hover .gallery-panel__cta { color: var(--gold-soft); border-color: var(--gold-soft); }

/* Vertical caption on the collapsed panels. */
.gallery-panel__spine {
  position: absolute; left: 50%; bottom: 1.5rem; z-index: 2;
  writing-mode: vertical-rl;
  transform: translateX(-50%) rotate(180deg);
  font-size: .68rem; letter-spacing: .24em; text-transform: uppercase;
  color: rgba(240, 223, 185, .78);
  white-space: nowrap;
  transition: opacity .35s var(--ease), color .3s var(--ease);
}
.gallery-panel:hover .gallery-panel__spine { color: var(--gold-soft); }
.gallery-panel.is-open .gallery-panel__spine { opacity: 0; }

@media (max-width: 860px) {
  /* Phones stack the strip: each panel becomes a short band that grows
     downwards, its caption reading across instead of up the side. */
  .gallery-strip { flex-direction: column; height: auto; gap: .6rem; }
  .gallery-panel {
    flex: 0 0 auto;
    height: 132px;
    border-radius: 14px;
    transition: height .8s var(--ease), border-color .5s var(--ease), box-shadow .6s var(--ease);
  }
  .gallery-panel.is-open { height: min(78vw, 400px); }
  .gallery-panel__media,
  .gallery-panel.is-open .gallery-panel__media { clip-path: inset(0 round 13px); }
  .gallery-panel__veil {
    background: linear-gradient(to right,
      rgba(18, 11, 6, .92) 0%, rgba(18, 11, 6, .58) 52%, rgba(18, 11, 6, .12) 100%);
    opacity: 1;
  }
  .gallery-panel.is-open .gallery-panel__veil {
    background: linear-gradient(to top,
      rgba(18, 11, 6, .94) 0%, rgba(18, 11, 6, .6) 28%, rgba(18, 11, 6, .16) 52%, rgba(18, 11, 6, 0) 70%);
  }
  .gallery-panel__spine {
    writing-mode: horizontal-tb;
    transform: none;
    left: 1.15rem; right: 1.15rem; bottom: auto; top: 50%;
    margin-top: -.55rem;
    font-size: .66rem; letter-spacing: .2em;
  }
  .gallery-panel__body { padding: 1.05rem; gap: .55rem; }
  .gallery-panel__title { font-size: 1.55rem; }
}
.gallery-filters { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 2.2rem; }
.chip {
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--graphite);
  padding: .55rem .95rem;
  border-radius: 0;
  font-family: var(--font-body);
  font-size: .62rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .25s var(--ease);
}
.chip:hover { border-color: var(--gold); color: var(--gold-deep); }
.chip.is-active { background: var(--charcoal); border-color: var(--charcoal); color: var(--ivory-soft); }

/* -------------------------------------------------------------- lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(18, 17, 14, .96);
  display: flex; align-items: center; justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__figure { max-width: 1100px; width: 100%; margin: 0; text-align: center; }
.lightbox__figure img {
  max-height: 82vh; width: auto; max-width: 100%;
  margin-inline: auto;
  box-shadow: 0 40px 100px -40px #000;
}
.lightbox__caption { color: rgba(255, 255, 255, .6); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; margin-top: 1.3rem; }
.lightbox__close, .lightbox__nav {
  position: absolute;
  background: transparent;
  border: 1px solid rgba(243, 207, 135, .5);
  color: #fff;
  width: 50px; height: 50px;
  display: grid; place-items: center;
  cursor: pointer;
  transition: background .25s, border-color .25s;
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(243, 207, 135, .14); border-color: var(--gold-soft); box-shadow: 0 0 26px -8px var(--gold-glow); }
.lightbox__close { top: 1.4rem; right: 1.4rem; }
.lightbox__nav svg, .lightbox__close svg { width: 20px; height: 20px; }
.lightbox__nav--prev { left: 1.4rem; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 1.4rem; top: 50%; transform: translateY(-50%); }

/* -------------------------------------------------------- details page */
.detail-gallery {
  display: grid;
  grid-template-columns: 1.9fr 1fr;
  gap: .55rem;
  margin-bottom: clamp(2rem, 4vw, 3.2rem);
}
.detail-gallery__main {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 0; padding: 0;
  background: var(--beige);
  cursor: zoom-in;
}
.detail-gallery__main img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.detail-gallery__main:hover img { transform: scale(1.03); }
.detail-gallery__side { display: grid; grid-template-rows: 1fr 1fr; gap: .55rem; }
.detail-gallery__side button {
  border: 0; padding: 0; background: var(--beige); overflow: hidden;
  cursor: zoom-in; position: relative;
}
.detail-gallery__side img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.detail-gallery__side button:hover img { transform: scale(1.04); }
.detail-gallery__more {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: rgba(18, 17, 14, .58);
  color: #fff;
  font-size: .66rem; letter-spacing: .22em; text-transform: uppercase;
}

.detail-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, .85fr); gap: clamp(2rem, 4.5vw, 4.5rem); align-items: start; }
.detail-title { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1.4rem; }
.detail-title h1 { font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: .4rem; }
.detail-location { display: inline-flex; align-items: center; gap: .45rem; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.detail-location svg { width: 14px; height: 14px; color: var(--gold-deep); }

.detail-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 2.4rem;
}
.detail-specs__item { display: flex; align-items: center; gap: .75rem; font-family: var(--font-display); font-size: 1.05rem; color: var(--charcoal); }
.detail-specs__item svg { width: 20px; height: 20px; color: var(--gold-deep); flex-shrink: 0; }
.detail-specs__item small { display: block; font-family: var(--font-body); font-size: .58rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: .15rem; }

.detail-section { margin-top: clamp(2.2rem, 4vw, 3.4rem); }
.detail-section > h2 { font-size: clamp(1.65rem, 2.6vw, 2.1rem); margin-bottom: 1.1rem; }
.detail-description { color: var(--graphite); white-space: pre-line; font-size: 1rem; max-width: 68ch; }
.amenity-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0 1.6rem; list-style: none; padding: 0; margin: 0; }
.amenity-list li { display: flex; align-items: center; gap: .65rem; font-size: .86rem; padding: .72rem 0; border-bottom: 1px solid var(--line); margin: 0; }
.amenity-list svg { width: 17px; height: 17px; color: var(--gold-deep); flex-shrink: 0; }

/* booking sidebar */
.booking-panel {
  position: sticky;
  top: 120px;
  background: var(--white);
  border: 1px solid var(--gold-line-soft);
  box-shadow: var(--shadow-card), var(--gold-halo);
  padding: clamp(1.4rem, 2.4vw, 1.9rem);
}
.booking-panel__price { display: flex; align-items: baseline; gap: .45rem; padding-bottom: 1.1rem; margin-bottom: 1.3rem; border-bottom: 1px solid var(--line); }
.booking-panel__price strong { font-family: var(--font-display); font-size: 2rem; font-weight: 400; color: var(--charcoal); }
.booking-panel__price span { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.booking-panel h2 { font-family: var(--font-body); font-size: .62rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.2rem; }
.booking-panel__note { font-size: .72rem; color: var(--muted); margin: 1rem 0 0; text-align: center; line-height: 1.6; }
.booking-total-line { display: flex; justify-content: space-between; align-items: baseline; padding: .9rem 0 0; border-top: 1px solid var(--line); margin-top: 1rem; font-size: .9rem; }
.booking-total-line strong { font-family: var(--font-display); font-size: 1.3rem; color: var(--charcoal); }

/* ------------------------------------------------------------- booking */
.booking-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(290px, .85fr); gap: clamp(1.8rem, 4vw, 3.6rem); align-items: start; }
.card {
  background: var(--white);
  border: 1px solid var(--gold-line-soft);
  box-shadow: var(--gold-halo);
  padding: clamp(1.4rem, 3vw, 2.4rem);
}
.card + .card { margin-top: 1.2rem; }
.card--sand, .card--ivory { background: var(--ivory-soft); border-color: var(--line-strong); }
.card h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-bottom: 1rem; }
.card h3 { font-size: 1.25rem; }
.card p:last-child { margin-bottom: 0; }

.steps { display: grid; gap: 0; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { display: flex; gap: .9rem; padding: .95rem 0; border-bottom: 1px solid var(--line); font-size: .88rem; margin: 0; }
.steps li:last-child { border-bottom: 0; padding-bottom: 0; }
.steps li::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: .9rem;
  color: var(--gold-deep);
  margin-top: .1rem;
}
.summary-image { aspect-ratio: 16 / 10; overflow: hidden; margin-bottom: 1.3rem; background: var(--beige); }
.summary-image img { width: 100%; height: 100%; object-fit: cover; }
.summary-list { list-style: none; padding: 0; margin: 0 0 1rem; font-size: .88rem; }
.summary-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem 0; border-bottom: 1px solid var(--line); margin: 0; }
.summary-list li span:first-child { color: var(--muted); font-size: .78rem; letter-spacing: .06em; }
.summary-list li span:last-child { text-align: right; color: var(--charcoal); }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; padding: 1rem 0 .2rem; }
.summary-total span { font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.summary-total strong { font-family: var(--font-display); font-size: 1.6rem; font-weight: 400; color: var(--charcoal); }

.availability-note {
  display: flex; gap: .7rem; align-items: flex-start;
  background: #f2f6f1; border-left: 2px solid var(--success); color: #33563f;
  padding: .9rem 1rem; font-size: .82rem; margin-bottom: 1.2rem;
}
.availability-note p { margin: 0; }
.availability-note svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: .12rem; }
.availability-note--warn { background: #fbf4e7; border-color: var(--warning); color: #735420; }
.availability-note--error { background: #fbf0ee; border-color: var(--danger); color: #8b3a30; }
.availability-note--ok { background: #f2f6f1; border-color: var(--success); color: #33563f; }

/* ---------------------------------------------------------- mobile money */
.pay-methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .6rem; margin-bottom: 1.3rem; }
.pay-method { position: relative; }
.pay-method input { position: absolute; opacity: 0; pointer-events: none; }
.pay-method label {
  display: flex; flex-direction: column; gap: .3rem;
  padding: .95rem 1rem;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: all .25s var(--ease);
  background: #fff;
  height: 100%;
}
.pay-method label strong { font-size: .8rem; font-weight: 500; letter-spacing: .06em; color: var(--charcoal); }
.pay-method label small { font-size: .7rem; color: var(--muted); }
.pay-method input:checked + label { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); background: #fffdf8; }
.pay-method input:focus-visible + label { outline: 2px solid var(--gold); outline-offset: 2px; }
.pay-method__dot { width: 8px; height: 8px; border: 1px solid var(--line-strong); border-radius: 50%; margin-bottom: .25rem; }
.pay-method input:checked + label .pay-method__dot { background: var(--gold); border-color: var(--gold); }
.pay-instructions { background: var(--ivory-soft); border-left: 2px solid var(--gold); padding: 1.05rem 1.15rem; font-size: .85rem; margin-bottom: 1.3rem; }
.pay-instructions strong { color: var(--charcoal); font-weight: 500; }
.pay-instructions p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------- booking status */
.status-track { display: grid; gap: 0; list-style: none; padding: 0; margin: 0 0 1.6rem; }
.status-track li { position: relative; padding: 0 0 1.45rem 1.6rem; font-size: .85rem; margin: 0; }
.status-track li::before {
  content: ""; position: absolute; left: 0; top: .5rem;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--line-strong);
}
.status-track li::after { content: ""; position: absolute; left: 2.5px; top: 1.1rem; bottom: 0; width: 1px; background: var(--line); }
.status-track li:last-child { padding-bottom: 0; }
.status-track li:last-child::after { display: none; }
.status-track li.is-done::before { background: var(--success); }
.status-track li.is-current::before { background: var(--gold); box-shadow: 0 0 0 4px rgba(173, 135, 73, .16); }
.status-track strong { display: block; color: var(--charcoal); font-weight: 500; }
.status-track small { color: var(--muted); font-size: .75rem; }

.reference-box {
  border: 1px solid rgba(243, 207, 135, .4);
  box-shadow: 0 0 28px -10px rgba(226, 178, 82, .55);
  background: var(--charcoal);
  color: var(--ivory-soft);
  padding: 1.4rem 1.6rem;
  display: flex; flex-wrap: wrap; gap: .8rem; justify-content: space-between; align-items: center;
  margin-bottom: 1.6rem;
}
.reference-box span { display: block; font-size: .58rem; letter-spacing: .26em; text-transform: uppercase; color: rgba(255, 255, 255, .5); margin-bottom: .25rem; }
.reference-box strong { font-family: var(--font-display); font-size: 1.7rem; font-weight: 400; letter-spacing: .05em; }

/* ---------------------------------------------------------------- badges */
.badge {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .32rem .62rem;
  font-size: .58rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid transparent;
  white-space: nowrap;
}
.badge--pending { background: #fbf4e7; color: #7d5a1e; border-color: #e9d9bb; }
.badge--approved, .badge--verified, .badge--active { background: #eff5ef; color: #33573f; border-color: #cfe0d3; }
.badge--rejected { background: #fbeeec; color: #8b3a30; border-color: #e8cbc6; }
.badge--cancelled, .badge--inactive, .badge--archived { background: #f2f0eb; color: #6b675c; border-color: #e0dcd2; }
.badge--completed { background: #eef1f5; color: #3a5068; border-color: #d5dee8; }
.badge--new { background: #fbf4e7; color: #7d5a1e; border-color: #e9d9bb; }
.badge--read { background: #f2f0eb; color: #6b675c; border-color: #e0dcd2; }
.badge--replied { background: #eff5ef; color: #33573f; border-color: #cfe0d3; }

/* --------------------------------------------------------------- notices */
.alert {
  display: flex; gap: .75rem; align-items: flex-start;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  border-left-width: 2px;
  background: var(--ivory-soft);
  font-size: .87rem;
  margin-bottom: 1.3rem;
}
.alert svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: .15rem; }
.alert p { margin: 0; }
.alert ul { margin: .5rem 0 0; }
.alert--success { background: #f2f6f1; border-color: #cfe0d3; border-left-color: var(--success); color: #33563f; }
.alert--error, .alert--danger { background: #fbf0ee; border-color: #e8cbc6; border-left-color: var(--danger); color: #8b3a30; }
.alert--warning { background: #fbf4e7; border-color: #e9d9bb; border-left-color: var(--warning); color: #735420; }
.alert--info { background: #f0f3f6; border-color: #d5dee8; border-left-color: #3a5068; color: #3a5068; }

.contact-pending {
  display: inline-block;
  font-size: .8rem;
  color: var(--warning);
  background: #fbf4e7;
  border: 1px dashed #e9d9bb;
  padding: .35rem .6rem;
}

/* --------------------------------------------------------- filter / meta */
/* The filter panel is the one control the whole page depends on, so it is
   glass rather than a pair of hairlines: a frosted plate that picks up the
   sunlit ground behind it, with a refractive rim and a soft gold halo. */
.filter-bar {
  position: relative;
  padding: clamp(1.05rem, 1.8vw, 1.5rem) clamp(1.05rem, 2vw, 1.8rem) clamp(1.15rem, 1.9vw, 1.6rem);
  margin-bottom: 3rem;
  border: 1px solid rgba(243, 207, 135, .62);
  border-radius: 22px;
  background:
    linear-gradient(150deg,
      rgba(255, 255, 255, .54) 0%,
      rgba(255, 255, 255, .3) 46%,
      rgba(255, 255, 255, .46) 100%);
  -webkit-backdrop-filter: blur(20px) saturate(185%) brightness(1.05);
  backdrop-filter: blur(20px) saturate(185%) brightness(1.05);
  box-shadow:
    0 0 0 1px rgba(243, 207, 135, .22),
    0 0 42px -12px rgba(226, 178, 82, .48),
    0 34px 66px -46px rgba(15, 13, 10, .62),
    inset 0 1px 0 rgba(255, 244, 214, .92),
    inset 0 -18px 30px -26px rgba(255, 244, 214, .85);
  isolation: isolate;
}
.filter-bar form { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; align-items: end; }
.filter-bar .btn { height: 45px; border-radius: 10px; }
/* Fields read as frosted panes inside the plate, not opaque white tiles. */
.filter-bar .form-control,
.filter-bar .form-select { background-color: rgba(255, 253, 247, .8); }
/* Safari without backdrop-filter still gets a solid, readable plate. */
@supports not ((backdrop-filter: blur(4px)) or (-webkit-backdrop-filter: blur(4px))) {
  .filter-bar { background: rgba(255, 252, 244, .95); }
}
@media (max-width: 720px) {
  .filter-bar { border-radius: 18px; }
}
.results-meta { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* --------------------------------------------------------------- contact */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .8fr); gap: clamp(2rem, 4.5vw, 4rem); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); margin: 0; }
.contact-list li:first-child { padding-top: 0; }
.contact-list svg { width: 18px; height: 18px; color: var(--gold-deep); flex-shrink: 0; margin-top: .2rem; }
.contact-list strong { display: block; font-size: .58rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: .25rem; }
.contact-list a, .contact-list span.value { font-size: .95rem; color: var(--ink); }
.map-frame { border: 1px solid var(--line); overflow: hidden; background: var(--ivory); }
.map-frame iframe { width: 100%; height: 420px; border: 0; display: block; filter: grayscale(.35) contrast(.95); }
.map-placeholder {
  padding: 3rem 2rem; text-align: center; color: var(--muted); font-size: .9rem;
  background:
    repeating-linear-gradient(45deg, transparent, transparent 16px, rgba(173, 135, 73, .07) 16px, rgba(173, 135, 73, .07) 17px),
    var(--ivory);
}
.map-placeholder svg { width: 28px; height: 28px; color: var(--gold-deep); margin-bottom: .8rem; }

/* ------------------------------------------------------------------ about */
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1.4rem; margin-top: 2.2rem; padding-top: 1.8rem; border-top: 1px solid var(--line); }
.stat-row strong { display: block; font-family: var(--font-display); font-size: 2.1rem; font-weight: 400; color: var(--charcoal); line-height: 1; margin-bottom: .35rem; }
.stat-row span { font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

/* ------------------------------------------------------------------- CTA */
.cta-band {
  position: relative;
  border-block: 1px solid var(--gold-line-soft);
  box-shadow: var(--gold-halo);
  background: var(--charcoal);
  color: rgba(255, 255, 255, .6);
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 82% 20%, rgba(173, 135, 73, .18), transparent 55%);
}
.cta-band__inner {
  position: relative;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 2rem; padding-block: clamp(3rem, 6vw, 5rem);
}
.cta-band h2 { color: var(--ivory-soft); margin-bottom: .5rem; }
.cta-band p { color: rgba(255, 255, 255, .55); margin: 0; max-width: 50ch; }
.cta-band .eyebrow { color: var(--gold-soft); }
.cta-band__actions { display: flex; gap: .7rem; flex-wrap: wrap; }

/* ------------------------------------------------------------ FAQ / policy */
/* FAQ scroller ----------------------------------------------------------
   The accordion lists became rows of frosted cards that drift in opposite
   directions: each track holds two identical halves and slides by half its
   width, so the loop is seamless. Hovering or tabbing into a row stops it,
   the edges fade into the section, and reduced motion falls back to a
   centred wrap with the duplicate half removed. */
.faq-rows { display: grid; gap: clamp(1rem, 1.6vw, 1.4rem); margin-top: clamp(1.6rem, 2.6vw, 2.4rem); }
/* No mask here on purpose: a masked ancestor becomes a backdrop root in
   Chrome, so the cards' backdrop-filter silently stops sampling the page
   (the wave stayed sharp behind the glass). The edge fade is painted by two
   overlays instead, which keeps the blur working. */
.faq-scroller {
  --faq-gap: clamp(1rem, 1.5vw, 1.4rem);
  position: relative;
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  padding-block: .35rem;
  overflow: hidden;
}
.faq-scroller::before,
.faq-scroller::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: clamp(46px, 7vw, 130px);
  pointer-events: none;
}
.faq-scroller::before {
  left: 0;
  background: linear-gradient(90deg, var(--faq-fade, transparent), transparent);
}
.faq-scroller::after {
  right: 0;
  background: linear-gradient(270deg, var(--faq-fade, transparent), transparent);
}
/* Only the dark wave bands fade to a tone of their own ground. */
.section--wave .faq-scroller { --faq-fade: rgba(30, 18, 9, .92); }
.faq-track { position: relative; z-index: 1; display: flex; width: max-content; animation: faqScroll var(--faq-duration, 60s) linear infinite; }
.faq-scroller--reverse .faq-track { animation-direction: reverse; }
.faq-scroller:hover .faq-track,
.faq-scroller:focus-within .faq-track { animation-play-state: paused; }
.faq-group { display: flex; align-items: stretch; gap: var(--faq-gap); padding-inline: calc(var(--faq-gap) / 2); }
.faq-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  width: clamp(255px, 25vw, 355px);
  padding: clamp(1.1rem, 1.5vw, 1.5rem) clamp(1.15rem, 1.6vw, 1.6rem);
  border: 1px solid rgba(243, 207, 135, .62);
  border-radius: 18px;
  background: linear-gradient(155deg,
    rgba(255, 255, 255, .8) 0%,
    rgba(255, 254, 249, .52) 48%,
    rgba(255, 255, 255, .68) 100%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .5),
    0 18px 40px -30px rgba(58, 36, 21, .5),
    inset 0 1px 0 rgba(255, 255, 255, .95),
    inset 0 -26px 38px -32px rgba(226, 178, 82, .38);
}
.faq-card h3 { margin: 0; font-family: var(--font-display); font-size: 1.16rem; line-height: 1.25; color: var(--charcoal); }
.faq-card p { margin: 0; font-size: .88rem; line-height: 1.7; color: var(--graphite); }
.faq-card a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 2px; }
.faq-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-line);
}
.section--wave .faq-card:hover {
  border-color: rgba(243, 207, 135, .7);
  box-shadow:
    0 0 0 1px rgba(243, 207, 135, .3),
    0 36px 66px -38px rgba(0, 0, 0, .85),
    inset 0 1px 0 rgba(255, 244, 214, .38),
    inset 0 -30px 44px -36px rgba(226, 178, 82, .38);
}
/* Over the dark wave the same cards read as lit panes: the gold rim does the
   work where a shadow would disappear. */
/* In the FAQ band the scrim is lifted behind the copy (see
   .section--wave--faq > .container), so nothing tints the glass. Over the
   dark water the cards become smoked walnut glass: they read as panes of
   the section itself rather than pale blocks dropped on top of it. */
.section--wave--faq > .container { z-index: 2; }
.section--wave .faq-card {
  border-color: rgba(243, 207, 135, .46);
  background:
    linear-gradient(158deg,
      rgba(86, 56, 33, .52) 0%,
      rgba(36, 21, 11, .38) 52%,
      rgba(74, 46, 25, .46) 100%);
  -webkit-backdrop-filter: blur(24px) saturate(165%);
  backdrop-filter: blur(24px) saturate(165%);
  box-shadow:
    0 0 0 1px rgba(243, 207, 135, .22),
    0 0 46px -20px rgba(226, 178, 82, .55),
    0 32px 58px -38px rgba(0, 0, 0, .8),
    inset 0 1px 0 rgba(255, 244, 214, .34),
    inset 0 -30px 44px -36px rgba(226, 178, 82, .3);
  color: rgba(255, 249, 236, .8);
}
.section--wave .faq-card h3 { color: var(--ivory-soft); font-size: 1.24rem; }
.section--wave .faq-card p { color: rgba(255, 249, 236, .76); font-size: .92rem; }
.section--wave .faq-card a { color: var(--gold-soft); }
.section--wave .faq-card::after {
  content: "";
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(243, 207, 135, 0), rgba(243, 207, 135, .7), rgba(243, 207, 135, 0));
}
/* A raking highlight across the pane so the frost reads as glass and not as
   a flat brown block, even where the wave behind it is calm. */
.section--wave .faq-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(125deg,
      rgba(255, 244, 214, .18) 0%,
      rgba(255, 244, 214, .04) 34%,
      rgba(255, 244, 214, 0) 60%,
      rgba(226, 178, 82, .10) 100%);
}
.section--wave .faq-card > h3,
.section--wave .faq-card > p { position: relative; z-index: 1; }
@keyframes faqScroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .faq-track { animation: none; display: block; width: auto; }
  .faq-scroller {
    width: auto;
    margin-inline: 0;
    overflow: visible;
  }
  .faq-scroller::before,
  .faq-scroller::after { display: none; }
  .faq-group { flex-wrap: wrap; justify-content: center; padding-inline: 0; }
  .faq-group[aria-hidden="true"],
  .faq-card[data-faq-clone="true"] { display: none; }
  .faq-card { width: clamp(255px, 40vw, 355px); }
}
/* Phones trade the drift for a compact numbered accordion: the same smoked
   glass panes, one row per question and the answer on demand. Rows are no
   longer duplicated or stretched, so a phone gets six short rows instead of
   a six-card wall of open text. Comes after the reduced-motion block so it
   wins whether or not the phone reports reduced motion. */
@media (max-width: 720px) {
  /* One rhythm the whole way down: the three rows become a single list. */
  .faq-rows { gap: .6rem; margin-top: 1.4rem; }
  .faq-scroller {
    --faq-gap: .6rem;
    width: auto;
    margin-inline: 0;
    padding-block: 0;
    overflow: visible;
  }
  .faq-scroller::before,
  .faq-scroller::after { display: none; }
  .faq-track { animation: none; display: block; width: auto; }
  .faq-group { display: grid; gap: var(--faq-gap); padding-inline: 0; }
  .faq-group[aria-hidden="true"],
  .faq-card[data-faq-clone="true"] { display: none; }
  .faq-card { width: 100%; border-radius: 14px; padding: 0; }
  .faq-card:hover { transform: none; }
  .faq-card h3 { margin: 0; font-size: 1.02rem; }

  /* The question row: number, question, brass chevron. */
  .faq-card__toggle {
    display: flex; align-items: center; gap: .7rem;
    width: 100%; padding: .9rem .95rem;
    border: 0; background: none; color: inherit;
    font: inherit; text-align: left; cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .faq-card__toggle:focus-visible {
    outline: 2px solid rgba(243, 207, 135, .85);
    outline-offset: -2px;
    border-radius: 14px;
  }
  .faq-card__index {
    flex-shrink: 0;
    font-family: var(--font-body);
    font-size: .58rem; letter-spacing: .16em;
    color: rgba(243, 207, 135, .82);
  }
  .faq-card__chevron {
    margin-left: auto; flex-shrink: 0;
    display: grid; place-items: center;
    width: 22px; height: 22px; border-radius: 50%;
    border: 1px solid rgba(243, 207, 135, .34);
    color: rgba(250, 243, 229, .88);
    transition: transform .3s var(--ease), background .3s var(--ease);
  }
  .faq-card__chevron svg { display: block; width: 12px; height: 12px; }
  .faq-card.is-open .faq-card__chevron {
    transform: rotate(180deg);
    background: rgba(243, 207, 135, .18);
  }

  /* No flex gap in the accordion: the collapsed answer must not leave a
     band of empty card below the question row. */
  .faq-card--accordion { gap: 0; }

  /* Answers collapse only where the script has built the controls, so a
     phone without JavaScript keeps every answer readable. */
  .faq-card--accordion p {
    max-height: 0; margin: 0; padding: 0 .95rem;
    opacity: 0; overflow: hidden;
    transition: max-height .38s var(--ease), opacity .28s var(--ease), padding .38s var(--ease);
  }
  .faq-card--accordion.is-open p {
    max-height: 34rem; opacity: 1; padding-bottom: 1rem;
  }
  .section--wave .faq-card h3 { font-size: 1.02rem; }
  .section--wave .faq-card p { font-size: .9rem; line-height: 1.65; }
}

.policy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); gap: 1.5rem 2.2rem; }
.policy-grid h3 { font-size: 1rem; margin-bottom: .4rem; display: flex; align-items: center; gap: .5rem; }
.policy-grid h3 svg { width: 16px; height: 16px; color: var(--gold-deep); flex-shrink: 0; }
.policy-grid p { font-size: .87rem; color: var(--graphite); margin: 0; line-height: 1.75; }
.detail-note {
  font-size: .8rem; color: var(--muted); line-height: 1.65;
  border-left: 2px solid var(--gold); padding: .5rem 0 .5rem .8rem; margin: 0 0 1.1rem;
}
.detail-note strong { color: var(--charcoal); font-weight: 500; }

/* ---------------------------------------------------------------- footer */
.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--brown-deep);
  color: rgba(255, 255, 255, .72);
  font-size: .9rem;
  line-height: 1.75;
  padding-top: clamp(3rem, 6vw, 4.5rem);
}

/* Dithering shader sits behind the footer content; the scrim keeps the
   small print legible over the brightest parts of the pattern. */
.footer-shader {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: .9;
  pointer-events: none;
}
.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(20, 19, 15, .18) 0%, rgba(20, 19, 15, .62) 58%, rgba(20, 19, 15, .88) 100%);
}
.site-footer > .container { position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr .8fr 1.1fr; gap: clamp(2rem, 4vw, 3.6rem); padding-bottom: 3rem; }
.site-footer h4 { color: var(--ivory-soft); font-family: var(--font-body); font-size: .66rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; margin-bottom: 1.3rem; }
.site-footer a { color: rgba(255, 255, 255, .8); }
.site-footer a:hover { color: var(--gold-soft); }
.footer-brand img { height: 62px; margin-bottom: 1.4rem; }
.footer-brand p { max-width: 46ch; line-height: 1.8; color: rgba(255, 255, 255, .7); margin-bottom: 1.3rem; }

/* Social icons ---------------------------------------------------------- */
.footer-social { display: flex; flex-wrap: wrap; gap: .55rem; list-style: none; padding: 0; margin: 0; }
.footer-social a {
  position: relative;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid rgba(243, 207, 135, .45);
  border-radius: 50%;
  color: rgba(255, 255, 255, .88);
  background: rgba(255, 255, 255, .04);
  transition:
    transform .45s var(--ease),
    background .35s var(--ease),
    border-color .35s var(--ease),
    color .35s var(--ease),
    box-shadow .45s var(--ease);
}
/* Soft specular sheen that lights the glass on hover. */
.footer-social a::before {
  content: "";
  position: absolute; inset: 1px;
  border-radius: inherit;
  background: radial-gradient(circle at 32% 24%, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0) 58%);
  opacity: 0;
  transition: opacity .35s var(--ease);
  pointer-events: none;
}
/* Ripple ring that expands outwards. */
.footer-social a::after {
  content: "";
  position: absolute; inset: -2px;
  border-radius: 50%;
  border: 1px solid rgba(243, 207, 135, .7);
  opacity: 0;
  transform: scale(.85);
  transition: transform .55s var(--ease), opacity .55s var(--ease);
  pointer-events: none;
}
.footer-social svg {
  position: relative; z-index: 1;
  width: 18px; height: 18px;
  transition: transform .45s var(--ease), color .35s var(--ease);
}
.footer-social a:hover,
.footer-social a:focus-visible {
  background: linear-gradient(140deg, var(--gold-soft), var(--gold));
  border-color: var(--gold-soft);
  color: var(--brown-deep);
  transform: translateY(-4px) scale(1.08);
  box-shadow:
    0 14px 30px -10px var(--gold-glow),
    0 0 0 4px rgba(217, 166, 62, .14);
  outline: none;
}
.footer-social a:hover::before,
.footer-social a:focus-visible::before { opacity: .5; }
.footer-social a:hover::after,
.footer-social a:focus-visible::after { opacity: 1; transform: scale(1.4); }
.footer-social a:hover svg,
.footer-social a:focus-visible svg { transform: rotate(-9deg) scale(1.1); }
/* Each footer button lights up in its own network's colours on hover: the
   filled plate, its border, the ripple ring that expands outwards and the
   soft halo all take the brand, with the glyph in white the way the official
   marks are drawn. Size, lift, tilt and timing are unchanged. */
.footer-social a[data-network="instagram"] { --brand: #e1306c; --brand-deep: #c13584; --brand-glow: rgba(225, 48, 108, .42); --brand-ring: rgba(225, 48, 108, .2); }
.footer-social a[data-network="facebook"]  { --brand: #1877f2; --brand-deep: #0c5bc4; --brand-glow: rgba(24, 119, 242, .42); --brand-ring: rgba(24, 119, 242, .2); }
.footer-social a[data-network="tiktok"]    { --brand: #fe2c55; --brand-deep: #010101; --brand-glow: rgba(254, 44, 85, .4); --brand-ring: rgba(254, 44, 85, .18); }
.footer-social a[data-network="x"]         { --brand: #1c1c1c; --brand-deep: #000; --brand-glow: rgba(255, 255, 255, .22); --brand-ring: rgba(255, 255, 255, .16); }
.footer-social a[data-network="whatsapp"]  { --brand: #25d366; --brand-deep: #128c7e; --brand-glow: rgba(37, 211, 102, .4); --brand-ring: rgba(37, 211, 102, .2); }

.footer-social a[data-network]:hover,
.footer-social a[data-network]:focus-visible {
  background: linear-gradient(140deg, var(--brand), var(--brand-deep));
  border-color: var(--brand);
  color: #fff;
  box-shadow:
    0 14px 30px -10px var(--brand-glow),
    0 0 0 4px var(--brand-ring);
}
.footer-social a[data-network]:hover::after,
.footer-social a[data-network]:focus-visible::after { border-color: var(--brand); }
.footer-social a:active { transform: translateY(-1px) scale(.97); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .65rem; }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; gap: .65rem; margin-bottom: .8rem; }
.footer-contact svg { width: 15px; height: 15px; margin-top: .25rem; flex-shrink: 0; color: var(--gold-soft); }
.footer-bottom {
  border-top: 1px solid rgba(217, 166, 62, .22);
  padding-block: 1.6rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.6rem;
  font-size: .72rem; letter-spacing: .08em; color: rgba(255, 255, 255, .62);
}

/* Payment badges -------------------------------------------------------- */
.footer-payments { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem; }
.footer-payments__label { font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .68); }
.footer-payments ul { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; list-style: none; margin: 0; padding: 0; }
/* Uniform white plate behind every mark: the brand artwork keeps its own
   proportions, so no logo is stretched or cropped. */
.footer-payments li {
  display: grid; place-items: center;
  height: 42px; min-width: 68px; padding-inline: .7rem;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 18px -12px rgba(0, 0, 0, .9);
}
.footer-payments img { display: block; width: auto; height: 22px; max-width: 88px; }

@media (max-width: 720px) {
  .footer-payments { gap: .55rem; }
  .footer-payments li { height: 38px; min-width: 60px; padding-inline: .5rem; }
  .footer-payments img { height: 20px; max-width: 74px; }
}
.footer-bottom a { color: rgba(255, 255, 255, .5); }

/* WhatsApp brand disc that sends out slow shockwaves so it reads at a glance. */
.whatsapp-float {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 80;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(150deg, #35e57a, #25d366 46%, #17a34a);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .38);
  box-shadow:
    0 16px 32px -14px rgba(8, 78, 45, .8),
    0 0 0 6px rgba(37, 211, 102, .1);
  transition: transform .28s var(--ease), background .28s var(--ease), box-shadow .28s var(--ease);
}
.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: translateY(-2px) scale(1.05);
  background: linear-gradient(150deg, #25d366, #1ebe5b 46%, #128c7e);
  box-shadow:
    0 20px 38px -14px rgba(8, 78, 45, .85),
    0 0 0 6px rgba(37, 211, 102, .16);
  outline: none;
}
.whatsapp-float__icon {
  position: relative; z-index: 2;
  display: grid; place-items: center;
}
.whatsapp-float__icon svg { width: 30px; height: 30px; }
.whatsapp-float__pulse {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 50%;
  border: 2px solid rgba(55, 226, 124, .8);
  pointer-events: none;
  animation: whatsappWave 3.4s var(--ease) infinite;
}
.whatsapp-float__pulse:nth-of-type(2) { animation-delay: 1.7s; }
@keyframes whatsappWave {
  0%   { transform: scale(.96); opacity: .85; }
  40%  { opacity: .4; }
  100% { transform: scale(2.05); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-float__pulse { animation: none; opacity: .55; }
}

/* ------------------------------------------------------------- empty state */
.empty-state { text-align: center; padding: clamp(3rem, 7vw, 5.5rem) 1.5rem; border: 1px solid var(--gold-line-soft); box-shadow: var(--gold-halo); background: var(--ivory-soft); }
.empty-state svg { width: 30px; height: 30px; color: var(--gold-deep); margin-bottom: 1.2rem; }
.empty-state h3 { margin-bottom: .6rem; font-size: 1.7rem; }
.empty-state p { color: var(--muted); max-width: 52ch; margin-inline: auto; }

/* ------------------------------------------------------------- data tables */
.table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.data-table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.data-table th {
  text-align: left; font-family: var(--font-body); font-weight: 500;
  font-size: .6rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); padding: .8rem .9rem; border-bottom: 1px solid var(--line-strong);
  white-space: nowrap; background: var(--ivory-soft);
}
.data-table td { padding: .85rem .9rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table--plain th { background: transparent; }
.data-table code { font-size: .8rem; background: var(--ivory); padding: .18rem .38rem; }

.pagination { display: flex; flex-wrap: wrap; gap: .35rem; justify-content: center; margin-top: 2.5rem; }
.pagination__link {
  min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-strong);
  font-size: .82rem; color: var(--ink); padding-inline: .5rem;
}
.pagination__link:hover { border-color: var(--gold); color: var(--gold-deep); }
.pagination__link.is-active { background: var(--charcoal); border-color: var(--charcoal); color: var(--ivory-soft); }
.pagination__gap { align-self: center; color: var(--muted); padding-inline: .3rem; }

.payment-fields { margin-top: .4rem; }

/* --------------------------------------------------------------- animation */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .1s; }
[data-reveal-delay="2"] { transition-delay: .2s; }
[data-reveal-delay="3"] { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero-frame img { animation: none; }
}

/* Facility rows read best as three balanced columns; the default auto-fit
   leaves orphan cells on wide screens. */
@media (min-width: 1180px) {
  .facility-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* -------------------------------------------------------- large screens */
/* The container is already edge-to-edge; these rules give the extra width
   to the content itself instead of leaving it in narrow columns. */
/* Beyond 2000px the split stops stretching so the highlights stay beside the
   copy instead of drifting to the far right of an ultra-wide monitor. */
/* The hero shares the page shell edge; no separate centred cap, so the
   headline lines up with every section below it on wide displays. */

@media (min-width: 1500px) {
  .gallery-grid:not(.gallery-grid--editorial) { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1.6fr .7fr .7fr 1.1fr; }
  .searchbar form { gap: 1.6rem; }
  .detail-layout { grid-template-columns: minmax(0, 1.7fr) minmax(340px, .8fr); }
  .booking-layout { grid-template-columns: minmax(0, 1.6fr) minmax(330px, .8fr); }
  .contact-layout { grid-template-columns: minmax(0, 1.35fr) minmax(320px, .75fr); }
  .cta-band p { max-width: 70ch; }
}

@media (min-width: 1800px) {
  .gallery-grid { grid-auto-rows: clamp(180px, 14vw, 280px); }
  .apartments-grid { grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); }
  .footnote, .site-footer { font-size: .92rem; }
}

/* ------------------------------------------------------------- responsive */
@media (max-width: 1180px) {
  .hero-split__grid { min-height: auto; }
  .searchbar form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .searchbar form .btn { grid-column: span 2; }
  .detail-layout, .booking-layout, .contact-layout { grid-template-columns: 1fr; }
  .booking-panel { position: static; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > *:last-child { grid-column: span 3; }
}

@media (max-width: 980px) {
  .main-nav, .header-phone { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero-split__grid { grid-template-columns: 1fr; gap: 3rem; padding-bottom: 4rem; }
  .hero-split__media { min-height: 0; max-width: 560px; width: 100%; }
  .hero-frame { position: relative; width: 74%; margin-left: auto; }
  .hero-frame--small { width: 42%; bottom: -2rem; }
  .hero-seal { top: auto; bottom: 1.2rem; left: 0; }
  .hero-caption { display: none; }
  .intro-split { grid-template-columns: 1fr; }
  .intro-split--reverse .intro-split__media { order: 0; }
  .intro-media { max-width: 560px; margin-bottom: 2.4rem; }
  .gallery-grid--editorial .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .detail-gallery { grid-template-columns: 1fr; }
  .detail-gallery__side { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .detail-gallery__side button:nth-child(n+3) { display: none; }
  .site-header__inner { min-height: 78px; }
  .utility-bar__group--right { display: none; }
}

@media (max-width: 720px) {
  body { font-size: .97rem; }
  .section { padding-block: 3.4rem; }
  .utility-bar { display: none; }
  /* Phones drop the strip, so the fixed header sits at the top edge again. */
  body.has-hero-scene { --utility-h: 0px; --header-offset: 0px; }
  .site-header__inner { min-height: 70px; }
  .brand img { height: 44px; }
  .hero-split__grid { padding-block: 2.4rem 5rem; }
  .hero-split__actions .btn { flex: 1 1 100%; }
  .hero-split__meta { gap: .8rem 1.3rem; font-size: .62rem; margin-top: 2rem; }
  .hero-seal { width: 96px; height: 96px; }
  .hero-seal span { font-size: .95rem; }
  .hero-frame--small { border-width: 6px; }
  .searchbar-wrap { margin-top: -46px; }
  .searchbar form { grid-template-columns: 1fr; }
  .searchbar form .btn { grid-column: auto; }
  .form-row { grid-template-columns: 1fr; }
  .apartment-card__actions { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 195px; }
  .gallery-grid--editorial .gallery-item:nth-child(1),
  .gallery-grid--editorial .gallery-item:nth-child(6) { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > *:first-child, .footer-grid > *:last-child { grid-column: span 2; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .lightbox__nav { width: 42px; height: 42px; }
  .lightbox__nav--prev { left: .4rem; }
  .lightbox__nav--next { right: .4rem; }
  .reference-box { flex-direction: column; align-items: flex-start; }
  .whatsapp-float { width: 52px; height: 52px; }
  .whatsapp-float__icon svg { width: 27px; height: 27px; }
  .intro-media__inset { position: relative; right: auto; bottom: auto; width: 62%; margin: -20% 0 0 auto; border-width: 6px; }
  .intro-media__label { display: none; }
  .page-hero::after { display: none; }
}

@media (max-width: 420px) {
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 210px; }
  .gallery-grid--editorial .gallery-item:nth-child(1),
  .gallery-grid--editorial .gallery-item:nth-child(6) { grid-column: span 1; }
  .hero-split__meta { display: none; }
}

/* ======================================================================
   Premium polish pass — spacing, framing and small-screen safety
   ====================================================================== */

/* Film-strip gallery (desktop): a collapsed panel now carries its photograph
   edge to edge under a walnut scrim, like a mounted print, instead of
   finishing on an abrupt, empty dark block. Phones keep their stacked bands. */
@media (min-width: 861px) {
  .gallery-panel__media {
    clip-path: inset(0 round 15px);
    -webkit-mask-image: none;
    mask-image: none;
  }

  .gallery-panel:not(.is-open) .gallery-panel__veil {
    opacity: 1;
    background: linear-gradient(to top,
      rgba(18, 11, 6, .94) 0%, rgba(18, 11, 6, .72) 22%,
      rgba(18, 11, 6, .34) 52%, rgba(18, 11, 6, .1) 78%,
      rgba(18, 11, 6, .02) 100%);
  }

  .gallery-panel:not(.is-open) .gallery-panel__media img { filter: saturate(.9) brightness(.88); }
  .gallery-panel:not(.is-open):hover .gallery-panel__media img { filter: saturate(1.02) brightness(1); }
  .gallery-panel:not(.is-open) .gallery-panel__spine { text-shadow: 0 1px 12px rgba(10, 6, 3, .65); }
}

/* Detail gallery: the portrait side photographs must divide the height set
   by the 4:3 lead image instead of stretching the whole row. */
.detail-gallery__side button { min-height: 0; isolation: isolate; }
.detail-gallery__side img { position: absolute; inset: 0; width: 100%; height: 100%; }
.detail-gallery__side { min-height: 0; }

/* Long-form copy: paragraphs breathe evenly. */
.detail-description p { margin: 0 0 1.05rem; }
.detail-description p:last-child { margin-bottom: 0; }

/* Search/filter row: the text field earns the extra width so its
   placeholder is never clipped. */
@media (min-width: 1100px) {
  .filter-bar form {
    grid-template-columns: minmax(210px, 1.55fr) repeat(4, minmax(118px, 1fr)) minmax(132px, .95fr) auto;
  }
}

/* Availability panel labels sit on a bright glass pane — deepen the gold
   so they stay readable in every photograph. */
.searchbar .form-label { color: #6a4a19; }
.searchbar__title { color: #7a561c; }

/* Quiet footnote under the dark facilities band. */
.facility-note {
  max-width: 68ch;
  margin-top: 1.6rem;
  color: rgba(255, 255, 255, .62);
  font-size: .74rem;
  line-height: 1.7;
  letter-spacing: .01em;
}

@media (max-width: 980px) {
  .detail-gallery__side button { aspect-ratio: 4 / 3; }
  /* Phones keep the stacked caption bands this section already uses. */
  .gallery-panel__media { clip-path: inset(0 round 14px); }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-panel:not(.is-open) .gallery-panel__media img { filter: none; }
}

/* The gallery section header reuses the admin utility class; the public
   stylesheet had no definition, so the "all photographs" link dropped
   underneath the title instead of sitting opposite it. */
.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1rem, 2vw, 2rem);
  flex-wrap: wrap;
}

/* Two comfortable columns read better than three cramped ones beside the
   sticky booking panel. */
.policy-grid { grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); gap: 1.7rem 2.4rem; }

/* ======================================================================
   Apartment detail page — reading order, photographs and neighbours
   ====================================================================== */

/* The title block and key facts now sit above the two-column body, so when
   the layout stacks the booking panel can lead instead of being buried
   under several screens of copy. */
.detail-head { margin-bottom: clamp(1.4rem, 2.4vw, 2.2rem); }
.detail-head .detail-title { margin-bottom: 0; }
.detail-head .detail-specs { margin-bottom: 0; }
.detail-section--first { margin-top: 0; }

/* Paragraphs are real <p> elements now; pre-line doubled every gap. */
.detail-description { white-space: normal; }

@media (max-width: 1180px) {
  .detail-layout {
    display: flex;
    flex-direction: column;
    gap: clamp(1.8rem, 3.4vw, 2.6rem);
  }
  .detail-layout > * { width: 100%; }
  .detail-layout > aside { order: -1; }
  .detail-layout .booking-panel { position: static; }
}

/* Photographs: an uncropped masonry, so five frames never leave an empty
   cell in the grid. */
.gallery-grid--detail {
  display: block;
  columns: 3;
  column-gap: clamp(.55rem, 1vw, .9rem);
}
.gallery-grid--detail .gallery-item {
  height: auto;
  margin: 0 0 clamp(.55rem, 1vw, .9rem);
  break-inside: avoid;
}
.gallery-grid--detail .gallery-item img { height: auto; }

@media (max-width: 900px) { .gallery-grid--detail { columns: 2; } }
@media (max-width: 560px) { .gallery-grid--detail { columns: 1; } }

/* Two neighbouring apartments should read as cards, not billboards. */
.apartments-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1180px) { .apartments-grid--three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .apartments-grid--three { grid-template-columns: 1fr; } }

/* Four policy notes balance as a 2 x 2 block at every width above phones. */
.policy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 640px) { .policy-grid { grid-template-columns: 1fr; } }

/* Anchor targets land below the fixed header instead of underneath it. */
#book { scroll-margin-top: calc(var(--header-offset, 0px) + 104px); }
@media (max-width: 720px) { #book { scroll-margin-top: 84px; } }

/* Two neighbouring apartments sit as a balanced pair rather than two
   half-page billboards. */
.apartments-grid--pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1000px;
}
@media (max-width: 720px) {
  .apartments-grid--pair { grid-template-columns: 1fr; }
}

/* ======================================================================
   Visual energy pass — a jewel accent inside the gold and walnut palette
   ----------------------------------------------------------------------
   Gold and brown stay the identity. Everything warm is deliberately quiet,
   so one deep emerald is introduced only where the eye should stop: the
   residence card on the hero, eyebrow ticks, the featured flag and active
   filters. Headings gain weight and the primary gold gains light, so the
   page reads richer without changing its colour story.
   ====================================================================== */
:root {
  --jade: #1d4b3f;
  --jade-deep: #123a30;
  --jade-ink: #0c2b23;
  --gold-bright: #f7d78e;
}

/* Display type with more presence. Cormorant at 300/400 whispers; 500 speaks. */
h1, h2 { font-weight: 500; }
.hero-scene h1 { font-weight: 500; letter-spacing: -.015em; }
.section-head h2 { letter-spacing: -.018em; }

/* Eyebrow: an emerald-to-gold tick instead of a flat hairline. */
.eyebrow::before {
  width: 44px;
  height: 2px;
  opacity: 1;
  background: linear-gradient(90deg, var(--jade) 0%, var(--jade) 34%, var(--gold) 100%);
}
.section--dark .eyebrow::before,
.cta-band .eyebrow::before {
  background: linear-gradient(90deg, var(--gold-soft) 0%, var(--gold-soft) 34%, rgba(243, 207, 135, .25) 100%);
}

/* The residence card is the first thing the eye lands on: make it the
   colour anchor of the opening screen. */
.hero-scene__aside {
  border-color: rgba(243, 207, 135, .58);
  background:
    radial-gradient(120% 90% at 88% -10%, rgba(83, 158, 133, .34), transparent 62%),
    linear-gradient(158deg, rgba(29, 75, 63, .8) 0%, rgba(18, 58, 48, .72) 56%, rgba(12, 43, 35, .8) 100%);
  box-shadow:
    0 0 44px -14px rgba(226, 178, 82, .5),
    0 30px 70px -40px rgba(5, 18, 14, .9),
    inset 0 1px 0 rgba(255, 246, 226, .2);
}
.hero-scene__aside-label { color: var(--gold-soft); }
.hero-scene__meta { color: #fdf6e6; }

/* Featured plate: emerald with gold type, legible on any photograph. */
.apartment-card__flag {
  background: var(--jade);
  border: 1px solid rgba(243, 207, 135, .45);
  color: var(--gold-soft);
}
.apartment-card__flag--sample { background: #9c5238; border-color: rgba(255, 236, 205, .35); color: #fff4e2; }

/* Filters read as brand rather than generic dark. */
.chip.is-active { background: var(--jade); border-color: var(--jade); color: var(--ivory-soft); }
.chip.is-active:hover { background: var(--jade-deep); border-color: var(--jade-deep); }

/* Primary gold carries a little more light. */
.btn--gold {
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 54%, #c68f27 100%);
  box-shadow:
    0 14px 32px -14px var(--gold-glow),
    inset 0 1px 0 rgba(255, 255, 255, .6);
}
.btn--gold:hover {
  background: linear-gradient(135deg, #ffe8b4 0%, #f1bf5e 52%, var(--gold) 100%);
}

/* Dark bands pick up a faint emerald shadow so they read as duotone, not
   flat chocolate. */
.section--dark {
  background:
    radial-gradient(70% 90% at 6% 100%, rgba(29, 75, 63, .5), transparent 64%),
    radial-gradient(120% 90% at 12% 0%, rgba(217, 166, 62, .13), transparent 58%),
    linear-gradient(180deg, var(--brown) 0%, var(--brown-deep) 100%);
}

/* Photography: a touch more vibrancy so the frames hold their own. */
.apartment-card__media img,
.gallery-item img,
.detail-gallery__main img,
.detail-gallery__side img,
.intro-media img,
.about-intro__media img { filter: saturate(1.06) contrast(1.03); }

/* Phones: the emerald panel becomes a solid block under the copy, so keep
   it lighter there to avoid swallowing the screen. */
@media (max-width: 860px) {
  .hero-scene__aside {
    background:
      linear-gradient(158deg, rgba(29, 75, 63, .82) 0%, rgba(18, 58, 48, .76) 60%, rgba(12, 43, 35, .8) 100%);
  }
}
/* ======================================================================
   Floating cards — every card sits above the page on a soft, layered
   shadow instead of dissolving into the cream ground. The shadow is warm
   (walnut, not grey) so the palette stays intact.
   ====================================================================== */
:root {
  --float-rest:
    0 1px 2px rgba(58, 36, 21, .05),
    0 10px 20px -14px rgba(58, 36, 21, .28),
    0 26px 48px -34px rgba(58, 36, 21, .34);
  --float-hover:
    0 2px 4px rgba(58, 36, 21, .06),
    0 18px 32px -16px rgba(58, 36, 21, .28),
    0 44px 74px -40px rgba(58, 36, 21, .42);
  --float-radius: 18px;
}

/* Apartment card: a card shell rather than a bare photograph with a caption. */
.apartment-card {
  background: var(--white);
  border: 1px solid var(--gold-line-soft);
  border-radius: var(--float-radius);
  overflow: hidden;
  box-shadow: var(--float-rest), 0 0 28px -14px rgba(226, 178, 82, .38);
  transition:
    opacity .9s var(--ease),
    transform .55s var(--ease),
    box-shadow .55s var(--ease),
    border-color .55s var(--ease);
}
.apartment-card:hover,
.apartment-card:focus-within {
  transform: translateY(-6px);
  border-color: var(--gold-line);
  box-shadow: var(--float-hover), var(--gold-halo-strong);
}
/* The photograph fills the card's top corners; the card carries the rim. */
.apartment-card .apartment-card__media,
.apartment-card:hover .apartment-card__media { border: 0; box-shadow: none; }
/* Body padding used to be zero because the card had no surface of its own. */
.apartment-card__body { padding: 1.45rem clamp(1.15rem, 1.6vw, 1.7rem) 1.7rem; }
.apartment-card__price { border-top-right-radius: 8px; }

/* Content panels on the inner pages float the same way. They do not lift on
   hover: several of them are forms, and moving a form under the pointer is
   unsettling while typing. */
.card,
.empty-state,
.booking-panel { border-radius: var(--float-radius); }
.card,
.empty-state { box-shadow: var(--float-rest), var(--gold-halo); }
.booking-panel { box-shadow: var(--float-hover), var(--gold-halo); }

@media (hover: none) {
  /* Touch screens have no hover, so keep the card planted and let the
     resting shadow do the lifting. */
  .apartment-card:hover { transform: none; }
}
/* ======================================================================
   Rounding pass — buttons, fields, chips and photographs were still
   square-cornered, which read as hard edges next to the rounded cards.
   One scale keeps every control consistent:
     controls 10px · photographs 14px · pills fully round
   ====================================================================== */
:root {
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-pill: 999px;
}

/* Controls ------------------------------------------------------------- */
.btn { border-radius: var(--radius-sm); }
.btn--lg { border-radius: var(--radius-md); }

.form-control,
.form-select,
textarea.form-control { border-radius: var(--radius-sm); }

.chip { border-radius: var(--radius-pill); }
.badge { border-radius: var(--radius-pill); }

/* Payment tiles are selectable cards, so they follow the card scale. */
.pay-method label { border-radius: var(--radius-sm); }

/* Small plaques that sit on photographs. */
.apartment-card__flag { border-radius: 6px; }
.contact-pending { border-radius: 6px; }
.intro-media__label { border-radius: 4px; }

/* Notes and notices carry an accent bar on the left; rounding the ends of
   that bar is what stops them looking like clipped blocks. */
.alert,
.availability-note,
.pay-instructions { border-radius: var(--radius-sm); }

/* Round icon buttons in the lightbox and drawer. */
.lightbox__close,
.lightbox__nav,
.nav-drawer__close { border-radius: var(--radius-pill); }

/* Photographs ---------------------------------------------------------- */
/* Every image frame keeps its own overflow clipping, so the radius only
   has to be set on the frame, not on the <img> inside it. */
.gallery-item,
.detail-gallery__main,
.detail-gallery__side button,
.intro-media__main,
.intro-media__inset,
.about-intro__media img,
.summary-image,
.map-frame,
.map-placeholder,
.lightbox__figure img { border-radius: var(--radius-md); }

/* The gallery's masonry tiles use the same frame. */
.gallery-grid--detail .gallery-item { border-radius: var(--radius-md); }
.gallery-grid--detail .gallery-item img { border-radius: inherit; }
/* ======================================================================
   "Where you'll be" — the location map on an apartment page. The address
   and the Google Maps link ride on the map itself as a small floating
   card, so the section needs no separate column.
   ====================================================================== */
.map-frame--detail { position: relative; isolation: isolate; }
.map-frame--detail iframe { height: clamp(300px, 34vw, 420px); }
/* The card sits below the map, never on top of it: each provider puts its
   attribution in a different corner, and covering it is not an option. */
.map-card {
  margin-top: .75rem;
  padding: 1rem 1.15rem 1.05rem;
  border: 1px solid var(--gold-line-soft);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: var(--float-rest);
}
.map-card__label {
  display: block;
  margin-bottom: .4rem;
  font-size: .58rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}
.map-card p { margin: 0 0 .7rem; font-size: .9rem; line-height: 1.45; color: var(--ink); }
.map-card p:last-child { margin-bottom: 0; }

@media (max-width: 640px) {
  .map-frame--detail iframe { height: 280px; }
  .map-card { padding: .85rem .95rem; }
  .map-card p { font-size: 1rem; margin-bottom: .5rem; }
}

/* The map and its card are one block; the card no longer overlays the map. */
.detail-map .map-card { box-shadow: none; }

/* The embed keeps whatever colours its provider ships; only the height of the
   detail-page frame is set here. */
.map-frame--detail iframe { height: clamp(320px, 36vw, 440px); }

/* Destination card, shaped like a travel ticket. */
.detail-map .map-card { z-index: 3; }
.map-card__label { display: inline-flex; align-items: center; gap: .4rem; }
.map-card__label svg { width: 13px; height: 13px; color: var(--gold-deep); }
.map-card p { font-family: var(--font-display); font-size: 1.16rem; line-height: 1.22; margin-bottom: .6rem; }
.map-card .link-arrow { font-size: .6rem; }

/* Travel-mode links under the map. */
.map-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: 1rem; }
.map-actions__label { font-size: .58rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-right: .2rem; }

/* Short arrival guide for guests who have never been to Dodoma. */
.arrival-steps { list-style: none; padding: 0; margin: 1.35rem 0 0; display: grid; gap: .8rem; }
.arrival-steps li { display: flex; gap: .8rem; align-items: flex-start; font-size: .88rem; line-height: 1.65; color: var(--graphite); margin: 0; }
.arrival-steps li > span { flex: 0 0 auto; font-family: var(--font-display); font-size: .95rem; color: var(--gold-deep); padding-top: .05rem; }
.arrival-steps p { margin: 0; }
.arrival-steps strong { color: var(--charcoal); font-weight: 500; }

@media (max-width: 640px) {
  .map-actions { gap: .4rem; }
  .map-actions__label { width: 100%; margin-bottom: .1rem; }
}

/* Caption strip under the wide map on the home page: where it is, and the
   two actions a guest actually needs. */
.map-caption {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: .45rem 1.15rem;
  margin: .9rem 0 0;
  font-size: .78rem; letter-spacing: .06em; color: var(--muted);
}
.map-caption > span { color: var(--graphite); }
.map-caption svg { width: 15px; height: 15px; color: var(--gold-deep); flex-shrink: 0; }
.map-caption .link-arrow { font-size: .6rem; letter-spacing: .2em; }
.map-caption .link-arrow svg { width: 13px; height: 13px; }

/* The address card is a wide strip under the map, so on anything wider than a
   phone it reads as one row: place on the left, action on the right. */
@media (min-width: 560px) {
  .detail-map .map-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: .1rem 1.5rem;
  }
  .detail-map .map-card .map-card__label { grid-column: 1; }
  .detail-map .map-card p { grid-column: 1; margin: 0; }
  .detail-map .map-card .link-arrow { grid-column: 2; grid-row: 1 / span 2; justify-self: end; }
}

/* ======================================================================
   Animated wave backdrop behind "Considered comforts".
   A WebGL canvas fills the dark section; the copy sits above it. The
   fallback is a static gradient, used when WebGL is unavailable or the
   visitor prefers reduced motion.
   ====================================================================== */
.section--wave {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.gradient-wave {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.section--wave > .container { position: relative; z-index: 1; }
/* If the canvas is removed, the section still reads as a warm gradient. */
.section--wave.is-wave-fallback {
  background:
    radial-gradient(90% 120% at 12% 100%, rgba(148, 101, 26, .55), transparent 62%),
    radial-gradient(80% 110% at 82% 0%, rgba(78, 51, 32, .8), transparent 60%),
    linear-gradient(180deg, #3a2415 0%, #24150c 100%);
}

/* A warm scrim between the wave canvas and the copy. The wave is decoration;
   the facility text has to stay readable over a moving gold field. */
.section--wave::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 22% 42%, rgba(24, 15, 8, .3) 0%, rgba(24, 15, 8, .16) 52%, rgba(24, 15, 8, .04) 100%),
    linear-gradient(180deg, rgba(24, 15, 8, .44) 0%, rgba(24, 15, 8, .22) 34%, rgba(24, 15, 8, .4) 100%);
}
.section--wave > .container { z-index: 2; }

/* Over the moving wave the default 55%-white descriptions drop away; lift them
   a step so every facility line stays comfortably readable. */
.section--wave .facility h3 { color: #fdf8ee; }
.section--wave .facility p { color: rgba(255, 251, 242, .74); }
.section--wave .facility-note { color: rgba(255, 251, 242, .7); }

/* ======================================================================
   Premium finish — section rhythm, brass actions and editorial detail
   ====================================================================== */

/* Sand band -------------------------------------------------------------
   About, Apartments, Gallery and Contact alternate content on
   .section--sand. The class was in the markup but had no definition, so
   those pages ran one flat cream block from top to bottom. A warm sand
   gradient gives the page a rhythm without competing with the photographs. */
.section--sand {
  background:
    radial-gradient(120% 70% at 8% 0%, rgba(255, 255, 255, .55), transparent 62%),
    linear-gradient(180deg, #f7eeda 0%, #f2e5cd 100%);
  border-block: 1px solid rgba(217, 166, 62, .16);
}
.section--sand .card,
.section--sand .card--sand { background: rgba(255, 253, 247, .94); }

/* Brass action ----------------------------------------------------------
   .btn--brass was also undefined, so the primary action on booking,
   payment and the closing bands fell back to plain charcoal. Brass is the
   gold button one shade deeper, with dark walnut type for contrast. */
.btn--brass {
  background: linear-gradient(135deg, #f2d79c 0%, #d9a63e 52%, #b47f22 100%);
  border-color: rgba(148, 101, 26, .6);
  color: #2b1a0e;
  box-shadow:
    0 16px 34px -16px rgba(148, 101, 26, .6),
    inset 0 1px 0 rgba(255, 255, 255, .6);
}
.btn--brass:hover {
  background: linear-gradient(135deg, #ffe4ac 0%, #e9b857 52%, #c08a29 100%);
  border-color: var(--gold-deep);
  color: #24150c;
  box-shadow:
    0 22px 44px -16px rgba(148, 101, 26, .62),
    0 0 0 1px rgba(243, 207, 135, .55),
    inset 0 1px 0 rgba(255, 255, 255, .7);
}

/* Typography ------------------------------------------------------------
   Headings balance their lines instead of leaving a single orphan word;
   body copy avoids short last lines. Figures line up wherever prices,
   totals or counts sit in a column. */
h1, h2, h3, h4 { text-wrap: balance; }
p, li, figcaption { text-wrap: pretty; }
.hero-scene h1 { text-wrap: balance; }
h1, h2 { font-kerning: normal; font-variant-ligatures: common-ligatures; }

.apartment-card__price,
.apartment-card__total,
.booking-panel__price,
.booking-total-line,
.summary-list,
.summary-total,
.stat-row strong,
.detail-specs { font-variant-numeric: tabular-nums; }

/* A centred eyebrow gets a hairline on both sides, so the section headings
   read as a deliberate composition rather than a left-aligned label that
   happens to be centred. */
.section-head--center .eyebrow::before { display: block; }
.section-head--center .eyebrow::after {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: .55;
}

/* Staged hero entrance --------------------------------------------------
   The copy arrives in reading order, a beat apart. The photograph and the
   day/night wipe are untouched, so the first impression stays calm. */
/* The glass highlights card is left out on purpose: fading a
   backdrop-filter surface is what makes the blur flicker on some GPUs. */
.hero-scene .eyebrow,
.hero-scene h1,
.hero-scene__text,
.hero-scene__actions,
.hero-scene__status { animation: heroEnter 1s var(--ease) both; }
.hero-scene .eyebrow { animation-delay: .1s; }
.hero-scene h1 { animation-delay: .2s; }
.hero-scene__text { animation-delay: .32s; }
.hero-scene__actions { animation-delay: .42s; }
.hero-scene__status { animation-delay: .62s; }

@keyframes heroEnter {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* Map ------------------------------------------------------------------
   Google's default palette is cool grey-green next to walnut and gold.
   A warm, slightly desaturated grade settles it into the page. */
.map-frame iframe {
  filter: grayscale(.45) sepia(.12) saturate(.9) contrast(.96);
}

/* In-page anchors -------------------------------------------------------
   Any destination, not only the booking panel, lands clear of the fixed
   header. */
:target { scroll-margin-top: calc(var(--header-offset, 0px) + 104px); }

/* A warm, compact scrollbar on desktop keeps the palette intact to the
   very edge of the page. */
@media (min-width: 981px) {
  html { scrollbar-color: rgba(148, 101, 26, .55) rgba(240, 228, 204, .6); scrollbar-width: thin; }
  ::-webkit-scrollbar { width: 10px; }
  ::-webkit-scrollbar-track { background: rgba(240, 228, 204, .6); }
  ::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #d9a63e, #a97b25);
    border: 2px solid rgba(240, 228, 204, .6);
    border-radius: 999px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scene .eyebrow,
  .hero-scene h1,
  .hero-scene__text,
  .hero-scene__actions,
  .hero-scene__status { animation: none; }
}

/* Short screens — landscape phones and small laptops — have no band between
   the copy and the availability panel, so the state chip steps out. */
@media (max-height: 700px) {
  .hero-scene__status { display: none; }
}
/* ======================================================================
   PHONE-FIRST PASS
   Most guests arrive on a phone, so the narrow layout is composed on its
   own terms instead of being a squeezed desktop: the availability panel
   becomes four fields in two columns, the gallery turns into a swipeable
   film strip, cards gain a real surface, and type, spacing and tap targets
   are tuned for one thumb.
   ====================================================================== */
@media (max-width: 720px) {
  /* --- typography ----------------------------------------------------- */
  h1, h2, h3 { text-wrap: balance; }
  p, li { text-wrap: pretty; }
  .section { padding-block: 3.6rem; }
  .section-head { margin-bottom: 2rem; }
  .section-head p { font-size: .95rem; line-height: 1.62; }
  .section-head--split { gap: 1.1rem; }
  .lead { font-size: 1rem; line-height: 1.66; }
  .eyebrow { font-size: .58rem; letter-spacing: .2em; }
  /* iOS zooms the page when a field under 16px takes focus. */
  .form-control, .form-select, textarea { font-size: 16px; }

  /* --- header: lighter bar, thumb-sized controls ---------------------- */
  .site-header__inner { min-height: 64px; gap: .6rem; }
  .brand img { height: 38px; }
  .header-actions { gap: .45rem; }
  .header-actions .btn--sm { height: 40px; padding-inline: .9rem; font-size: .58rem; }
  .nav-toggle { width: 44px; height: 44px; }
  .btn { min-height: 46px; }
  .btn--sm { min-height: 40px; }

  /* --- hero ----------------------------------------------------------- */
  .hero-scene__inner { padding-top: 4.6rem; }
  .hero-scene h1 { font-size: clamp(2rem, 8.6vw, 2.45rem); line-height: 1.07; margin-bottom: .95rem; }
  .hero-scene__text { font-size: .93rem; line-height: 1.6; margin-bottom: 1.35rem; }
  .hero-scene__actions { gap: .55rem; }
  .hero-scene__aside { padding: 1rem 1.05rem; border-radius: 14px; }
  .hero-scene__aside-label { margin-bottom: .7rem; }
  .hero-scene__meta { gap: .7rem; font-size: .92rem; }
  .hero-scene__meta li { padding-bottom: .7rem; }
  .hero-scene__meta svg { width: 18px; height: 18px; }
  .hero-scene__status { bottom: 3.4rem; }

  /* --- availability panel: two columns, one screen --------------------- */
  .searchbar-wrap { margin-top: -30px; }
  .searchbar { padding: 1rem 1rem 1.05rem; border-radius: 20px; }
  .searchbar__title {
    font-size: .55rem; letter-spacing: .16em;
    margin-bottom: .8rem; padding-bottom: .65rem;
  }
  .searchbar__title > span:last-child { display: none; }
  /* minmax(0, 1fr) keeps native date fields from forcing the tracks wider
     than the panel; their intrinsic width is a suggestion, not a minimum. */
  .searchbar form { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem .65rem; }
  .searchbar form > * { min-width: 0; }
  .searchbar .form-control,
  .searchbar .form-select { min-width: 0; width: 100%; }
  .searchbar form > .searchbar__field:last-child { grid-column: 1 / -1; }
  .searchbar .form-label { font-size: .54rem; letter-spacing: .14em; margin-bottom: .32rem; }
  .searchbar .form-control,
  .searchbar .form-select { height: 46px; border-radius: 12px; }
  .searchbar .form-select { padding-right: 1.9rem; }
  .searchbar .btn {
    width: 100%;
    height: 48px;
    border-radius: 12px;
    margin-top: .1rem;
  }

  /* --- introduction: images and copy closer together ------------------- */
  .intro-split { gap: 1.9rem; }
  .intro-media { margin-bottom: 1.1rem; }
  .intro-list li { font-size: .92rem; }
  .intro-copy .link-arrow { min-height: 44px; }

  /* --- apartment cards: a surface rather than a floating pile ---------- */
  .apartments-grid { gap: 1.4rem; }
  .apartment-card {
    max-width: none;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 44px -36px rgba(25, 24, 21, .55);
  }
  .apartment-card__media {
    aspect-ratio: 4 / 3;
    border: 0;
    border-bottom: 1px solid var(--line);
    box-shadow: none;
  }
  .apartment-card:hover .apartment-card__media { border-color: transparent; box-shadow: none; }
  .apartment-card__price {
    left: .75rem; bottom: .75rem;
    border-radius: 10px;
    padding: .42rem .7rem;
    font-size: .7rem;
    box-shadow: 0 10px 24px -16px rgba(12, 9, 6, .8);
  }
  .apartment-card__price small { font-size: .6rem; }
  .apartment-card__flag {
    top: .75rem; left: .75rem;
    border-radius: 999px;
    padding: .32rem .62rem;
    font-size: .5rem;
    letter-spacing: .16em;
  }
  .apartment-card__body { padding: 1.05rem 1.05rem 1.15rem; }
  .apartment-card__body h3 { font-size: 1.4rem; }
  .apartment-card__desc { font-size: .87rem; line-height: 1.55; margin-bottom: .85rem; }
  .apartment-card__specs { padding-block: .7rem; font-size: .64rem; gap: .45rem .9rem; }
  .apartment-card__actions { grid-template-columns: 1fr 1fr; gap: .5rem; }
  .apartment-card__actions .btn { min-height: 44px; padding-inline: .4rem; font-size: .56rem; letter-spacing: .1em; }

  /* --- gallery: a swipeable film strip --------------------------------- */
  .gallery-strip {
    flex-direction: row;
    align-items: stretch;
    height: auto;
    gap: .6rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    padding-bottom: .25rem;
  }
  .gallery-strip::-webkit-scrollbar { display: none; }
  .gallery-panel,
  .gallery-panel.is-open {
    flex: 0 0 78%;
    height: auto;
    aspect-ratio: 3 / 4;
    scroll-snap-align: center;
    border-radius: 16px;
    box-shadow: 0 26px 48px -34px rgba(21, 13, 7, .8);
  }
  .gallery-panel__media,
  .gallery-panel.is-open .gallery-panel__media { clip-path: inset(0 round 15px); }
  .gallery-panel__media img,
  .gallery-panel.is-open .gallery-panel__media img { transform: none; }
  .gallery-panel__veil,
  .gallery-panel.is-open .gallery-panel__veil {
    opacity: 1;
    background: linear-gradient(to top,
      rgba(18, 11, 6, .92) 0%, rgba(18, 11, 6, .52) 30%,
      rgba(18, 11, 6, .1) 56%, rgba(18, 11, 6, 0) 74%);
  }
  .gallery-panel__body,
  .gallery-panel.is-open .gallery-panel__body {
    opacity: 1;
    transform: none;
    padding: 1rem;
    gap: .5rem;
  }
  .gallery-panel__tag { font-size: .5rem; padding: .28rem .6rem; }
  .gallery-panel__title { font-size: 1.42rem; }
  .gallery-panel__cta { font-size: .54rem; letter-spacing: .16em; }
  .gallery-panel__spine,
  .gallery-panel:hover .gallery-panel__spine { display: none; }

  /* --- facilities: gold icon discs, tighter rows ----------------------- */
  .facility-list { gap: 0; }
  .facility { padding: 1.15rem 0; gap: .8rem; }
  .facility > svg {
    width: 17px; height: 17px;
    padding: 8px;
    box-sizing: content-box;
    margin-top: 0;
    border-radius: 50%;
    border: 1px solid rgba(217, 166, 62, .35);
    background: rgba(217, 166, 62, .12);
  }
  .section--dark .facility > svg {
    border-color: rgba(243, 207, 135, .3);
    background: rgba(243, 207, 135, .1);
  }
  .facility h3 { font-size: .66rem; letter-spacing: .1em; line-height: 1.4; margin-bottom: .28rem; }
  .facility p { font-size: .85rem; line-height: 1.55; }
  .facility-note { font-size: .78rem; line-height: 1.6; }

  /* --- location, map, call to action ---------------------------------- */
  .contact-list li { gap: .7rem; font-size: .9rem; }
  .map-frame { border-radius: 16px; }
  .map-frame iframe { height: 300px; }
  .map-caption { gap: .55rem .8rem; font-size: .74rem; }
  .map-caption .link-arrow {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    min-height: 40px;
    padding: .45rem .8rem;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    font-size: .55rem;
    letter-spacing: .14em;
  }
  .cta-band { padding-block: 3.2rem; }
  .cta-band__actions { width: 100%; gap: .55rem; }
  .cta-band__actions .btn { flex: 1 1 100%; }

  /* --- inner-page headings -------------------------------------------- */
  .page-hero { padding-block: 2.8rem 2.2rem; }
  .page-hero h1 { font-size: clamp(1.95rem, 8vw, 2.4rem); max-width: none; }
  .page-hero p { font-size: .93rem; line-height: 1.6; }
  .page-hero__inner { gap: 1rem; }

  /* --- footer and utility links --------------------------------------- */
  .footer-grid { gap: 1.7rem 1.1rem; }
  .footer-links a { display: inline-block; padding-block: .2rem; }
  .footer-social a { width: 44px; height: 44px; }
  .whatsapp-float { bottom: 1.1rem; right: 1.1rem; }
  .lightbox__nav { width: 44px; height: 44px; }
}

/* Very narrow phones (iPhone SE, small Androids): keep the panel readable
   and the cards single-file without shrinking the type further. */
@media (max-width: 360px) {
  .hero-scene h1 { font-size: 1.9rem; }
  .searchbar form { gap: .65rem .5rem; }
  .apartment-card__actions { grid-template-columns: 1fr; }
  .apartment-card__actions .btn { min-height: 46px; }
  .gallery-panel, .gallery-panel.is-open { flex-basis: 84%; }
}

/* Phones: the apartments filter bar takes the same two-column rhythm as the
   availability panel, so "Apply" is a full-width action instead of a lonely
   half-width button at the end of the row. */
@media (max-width: 720px) {
  .filter-bar { padding: 1.2rem 0; margin-bottom: 2.2rem; }
  .filter-bar form { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem .65rem; }
  .filter-bar form > * { min-width: 0; }
  .filter-bar .form-control,
  .filter-bar .form-select { min-width: 0; width: 100%; }
  .filter-bar form > div:last-child { grid-column: 1 / -1; }
  .filter-bar .btn { width: 100%; height: 48px; border-radius: 12px; }
  .filter-bar .form-label { font-size: .54rem; letter-spacing: .14em; margin-bottom: .32rem; }
  .filter-bar .form-control,
  .filter-bar .form-select { height: 46px; border-radius: 12px; }

  /* Give the native date picker room so its icon never touches the border. */
  .searchbar input[type="date"],
  .filter-bar input[type="date"] { padding-right: .55rem; }
}

/* ------------------------------------------------------ Lipa Namba payment */
/* The payment step leads with one business number, the window to pay it and
   the call that confirms the transaction. It is read on phones first. */
.lipa-card {
  position: relative;
  background: var(--charcoal);
  color: var(--ivory-soft);
  border: 1px solid rgba(243, 207, 135, .4);
  box-shadow: 0 0 32px -12px rgba(226, 178, 82, .55);
  padding: 1.5rem 1.6rem 1.3rem;
  margin-bottom: 1.3rem;
}
.lipa-card::after {
  content: ""; position: absolute; inset: 6px;
  border: 1px solid rgba(243, 207, 135, .16);
  pointer-events: none;
}
.lipa-card__eyebrow {
  display: block; font-size: .6rem; letter-spacing: .24em; text-transform: uppercase;
  color: rgba(243, 207, 135, .85); margin-bottom: .8rem;
}
.lipa-card__head { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; justify-content: space-between; }
.lipa-card__number {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.9rem, 5vw, 2.5rem); line-height: 1.1; letter-spacing: .1em;
  color: #f6e3bb; word-break: break-word;
  font-variant-numeric: tabular-nums;
}
.lipa-card__name {
  display: block; margin-top: .45rem;
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255, 255, 255, .62);
}
.lipa-card__missing { font-size: .85rem; color: #f3d9c9; margin: 0 0 .4rem; line-height: 1.6; }
.lipa-card__missing strong { color: #ffd9b0; display: block; margin-bottom: .3rem; }
.lipa-card__facts {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem;
  margin: 1.2rem 0 0; padding-top: 1.1rem; border-top: 1px solid rgba(243, 207, 135, .22);
}
.lipa-card__facts dt { font-size: .58rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.lipa-card__facts dd { margin: .25rem 0 0; font-family: var(--font-display); font-size: 1.2rem; color: var(--ivory-soft); }
.lipa-card__note { font-size: .76rem; line-height: 1.6; color: rgba(255, 255, 255, .62); margin: 1rem 0 0; }

.lipa-steps { list-style: none; padding: 0; margin: 0 0 1.3rem; }
.lipa-steps li { padding: .85rem 0; border-top: 1px solid var(--line); }
.lipa-steps li:last-child { border-bottom: 1px solid var(--line); }
.lipa-steps strong { display: block; font-family: var(--font-display); font-size: 1.02rem; font-weight: 400; color: var(--charcoal); }
.lipa-steps span { display: block; font-size: .83rem; line-height: 1.55; color: var(--muted); margin-top: .2rem; }

.care-call {
  display: flex; gap: .85rem; align-items: flex-start;
  background: #fbf4e7; border: 1px solid #e9d9bb; border-left: 2px solid var(--warning);
  padding: 1rem 1.15rem; margin-bottom: 1.3rem;
}
.care-call > svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: .2rem; color: #7d5a1e; }
.care-call strong { display: block; font-size: .87rem; font-weight: 600; color: #5f441a; }
.care-call p { font-size: .82rem; line-height: 1.55; color: #735420; margin: .25rem 0 .75rem; }
.care-call .btn { margin: 0; }

.payment-window {
  display: flex; gap: .8rem; align-items: flex-start;
  background: var(--charcoal); color: var(--ivory-soft);
  border-left: 2px solid var(--gold);
  padding: 1rem 1.15rem; margin-bottom: 1.3rem;
}
.payment-window > svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: .2rem; color: var(--gold); }
.payment-window strong { display: block; font-size: .9rem; font-weight: 500; }
.payment-window strong [data-countdown-value] { color: #f6e3bb; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.payment-window small { display: block; font-size: .78rem; line-height: 1.55; color: rgba(255, 255, 255, .68); margin-top: .3rem; }
.payment-window.is-expired { border-left-color: var(--danger); }

.pay-alt { margin: 0 0 1.3rem; font-size: .82rem; }
.pay-alt summary { cursor: pointer; color: var(--gold-deep); }
.pay-alt ul { list-style: none; margin: .7rem 0 0; padding: 0; display: grid; gap: .35rem; }
.pay-alt li { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); padding-bottom: .35rem; }
.pay-alt p { color: var(--muted); font-size: .78rem; margin: .6rem 0 0; }
.pay-form-title { font-size: 1.05rem; margin: 1.7rem 0 .35rem; }

@media (max-width: 720px) {
  .lipa-card { padding: 1.25rem 1.15rem 1.15rem 1.3rem; }
  .lipa-card__head { flex-direction: column; align-items: flex-start; gap: .65rem; }
  .lipa-card__number { font-size: 2rem; letter-spacing: .07em; }
  .lipa-card__facts { grid-template-columns: 1fr; gap: .7rem; }
  .lipa-card__facts dd { font-size: 1.1rem; }
  .care-call { flex-direction: column; gap: .55rem; }
  .care-call > svg { display: none; }
  .care-call .btn { width: 100%; }
  .payment-window { padding: .95rem 1rem; }
}

/* ------------------------------------------- booking received popup */
/* Opens once, directly after a request is submitted: reference, stay,
   the time left to pay and the Lipa Namba of the chosen network. */
.booking-modal {
  position: fixed; inset: 0; z-index: 190;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(1rem, 4vw, 2.5rem);
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
}
.booking-modal.is-open { opacity: 1; visibility: visible; }
.booking-modal__scrim { position: absolute; inset: 0; background: rgba(18, 17, 14, .62); backdrop-filter: blur(3px); }
.booking-modal__card {
  position: relative;
  width: min(460px, 100%);
  max-height: min(88vh, 780px);
  overflow-y: auto;
  background: var(--paper);
  border: 1px solid rgba(243, 207, 135, .5);
  box-shadow: 0 40px 110px -40px rgba(0, 0, 0, .7);
  padding: clamp(1.5rem, 4vw, 2.2rem);
  transform: translateY(16px) scale(.985);
  transition: transform .35s var(--ease);
}
.booking-modal.is-open .booking-modal__card { transform: none; }
.booking-modal__card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft, #f3cf87));
}
.booking-modal__close {
  position: absolute; top: .7rem; right: .7rem;
  width: 36px; height: 36px; display: grid; place-items: center;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  font-size: 1.25rem; line-height: 1; cursor: pointer;
  transition: border-color .25s, color .25s;
}
.booking-modal__close:hover { border-color: var(--gold); color: var(--gold-deep); }
.booking-modal__eyebrow {
  display: block; font-size: .58rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: .45rem;
}
.booking-modal__card h2 { font-size: clamp(1.5rem, 4vw, 1.8rem); margin: 0 0 .4rem; }
.booking-modal__lede { font-size: .84rem; line-height: 1.6; color: var(--muted); margin: 0 0 .2rem; }

.booking-modal__ref {
  display: flex; flex-wrap: wrap; gap: .55rem; align-items: center; justify-content: space-between;
  background: var(--charcoal); color: var(--ivory-soft);
  padding: .85rem 1rem; margin-top: 1.1rem;
}
.booking-modal__ref span {
  width: 100%; font-size: .54rem; letter-spacing: .24em; text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
}
.booking-modal__ref strong {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 400;
  letter-spacing: .06em; color: #f6e3bb;
}

.booking-modal__details { list-style: none; padding: 0; margin: 1rem 0 0; }
.booking-modal__details li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .5rem 0; border-bottom: 1px solid var(--line); font-size: .85rem;
}
.booking-modal__details span:first-child {
  font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
  padding-top: .15rem;
}
.booking-modal__details span:last-child { text-align: right; color: var(--charcoal); font-weight: 500; }

.booking-modal__timer {
  margin-top: 1rem; padding: .85rem 1rem;
  background: #fbf4e7; border-left: 2px solid var(--warning);
}
.booking-modal__timer-label {
  display: block; font-size: .56rem; letter-spacing: .22em; text-transform: uppercase; color: #7d5a1e;
}
.booking-modal__timer strong {
  display: block; font-family: var(--font-display); font-size: 1.55rem; font-weight: 400;
  color: #5f441a; margin-top: .15rem; font-variant-numeric: tabular-nums;
}
.booking-modal__timer small { display: block; font-size: .74rem; line-height: 1.5; color: #735420; margin-top: .2rem; }

.booking-modal__pay { margin-top: 1rem; padding: .9rem 1rem; border: 1px dashed var(--line-strong); }
.booking-modal__pay-label {
  display: block; font-size: .56rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
}
.booking-modal__pay-row {
  display: flex; flex-wrap: wrap; gap: .55rem; align-items: center; justify-content: space-between;
  margin-top: .3rem;
}
.booking-modal__pay-row strong {
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 400;
  letter-spacing: .08em; color: var(--charcoal); font-variant-numeric: tabular-nums;
}
.booking-modal__pay small { display: block; font-size: .74rem; line-height: 1.5; color: var(--muted); margin-top: .25rem; }
.booking-modal__pay p { font-size: .8rem; line-height: 1.55; color: #735420; margin: .3rem 0 0; }

.booking-modal__call { font-size: .78rem; line-height: 1.55; color: var(--muted); margin: .9rem 0 0; }
.booking-modal__call a { color: var(--gold-deep); font-weight: 600; }

.booking-modal__actions { display: grid; gap: .5rem; margin-top: 1.1rem; }
.booking-modal__actions .btn { margin: 0; }

@media (max-width: 560px) {
  .booking-modal { align-items: flex-end; padding: 0; }
  .booking-modal__card {
    width: 100%; max-height: 92vh;
    border-left: 0; border-right: 0; border-bottom: 0;
    padding: 1.5rem 1.15rem calc(1.4rem + env(safe-area-inset-bottom));
  }
  .booking-modal__ref strong { font-size: 1.35rem; }
  .booking-modal__pay-row strong { font-size: 1.45rem; }
}

/* --- a room temporarily held while another guest pays ------------------- */
.detail-note--hold {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  border-left-color: var(--warning);
  background: #fbf4e7;
  padding: .7rem .85rem;
  border-radius: 0 8px 8px 0;
  color: #735420;
}

/* ======================================================================
   Glass surfaces — cards, panels, modals and fields
   ----------------------------------------------------------------------
   Every content surface is a sheet of warm frosted glass: a translucent
   ivory fill with a diagonal sheen, a bright refractive rim, a soft inner
   highlight and a real blur of what sits behind it. Dark surfaces (the
   Lipa Namba card, the reference strip, the popup) use smoked walnut glass
   so the ivory type keeps its contrast. Form fields are frosted too, but
   they carry no blur of their own — a card already blurs the page, and a
   stack of filters under every input is what makes phones stutter.
   ====================================================================== */
:root {
  --glass-fill: rgba(255, 251, 241, .44);
  --glass-fill-sand: rgba(255, 248, 232, .5);
  --glass-rim: rgba(255, 255, 255, .88);
  --glass-line: rgba(217, 166, 62, .2);
  --glass-shadow: 0 30px 62px -38px rgba(58, 36, 21, .52);
  --glass-dark-fill: rgba(34, 20, 10, .48);
  --glass-dark-rim: rgba(243, 207, 135, .34);
  --glass-blur: 22px;
}

/* Warm light pools behind the glass. Very low opacity — they only exist so
   the translucent panels have light and depth to refract, not to tint the
   page. */
.section--paper,
.section--ivory,
.section--beige {
  background-image:
    radial-gradient(58% 52% at 6% 0%, rgba(255, 255, 255, .7), transparent 62%),
    radial-gradient(44% 42% at 96% 88%, rgba(217, 166, 62, .12), transparent 70%);
}

/* The blur itself, shared by every frosted surface. */
.card,
.card--sand,
.card--ivory,
.section--sand .card,
.section--sand .card--sand,
.booking-panel,
.empty-state,
.map-card,
.apartment-card,
.pay-instructions,
.care-call,
.detail-note--hold,
.booking-modal__card,
.booking-modal__timer,
.payment-window,
.lipa-card,
.reference-box,
.booking-modal__ref,
.section--dark .card,
.section--dark .empty-state {
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(165%) brightness(1.04);
  backdrop-filter: blur(var(--glass-blur)) saturate(165%) brightness(1.04);
}

/* Light glass: cards, the booking panel, empty states, the payment notes and
   the booking popup. */
.card,
.card--ivory,
.booking-panel,
.empty-state,
.map-card,
.apartment-card,
.pay-instructions,
.booking-modal__card {
  background-color: var(--glass-fill);
  /* A bright specular hotspot at the top-left, a warm bounce of gold at the
     bottom-right and a diagonal sheen across the sheet: the three light
     cues that make a translucent panel read as glass rather than plastic. */
  background-image:
    radial-gradient(120% 100% at 10% 0%, rgba(255, 255, 255, .82), rgba(255, 255, 255, 0) 54%),
    radial-gradient(90% 70% at 92% 104%, rgba(226, 178, 82, .2), rgba(226, 178, 82, 0) 72%),
    linear-gradient(150deg,
      rgba(255, 255, 255, .42) 0%,
      rgba(255, 255, 255, .08) 48%,
      rgba(255, 255, 255, .3) 100%);
  border-color: var(--glass-rim);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .98),
    inset 0 -1px 0 rgba(217, 166, 62, .18),
    inset 0 0 0 1px rgba(255, 255, 255, .24),
    0 0 0 1px var(--glass-line),
    0 2px 6px rgba(58, 36, 21, .05),
    0 0 30px -16px rgba(226, 178, 82, .55),
    var(--glass-shadow);
}

/* The sand cards keep their warmer paper tone under the frost. */
.card--sand,
.section--sand .card,
.section--sand .card--sand {
  background-color: var(--glass-fill-sand);
  background-image:
    radial-gradient(120% 100% at 10% 0%, rgba(255, 255, 255, .78), rgba(255, 255, 255, 0) 54%),
    radial-gradient(90% 70% at 92% 104%, rgba(217, 166, 62, .2), rgba(217, 166, 62, 0) 72%),
    linear-gradient(150deg,
      rgba(255, 255, 255, .4) 0%,
      rgba(255, 249, 234, .06) 48%,
      rgba(255, 255, 255, .3) 100%);
  border-color: var(--glass-rim);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .95),
    inset 0 -1px 0 rgba(217, 166, 62, .18),
    inset 0 0 0 1px rgba(255, 255, 255, .2),
    0 0 0 1px var(--glass-line),
    0 2px 6px rgba(58, 36, 21, .05),
    0 0 30px -16px rgba(226, 178, 82, .5),
    var(--glass-shadow);
}

/* A card still lifts on hover; the rim brightens with it. */
.apartment-card:hover,
.apartment-card:focus-within {
  border-color: rgba(255, 255, 255, .88);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .95),
    0 0 0 1px rgba(217, 166, 62, .3),
    var(--float-hover),
    var(--gold-halo-strong);
}

/* Smoked glass: dark panels and any card placed on a dark section. */
.section--dark .card,
.section--dark .empty-state,
.payment-window,
.lipa-card,
.reference-box,
.booking-modal__ref {
  background-color: var(--glass-dark-fill);
  background-image:
    radial-gradient(110% 100% at 8% 0%, rgba(255, 246, 226, .18), rgba(255, 246, 226, 0) 56%),
    linear-gradient(150deg,
      rgba(255, 246, 226, .1) 0%,
      rgba(255, 246, 226, .02) 50%,
      rgba(255, 246, 226, .08) 100%);
  border-color: var(--glass-dark-rim);
  box-shadow:
    inset 0 1px 0 rgba(255, 247, 230, .24),
    inset 0 -1px 0 rgba(0, 0, 0, .32),
    inset 0 0 0 1px rgba(243, 207, 135, .1),
    0 0 36px -14px rgba(226, 178, 82, .5),
    0 30px 60px -38px rgba(0, 0, 0, .8);
}

/* ------------------------------------------------------------------ forms */
.form-control,
.form-select {
  background-color: rgba(255, 255, 255, .55);
  border-color: rgba(255, 255, 255, .78);
  transition:
    background-color .25s var(--ease),
    border-color .25s var(--ease),
    box-shadow .25s var(--ease);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .9),
    0 1px 2px rgba(58, 36, 21, .06),
    0 0 0 1px rgba(217, 166, 62, .18);
}
/* The dashed pay box keeps its gold dashed rim; only its fill is frosted. */
.booking-modal__pay {
  background-color: rgba(255, 255, 255, .42);
}

/* The payment method and care-call panels are glass too, warmed by their own
   borders rather than a new colour. */
.pay-method label {
  background-color: rgba(255, 255, 255, .46);
  border-color: rgba(255, 255, 255, .78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .9),
    inset 0 -1px 0 rgba(217, 166, 62, .12),
    0 1px 3px rgba(58, 36, 21, .06);
}
.pay-method input:checked + label {
  background-color: rgba(255, 253, 243, .8);
  border-color: var(--gold);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 0 0 1px var(--gold), 0 0 22px -12px rgba(226, 178, 82, .7);
}
.form-control:focus,
.form-select:focus {
  background-color: rgba(255, 253, 247, .92);
}

/* ------------------------------------------------------------------ hover
   Glass answers the pointer: the rim catches more light, the gold bounce
   warms, the shadow deepens and the panel rises a couple of pixels. Panels
   that hold a form (the booking panel) glow but never move, so nothing
   shifts under the pointer while someone is typing. Touch screens, which
   have no hover, keep the resting state. */
.card,
.card--sand,
.card--ivory,
.section--sand .card,
.section--sand .card--sand,
.empty-state,
.map-card,
.booking-panel {
  transition:
    transform .45s var(--ease),
    box-shadow .45s var(--ease),
    border-color .45s var(--ease),
    background-color .45s var(--ease);
}

@media (hover: hover) {
  .card:hover,
  .card--sand:hover,
  .card--ivory:hover,
  .section--sand .card:hover,
  .section--sand .card--sand:hover,
  .empty-state:hover,
  .map-card:hover {
    transform: translateY(-3px);
    background-color: rgba(255, 253, 246, .58);
    border-color: #ffffff;
    box-shadow:
      inset 0 1px 0 #ffffff,
      inset 0 -1px 0 rgba(217, 166, 62, .22),
      inset 0 0 0 1px rgba(255, 255, 255, .3),
      0 0 0 1px rgba(217, 166, 62, .3),
      0 0 38px -12px rgba(226, 178, 82, .7),
      0 34px 66px -34px rgba(58, 36, 21, .5);
  }

  .booking-panel:hover {
    border-color: #ffffff;
    background-color: rgba(255, 253, 246, .58);
    box-shadow:
      inset 0 1px 0 #ffffff,
      inset 0 -1px 0 rgba(217, 166, 62, .22),
      0 0 0 1px rgba(217, 166, 62, .3),
      0 0 38px -12px rgba(226, 178, 82, .7),
      0 34px 66px -34px rgba(58, 36, 21, .5);
  }

  .section--dark .card:hover,
  .section--dark .empty-state:hover,
  .lipa-card:hover,
  .reference-box:hover,
  .payment-window:hover,
  .booking-modal__ref:hover {
    border-color: rgba(243, 207, 135, .55);
    background-color: rgba(42, 26, 14, .56);
    box-shadow:
      inset 0 1px 0 rgba(255, 247, 230, .3),
      inset 0 -1px 0 rgba(0, 0, 0, .35),
      0 0 46px -12px rgba(226, 178, 82, .65),
      0 34px 66px -34px rgba(0, 0, 0, .8);
  }

  .form-control:hover,
  .form-select:hover {
    background-color: rgba(255, 255, 255, .68);
    border-color: rgba(255, 255, 255, .95);
  }

  .pay-method label:hover {
    background-color: rgba(255, 255, 255, .62);
    border-color: rgba(243, 207, 135, .8);
  }
}

@media (prefers-reduced-motion: reduce) {
  .card,
  .empty-state,
  .map-card,
  .booking-panel { transition: none; }
  .card:hover,
  .empty-state:hover,
  .map-card:hover { transform: none; }
}

/* A held room's note keeps its amber meaning, frosted over the card. */
.detail-note--hold {
  background-color: rgba(251, 244, 231, .62);
  border-color: #e9d9bb;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}

/* The "call customer care" note sits on amber glass for the same reason. */
.care-call {
  background-color: rgba(251, 244, 231, .62);
  border-color: rgba(233, 217, 187, .9);
  border-left-color: var(--warning);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}

/* Amber glass for the payment countdown inside the popup. */
.booking-modal__timer {
  background-color: rgba(251, 244, 231, .66);
  border-color: rgba(233, 217, 187, .9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}

/* Fallback: where no backdrop filter exists the surfaces turn opaque ivory
   instead of losing all contrast. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .card,
  .card--sand,
  .card--ivory,
  .section--sand .card,
  .section--sand .card--sand,
  .booking-panel,
  .empty-state,
  .map-card,
  .apartment-card,
  .pay-instructions,
  .booking-panel,
  .care-call,
  .detail-note--hold,
  .booking-modal__card {
    background-color: rgba(255, 253, 247, .96);
  }
  .section--dark .card,
  .section--dark .empty-state,
  .payment-window,
  .lipa-card,
  .reference-box,
  .booking-modal__ref {
    background-color: #2a1a0e;
  }
  .form-control,
  .form-select,
  .pay-method label,
  .booking-modal__pay {
    background-color: #fffdf8;
  }
}

/* Phones composite every blur, so the frost is lighter there. */
@media (max-width: 720px) {
  :root { --glass-blur: 13px; }
}
.detail-note--hold svg { width: 17px; height: 17px; flex: 0 0 auto; margin-top: .12rem; }

/* ======================================================================
   Native widgets — the parts the browser draws for itself.
   Calendars, the small chrome inside a date field, file pickers and the
   select chevron were still the operating system's own grey widgets and
   read as unfinished next to the gilded fields. They now share the same
   radii, gold hairlines and hover behaviour as every other control.
   ====================================================================== */

/* Date and time fields -------------------------------------------------- */
.form-control[type="date"],
.form-control[type="datetime-local"],
.form-control[type="time"],
.form-control[type="month"],
.form-control[type="week"] {
  color-scheme: light;
  min-height: 47px;
  cursor: pointer;
}
.form-control[type="date"]:hover,
.form-control[type="datetime-local"]:hover,
.form-control[type="time"]:hover,
.form-control[type="month"]:hover {
  border-color: var(--gold-line);
}
.form-control::-webkit-datetime-edit { color: var(--ink); }
.form-control::-webkit-datetime-edit-fields-wrapper { padding: 0; }
.form-control::-webkit-calendar-picker-indicator {
  width: 18px;
  height: 18px;
  padding: 0;
  margin-left: .45rem;
  opacity: .8;
  cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2394651a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='5.5' width='16' height='14' rx='2.5'/%3E%3Cpath d='M4 10h16M8.5 3.5v4M15.5 3.5v4'/%3E%3C/svg%3E") center / 17px 17px no-repeat;
  transition: opacity .2s var(--ease);
}
.form-control::-webkit-calendar-picker-indicator:hover { opacity: 1; }
.form-control::-moz-calendar-picker-indicator { opacity: .6; cursor: pointer; }

/* File pickers ---------------------------------------------------------- */
.form-control[type="file"] {
  padding: .42rem .5rem;
  font-size: .8rem;
  line-height: 1.4;
  color: var(--muted);
  cursor: pointer;
}
.form-control[type="file"]:hover { border-color: var(--gold-line); }
.form-control[type="file"]::file-selector-button {
  font-family: var(--font-body);
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--charcoal);
  background: linear-gradient(150deg, #f8eac8 0%, #eed5a0 55%, #e3c184 100%);
  border: 1px solid rgba(148, 101, 26, .45);
  border-radius: 8px;
  padding: .62rem 1.05rem;
  margin-right: .85rem;
  cursor: pointer;
  transition: filter .2s var(--ease), box-shadow .2s var(--ease);
}
.form-control[type="file"]::-webkit-file-upload-button {
  font-family: var(--font-body);
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--charcoal);
  background: linear-gradient(150deg, #f8eac8 0%, #eed5a0 55%, #e3c184 100%);
  border: 1px solid rgba(148, 101, 26, .45);
  border-radius: 8px;
  padding: .62rem 1.05rem;
  margin-right: .85rem;
  cursor: pointer;
}
.form-control[type="file"]::file-selector-button:hover {
  filter: brightness(1.05);
  box-shadow: var(--gold-halo);
}
.form-control[type="file"]::-webkit-file-upload-button:hover {
  filter: brightness(1.05);
  box-shadow: var(--gold-halo);
}

/* Selects --------------------------------------------------------------- */
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238a6a3a' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-size: 16px 16px;
  background-position: right .95rem center;
  cursor: pointer;
}
.form-select:hover { border-color: var(--gold-line); }

/* Buttons --------------------------------------------------------------- */
.btn {
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease), transform .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
