/* ==========================================================================
   Havenwoods Thekkady — Design System
   Tokens per PRD Appendix A. Do not hard-code hex values outside :root.
   ========================================================================== */

:root {
  /* Colour — sampled from the Havenwoods logo */
  --hw-forest-900: #1A3628;
  --hw-forest-700: #22392C;
  --hw-canopy-600: #425946;
  --hw-sage-400:   #768E71;
  --hw-mist-200:   #AAB6A5;
  --hw-mist-50:    #F1F6F1;
  --hw-gold-500:   #9C7830;
  --hw-gold-700:   #8A6A29;
  --hw-gold-300:   #D4AF62;
  --hw-ivory-50:   #FAF8F3;
  --hw-ink-900:    #2B2B2B;
  --hw-ink-500:    #5A5A5A;
  --hw-white:      #FFFFFF;

  /* Semantic */
  --hw-bg:             var(--hw-ivory-50);
  --hw-bg-alt:         var(--hw-mist-50);
  --hw-bg-inverse:     var(--hw-forest-900);
  --hw-text:           var(--hw-ink-900);
  --hw-text-muted:     var(--hw-ink-500);
  --hw-text-inverse:   var(--hw-ivory-50);
  --hw-heading:        var(--hw-forest-900);
  --hw-accent:         var(--hw-gold-500);
  --hw-accent-text:    var(--hw-gold-700);
  --hw-accent-on-dark: var(--hw-gold-300);
  --hw-border:         var(--hw-mist-200);
  --hw-focus:          var(--hw-gold-300);
  --hw-error:          #B3261E;
  --hw-whatsapp:       #25D366;

  /* Typography */
  --hw-font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hw-fw-light: 300; --hw-fw-regular: 400; --hw-fw-medium: 500;
  --hw-fw-semibold: 600; --hw-fw-bold: 700;

  /* Spacing — 8px base */
  --hw-s1: 4px;  --hw-s2: 8px;   --hw-s3: 12px; --hw-s4: 16px;
  --hw-s5: 24px; --hw-s6: 32px;  --hw-s7: 48px; --hw-s8: 64px;
  --hw-s9: 96px; --hw-s10: 128px;

  /* Radius & elevation */
  --hw-radius-sm: 4px;
  --hw-radius-md: 8px;
  --hw-shadow-rest:  0 2px 8px  rgba(26, 54, 40, 0.06);
  --hw-shadow-hover: 0 8px 24px rgba(26, 54, 40, 0.12);

  /* Layout */
  --hw-max-content: 1280px;
  --hw-max-bleed:   1440px;
  --hw-ease: cubic-bezier(0.4, 0, 0.2, 1);

  --hw-header-h: 88px;
  --hw-header-h-compact: 64px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, picture, video { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
ul[class], ol[class] { list-style: none; }
a, button { touch-action: manipulation; }
a { -webkit-tap-highlight-color: rgba(156, 120, 48, 0.2); }

/* Grid/flex blowout guard: long unbreakable strings (emails, URLs) must
   never force a track wider than the viewport. */
.grid > *, .split > *, .longform-layout > *, .site-footer__grid > *,
.enquiry-band .container > *, .getting-here > * { min-width: 0; }
address, .contact-card li span, .longform p, .site-footer address,
.site-footer a, .contact-card a, .longform a { overflow-wrap: break-word; word-break: break-word; }

body {
  font-family: var(--hw-font);
  font-weight: var(--hw-fw-regular);
  font-size: 16px;
  line-height: 1.7;
  color: var(--hw-text);
  background: var(--hw-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) { body { font-size: 17px; line-height: 1.75; } }

main { flex: 1; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { color: var(--hw-heading); overflow-wrap: break-word; }
h1 { font-weight: var(--hw-fw-bold); font-size: 30px; line-height: 1.2; letter-spacing: 0.02em; }
h2 { font-weight: var(--hw-fw-semibold); font-size: 25px; line-height: 1.3; letter-spacing: 0.01em; }
h3 { font-weight: var(--hw-fw-semibold); font-size: 20px; line-height: 1.35; }
h4 { font-weight: var(--hw-fw-medium); font-size: 18px; line-height: 1.4; }
@media (min-width: 768px) {
  h1 { font-size: 44px; line-height: 1.15; }
  h2 { font-size: 32px; line-height: 1.25; }
  h3 { font-size: 24px; line-height: 1.3; }
  h4 { font-size: 19px; }
}
p { max-width: 72ch; }
.lead { font-size: 17px; line-height: 1.65; max-width: 68ch; }
@media (min-width: 768px) { .lead { font-size: 19px; line-height: 1.7; } }
.small, .caption { font-size: 13px; line-height: 1.6; color: var(--hw-text-muted); }
@media (min-width: 768px) { .small, .caption { font-size: 14px; } }

a { color: var(--hw-accent-text); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--hw-forest-900); }

.eyebrow {
  display: block;
  font-size: 11px;
  font-weight: var(--hw-fw-semibold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hw-accent-text);
  margin-bottom: var(--hw-s3);
}
@media (min-width: 768px) { .eyebrow { font-size: 12px; } }

.section-heading { margin-bottom: var(--hw-s5); }
.section-heading h2 { position: relative; padding-bottom: var(--hw-s4); }
.section-heading h2::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 40px; height: 3px; background: var(--hw-accent);
}
.section-heading--center { text-align: center; }
.section-heading--center h2::after { left: 50%; transform: translateX(-50%); }
.section-heading--center p { margin-inline: auto; }

/* On-dark variants */
.on-dark, .on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4, .on-dark p { color: var(--hw-text-inverse); }
.on-dark .eyebrow { color: var(--hw-accent-on-dark); }
.on-dark a { color: var(--hw-accent-on-dark); }
.on-dark a:hover { color: var(--hw-white); }
.on-dark .caption, .on-dark .small { color: var(--hw-mist-200); }

/* ---------- Focus visibility (WCAG) ---------- */
:focus-visible {
  outline: 3px solid var(--hw-focus);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Anchor jumps must clear the fixed header */
[id] { scroll-margin-top: calc(var(--hw-header-h-compact) + var(--hw-s5)); }

.skip-link {
  position: absolute; left: var(--hw-s4); top: -100px;
  z-index: 1000;
  background: var(--hw-forest-900); color: var(--hw-ivory-50);
  padding: var(--hw-s3) var(--hw-s5);
  border-radius: var(--hw-radius-sm);
  text-decoration: none;
  font-weight: var(--hw-fw-semibold);
  transition: top 200ms var(--hw-ease);
}
.skip-link:focus { top: var(--hw-s4); color: var(--hw-ivory-50); }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: calc(var(--hw-max-content) + 2 * 24px);
  margin-inline: auto;
  padding-inline: 24px;
}
@media (min-width: 768px)  { .container { padding-inline: 40px; max-width: calc(var(--hw-max-content) + 2 * 40px); } }
@media (min-width: 1024px) { .container { padding-inline: 80px; max-width: calc(var(--hw-max-content) + 2 * 80px); } }

.section { padding-block: var(--hw-s8); }
@media (min-width: 768px) { .section { padding-block: var(--hw-s9); } }
.section--alt { background: var(--hw-bg-alt); }
.section--inverse { background: var(--hw-bg-inverse); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--hw-s2);
  min-height: 48px;
  padding: 14px 32px;
  border-radius: var(--hw-radius-sm);
  border: 1.5px solid transparent;
  font-size: 16px; font-weight: var(--hw-fw-semibold); letter-spacing: 0.06em;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 250ms var(--hw-ease), color 250ms var(--hw-ease),
              border-color 250ms var(--hw-ease), transform 250ms var(--hw-ease),
              box-shadow 250ms var(--hw-ease);
}
.btn:focus-visible { outline: 3px solid var(--hw-focus); outline-offset: 2px; }

.btn--primary { background: var(--hw-accent); color: var(--hw-forest-900); }
.btn--primary:hover { background: var(--hw-gold-700); color: var(--hw-ivory-50); transform: translateY(-2px); box-shadow: var(--hw-shadow-hover); }

.btn--secondary { background: transparent; border-color: var(--hw-forest-900); color: var(--hw-forest-900); }
.btn--secondary:hover { background: var(--hw-forest-900); color: var(--hw-ivory-50); }

.btn--ghost { background: transparent; border-color: var(--hw-gold-300); color: var(--hw-gold-300); }
.btn--ghost:hover { background: var(--hw-gold-300); color: var(--hw-forest-900); }

.btn--whatsapp { background: var(--hw-whatsapp); color: var(--hw-forest-900); }
.btn--whatsapp:hover { filter: brightness(0.92); transform: translateY(-2px); box-shadow: var(--hw-shadow-hover); }

.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 200;
  height: var(--hw-header-h);
  background: var(--hw-forest-900);
  transition: height 200ms var(--hw-ease), background-color 250ms var(--hw-ease), box-shadow 250ms var(--hw-ease);
}
.site-header--overlay { background: transparent; }
.site-header--overlay::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(26,54,40,0.65), rgba(26,54,40,0));
  opacity: 1; transition: opacity 250ms var(--hw-ease);
  pointer-events: none;
}
.site-header--solid, .site-header:not(.site-header--overlay) { background: var(--hw-forest-900); box-shadow: var(--hw-shadow-rest); }
.site-header--solid { height: var(--hw-header-h-compact); }
.site-header--solid.site-header--overlay::before { opacity: 0; }

.site-header__inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: var(--hw-s5);
}
.site-header__brand {
  display: inline-flex; align-items: center; gap: var(--hw-s3);
  text-decoration: none;
}
.site-header__logo {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--hw-white);
  padding: 3px;
  transition: width 200ms var(--hw-ease), height 200ms var(--hw-ease);
}
.site-header--solid .site-header__logo { width: 42px; height: 42px; }
.site-header__wordmark { display: flex; flex-direction: column; line-height: 1.15; }
.site-header__wordmark .name {
  color: var(--hw-ivory-50); font-weight: var(--hw-fw-bold);
  font-size: 17px; letter-spacing: 0.08em; text-transform: uppercase;
}
.site-header__wordmark .place {
  color: var(--hw-gold-300); font-weight: var(--hw-fw-medium);
  font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase;
}

.site-nav { display: none; }
@media (min-width: 1024px) {
  .site-nav { display: flex; align-items: center; gap: var(--hw-s6); }
  .site-nav__link {
    color: var(--hw-ivory-50); text-decoration: none;
    font-size: 15px; font-weight: var(--hw-fw-medium);
    letter-spacing: 0.08em; text-transform: uppercase;
    padding: var(--hw-s2) 0;
    border-bottom: 2px solid transparent;
    transition: border-color 200ms var(--hw-ease), color 200ms var(--hw-ease);
  }
  .site-nav__link:hover { color: var(--hw-gold-300); }
  .site-nav__link[aria-current="page"] { border-bottom-color: var(--hw-gold-500); color: var(--hw-gold-300); }
}
.site-header__cta { display: none; }
@media (min-width: 1024px) { .site-header__cta { display: inline-flex; min-height: 44px; padding: 12px 24px; } }

/* Hamburger */
.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  width: 48px; height: 48px;
  background: transparent; border: none; cursor: pointer;
}
@media (min-width: 1024px) { .nav-toggle { display: none; } }
.nav-toggle__bar {
  display: block; width: 24px; height: 2px;
  background: var(--hw-ivory-50);
  transition: transform 250ms var(--hw-ease), opacity 250ms var(--hw-ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile overlay menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 190;
  background: var(--hw-forest-900);
  padding: calc(var(--hw-header-h) + var(--hw-s6)) 24px var(--hw-s6);
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden;
  transition: opacity 250ms var(--hw-ease), visibility 250ms var(--hw-ease);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu__link {
  display: block;
  padding: var(--hw-s4) var(--hw-s3);
  color: var(--hw-ivory-50); text-decoration: none;
  font-size: 18px; font-weight: var(--hw-fw-medium);
  letter-spacing: 0.08em; text-transform: uppercase;
  border-bottom: 1px solid var(--hw-gold-700);
  border-left: 4px solid transparent;
}
.mobile-menu__link[aria-current="page"] { border-left-color: var(--hw-gold-500); color: var(--hw-gold-300); }
.mobile-menu__link:hover { color: var(--hw-gold-300); }
.mobile-menu .btn { margin-top: var(--hw-s6); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 75vh;
  min-height: 75svh; /* stable on mobile URL-bar collapse */
  display: flex; align-items: flex-end;
  overflow: hidden;
}
@media (min-width: 768px) { .hero { min-height: 85vh; min-height: 85svh; align-items: center; } }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
@media (prefers-reduced-motion: no-preference) {
  .hero__media img { animation: kenburns 12s var(--hw-ease) forwards; }
  @keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.06); } }
}
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,54,40,0.82) 0%, rgba(26,54,40,0.45) 45%, rgba(26,54,40,0.30) 100%);
}
.hero__content { position: relative; z-index: 1; padding-block: var(--hw-s8) var(--hw-s9); }
.hero__content h1 { color: var(--hw-white); font-size: 34px; line-height: 1.15; max-width: 18ch; }
@media (min-width: 768px) { .hero__content h1 { font-size: 56px; line-height: 1.1; } }
.hero__sub { color: var(--hw-ivory-50); margin-top: var(--hw-s4); font-size: 17px; max-width: 52ch; }
@media (min-width: 768px) { .hero__sub { font-size: 19px; } }
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--hw-s4); margin-top: var(--hw-s6); }
/* Full-width CTAs on small phones (PRD §7.8 mobile behaviour) */
@media (max-width: 479px) {
  .hero__ctas .btn, .cta-band .btn-group .btn,
  .card__actions .btn, .utility-hero .btn-group .btn { width: 100%; }
}
.hero__scroll-cue {
  position: absolute; left: 50%; bottom: var(--hw-s5); transform: translateX(-50%);
  z-index: 1; color: var(--hw-ivory-50); text-decoration: none;
  display: none;
}
@media (min-width: 768px) { .hero__scroll-cue { display: block; } }
@media (prefers-reduced-motion: no-preference) {
  .hero__scroll-cue { animation: bob 2.2s ease-in-out infinite; }
  @keyframes bob { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,8px); } }
}

/* Compact page hero (inner pages) */
.page-hero {
  position: relative;
  min-height: 40vh;
  display: flex; align-items: flex-end;
  overflow: hidden;
  padding-top: var(--hw-header-h);
}
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,54,40,0.85), rgba(26,54,40,0.40));
}
.page-hero__content { position: relative; z-index: 1; padding-block: var(--hw-s6); }
.page-hero__content h1 { color: var(--hw-white); }
.page-hero__content p { color: var(--hw-ivory-50); margin-top: var(--hw-s2); }

/* ---------- Cards ---------- */
.card {
  background: var(--hw-white);
  border-radius: var(--hw-radius-md);
  box-shadow: var(--hw-shadow-rest);
  overflow: hidden;
  transition: box-shadow 250ms var(--hw-ease), transform 250ms var(--hw-ease);
}
.card:hover { box-shadow: var(--hw-shadow-hover); }

.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 400ms var(--hw-ease);
}
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: var(--hw-s5); }
.card__meta {
  display: flex; flex-wrap: wrap; gap: var(--hw-s2) var(--hw-s4);
  font-size: 13px; color: var(--hw-text-muted);
  margin-block: var(--hw-s3);
}
.card__meta span { display: inline-flex; align-items: center; gap: var(--hw-s1); }
.card__price { font-weight: var(--hw-fw-semibold); color: var(--hw-forest-900); margin-bottom: var(--hw-s4); }
.card__price .caption { display: block; font-weight: var(--hw-fw-regular); }
.card__actions { display: flex; flex-wrap: wrap; gap: var(--hw-s3); }
.card__actions .btn { min-height: 44px; padding: 12px 20px; font-size: 15px; flex: 1 1 auto; }

.grid { display: grid; gap: var(--hw-s5); }
@media (min-width: 768px)  { .grid--2 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Welcome / split section ---------- */
.split { display: grid; gap: var(--hw-s6); align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; gap: var(--hw-s8); } }
.split__media img { border-radius: var(--hw-radius-md); box-shadow: var(--hw-shadow-rest); width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--hw-s4); margin-top: var(--hw-s6); }
.stat__value { font-size: 25px; font-weight: var(--hw-fw-bold); color: var(--hw-forest-900); line-height: 1.2; }
@media (min-width: 768px) { .stat__value { font-size: 32px; } }
.stat__label { font-size: 13px; color: var(--hw-text-muted); margin-top: var(--hw-s1); }

/* ---------- Experiences ---------- */
.exp-card__body { padding: var(--hw-s4) var(--hw-s5) var(--hw-s5); }
.exp-card__meta { font-size: 13px; color: var(--hw-text-muted); margin-top: var(--hw-s2); }

/* ---------- Gallery ---------- */
.gallery-strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: 78%;
  gap: var(--hw-s4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: var(--hw-s3);
  -webkit-overflow-scrolling: touch;
}
.gallery-strip::-webkit-scrollbar { height: 6px; }
.gallery-strip::-webkit-scrollbar-thumb { background: var(--hw-mist-200); border-radius: 3px; }
@media (min-width: 768px) {
  .gallery-strip { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); grid-auto-columns: unset; overflow: visible; }
}
.gallery-strip button {
  border: none; padding: 0; cursor: pointer; background: none;
  border-radius: var(--hw-radius-md); overflow: hidden;
  scroll-snap-align: start;
  box-shadow: var(--hw-shadow-rest);
}
.gallery-strip img {
  width: 100%; aspect-ratio: 3/2; object-fit: cover;
  transition: transform 400ms var(--hw-ease);
}
.gallery-strip button:hover img { transform: scale(1.04); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 400;
  background: rgba(26, 54, 40, 0.94);
  display: none;
  align-items: center; justify-content: center;
  padding: var(--hw-s5);
}
.lightbox.is-open { display: flex; }
.lightbox__figure { max-width: min(1100px, 92vw); text-align: center; }
.lightbox__figure img {
  max-height: 78vh; max-width: 100%;
  margin-inline: auto;
  border-radius: var(--hw-radius-md);
}
.lightbox__caption { color: var(--hw-ivory-50); font-size: 14px; margin-top: var(--hw-s3); }
.lightbox__btn {
  position: absolute;
  background: rgba(250,248,243,0.12);
  border: 1.5px solid var(--hw-gold-300);
  color: var(--hw-gold-300);
  width: 48px; height: 48px; border-radius: var(--hw-radius-sm);
  cursor: pointer; font-size: 22px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.lightbox__btn:hover { background: var(--hw-gold-300); color: var(--hw-forest-900); }
.lightbox__close { top: var(--hw-s4); right: var(--hw-s4); }
.lightbox__prev { left: var(--hw-s4); top: 50%; transform: translateY(-50%); }
.lightbox__next { right: var(--hw-s4); top: 50%; transform: translateY(-50%); }

/* ---------- Testimonials ---------- */
.testimonial {
  background: var(--hw-white);
  border-radius: var(--hw-radius-md);
  box-shadow: var(--hw-shadow-rest);
  padding: var(--hw-s6) var(--hw-s5);
  position: relative;
}
.testimonial::before {
  content: "\201C";
  position: absolute; top: var(--hw-s2); left: var(--hw-s5);
  font-size: 64px; line-height: 1; color: var(--hw-gold-500);
  font-weight: var(--hw-fw-bold);
}
.testimonial blockquote {
  font-weight: var(--hw-fw-light); font-style: italic;
  font-size: 19px; line-height: 1.5;
  color: var(--hw-forest-900);
  margin-top: var(--hw-s5);
}
@media (min-width: 768px) { .testimonial blockquote { font-size: 24px; line-height: 1.55; } }
.testimonial footer { margin-top: var(--hw-s4); }
.testimonial cite { font-style: normal; font-weight: var(--hw-fw-semibold); color: var(--hw-forest-900); display: block; }

/* ---------- Location ---------- */
.distance-chips { display: flex; flex-wrap: wrap; gap: var(--hw-s3); margin-top: var(--hw-s5); }
.distance-chip {
  background: var(--hw-white);
  border: 1px solid var(--hw-border);
  border-radius: var(--hw-radius-sm);
  padding: var(--hw-s2) var(--hw-s4);
  font-size: 14px;
}
.distance-chip strong { color: var(--hw-forest-900); }
.map-embed {
  border-radius: var(--hw-radius-md); overflow: hidden;
  box-shadow: var(--hw-shadow-rest);
  /* fixed height on phones: the consent placeholder needs ~260px and 16:9 of
     a narrow screen is only ~184px (and aspect-ratio + min-height would
     transfer into a too-wide min-width) */
  height: 300px;
  background: var(--hw-mist-50);
  position: relative;
}
@media (min-width: 768px) { .map-embed { height: auto; aspect-ratio: 16/9; } }
.map-embed iframe { width: 100%; height: 100%; border: 0; }
.map-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--hw-s4);
  background: var(--hw-forest-700);
  text-align: center; padding: var(--hw-s5);
}
.map-placeholder p { color: var(--hw-ivory-50); }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: var(--hw-s4); }
@media (min-width: 768px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }
.form-field { display: flex; flex-direction: column; gap: var(--hw-s2); }
.form-field label { font-weight: var(--hw-fw-medium); font-size: 15px; color: var(--hw-forest-900); }
.on-dark .form-field label { color: var(--hw-ivory-50); }
.form-field .hint { font-size: 13px; color: var(--hw-text-muted); }

.input, select.input, textarea.input {
  min-height: 48px;
  padding: 12px 14px;
  border: 1.5px solid var(--hw-mist-200);
  border-radius: var(--hw-radius-sm);
  background: var(--hw-white);
  font-size: 16px;
  width: 100%;
  color: var(--hw-ink-900);
  transition: border-color 200ms var(--hw-ease), box-shadow 200ms var(--hw-ease);
}
textarea.input { min-height: 120px; resize: vertical; line-height: 1.6; }
.input:focus { outline: none; border: 2px solid var(--hw-canopy-600); box-shadow: 0 0 0 3px var(--hw-gold-300); }
.input[aria-invalid="true"] { border: 1.5px solid var(--hw-error); }
.form-error {
  display: none;
  font-size: 13px; color: var(--hw-error); font-weight: var(--hw-fw-medium);
}
.form-error.is-visible { display: flex; align-items: center; gap: var(--hw-s1); }
.on-dark .form-error { color: #F2B8B5; }

.checkbox-field { display: flex; align-items: flex-start; gap: var(--hw-s3); }
.checkbox-field input[type="checkbox"] {
  width: 20px; height: 20px; margin-top: 3px; flex-shrink: 0;
  accent-color: var(--hw-gold-500);
}
.checkbox-field label { font-size: 14px; font-weight: var(--hw-fw-regular); }

.char-counter { font-size: 13px; color: var(--hw-text-muted); text-align: right; }

/* honeypot — visually removed, still in DOM */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Accordion ---------- */
.accordion { border-top: 1px solid var(--hw-mist-200); }
.accordion__item { border-bottom: 1px solid var(--hw-mist-200); }
.accordion__trigger {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: var(--hw-s4);
  padding: var(--hw-s4) var(--hw-s2);
  background: none; border: none; cursor: pointer;
  text-align: left;
  font-weight: var(--hw-fw-medium); font-size: 16px;
  color: var(--hw-forest-900);
  min-height: 56px;
}
@media (min-width: 768px) { .accordion__trigger { font-size: 17px; } }
.accordion__chevron {
  flex-shrink: 0;
  color: var(--hw-gold-500);
  transition: transform 250ms var(--hw-ease);
}
.accordion__trigger[aria-expanded="true"] .accordion__chevron { transform: rotate(180deg); }
.accordion__panel { padding: 0 var(--hw-s2) var(--hw-s5); }
.accordion__panel[hidden] { display: none; }

/* ---------- Amenities ---------- */
.amenity-group h3 { margin-bottom: var(--hw-s4); }
.amenity-list { display: grid; gap: var(--hw-s3); }
@media (min-width: 768px) { .amenity-list { grid-template-columns: 1fr 1fr; } }
.amenity {
  display: flex; align-items: center; gap: var(--hw-s3);
  font-size: 15px;
}
.amenity svg { color: var(--hw-canopy-600); flex-shrink: 0; }
.amenity .tag {
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--hw-gold-700); font-weight: var(--hw-fw-semibold);
  margin-left: auto;
}

/* ---------- Rates table ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--hw-radius-md); box-shadow: var(--hw-shadow-rest); }
.rates-table { width: 100%; border-collapse: collapse; background: var(--hw-white); min-width: 560px; }
.rates-table th, .rates-table td { padding: var(--hw-s4) var(--hw-s5); text-align: left; font-size: 15px; }
.rates-table thead th {
  background: var(--hw-forest-900); color: var(--hw-ivory-50);
  font-weight: var(--hw-fw-semibold); font-size: 14px;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.rates-table tbody tr:nth-child(even) { background: var(--hw-mist-50); }
.rates-table td strong { color: var(--hw-forest-900); }

/* ---------- Room detail rows ---------- */
.room-row {
  display: grid; gap: 0;
  background: var(--hw-white);
  border-radius: var(--hw-radius-md);
  box-shadow: var(--hw-shadow-rest);
  overflow: hidden;
  scroll-margin-top: calc(var(--hw-header-h) + var(--hw-s5));
}
@media (min-width: 1024px) {
  .room-row { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .room-row--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .room-row--flip .room-row__media { order: 2; }
}
.room-row__media { position: relative; min-height: 280px; }
.room-row__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.room-row__thumbs {
  position: absolute; bottom: var(--hw-s3); left: var(--hw-s3);
  display: flex; gap: var(--hw-s2);
}
.room-row__thumbs button {
  width: 60px; height: 45px; border-radius: var(--hw-radius-sm);
  border: 2px solid var(--hw-white); overflow: hidden; cursor: pointer; padding: 0;
  background: none;
}
.room-row__thumbs img { position: static; width: 100%; height: 100%; object-fit: cover; }
.room-row__body { padding: var(--hw-s5); }
@media (min-width: 768px) { .room-row__body { padding: var(--hw-s6); } }
.room-facts {
  display: flex; flex-wrap: wrap; gap: var(--hw-s2) var(--hw-s5);
  margin-block: var(--hw-s4);
  font-size: 14px; color: var(--hw-text-muted);
}
.room-facts strong { color: var(--hw-forest-900); font-weight: var(--hw-fw-semibold); }
.room-row__amenities { display: flex; flex-wrap: wrap; gap: var(--hw-s2); margin-block: var(--hw-s4); }
.room-row__amenities li {
  font-size: 13px;
  background: var(--hw-mist-50);
  border: 1px solid var(--hw-mist-200);
  border-radius: var(--hw-radius-sm);
  padding: var(--hw-s1) var(--hw-s3);
}

/* ---------- Value cards (About) ---------- */
.value-card {
  background: var(--hw-white);
  border-radius: var(--hw-radius-md);
  box-shadow: var(--hw-shadow-rest);
  padding: var(--hw-s6) var(--hw-s5);
  text-align: center;
}
.value-card svg { color: var(--hw-gold-500); margin-inline: auto; margin-bottom: var(--hw-s4); }
.value-card h3 { font-size: 18px; margin-bottom: var(--hw-s2); }
.value-card p { font-size: 15px; margin-inline: auto; }

/* ---------- Contact ---------- */
.contact-card {
  background: var(--hw-white);
  border-radius: var(--hw-radius-md);
  box-shadow: var(--hw-shadow-rest);
  padding: var(--hw-s6) var(--hw-s5);
}
.contact-card ul { display: grid; gap: var(--hw-s4); margin-top: var(--hw-s5); }
.contact-card li { display: flex; align-items: flex-start; gap: var(--hw-s3); }
.contact-card li svg { color: var(--hw-gold-500); flex-shrink: 0; margin-top: 3px; }
.contact-card a { font-weight: var(--hw-fw-medium); }
/* CTA-grade links inside the card get full touch height */
.contact-card li a { display: inline-flex; align-items: center; min-height: 44px; }

.getting-here { display: grid; gap: var(--hw-s5); }
@media (min-width: 768px) { .getting-here { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Enquiry band ---------- */
.enquiry-band { background: var(--hw-bg-inverse); }
.enquiry-band .container { display: grid; gap: var(--hw-s6); }
@media (min-width: 1024px) { .enquiry-band .container { grid-template-columns: 5fr 7fr; align-items: start; gap: var(--hw-s8); } }

/* ---------- Offer banner ---------- */
.offer-banner { background: var(--hw-forest-700); }
.offer-banner .container {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--hw-s4);
  padding-block: var(--hw-s5);
}
.offer-banner p { color: var(--hw-ivory-50); font-weight: var(--hw-fw-medium); }
.offer-banner .eyebrow { margin-bottom: var(--hw-s1); }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band .btn-group { display: flex; flex-wrap: wrap; gap: var(--hw-s4); justify-content: center; margin-top: var(--hw-s6); }

/* ---------- Footer ---------- */
.site-footer { background: var(--hw-forest-900); color: var(--hw-ivory-50); margin-top: auto; }
.site-footer__grid {
  display: grid; gap: var(--hw-s6);
  padding-block: var(--hw-s8) var(--hw-s6);
}
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: 2fr 1fr 1.5fr 1fr; } }
.site-footer__brand img { width: 72px; height: 72px; border-radius: 50%; background: var(--hw-white); padding: 4px; margin-bottom: var(--hw-s4); }
.site-footer__brand p { color: var(--hw-mist-200); font-size: 15px; max-width: 36ch; }
.site-footer h2 {
  color: var(--hw-gold-300); font-size: 14px; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: var(--hw-fw-semibold);
  margin-bottom: var(--hw-s4);
}
.site-footer ul { display: grid; gap: var(--hw-s3); }
.site-footer a { color: var(--hw-gold-300); text-decoration: none; font-size: 15px; }
.site-footer a:hover { color: var(--hw-white); text-decoration: underline; }
/* 44px touch targets on text links (footer is dense on mobile) */
.site-footer ul a, .site-footer address a, .site-footer__legal nav a {
  display: inline-flex; align-items: center; min-height: 44px;
}
.site-footer address { font-style: normal; font-size: 15px; color: var(--hw-mist-200); display: grid; gap: var(--hw-s3); }
.site-footer address a { display: inline-flex; align-items: center; gap: var(--hw-s2); }
.site-footer__social { display: flex; gap: var(--hw-s4); }
.site-footer__social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border: 1.5px solid var(--hw-gold-300); border-radius: 50%;
}
.site-footer__social a:hover { background: var(--hw-gold-300); color: var(--hw-forest-900); }
.site-footer__legal {
  border-top: 1px solid var(--hw-sage-400);
  padding-block: var(--hw-s5);
  display: flex; flex-wrap: wrap; gap: var(--hw-s3) var(--hw-s5);
  justify-content: space-between; align-items: center;
  font-size: 14px; color: var(--hw-mist-200);
}
.site-footer__legal nav { display: flex; gap: var(--hw-s5); }

/* ---------- WhatsApp FAB ---------- */
.wa-fab {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 300;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--hw-whatsapp);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--hw-shadow-hover);
  color: var(--hw-white);
  text-decoration: none;
  transition: transform 250ms var(--hw-ease);
}
.wa-fab:hover { transform: scale(1.08); color: var(--hw-white); }
@media print { .wa-fab, .sticky-bar { display: none !important; } }

/* ---------- Mobile sticky bar (Rooms) ---------- */
.sticky-bar {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 250;
  display: flex;
  background: var(--hw-forest-900);
  box-shadow: 0 -4px 16px rgba(26,54,40,0.25);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (min-width: 768px) { .sticky-bar { display: none; } }
.sticky-bar a {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: var(--hw-s2);
  padding: var(--hw-s4);
  min-height: 56px;
  text-decoration: none;
  font-weight: var(--hw-fw-semibold); font-size: 15px; letter-spacing: 0.04em;
}
.sticky-bar a:first-child { color: var(--hw-ivory-50); border-right: 1px solid var(--hw-canopy-600); }
.sticky-bar a:last-child { background: var(--hw-gold-500); color: var(--hw-forest-900); }
body.has-sticky-bar { padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 768px) { body.has-sticky-bar { padding-bottom: 0; } }
body.has-sticky-bar .wa-fab { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 768px) { body.has-sticky-bar .wa-fab { bottom: 20px; } }

/* ---------- Privacy / long-form ---------- */
.longform-layout { display: grid; gap: var(--hw-s6); }
@media (min-width: 1024px) { .longform-layout { grid-template-columns: 280px minmax(0, 1fr); align-items: start; } }
.toc {
  background: var(--hw-white);
  border-radius: var(--hw-radius-md);
  box-shadow: var(--hw-shadow-rest);
  padding: var(--hw-s5);
}
@media (min-width: 1024px) { .toc { position: sticky; top: calc(var(--hw-header-h-compact) + var(--hw-s5)); } }
.toc summary {
  font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: var(--hw-fw-semibold); color: var(--hw-forest-900);
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: var(--hw-s3);
  min-height: 44px;
}
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after {
  content: ""; width: 10px; height: 10px; flex-shrink: 0;
  border-right: 2px solid var(--hw-gold-500); border-bottom: 2px solid var(--hw-gold-500);
  transform: rotate(45deg);
  transition: transform 250ms var(--hw-ease);
}
.toc[open] summary::after { transform: rotate(225deg); }
.toc[open] summary { margin-bottom: var(--hw-s4); }
@media (min-width: 1024px) {
  /* Desktop: always expanded, not interactive */
  .toc summary { pointer-events: none; }
  .toc summary::after { display: none; }
}
.toc ol { display: grid; counter-reset: toc; list-style: none; }
.toc a { font-size: 14px; text-decoration: none; display: inline-block; padding-block: 9px; }
.toc a:hover { text-decoration: underline; }
.longform { max-width: 68ch; }
.longform h2 { margin-top: var(--hw-s7); margin-bottom: var(--hw-s4); scroll-margin-top: calc(var(--hw-header-h) + var(--hw-s4)); }
.longform h2:first-of-type { margin-top: 0; }
.longform p, .longform li { margin-bottom: var(--hw-s4); font-size: 17px; }
.longform ul { padding-left: var(--hw-s5); }
.longform .updated {
  display: inline-block;
  background: var(--hw-mist-50);
  border: 1px solid var(--hw-mist-200);
  border-radius: var(--hw-radius-sm);
  padding: var(--hw-s2) var(--hw-s4);
  font-size: 14px;
  margin-bottom: var(--hw-s6);
}

/* ---------- Utility pages ---------- */
.utility-hero {
  position: relative;
  min-height: 70vh;
  display: flex; align-items: center;
  text-align: center;
  padding-top: var(--hw-header-h);
}
.utility-hero .container { position: relative; z-index: 1; }
.utility-hero__media { position: absolute; inset: 0; }
.utility-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.utility-hero__scrim { position: absolute; inset: 0; background: rgba(26,54,40,0.80); }
.utility-hero h1 { color: var(--hw-white); }
.utility-hero p { color: var(--hw-ivory-50); margin: var(--hw-s4) auto 0; }
.utility-hero .btn-group { display: flex; flex-wrap: wrap; gap: var(--hw-s4); justify-content: center; margin-top: var(--hw-s6); }

/* ---------- Scroll reveal ---------- */
/* Hide-then-reveal only when JS is running (html.js set by inline script);
   without JS all content stays visible. */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 400ms var(--hw-ease), transform 400ms var(--hw-ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { transform: none; transition: opacity 1ms linear; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ---------- Misc ---------- */
.divider-leaf {
  display: flex; align-items: center; gap: var(--hw-s4);
  color: var(--hw-sage-400);
  margin-block: var(--hw-s6);
}
.divider-leaf::before, .divider-leaf::after {
  content: ""; flex: 1; height: 1px; background: var(--hw-mist-200);
}
.text-center { text-align: center; }
.mt-2 { margin-top: var(--hw-s2); } .mt-4 { margin-top: var(--hw-s4); }
.mt-5 { margin-top: var(--hw-s5); } .mt-6 { margin-top: var(--hw-s6); } .mt-7 { margin-top: var(--hw-s7); }
.mb-4 { margin-bottom: var(--hw-s4); } .mb-5 { margin-bottom: var(--hw-s5); } .mb-6 { margin-bottom: var(--hw-s6); }

.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;
}
