/* ---------------------------------------------------------------
   Villa @ the Dam — design system
   Built to the brand stationery (Brand Refinement, May 2026):
   • Logo: VILLA (engraved serif) · —@— · THE DAM (tracked sans)
   • Palette: charcoal ink, gold accent, white-warm paper
   • Letterhead Opt. 3 / Signature 2 informs the footer signature
--------------------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Cinzel:wght@400;500;600&family=Manrope:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* Brand logo fonts (self-hosted). Single regular weight each; the wide
   font-weight range maps every requested weight to the one file so the
   browser never synthesises a faux-bold. */
@font-face {
  font-family: "Miller Display";
  src: url("assets/fonts/miller-display-regular.otf") format("opentype");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Gotham Book";
  src: url("assets/fonts/gotham-book-regular.otf") format("opentype");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  /* Paper (white, with a barely-warm off-white for alternate bands) */
  --cream:        #FFFFFF;
  --cream-soft:   #F5F4F1;
  --cream-deep:   #EAE7E1;
  /* Brand charcoal */
  --ink:          #000000;
  --ink-soft:     #444444;
  --ink-mute:     #8A8A8A;
  --stone:        #9A8E73;
  /* Brand gold (mapped onto the old accent tokens) */
  --sage:         #BB9F46;    /* brand gold */
  --sage-deep:    #8C762F;    /* deeper gold for text/hover on light */
  --gold:         #BB9F46;
  --gold-deep:    #8C762F;
  --teal:         #06A297;    /* rare tertiary accent */
  --line:         rgba(0, 0, 0, 0.14);
  --line-soft:    rgba(0, 0, 0, 0.06);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --logo:  "Miller Display", "Cormorant Garamond", Georgia, serif;       /* VILLA */
  --logo-sans: "Gotham Book", "Gotham", "Manrope", -apple-system, sans-serif; /* @ THE DAM */
  --sans:  "Manrope", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  --maxw: 1480px;
  --gutter: clamp(20px, 4vw, 56px);

  /* Type scale */
  --t-mono:     11px;
  --t-meta:     12px;
  --t-body:     16px;
  --t-lede:     20px;
  --t-h4:       24px;
  --t-h3:       clamp(28px, 3vw, 40px);
  --t-h2:       clamp(40px, 5vw, 72px);
  --t-h1:       clamp(56px, 8vw, 124px);
  --t-display:  clamp(72px, 11vw, 168px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--cream); color: var(--ink); }
body {
  font-family: var(--sans);
  font-size: var(--t-body);
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  letter-spacing: 0.005em;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--gold); color: #fff; }

/* ---------- Logo lockup ---------- */
.logo-inline {
  display: inline-flex; align-items: center; gap: 9px;
  white-space: nowrap; line-height: 1;
}
.logo-inline .li-villa {
  font-family: var(--logo); font-weight: 600;
  font-size: 18px; letter-spacing: 0.14em;
  color: var(--ink);
}
.logo-inline .li-at {
  font-family: var(--serif); font-size: 16px;
  color: var(--gold-deep); position: relative; top: -1px;
}
.logo-inline .li-dam {
  font-family: var(--sans); font-weight: 500;
  font-size: 9.5px; letter-spacing: 0.34em;
  color: var(--ink-soft); text-transform: uppercase;
}
.logo-inline.on-dark .li-villa { color: var(--cream); }
.logo-inline.on-dark .li-dam { color: rgba(246,243,236,0.7); }
.logo-inline.on-dark .li-at { color: var(--gold); }

/* Stacked lockup — the formal mark (footer / brand moments) */
.logo-stack { display: inline-flex; flex-direction: column; align-items: center; gap: 0; line-height: 1; color: var(--ink); }
.logo-stack .ls-villa {
  font-family: var(--logo); font-weight: 600;
  font-size: clamp(34px, 4vw, 56px); letter-spacing: 0.16em;
  margin-left: 0.16em; /* optical: trailing tracking */
  color: var(--gold);
}
.logo-stack .ls-mid {
  display: flex; align-items: center; gap: 14px;
  width: 100%; margin: 10px 0 26px;
}
.logo-stack .ls-mid .ln { flex: 1; height: 1px; background: var(--gold); opacity: 0.85; }
.logo-stack .ls-mid .at { font-family: var(--logo-sans); font-weight: 300; font-size: 1.15em; color: var(--gold); line-height: 0; }
.logo-stack .ls-dam {
  font-family: var(--logo-sans); font-weight: 500;
  font-size: clamp(13px, 1.3vw, 17px); letter-spacing: 0.42em;
  text-transform: uppercase; margin-left: 0.42em; color: var(--gold);
  white-space: nowrap;
}
/* On white or black backgrounds the whole lockup is gold (base rules above). */
.logo-stack.on-dark .ls-villa,
.logo-stack.on-dark .ls-dam { color: var(--gold); }
/* On a gold background the lockup flips to white. */
.logo-stack.gold .ls-villa,
.logo-stack.gold .ls-dam,
.logo-stack.gold .ls-mid .at { color: var(--cream); }
.logo-stack.gold .ls-mid .ln { background: var(--cream); }

/* Tagline device — Private / Comfort-Rustic / Waterfront / Retreat */
.tagline-stack {
  display: grid; gap: 2px;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(20px, 2.2vw, 30px); line-height: 1.12;
  letter-spacing: 0.01em; color: var(--ink);
}
.tagline-stack span:nth-child(2) { font-style: italic; color: var(--gold-deep); }

/* ---------- Type primitives ---------- */
.serif      { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
.serif-it   { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -0.005em; }
.mono       { font-family: var(--sans); font-weight: 500; font-size: var(--t-mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-mute); }
.eyebrow    { font-family: var(--sans); font-weight: 600; font-size: 12px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-deep); display: inline-block; }
.eyebrow.light { color: var(--gold); }
/* Highlighted label — a gold marker chip with dark text. Reads clearly over
   photos where plain gold text can wash out. Use on eyebrow/mono labels. */
.mark-hl {
  background: var(--gold); color: var(--ink);
  padding: 0.3em 0.55em 0.3em 0.7em; border-radius: 2px;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.meta       { font-family: var(--sans); font-size: var(--t-meta); letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; color: var(--ink-soft); }

.display    { font-family: var(--serif); font-weight: 400; font-size: var(--t-display); line-height: 0.92; letter-spacing: -0.02em; }
.h1         { font-family: var(--serif); font-weight: 400; font-size: var(--t-h1);     line-height: 0.98; letter-spacing: -0.015em; }
.h2         { font-family: var(--serif); font-weight: 400; font-size: var(--t-h2);     line-height: 1.02; letter-spacing: -0.01em; }
.h3         { font-family: var(--serif); font-weight: 400; font-size: var(--t-h3);     line-height: 1.1;  letter-spacing: -0.005em; }
.h4         { font-family: var(--serif); font-weight: 400; font-size: var(--t-h4);     line-height: 1.2; }
.lede       { font-size: var(--t-lede); line-height: 1.5; font-weight: 300; color: var(--ink-soft); letter-spacing: 0; }
.body       { font-size: var(--t-body); line-height: 1.65; color: var(--ink-soft); }
.body p + p { margin-top: 1em; }

/* ---------- Layout ---------- */
.shell { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.rule  { height: 1px; background: var(--line); width: 100%; }
.rule-soft { height: 1px; background: var(--line-soft); width: 100%; }

/* ---------- Header (centered, lodge-style) ---------- */
header.site {
  position: fixed; inset: 0 0 auto 0;
  z-index: 50;
  color: var(--cream);
  background: linear-gradient(180deg, rgba(20,18,15,0.72) 0%, rgba(20,18,15,0.52) 46%, rgba(20,18,15,0.30) 76%, rgba(20,18,15,0) 100%);
  transition: background 400ms ease, color 400ms ease, box-shadow 400ms ease;
}
/* Soft shadow keeps the cream logo + nav readable on bright frames */
header.site .logo-stack .ls-villa,
header.site .logo-stack .ls-dam,
header.site nav.mainnav a,
header.site .util a { text-shadow: 0 0 3px rgba(20,18,15,0.55), 0 1px 18px rgba(20,18,15,0.7); }
header.site .logo-stack .ls-villa,
header.site .logo-stack .ls-dam { color: var(--gold); }
header.site .logo-stack .ls-dam { text-shadow: 0 0 4px rgba(20,18,15,0.9), 0 1px 10px rgba(20,18,15,0.75); }
header.site .logo-stack .ls-mid .at { filter: drop-shadow(0 1px 12px rgba(20,18,15,0.7)); }
header.site.solid .logo-stack .ls-villa,
header.site.solid .logo-stack .ls-dam,
header.site.solid nav.mainnav a,
header.site.solid .util a { text-shadow: none; }
header.site.solid .logo-stack .ls-mid .at { filter: none; }
header.site .util {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 11px var(--gutter) 10px;
  max-width: var(--maxw); margin: 0 auto;
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
}
header.site .util a { color: inherit; opacity: 0.78; transition: opacity 200ms ease; }
header.site .util a:hover { opacity: 1; }
header.site .util .util-r { display: flex; align-items: center; gap: 18px; }
header.site .util .sep { width: 1px; height: 11px; background: currentColor; opacity: 0.3; }
header.site .masthead {
  display: flex; justify-content: center; align-items: center;
  padding: 6px 0 12px;
}
header.site nav.mainnav {
  display: flex; justify-content: center; align-items: center;
  gap: clamp(20px, 2.6vw, 44px);
  padding: 0 var(--gutter) 16px;
  border-bottom: 1px solid transparent;
}
header.site nav.mainnav a {
  font-family: var(--sans); font-size: 12px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: inherit; opacity: 0.82;
  position: relative; padding: 4px 0; white-space: nowrap;
  transition: opacity 200ms ease;
}
header.site nav.mainnav a:hover { opacity: 1; }
header.site nav.mainnav a.active { opacity: 1; }
header.site nav.mainnav a.active::after {
  content: ""; position: absolute; left: 50%; bottom: -2px;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold); transform: translateX(-50%);
}
/* mini stacked logo in the masthead — sized for clear visibility, like the footer mark */
.logo-stack.mini { color: inherit; }
.logo-stack.mini .ls-villa { font-size: clamp(25px, 2.4vw, 32px); letter-spacing: 0.2em; }
.logo-stack.mini .ls-mid { margin: 7px 0 16px; gap: 12px; }
.logo-stack.mini .ls-dam { font-size: clamp(10px, 1vw, 12px); letter-spacing: 0.46em; margin-left: 0.46em; }

/* Hamburger toggle — hidden on desktop */
.navtoggle {
  display: none;
  position: absolute; top: 50%; right: var(--gutter); transform: translateY(-50%);
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
  color: inherit; z-index: 70;
}
.navtoggle span {
  display: block; width: 24px; height: 1.5px; background: currentColor;
  transition: transform 300ms ease, opacity 200ms ease;
}
.navtoggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.navtoggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.navtoggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Full-screen mobile drawer */
.mobile-nav {
  position: fixed; inset: 0; z-index: 65;
  background: var(--ink); color: var(--cream);
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 var(--gutter);
  opacity: 0; visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 360ms ease, transform 360ms cubic-bezier(0.2,0.7,0.2,1), visibility 360ms;
}
.mobile-nav.open { opacity: 1; visibility: visible; transform: none; }
body.menu-open { overflow: hidden; }
.mobile-nav .mn-links { display: flex; flex-direction: column; gap: 6px; }
.mobile-nav .mn-links a {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(34px, 11vw, 52px); line-height: 1.08;
  letter-spacing: -0.01em; color: var(--cream);
  display: flex; align-items: baseline; gap: 16px;
  padding: 6px 0;
  transition: color 200ms ease;
}
.mobile-nav .mn-links a .mn-i {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em;
  color: var(--gold); opacity: 0.85;
}
.mobile-nav .mn-links a.active { color: var(--gold); }
.mobile-nav .mn-foot {
  margin-top: clamp(40px, 8vw, 64px);
  padding-top: 28px; border-top: 1px solid rgba(246,243,236,0.16);
  display: flex; flex-direction: column; gap: 8px;
  font-family: var(--sans); font-size: 14px; color: rgba(246,243,236,0.7);
}
.mobile-nav .mn-foot a { color: var(--gold); }

/* Solid state once scrolled past the hero */
header.site.solid {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px) saturate(118%);
  -webkit-backdrop-filter: blur(16px) saturate(118%);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line-soft);
}
header.site.solid .logo-stack .ls-villa,
header.site.solid .logo-stack .ls-dam { color: var(--gold); }
header.site.solid .masthead { padding: 4px 0 10px; }

/* CTA pill */
.cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px;
  border: 1px solid var(--ink);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  background: var(--ink);
  color: var(--cream);
  transition: background 240ms ease, color 240ms ease, letter-spacing 240ms ease;
}
.cta:hover { background: transparent; color: var(--ink); letter-spacing: 0.2em; }
.cta .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.cta.ghost { background: transparent; color: var(--ink); }
.cta.ghost:hover { background: var(--ink); color: var(--cream); }

/* Refined text link (replaces the arrow link feel) */
.link-arrow {
  display: inline-flex; align-items: center; gap: 12px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--gold);
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink);
  transition: color 220ms ease, gap 220ms ease;
}
.link-arrow:hover { gap: 18px; color: var(--gold-deep); }
.link-arrow svg { width: 13px; }
.link-arrow.light { color: var(--cream); border-color: rgba(244,238,227,0.4); }
.link-arrow.light:hover { color: #fff; }

/* ---------- Centered section head (lodge pattern) ---------- */
.section-head {
  max-width: 820px; margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 26px;
}
.section-head .eyebrow { margin-bottom: -6px; }
.section-head h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(36px, 5vw, 76px); line-height: 1.04;
  letter-spacing: -0.012em;
}
.section-head h2 em { font-style: italic; color: var(--ink-soft); }
.section-head .lede { max-width: 54ch; }

/* ---------- Footer ---------- */
footer.site {
  margin-top: 160px;
  padding: 80px var(--gutter) 36px;
  background: var(--ink);
  color: var(--cream);
}
footer.site .top {
  max-width: var(--maxw); margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 80px;
  border-bottom: 1px solid rgba(242, 236, 224, 0.16);
}
footer.site h5 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(242, 236, 224, 0.5);
  margin-bottom: 22px;
}
footer.site .wordmark {
  font-family: var(--logo);
  font-size: clamp(40px, 6vw, 88px);
  line-height: 0.95;
  letter-spacing: 0.04em;
}
footer.site .wordmark em { font-style: italic; font-weight: 300; color: rgba(246, 243, 236, 0.6); }
footer.site ul { list-style: none; display: grid; gap: 10px; }
footer.site ul a { color: rgba(246, 243, 236, 0.78); font-size: 14px; }
footer.site ul a:hover { color: var(--cream); }

footer.site .f-brand { display: flex; flex-direction: column; gap: 26px; align-items: flex-start; }
footer.site .f-blurb { font-size: 14px; line-height: 1.6; color: rgba(246, 243, 236, 0.55); max-width: 30ch; }

/* Signature band — mirrors Letterhead Option 3 / Email Signature 2 */
footer.site .f-sign {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: auto 1fr;
  gap: 64px; align-items: end;
  padding: 64px 0;
}
footer.site .f-sign .f-tag {
  display: grid; gap: 4px;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(24px, 2.6vw, 38px); line-height: 1.12;
  color: var(--cream);
}
footer.site .f-sign .f-tag span { white-space: nowrap; }
footer.site .f-sign .f-tag span:nth-child(2) { font-style: italic; color: var(--gold); }
footer.site .f-sign .f-addr {
  justify-self: end; text-align: right;
  display: grid; gap: 5px;
  font-family: var(--sans); font-size: 13px; line-height: 1.5;
  color: rgba(246, 243, 236, 0.6); letter-spacing: 0.02em;
}
footer.site .f-sign .f-addr a { color: var(--gold); }
footer.site .f-sign .f-addr a:hover { color: var(--cream); }
footer.site .f-sign .f-addr span { white-space: nowrap; }
footer.site .f-sign .f-addr .first { color: rgba(246, 243, 236, 0.85); }

footer.site .bottom {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 36px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(242, 236, 224, 0.5);
}

/* ---------- Image utilities ---------- */
.img-frame { position: relative; overflow: hidden; background: var(--cream-deep); }
.img-frame img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1400ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.img-frame:hover img { transform: scale(1.03); }
.img-cap {
  display: flex; justify-content: space-between; gap: 24px;
  margin-top: 14px;
  font-family: var(--mono); font-size: var(--t-mono);
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-mute);
}

/* Placeholder striped slot (when an image isn't available) */
.slot {
  background-color: var(--cream-deep);
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(26, 24, 20, 0.04) 0 10px,
    transparent 10px 22px
  );
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: var(--t-mono);
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-mute);
  text-align: center; padding: 24px;
}

/* ---------- Sections ---------- */
section { padding: clamp(80px, 11vw, 160px) 0; }
section.tight { padding: clamp(56px, 7vw, 96px) 0; }

/* Reveal-on-scroll — progressive: visible by default, animates only when JS adds .anim */
.reveal { transition: opacity 900ms ease, transform 900ms cubic-bezier(0.2, 0.7, 0.2, 1); }
html.anim .reveal { opacity: 0; transform: translateY(18px); }
html.anim .reveal.in { opacity: 1; transform: none; }

/* ---------- Page intro (sub pages) ---------- */
.page-intro {
  padding: 200px var(--gutter) 80px;
  max-width: var(--maxw); margin: 0 auto;
}
.page-intro .crumbs { display: flex; gap: 14px; align-items: center; margin-bottom: 56px; }
.page-intro .crumbs span:empty { display: inline-block; width: 24px; height: 1px; background: var(--ink-mute); }
.page-intro h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(56px, 9vw, 144px);
  line-height: 0.94;
  letter-spacing: -0.02em;
  max-width: 14ch;
}
.page-intro h1 em { font-style: italic; font-weight: 300; color: var(--ink-mute); }
.page-intro .meta-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: clamp(56px, 8vw, 96px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.page-intro .meta-row .cell .k { display: block; margin-bottom: 6px; }
.page-intro .meta-row .cell .v { font-family: var(--serif); font-size: 22px; line-height: 1.2; }

@media (max-width: 860px) {
  header.site .util { font-size: 10px; letter-spacing: 0.1em; padding: 9px var(--gutter); }
  header.site .util .util-r { gap: 12px; }
  header.site nav.mainnav { gap: 16px; padding: 0 var(--gutter) 12px; }
  footer.site .f-sign { grid-template-columns: 1fr; gap: 32px; }
  footer.site .f-sign .f-addr { justify-self: start; text-align: left; }
  footer.site .top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .page-intro .meta-row { grid-template-columns: 1fr 1fr; }
}
/* Mobile header: swap nav for hamburger drawer */
@media (max-width: 760px) {
  header.site { background: transparent; }
  header.site .util { display: none; }
  header.site .masthead { position: relative; padding: 16px 0 14px; justify-content: flex-start; padding-left: var(--gutter); }
  header.site.solid .masthead { justify-content: center; padding-left: 0; }
  header.site nav.mainnav { display: none; }
  .navtoggle { display: flex; }
  .section-head .lede { font-size: var(--t-body); line-height: 1.65; }
}
@media (max-width: 560px) {
  .navtoggle { right: max(16px, var(--gutter)); }
}

/* ---------- Floating WhatsApp button ---------- */
.wa-float {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 60;
  display: inline-flex; align-items: center; gap: 0;
  height: 56px; padding: 0; overflow: hidden;
  border-radius: 999px;
  background: #1f8a4c;            /* refined WhatsApp green */
  color: #fff;
  box-shadow: 0 8px 26px rgba(31, 30, 26, 0.26);
  transition: padding 320ms cubic-bezier(0.2,0.7,0.2,1), transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
  white-space: nowrap;
}
.wa-float .ico {
  flex: none; width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
}
.wa-float .ico svg { width: 28px; height: 28px; }
.wa-float .label {
  max-width: 0; opacity: 0;
  font-family: var(--sans); font-size: 13px; font-weight: 600;
  letter-spacing: 0.04em;
  transition: max-width 320ms cubic-bezier(0.2,0.7,0.2,1), opacity 220ms ease, padding 320ms ease;
}
.wa-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(31, 30, 26, 0.32);
  background: #1c7e45;
}
.wa-float:hover .label { max-width: 200px; opacity: 1; padding-right: 22px; }
@media (max-width: 560px) {
  .wa-float .label { display: none; }
  .wa-float { height: 52px; }
  .wa-float .ico { width: 52px; height: 52px; }
}

/* =================================================================
   MOBILE HARDENING — centralised, loads on every page.
   Targets per-page classes + beats inline-styled grids with !important.
   ================================================================= */
html { overflow-x: hidden; }

@media (max-width: 760px) {
  /* Slightly tighter section rhythm on phones */
  .page-intro { padding-top: 132px !important; padding-bottom: 56px !important; }
  .page-intro h1 { max-width: 100% !important; }

  /* Inline-styled closing wrappers (subpages) → single column */
  section.closing > div { grid-template-columns: 1fr !important; gap: 30px !important; }
  .closing .inner { grid-template-columns: 1fr !important; }
  .closing .availability { margin-top: 8px !important; }
}

@media (max-width: 640px) {
  /* Collapse all multi-column content grids to one column */
  .feature,
  .spec,
  .plates .row,
  .nearby .cards,
  .sheet,
  .detail-grid,
  .season-grid,
  .sanctuary .pillars,
  .rules-grid { grid-template-columns: 1fr !important; }

  /* Feature: image above copy, consistent order */
  .feature > * { order: 0 !important; }

  /* Footer columns → two then stack the brand full-width */
  footer.site .top { grid-template-columns: 1fr 1fr !important; gap: 32px !important; }
  footer.site .f-brand { grid-column: 1 / -1 !important; }

  /* Footer bottom bar → stack vertically so spans don't overlap */
  footer.site .bottom { flex-direction: column; align-items: flex-start; gap: 6px; }

  /* Footer address lines → allow wrapping so long lines don't overflow */
  footer.site .f-sign .f-addr span { white-space: normal; }

  /* Bedrooms list → number + name + toggle; details expand on tap */
  .beds .list .item { grid-template-columns: 40px 1fr 24px !important; column-gap: 14px !important; align-items: baseline !important; }
  .beds .list .item .meta { text-align: left !important; }

  /* Experience day timeline → single column, drop inline images */
  .day .grid { grid-template-columns: 1fr !important; }
  .moment, .moment.full { grid-column: 1 / -1 !important; grid-template-columns: 60px 1fr !important; }
  .moment.full .image { display: none !important; }

  /* Enquire form submit row sits on its own row cleanly */
  .submit-row { grid-column: 1 / -1 !important; flex-direction: column; align-items: stretch !important; }
  .submit-row .cta { justify-content: center; }

  /* Page-intro meta → single column for breathing room */
  .page-intro .meta-row { grid-template-columns: 1fr !important; gap: 20px !important; }

  /* Gallery album → 6-col system already; ensure tiles aren't too tall */
  .gallery-prev .grid { grid-template-columns: 1fr 1fr !important; height: auto !important; }
  .gallery-prev .grid .img-frame { margin-top: 0 !important; }
}

/* ---- Tablet band (768–1024px): keep multi-column where width allows ---- */
@media (min-width: 768px) and (max-width: 1024px) {
  .season-grid { grid-template-columns: repeat(3, 1fr) !important; }
  .sheet { grid-template-columns: repeat(3, 1fr) !important; }
  .detail-grid { grid-template-columns: repeat(3, 1fr) !important; }
  .nearby .cards { grid-template-columns: 1fr 1fr !important; }
  .feature { grid-template-columns: 1fr 1fr !important; }
  .spec { grid-template-columns: 1fr 1fr !important; }
  .plates .row { grid-template-columns: 1fr 1fr !important; }
  .gallery-prev .grid { grid-template-columns: 1fr 1fr 1fr 1fr !important; }
}

@media (max-width: 460px) {
  /* Closing availability + check-in/out → single column on the smallest screens */
  .closing .availability { grid-template-columns: 1fr !important; }
  .closing .availability > div { border-left: 0 !important; }

  /* Rates check-in / check-out row → stack */
  .rules > div:not(.rules-grid) { grid-template-columns: 1fr !important; }
  .rules > div:not(.rules-grid) > div { border-left: 0 !important; padding-left: 0 !important; padding-right: 0 !important; }
  .rules > div:not(.rules-grid) > div span[style*="margin-left"] { margin-left: auto !important; padding-right: 0 !important; }
}
