/* ════════════════════════════════════════════════════════════════
   Sunvillas · Hua Hin Blue Lagoon — V15 design system
   Editorial, photo-led, measured. Audience: long-stay guests 50–70.
   Signature device: "the measure line" — distances and lengths are
   this property's story (1.25 km lagoon · 8 min beach · 15 min town).
   ════════════════════════════════════════════════════════════════ */

:root {
  --lagoon:      #0B4F60;
  --lagoon-deep: #073845;
  --night:       #041E25;
  --cream:       #FBF7EE;
  --cream-warm:  #F6EFE1;
  --sand:        #EFE6D4;
  --sand-deep:   #E3D5BC;
  --water:       #E9F1EF;   /* cool wash — the lagoon against the sand */
  --water-deep:  #D9E8E4;
  --gold:        #B89552;
  /* 260808: was #94733A — 4.12:1 on cream, 3.55:1 on sand, so every one of its
     17 uses (all text: prices, table heads, labels) missed WCAG AA. This is the
     lightest gold clearing 4.5:1 on cream, sand and warm alike; sand binds at 4.71. */
  --gold-deep:   #7E602E;
  /* a11y 260808: --gold-deep is 3.55:1 on the warm cream band (#EFE6D4) — fine
     for rules, icons and large type, below AA for the 12px uppercase labels.
     Measured on the live page, not estimated. This is the same gold taken deep
     enough to pass at small sizes: 5.17:1. Use it for small text only; leave
     --gold-deep alone everywhere else so the brand does not shift. */
  --gold-text:   #74592B;
  --gold-on-dark: #C8A25B;  /* 5.28:1 on --lagoon-deep — gold reverses, see .band rule */
  --ink:         #22201C;
  --ink-soft:    #55504A;
  --line:        rgba(11, 79, 96, 0.14);
  --line-gold:   rgba(184, 149, 82, 0.35);
  --shadow-soft: 0 18px 50px rgba(7, 56, 69, 0.10);
  --shadow-deep: 0 30px 80px rgba(4, 30, 37, 0.22);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ── Base ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;                 /* deliberately generous — readers 50–70 */
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  color: var(--lagoon-deep);
  text-wrap: balance;
}
h1 { font-size: clamp(2.7rem, 6.4vw, 5.6rem); }
h2 { font-size: clamp(2.1rem, 4vw, 3.4rem); margin-bottom: 0.4em; }
h3 { font-size: clamp(1.4rem, 2vw, 1.75rem); letter-spacing: -0.01em; }
h4 { font-size: 1.2rem; }

p { margin: 0 0 1.25em; color: var(--ink-soft); max-width: 68ch; }
.lede { font-size: clamp(1.15rem, 1.6vw, 1.32rem); line-height: 1.55; color: var(--ink); max-width: 56ch; }
em.accent { font-style: italic; color: var(--gold-deep); font-family: var(--serif); font-size: 1.06em; }
strong { color: var(--ink); font-weight: 600; }

a { color: var(--lagoon); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.2s, color 0.2s; }
a:hover { border-bottom-color: currentColor; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 1px;
}

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--lagoon-deep); color: var(--cream); padding: 0.8rem 1.4rem;
}
.skip-link:focus { left: 0; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }
.wrap-narrow { max-width: 820px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }

.eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--gold-text);
  margin-bottom: 1.1rem;
}
.eyebrow::before { content: "— "; color: var(--gold); opacity: 0.65; }

section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }

/* ── Header ───────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(251, 247, 238, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: 0 10px 34px rgba(7, 45, 55, 0.12); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.05rem 0; transition: padding 0.3s; }
.site-header.scrolled .nav { padding: 0.6rem 0; }
/* a11y 260808: the header brand link measured 37px tall, under the 44px minimum. */
.brand { font-family: var(--serif); font-size: 1.42rem; font-weight: 600; color: var(--lagoon-deep); border: 0; letter-spacing: -0.01em; white-space: nowrap; display: inline-flex; align-items: center; min-height: 44px; }
.brand em { font-style: normal; color: var(--gold); }
.nav-links { display: none; gap: clamp(1.2rem, 2.4vw, 2.2rem); list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); font-size: 0.95rem; border: 0; position: relative; padding-bottom: 4px; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px;
  background: var(--gold); transition: width 0.3s;
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { width: 100%; }
.nav-links a[aria-current="page"] { color: var(--lagoon); }

.btn {
  display: inline-block;
  background: var(--lagoon-deep); color: var(--cream);
  padding: 1rem 1.7rem; border: 1px solid var(--lagoon-deep); border-radius: 1px;
  font-family: var(--sans); font-size: 0.83rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer;
  transition: background 0.25s, color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.btn:hover { background: var(--lagoon); border-color: var(--lagoon); color: var(--cream); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(7, 56, 69, 0.28); }
.btn.ghost { background: transparent; color: var(--lagoon-deep); border-color: rgba(11, 79, 96, 0.45); }
.btn.ghost:hover { background: var(--lagoon-deep); color: var(--cream); }
.btn.gold { background: var(--gold); border-color: var(--gold); color: var(--night); }
.btn.gold:hover { background: var(--cream); border-color: var(--cream); color: var(--lagoon-deep); }
.btn.on-dark { background: var(--cream); border-color: var(--cream); color: var(--lagoon-deep); }
.btn.on-dark:hover { background: var(--gold); border-color: var(--gold); color: var(--night); }
.btn.ghost-light { background: transparent; color: var(--cream); border-color: rgba(251, 247, 238, 0.6); }
.btn.ghost-light:hover { background: var(--cream); color: var(--lagoon-deep); }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: none; border: 1px solid rgba(11, 79, 96, 0.3); border-radius: 1px; cursor: pointer;
  color: var(--lagoon-deep);
}
.nav-toggle svg { width: 20px; height: 16px; display: block; }
.nav-toggle[aria-expanded="true"] { background: var(--lagoon-deep); color: var(--cream); }
.nav .btn { display: none; }

@media (min-width: 1160px) {
  .nav-links { display: flex; }
  .nav .btn { display: inline-block; padding: 0.8rem 1.4rem; }
  .nav-toggle { display: none; }
}

/* Mobile drawer */
.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--cream);
  padding: 1rem clamp(1.25rem, 4vw, 2.5rem) 1.75rem;
}
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 0.85rem 0; font-size: 1.15rem; font-family: var(--serif); color: var(--lagoon-deep); border-bottom: 1px solid var(--line); }
.mobile-nav .btn { margin-top: 1.25rem; width: 100%; text-align: center; color: var(--cream); border-bottom: 0; }   /* 261019: the phone-menu button text was the same colour as its background (rule above wins on specificity) */
@media (min-width: 1160px) { .mobile-nav { display: none !important; } }

/* ── Full hero (homepage) ─────────────────────────────────────── */
.hero {
  position: relative;
  min-height: clamp(580px, 94svh, 940px);
  display: flex; align-items: flex-end;
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
/* 260808: the old scrim died at 68% of the frame while the headline sits at
   43-65% and the eyebrow at ~70% — the eyebrow landed in the null between the
   top and bottom gradients. Scrim now reaches the top of the text block. */
.hero-scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    /* top edge, keeps the header readable over bright sky */
    linear-gradient(180deg, rgba(4, 30, 37, 0.50) 0%, rgba(4, 30, 37, 0.12) 20%, rgba(4, 30, 37, 0) 34%),
    /* body, carries the whole text block rather than just the CTAs */
    linear-gradient(0deg,
      rgba(4, 30, 37, 0.86) 0%,
      rgba(4, 30, 37, 0.70) 26%,
      rgba(4, 30, 37, 0.50) 46%,
      rgba(4, 30, 37, 0.28) 64%,
      rgba(4, 30, 37, 0.08) 80%,
      rgba(4, 30, 37, 0) 92%);
}
/* Wide screens: the copy sits left, the pool — the thing being sold — is right.
   Weight the scrim sideways so the subject keeps its light. */
@media (min-width: 980px) {
  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(4, 30, 37, 0.45) 0%, rgba(4, 30, 37, 0.10) 20%, rgba(4, 30, 37, 0) 34%),
      linear-gradient(0deg, rgba(4, 30, 37, 0.72) 0%, rgba(4, 30, 37, 0.44) 34%, rgba(4, 30, 37, 0.18) 60%, rgba(4, 30, 37, 0) 82%),
      /* the headline column runs to ~49% of the frame; the old ramp was down to
         0.12 by 56%, so its right half sat unbacked on the sunlit stucco */
      /* 260808 (Aaron): eased off across the whole right half. The copy now has its
         own panel behind it, so this layer no longer has to carry legibility on its
         own and can stop fighting the pool. Reaches 0 at 76% instead of 84%. */
      linear-gradient(95deg,
        rgba(4, 30, 37, 0.62) 0%,
        rgba(4, 30, 37, 0.48) 22%,
        rgba(4, 30, 37, 0.30) 40%,
        rgba(4, 30, 37, 0.14) 56%,
        rgba(4, 30, 37, 0.04) 68%,
        rgba(4, 30, 37, 0) 76%);
  }
}
.hero-content { position: relative; width: 100%; padding-top: 9rem; padding-bottom: clamp(4.5rem, 9vh, 7.5rem); }

/* 260808 (Aaron): a soft blue wash sitting directly behind the copy, so the cream
   type has something of its own to sit on instead of relying on the full-frame
   scrim plus text-shadows. Deliberately NOT behind the CTAs — those already read
   well against the photo and boxing them would flatten the hero.
   The radial mask feathers all four edges: a hard-edged rectangle on top of
   photography reads as a banner, which is not what this is for. Blue is sampled
   from the existing palette (--lagoon-deep #073845), not a new colour. */
.hero-copy { position: relative; max-width: min(60ch, 100%); }
.hero-copy > * { position: relative; z-index: 1; }
.hero-copy::before {
  content: ""; position: absolute; z-index: 0;
  inset: -1.9rem -2.1rem -1.5rem -2.1rem;
  border-radius: 3px;
  /* 260808 (Aaron): "less dark on the right, fully transparent on the right, smooth
     fade". Was ending at 0.12, so the far corner kept a permanent blue cast over the
     palms. Now reaches a true 0 before the right edge, with the ramp weighted to the
     left where the type actually sits. Angle flattened to 118deg so the fade runs
     across rather than diagonally down into the pool. */
  background: linear-gradient(118deg,
    rgba(5, 40, 50, 0.56) 0%,
    rgba(6, 48, 59, 0.44) 26%,
    rgba(7, 56, 69, 0.26) 50%,
    rgba(9, 68, 83, 0.10) 70%,
    rgba(11, 79, 96, 0.02) 84%,
    rgba(11, 79, 96, 0) 93%);
  /* The mask must feather ALL FOUR edges. First attempt centred it at 26% with a
     52% solid core: on a phone the panel runs past the viewport so nothing showed,
     but at 1440 the left edge landed inside the frame and drew a hard vertical
     line down the photo. Centred, with a smaller core, so every edge dissolves. */
  -webkit-mask-image: radial-gradient(118% 112% at 44% 46%, #000 30%, transparent 100%);
  mask-image: radial-gradient(118% 112% at 44% 46%, #000 30%, transparent 100%);
}
/* Wide screens already carry a left-weighted scrim (the 95deg layer above), so the
   panel bleeds to the viewport edge rather than starting inside the frame. */
@media (min-width: 980px) {
  .hero-copy::before { inset-inline-start: calc(-1 * ((100vw - 100%) / 2)); }
}
/* The stagger used to be keyed to .hero-content's direct children. Wrapping the
   copy collapsed three of them into one, so the delays move onto the real items. */
.hero-copy > *:nth-child(1) { animation-delay: 0.15s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.3s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.45s; }
/* 260808: was #E8CD90 — a light gold at 0.78rem under 0.34em tracking has too
   little ink left to survive a sunlit photo. Gold stays on light backgrounds
   (.eyebrow uses --gold-text); over photography the hero eyebrow runs cream. */
.hero-eyebrow {
  font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.34em;
  color: var(--cream); margin-bottom: 1.6rem;
  text-shadow: 0 1px 3px rgba(4, 22, 28, 0.55), 0 2px 16px rgba(4, 22, 28, 0.75);
}
/* 44px of blur at 0.45 is haze, not a shadow — it lifts nothing at the glyph
   edge, which is where a serif on a bright photo actually loses. */
.hero h1 {
  color: var(--cream); max-width: 15ch;
  text-shadow: 0 1px 2px rgba(4, 22, 28, 0.38), 0 2px 22px rgba(4, 22, 28, 0.45);
}
.hero h1 em { font-style: italic; font-weight: 400; }
/* 260808: 46ch measures ~396px at the 1.08rem floor, which is wider than the
   ~390px column left inside .wrap on a 430px phone — every line lost its last
   character off the right edge. min() keeps the measure without the overflow. */
.hero-sub { color: rgba(251, 247, 238, 0.9); font-size: clamp(1.08rem, 1.5vw, 1.25rem); font-weight: 300; max-width: min(46ch, 100%); margin: 1.4rem 0 2.4rem; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* staggered rise on load */
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
.hero-content > *, .hero-copy > * { animation: rise 1s cubic-bezier(0.22, 0.68, 0.28, 1) both; }
.hero-copy { animation: none; }   /* the wrapper must not fade the panel in twice */
.hero-content > .hero-ctas { animation-delay: 0.6s; }
/* 261021: one quiet line under the hero buttons - direct-booking offer */
.hero-note { margin: 1.15rem 0 0; color: rgba(251, 247, 238, 0.92); font-size: 0.98rem; letter-spacing: 0.02em; text-shadow: 0 1px 3px rgba(4, 22, 28, 0.55), 0 2px 14px rgba(4, 22, 28, 0.6); }
.hero-content > .hero-note { animation-delay: 0.8s; }

/* 260808: the site had no reduced-motion guard at all. Without this the staggered
   rise runs regardless of the OS setting, and the content is invisible until its
   delay elapses — worst case for anyone who asked the system for less motion. */
@media (prefers-reduced-motion: reduce) {
  .hero-content > * { animation: none; opacity: 1; transform: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── THE MEASURE LINE (signature) ─────────────────────────────── */
.measure-strip {
  position: relative; z-index: 5;
  background: var(--cream);
  border-top: 2px solid var(--gold);
  box-shadow: var(--shadow-soft);
}
.measure-strip .wrap {
  display: grid; grid-template-columns: 1fr; gap: 0;
}
.measure-item {
  position: relative;
  padding: 1.5rem 0 1.5rem 1.5rem;
  border-bottom: 1px solid var(--line);
}
.measure-item::before {                 /* tick */
  content: ""; position: absolute; left: 0; top: 1.7rem;
  width: 1px; height: 2.4rem; background: var(--gold);
}
.measure-item .m-value { font-family: var(--serif); font-size: clamp(1.7rem, 2.6vw, 2.3rem); color: var(--lagoon-deep); line-height: 1.05; }
.measure-item .m-value small { font-size: 0.52em; letter-spacing: 0.1em; color: var(--gold-deep); }
.measure-item .m-label { font-size: 0.82rem; letter-spacing: 0.06em; color: var(--ink-soft); margin-top: 0.3rem; }
@media (min-width: 780px) {
  .measure-strip .wrap { grid-template-columns: repeat(4, 1fr); gap: 0 2rem; }
  .measure-item { border-bottom: 0; padding: 1.9rem 0 1.9rem 1.6rem; }
}

/* standalone measure divider between sections */
.measure-rule {
  display: flex; align-items: center; gap: 1.1rem;
  margin: 0 auto; max-width: 420px; padding: 0 1.5rem;
  color: var(--gold-deep);
}
.measure-rule::before, .measure-rule::after { content: ""; flex: 1; height: 1px; background: var(--line-gold); }
.measure-rule svg { width: 26px; height: 26px; opacity: 0.75; flex: none; }

/* the distance ladder (getting-around) */
.ladder { position: relative; margin: 3rem 0 1rem; padding-left: 2rem; max-width: 720px; }
.ladder::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(180deg, var(--gold), var(--line-gold)); }
.ladder-stop { position: relative; padding: 0 0 2.4rem; }
.ladder-stop:last-child { padding-bottom: 0; }
.ladder-stop::before {
  content: ""; position: absolute; left: calc(-2rem - 5px); top: 8px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--cream); border: 2px solid var(--gold);
}
.ladder-stop .l-dist { font-family: var(--serif); font-size: 1.65rem; color: var(--lagoon-deep); line-height: 1.1; }
.ladder-stop .l-place { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; color: var(--gold-deep); margin: 0.2rem 0 0.4rem; }
.ladder-stop p { margin: 0; font-size: 0.98rem; }

/* ── Page hero (interior pages) ───────────────────────────────── */
.page-hero {
  position: relative; isolation: isolate;
  display: flex; align-items: flex-end;
  min-height: clamp(360px, 52svh, 560px);
  color: var(--cream);
  overflow: hidden;
}
.page-hero .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero .hero-scrim {
  background:
    linear-gradient(180deg, rgba(4, 30, 37, 0.5) 0%, rgba(4, 30, 37, 0) 38%),
    linear-gradient(4deg, rgba(4, 30, 37, 0.82) 0%, rgba(4, 30, 37, 0.28) 55%, rgba(4, 30, 37, 0.02) 80%);
}
.page-hero .wrap { position: relative; width: 100%; padding-top: 7rem; padding-bottom: clamp(2.5rem, 5vh, 4rem); }
.page-hero h1 { color: var(--cream); max-width: 18ch; font-size: clamp(2.4rem, 5vw, 4.2rem); text-shadow: 0 2px 36px rgba(4, 22, 28, 0.5); }
.page-hero .lede { color: rgba(251, 247, 238, 0.92); }
/* 260808: the global `strong` colour is --ink, which on the dark page-hero came
   out at 1.3:1 — that is what hid the WhatsApp number on thank-you.html, the one
   thing someone reads on that page. Emphasis inside a dark hero keeps hero ink. */
.page-hero strong, .page-hero b { color: inherit; }
/* 260808: same fix as .hero-eyebrow — this crumb sits over the photo hero on
   every inner page and had the same light-gold-on-bright-photo failure. */
.page-hero .crumb { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.26em; color: var(--cream); margin-bottom: 1.2rem; text-shadow: 0 1px 3px rgba(4, 22, 28, 0.55), 0 2px 14px rgba(4, 22, 28, 0.75); }
.page-hero.plain { background: var(--lagoon-deep); min-height: 0; }
.page-hero.plain .wrap { padding-top: clamp(5.5rem, 10vh, 8rem); }

/* ── Editorial split ──────────────────────────────────────────── */
.split { display: grid; gap: clamp(2rem, 4.5vw, 4.5rem); align-items: center; }
.split .split-media { position: relative; }
.split .split-media img { width: 100%; height: 100%; object-fit: cover; box-shadow: var(--shadow-deep); }
.split .split-media figcaption, .caption {
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-deep); margin-top: 1rem;
}
/* 260808: gold has to reverse with the background. --gold-deep is tuned for
   cream and sand and collapses to 2.2:1 on the lagoon bands, while --gold sits
   at 4.49:1 there — a hundredth under AA. Inside a dark band, gold runs light. */
.band .eyebrow,
.band .stat .n small,
.band .split-media figcaption,
.band .caption { color: var(--gold-on-dark); }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split.media-right .split-media { order: 2; }
  .split-media.tall img { aspect-ratio: 4 / 4.6; }
}

/* ── Cards ────────────────────────────────────────────────────── */
.cards { display: grid; gap: 2.2rem; margin-top: 3rem; }
@media (min-width: 800px) { .cards.c3 { grid-template-columns: repeat(3, 1fr); } .cards.c2 { grid-template-columns: repeat(2, 1fr); } .cards.c4 { grid-template-columns: repeat(4, 1fr); } }
.card { transition: transform 0.35s ease; }
.card .card-media { overflow: hidden; margin-bottom: 1.2rem; position: relative; }
.card .card-media img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: transform 0.6s ease; }
.card:hover { transform: translateY(-6px); }
.card:hover .card-media img { transform: scale(1.045); }
.card h3 { margin-bottom: 0.4rem; }
.card p { font-size: 0.98rem; margin: 0; }

/* plain info card (no photo) */
.info-card { background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--gold); padding: 1.8rem; }
.info-card h4 { font-family: var(--serif); font-size: 1.3rem; margin-bottom: 0.4rem; }
.info-card .price { color: var(--gold-deep); font-weight: 600; font-size: 0.95rem; margin-top: 0.6rem; }
.info-card p { font-size: 0.95rem; margin: 0; }
.info-card .meta { font-size: 0.82rem; color: var(--ink-soft); margin-top: 0.7rem; letter-spacing: 0.02em; }

/* ── Bands ────────────────────────────────────────────────────── */
.band { background: var(--lagoon-deep); color: var(--cream); }
.band h2, .band h3, .band h4 { color: var(--cream); }
.band p { color: rgba(251, 247, 238, 0.82); }
.band .eyebrow { color: var(--gold); }
.band a:not(.btn) { color: #E8CD90; }
.band-night { background: var(--night); }
.band-water { background: var(--water); }
.band-sand { background: var(--sand); }
.band-cream-warm { background: var(--cream-warm); }

/* stats within dark band */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin-top: 2.6rem; padding-top: 2.4rem; border-top: 1px solid rgba(251, 247, 238, 0.18); }
@media (min-width: 800px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat .n { font-family: var(--serif); font-size: clamp(2.1rem, 3.4vw, 3rem); color: var(--cream); line-height: 1; }
.stat .n small { font-size: 0.45em; letter-spacing: 0.12em; color: var(--gold); }
.stat .l { font-size: 0.85rem; color: rgba(251, 247, 238, 0.72); margin-top: 0.5rem; line-height: 1.5; }
.band-light .stats { border-top-color: var(--line-gold); }
.band-light .stat .n { color: var(--lagoon-deep); }
.band-light .stat .l { color: var(--ink-soft); }

/* full-bleed breaker image */
.breaker { position: relative; height: clamp(340px, 62vh, 620px); overflow: hidden; }
.breaker img { width: 100%; height: 100%; object-fit: cover; }
.breaker .breaker-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 3.5rem clamp(1.25rem, 4vw, 2.5rem) 1.6rem;
  background: linear-gradient(180deg, rgba(4, 30, 37, 0), rgba(4, 30, 37, 0.66));
  color: rgba(251, 247, 238, 0.94);
  font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 2vw, 1.6rem);
  text-align: center;
}

/* ── Gallery + lightbox ───────────────────────────────────────── */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.9rem; margin-top: 3rem; }
@media (min-width: 800px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 1.1rem; } }
.gallery button {
  padding: 0; border: 0; background: none; cursor: zoom-in; display: block;
  overflow: hidden; position: relative;
}
.gallery button img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: transform 0.55s ease, filter 0.55s ease; }
.gallery button:hover img { transform: scale(1.05); filter: brightness(1.05); }
.gallery button .g-label {
  position: absolute; left: 0; bottom: 0; right: 0;
  font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(251, 247, 238, 0.95); text-align: left;
  padding: 2rem 1rem 0.8rem;
  background: linear-gradient(180deg, rgba(4, 30, 37, 0), rgba(4, 30, 37, 0.62));
  opacity: 0; transition: opacity 0.35s;
}
.gallery button:hover .g-label, .gallery button:focus-visible .g-label { opacity: 1; }

.lightbox {
  position: fixed; inset: 0; z-index: 300;
  display: none; align-items: center; justify-content: center;
  background: rgba(4, 22, 28, 0.93);
  padding: clamp(1rem, 4vw, 3rem);
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 82vh; object-fit: contain; box-shadow: var(--shadow-deep); }
.lightbox .lb-caption { position: absolute; bottom: 1.6rem; left: 0; right: 0; text-align: center; color: rgba(251, 247, 238, 0.85); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; }
.lightbox .lb-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(251, 247, 238, 0.1); color: var(--cream);
  border: 1px solid rgba(251, 247, 238, 0.35); border-radius: 50%;
  width: 52px; height: 52px; font-size: 1.4rem; line-height: 1; cursor: pointer;
  transition: background 0.25s;
}
.lightbox .lb-btn:hover { background: rgba(251, 247, 238, 0.25); }
.lightbox .lb-prev { left: clamp(0.6rem, 2vw, 2rem); }
.lightbox .lb-next { right: clamp(0.6rem, 2vw, 2rem); }
.lightbox .lb-close { position: absolute; top: 1.2rem; right: 1.2rem; transform: none; }

/* ── Pricing ──────────────────────────────────────────────────── */
.price-table { margin-top: 2.6rem; border-top: 1px solid var(--line); }
.price-row {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 1rem; flex-wrap: wrap;
  padding: 1.7rem 0; border-bottom: 1px solid var(--line);
}
.price-row .p-label strong { font-family: var(--serif); font-size: 1.45rem; color: var(--lagoon-deep); display: block; font-weight: 500; }
.price-row .p-label span { font-size: 0.92rem; color: var(--ink-soft); }
.price-row .p-price { font-family: var(--serif); font-size: 1.75rem; color: var(--lagoon-deep); white-space: nowrap; }
.price-row .p-price small { font-size: 0.55em; color: var(--ink-soft); letter-spacing: 0.03em; }

.note-box {
  background: var(--cream-warm); border-left: 3px solid var(--gold);
  padding: 1.4rem 1.6rem; margin: 1.8rem 0; font-size: 0.97rem; color: var(--ink);
}
.note-box.on-sand { background: var(--cream); }

/* ── Tables ───────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; margin-top: 2rem; }
table.clean { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
table.clean th, table.clean td { text-align: left; padding: 0.95rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
table.clean thead th { font-family: var(--sans); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--gold-deep); border-bottom: 2px solid var(--line-gold); }
table.clean tbody th { font-weight: 600; color: var(--lagoon-deep); width: 32%; }
table.clean .price { color: var(--gold-deep); font-weight: 600; white-space: nowrap; }

/* ── FAQ ──────────────────────────────────────────────────────── */
.faq-list { max-width: 800px; margin-top: 2rem; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  font-family: var(--serif); font-size: clamp(1.15rem, 1.6vw, 1.35rem); color: var(--lagoon-deep);
  cursor: pointer; list-style: none; position: relative;
  padding: 1.35rem 2.6rem 1.35rem 0;
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 0.2rem; top: 50%; transform: translateY(-50%);
  color: var(--gold); font-size: 1.6rem; font-family: var(--sans); font-weight: 300;
  transition: transform 0.25s;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:hover { color: var(--gold-deep); }
.faq-item p { margin: 0 0 1.4rem; max-width: 66ch; }
@keyframes faqReveal { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.faq-item[open] p { animation: faqReveal 0.35s ease; }
.faq-cat { margin-top: 3.2rem; }
.faq-cat:first-child { margin-top: 0; }
.faq-cat h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }

/* ── Forms ────────────────────────────────────────────────────── */
form.inquiry { background: #fff; padding: clamp(1.6rem, 3vw, 2.4rem); border: 1px solid var(--line); border-top: 2px solid var(--gold); box-shadow: var(--shadow-soft); }
form.inquiry label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--ink); margin-bottom: 0.4rem; letter-spacing: 0.06em; }
form.inquiry input, form.inquiry textarea, form.inquiry select {
  width: 100%; padding: 0.85rem 0.9rem;
  border: 1px solid var(--line); border-radius: 1px; background: var(--cream);
  font-family: var(--sans); font-size: 1rem; color: var(--ink);
  margin-bottom: 1.15rem;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
/* a11y 260808: `outline: none` was here and it beat the global :focus-visible
   ring on line 65, so keyboard users lost the outline on every form field. The
   18%-opacity glow below is a mouse affordance, not a focus indicator. Dropping
   the reset lets :focus-visible supply the real ring for keyboards while mouse
   users still get no outline (that is what :focus-visible is for). */
form.inquiry input:focus, form.inquiry textarea:focus, form.inquiry select:focus {
  border-color: var(--gold); background: #fff;
  box-shadow: 0 0 0 3px rgba(184, 149, 82, 0.18);
}
form.inquiry textarea { min-height: 110px; resize: vertical; }
form.inquiry .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
form.inquiry button { width: 100%; margin-top: 0.4rem; }
@media (max-width: 560px) { form.inquiry .form-row { grid-template-columns: 1fr; gap: 0; } }

/* contact methods */
.methods { list-style: none; padding: 0; margin: 1.6rem 0 0; }
.methods li { display: flex; gap: 1.1rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.methods .m-icon {
  flex: none; width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--water); color: var(--lagoon); font-family: var(--serif); font-size: 1.2rem; font-weight: 600;
}
.methods strong { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--gold-deep); font-weight: 600; margin-bottom: 0.15rem; }
.methods .m-value { font-size: 1.12rem; color: var(--lagoon-deep); font-family: var(--serif); }
.methods .m-hint { font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.15rem; }

/* ── Unit grid (apartments) ───────────────────────────────────── */
.units-grid { display: grid; gap: 1.4rem; margin-top: 3rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .units-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .units-grid { grid-template-columns: repeat(3, 1fr); } }
.unit-card {
  background: #fff; border: 1px solid var(--line); padding: 1.7rem;
  position: relative; transition: transform 0.3s, box-shadow 0.3s;
}
.unit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.unit-card .code { font-family: var(--serif); font-size: 1.9rem; color: var(--lagoon-deep); line-height: 1; }
.unit-card .badge {
  display: inline-block; margin: 0.7rem 0 0.9rem; padding: 0.28rem 0.7rem;
  font-size: 0.68rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em;
}
.unit-card .badge.access { background: var(--water-deep); color: var(--lagoon-deep); }
.unit-card .badge.view { background: var(--sand); color: var(--gold-deep); }
.unit-card p { font-size: 0.94rem; margin-bottom: 1rem; }
.unit-card .meta { font-size: 0.8rem; color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 0.9rem; }
.unit-card.featured { border-top: 2px solid var(--gold); background: linear-gradient(180deg, #fff, var(--cream-warm)); }
.unit-photo-btn {
  margin-top: 1rem; padding: 0.5rem 0.95rem; font-size: 0.78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em; cursor: pointer;
  background: transparent; color: var(--lagoon-deep); border: 1px solid var(--line-gold);
  transition: background 0.2s, color 0.2s;
}
.unit-photo-btn:hover { background: var(--lagoon-deep); color: var(--cream); }
.unit-shot { margin: 1.1rem 0 0; }
.unit-shot img { width: 100%; height: auto; display: block; box-shadow: var(--shadow-soft); }
.unit-shot figcaption { font-size: 0.8rem; color: var(--ink-soft); margin-top: 0.5rem; }

/* feature list */
.feature-grid { display: grid; gap: 2rem 2.6rem; margin-top: 2.6rem; }
@media (min-width: 720px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
.feature h4 { font-family: var(--serif); font-size: 1.3rem; margin-bottom: 0.35rem; }
.feature h4::before { content: "— "; color: var(--gold); }
.feature p { font-size: 0.95rem; margin: 0; }

/* ── CTA block ────────────────────────────────────────────────── */
.cta-block { background: var(--lagoon); color: var(--cream); text-align: center; }
.cta-block h2 { color: var(--cream); max-width: 24ch; margin: 0 auto 1rem; }
.cta-block p { color: rgba(251, 247, 238, 0.85); max-width: 56ch; margin: 0 auto 2.2rem; }

/* ── Footer ───────────────────────────────────────────────────── */
footer.site-footer { background: var(--night); color: rgba(251, 247, 238, 0.72); padding: 4rem 0 2rem; font-size: 0.92rem; }
.site-footer p { color: rgba(251, 247, 238, 0.72); }
/* a11y 260808: footer links rendered 18px tall against a 44px minimum — 10 of
   them, and on a booking site read mostly on phones a mis-tap is a lost enquiry.
   inline-block + vertical padding takes the tap target to ~44px without moving
   the text. */
.site-footer a { color: rgba(251, 247, 238, 0.85); border: 0; display: inline-block; padding: 0.82rem 0; min-width: 44px; }
.site-footer a:hover { color: var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.2rem; margin-bottom: 2.8rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2.2fr 1.2fr 1.3fr; } }
.footer-brand { font-family: var(--serif); color: var(--cream); font-size: 1.35rem; margin-bottom: 0.6rem; }
.footer-brand em { font-style: normal; color: var(--gold); }
/* a11y 260808: these were <h5> under an <h2>, which skipped two levels and broke
   the screen-reader outline on 11 of 13 pages — one footer, eleven failures.
   Promoted to <h2> in the markup; font-family is restated because the global
   heading rule would otherwise pull them into the serif. Renders identically. */
.site-footer h2 { font-family: var(--sans); color: var(--cream); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.2em; margin: 0 0 1.1rem; font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.55rem; }
.footer-bottom {
  border-top: 1px solid rgba(251, 247, 238, 0.14); padding-top: 1.6rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-size: 0.8rem; color: rgba(251, 247, 238, 0.45);
}

/* ── Reveal on scroll ─────────────────────────────────────────── */
/* v19: the scroll fade-in is GONE. It started every element at opacity:0 and
   relied on JS + IntersectionObserver to bring it back — which failed to render
   in 3 of 3 test environments and would show a blank booking page to any guest
   whose JS hiccups. Content is now always visible; the .reveal classes stay in
   the markup harmlessly. Don't reintroduce opacity:0 here.
   ponytail: decoration deleted rather than defended with a fallback timer. */

/* ── Story (editorial prose) ──────────────────────────────────── */
.story-prose p { font-size: 1.1rem; line-height: 1.78; color: var(--ink); }
.drop-cap::first-letter {
  font-family: var(--serif); font-size: 4.4rem; font-weight: 600; font-style: italic;
  float: left; line-height: 0.85; margin: 0.12em 0.55rem 0 0; color: var(--lagoon-deep);
}

/* ── Guest guide specifics ────────────────────────────────────── */
.quick-bar { background: var(--night); color: var(--cream); padding: 1.4rem 0; }
.quick-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem 2rem; margin: 0; }
@media (min-width: 800px) { .quick-grid { grid-template-columns: repeat(5, 1fr); } }
.quick-grid dt { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--gold); margin-bottom: 0.2rem; }
.quick-grid dd { margin: 0; font-family: var(--serif); font-size: 1.15rem; color: var(--cream); }
.toc-grid { display: grid; grid-template-columns: 1fr; gap: 0.6rem; margin-top: 1.6rem; counter-reset: toc; }
@media (min-width: 720px) { .toc-grid { grid-template-columns: repeat(2, 1fr); } }
.toc-grid a {
  counter-increment: toc; position: relative;
  padding: 0.9rem 1rem 0.9rem 3.2rem; background: #fff; border: 1px solid var(--line);
  font-family: var(--serif); font-size: 1.12rem; color: var(--lagoon-deep);
  transition: border-color 0.25s, transform 0.25s;
}
.toc-grid a::before {
  content: counter(toc, decimal-leading-zero);
  position: absolute; left: 1rem; top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0.1em; color: var(--gold-deep);
}
.toc-grid a:hover { border-color: var(--gold); transform: translateX(4px); }
.guide-section { padding: clamp(2.6rem, 5vw, 4rem) 0; border-bottom: 1px solid var(--line); }
.guide-section h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.guide-section h3 { font-size: 1.25rem; margin-top: 2rem; }
.tip-list { padding-left: 1.2rem; }
.tip-list li { margin-bottom: 0.8rem; }

/* ── Motion & a11y guards ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-content > *, .faq-item[open] p { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card, .card .card-media img, .gallery button img, .unit-card, .btn { transition: none; }
}

/* ---------- v18 · unit gallery switcher + map (2026-07-24) ---------- */
.unit-tabs { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2.4rem; }
.unit-tab {
  cursor: pointer; padding: 0.65rem 1.05rem 0.6rem; background: #fff;
  border: 1px solid var(--line); color: var(--lagoon-deep); text-align: left;
  font-family: var(--serif); font-size: 1.28rem; line-height: 1;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.unit-tab small {
  display: block; margin-top: 0.3rem; font-family: var(--sans);
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-soft);
}
.unit-tab:hover { border-color: var(--lagoon); transform: translateY(-2px); }
.unit-tab[aria-selected="true"] { background: var(--lagoon-deep); border-color: var(--lagoon-deep); color: #FBF7EE; }
.unit-tab[aria-selected="true"] small { color: rgba(251, 247, 238, 0.75); }
.unit-panel { margin-top: 2.2rem; }
.unit-facts {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 0;
}
.unit-gallery { margin-top: 1.1rem; }

/* placeholder tiles — look like placeholders on purpose, never like photos */
.ph-tile {
  aspect-ratio: 4 / 3; border: 1.5px dashed var(--line-gold);
  background: repeating-linear-gradient(45deg, rgba(239, 230, 212, 0.35), rgba(239, 230, 212, 0.35) 14px, rgba(239, 230, 212, 0.7) 14px, rgba(239, 230, 212, 0.7) 28px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.3rem;
  color: var(--ink-soft); font-size: 0.92rem; text-align: center; padding: 1rem;
}
.ph-tile .ph-code { font-family: var(--serif); font-size: 1.5rem; color: var(--lagoon-deep); opacity: 0.55; }
.ph-tile .ph-tag { font-size: 0.6rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold-deep); }
.ph-callout {
  margin-top: 2rem; padding: 1.7rem 1.9rem; max-width: 62ch;
  background: #fff; border: 1px solid var(--line-gold); border-left: 3px solid var(--gold);
}
.soon-chip {
  display: inline-block; margin-top: 1rem; padding: 0.45rem 0.8rem;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--gold-deep); border: 1px dashed var(--line-gold);
}

/* map facts row */
.map-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1.1rem; margin-top: 2.2rem; }
.map-fact .d { font-family: var(--serif); font-size: 1.45rem; color: var(--lagoon-deep); line-height: 1.15; }
.map-fact .p { font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.2rem; }

/* map (Leaflet, vendored — Bel Casa technique) */
.map-embed {
  margin-top: 2.2rem; border: 1px solid var(--line);
  overflow: hidden; aspect-ratio: 16 / 8; background: #fff;
}
@media (max-width: 700px) { .map-embed { aspect-ratio: 3 / 4; } }
.map-embed .leaflet-tile-pane { filter: grayscale(0.4) saturate(0.72) sepia(0.06) brightness(1.03); }
.map-pin svg { display: block; filter: drop-shadow(0 3px 5px rgba(7, 56, 69, 0.35)); }
.map-embed .leaflet-popup-content-wrapper { border-radius: 2px; font-family: var(--sans); }
.map-embed .leaflet-popup-content { margin: 0.65rem 0.95rem; font-size: 0.92rem; font-weight: 600; }
.map-embed .leaflet-container a { color: var(--lagoon); }
.map-note { font-size: 0.85rem; margin-top: 0.7rem; color: var(--ink-soft); }

/* ---------- v19 · simplify pass (2026-07-30) ---------- */

/* floor plan, presented properly — mobile first */
.plan-figure {
  margin: 2.6rem auto 0; max-width: 720px; background: #fff;
  padding: clamp(0.8rem, 3vw, 1.6rem); border: 1px solid var(--line); box-shadow: var(--shadow-soft);
}
.plan-figure img { display: block; width: 100%; height: auto; box-shadow: none; }
.plan-figure figcaption { text-align: center; margin-top: 0.9rem; font-size: 0.88rem; color: var(--ink-soft); }

/* rate headline numbers — replaces the old two-screen price table */
.rate-heads { display: grid; grid-template-columns: 1fr; gap: 1.1rem; margin-top: 2.2rem; }
@media (min-width: 640px) { .rate-heads { grid-template-columns: repeat(2, 1fr); gap: 1.6rem; } }
.rate-head { background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--gold); padding: 1.6rem 1.5rem; }
.rate-head .r-amt {
  font-family: var(--serif); font-size: clamp(1.9rem, 6vw, 2.5rem); line-height: 1.05; color: var(--lagoon-deep);
}
.rate-head .r-amt small { font-family: var(--sans); font-size: 0.8rem; font-weight: 600; color: var(--ink-soft); letter-spacing: 0.04em; }
.rate-head .r-lab { margin-top: 0.5rem; font-size: 0.86rem; color: var(--ink-soft); }

/* text button that opens the detail sheet */
.link-btn {
  background: none; border: 0; padding: 0; cursor: pointer;
  font-family: var(--sans); font-size: 1rem; font-weight: 600; color: var(--lagoon);
  border-bottom: 1px solid var(--line-gold);
}
.link-btn:hover { color: var(--gold-deep); }

/* the detail sheet — native <dialog>, no library.
   Phone: slides up as a bottom sheet. Desktop: centred card. */
dialog.sheet {
  border: 0; padding: 0; color: var(--ink); background: var(--cream, #FBF7EE);
  width: 100%; max-width: 640px; max-height: 86vh; overflow-y: auto;
  margin: auto auto 0; padding: 2rem 1.4rem 2.4rem;
  box-shadow: 0 -10px 40px rgba(7, 56, 69, 0.25);
}
@media (min-width: 700px) {
  dialog.sheet { margin: auto; padding: 2.6rem 2.4rem; box-shadow: 0 20px 60px rgba(7, 56, 69, 0.3); }
}
dialog.sheet::backdrop { background: rgba(4, 22, 28, 0.6); }
dialog.sheet h3 { font-size: 1.5rem; color: var(--lagoon-deep); margin-bottom: 1.4rem; padding-right: 2rem; }
.sheet-close {
  position: absolute; top: 0.8rem; right: 0.9rem; width: 2.2rem; height: 2.2rem;
  background: none; border: 0; font-size: 1.7rem; line-height: 1; cursor: pointer; color: var(--ink-soft);
}
.sheet-close:hover { color: var(--lagoon-deep); }
.sheet-list { margin: 0; }
.sheet-list dt {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-deep); margin-top: 1.5rem;
}
.sheet-list dt:first-child { margin-top: 0; }
.sheet-list dd { margin: 0.4rem 0 0; font-size: 0.95rem; color: var(--ink-soft); line-height: 1.6; }
.sheet-cta { margin-top: 2rem; }

/* ---------- v20 · English map labels + suite gallery (2026-07-30) ---------- */

/* permanent pin labels — the basemap has no text of its own, so these are the
   only words on the map, and they're ours in English */
.map-embed .map-label {
  background: var(--cream, #FBF7EE); border: 1px solid var(--line-gold);
  border-radius: 2px; box-shadow: 0 2px 8px rgba(7, 56, 69, 0.18);
  font-family: var(--sans); font-size: 0.78rem; font-weight: 600;
  color: var(--lagoon-deep); padding: 0.3rem 0.55rem; white-space: nowrap;
}
.map-embed .map-label::before { display: none; }   /* kill Leaflet's tooltip arrow */
/* label-free tiles are already muted; keep the tint light */
/* voyager tiles are the colour source now - do not wash them out */
.map-embed .leaflet-tile-pane { filter: saturate(1.04); }

.wide-figure { margin: 2.6rem 0 0; }
.wide-figure img { display: block; width: 100%; height: auto; }
.wide-figure figcaption { margin-top: 0.9rem; font-size: 0.88rem; color: var(--ink-soft); text-align: center; }

.gallery-note {
  margin-top: 1.6rem; max-width: 62ch; font-size: 0.88rem; color: var(--ink-soft);
  border-left: 2px solid var(--line-gold); padding-left: 1rem;
}

/* ---------- v20 · gallery on phones ---------- */
/* One room per row below 640px. Two-up made each room a ~170px thumbnail —
   pointless when the photos are the whole argument. */
@media (max-width: 640px) {
  .gallery { grid-template-columns: 1fr; gap: 1.1rem; }
}
/* Room captions used to appear on hover only — so on a phone, which has no
   hover, the gallery was 8 unlabelled thumbnails. Always visible now rather
   than gated behind a `hover: none` query: phones are most of the traffic and
   the gradient scrim keeps them readable on desktop too. */
.gallery button .g-label { opacity: 1; }

/* ---------- v21 · map pins by category ---------- */
.map-embed .map-label.kind-home { border-color: var(--gold); font-size: 0.84rem; }
.map-embed .map-label.kind-golf { border-color: rgba(63, 122, 85, 0.5); }
.map-pin.is-home svg { filter: drop-shadow(0 4px 7px rgba(7, 56, 69, 0.45)); }
/* map labels: tighter on phones so six of them don't collide */
@media (max-width: 700px) {
  .map-embed .map-label { font-size: 0.68rem; padding: 0.22rem 0.4rem; }
  .map-embed .map-label.kind-home { font-size: 0.75rem; }
}
/* v35: six menu links on one line; small links in the bottom line */
.nav-links a, .nav .btn { white-space: nowrap; }
.footer-bottom a.footer-small { padding: 0; min-width: 0; color: rgba(251, 247, 238, 0.7); }
.footer-bottom a.footer-small:hover { color: var(--gold); }
