/* ==========================================================
   India's Wellness Capital page — scoped under .hg-page so it won't
   affect other pages in your project.
   Adjust the tokens below to fine-tune against the live site.
   ========================================================== */
/* Brand fonts (assets/font): Garamond Italic for headlines, Tw Cen MT for text */
@font-face {
  font-family: "IWC Garamond";
  src: url("../font/Garamond-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "IWC Tw Cen";
  src: url("../font/TwCenMT-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IWC Tw Cen";
  src: url("../font/TwCenMT-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IWC Tw Cen";
  src: url("../font/TwCenMT-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

.hg-page {
  --hg-green: #004224; /* British green (deck dark slides) */
  --hg-green-2: #0a5a34;
  --hg-sage: #eae4da;
  --hg-cream: #dfd9cf; /* Ivory base */
  --hg-ink: #1a1a1a;
  --hg-muted: #7c6a5f;
  --hg-line: rgba(134, 62, 43, 0.18);
  --hg-white: #ffffff;
  --hg-serif: "IWC Garamond", Garamond, Georgia, "Times New Roman", serif;
  --hg-sans: "IWC Tw Cen", "Tw Cen MT", "Century Gothic", Futura, sans-serif;
  --hg-ui: "IWC Tw Cen", "Tw Cen MT", "Century Gothic", Futura, sans-serif;
  --hg-leaf: #863e2b; /* Terracotta — headings & accent text */
  --hg-leaf-ink: #6b3325; /* Deep terracotta — body text */
  --hg-glass: rgba(236, 230, 220, 0.62);
  --hg-glass-line: rgba(255, 255, 255, 0.55);
  --hg-dock-h: 0px; /* chapter bar moved to the top header */
  --hg-paper: #dfd9cf;
  --hg-header-h: 84px; /* height reserved for the top chapter dock */
  --hg-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  /* One style for every section heading (h2): Garamond Italic */
  --hg-h2: italic 400 clamp(2rem, 2.9vw, 3.4rem)/1.1 var(--hg-serif);

  font-family: var(--hg-sans);
  font-weight: 400;
  color: var(--hg-ink);
  background: var(--hg-cream);
  -webkit-font-smoothing: antialiased;
}
html:has(.hg-page) {
  scroll-behavior: smooth;
  scroll-padding-top: var(--hg-header-h, 76px);
}
@media (prefers-reduced-motion: reduce) {
  html:has(.hg-page) {
    scroll-behavior: auto;
  }
  .hg-page *,
  .hg-page *::before,
  .hg-page *::after {
    transition: none !important;
    animation: none !important;
  }
  /* These start hidden and are faded in by an animation; with animations off, show them outright */
  .hg-page .hg-hero__content > *,
  .hg-page .hg-hero__logo,
  .hg-page .hg-hero__cta-wrap {
    opacity: 1;
    transform: none;
  }
}
.hg-page a {
  color: inherit;
  text-decoration: none;
}
.hg-page :focus-visible {
  outline: 2px solid #863e2b;
  outline-offset: 3px;
}

.hg-logo {
  height: 34px;
  width: auto;
  display: block;
}
/* Brand logo image (white on photos, terracotta on ivory) */
.hg-brand-logo {
  display: block;
  width: auto;
  height: 56px;
}
.hg-header .hg-brand-logo {
  height: 54px;
}
.hg-hero__logo .hg-brand-logo {
  height: clamp(68px, 6.4vw, 100px);
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.35));
}
.hg-slide__logo .hg-brand-logo {
  height: clamp(90px, 8.5vw, 150px);
}
.hg-mplan__logo .hg-brand-logo,
.hg-plots__logo .hg-brand-logo,
.hg-why__logo .hg-brand-logo {
  height: clamp(52px, 4.4vw, 76px);
}
.hg-footer .hg-brand-logo {
  height: 72px;
}
.hg-brand-text {
  display: inline-block;
  font: italic 400 1.15rem/1.15 var(--hg-serif);
  letter-spacing: 0;
  color: inherit;
  white-space: nowrap;
}

/* ---------- Header ---------- */
.hg-header__project {
  margin: 0;
  font-size: calc(0.8rem + 1px);
  letter-spacing: 0.08em;
}
.hg-header__project span {
  opacity: 0.6;
  margin: 0 0.35rem;
}

.hg-header__cta {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  background: none;
  border: 1px solid currentColor;
  color: inherit;
  border-radius: 999px;
  padding: 0.6rem 1.25rem;
  font: 500 calc(0.75rem + 1px)/1 var(--hg-sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition:
    background-color 0.25s,
    color 0.25s,
    border-color 0.25s;
}
.hg-header__cta:hover {
  background: var(--hg-green);
  border-color: var(--hg-green);
  color: var(--hg-white);
}

/* ---------- Buttons ---------- */
.hg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 500 calc(0.75rem + 1px)/1 var(--hg-sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition:
    background-color 0.25s,
    color 0.25s,
    border-color 0.25s;
}
.hg-btn--light {
  background: var(--hg-white);
  color: var(--hg-green) !important;
}
.hg-btn--light:hover {
  background: var(--hg-sage);
}
.hg-btn--outline-light {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--hg-white) !important;
}
.hg-btn--outline-light:hover {
  background: var(--hg-white);
  color: var(--hg-green) !important;
}
.hg-btn--dark {
  background: var(--hg-green);
  color: var(--hg-white) !important;
}
.hg-btn--dark:hover {
  background: var(--hg-green-2);
}
.hg-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: var(--hg-white);
  transition:
    background-color 0.25s,
    color 0.25s;
}
.hg-icon-btn:hover {
  background: var(--hg-white);
  color: var(--hg-green);
}

/* ---------- Hero ---------- */
.hg-hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  padding: 4px;
  background: var(--hg-paper);
}
.hg-hero__frame {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 26px;
  isolation: isolate;
}
.hg-hero__media,
.hg-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hg-hero__media img {
  object-fit: cover;
  object-position: center bottom;
  transform: scale(1.08);
  /* zoom-out on load, then a slow endless float (drift + gentle breathing zoom) */
  animation:
    hgHeroZoom 2.4s var(--hg-ease) forwards,
    hgHeroFloat 24s 2.4s ease-in-out infinite;
  will-change: transform;
}
/* Dark scrim: strongest behind the title (top-left) and the RERA line (bottom) so white text reads on the photo */
.hg-hero__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 70% 60% at 22% 18%,
      rgba(10, 22, 14, 0.55),
      transparent 75%
    ),
    linear-gradient(
      180deg,
      rgba(10, 22, 14, 0.45) 0,
      rgba(10, 22, 14, 0.15) 40%,
      rgba(10, 22, 14, 0.2) 70%,
      rgba(10, 22, 14, 0.55) 100%
    );
}
.hg-hero__tagline {
  animation-delay: 0.5s !important;
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
  font: 400 calc(clamp(0.72rem, 0.85vw, 0.95rem) + 1px)/1 var(--hg-ui);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}
.hg-hero__tagline::after {
  content: "";
  width: clamp(6rem, 10vw, 11rem);
  height: 1px;
  background: rgba(255, 255, 255, 0.45);
  margin-left: 0.8rem;
}
.hg-hero__tagline span {
  opacity: 0.7;
}
.hg-hero__content {
  position: absolute;
  z-index: 1;
  left: clamp(4.5rem, 9.1vw, 11rem);
  top: calc(var(--hg-header-h) + clamp(1rem, 3vh, 2.5rem));
  right: 30%;
}
.hg-hero__content > * {
  opacity: 0;
  transform: translateY(18px);
  animation: hgRise 1s var(--hg-ease) forwards;
}
.hg-hero__title {
  animation-delay: 0.6s !important;
  font: italic 400 clamp(3rem, 5.2vw, 6.6rem)/1.05 var(--hg-serif);
  letter-spacing: 0;
  color: var(--hg-white);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
  margin: 0 0 0.6rem;
}
/* Leaf before headlines (leaf-tight.png = Centre-Leaves1.png without its transparent padding) */
.hg-leaf {
  display:   inline-block;
  width: 1em;
  height: auto;
  flex: none;
  margin-right: 0.25em;
  vertical-align: -0.02em;
}
.hg-hero__title .hg-leaf {
  vertical-align: 0.05em;
  filter: brightness(1.35) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
}
.hg-hero__sub {
  animation-delay: 0.8s !important;
  font: 400 calc(clamp(1rem, 1.45vw, 1.75rem) + 1px)/1.35 var(--hg-ui);
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
  margin: 0;
}
/* Pre-launch offer on the hero: frosted-glass ticket matching the Explore More pill — big "3X" stub, dashed tear line, details + CTA */
.hg-hero__offer {
  --notch: 11px;
  animation-delay: 1s !important;
  position: relative;
  display: inline-flex;
  align-items: stretch;
  margin-top: clamp(1.25rem, 3vh, 2rem);
  border-radius: 18px;
  color: var(--hg-white);
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}
.hg-hero__offer p {
  margin: 0;
}
.hg-hero__offer-big {
  position: relative;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 1rem clamp(1.1rem, 1.8vw, 1.6rem);
  font: italic 400 clamp(3rem, 4.2vw, 4.4rem)/0.9 var(--hg-serif);
  color: var(--hg-white);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}
.hg-hero__offer-big span {
  display: block;
  margin-top: 0.35rem;
  font: 700 calc(0.62rem + 1px)/1 var(--hg-ui);
  font-style: normal;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.85;
}
/* Tear line between the stub and the details */
.hg-hero__offer-big::after {
  content: "";
  position: absolute;
  top: var(--notch);
  bottom: var(--notch);
  right: 0;
  border-right: 1.5px dashed rgba(255, 255, 255, 0.5);
}
.hg-hero__offer-text {
  position: relative;
  display: grid;
  gap: 0.25rem;
  justify-items: start;
  padding: 1rem clamp(1.1rem, 1.8vw, 1.5rem);
}
.hg-hero__offer-tag {
  display: inline-block;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.14);
  font: 700 calc(0.62rem + 1px)/1 var(--hg-ui);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hg-white);
}
.hg-hero__offer-title {
  margin-top: 0.35rem !important;
  font: italic 400 clamp(1.35rem, 1.7vw, 1.8rem)/1.1 var(--hg-serif);
  color: var(--hg-white);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}
.hg-hero__offer-eoi {
  font: 400 calc(clamp(0.95rem, 1vw, 1.08rem) + 1px)/1.3 var(--hg-ui);
  color: rgba(255, 255, 255, 0.9);
}
.hg-hero__offer-eoi strong {
  font-weight: 700;
  color: var(--hg-white);
}
.hg-hero__offer-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.55rem;
  padding: 0.6rem 1.05rem;
  border: 0;
  border-radius: 999px;
  background: var(--hg-white);
  color: var(--hg-leaf);
  font: 700 calc(0.72rem + 1px)/1 var(--hg-ui);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition:
    background-color 0.25s,
    color 0.25s;
}
.hg-hero__offer-cta svg {
  transition: transform 0.25s var(--hg-ease);
}
.hg-hero__offer-cta:hover {
  background: var(--hg-leaf);
  color: var(--hg-white);
}
.hg-hero__offer-cta:hover svg {
  transform: translateX(3px);
}
.hg-hero__logo {
  position: absolute;
  z-index: 1;
  top: calc(var(--hg-header-h) + clamp(0.5rem, 2vh, 1.5rem));
  right: clamp(1.5rem, 3.8vw, 4.5rem);
  opacity: 0;
  animation: hgFade 1s 0.4s var(--hg-ease) forwards;
}
.hg-hero__logo .hg-brand-text {
  font-size: clamp(1rem, 1.6vw, 1.6rem);
  color: var(--hg-white);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}
.hg-hero__rera {
  position: absolute;
  z-index: 1;
  right: clamp(1.5rem, 3.8vw, 4.5rem);
  top: calc(var(--hg-header-h) + clamp(0.5rem, 2vh, 1.5rem));
  margin: 0;
  text-align: right;
  color: var(--hg-white);
  font: 600 calc(clamp(0.62rem, 0.72vw, 0.85rem) + 1px)/1.4 var(--hg-ui);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}
/* Explore More: centred at the bottom of the hero, rises in after the subtitle, arrow bobs, fills white on hover */
.hg-hero__cta-wrap {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: calc(var(--hg-dock-h) + 2.25rem);
  display: flex;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transform: translateY(18px);
  animation: hgRise 1s 1.1s var(--hg-ease) forwards;
}
.hg-hero__cta {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.45rem 0.45rem 0.45rem 1.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  color: var(--hg-white) !important;
  font: 500 calc(clamp(0.85rem, 0.95vw, 1rem) + 1px)/1 var(--hg-ui);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    background-color 0.35s var(--hg-ease),
    color 0.35s var(--hg-ease),
    border-color 0.35s;
}
.hg-hero__cta-ico {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--hg-white);
  color: var(--hg-leaf);
  transition:
    background-color 0.35s,
    color 0.35s;
}
.hg-hero__cta-ico svg {
  animation: hgBob 1.8s 2s var(--hg-ease) infinite;
}
/* Soft ring that ripples out from the arrow */
.hg-hero__cta-ico::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.7);
  animation: hgRipple 2.4s 2s ease-out infinite;
  opacity: 0;
}
.hg-hero__cta:hover {
  background: var(--hg-white);
  border-color: var(--hg-white);
  color: var(--hg-leaf) !important;
}
.hg-hero__cta:hover .hg-hero__cta-ico {
  background: var(--hg-green);
  color: var(--hg-white);
}
@keyframes hgBob {
  0%,
  100% {
    transform: translateY(-2px);
  }
  50% {
    transform: translateY(3px);
  }
}
@keyframes hgRipple {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.7);
    opacity: 0;
  }
}
@keyframes hgHeroZoom {
  to {
    transform: scale(1);
  }
}
/* Scale always exceeds the drift, so the photo's edges never show */
@keyframes hgHeroFloat {
  0%,
  100% {
    transform: scale(1) translate(0, 0);
  }
  25% {
    transform: scale(1.04) translate(-1%, -0.8%);
  }
  50% {
    transform: scale(1.06) translate(0.8%, -1.2%);
  }
  75% {
    transform: scale(1.03) translate(1%, 0.4%);
  }
}
@keyframes hgRise {
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes hgFade {
  to {
    opacity: 1;
  }
}

/* ---------- Chapter dock (fixed top bar — same design as the old bottom dock) ---------- */
.hg-dock {
  position: fixed;
  z-index: 1025;
  left: clamp(0.75rem, 1.6vw, 2rem);
  right: clamp(0.75rem, 1.6vw, 2rem);
  top: calc(clamp(0.75rem, 1.4vw, 1.75rem) + env(safe-area-inset-top, 0px));
  display: flex;
  gap: clamp(0.4rem, 1.2vw, 1.4rem);
  align-items: center;
  font-family: var(--hg-ui);
  pointer-events: none;
}
.hg-dock > * {
  pointer-events: auto;
}
.hg-dock__body {
  flex: 1;
  min-width: 0;
  display: flex;
  gap: clamp(0.4rem, 1.2vw, 1.4rem);
  align-items: center;
  transition:
    opacity 0.35s var(--hg-ease),
    transform 0.45s var(--hg-ease);
}
.hg-dock.is-collapsed .hg-dock__body {
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
  visibility: hidden;
  transition:
    opacity 0.35s var(--hg-ease),
    transform 0.45s var(--hg-ease),
    visibility 0s 0.45s;
}
.hg-dock__btn,
.hg-dock__rail {
  height: 48px;
  border-radius: 999px;
  background: var(--hg-glass);
  border: 1px solid var(--hg-glass-line);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(0, 66, 36, 0.12);
}
.hg-dock__btn {
  flex: none;
  width: 105px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--hg-leaf-ink) !important;
  transition:
    background-color 0.25s,
    color 0.25s,
    transform 0.25s var(--hg-ease);
}
.hg-dock__btn:hover {
  background: rgba(255, 255, 255, 0.85);
  transform: translateY(2px);
}
/* Logo button (replaces the old close button): white logo on British green */
.hg-dock__brand {
  background: var(--hg-green) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
}
.hg-dock__brand img {
  height: 38px;
  width: auto;
  display: block;
}
.hg-dock__brand:hover {
  background: var(--hg-green-2) !important;
}
/* Call button: the phone icon itself beats (double pulse with a slight tilt), then rests */
.hg-dock__call svg {
  transform-origin: 50% 50%;
  animation: hgCallBeat 2.2s ease-in-out infinite;
}
@keyframes hgCallBeat {
  0%,
  45%,
  100% {
    transform: scale(1) rotate(0);
  }
  10% {
    transform: scale(1.22) rotate(-12deg);
  }
  20% {
    transform: scale(1) rotate(0);
  }
  30% {
    transform: scale(1.15) rotate(10deg);
  }
}
/* Hamburger: phones only */
.hg-dock__menu {
  display: none !important;
}
.hg-dock__menu .hg-dock__ico-close {
  display: none;
}
.hg-dock.is-open .hg-dock__menu .hg-dock__ico-open {
  display: none;
}
.hg-dock.is-open .hg-dock__menu .hg-dock__ico-close {
  display: block;
}

.hg-dock__rail {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hg-dock__track {
  flex: 1;
  min-width: 0;
  height: 100%;
  display: flex;
  align-items: center;
  gap: clamp(0.25rem, 1.4vw, 1.9rem);
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 0 5px;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 var(--fade-l, 0px),
    #000 calc(100% - var(--fade-r, 0px)),
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 var(--fade-l, 0px),
    #000 calc(100% - var(--fade-r, 0px)),
    transparent 100%
  );
}
.hg-dock__track::-webkit-scrollbar {
  display: none;
}
.hg-dock__rail.can-prev .hg-dock__track {
  --fade-l: 3rem;
}
.hg-dock__rail.can-next .hg-dock__track {
  --fade-r: 3rem;
}
.hg-dock__link {
  flex: none;
  display: inline-flex;
  align-items: center;
  height: 35px;
  padding: 0 1rem;
  border-radius: 999px;
  font: 500 calc(clamp(1rem, 1.15vw, 1.3rem) + 1px)/1 var(--hg-ui);
  color: var(--hg-leaf-ink) !important;
  white-space: nowrap;
  transition:
    background-color 0.3s,
    color 0.3s,
    box-shadow 0.3s;
}
.hg-dock__link:hover {
  background: rgba(255, 255, 255, 0.55);
}
.hg-dock__link.is-active {
  background: var(--hg-green);
  color: var(--hg-white) !important;
  box-shadow:
    inset 0 0 0 2px var(--hg-white),
    0 0 0 1.5px #002a18;
}
.hg-dock__arrow {
  position: absolute;
  top: 50%;
  z-index: 1;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.95);
  color: var(--hg-leaf-ink);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.hg-dock__arrow--prev {
  left: 6px;
}
.hg-dock__arrow--next {
  right: 6px;
}
.hg-dock__rail.can-prev .hg-dock__arrow--prev,
.hg-dock__rail.can-next .hg-dock__arrow--next {
  opacity: 1;
  pointer-events: auto;
}

/* ---------- Paper slide (Wellness Capital) ---------- */
.hg-slide {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: var(--hg-paper);
  padding: clamp(4rem, 8vh, 5.5rem) clamp(1.5rem, 4vw, 4rem)
    calc(var(--hg-dock-h) + 3.5rem) clamp(4.5rem, 3.1vw, 11rem);
  display: flex;
  align-items: center;
  font-family: var(--hg-ui);
}
.hg-slide__tagline {
  position: absolute;
  z-index: 2;
  left: clamp(2.2rem, 3.4vw, 4rem);
  bottom: calc(var(--hg-dock-h) + 2.5rem);
  margin: 0;
  transform-origin: left bottom;
  transform: rotate(-90deg) translateY(100%);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
  font: 400 calc(clamp(0.72rem, 0.85vw, 0.95rem) + 1px)/1 var(--hg-ui);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(107, 51, 37, 0.8);
}
.hg-slide__tagline::after {
  content: "";
  width: clamp(3rem, 5vw, 6rem);
  height: 1px;
  background: rgba(107, 51, 37, 0.35);
  margin-left: 0.8rem;
}
.hg-slide__tagline span {
  opacity: 0.7;
}
.hg-slide__logo {
  position: absolute;
  z-index: 2;
  top: clamp(1.5rem, 4.5vh, 2.75rem);
  left: clamp(4.5rem, 3.1vw, 11rem);
}
.hg-slide__logo .hg-brand-text {
  font-size: clamp(1rem, 1.6vw, 1.6rem);
}
/* Landscape visual, feathered into the paper like an illustration */
.hg-slide__visual {
  position: absolute;
  z-index: 0;
  right: 0;
  top: 10%;
  bottom: calc(var(--hg-dock-h) + 0.5rem);
  width: 54%;
}
.hg-slide__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 50%;
  filter: saturate(0.85) sepia(0.08);
  -webkit-mask-image: radial-gradient(
    ellipse 85% 72% at 80% 55%,
    #000 28%,
    rgba(0, 0, 0, 0.55) 52%,
    transparent 74%
  );
  mask-image: radial-gradient(
    ellipse 85% 72% at 80% 55%,
    #000 28%,
    rgba(0, 0, 0, 0.55) 52%,
    transparent 74%
  );
}
.hg-slide__content {
  position: relative;
  z-index: 1;
  max-width: min(52%, 50rem);
}
.hg-slide__eyebrow {
  margin: 0 0 1.25rem;
  font: 500 calc(clamp(1.4rem, 2.1vw, 2.6rem) + 1px)/1.1 var(--hg-ui);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--hg-leaf);
}
.hg-slide__eyebrow {
  display: flex;
  align-items: center;
  gap: 0;
}
.hg-slide__title {
  margin: 0 0 1.75rem;
  font: var(--hg-h2);
  letter-spacing: 0;
  color: var(--hg-leaf);
}
.hg-slide__text {
  margin: 0 0 2.5rem;
  font: 400 calc(clamp(1rem, 1.25vw, 1.45rem) + 1px)/1.5 var(--hg-ui);
  color: var(--hg-leaf-ink);
}
.hg-slide__facts {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 4.5rem);
  margin: 0;
}
.hg-slide__facts div {
  padding-left: 1.1rem;
  border-left: 1px solid rgba(134, 62, 43, 0.35);
}
.hg-slide__facts dt {
  margin-bottom: 0.45rem;
  font: 500 calc(clamp(0.7rem, 0.75vw, 0.85rem) + 1px)/1 var(--hg-ui);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(107, 51, 37, 0.75);
}
.hg-slide__facts dd {
  margin: 0;
  font: 500 calc(clamp(1.5rem, 2.1vw, 2.5rem) + 1px)/1.1 var(--hg-ui);
  color: var(--hg-leaf);
  white-space: nowrap;
}
.hg-slide__facts small {
  font-size: 0.5em;
  font-weight: 400;
  color: var(--hg-leaf-ink);
}
/* Pre-launch offer card */
.hg-offer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.15rem 1.5rem;
  max-width: 520px;
  margin-top: clamp(1.5rem, 3vh, 2.25rem);
  padding: 1.1rem 1.25rem 1.1rem 1.4rem;
  border: 1px solid rgba(134, 62, 43, 0.3);
  border-left: 4px solid var(--hg-leaf);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.55);
  font-family: var(--hg-ui);
  color: var(--hg-leaf-ink);
}
.hg-offer > p {
  grid-column: 1;
  margin: 0;
}
.hg-offer__tag {
  font: 600 calc(0.68rem + 1px)/1.3 var(--hg-ui);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(134, 62, 43, 0.8);
}
.hg-offer__title {
  margin: 0.2rem 0 !important;
  font: italic 400 clamp(1.4rem, 1.7vw, 1.8rem)/1.15 var(--hg-serif);
  color: var(--hg-leaf);
}
.hg-offer__eoi {
  font: 400 calc(0.92rem + 1px)/1.4 var(--hg-ui);
}
.hg-offer__eoi strong {
  font-weight: 600;
  color: var(--hg-leaf);
}
.hg-offer__cta {
  grid-column: 2;
  grid-row: 1 / span 3;
  padding: 0.75rem 1.25rem;
  border: 0;
  border-radius: 999px;
  background: var(--hg-green);
  color: var(--hg-white);
  font: 500 calc(0.72rem + 1px)/1 var(--hg-ui);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.25s;
}
.hg-offer__cta:hover {
  background: var(--hg-green);
}
.hg-slide__note {
  margin: 1.75rem 0 0;
  font-size: calc(0.72rem + 1px);
  color: rgba(107, 51, 37, 0.7);
}
.hg-slide__cta {
  margin-top: 2rem;
}

/* ---------- Split slide (Space. Time. Nature.) ---------- */
.hg-split {
  min-height: 100vh;
  min-height: 100svh;
  font-family: var(--hg-ui);
  background: var(--hg-paper);
  padding: clamp(3rem, 7vh, 6rem) clamp(1.25rem, 6vw, 7rem)
    calc(var(--hg-dock-h) + 3rem);
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Text-only editorial layout: centred heading, two copy columns, stat band */
.hg-split__body {
  width: 100%;
  max-width: 1180px;
  color: var(--hg-leaf-ink);
}
.hg-split__head {
  text-align: center;
  margin-bottom: clamp(2rem, 5vh, 3.75rem);
}
.hg-split__title {
  margin: 0 0 0.6rem;
  font: italic 400 clamp(2.4rem, 4vw, 4.6rem)/1.05 var(--hg-serif);
  letter-spacing: 0;
  color: var(--hg-leaf);
}
.hg-split__sub {
  margin: 0;
  font: 500 calc(clamp(1.05rem, 1.4vw, 1.6rem) + 1px)/1.3 var(--hg-ui);
  letter-spacing: 0.04em;
  color: var(--hg-leaf);
  opacity: 0.85;
}
/* Intro copy: one centred box */
.hg-split__box {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(1.75rem, 4vh, 2.75rem) clamp(1.25rem, 4vw, 3.5rem);
  border: 1px solid rgba(134, 62, 43, 0.2);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.35);
  text-align: center;
}
.hg-split__text {
  margin: 0 0 1rem;
  font: 400 calc(clamp(0.98rem, 1.05vw, 1.2rem) + 1px)/1.6 var(--hg-ui);
}
.hg-split__quote {
  margin: 1.5rem auto 0;
  padding-top: 1.25rem;
  max-width: 40ch;
  border-top: 1px solid rgba(134, 62, 43, 0.25);
  font: 500 calc(clamp(1.05rem, 1.2vw, 1.35rem) + 1px)/1.45 var(--hg-ui);
  color: var(--hg-leaf);
}
.hg-split__eyebrow {
  margin: 0 0 0.75rem;
  font: 600 calc(clamp(0.72rem, 0.75vw, 0.85rem) + 1px)/1.3 var(--hg-ui);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hg-leaf);
}
/* Static stat band — large figures with a label underneath, divided by hairlines */
.hg-split__stats {
  list-style: none;
  padding: 0;
  margin: clamp(2rem, 5vh, 3.5rem) 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(134, 62, 43, 0.2);
  border-bottom: 1px solid rgba(134, 62, 43, 0.2);
}
.hg-split__stats li {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: clamp(1.25rem, 3vh, 2rem) clamp(0.75rem, 1.5vw, 1.5rem);
  font: 400 calc(clamp(0.85rem, 0.9vw, 1rem) + 1px)/1.35 var(--hg-ui);
  text-align: center;
}
.hg-split__stats li + li {
  border-left: 1px solid rgba(134, 62, 43, 0.2);
}
/* Leaf accent above each highlight */
.hg-split__stats li::before {
  content: "";
  align-self: center;
  width: clamp(40px, 3.4vw, 56px);
  aspect-ratio: 96 / 95;
  background: url("../imgs/Centre-Leaves1.png") center / contain no-repeat;
}
.hg-split__stats strong {
  font: 500 calc(clamp(1.8rem, 2.6vw, 3rem) + 1px)/1 var(--hg-ui);
  letter-spacing: -0.01em;
  color: var(--hg-leaf);
  white-space: nowrap;
}

/* ---------- Shared chips ---------- */
.hg-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.hg-chip {
  padding: 0.7rem 1.2rem;
  border-radius: 12px;
  border: 1px solid rgba(134, 62, 43, 0.22);
  background: rgba(255, 255, 255, 0.35);
  font: 500 calc(clamp(0.85rem, 0.9vw, 1.05rem) + 1px)/1.1 var(--hg-ui);
  color: var(--hg-leaf-ink);
  text-align: left;
  transition:
    background-color 0.25s,
    color 0.25s,
    border-color 0.25s;
}
.hg-chip:hover {
  background: rgba(255, 255, 255, 0.75);
}
.hg-chip.is-active {
  background: var(--hg-green);
  border-color: var(--hg-green);
  color: var(--hg-white);
}
.hg-slide-logo,
.hg-mplan__logo img,
.hg-gallery2__logo img,
.hg-plots__logo img,
.hg-why__logo img,
.hg-pillars__logo img {
  height: clamp(34px, 3.6vw, 70px);
  width: auto;
  display: block;
}
.hg-mplan__logo .hg-brand-text,
.hg-gallery2__logo .hg-brand-text,
.hg-plots__logo .hg-brand-text,
.hg-why__logo .hg-brand-text,
.hg-pillars__logo .hg-brand-text {
  font-size: clamp(0.95rem, 1.4vw, 1.4rem);
}
.hg-mplan,
.hg-plots,
.hg-amen,
.hg-loc {
  min-height: 100vh;
  min-height: 100svh;
  font-family: var(--hg-ui);
  background: var(--hg-paper);
  color: var(--hg-leaf-ink);
  padding: clamp(1rem, 1.6vw, 2rem) clamp(1.25rem, 2.2vw, 2.75rem)
    calc(var(--hg-dock-h) + 2.5rem);
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 2vw, 2.5rem);
  align-items: stretch;
}

/* ---------- Master plan ---------- */
.hg-mplan {
  align-items: center;
}
.hg-mplan__figure {
  position: relative;
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 2406 / 1355;
}
/* Plan is blurred until the final master plan is released; scale hides the soft blur edge */
.hg-mplan__figure > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: blur(6px);
  transform: scale(1.06);
}
.hg-pin {
  position: absolute;
  z-index: 1;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  padding: 0;
  border-radius: 50%;
  border: 3px solid var(--hg-white);
  background: var(--hg-green);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  opacity: 0.6;
  transition:
    opacity 0.25s,
    transform 0.25s var(--hg-ease);
}
.hg-pin span {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translate(-50%, 6px);
  white-space: nowrap;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: var(--hg-white);
  color: var(--hg-leaf);
  font: 600 calc(0.8rem + 1px)/1 var(--hg-ui);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.25s,
    transform 0.25s var(--hg-ease);
}
.hg-pin:hover,
.hg-pin.is-active {
  opacity: 1;
  transform: scale(1.15);
}
.hg-pin.is-active {
  background: #e59a3a;
  animation: hgPulse 1.8s infinite;
}
.hg-pin.is-active span,
.hg-pin:hover span {
  opacity: 1;
  transform: translate(-50%, 0);
}
@keyframes hgPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(229, 154, 58, 0.6);
  }
  100% {
    box-shadow: 0 0 0 16px rgba(229, 154, 58, 0);
  }
}
.hg-mplan__zoom {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.92);
  color: var(--hg-leaf);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}
.hg-mplan__body,
.hg-plots__body,
.hg-amen__body,
.hg-loc__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.hg-mplan__logo,
.hg-plots__logo {
  align-self: flex-end;
  margin-bottom: 1.5rem;
}
.hg-mplan__title {
  margin: 0 0 0.9rem;
  font: var(--hg-h2);
  letter-spacing: 0;
  color: var(--hg-leaf);
}
.hg-mplan__text {
  margin: 0 0 0.9rem;
  font: 400 calc(clamp(0.92rem, 0.95vw, 1.1rem) + 1px)/1.5 var(--hg-ui);
}
.hg-mplan__lead {
  margin: 0 0 1rem;
  font: 600 calc(clamp(0.98rem, 1.05vw, 1.2rem) + 1px)/1.4 var(--hg-ui);
  color: var(--hg-leaf);
}
.hg-mplan__facts {
  display: flex;
  gap: 1.75rem;
  margin: 0 0 1.5rem;
}
.hg-mplan__facts div {
  padding-left: 0.9rem;
  border-left: 1px solid rgba(134, 62, 43, 0.35);
}
.hg-mplan__facts dt {
  margin-bottom: 0.35rem;
  font: 500 calc(0.72rem + 1px)/1 var(--hg-ui);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(107, 51, 37, 0.75);
}
.hg-mplan__facts dd {
  margin: 0;
  font: 600 calc(clamp(1.3rem, 1.6vw, 1.9rem) + 1px)/1 var(--hg-ui);
  color: var(--hg-leaf);
}
.hg-mplan__features {
  list-style: none;
  padding: 0;
  margin: -0.5rem 0 1.5rem;
  display: grid;
  gap: 0.45rem;
}
.hg-mplan__features li {
  position: relative;
  padding-left: 1.1rem;
  font: 400 calc(clamp(0.9rem, 0.95vw, 1.05rem) + 1px)/1.4 var(--hg-ui);
  color: var(--hg-leaf-ink);
}
.hg-mplan__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hg-green);
}
.hg-mplan__features strong {
  font-weight: 600;
  color: var(--hg-leaf);
}
/* Rotating stage: photos sharp, the master plan keeps its blur; cross-fade on change */
.hg-mplan__figure--show > img {
  filter: none;
  transform: none;
  transition: opacity 0.35s;
}
.hg-mplan__figure--show.is-plan > img {
  filter: blur(6px);
  transform: scale(1.06);
}
.hg-mplan__figure--show.is-swapping > img {
  opacity: 0;
}
.hg-mplan__facts [data-mplan-item] {
  cursor: pointer;
  transition: opacity 0.25s;
}
.hg-mplan__facts [data-mplan-item]:not(.is-active) {
  opacity: 0.6;
}
.hg-mplan__features button {
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  font: inherit;
  color: inherit;
  transition: color 0.2s;
}
.hg-mplan__features li {
  transition: opacity 0.25s;
}
.hg-mplan__features li:not(.is-active) {
  opacity: 0.6;
}
.hg-mplan__features li.is-active::before {
  transform: scale(1.5);
  background: var(--hg-leaf);
}
.hg-mplan__facts dt {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: calc(0.9rem + 1px);
}
.hg-mplan__facts dt .hg-leaf {
  width: 1.6em;
  margin-right: 0;
}
.hg-mplan__facts dd {
  font-size: calc(clamp(1.5rem, 1.9vw, 2.2rem) + 1px);
}
.hg-mplan__cta {
  margin-top: 1.75rem;
}
/* Master plan + plot selector read as one "Plots" chapter */
.hg-mplan + .hg-plots {
  padding-top: 0;
}

/* ---------- Gallery (Designed By Nature) ---------- */
.hg-gallery2 {
  min-height: 100vh;
  min-height: 100svh;
  font-family: var(--hg-ui);
  background: var(--hg-paper);
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.25rem, 2.2vw, 2.75rem)
    calc(var(--hg-dock-h) + 3rem);
}
.hg-gallery2 {
  display: flex;
  align-items: center;
}
/* Carousel: prev peek | main image | text panel | next peek */
.hg-gal {
  width: 100%;
  display: grid;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2.75rem);
  grid-template-columns: clamp(44px, 5vw, 90px) minmax(0, 1.45fr) minmax(
      0,
      1fr
    ) clamp(44px, 5vw, 90px);
}
.hg-gal__peek {
  align-self: center;
  height: 72%;
  padding: 0;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  background: none;
  cursor: pointer;
  opacity: 0.75;
  transition:
    opacity 0.3s,
    transform 0.4s var(--hg-ease);
}
.hg-gal__peek--prev {
  align-self: start;
  margin-top: 6%;
}
.hg-gal__peek img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hg-gal__peek:hover {
  opacity: 1;
  transform: scale(1.03);
}
.hg-gal__stage {
  position: relative;
  margin: 0;
  height: min(72vh, 660px);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 66, 36, 0.18);
}
.hg-gal__main {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: none;
  cursor: zoom-in;
}
.hg-gal__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hg-gal__peek {
  position: relative;
}
/* The image sliding in sits over the outgoing one until the move finishes */
.hg-gal .hg-gal__incoming {
  position: absolute;
  inset: 0;
}
.hg-gal__note {
  position: absolute;
  left: 0.9rem;
  bottom: 0.7rem;
  margin: 0;
  font: 400 calc(0.62rem + 1px)/1 var(--hg-ui);
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}
.hg-gal__panel {
  color: var(--hg-leaf-ink);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hg-gal__eyebrow {
  margin: 0 0 0.9rem;
  font: 600 calc(clamp(0.7rem, 0.75vw, 0.82rem) + 1px)/1 var(--hg-ui);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(134, 62, 43, 0.75);
}
.hg-gal__heading {
  margin: 0 0 0.4rem;
  font: italic 400 clamp(1.8rem, 2.4vw, 2.7rem)/1.1 var(--hg-serif);
  letter-spacing: 0;
  color: var(--hg-leaf);
}
.hg-gal__sub {
  margin: 0;
  font: 400 calc(clamp(0.95rem, 1vw, 1.1rem) + 1px)/1.4 var(--hg-ui);
}
.hg-gal__slide {
  width: 100%;
  margin-top: clamp(1.25rem, 3vh, 2rem);
  padding-top: clamp(1.25rem, 3vh, 2rem);
  border-top: 1px solid rgba(134, 62, 43, 0.2);
}
.hg-gal__count {
  margin: 0 0 0.5rem;
  font: 500 calc(0.75rem + 1px)/1 var(--hg-ui);
  letter-spacing: 0.18em;
  color: rgba(134, 62, 43, 0.7);
}
.hg-gal__count span {
  color: var(--hg-leaf);
  font-weight: 700;
}
.hg-gal__title {
  margin: 0 0 0.5rem;
  font: 600 clamp(1.05rem, 1.2vw, 1.35rem)/1.25 var(--hg-ui);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hg-leaf);
}
.hg-gal__text {
  margin: 0;
  min-height: 3em;
  font: 400 calc(clamp(0.9rem, 0.95vw, 1.05rem) + 1px)/1.5 var(--hg-ui);
}
.hg-gal__list {
  list-style: none;
  padding: 0;
  margin: 1.1rem 0 0;
  display: grid;
  gap: 0.15rem;
}
.hg-gal__list button {
  position: relative;
  padding: 0.2rem 0 0.2rem 1.1rem;
  border: 0;
  background: none;
  text-align: left;
  font: 400 calc(clamp(0.82rem, 0.85vw, 0.95rem) + 1px)/1.35 var(--hg-ui);
  color: rgba(107, 51, 37, 0.75);
  transition: color 0.2s;
}
.hg-gal__list button::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  margin-top: -2.5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
}
.hg-gal__list button:hover,
.hg-gal__list button.is-active {
  color: var(--hg-leaf);
}
.hg-gal__list button.is-active {
  font-weight: 600;
}
.hg-gal__list button.is-active::before {
  opacity: 1;
}
/* "—— PREV  NEXT ——" controls */
.hg-gal__nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: clamp(1.5rem, 3.5vh, 2.25rem);
}
.hg-gal__nav::before,
.hg-gal__nav::after {
  content: "";
  width: clamp(2.5rem, 4vw, 4rem);
  height: 1px;
  background: rgba(134, 62, 43, 0.45);
}
.hg-gal__nav button {
  padding: 0.25rem 0;
  border: 0;
  background: none;
  font: 600 calc(0.72rem + 1px)/1 var(--hg-ui);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--hg-leaf);
}
.hg-gal__nav button:hover {
  opacity: 0.65;
}
/* Get Brochure: same green pill as the other CTAs (.hg-btn--dark), with an arrow */
.hg-gal__cta {
  gap: 0.6rem;
  margin-top: 1.5rem;
}
.hg-gal__cta svg {
  transition: transform 0.25s;
}
.hg-gal__cta:hover svg {
  transform: translateX(3px);
}

/* ---------- FAQs ---------- */
.hg-faq {
  background: var(--hg-paper);
  font-family: var(--hg-ui);
  color: var(--hg-leaf-ink);
  padding: clamp(3rem, 7vh, 5rem) clamp(1.25rem, 3vw, 3.5rem)
    calc(var(--hg-dock-h) + 3rem);
}
.hg-faq__inner {
  max-width: 1180px;
  margin: 0 auto;
}
.hg-faq__head {
  margin-bottom: clamp(1.5rem, 3vh, 2.25rem);
}
.hg-faq__title {
  margin: 0 0 0.4rem;
  font: var(--hg-h2);
  letter-spacing: 0;
  color: var(--hg-leaf);
}
.hg-faq__sub {
  margin: 0;
  font: 400 calc(clamp(1rem, 1.25vw, 1.4rem) + 1px)/1.4 var(--hg-ui);
  color: var(--hg-leaf-ink);
}
.hg-faq__item {
  border-bottom: 1px dashed rgba(134, 62, 43, 0.45);
}
.hg-faq__item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.05rem 0.9rem;
  cursor: pointer;
  list-style: none;
  font: 500 calc(clamp(1rem, 1.1vw, 1.2rem) + 1px)/1.35 var(--hg-ui);
  color: var(--hg-leaf-ink);
  transition: color 0.2s;
}
.hg-faq__item summary::-webkit-details-marker {
  display: none;
}
.hg-faq__item summary::after {
  content: "";
  flex: none;
  width: 0.5rem;
  height: 0.5rem;
  margin-top: -0.25rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.3s var(--hg-ease);
}
.hg-faq__item[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 0.25rem;
}
.hg-faq__item summary:hover,
.hg-faq__item[open] summary {
  color: var(--hg-leaf);
}
.hg-faq__item p {
  margin: 0;
  padding: 0 0.9rem 1.2rem;
  max-width: 70ch;
  font: 400 calc(clamp(0.9rem, 0.95vw, 1.05rem) + 1px)/1.6 var(--hg-ui);
}

/* ---------- Plots (Your Land. Your World.) ---------- */
.hg-plots__panel {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border-radius: 28px;
  background: rgba(208, 197, 180, 0.45);
}
.hg-plots__bar {
  border-radius: 18px 18px 0 0;
  background: rgba(208, 197, 180, 0.95);
  padding: 1.1rem 1.5rem;
  text-align: center;
}
.hg-plots__current {
  margin: 0;
  font: 400 calc(clamp(1rem, 1.1vw, 1.3rem) + 1px)/1.3 var(--hg-ui);
}
.hg-plots__current strong {
  font-weight: 600;
  color: var(--hg-leaf);
  margin-right: 0.4rem;
}
.hg-plots__figure {
  flex: 1;
  margin: 0;
  min-height: 300px;
  border-radius: 0 0 22px 22px;
  overflow: hidden;
  background: var(--hg-white);
}
.hg-plots__zoom {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}
.hg-plots__zoom img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hg-plots__title {
  margin: 0 0 1.5rem;
  font: var(--hg-h2);
  letter-spacing: 0;
  color: var(--hg-leaf);
}
.hg-plots__label {
  margin: 0 0 0.8rem;
  font: 500 calc(clamp(1rem, 1.1vw, 1.3rem) + 1px)/1 var(--hg-ui);
  text-transform: uppercase;
  color: var(--hg-leaf);
}
.hg-seg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
  padding: 0.35rem;
  margin-bottom: 1.75rem;
  border-radius: 999px;
  background: rgba(208, 197, 180, 0.6);
}
.hg-seg__btn {
  padding: 0.85rem 0.5rem;
  border: 0;
  border-radius: 999px;
  background: none;
  font: 500 calc(clamp(0.9rem, 0.95vw, 1.1rem) + 1px)/1 var(--hg-ui);
  color: var(--hg-leaf-ink);
  transition:
    background-color 0.25s,
    color 0.25s;
}
.hg-seg__btn:hover {
  background: rgba(255, 255, 255, 0.55);
}
.hg-seg__btn.is-active {
  background: var(--hg-green);
  color: var(--hg-white);
}
.hg-plots__tablewrap {
  overflow-x: auto;
  margin-bottom: 1.75rem;
  border-radius: 18px;
  border: 1px solid rgba(134, 62, 43, 0.15);
}
.hg-plots__table {
  width: 100%;
  border-collapse: collapse;
  font: 400 calc(clamp(0.9rem, 0.95vw, 1.1rem) + 1px)/1.3 var(--hg-ui);
}
.hg-plots__table th {
  padding: 1rem 1.25rem;
  text-align: left;
  font-weight: 400;
  background: rgba(208, 197, 180, 0.75);
}
.hg-plots__table td {
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(134, 62, 43, 0.12);
  background: rgba(255, 255, 255, 0.3);
  transition:
    background-color 0.25s,
    color 0.25s;
}
.hg-plots__table th:last-child,
.hg-plots__table td:last-child {
  text-align: right;
  white-space: nowrap;
}
.hg-plots__table tr.is-active td {
  background: rgba(134, 62, 43, 0.12);
  color: var(--hg-leaf);
  font-weight: 600;
}
.hg-plots__cta,
.hg-cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.8rem;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: var(--hg-green);
  color: var(--hg-white) !important;
  font: 600 calc(clamp(0.95rem, 1vw, 1.15rem) + 1px)/1 var(--hg-ui);
  transition:
    background-color 0.25s,
    transform 0.25s var(--hg-ease);
}
.hg-plots__cta:hover,
.hg-cta:hover {
  background: var(--hg-green-2);
  transform: translateY(-2px);
}

/* ---------- Amenities (The Life Around Your Land) ---------- */
.hg-amen__stage {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: 420px;
}
.hg-amen__stage > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.35s;
}
.hg-amen__stage.is-swapping > img {
  opacity: 0;
}
.hg-amen__card {
  position: absolute;
  left: clamp(1rem, 2.4vw, 2.5rem);
  bottom: clamp(1rem, 2.4vw, 2.5rem);
  max-width: min(34rem, 80%);
  padding: clamp(1.1rem, 2vw, 2rem) clamp(1.25rem, 2.2vw, 2.25rem);
  border-radius: 22px;
  background: rgba(250, 248, 242, 0.9);
  backdrop-filter: blur(6px);
}
.hg-amen__name {
  margin: 0;
  font: italic 400 clamp(1.6rem, 2.3vw, 2.6rem)/1.15 var(--hg-serif);
  color: var(--hg-leaf);
}
.hg-amen__title {
  margin: 0 0 0.5rem;
  font: var(--hg-h2);
  letter-spacing: 0;
  color: var(--hg-leaf);
}
.hg-amen__lead {
  margin: 0 0 0.5rem;
  font: 400 calc(clamp(0.95rem, 1vw, 1.15rem) + 1px)/1.5 var(--hg-ui);
}
.hg-amen__text {
  margin: 0 0 1.4rem;
  font: 400 calc(0.9rem + 1px)/1.5 var(--hg-ui);
  color: var(--hg-muted);
}
.hg-amen__body .hg-chips {
  margin-bottom: 1.25rem;
}
.hg-amen__desc {
  margin: 0.7rem 0 0;
  font: 400 calc(clamp(0.9rem, 0.95vw, 1.05rem) + 1px)/1.6 var(--hg-ui);
  color: var(--hg-muted);
}
.hg-amen__thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  max-height: min(58vh, 34rem);
  overflow-y: auto;
  padding: 3px;
  margin: -3px;
  scrollbar-width: thin;
  scrollbar-color: rgba(134, 62, 43, 0.35) transparent;
}
/* Amenity list (gallery style): text items, the active one drives the big image */
.hg-amen__list {
  grid-template-columns: 1fr;
  gap: 0.15rem;
}
.hg-thumb {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.2rem;
  border: 0;
  background: none;
  text-align: left;
  font: 400 calc(clamp(0.9rem, 0.95vw, 1.05rem) + 1px)/1.35 var(--hg-ui);
  color: rgba(107, 51, 37, 0.75);
  transition: color 0.2s;
}
.hg-thumb::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
  transition: transform 0.25s, opacity 0.25s;
}
.hg-thumb:hover,
.hg-thumb.is-active {
  color: var(--hg-leaf);
}
.hg-thumb.is-active {
  font-weight: 700;
}
.hg-thumb.is-active::before {
  opacity: 1;
  background: var(--hg-green);
  transform: scale(1.4);
}
.hg-amen__note {
  z-index: 1;
  top: 0.9rem;
  bottom: auto;
}

/* ---------- Why Khopoli. Why Now. ---------- */
.hg-why {
  min-height: 100vh;
  min-height: 100svh;
  font-family: var(--hg-ui);
  background: var(--hg-paper);
  color: var(--hg-leaf-ink);
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.25rem, 2.2vw, 2.75rem)
    calc(var(--hg-dock-h) + 3rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
}
.hg-why__col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.hg-why__col > p {
  margin: 0 0 1rem;
  font: 400 calc(clamp(0.88rem, 0.9vw, 1rem) + 1px)/1.6 var(--hg-ui);
}
.hg-why__col strong {
  color: var(--hg-leaf);
  font-weight: 600;
}
.hg-why__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}
.hg-why__title {
  margin: 0 0 0.75rem;
  font: var(--hg-h2);
  letter-spacing: 0;
  color: var(--hg-leaf);
}
.hg-why__col > .hg-why__kicker {
  margin-bottom: 0.2rem;
  font: 600 calc(clamp(1.1rem, 1.3vw, 1.45rem) + 1px)/1.3 var(--hg-ui);
  color: var(--hg-leaf);
}
.hg-why__col > .hg-why__tagline {
  margin-bottom: 1.1rem;
  font: italic 400 calc(clamp(1rem, 1.15vw, 1.3rem) + 1px)/1.35 var(--hg-ui);
  color: var(--hg-leaf);
}
.hg-why__media {
  flex: 1;
  margin: 0.5rem 0 0;
  min-height: 220px;
  max-height: 38vh;
  border-radius: 26px;
  overflow: hidden;
}
.hg-why__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hg-why__panel {
  margin-top: 0.75rem;
  padding: clamp(1rem, 2vw, 1.75rem);
  border-radius: 24px;
  border: 1px solid rgba(134, 62, 43, 0.15);
  background: rgba(250, 248, 242, 0.6);
}
/* Schedule a Site Visit: slim one-line strip under the Why Now points */
.hg-visit {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 0.75rem;
  padding: 0.6rem 0.6rem 0.6rem 0.75rem;
  border-radius: 999px;
  background: var(--hg-green);
  color: #fff;
}
.hg-visit__ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}
.hg-visit__text {
  flex: 1;
  min-width: 0;
  margin: 0;
  font: 400 calc(clamp(0.8rem, 0.85vw, 0.95rem) + 1px)/1.3 var(--hg-ui);
  color: rgba(255, 255, 255, 0.8);
}
.hg-why__col .hg-visit__title,
.hg-visit__title {
  display: block;
  font: italic 400 clamp(1.15rem, 1.35vw, 1.45rem)/1.15 var(--hg-serif);
  color: #fff;
}
.hg-visit__cta {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 1.15rem;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--hg-green);
  font: 700 calc(0.7rem + 1px)/1 var(--hg-ui);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background-color 0.25s, color 0.25s;
}
.hg-visit__cta svg {
  transition: transform 0.25s;
}
.hg-visit__cta:hover {
  background: var(--hg-cream);
}
.hg-visit__cta:hover svg {
  transform: translateX(3px);
}
@media (max-width: 575.98px) {
  .hg-visit__sub {
    display: none;
  }
}
.hg-why__points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
}
.hg-why__points li {
  display: flex;
  gap: 1.25rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(134, 62, 43, 0.14);
}
.hg-why__points li:last-child {
  border-bottom: 0;
}
.hg-why__num {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--hg-green);
  color: var(--hg-white);
  font: 600 calc(0.85rem + 1px)/1 var(--hg-ui);
}
.hg-why__points h4 {
  margin: 0 0 0.3rem;
  font: 600 calc(clamp(1rem, 1.1vw, 1.25rem) + 1px)/1.25 var(--hg-ui);
  color: var(--hg-leaf);
}
.hg-why__points p {
  margin: 0;
  font: italic 400 calc(clamp(0.88rem, 0.92vw, 1.02rem) + 1px)/1.45 var(--hg-ui);
}

/* ---------- Investment pillars (text-only numbered cards) ---------- */
.hg-pillars {
  min-height: 100vh;
  min-height: 100svh;
  font-family: var(--hg-ui);
  background: var(--hg-paper);
  color: var(--hg-leaf-ink);
  padding: clamp(3rem, 6vw, 6rem) clamp(1.25rem, 3.5vw, 4.5rem)
    calc(var(--hg-dock-h) + 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(2rem, 4vw, 3.5rem);
}
.hg-pillars__head {
  max-width: 40rem;
}
.hg-pillars__eyebrow {
  margin: 0 0 0.75rem;
  font: 600 calc(0.78rem + 1px)/1 var(--hg-ui);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(107, 51, 37, 0.75);
}
.hg-pillars__title {
  margin: 0;
  font: var(--hg-h2);
  letter-spacing: 0;
  color: var(--hg-leaf);
}
.hg-pillars__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 1.6vw, 1.75rem);
}
.hg-pillar {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 26rem;
  overflow: hidden;
  padding: clamp(1.5rem, 2vw, 2.25rem);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(134, 62, 43, 0.14);
  transition:
    background-color 0.4s var(--hg-ease),
    color 0.4s var(--hg-ease),
    transform 0.4s var(--hg-ease),
    box-shadow 0.4s var(--hg-ease);
}
/* Accent rule that grows across the top on hover */
.hg-pillar::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 3px;
  width: 3rem;
  background: var(--hg-green);
  transition:
    width 0.5s var(--hg-ease),
    background-color 0.4s;
}
.hg-pillar:hover {
  background: var(--hg-green);
  color: rgba(255, 255, 255, 0.88);
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(0, 66, 36, 0.22);
}
.hg-pillar:hover::before {
  width: 100%;
  background: #dfd9cf;
}
.hg-pillar__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.hg-pillar__icon {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: rgba(134, 62, 43, 0.1);
  color: var(--hg-leaf);
  transition:
    background-color 0.4s,
    color 0.4s;
}
.hg-pillar:hover .hg-pillar__icon {
  background: rgba(255, 255, 255, 0.14);
  color: var(--hg-white);
}
.hg-pillar__num {
  font: 600 calc(clamp(3rem, 4.4vw, 4.75rem) + 1px)/0.85 var(--hg-ui);
  letter-spacing: -0.03em;
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(134, 62, 43, 0.45);
  transition: -webkit-text-stroke-color 0.4s;
}
.hg-pillar:hover .hg-pillar__num {
  -webkit-text-stroke-color: rgba(255, 255, 255, 0.55);
}
.hg-pillar__title {
  margin: 0 0 0.75rem;
  font: 600 clamp(1.1rem, 1.35vw, 1.5rem)/1.2 var(--hg-ui);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--hg-leaf);
  transition: color 0.4s;
}
.hg-pillar:hover .hg-pillar__title {
  color: var(--hg-white);
}
.hg-pillar__lead {
  margin: 0 0 0.6rem;
  font: 600 calc(clamp(0.92rem, 0.98vw, 1.08rem) + 1px)/1.45 var(--hg-ui);
}
/* Figure + caption pairs */
.hg-pillar__stat {
  margin: 0 0 1rem;
  font: 400 calc(clamp(0.88rem, 0.92vw, 1rem) + 1px)/1.45 var(--hg-ui);
}
.hg-pillar__stat:last-child {
  margin-bottom: 0;
}
.hg-pillar__stat strong {
  display: block;
  margin-bottom: 0.15rem;
  font: 600 clamp(1.35rem, 1.7vw, 1.9rem)/1.15 var(--hg-ui);
}
.hg-pillar__text {
  margin: 0;
  font: 400 calc(clamp(0.88rem, 0.92vw, 1rem) + 1px)/1.6 var(--hg-ui);
  opacity: 0.85;
}

/* ---------- Sections ---------- */
/* One paper background for every section */
.hg-section,
.hg-section--tint,
.hg-section--dark {
  padding: clamp(4rem, 9vw, 7.5rem) 0 calc(var(--hg-dock-h) + 3rem);
  background: var(--hg-paper);
  color: var(--hg-ink);
}
.hg-section__head {
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}
.hg-section__head--split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
}
.hg-section__num {
  display: block;
  font-size: calc(0.75rem + 1px);
  letter-spacing: 0.12em;
  color: var(--hg-muted);
  margin-bottom: 0.5rem;
}

.hg-section__title {
  font: var(--hg-h2);
  letter-spacing: 0;
  margin: 0;
  color: var(--hg-leaf);
}

.hg-lead {
  font: 400 clamp(1.15rem, 1.8vw, 1.45rem)/1.55 var(--hg-serif);
  max-width: 34em;
}
.hg-img {
  border-radius: 4px;
  width: 100%;
}

/* Master plan */
.hg-zoom {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  overflow: hidden;
  border-radius: 4px;
  cursor: zoom-in;
}
.hg-zoom img {
  width: 100%;
  display: block;
  transition: transform 0.6s var(--hg-ease);
}
.hg-zoom:hover img {
  transform: scale(1.03);
}
.hg-zoom__icon {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--hg-white);
  color: var(--hg-green);
  display: grid;
  place-items: center;
  font-size: calc(1.4rem + 1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}
.hg-legend {
  counter-reset: lg;
  list-style: none;
  padding: 0;
  margin: 0;
}
.hg-legend li {
  counter-increment: lg;
  display: flex;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--hg-line);
  font-size: calc(0.9rem + 1px);
}
.hg-legend li::before {
  content: counter(lg, decimal-leading-zero);
  color: var(--hg-muted);
  font-size: calc(0.75rem + 1px);
  min-width: 1.5rem;
  padding-top: 0.15rem;
}

/* Tabs */
.hg-tabs {
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
.hg-tabs::-webkit-scrollbar {
  display: none;
}
.hg-tabs .nav-link {
  white-space: nowrap;
  border: 1px solid var(--hg-green);
  color: var(--hg-green);
  border-radius: 999px;
  padding: 0.65rem 1.5rem;
  font-size: calc(0.75rem + 1px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: transparent;
  transition:
    background-color 0.25s,
    color 0.25s;
}
.hg-tabs .nav-link:hover {
  background: rgba(0, 66, 36, 0.07);
}
.hg-tabs .nav-link.active {
  background: var(--hg-green);
  color: var(--hg-white);
}
.hg-plan {
  background: var(--hg-white);
  border-radius: 4px;
}
.hg-type h3 {
  font: 500 2rem/1.1 var(--hg-serif);
  color: var(--hg-green);
  margin-bottom: 1.5rem;
}
.hg-type dl {
  margin: 0 0 2rem;
}
.hg-type dl div {
  display: flex;
  justify-content: space-between;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--hg-line);
}
.hg-type dt {
  font-weight: 400;
  color: var(--hg-muted);
  font-size: calc(0.85rem + 1px);
}
.hg-type dd {
  margin: 0;
  font-weight: 500;
}

/* Project facts */
.hg-facts {
  list-style: none;
  padding: 0;
  margin: 2.5rem 0 0;
  display: flex;
  gap: clamp(1.5rem, 4vw, 3rem);
}
.hg-facts strong {
  display: block;
  font: 500 2.6rem/1 var(--hg-serif);
  color: var(--hg-green);
}
.hg-facts span {
  font-size: calc(0.75rem + 1px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hg-muted);
}

/* Amenities slider */
.hg-slider-nav {
  display: flex;
  gap: 0.5rem;
}
.hg-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: none;
  color: var(--hg-white);
  font-size: 1.1rem;
  transition:
    background-color 0.25s,
    color 0.25s,
    opacity 0.25s;
}
.hg-arrow:hover {
  background: var(--hg-white);
  color: var(--hg-green);
}
.hg-arrow:disabled {
  opacity: 0.3;
  pointer-events: none;
}
.hg-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(240px, 26vw, 380px);
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0 max(1rem, calc((100vw - 1320px) / 2 + 0.75rem));
  scroll-padding: 0 max(1rem, calc((100vw - 1320px) / 2 + 0.75rem));
  scrollbar-width: none;
}
.hg-track::-webkit-scrollbar {
  display: none;
}
.hg-card {
  scroll-snap-align: start;
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4 / 5;
}
.hg-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--hg-ease);
}
.hg-card:hover img {
  transform: scale(1.05);
}
.hg-card figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 3rem 1.25rem 1.25rem;
  font: 500 1.4rem/1.2 var(--hg-serif);
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
}

/* Virtual tour */
.hg-tour {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  border-radius: 4px;
  overflow: hidden;
}
.hg-tour img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--hg-ease);
}
.hg-tour:hover img {
  transform: scale(1.03);
}
.hg-tour__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--hg-green);
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 12px rgba(255, 255, 255, 0.2);
  transition: box-shadow 0.3s;
}
.hg-tour:hover .hg-tour__play {
  box-shadow: 0 0 0 20px rgba(255, 255, 255, 0.15);
}
.hg-tour__empty {
  display: grid;
  place-items: center;
  color: #fff;
  background: #111;
  padding: 1rem;
  text-align: center;
  font-size: calc(0.9rem + 1px);
}

/* Location */
/* ---------- Location & N'hood ---------- */
.hg-loc__stage {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: 460px;
  background: #2e2a28;
}
.hg-loc__stage > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Connectivity map: shown whole (contain) on white, click to enlarge */
.hg-loc__stage:has(.hg-loc__map) {
  background: #fff;
}
.hg-loc__map {
  position: absolute;
  inset: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}
.hg-loc__map img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.hg-loc__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.18),
    rgba(0, 0, 0, 0.05) 40%,
    rgba(0, 0, 0, 0.35)
  );
  pointer-events: none;
}
.hg-loc__home {
  position: absolute;
  z-index: 3;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  pointer-events: none;
}
.hg-loc__home-dot {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--hg-green);
  color: #fff;
  border: 2px solid #fff;
  box-shadow:
    0 0 0 8px rgba(134, 62, 43, 0.3),
    0 8px 20px rgba(0, 0, 0, 0.3);
}
.hg-loc__home-label {
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(0, 66, 36, 0.85);
  color: #fff;
  font: 600 calc(0.72rem + 1px)/1.2 var(--hg-ui);
  white-space: nowrap;
}
.hg-loc__pins {
  position: absolute;
  inset: 0;
  z-index: 2;
}
.hg-loc__pin {
  position: absolute;
  transform: translate(-50%, -100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  transition: transform 0.25s var(--hg-ease);
}
.hg-loc__pin-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  white-space: nowrap;
  background: rgba(253, 250, 246, 0.88);
  color: #2e2a28;
  font: 500 calc(0.72rem + 1px)/1.2 var(--hg-ui);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  transition:
    background-color 0.25s,
    color 0.25s;
}
.hg-loc__pin-label span {
  max-width: 11rem;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hg-loc__pin-stem {
  width: 1px;
  height: 1.1rem;
  background: #fff;
}
.hg-loc__pin-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35);
}
.hg-loc__pin:hover {
  transform: translate(-50%, -100%) scale(1.05);
  z-index: 2;
}
.hg-loc__pin.is-active {
  z-index: 3;
}
.hg-loc__pin.is-active .hg-loc__pin-label {
  background: var(--hg-green);
  color: #fff;
}
.hg-loc__pin.is-active .hg-loc__pin-dot {
  animation: hgPulse 1.8s infinite;
}
.hg-loc__maps {
  position: absolute;
  z-index: 4;
  left: 1.25rem;
  bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: #fdfaf6;
  color: #2e2a28 !important;
  font: 500 calc(0.8rem + 1px)/1 var(--hg-ui);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: background-color 0.25s;
}
.hg-loc__maps:hover {
  background: #fff;
}
.hg-loc__hint {
  position: absolute;
  z-index: 4;
  right: 1.25rem;
  bottom: 1.25rem;
  margin: 0;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.4);
  color: rgba(255, 255, 255, 0.9);
  font: 500 calc(0.72rem + 1px)/1 var(--hg-ui);
  backdrop-filter: blur(6px);
}
.hg-loc__body {
  gap: 0;
}
.hg-loc__eyebrow {
  margin: 0 0 0.5rem;
  font: 600 calc(0.75rem + 1px)/1 var(--hg-ui);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(107, 51, 37, 0.75);
}
.hg-loc__eyebrow span {
  margin: 0 0.3rem;
  opacity: 0.6;
}
.hg-loc__title {
  margin: 0 0 1.25rem;
  font: var(--hg-h2);
  letter-spacing: 0;
  color: var(--hg-leaf);
}
.hg-loc__cats {
  gap: 0.45rem;
  margin-bottom: 1rem;
}
.hg-loc__cats .hg-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  font-size: calc(clamp(0.78rem, 0.82vw, 0.92rem) + 1px);
}
.hg-loc__list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-height: 19rem;
  overflow-y: auto;
  scrollbar-width: thin;
}
.hg-loc__item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.45rem 0.5rem 0.45rem 0.45rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: none;
  text-align: left;
  color: #2e2a28;
  font: 500 calc(clamp(0.84rem, 0.88vw, 0.96rem) + 1px)/1.25 var(--hg-ui);
  transition:
    background-color 0.25s,
    border-color 0.25s;
}
.hg-loc__item:hover {
  background: rgba(255, 255, 255, 0.55);
}
.hg-loc__item.is-active {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(134, 62, 43, 0.25);
}
.hg-loc__ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #ede8e1;
  border: 1px solid #e0d7cd;
  color: #5a5348;
}
.hg-loc__item.is-active .hg-loc__ico {
  background: var(--hg-green);
  border-color: var(--hg-green);
  color: #fff;
}
.hg-loc__name {
  flex: 1;
  min-width: 0;
}
.hg-loc__time {
  flex: none;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: var(--hg-green);
  color: #fff;
  font: 600 calc(0.72rem + 1px)/1 var(--hg-ui);
  white-space: nowrap;
}
/* Distance line, shown under the selected place only */
.hg-loc__km {
  display: none;
  margin-top: 0.15rem;
  font: 400 calc(0.74rem + 1px)/1.3 var(--hg-ui);
  color: #7a7268;
}
.hg-loc__item.is-active .hg-loc__km {
  display: block;
}
/* Standalone CTA below the list */
.hg-loc__dir {
  align-self: flex-start;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 0.5rem;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  background: var(--hg-green);
  color: #fff !important;
  font: 600 calc(0.8rem + 1px)/1 var(--hg-ui);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(0, 66, 36, 0.22);
  transition: background-color 0.25s, transform 0.25s;
}
.hg-loc__dir:hover {
  background: var(--hg-green-2);
  transform: translateY(-2px);
}
.hg-loc__note {
  margin: 0.9rem 0 0;
  font: 400 calc(0.72rem + 1px)/1.5 var(--hg-ui);
  color: #7a7268;
}

/* ---------- Enquiry modal ---------- */
.hg-enq .modal-dialog {
  max-width: 470px;
}
.hg-enq .modal-content {
  position: relative;
  padding: 3.25rem 2rem 1.75rem;
  border: 0;
  border-radius: 18px;
  background: var(--hg-paper);
  color: var(--hg-leaf-ink);
  font-family: var(--hg-ui);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  text-align: center;
}
/* Round IWC badge sitting on the top edge, as on the reference form */
.hg-enq__badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-content: center;
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 50%;
  background: var(--hg-green);
  color: var(--hg-white);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  font: 700 calc(0.85rem + 1px)/1 var(--hg-ui);
  letter-spacing: 0.08em;
}
.hg-enq__badge small {
  margin-top: 0.2rem;
  font-size: calc(0.42rem + 1px);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.85;
}
.hg-enq__close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: var(--hg-green);
  color: var(--hg-white);
  transition: background-color 0.2s;
}
.hg-enq__close:hover {
  background: var(--hg-green);
}
.hg-enq__title {
  margin: 0 0 0.5rem;
  font: italic 400 clamp(1.6rem, 2.2vw, 2rem)/1.2 var(--hg-serif);
  color: var(--hg-leaf-ink);
}
.hg-enq__title strong {
  font-weight: 400;
  color: var(--hg-leaf);
}
.hg-enq__sub {
  margin: 0 0 1.5rem;
  font: 400 calc(0.85rem + 1px)/1.55 var(--hg-ui);
  color: var(--hg-muted);
}
.hg-enq__call {
  margin: 1.25rem 0 0;
  font: 500 calc(0.75rem + 1px)/1 var(--hg-ui);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hg-leaf-ink);
}
.hg-enq__call a {
  font-weight: 600;
  color: var(--hg-leaf);
}
.hg-enq__done {
  padding: 1rem 0 0.5rem;
}

/* ---------- Lead form (shared by the enquiry modal and the footer) ---------- */
.hg-lead {
  text-align: left;
  font-family: var(--hg-ui);
}
.hg-lead__field {
  flex: 1;
  min-width: 0;
  margin-bottom: 1rem;
}
.hg-lead__row {
  display: flex;
  gap: 0.6rem;
}
.hg-lead__code {
  flex: 0 0 38%;
}
.hg-lead .form-control,
.hg-lead .form-select {
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(134, 62, 43, 0.25);
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.45);
  font: 400 calc(0.88rem + 1px)/1.2 var(--hg-ui);
  color: var(--hg-leaf-ink);
}
.hg-lead .form-select {
  padding-right: 2rem;
  background-position: right 0.6rem center;
}
.hg-lead .form-control::placeholder {
  color: rgba(107, 51, 37, 0.8);
}
.hg-lead .form-control:focus,
.hg-lead .form-select:focus {
  border-color: var(--hg-leaf);
  box-shadow: 0 0 0 3px rgba(134, 62, 43, 0.12);
  background-color: rgba(255, 255, 255, 0.85);
}
.hg-lead__optin {
  display: flex;
  gap: 0.6rem;
  margin: 0.25rem 0 1.4rem;
  padding-left: 0;
}
.hg-lead__optin .form-check-input {
  flex: none;
  float: none;
  margin: 0.1rem 0 0;
  border-color: rgba(134, 62, 43, 0.45);
  border-radius: 3px;
}
.hg-lead__optin .form-check-input:checked {
  background-color: var(--hg-green);
  border-color: var(--hg-green);
}
.hg-lead__optin .form-check-label {
  font: 400 calc(0.74rem + 1px)/1.5 var(--hg-ui);
  color: var(--hg-leaf-ink);
}
.hg-lead__submit {
  display: block;
  width: 100%;
  padding: 0.95rem 1.5rem;
  border: 0;
  border-radius: 4px;
  background: var(--hg-green);
  color: var(--hg-white);
  font: 500 calc(0.8rem + 1px)/1 var(--hg-ui);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background-color 0.25s;
}
.hg-lead__submit:hover {
  background: var(--hg-green);
}

/* Propstory lead forms: success / error messages (hidden inline until form_submit.js shows them) */
.enq_form .success_msg,
.enq_form .error_msg {
  margin: 0 0 1rem;
}
.enq_form .success_msg h4,
.enq_form .error_msg h4 {
  margin: 0;
  padding: 0;
  font: 400 calc(0.95rem + 1px)/1.5 var(--hg-ui);
  color: var(--hg-leaf-ink);
}
.enq_form .error_msg h4 {
  color: #b3261e;
}
/* Propstory's country-flag picker (intlTelInput) wraps the phone input: keep it full width,
   and leave room on the left for the flag */
.hg-lead .intl-tel-input {
  display: block;
  width: 100%;
}
.hg-lead .intl-tel-input input.form-control {
  padding-left: 52px;
}
/* The picker wraps the input, so Bootstrap's "input ~ .invalid-feedback" rule can't reach the message */
.was-validated .phone-open-div:has(.phone:invalid) > .invalid-feedback {
  display: block;
}
.hg-lead .intl-tel-input .country-list {
  z-index: 5;
  max-width: 280px;
  white-space: normal;
  font-size: calc(0.8rem + 1px);
}

/* Footer "Find your plot": underline-only fields and a compact submit, image alongside */
.hg-reach {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  margin-bottom: 3rem;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid var(--hg-line);
}
.hg-reach__body {
  padding: clamp(1.75rem, 4vw, 3.5rem);
  color: var(--hg-leaf-ink);
}
.hg-reach__title {
  display: flex;
  align-items: center;
  margin: 0 0 0.4rem;
  font: var(--hg-h2);
  letter-spacing: 0;
  color: var(--hg-leaf);
}
.hg-reach__lead {
  margin: 0 0 2rem;
  font: 400 calc(clamp(1rem, 1.25vw, 1.4rem) + 1px)/1.4 var(--hg-ui);
  color: var(--hg-leaf-ink);
}
.hg-reach .hg-lead {
  max-width: 440px;
}
.hg-reach .hg-lead .form-control,
.hg-reach .hg-lead .form-select {
  padding-inline: 0.4rem;
  border-width: 0 0 1px;
  border-radius: 0;
  background-color: transparent;
}
.hg-reach .hg-lead .form-select {
  padding-right: 1.75rem;
  background-position: right 0.3rem center;
}
.hg-reach .hg-lead__submit {
  display: inline-block;
  width: auto;
  margin-left: clamp(0rem, 12vw, 7rem);
  padding: 0.8rem 1.75rem;
}
/* Image fills the form column's height instead of stretching the row to its own (portrait) height */
/* Narrower, taller column so more of the portrait photo shows */
.hg-reach__media {
  position: relative;
  margin: 0;
  min-height: 460px;
}
.hg-reach__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.hg-reach__done {
  padding: 1rem 0;
  font: 400 calc(0.92rem + 1px)/1.55 var(--hg-ui);
}
.hg-reach__done-title {
  margin: 0 0 0.4rem;
  font: 500 calc(1.5rem + 1px)/1.2 var(--hg-ui);
  color: var(--hg-leaf);
}
.hg-enq__tick {
  display: inline-grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--hg-green);
  color: #fff;
}

/* Features */
.hg-features {
  border-top: 1px solid var(--hg-line);
  border-left: 1px solid var(--hg-line);
}
.hg-feature {
  height: 100%;
  padding: 2rem 1.25rem;
  border-right: 1px solid var(--hg-line);
  border-bottom: 1px solid var(--hg-line);
  transition: background-color 0.3s;
}
.hg-feature:hover {
  background: rgba(255, 255, 255, 0.45);
}
.hg-feature svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: var(--hg-green);
  stroke-width: 1.2;
  margin-bottom: 1rem;
}
.hg-feature p {
  margin: 0;
  font-size: calc(0.88rem + 1px);
  line-height: 1.5;
}

/* Gallery */
.hg-gallery {
  position: relative;
}
.hg-gallery .carousel-item button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}
.hg-gallery img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 4px;
}
.hg-gallery__ctrl.carousel-control-prev,
.hg-gallery__ctrl.carousel-control-next {
  width: 52px;
  height: 52px;
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;
  opacity: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--hg-green);
  font-size: calc(1.2rem + 1px);
  margin: 0 1rem;
}
.hg-gallery__ctrl:hover {
  background: #fff;
}
.hg-gallery__count {
  margin: 1.25rem 0 0;
  font-size: calc(0.8rem + 1px);
  letter-spacing: 0.12em;
  text-align: right;
  opacity: 0.8;
}

/* Footer */
.hg-footer {
  background: var(--hg-paper);
  color: var(--hg-leaf-ink) !important;
  border-top: 1px solid var(--hg-line);
  color: var(--hg-white);
  padding: 3.5rem 0 calc(var(--hg-dock-h) + 3rem);
}
.hg-footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  justify-content: space-between;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--hg-line);
}
.hg-footer .hg-btn--outline-light {
  border-color: var(--hg-leaf);
  color: var(--hg-leaf) !important;
}
.hg-footer .hg-btn--light {
  background: var(--hg-green);
  color: var(--hg-white) !important;
}
.hg-footer .hg-icon-btn {
  border-color: var(--hg-leaf);
  color: var(--hg-leaf);
}
.hg-footer .hg-brand-text {
  color: var(--hg-leaf);
  font-size: 1.15rem;
}
.hg-footer__crumb {
  margin: 0;
  font-size: calc(0.65rem + 1px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.7;
  color: var(--hg-leaf-ink);
}
.hg-footer__crumb span {
  display: block;
  font-size: calc(0.85rem + 1px);
  letter-spacing: 0.04em;
  text-transform: none;
  opacity: 1;
}
.hg-footer__actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
/* No buttons inside (Call Us is commented out): drop the empty slot so the logo and
   "A plotted development" text sit at opposite ends of the row */
.hg-footer__actions:not(:has(*)) {
  display: none !important;
}
.hg-footer__disclaimer {
  padding: 1.75rem 0 1.5rem;
  border-bottom: 1px solid var(--hg-line);
  color: var(--hg-leaf-ink);
  font: 400 calc(0.74rem + 1px)/1.7 var(--hg-ui);
  opacity: 0.8;
}
.hg-footer__disclaimer p {
  margin: 0 0 0.6rem;
}
.hg-footer__disclaimer p:last-child {
  margin-bottom: 0;
}
.hg-footer__disclaimer-title {
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: calc(0.68rem + 1px);
}
.hg-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 1.5rem;
  font-size: calc(0.7rem + 1px);
  opacity: 0.65;
  color: var(--hg-leaf-ink);
}
.hg-footer__bottom p {
  margin: 0;
}
.hg-footer__bottom .hg-footer__credit {
  margin-left: auto;
}
.hg-footer__credit a:hover {
  text-decoration: underline !important;
  text-underline-offset: 3px;
}
.hg-footer__credit strong {
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Modals */
.hg-modal .modal-content {
  background: transparent;
  border: 0;
}
.hg-modal__close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  z-index: 2;
}

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
  .hg-page {
    --hg-header-h: 76px;
  }
  .hg-dock__link {
    padding: 0 1.1rem;
  }
  .hg-mplan,
  .hg-plots,
  .hg-amen,
  .hg-loc {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  }
  .hg-pillars__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hg-gal {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  }
  .hg-gal__peek {
    display: none;
  }
}
@media (max-width: 991.98px) {
  .hg-why {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 767.98px) {
  .hg-page {
    --hg-header-h: 64px;
  }
  .hg-logo {
    height: 28px;
  }
  .hg-header__cta {
    padding: 0.5rem 1rem;
    font-size: calc(0.68rem + 1px);
  }
  /* Shorter than a full phone screen, so the hero doesn't feel endless; the dock no longer overlaps its bottom */
  .hg-hero {
    height: 80vh;
    height: 80svh;
    min-height: 580px;
    max-height: 700px;
  }
  .hg-hero__offer {
    --notch: 9px;
    display: flex;
    margin-top: 1rem;
  }
  .hg-hero__offer-big {
    padding: 0.8rem 0.9rem;
    font-size: 2.6rem;
  }
  .hg-hero__offer-text {
    flex: 1;
    padding: 0.8rem 0.9rem;
  }
  .hg-hero__offer-title {
    font-size: calc(1.2rem + 1px);
  }
  .hg-hero__frame {
    border-radius: 18px;
  }
  .hg-hero__tagline {
    letter-spacing: 0.14em;
    font-size: calc(0.6rem + 1px);
    white-space: normal;
  }
  .hg-hero__tagline::after {
    width: 2rem;
    flex-shrink: 0;
  }
  .hg-hero__content {
    left: 1.25rem;
    right: 1.25rem;
    top: calc(var(--hg-header-h) + 1rem + 2rem);
  }
  .hg-hero__title {
    font-size: clamp(2.1rem, 9vw, 2.6rem);
  }
  .hg-hero__logo {
    top: calc(var(--hg-header-h) + 0.5rem);
    right: 1.25rem;
  }
  .hg-hero__cta-wrap {
    bottom: 1.75rem;
  }
  .hg-hero__logo .hg-brand-logo {
    height: 54px;
  }
  .hg-hero__rera {
    right: 1.25rem;
    top: calc(var(--hg-header-h) + 0.5rem);
    font-size: calc(0.58rem + 1px);
  }
  .hg-slide {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: calc(72px + 2.5rem) 1.25rem calc(var(--hg-dock-h) + 2.5rem) 2.75rem;
  }
  .hg-offer {
    grid-template-columns: 1fr;
  }
  .hg-offer__cta {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
    margin-top: 0.75rem;
  }
  .hg-slide__tagline {
    left: 1.6rem;
    letter-spacing: 0.18em;
    font-size: calc(0.6rem + 1px);
  }
  .hg-slide__logo {
    top: 1.25rem;
    left: 2.75rem;
  }
  .hg-slide__logo .hg-brand-logo {
    height: 72px;
  }
  .hg-slide__content {
    max-width: none;
  }
  .hg-slide__visual {
    position: relative;
    inset: auto;
    width: calc(100% + 1.25rem);
    height: 44vh;
    margin: 1rem -1.25rem 0 0;
    order: 2;
  }
  .hg-slide__visual img {
    -webkit-mask-image: radial-gradient(
      ellipse 70% 62% at 55% 50%,
      #000 45%,
      transparent 80%
    );
    mask-image: radial-gradient(
      ellipse 70% 62% at 55% 50%,
      #000 45%,
      transparent 80%
    );
  }
  .hg-slide__text {
    margin-bottom: 1.75rem;
  }
  .hg-split {
    min-height: 0;
    padding: 3rem 1.25rem calc(var(--hg-dock-h) + 2.5rem);
  }
  .hg-split__box {
    padding: 1.5rem 1.1rem;
    border-radius: 18px;
  }
  .hg-split__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hg-split__stats li:nth-child(3) {
    border-left: 0;
  }
  .hg-split__stats li:nth-child(n + 3) {
    border-top: 1px solid rgba(134, 62, 43, 0.2);
  }
  .hg-mplan,
  .hg-plots,
  .hg-amen,
  .hg-loc {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 1rem 1rem calc(var(--hg-dock-h) + 2rem);
  }
  .hg-mplan__figure,
  .hg-amen__stage,
  .hg-loc__stage {
    border-radius: 18px;
  }
  .hg-amen__stage {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
  .hg-amen__card {
    max-width: none;
    right: 1rem;
    padding: 1rem 1.1rem;
  }
  .hg-mplan__body,
  .hg-plots__body,
  .hg-amen__body,
  .hg-loc__body {
    order: -1;
  }
  .hg-mplan__logo,
  .hg-plots__logo,
  .hg-why__logo {
    display: none;
  }
  .hg-pillars {
    min-height: 0;
    padding: 2.5rem 1rem calc(var(--hg-dock-h) + 2rem);
  }
  .hg-pillars__grid {
    grid-template-columns: 1fr;
  }
  .hg-pillar {
    min-height: 0;
  }
  .hg-loc__stage {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
  .hg-loc__pin-label span {
    display: none;
  }
  .hg-loc__pin.is-active .hg-loc__pin-label span {
    display: inline;
  }
  .hg-loc__home-label {
    display: none;
  }
  .hg-loc__hint {
    display: none;
  }
  .hg-loc__cats {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    margin-inline: -1rem;
    padding-inline: 1rem;
  }
  .hg-loc__cats .hg-chip {
    white-space: nowrap;
  }
  .hg-loc__list {
    max-height: none;
  }
  .hg-amen__thumbs {
    max-height: none;
    overflow: visible;
  }
  .hg-amen__thumbs .hg-thumb {
    scroll-snap-align: start;
  }
  .hg-enq .modal-content {
    padding: 3rem 1.25rem 1.5rem;
  }
  .hg-reach {
    grid-template-columns: 1fr;
  }
  .hg-reach__media {
    min-height: 0;
    aspect-ratio: 1 / 1;
    order: -1;
  }
  .hg-reach .hg-lead__submit {
    margin-left: 0;
  }
  .hg-pin span {
    font-size: calc(0.68rem + 1px);
    padding: 0.35rem 0.6rem;
  }
  .hg-chip {
    padding: 0.6rem 0.9rem;
  }
  .hg-gallery2,
  .hg-why {
    min-height: 0;
    padding: 1.5rem 1rem calc(var(--hg-dock-h) + 2rem);
  }
  .hg-gal {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .hg-gal__stage {
    height: auto;
    aspect-ratio: 4 / 3;
    border-radius: 18px;
  }
  .hg-gal__panel {
    order: -1;
  }
  .hg-gal__list {
    display: none;
  }
  .hg-plots__panel {
    padding: 0.75rem;
    border-radius: 20px;
  }
  .hg-plots__figure {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
  .hg-dock,
  .hg-dock__body {
    gap: 0.4rem;
  }
  .hg-dock__btn {
    height: 44px;
    width: 48px;
  }
  .hg-dock__brand {
    width: 84px;
  }
  .hg-dock__brand img {
    height: 38px;
  }
  .hg-dock__body {
    justify-content: flex-end;
  }
  .hg-dock__menu {
    display: grid !important;
    order: 1;
  }
  .hg-dock__body > a.hg-dock__btn {
    order: 2;
  }
  .hg-dock__rail {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    height: auto;
    display: none;
    border-radius: 20px;
    background: rgba(236, 230, 220, 0.97);
  }
  .hg-dock.is-open .hg-dock__rail {
    display: block;
  }
  .hg-dock__track {
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding: 0.5rem;
    overflow: visible;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .hg-dock__arrow {
    display: none;
  }
  .hg-dock__link {
    height: 30px;
    padding: 0 0.9rem;
    font-size: calc(0.9rem + 1px);
  }
  .hg-dock__arrow {
    width: 30px;
    height: 30px;
  }
  .hg-section__head--split {
    align-items: flex-start;
    flex-direction: column;
  }
  .hg-arrow {
    width: 42px;
    height: 42px;
  }
  .hg-track {
    grid-auto-columns: 78vw;
  }
  .hg-facts strong {
    font-size: 2rem;
  }
  .hg-gallery__ctrl.carousel-control-prev,
  .hg-gallery__ctrl.carousel-control-next {
    width: 40px;
    height: 40px;
    margin: 0 0.5rem;
    font-size: 1rem;
  }
  .hg-footer__actions {
    width: 100%;
    justify-content: center;
  }
}

/* ---------- Scroll reveals (after arcasaestate.com) ----------
   Only active once JS adds .hg-reveal-on to <html>, so content is never hidden without JS.
   Keyframes (not transitions) so elements keep their own hover transitions. */
.hg-reveal-on [data-reveal="fade"]:not(.is-revealed) {
  opacity: 0;
}
.hg-reveal-on [data-reveal="fade"].is-revealed {
  animation: hgRevealFade 1s ease-in-out both;
  animation-delay: calc(var(--reveal-i, 0) * 120ms);
}
.hg-reveal-on [data-reveal="img"]:not(.is-revealed) {
  clip-path: circle(0% at 0% 0%);
}
.hg-reveal-on [data-reveal="img"].is-revealed {
  animation: hgRevealCircle 1.2s ease-in both;
  animation-delay: calc(var(--reveal-i, 0) * 150ms);
}
@keyframes hgRevealFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes hgRevealCircle {
  from {
    clip-path: circle(0% at 0% 0%);
  }
  to {
    clip-path: circle(100% at 50% 50%);
  }
}

/* Flying butterflies overlay (assets/js/butterflies.js): above content, below dock/header/modals, never catches clicks */
.hg-butterflies {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1020;
  pointer-events: none;
}

/* ---------- Decorative leaf accent in a corner of each ivory section ---------- */
.hg-split,
.hg-mplan,
.hg-gallery2,
.hg-plots,
.hg-amen,
.hg-why,
.hg-pillars,
.hg-loc,
.hg-faq {
  position: relative;
}
.hg-split::after,
.hg-mplan::after,
.hg-gallery2::after,
.hg-plots::after,
.hg-amen::after,
.hg-why::after,
.hg-pillars::after,
.hg-loc::after,
.hg-faq::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: clamp(40px, 4vw, 64px);
  aspect-ratio: 96 / 95;
  background: url("../imgs/Centre-Leaves1.png") center / contain no-repeat;
  opacity: 0.85;
  pointer-events: none;
}
/* Corners alternate down the page; the bottom ones sit above the chapter dock */
.hg-split::after {
  top: 1.5rem;
  left: 1.5rem;
  transform: rotate(-20deg);
}
.hg-mplan::after {
  bottom: calc(var(--hg-dock-h) + 1rem);
  right: 1.5rem;
  display: none;
  transform: rotate(160deg);
}
.hg-gallery2::after {
  top: 1.5rem;
  right: 1.5rem;
  transform: rotate(25deg);
}
/* .hg-plots::after    { bottom: calc(var(--hg-dock-h) + 1rem); right: 1.5rem; transform: rotate(-150deg); } */
.hg-amen::after {
  top: 0.35rem;
  right: 0.75rem;
  width: 38px;
  transform: rotate(30deg);
}
.hg-why::after {
  bottom: calc(var(--hg-dock-h) + 1rem);
  left: 1.5rem;
  transform: rotate(200deg);
}
.hg-pillars::after {
  top: 1.5rem;
  right: 1.5rem;
  transform: rotate(20deg);
}
.hg-loc::after {
  bottom: calc(var(--hg-dock-h) + 1rem);
  right: 1.5rem;
  transform: rotate(-160deg);
}
.hg-faq::after {
  top: 1.5rem;
  right: 1.5rem;
  transform: rotate(15deg);
}
@media (max-width: 767.98px) {
  .hg-split::after,
  .hg-mplan::after,
  .hg-gallery2::after,
  .hg-plots::after,
  .hg-amen::after,
  .hg-why::after,
  .hg-pillars::after,
  .hg-loc::after,
  .hg-faq::after {
    width: 34px;
    opacity: 0.7;
  }
  .hg-split::after {
    top: 0.6rem;
    left: 0.6rem;
  }
  .hg-amen::after {
    top: 0.6rem;
    right: 0.6rem;
  }
  .hg-gallery2::after,
  .hg-pillars::after,
  .hg-faq::after {
    top: 0.6rem;
    right: 0.6rem;
  }
}

/* ---------- Sticky Enquire Now (appears after 100px of scroll) ---------- */
.hg-sticky-enq {
  position: fixed;
  z-index: 1020;
  right: 0;
  top: 50%;
  transform: translate(110%, -50%);
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  writing-mode: vertical-rl;
  padding: 0.8rem 0.45rem;
  border: 0;
  border-radius: 8px 0 0 8px;
  background: var(--hg-green);
  color: var(--hg-cream);
  font: 700 calc(0.66rem + 1px)/1 var(--hg-ui);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: -4px 6px 18px rgba(0, 0, 0, 0.16);
  transition:
    transform 0.4s var(--hg-ease),
    opacity 0.3s,
    background-color 0.25s;
}
.hg-sticky-enq.is-visible {
  transform: translate(0, -50%);
  opacity: 1;
  pointer-events: auto;
}
.hg-sticky-enq svg {
  width: 13px;
  height: 13px;
  transform: rotate(90deg);
}
.hg-sticky-enq:hover {
  background: var(--hg-leaf);
}
@media (max-width: 767.98px) {
  .hg-sticky-enq {
    top: auto;
    bottom: calc(0.9rem + env(safe-area-inset-bottom, 0px));
    right: 0.9rem;
    transform: translateY(150%);
    writing-mode: horizontal-tb;
    padding: 0.6rem 0.9rem;
    border-radius: 999px;
    font-size: calc(0.64rem + 1px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  }
  .hg-sticky-enq.is-visible {
    transform: none;
  }
  .hg-sticky-enq svg {
    transform: none;
  }
}

/* ---------- Welcome screen (only when the browser blocks sound; its click starts the music) ---------- */
.hg-intro {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 1.5rem 16px;
  text-align: center;
  background:
    linear-gradient(rgba(0, 40, 22, 0.72), rgba(0, 40, 22, 0.86)),
    url("../imgs/hero.jpeg") center / cover no-repeat,
    var(--hg-green);
  color: var(--hg-cream);
  transition: opacity 0.7s var(--hg-ease), visibility 0.7s;
}
.hg-intro[hidden] {
  display: none;
}
.hg-intro.is-leaving {
  opacity: 0;
  visibility: hidden;
}
.hg-intro__logo {
  width: auto;
  height: clamp(110px, 16vw, 170px);
}
.hg-intro__tag {
  margin: 0 0 0.75rem;
  font: 400 calc(clamp(0.72rem, 0.85vw, 0.9rem) + 1px)/1.4 var(--hg-ui);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.85;
}
.hg-intro__enter {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2.4rem;
  border: 0;
  border-radius: 999px;
  background: var(--hg-cream);
  color: var(--hg-green);
  font: 700 calc(0.8rem + 1px)/1 var(--hg-ui);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  animation: hgIntroPulse 2s ease-out infinite;
  transition: background-color 0.25s;
}
.hg-intro__enter:hover {
  background: #fff;
}
@keyframes hgIntroPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(250, 248, 242, 0.45);
  }
  100% {
    box-shadow: 0 0 0 16px rgba(250, 248, 242, 0);
  }
}
.hg-page .hg-intro :focus-visible {
  outline-color: var(--hg-cream);
}
.hg-intro__mute {
  padding: 0.4rem;
  border: 0;
  background: none;
  color: inherit;
  font: 400 calc(0.72rem + 1px)/1 var(--hg-ui);
  letter-spacing: 0.08em;
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: 0.75;
  cursor: pointer;
}
.hg-intro__mute:hover {
  opacity: 1;
}
html.hg-intro-open {
  overflow: hidden;
}

/* ---------- Background music toggle (bottom-left) ---------- */
.hg-music {
  position: fixed;
  z-index: 1020;
  left: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: center;
  gap: 0.45rem;
  height: 44px;
  padding: 0 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: var(--hg-green);
  color: var(--hg-cream);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  transition: background-color 0.25s;
}
.hg-music[hidden] {
  display: none;
}
.hg-music:hover {
  background: var(--hg-green-2);
}
.hg-music__on,
.hg-music[aria-pressed="true"] .hg-music__off {
  display: none;
}
.hg-music[aria-pressed="true"] .hg-music__on {
  display: block;
}
/* Equaliser bars: moving while music plays, flat when muted */
.hg-music__bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
}
.hg-music__bars i {
  width: 3px;
  height: 4px;
  border-radius: 2px;
  background: currentColor;
}
.hg-music[aria-pressed="true"] .hg-music__bars i {
  animation: hgMusicBar 1.1s ease-in-out infinite;
}
.hg-music[aria-pressed="true"] .hg-music__bars i:nth-child(2) {
  animation-delay: -0.4s;
}
.hg-music[aria-pressed="true"] .hg-music__bars i:nth-child(3) {
  animation-delay: -0.75s;
}
@keyframes hgMusicBar {
  0%,
  100% {
    height: 4px;
  }
  50% {
    height: 14px;
  }
}
@media (max-width: 767.98px) {
  .hg-music {
    left: 0.9rem;
    bottom: calc(0.9rem + env(safe-area-inset-bottom, 0px));
    height: 38px;
    padding: 0 0.7rem;
  }
}

/* ---------- Deck-style headlines: Garamond italic, soft shadow, leaf before ---------- */
.hg-split__title,
.hg-mplan__title,
.hg-plots__title,
.hg-amen__title,
.hg-why__title,
.hg-pillars__title,
.hg-loc__title,
.hg-faq__title,
.hg-gal__heading,
.hg-reach__title,
.hg-slide__title {
  text-shadow: 0 2px 6px rgba(107, 51, 37, 0.18);
}
.hg-split__title::before,
.hg-mplan__title::before,
.hg-plots__title::before,
.hg-amen__title::before,
.hg-why__title::before,
.hg-pillars__title::before,
.hg-loc__title::before,
.hg-faq__title::before,
.hg-gal__heading::before {
  content: "";
  display: inline-block;
  width: 1em;
  aspect-ratio: 49 / 37;
  margin-right: 0.25em;
  vertical-align: -0.02em;
  background: url("../imgs/leaf-tight.png") center / contain no-repeat;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.25));
}
/* Every leaf gets the deck's soft lift */
.hg-leaf,
.hg-split__stats li::before {
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.25));
}

/* ---------- Wavy contour pattern (assets/imgs/wavyimage.png, tinted) behind ivory sections ---------- */
.hg-split,
.hg-plots,
.hg-pillars,
.hg-why,
.hg-faq {
  isolation: isolate;
}
.hg-split::before,
.hg-plots::before,
.hg-pillars::before,
.hg-why::before,
.hg-faq::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url("../imgs/textures/wavy-terracotta.png") no-repeat;
  background-size: clamp(520px, 62vw, 1100px) auto;
  opacity: 0.06;
}
.hg-split::before   { background-position: center; background-size: clamp(560px, 72vw, 1250px) auto; opacity: 0.05; }
.hg-plots::before   { background-position: left -20vw bottom -18vh; }
.hg-pillars::before { background-position: right -22vw center; }
.hg-why::before     { background-position: left -24vw top -10vh; }
.hg-faq::before     { background-position: right -20vw bottom -20vh; }
@media (max-width: 767.98px) {
    .hg-split::before,
  .hg-plots::before,
  .hg-pillars::before,
  .hg-why::before,
  .hg-faq::before {
    background-size: 150vw auto;
    opacity: 0.045;
  }
}

/* ---------- Scrollbars in the brand palette (page + inner scrolling lists) ---------- */
html:has(.hg-page) {
  scrollbar-color: var(--hg-green, #004224) #dfd9cf;
}
.hg-page * {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 66, 36, 0.55) transparent;
}
.hg-page ::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
.hg-page ::-webkit-scrollbar-track {
  background: rgba(134, 62, 43, 0.08);
  border-radius: 999px;
}
.hg-page ::-webkit-scrollbar-thumb {
  background: rgba(0, 66, 36, 0.55);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
.hg-page ::-webkit-scrollbar-thumb:hover {
  background-color: var(--hg-green);
}
.hg-page ::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}
/* Top navbar scrolls sideways without a visible bar (arrows handle it) */
.hg-page .hg-dock,
.hg-page .hg-dock * {
  scrollbar-width: none;
}
.hg-page .hg-dock ::-webkit-scrollbar,
.hg-page .hg-dock::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

/* ---------- Footer Call Us: icon + two-line label pill ---------- */
.hg-call {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.45rem 1.4rem 0.45rem 0.45rem;
  border-radius: 999px;
  background: var(--hg-green);
  color: #fff !important;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 66, 36, 0.22);
  transition: background-color 0.25s, transform 0.25s;
}
.hg-call__ico {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: #fff;
  color: var(--hg-green);
}
.hg-call__ico svg {
  transition: transform 0.35s;
}
.hg-call__text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font: 700 calc(0.8rem + 1px)/1 var(--hg-ui);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hg-call__text small {
  font: 400 calc(0.68rem + 1px)/1 var(--hg-ui);
  letter-spacing: 0.04em;
  text-transform: none;
  opacity: 0.75;
}
.hg-call:hover {
  background: var(--hg-green-2);
  transform: translateY(-2px);
}
.hg-call:hover .hg-call__ico svg {
  animation: hgRing 0.6s ease-in-out;
}
@keyframes hgRing {
  0%, 100% { transform: rotate(0); }
  20%, 60% { transform: rotate(-14deg); }
  40%, 80% { transform: rotate(14deg); }
}

/* ---------- Equal breathing room above and below every content section ---------- */
.hg-page {
  --hg-section-y: clamp(3rem, 5vw, 5rem);
}
.hg-page .hg-split,
.hg-page .hg-mplan,
.hg-page .hg-gallery2,
.hg-page .hg-plots,
.hg-page .hg-amen,
.hg-page .hg-why,
.hg-page .hg-pillars,
.hg-page .hg-loc,
.hg-page .hg-faq {
  min-height: 0;
  padding-top: var(--hg-section-y);
  padding-bottom: var(--hg-section-y);
}
/* Master plan + plot selector are one "Plots" chapter: a single gap between them */
.hg-page .hg-mplan + .hg-plots {
  padding-top: 0;
}
@media (max-width: 767.98px) {
  .hg-page {
    --hg-section-y: 2.5rem;
  }
}

/* Stat band: metric equivalent under each figure */
.hg-split__eq {
  font: 400 calc(clamp(0.72rem, 0.78vw, 0.86rem) + 1px)/1.35 var(--hg-ui);
  color: rgba(107, 51, 37, 0.75);
}
.hg-split__eq b {
  font-weight: 700;
  color: var(--hg-leaf);
}

/* Plot villa image: cross-fade when the plot size changes */
.hg-plots__figure {
  position: relative;
}
.hg-plots__zoom img {
  transition: opacity 0.35s;
}
.hg-plots__figure.is-swapping img {
  opacity: 0;
}

/* Scroll performance: the fixed navbar and butterfly canvas get their own GPU layers,
   so scrolling doesn't repaint them with the page */
.hg-dock,
.hg-butterflies {
  will-change: transform;
  transform: translateZ(0);
}

/* Stat band on phones: 2×2 grid, figures sized to fit their cell */
@media (max-width: 767.98px) {
  .hg-split__stats li {
    gap: 0.3rem;
    padding: 1.1rem 0.5rem;
    font-size: calc(0.78rem + 1px);
  }
  .hg-split__stats li::before {
    width: 30px;
  }
  .hg-split__stats strong {
    font-size: clamp(1.25rem, 5.6vw, 1.6rem);
    white-space: normal;
  }
  .hg-split__eq {
    font-size: calc(0.66rem + 1px);
  }
  .hg-split__eq span {
    display: block;
    white-space: nowrap;
  }
}

/* Phones: hero is text-heavy, so drop the Explore More button */
@media (max-width: 767.98px) {
  .hg-hero__cta-wrap {
    display: none;
  }
}

/* Stat band sizing (desktop/tablet): slightly smaller figures, larger supporting text */
@media (min-width: 768px) {
  .hg-split__stats strong {
    font-size: calc(clamp(1.55rem, 2.2vw, 2.55rem) + 1px);
  }
  .hg-split__stats li {
    font-size: calc(clamp(0.95rem, 1vw, 1.12rem) + 1px);
  }
  .hg-split__eq {
    font-size: calc(clamp(0.8rem, 0.86vw, 0.95rem) + 1px);
  }
}

/* Master plan: text column matches the image height; Enquire Now is a normal-width pill
   whose bottom lines up with the bottom of the image */
@media (min-width: 768px) {
  .hg-page .hg-mplan {
    align-items: stretch;
  }
  .hg-mplan__map {
    display: flex;
    align-items: flex-end;
  }
  .hg-mplan__map .hg-mplan__figure {
    width: 100%;
  }
  .hg-mplan__logo {
    margin-bottom: 0.75rem;
  }
  .hg-mplan__features {
    margin-bottom: 1.5rem; /* minimum gap above the button */
  }
  .hg-mplan__cta {
    align-self: flex-start;
    margin-top: auto;
    padding-inline: 2.25rem;
  }
}

/* Master plan on mobile: text above the image, Enquire Now below it */
@media (max-width: 767.98px) {
  .hg-mplan {
    row-gap: 0;
  }
  .hg-mplan__body {
    display: contents;
  }
  .hg-mplan__body > * {
    order: -1;
  }
  .hg-mplan__map {
    margin-top: 0.5rem;
  }
  .hg-mplan__body > .hg-mplan__cta {
    order: 1;
    justify-self: stretch;
    margin-top: 1.25rem;
  }
}

/* Gallery on mobile: text above the image, Get Brochure below it */
@media (max-width: 767.98px) {
  .hg-gal {
    row-gap: 0;
  }
  .hg-gal__panel {
    display: contents;
  }
  .hg-gal__panel > * {
    order: -1;
    justify-self: start;
  }
  .hg-gal__stage {
    margin-top: 1.25rem;
  }
  .hg-gal__panel > .hg-gal__cta {
    order: 1;
  }
}

/* Location on mobile: text above the map, Get Directions below it */
@media (max-width: 767.98px) {
  .hg-loc {
    row-gap: 0;
  }
  .hg-loc__body {
    display: contents;
  }
  .hg-loc__body > * {
    order: -1;
    min-width: 0;
  }
  .hg-loc__stage {
    margin-top: 1rem;
  }
  .hg-loc__body > .hg-loc__dir {
    order: 1;
    justify-self: start;
    margin-top: 1.25rem;
  }
}

/* Your Land on mobile: text above the villa image, Find Your Plot below it */
@media (max-width: 767.98px) {
  .hg-plots {
    row-gap: 0;
  }
  .hg-plots__body {
    display: contents;
  }
  .hg-plots__body > * {
    order: -1;
    min-width: 0;
  }
  .hg-plots__panel {
    margin-top: 1rem;
  }
  .hg-plots__body > .hg-plots__cta {
    order: 1;
    justify-self: start;
    margin-top: 1.25rem;
  }
}

/* Why Khopoli: the photo grows to fill its column, so it ends level with the Site Visit bar */
@media (min-width: 768px) {
  .hg-page .hg-why {
    align-items: stretch;
  }
  .hg-why__media {
    max-height: none;
  }
}
/* Two-column Why: the points panel takes up the spare height, so the Site Visit bar
   sits at the bottom of the column instead of leaving a gap under it */
@media (min-width: 992px) {
  .hg-why__panel {
    flex: 1;
    display: flex;
  }
  .hg-why__points {
    flex: 1;
    align-content: space-evenly;
  }
}

/* Investment card 3: empty figure slot so "Timing your entry…" lines up with the other cards' captions */
.hg-pillar__spacer {
  visibility: hidden;
}

/* Your Land: the villa image fills the panel instead of sizing it, so the panel is exactly
   as tall as the text column (no empty gap under Find Your Plot) */
.hg-plots__figure {
  position: relative;
  min-height: 340px;
}
.hg-plots__zoom {
  position: absolute;
  inset: 0;
}
.hg-plots__body {
  justify-content: flex-start;
}
@media (max-width: 767.98px) {
  .hg-plots__figure {
    min-height: 0;
    aspect-ratio: 4 / 3;
    flex: none;
  }
}
