/*
 * Gran Hacienda UI 1.0
 * A compact real-estate design layer for Bootstrap 5 + AOS.
 * Prefix custom components with .gh- to keep projects easy to extend.
 */

/* Locally hosted Google Fonts. See assets/fonts/README.md for temporary roles. */
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 200 900; font-display: swap; src: url("../fonts/sourceserif4-normal-latin.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: italic; font-weight: 200 900; font-display: swap; src: url("../fonts/sourceserif4-italic-latin.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("../fonts/cormorantgaramond-normal-latin.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/montserrat-normal-latin.woff2") format("woff2"); }

:root {
  --gh-forest: #10312b;
  --gh-grove: #295135;
  --gh-water: #007da5;
  --gh-sky: #6bc4e8;
  --gh-mint: #45c2b1;
  --gh-lime: #a1d184;
  --gh-yellow: #e3e28d;
  --gh-sand: #eade98;
  --gh-ink: #10201d;
  --gh-cream: #f4f1e8;
  --gh-white: #fffdf8;
  --gh-muted: #64736d;
  --gh-line: rgba(16, 49, 43, 0.17);
  --gh-shadow: 0 24px 70px rgba(16, 49, 43, 0.13);
  --gh-font-title: "Source Serif 4", Georgia, serif;
  --gh-font-detail: "Cormorant Garamond", Georgia, serif;
  --gh-font-body: "Montserrat", Arial, sans-serif;
  --gh-serif: var(--gh-font-title);
  --gh-sans: var(--gh-font-body);
  --gh-radius-sm: 0.4rem;
  --gh-radius: 1rem;
  --gh-radius-lg: 2rem;
  --gh-ease: cubic-bezier(0.2, 0.75, 0.25, 1);
  --gh-logo-dark: 1;
  --gh-logo-light: 0;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body.gh-body {
  margin: 0;
  overflow-x: hidden;
  color: var(--gh-ink);
  background: var(--gh-white);
  font-family: var(--gh-sans);
  font-size: 1rem;
  line-height: 1.65;
  letter-spacing: 0;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}

/* Clip horizontal artwork without turning the body into a scroll container.
   overflow-x:hidden also computes overflow-y:auto and breaks nested sticky. */
@supports (overflow: clip) {
  html, body.gh-body { overflow-x: clip; }
}

body.gh-body::selection,
.gh-body ::selection {
  color: var(--gh-forest);
  background: var(--gh-lime);
}

.gh-body img {
  max-width: 100%;
}

.gh-body a:not(.gh-btn) {
  color: inherit;
  text-decoration: none;
}

.gh-body a:focus-visible,
.gh-body button:focus-visible,
.gh-body input:focus-visible,
.gh-body textarea:focus-visible,
.gh-body select:focus-visible {
  outline: 3px solid rgba(69, 194, 177, 0.55);
  outline-offset: 4px;
}

.gh-display,
.gh-heading,
.gh-body h1,
.gh-body h2,
.gh-body h3,
.gh-body h4,
.gh-body h5,
.gh-body h6 {
  margin-top: 0;
  color: inherit;
  font-family: var(--gh-serif);
  font-weight: 400;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.gh-display {
  font-size: clamp(4rem, 9vw, 9.5rem);
  line-height: 0.98;
}

.gh-title-xl {
  font-size: clamp(3.1rem, 6vw, 6.75rem);
  line-height: 1.02;
}

.gh-title-lg {
  font-size: clamp(2.7rem, 5vw, 5.2rem);
  line-height: 1.04;
}

.gh-title-md {
  font-size: clamp(2.15rem, 3.7vw, 3.8rem);
  line-height: 1.08;
}

.gh-lead {
  max-width: 44rem;
  color: var(--gh-muted);
  font-size: clamp(1.05rem, 1.4vw, 1.28rem);
  line-height: 1.65;
}

/* Roughnecks replacement is reserved for readable editorial details, not UI labels. */
.gh-detail, .gh-body h3, .gh-body h4 { font-family: var(--gh-font-detail); font-weight: 500; }
.gh-detail { font-size: clamp(1.6rem, 2.5vw, 2.4rem); line-height: 1.2; }

.gh-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1.1;
  text-transform: uppercase;
}

.gh-eyebrow::before {
  width: 2.4rem;
  height: 1px;
  background: currentColor;
  content: "";
}

.gh-container {
  width: min(100% - 2.5rem, 90rem);
  margin-inline: auto;
}

.gh-section {
  position: relative;
  padding: clamp(5.5rem, 9vw, 10rem) 0;
}

.gh-section--compact {
  padding: clamp(3.8rem, 6vw, 6rem) 0;
}

.gh-section--cream { background: var(--gh-cream); }
.gh-section--forest { color: var(--gh-white); background: var(--gh-forest); }
.gh-section--grove { color: var(--gh-white); background: var(--gh-grove); }
.gh-text-lime { color: var(--gh-lime) !important; }
.gh-text-mint { color: var(--gh-mint) !important; }
.gh-text-muted { color: var(--gh-muted) !important; }
/* Mint remains a palette option; small eyebrow labels need a darker text pair. */
.gh-eyebrow.gh-text-mint { color: var(--gh-accent-ink, var(--gh-grove)) !important; }
.gh-section--forest, .gh-section--grove, .gh-hero, .gh-footer, .gh-quote-card { --gh-accent-ink: var(--gh-lime); }

.gh-rule {
  height: 1px;
  border: 0;
  margin: 2rem 0;
  background: currentColor;
  opacity: 0.18;
}

/* Brand identity: reusable campaign and documentation. No module JS overrides. */
.gh-brand-campaign { position: relative; isolation: isolate; display: grid; grid-template-columns: 1fr 1fr; min-height: 38rem; container: gh-campaign / inline-size; color: var(--gh-white); background: var(--gh-forest); }
.gh-brand-campaign__photo { min-height: 26rem; background: var(--gh-grove) center / cover no-repeat; }
.gh-brand-campaign__content { position: relative; isolation: isolate; align-self: center; min-width: 0; padding: clamp(2rem, 5cqi, 5rem); }
.gh-brand-campaign__content::before { position: absolute; z-index: -1; inset: 0; opacity: .1; background: url("../../resources/images/identidad/textura-pino.webp") center / cover; content: ""; pointer-events: none; }
.gh-brand-campaign__content .gh-eyebrow { color: var(--gh-lime); line-height: 1.6; font-size: .6rem; letter-spacing: .15em; }
.gh-brand-campaign .gh-brand-campaign__content h2 { margin: 1rem 0 1.5rem; color: var(--gh-lime); font: 400 clamp(2.75rem, 6.2cqi, 6.5rem)/1.04 var(--gh-sans); letter-spacing: -.065em; }
.gh-brand-campaign__content h2 strong { color: var(--gh-white); font-weight: 600; }
.gh-brand-campaign__content p { max-width: 36ch; margin-bottom: 2rem; color: #e0e7e0; }
@container gh-campaign (max-width: 650px) {
  .gh-brand-campaign__photo { grid-column: 1 / -1; min-height: 19rem; }
  .gh-brand-campaign__content { grid-column: 1 / -1; padding: 2.5rem 1.5rem; }
  .gh-brand-campaign .gh-brand-campaign__content h2 { font-size: clamp(3rem, 10cqi, 4.5rem); }
}
/* Native grid fallback also handles browsers without container queries. */
@media (max-width: 650px) { .gh-brand-campaign { grid-template-columns: 1fr; } }

.gh-identity-cover { position: relative; isolation: isolate; overflow: hidden; padding: clamp(2rem, 5vw, 4rem); color: var(--gh-white); background: var(--gh-forest); }
.gh-identity-cover::after { position: absolute; z-index: -1; right: -3rem; bottom: -3rem; width: 21rem; height: 21rem; opacity: .08; background: url("../../resources/logos/5GHLOGO_4.svg") center / contain no-repeat; pointer-events: none; content: ""; }
.gh-identity-cover > img { display: block; width: min(17rem, 80%); height: auto; margin: 1.25rem 0 3.5rem; }
.gh-identity-cover > .gh-eyebrow { color: var(--gh-lime); font-size: .6rem; }
.gh-identity-cover h1 { font-size: clamp(3rem, 5.5vw, 5.75rem); line-height: 1; }
.gh-identity-cover p { max-width: 44ch; margin: 1.75rem 0 2rem; color: #d6e2d7; }
.gh-identity-section { padding: clamp(3rem, 5vw, 5rem) 0 0; }
.gh-identity-section > .gh-eyebrow { color: var(--gh-grove); }
.gh-identity-section h3 { font-size: 1.8rem; line-height: 1.1; }
.gh-identity-section p { font-size: .92rem; }
.gh-identity-note { margin: 1.5rem 0 0; padding: 1.25rem; border-left: 2px solid var(--gh-grove); color: var(--gh-forest); background: var(--gh-cream); font-size: .8rem !important; }
.gh-identity-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.gh-identity-example { min-width: 0; border: 1px solid var(--gh-line); }
.gh-identity-example__stage { display: flex; min-height: 15rem; align-items: center; justify-content: center; overflow: hidden; padding: 2rem; }
.gh-identity-example__stage img { width: min(100%, 17rem); height: auto; }
.gh-identity-stage--forest { background: var(--gh-forest); }
.gh-identity-stage--clear { background: #fff; }
/* Deliberately incorrect examples. Never apply these classes to the real brand. */
.gh-identity-stage--distorted img { transform: scaleY(1.75) scaleX(.8); }
.gh-identity-cropped { width: 100%; height: 2.2rem; overflow: hidden; }
.gh-identity-cropped img { display: block; }
.gh-identity-stage--photo { background: url("../../resources/images/identidad/jardines.webp") center / cover; }
.gh-identity-stage--protected { color: #fff; background-image: linear-gradient(#10312be6, #10312be6), url("../../resources/images/identidad/jardines.webp"); }
.gh-identity-stage--low-contrast { color: #fff; background: var(--gh-lime); }
.gh-identity-example .gh-identity-statement { margin: 0; font: 400 clamp(1.5rem, 2.7vw, 2.6rem)/1.2 var(--gh-sans); letter-spacing: -.05em; }
.gh-identity-example__caption { padding: 1.5rem; }
.gh-identity-example__caption h3 { margin: 1rem 0 .6rem; }
.gh-identity-example__caption p { margin-bottom: 0; }
.gh-identity-type { padding: 2rem 0; border-bottom: 1px solid var(--gh-line); }
.gh-identity-type small { display: block; margin-bottom: 1rem; color: var(--gh-grove); font-size: .7rem; }
.gh-identity-type > span { display: block; font-size: .7rem; color: var(--gh-muted); }
.gh-identity-type .gh-identity-type__title { font: 400 clamp(2.1rem, 4vw, 3.8rem)/1.1 var(--gh-serif); }
.gh-identity-type .gh-detail { font: 500 clamp(1.8rem, 3vw, 2.6rem)/1.2 var(--gh-font-detail); }
.gh-identity-palette { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 2rem; }
.gh-identity-palette > div { display: flex; min-height: 12rem; flex-direction: column; justify-content: end; gap: .5rem; padding: 1.25rem; }
.gh-identity-palette strong { font-size: .8rem; }.gh-identity-palette span { font-size: .66rem; }
.gh-identity-assets { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 2rem 1.25rem; margin: 2rem 0; }
.gh-identity-assets__preview { aspect-ratio: 4 / 3; margin-bottom: 1rem; background: var(--gh-forest) center / cover no-repeat; }
.gh-identity-assets p { font-size: .73rem; }
.gh-identity-checklist { margin: 1.5rem 0 0; padding-left: 1.2rem; }.gh-identity-checklist li { margin-bottom: 1rem; padding-left: .5rem; }
@media (max-width: 650px) { .gh-identity-grid, .gh-identity-palette { grid-template-columns: 1fr; } .gh-identity-palette > div { min-height: 8rem; } }

/* Landing-specific application; all alternative shapes remain in the UI library. */
.gh-brand-site .gh-hero__title { max-width: 13ch; font-size: clamp(3.6rem, 6.5vw, 7.7rem); }
.gh-brand-site .gh-hero__title em { font-style: normal; }
.gh-brand-site .gh-hero__aside strong { font-family: var(--gh-font-detail); font-size: 2.3rem; }
.gh-brand-site .gh-hero__aside span { line-height: 1.6; letter-spacing: .09em; }
.gh-brand-site .gh-hero__grain { background: url("../../resources/images/identidad/textura-pino.webp") left bottom / 35rem auto no-repeat; opacity: .12; mix-blend-mode: normal; }
.gh-brand-site .gh-btn { border-radius: .35rem; }
.gh-brand-portrait { min-height: 36rem; margin: 0; background: var(--gh-forest) center / cover no-repeat; border: 1px solid var(--gh-line); }
.gh-brand-portrait__caption { position: absolute; left: 1.5rem; right: 1.5rem; bottom: 1.5rem; padding: 1rem 1.25rem; color: var(--gh-white); background: var(--gh-forest); font: 500 1.65rem/1.2 var(--gh-font-detail); }
.gh-brand-site .gh-quote-card { background-image: linear-gradient(#10312be8, #10312be8), url("../../resources/images/identidad/textura-pino.webp"); background-size: cover; }
.gh-brand-site .gh-footer { border-top: 1px solid #a1d18444; }
@media (max-width: 650px) { .gh-brand-portrait { min-height: 28rem; } .gh-brand-site .gh-hero__aside { grid-template-columns: 1fr; gap: 1rem; } .gh-brand-site .gh-hero__aside > div { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; } }

/* Brand and navigation */
.gh-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-width: max-content;
}

.gh-brand__mark {
  width: 2.7rem;
  height: 2.7rem;
  flex: 0 0 auto;
}

.gh-brand__name {
  display: grid;
  color: inherit;
  font-family: var(--gh-serif);
  font-size: 1.17rem;
  letter-spacing: 0.06em;
  line-height: 0.85;
  text-transform: uppercase;
}

.gh-brand__name small {
  margin-top: 0.45rem;
  font-family: var(--gh-sans);
  font-size: 0.48rem;
  font-weight: 600;
  letter-spacing: 0.35em;
}

/* Supplied SVG artwork stays intact; only its on-light variant is recolored. */
.gh-brand--official { min-width: 0; flex-shrink: 0; }
.gh-brand__logos { display: grid; }
.gh-brand__logo { display: block; grid-area: 1 / 1; width: clamp(10rem, 17vw, 14rem); height: auto; }
.gh-brand__logo--dark { opacity: var(--gh-logo-dark); }
.gh-brand__logo--light { opacity: var(--gh-logo-light); }
.gh-brand--inverse, .gh-footer, .gh-preview--dark, .gh-navbar-demo--dark { --gh-logo-dark: 0; --gh-logo-light: 1; }

.gh-navbar {
  position: fixed;
  z-index: 1040;
  inset: 0 0 auto;
  --gh-nav-bg: var(--gh-white);
  --gh-nav-fg: var(--gh-forest);
  --gh-nav-border: var(--gh-line);
  --gh-nav-cta-bg: var(--gh-forest);
  --gh-nav-cta-fg: var(--gh-white);
  --gh-logo-dark: 1;
  --gh-logo-light: 0;
  color: var(--gh-nav-fg);
  background: var(--gh-nav-bg);
  border-bottom: 1px solid var(--gh-nav-border);
  transition: color 300ms ease, background 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.gh-navbar--overlay {
  --gh-logo-dark: 0;
  --gh-logo-light: 1;
  --gh-nav-bg: transparent;
  --gh-nav-fg: var(--gh-white);
  --gh-nav-border: transparent;
  --gh-nav-cta-bg: var(--gh-lime);
  --gh-nav-cta-fg: var(--gh-forest);
}

.gh-navbar--overlay.is-scrolled,
.gh-navbar--blur,
.gh-navbar--solid {
  --gh-logo-dark: 1;
  --gh-logo-light: 0;
  --gh-nav-bg: rgba(255, 253, 248, .9);
  --gh-nav-fg: var(--gh-forest);
  --gh-nav-border: rgba(16, 49, 43, .12);
  --gh-nav-cta-bg: var(--gh-forest);
  --gh-nav-cta-fg: var(--gh-white);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.gh-navbar--white,
.gh-navbar--light { --gh-nav-bg: var(--gh-white); --gh-nav-fg: var(--gh-forest); --gh-nav-border: var(--gh-line); }

.gh-navbar--forest { --gh-nav-bg: var(--gh-forest); --gh-nav-fg: var(--gh-white); --gh-nav-border: rgba(255,255,255,.13); --gh-nav-cta-bg: var(--gh-lime); --gh-nav-cta-fg: var(--gh-forest); }
.gh-navbar--grove { --gh-nav-bg: var(--gh-grove); --gh-nav-fg: var(--gh-white); --gh-nav-border: rgba(255,255,255,.16); --gh-nav-cta-bg: var(--gh-sand); --gh-nav-cta-fg: var(--gh-forest); }
.gh-navbar--water { --gh-nav-bg: var(--gh-water); --gh-nav-fg: var(--gh-white); --gh-nav-border: rgba(255,255,255,.18); --gh-nav-cta-bg: var(--gh-white); --gh-nav-cta-fg: var(--gh-forest); }
.gh-navbar--sky { --gh-nav-bg: var(--gh-sky); --gh-nav-fg: var(--gh-forest); --gh-nav-border: rgba(16,49,43,.15); --gh-nav-cta-bg: var(--gh-forest); --gh-nav-cta-fg: var(--gh-white); }
.gh-navbar--mint { --gh-nav-bg: var(--gh-mint); --gh-nav-fg: var(--gh-forest); --gh-nav-border: rgba(16,49,43,.15); --gh-nav-cta-bg: var(--gh-forest); --gh-nav-cta-fg: var(--gh-white); }
.gh-navbar--lime { --gh-nav-bg: var(--gh-lime); --gh-nav-fg: var(--gh-forest); --gh-nav-border: rgba(16,49,43,.15); --gh-nav-cta-bg: var(--gh-forest); --gh-nav-cta-fg: var(--gh-white); }
.gh-navbar--yellow { --gh-nav-bg: var(--gh-yellow); --gh-nav-fg: var(--gh-forest); --gh-nav-border: rgba(16,49,43,.15); --gh-nav-cta-bg: var(--gh-forest); --gh-nav-cta-fg: var(--gh-white); }
.gh-navbar--sand { --gh-nav-bg: var(--gh-sand); --gh-nav-fg: var(--gh-forest); --gh-nav-border: rgba(16,49,43,.15); --gh-nav-cta-bg: var(--gh-forest); --gh-nav-cta-fg: var(--gh-white); }
.gh-navbar--forest, .gh-navbar--grove, .gh-navbar--water { --gh-logo-dark: 0; --gh-logo-light: 1; }

.gh-navbar.is-scrolled {
  box-shadow: 0 12px 35px rgba(16, 49, 43, .09);
}

.gh-navbar__inner {
  display: flex;
  min-height: 5.6rem;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1rem, 2vw, 2.5rem);
  width: min(100% - clamp(1.5rem, 4vw, 6rem), 112rem);
}

.gh-navbar__links {
  display: flex;
  align-items: center;
  gap: clamp(.9rem, 2vw, 2.4rem);
}

.gh-navbar__cta.gh-btn {
  color: var(--gh-nav-cta-fg);
  background: var(--gh-nav-cta-bg);
}

.gh-navbar__cta .gh-btn__icon {
  color: var(--gh-nav-cta-bg);
  background: var(--gh-nav-cta-fg);
}

.gh-navbar__cta:hover { filter: brightness(1.08); }

.gh-navbar__links > a:not(.gh-btn) {
  position: relative;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.gh-navbar__links > a:not(.gh-btn)::after {
  position: absolute;
  right: 100%;
  bottom: -0.45rem;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transition: right 250ms var(--gh-ease);
}

.gh-navbar__links > a:hover::after,
.gh-navbar__links > a[aria-current="page"]::after { right: 0; }

.gh-nav-toggle {
  display: none;
  width: 2.9rem;
  height: 2.9rem;
  padding: 0.8rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  background: transparent;
  flex: 0 0 auto;
}

.gh-nav-toggle span {
  display: block;
  height: 1px;
  margin: 0.29rem 0;
  background: currentColor;
  transition: transform 200ms ease, opacity 200ms ease;
}

/* Buttons */
.gh-btn {
  position: relative;
  display: inline-flex;
  min-height: 3.35rem;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  overflow: hidden;
  padding: 0.88rem 1.45rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--gh-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1;
  text-transform: uppercase;
  transition: color 250ms ease, background 250ms ease, border-color 250ms ease, transform 250ms var(--gh-ease), box-shadow 250ms ease;
}

.gh-btn:hover { transform: translateY(-2px); }
.gh-btn:active { transform: translateY(0); }

.gh-btn__icon {
  display: inline-grid;
  width: 1.55rem;
  height: 1.55rem;
  place-items: center;
  border-radius: 50%;
  font-size: 1rem;
  transition: transform 250ms var(--gh-ease);
}

.gh-btn:hover .gh-btn__icon { transform: translateX(3px); }

.gh-btn--primary,
.gh-btn--forest {
  color: var(--gh-white);
  background: var(--gh-forest);
  box-shadow: 0 12px 30px rgba(16, 49, 43, 0.18);
}

.gh-btn--primary .gh-btn__icon,
.gh-btn--forest .gh-btn__icon { color: var(--gh-forest); background: var(--gh-lime); }
.gh-btn--primary:hover,
.gh-btn--forest:hover { color: var(--gh-white); background: var(--gh-grove); }

.gh-btn--lime { color: var(--gh-forest); background: var(--gh-lime); }
.gh-btn--lime .gh-btn__icon { color: var(--gh-white); background: var(--gh-forest); }
.gh-btn--lime:hover { color: var(--gh-forest); background: var(--gh-sand); }

.gh-btn--grove { color: var(--gh-white); background: var(--gh-grove); box-shadow: 0 12px 28px rgba(41,81,53,.2); }
.gh-btn--grove:hover { color: var(--gh-forest); background: var(--gh-lime); }
.gh-btn--water { color: var(--gh-white); background: var(--gh-water); box-shadow: 0 12px 28px rgba(0,125,165,.2); }
.gh-btn--water:hover { color: var(--gh-forest); background: var(--gh-sky); }
.gh-btn--sky { color: var(--gh-forest); background: var(--gh-sky); box-shadow: 0 12px 28px rgba(107,196,232,.2); }
.gh-btn--sky:hover { color: var(--gh-white); background: var(--gh-water); }
.gh-btn--mint { color: var(--gh-forest); background: var(--gh-mint); box-shadow: 0 12px 28px rgba(69,194,177,.2); }
.gh-btn--mint:hover { color: var(--gh-white); background: var(--gh-grove); }
.gh-btn--yellow { color: var(--gh-forest); background: var(--gh-yellow); box-shadow: 0 12px 28px rgba(227,226,141,.22); }
.gh-btn--yellow:hover { color: var(--gh-forest); background: var(--gh-sand); }
.gh-btn--sand { color: var(--gh-forest); background: var(--gh-sand); box-shadow: 0 12px 28px rgba(234,222,152,.24); }
.gh-btn--sand:hover { color: var(--gh-white); background: var(--gh-grove); }
.gh-btn--white { color: var(--gh-forest); background: var(--gh-white); box-shadow: 0 12px 28px rgba(16,49,43,.1); }
.gh-btn--white:hover { color: var(--gh-white); background: var(--gh-grove); }

.gh-btn--grove .gh-btn__icon,
.gh-btn--water .gh-btn__icon { color: var(--gh-white); background: rgba(255,255,255,.18); }
.gh-btn--sky .gh-btn__icon,
.gh-btn--mint .gh-btn__icon,
.gh-btn--yellow .gh-btn__icon,
.gh-btn--sand .gh-btn__icon,
.gh-btn--white .gh-btn__icon { color: var(--gh-forest); background: rgba(16,49,43,.11); }
.gh-btn--grove:hover .gh-btn__icon,
.gh-btn--water:hover .gh-btn__icon,
.gh-btn--sky:hover .gh-btn__icon,
.gh-btn--mint:hover .gh-btn__icon,
.gh-btn--sand:hover .gh-btn__icon,
.gh-btn--white:hover .gh-btn__icon { color: inherit; background: rgba(255,255,255,.2); }

.gh-btn--outline { color: inherit; border-color: currentColor; background: transparent; }
.gh-btn--outline:hover { color: var(--gh-white); border-color: var(--gh-forest); background: var(--gh-forest); }
.gh-section--forest .gh-btn--outline:hover { color: var(--gh-forest); border-color: var(--gh-lime); background: var(--gh-lime); }

.gh-btn--ghost {
  min-height: auto;
  padding: 0.55rem 0;
  border-radius: 0;
  color: var(--gh-forest);
}

.gh-btn--ghost::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform-origin: left;
  transition: transform 250ms var(--gh-ease);
}

.gh-btn--ghost:hover::after { transform: scaleX(0.35); }

.gh-btn--sm { min-height: 2.65rem; padding: 0.7rem 1.1rem; font-size: 0.62rem; }
.gh-btn--lg { min-height: 4.1rem; padding: 1.1rem 1.75rem; }
.gh-btn[disabled], .gh-btn.is-disabled { opacity: 0.42; pointer-events: none; }

/* Hero */
.gh-hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  align-items: flex-end;
  overflow: hidden;
  color: var(--gh-white);
  background: var(--gh-forest);
}

.gh-hero__media,
.gh-hero__overlay,
.gh-hero__grain {
  position: absolute;
  inset: 0;
}

.gh-hero__media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.03);
  animation: gh-hero-in 1.6s var(--gh-ease) both;
}

.gh-hero__overlay {
  background:
    linear-gradient(90deg, rgba(5, 29, 26, 0.94) 0%, rgba(5, 29, 26, 0.78) 30%, rgba(5, 29, 26, 0.2) 62%, rgba(5, 29, 26, 0.24) 100%),
    linear-gradient(0deg, rgba(5, 29, 26, 0.84) 0%, transparent 45%);
}

.gh-hero__grain {
  pointer-events: none;
  opacity: 0.1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.38'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.gh-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 10.5rem 0 6rem;
}

.gh-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(15rem, 0.55fr);
  align-items: end;
  gap: 4rem;
}

.gh-hero__title { max-width: 12ch; margin-bottom: 1.4rem; }
.gh-hero__title em { color: var(--gh-lime); font-style: italic; }

.gh-hero__copy {
  max-width: 34rem;
  margin: 0 0 2rem;
  color: rgba(255, 253, 248, 0.78);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
}

.gh-hero__aside {
  display: grid;
  gap: 1.5rem;
  padding: 1.7rem 0 0 1.8rem;
  border-left: 1px solid rgba(255,255,255,.35);
}

.gh-hero__aside strong {
  display: block;
  color: var(--gh-lime);
  font-family: var(--gh-serif);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
}

.gh-hero__aside span {
  display: block;
  margin-top: 0.4rem;
  color: rgba(255,255,255,.64);
  font-size: 0.63rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gh-scroll-cue {
  position: absolute;
  z-index: 3;
  right: 2rem;
  bottom: 2rem;
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 50%;
  color: var(--gh-white);
  font-size: 1.2rem;
  animation: gh-float 2.4s ease-in-out infinite;
}

@keyframes gh-hero-in { from { opacity: 0; transform: scale(1.13); } to { opacity: 1; transform: scale(1.03); } }
@keyframes gh-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* Layout patterns */
.gh-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
}

.gh-split--wide { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }

.gh-arch {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 50% 50% 1rem 1rem / 25% 25% 1rem 1rem;
  background: var(--gh-grove);
  box-shadow: var(--gh-shadow);
}

.gh-arch img { width: 100%; height: 100%; object-fit: cover; transition: transform 850ms var(--gh-ease); }
.gh-arch:hover img { transform: scale(1.04); }

.gh-arch::after {
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(255,255,255,.48);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.gh-float-card {
  position: absolute;
  right: -2rem;
  bottom: 2.8rem;
  width: min(15rem, 52%);
  padding: 1.4rem;
  color: var(--gh-forest);
  background: var(--gh-lime);
  box-shadow: var(--gh-shadow);
}

.gh-float-card strong {
  display: block;
  font-family: var(--gh-serif);
  font-size: 2.7rem;
  font-weight: 400;
  line-height: 1;
}

.gh-float-card span { font-size: .65rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }

.gh-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--gh-line);
  border-bottom: 1px solid var(--gh-line);
}

.gh-metric {
  min-height: 11rem;
  padding: 2rem;
  border-right: 1px solid var(--gh-line);
}

.gh-metric:last-child { border-right: 0; }
.gh-metric strong { display: block; font-family: var(--gh-serif); font-size: clamp(2.8rem, 5vw, 4.8rem); font-weight: 400; line-height: 1; }
.gh-metric span { display: block; margin-top: .6rem; color: var(--gh-muted); font-size: .65rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }

/* Cards */
.gh-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.gh-property-card {
  position: relative;
  display: flex;
  min-height: 34rem;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 1.5rem;
  color: var(--gh-white);
  background: var(--gh-forest);
}

.gh-property-card__media,
.gh-property-card::after { position: absolute; inset: 0; }
.gh-property-card__media { width: 100%; height: 100%; object-fit: cover; transition: transform 800ms var(--gh-ease); }
.gh-property-card::after { background: linear-gradient(180deg, transparent 26%, rgba(5,29,26,.86) 100%); content: ""; }
.gh-property-card:hover .gh-property-card__media { transform: scale(1.055); }

.gh-property-card__top {
  position: absolute;
  z-index: 1;
  top: 1.3rem;
  right: 1.3rem;
  left: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gh-property-card__body { position: relative; z-index: 1; }
.gh-property-card__body h3 { margin: 0 0 .7rem; font-size: 2.4rem; }
.gh-property-card__body p { margin: 0; color: rgba(255,255,255,.72); font-size: .9rem; }

.gh-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .48rem .72rem;
  border-radius: 999px;
  font-size: .58rem;
  font-weight: 750;
  letter-spacing: .12em;
  line-height: 1;
  text-transform: uppercase;
}

.gh-badge--lime { color: var(--gh-forest); background: var(--gh-lime); }
.gh-badge--mint { color: var(--gh-forest); background: var(--gh-mint); }
.gh-badge--sand { color: var(--gh-forest); background: var(--gh-sand); }
.gh-badge--forest { color: var(--gh-white); background: var(--gh-forest); }
.gh-badge--grove { color: var(--gh-white); background: var(--gh-grove); }
.gh-badge--water { color: var(--gh-white); background: var(--gh-water); }
.gh-badge--sky { color: var(--gh-forest); background: var(--gh-sky); }
.gh-badge--yellow { color: var(--gh-forest); background: var(--gh-yellow); }
.gh-badge--outline { color: inherit; border: 1px solid currentColor; background: transparent; }

.gh-badge--dot::before {
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: currentColor;
  content: "";
  opacity: .8;
}

.gh-badge--square {
  width: 2.3rem;
  height: 2.3rem;
  justify-content: center;
  padding: 0;
  border-radius: .25rem;
  font-family: var(--gh-serif);
  font-size: 1rem;
  letter-spacing: 0;
}

.gh-icon-card {
  position: relative;
  min-height: 19rem;
  padding: 2rem;
  border: 1px solid var(--gh-line);
  background: rgba(255,255,255,.46);
  transition: color 300ms ease, background 300ms ease, transform 300ms var(--gh-ease);
}

.gh-icon-card:hover { color: var(--gh-white); background: var(--gh-forest); transform: translateY(-6px); }
.gh-icon-card__number { color: var(--gh-mint); font-size: .64rem; font-weight: 700; letter-spacing: .16em; }
.gh-icon-card h3 { margin: 5.5rem 0 .8rem; font-size: 2rem; }
.gh-icon-card p { margin: 0; color: var(--gh-muted); font-size: .92rem; }
.gh-icon-card:hover p { color: rgba(255,255,255,.67); }

.gh-residence-card {
  display: grid;
  min-height: 22rem;
  grid-template-columns: minmax(0, 1.1fr) minmax(16rem, .9fr);
  overflow: hidden;
  border: 1px solid var(--gh-line);
  background: var(--gh-white);
  box-shadow: 0 14px 40px rgba(16,49,43,.08);
}

.gh-residence-card__media { position: relative; min-height: 20rem; overflow: hidden; }
.gh-residence-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--gh-ease); }
.gh-residence-card:hover .gh-residence-card__media img { transform: scale(1.04); }
.gh-residence-card__content { display: flex; flex-direction: column; justify-content: space-between; padding: clamp(1.6rem, 3vw, 2.8rem); }
.gh-residence-card__content h3 { margin: 1rem 0; font-size: clamp(2rem, 3vw, 3.1rem); }
.gh-residence-card__meta { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; color: var(--gh-muted); font-size: .73rem; letter-spacing: .08em; text-transform: uppercase; }

/* Optional photo-to-video preview for both photo and split cards. */
.gh-hover-video__media { position: relative; overflow: hidden; background: var(--gh-forest); }
.gh-property-card.gh-hover-video { min-height: 30rem; isolation: isolate; }
.gh-property-card .gh-hover-video__media { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; }
.gh-property-card.gh-hover-video::after { z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(5,29,26,.2), transparent 35%, rgba(5,29,26,.88)); }
.gh-property-card.gh-hover-video .gh-property-card__top,
.gh-property-card.gh-hover-video .gh-property-card__body { z-index: 2; }
.gh-hover-video__photo,
.gh-hover-video__video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--gh-preview-position, center); pointer-events: none; }
.gh-hover-video__video { opacity: 0; transition: opacity 320ms ease; }
.gh-hover-video.is-playing .gh-hover-video__video { opacity: 1; }
.gh-hover-video:hover .gh-hover-video__photo,
.gh-residence-card.gh-hover-video:hover .gh-hover-video__photo { transform: none; }
.gh-hover-video__toggle { position: relative; z-index: 2; display: none; width: 2.85rem; height: 2.85rem; min-height: 2.85rem; flex: 0 0 2.85rem; align-items: center; justify-content: center; padding: 0; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; color: var(--gh-white); background: rgba(16,49,43,.72); box-shadow: 0 4px 16px rgba(0,0,0,.12); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.gh-hover-video.is-enhanced .gh-hover-video__toggle { display: inline-flex; }
.gh-hover-video__toggle::before { width: .65rem; height: .75rem; flex: 0 0 auto; background: currentColor; clip-path: polygon(10% 0, 100% 50%, 10% 100%); content: ""; }
.gh-hover-video__toggle[aria-pressed="true"]::before { clip-path: none; background: linear-gradient(to right, currentColor 35%, transparent 35%, transparent 65%, currentColor 65%); }
.gh-hover-video__toggle:hover { color: var(--gh-forest); border-color: var(--gh-lime); background: var(--gh-lime); }
.gh-hover-video__media > .gh-hover-video__toggle { position: absolute; bottom: 1.2rem; left: 1.2rem; }

.gh-editorial-card {
  position: relative;
  min-height: 25rem;
  overflow: hidden;
  padding: 2rem;
  color: var(--gh-white);
  background: var(--gh-grove);
}

.gh-editorial-card::before {
  position: absolute;
  right: -6rem;
  bottom: -7rem;
  width: 20rem;
  height: 20rem;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  content: "";
}

.gh-editorial-card__number { color: var(--gh-lime); font-family: var(--gh-serif); font-size: 5.5rem; line-height: 1; }
.gh-editorial-card h3 { max-width: 9ch; margin: 6rem 0 1rem; font-size: 2.65rem; }
.gh-editorial-card p { max-width: 28rem; margin: 0; color: rgba(255,255,255,.65); }

.gh-testimonial-card {
  position: relative;
  min-height: 25rem;
  padding: clamp(2rem, 4vw, 3.5rem);
  border: 1px solid var(--gh-line);
  background: var(--gh-cream);
}

.gh-testimonial-card::before { color: var(--gh-mint); content: "“"; font-family: var(--gh-serif); font-size: 7rem; line-height: .5; }
.gh-testimonial-card blockquote { margin: 3rem 0; font-family: var(--gh-serif); font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1.06; }
.gh-testimonial-card footer { color: var(--gh-muted); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

.gh-stat-card {
  min-height: 15rem;
  padding: 2rem;
  border-top: 3px solid var(--gh-mint);
  color: var(--gh-white);
  background: var(--gh-forest);
}

.gh-stat-card strong { display: block; margin: 2.5rem 0 .6rem; color: var(--gh-lime); font-family: var(--gh-serif); font-size: 4.5rem; font-weight: 400; line-height: .9; }
.gh-stat-card span { color: rgba(255,255,255,.6); font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

.gh-quote-card {
  position: relative;
  padding: clamp(2.5rem, 5vw, 5rem);
  color: var(--gh-forest);
  background: var(--gh-sand);
}

.gh-quote-card blockquote {
  max-width: 18ch;
  margin: 0;
  font-family: var(--gh-serif);
  font-size: clamp(2.2rem, 4.5vw, 5rem);
  letter-spacing: -.035em;
  line-height: 1;
}

/* Forms */
.gh-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.gh-field { position: relative; display: block; }
.gh-field--full { grid-column: 1 / -1; }

.gh-field__control {
  width: 100%;
  min-height: 4rem;
  padding: 1.55rem 1.15rem .6rem;
  border: 0;
  border-bottom: 1px solid var(--gh-line);
  border-radius: 0;
  color: var(--gh-forest);
  background: transparent;
  font-family: var(--gh-sans);
  font-size: 1rem;
  transition: border-color 200ms ease, background 200ms ease;
}

textarea.gh-field__control { min-height: 8rem; resize: vertical; }
.gh-field__control:hover { background: rgba(161,209,132,.08); }
.gh-field__control:focus { border-color: var(--gh-mint); outline: 0; box-shadow: 0 1px 0 var(--gh-mint); }

.gh-field__label {
  position: absolute;
  top: 1.25rem;
  left: 1.15rem;
  color: var(--gh-muted);
  font-size: .82rem;
  pointer-events: none;
  transition: transform 170ms ease, color 170ms ease, font-size 170ms ease;
}

.gh-field__control:focus + .gh-field__label,
.gh-field__control:not(:placeholder-shown) + .gh-field__label {
  color: var(--gh-grove);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  transform: translateY(-.75rem);
}

.gh-field--boxed .gh-field__control {
  border: 1px solid var(--gh-line);
  border-radius: var(--gh-radius-sm);
  background: var(--gh-white);
}

.gh-field--boxed .gh-field__control:focus { border-color: var(--gh-mint); box-shadow: 0 0 0 4px rgba(69,194,177,.13); }

.gh-select { display: grid; align-content: start; gap: .55rem; min-width: 0; }
.gh-select__label { color: var(--gh-grove); font-size: .65rem; font-weight: 750; letter-spacing: .13em; line-height: 1.25; text-transform: uppercase; }
.gh-select__shell { position: relative; display: block; min-width: 0; }
.gh-select__shell::after { position: absolute; top: 50%; right: 1.25rem; width: .55rem; height: .55rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; color: var(--gh-forest); content: ""; pointer-events: none; transform: translateY(-70%) rotate(45deg); transition: transform 200ms ease; }
.gh-select:focus-within .gh-select__shell::after { transform: translateY(-30%) rotate(225deg); }
.gh-select__control {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 3.9rem;
  padding: .95rem 3.3rem .95rem 1.2rem;
  overflow: hidden;
  appearance: none;
  border: 1px solid rgba(16,49,43,.22);
  border-radius: .65rem;
  color: var(--gh-forest);
  background: var(--gh-white);
  font-family: var(--gh-sans);
  font-size: .98rem;
  font-weight: 550;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 200ms ease, box-shadow 200ms ease, background 200ms ease;
}
.gh-select__control:hover { border-color: var(--gh-grove); background: #fcfcf5; }
.gh-select__control:invalid { color: var(--gh-muted); }
.gh-select__control:focus { outline: 0; border-color: var(--gh-water); box-shadow: 0 0 0 4px rgba(0,125,165,.14); }
.gh-select__control option { color: var(--gh-forest); background: var(--gh-white); }
.gh-select__hint { color: var(--gh-muted); font-size: .75rem; line-height: 1.4; }
.gh-select--dark .gh-select__label { color: var(--gh-lime); }
.gh-select--dark .gh-select__control { color: var(--gh-white); border-color: rgba(255,255,255,.26); background: var(--gh-grove); }
.gh-select--dark .gh-select__control:invalid { color: rgba(255,255,255,.65); }
.gh-select--dark .gh-select__control:hover { border-color: var(--gh-lime); background: var(--gh-forest); }
.gh-select--dark .gh-select__control:focus { border-color: var(--gh-lime); box-shadow: 0 0 0 4px rgba(161,209,132,.2); }
.gh-select--dark .gh-select__shell::after { color: var(--gh-white); }
.gh-select--dark .gh-select__hint { color: rgba(255,255,255,.62); }
.gh-select--panel { padding: .85rem 1rem; border-radius: .75rem; background: var(--gh-forest); }

.gh-choice { display: inline-flex; align-items: center; gap: .65rem; cursor: pointer; }
.gh-choice input { width: 1.15rem; height: 1.15rem; accent-color: var(--gh-grove); }

/* Accordions, notice, tabs */
.gh-accordion { border-top: 1px solid currentColor; }
.gh-accordion__item { border-bottom: 1px solid currentColor; }
.gh-accordion__button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.65rem 0;
  border: 0;
  color: inherit;
  background: transparent;
  font-family: var(--gh-serif);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  text-align: left;
}

.gh-accordion__button::after { content: "+"; font-family: var(--gh-sans); font-size: 1.5rem; font-weight: 300; transition: transform 250ms ease; }
.gh-accordion__button:not(.collapsed)::after { transform: rotate(45deg); }
.gh-accordion__content { max-width: 48rem; padding: 0 3rem 1.8rem 0; color: rgba(255,255,255,.66); }

.gh-alert {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  border-left: 3px solid var(--gh-mint);
  color: var(--gh-forest);
  background: rgba(69,194,177,.13);
}

.gh-alert--sand { border-color: var(--gh-sand); background: rgba(234,222,152,.24); }
.gh-form-success {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 1.5rem;
  min-height: clamp(22rem, 42vw, 29rem);
  padding: clamp(1.5rem, 6vw, 4rem);
  border-radius: clamp(1.25rem, 3vw, 2rem);
  background: radial-gradient(ellipse at top, var(--gh-grove), transparent 75%), var(--gh-forest);
  color: var(--gh-white, #fff);
  text-align: center;
}
.gh-form-success__check {
  display: grid;
  place-items: center;
  width: clamp(3.5rem, 7vw, 4.75rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--gh-lime);
  color: var(--gh-forest);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1;
}
.gh-form-success h2 {
  margin: 0;
  color: inherit;
  font: 400 clamp(2.35rem, 6vw, 4.75rem)/1.06 var(--gh-serif, serif);
  text-wrap: balance;
}
.gh-form-success p { max-width: 44ch; margin: .85rem auto 0; color: inherit; }
.gh-form-success .gh-btn { min-height: 44px; }
.gh-alert__icon { display: grid; width: 1.6rem; height: 1.6rem; flex: 0 0 auto; place-items: center; border-radius: 50%; color: var(--gh-white); background: var(--gh-grove); font-size: .75rem; }

.gh-tabs { display: flex; gap: .3rem; padding: .32rem; border-radius: 999px; background: rgba(16,49,43,.07); }
.gh-tab { flex: 1; padding: .85rem 1rem; border: 0; border-radius: 999px; color: var(--gh-muted); background: transparent; font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.gh-tab.is-active { color: var(--gh-white); background: var(--gh-forest); }

/* Navbar previews */
.gh-navbar-demo {
  position: relative;
  display: flex;
  min-height: 5.2rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem 1.3rem;
  border: 1px solid var(--gh-line);
  color: var(--gh-forest);
  background: var(--gh-white);
}

.gh-navbar-demo--dark { color: var(--gh-white); border-color: transparent; background: var(--gh-forest); }
.gh-navbar-demo--floating { margin: 1.2rem; border: 0; border-radius: 999px; background: rgba(255,253,248,.72); box-shadow: var(--gh-shadow); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.gh-navbar-demo__links { display: flex; align-items: center; gap: 1.5rem; font-size: .64rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.gh-nav-palette { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; margin-top: 1.5rem; }
.gh-nav-palette__item { display: flex; min-height: 3.5rem; align-items: center; justify-content: center; border: 1px solid rgba(16,49,43,.1); border-radius: .55rem; background: var(--swatch); font-size: .67rem; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }

/* Carousel: Cube's Tiny Slider supplies touch, keyboard and controls. */
.gh-carousel { position: relative; padding-bottom: 4.8rem; }
/* Tiny Slider forces padding:0!important on .tns-outer; reserve controls on our wrapper. */
.gh-carousel .tns-outer { position: static; }
.gh-carousel .tns-controls { position: absolute; z-index: 4; right: 0; bottom: 0; display: flex; gap: .55rem; }
.gh-carousel .tns-controls button {
  display: grid;
  width: 3.6rem;
  height: 3.6rem;
  place-items: center;
  border: 1px solid var(--gh-line);
  border-radius: 50%;
  color: var(--gh-forest);
  background: var(--gh-white);
  font-size: 1.15rem;
  transition: color 200ms ease, background 200ms ease, transform 200ms ease;
}
.gh-carousel .tns-controls button:hover { color: var(--gh-white); background: var(--gh-forest); transform: translateY(-2px); }
.gh-carousel .tns-controls button:focus-visible,
.gh-carousel .tns-nav button:focus-visible { outline: 3px solid var(--gh-mint); outline-offset: 3px; }
.gh-carousel .tns-nav { position: absolute; bottom: 1.65rem; left: 0; display: flex; align-items: center; gap: .5rem; }
.gh-carousel .tns-nav button { width: 2rem; height: 3px; padding: 0; border: 0; border-radius: 999px; background: rgba(16,49,43,.2); transition: width 200ms ease, background 200ms ease; }
.gh-carousel .tns-nav button.tns-nav-active { width: 3rem; background: var(--gh-grove); }
.gh-carousel-slide { display: grid; min-height: clamp(27rem, 40vw, 37rem); grid-template-columns: minmax(0, 1.2fr) minmax(19rem, .8fr); overflow: hidden; color: var(--gh-white); background: var(--gh-forest); }
.gh-carousel-slide__media { position: relative; min-height: inherit; overflow: hidden; background: var(--gh-grove); }
.gh-carousel-slide__media img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.gh-carousel-slide__body { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.5rem; padding: clamp(2rem, 5vw, 5rem); background: linear-gradient(150deg, var(--gh-forest), var(--gh-grove)); }
.gh-carousel-slide__body h3 { max-width: 11ch; margin: 0; font-size: clamp(2.4rem, 4vw, 4.5rem); line-height: .96; }
.gh-carousel-slide__body p { max-width: 27rem; margin: 0; color: rgba(255,255,255,.73); font-size: .98rem; }
.gh-carousel-slide__index { color: var(--gh-lime); font-family: var(--gh-serif); font-size: 2rem; line-height: 1; }
.gh-carousel-slide__index small { color: rgba(255,255,255,.55); font-family: var(--gh-sans); font-size: .65rem; letter-spacing: .13em; }

/* Countdown: style the markup emitted by Cube's data-countdown module. */
.gh-countdown.countdown { display: flex; width: 100%; overflow: hidden; border: 1px solid rgba(255,255,255,.2); border-radius: var(--gh-radius); color: var(--gh-white); background: var(--gh-forest); }
.gh-countdown.countdown .countdown-item { width: 25%; min-width: 0; padding: clamp(1.15rem, 3vw, 2.5rem); border-right: 1px solid rgba(255,255,255,.18); text-align: center; }
.gh-countdown.countdown .countdown-item:last-child { border-right: 0; }
.gh-countdown.countdown .countdown-value { display: flex; flex-direction: column; align-items: center; gap: .65rem; color: transparent; font-size: 0; font-weight: 700; letter-spacing: .15em; line-height: 1.1; text-transform: uppercase; }
.gh-countdown.countdown .countdown-value span { color: var(--gh-lime); font-family: var(--gh-serif); font-size: clamp(2.8rem, 5vw, 5.4rem); font-weight: 400; letter-spacing: -.04em; line-height: 1; }
.gh-countdown.countdown .countdown-value::after { color: rgba(255,255,255,.64); font-family: var(--gh-sans); font-size: .62rem; }
.gh-countdown.countdown .countdown-item:nth-child(1) .countdown-value::after { content: "Días"; }
.gh-countdown.countdown .countdown-item:nth-child(2) .countdown-value::after { content: "Horas"; }
.gh-countdown.countdown .countdown-item:nth-child(3) .countdown-value::after { content: "Minutos"; }
.gh-countdown.countdown .countdown-item:nth-child(4) .countdown-value::after { content: "Segundos"; }
.gh-countdown--light.countdown { color: var(--gh-forest); border-color: var(--gh-line); background: var(--gh-cream); }
.gh-countdown--light.countdown .countdown-item { border-color: var(--gh-line); }
.gh-countdown--light.countdown .countdown-value span { color: var(--gh-forest); }
.gh-countdown--light.countdown .countdown-value::after { color: var(--gh-muted); }

/* Isotope */
.gh-filter-group { display: flex; width: max-content; max-width: 100%; align-items: center; gap: .3rem; overflow-x: auto; margin-bottom: 1.5rem; padding: .4rem; border: 1px solid var(--gh-line); border-radius: 999px; background: var(--gh-white); box-shadow: 0 8px 24px rgba(16,49,43,.05); scrollbar-width: none; }
.gh-filter-group::-webkit-scrollbar { display: none; }
.gh-filter-group .gh-filter { display: inline-flex; min-height: 2.8rem; flex: 0 0 auto; align-items: center; gap: .55rem; padding: .72rem 1.1rem; appearance: none; border: 0; border-radius: 999px; color: var(--gh-grove); background: transparent; font-family: var(--gh-sans); font-size: .67rem; font-weight: 750; letter-spacing: .1em; line-height: 1; text-transform: uppercase; transition: color 200ms ease, background 200ms ease; }
.gh-filter-group .gh-filter:hover { color: var(--gh-forest); background: rgba(161,209,132,.26); }
.gh-filter-group .gh-filter.current { color: var(--gh-forest); background: var(--gh-lime); box-shadow: 0 4px 12px rgba(16,49,43,.09); }
.gh-filter-group .gh-filter small { font-size: .62rem; opacity: .68; }
.gh-filter-group .gh-filter:focus-visible { outline: 3px solid var(--gh-water); outline-offset: 1px; }
.gh-isotope-card { position: relative; min-height: 21rem; overflow: hidden; color: var(--gh-white); background: var(--gh-grove); }
.gh-isotope-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--gh-ease); }
.gh-isotope-card::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 22%, rgba(5,29,26,.86)); content: ""; }
.gh-isotope-card:hover img { transform: scale(1.04); }
.gh-isotope-card__body { position: absolute; z-index: 1; right: 1.5rem; bottom: 1.5rem; left: 1.5rem; }
.gh-isotope-card__body h3 { margin: .55rem 0 .45rem; font-size: clamp(1.8rem, 2.5vw, 2.5rem); }
.gh-isotope-card__body p { margin: 0; color: rgba(255,255,255,.72); font-size: .85rem; }

/* Steps */
.gh-steps { display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: gh-step; }
.gh-step { position: relative; min-width: 0; padding: 1.5rem 1.5rem 1.5rem 0; border-top: 1px solid var(--gh-line); counter-increment: gh-step; }
.gh-step:not(:last-child)::after { position: absolute; top: -.25rem; right: 0; width: .5rem; height: .5rem; border-radius: 50%; background: var(--gh-mint); content: ""; }
.gh-step__number { display: block; margin-bottom: 3rem; color: var(--gh-mint); font-family: var(--gh-serif); font-size: 2rem; }
.gh-step__number::before { content: "0" counter(gh-step); }
.gh-step h3 { margin-bottom: .7rem; font-size: 1.65rem; }
.gh-step p { margin: 0; color: var(--gh-muted); font-size: .88rem; }

.gh-steps--vertical { display: grid; grid-template-columns: 1fr; }
.gh-steps--vertical .gh-step { display: grid; grid-template-columns: 5rem 1fr; gap: 1.5rem; padding: 1.5rem 0; border-top: 0; border-left: 1px solid var(--gh-line); }
.gh-steps--vertical .gh-step::after { top: 1.9rem; right: auto; left: -.27rem; }
.gh-steps--vertical .gh-step__number { margin: 0; padding-left: 1.5rem; }

/* AOS showcase */
.gh-motion-card { min-height: 11rem; padding: 1.5rem; border: 1px solid var(--gh-line); background: linear-gradient(135deg, var(--gh-white), rgba(69,194,177,.1)); }
.gh-motion-card strong { display: block; margin-top: 3rem; font-family: var(--gh-serif); font-size: 1.7rem; font-weight: 400; }
.gh-motion-card code { color: var(--gh-water); font-size: .7rem; }

/* Footer */
.gh-footer { position: relative; overflow: hidden; padding: clamp(4rem, 8vw, 8rem) 0 2rem; color: var(--gh-white); background: #09251f; }
.gh-footer::before { position: absolute; top: -11rem; right: -8rem; width: 30rem; height: 30rem; border: 1px solid rgba(161,209,132,.18); border-radius: 50%; content: ""; }
.gh-footer__grid { position: relative; display: grid; grid-template-columns: 1.25fr .75fr .75fr; gap: 4rem; }
.gh-footer__title { max-width: 10ch; margin: 2rem 0; font-size: clamp(2.7rem, 5vw, 5.7rem); line-height: .92; }
.gh-footer__label { display: block; margin-bottom: 1.1rem; color: var(--gh-lime); font-size: .62rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.gh-footer__links { display: grid; gap: .75rem; color: rgba(255,255,255,.7); }
.gh-footer__links a:hover { color: var(--gh-lime); }
.gh-footer__bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.48); font-size: .7rem; }

/* Reusable real-estate sections. Content assets are supplied by the HTML. */
.gh-scene {
  --gh-scene-bg: var(--gh-white);
  --gh-scene-fg: var(--gh-forest);
  --gh-scene-muted: #51655d;
  --gh-scene-accent: var(--gh-grove);
  --gh-scene-line: rgba(16,49,43,.2);
  --gh-next-bg: var(--gh-white);
  --gh-divider-height: clamp(3rem, 7vw, 6rem);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  container: gh-scene / inline-size;
  color: var(--gh-scene-fg);
  background: var(--gh-scene-bg);
}
.gh-scene--paper { --gh-scene-bg: var(--gh-white); }
.gh-scene--cream { --gh-scene-bg: var(--gh-cream); }
.gh-scene--sand { --gh-scene-bg: var(--gh-sand); }
.gh-scene--forest { --gh-scene-bg: var(--gh-forest); --gh-scene-fg: var(--gh-white); --gh-scene-muted: #d0ded5; --gh-scene-accent: var(--gh-lime); --gh-scene-line: rgba(255,255,255,.28); }
.gh-scene__inner { position: relative; z-index: 1; width: min(100%, 90rem); margin-inline: auto; padding: clamp(2rem, 6vw, 6rem); padding: clamp(1.4rem, 6cqi, 6rem); }
.gh-scene--divided { padding-bottom: var(--gh-divider-height); }
.gh-scene figure { margin: 0; }
.gh-scene img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gh-scene__eyebrow { display: block; margin-bottom: 1.4rem; color: var(--gh-scene-accent); font-size: .66rem; font-weight: 750; letter-spacing: .18em; line-height: 1.5; text-transform: uppercase; }
.gh-scene .gh-scene__title { max-width: 18ch; margin-bottom: 1.5rem; font-size: clamp(2.4rem, 5vw, 5.8rem); font-size: clamp(2.15rem, 6.6cqi, 5.8rem); line-height: 1.02; overflow-wrap: break-word; }
.gh-scene__title em { color: var(--gh-scene-accent); font-weight: 400; }
.gh-scene h3 { margin-bottom: .7rem; font-size: clamp(1.5rem, 2.7cqi, 2.1rem); line-height: 1.12; }
.gh-scene p { color: var(--gh-scene-muted); font-size: .95rem; line-height: 1.65; }
.gh-scene .gh-scene__lead { max-width: 40ch; margin-bottom: 2rem; font-size: clamp(1rem, 1.8cqi, 1.18rem); }
.gh-scene .gh-btn { max-width: 100%; white-space: normal; text-align: left; }
.gh-scene__intro { margin-bottom: clamp(2.5rem, 7cqi, 6rem); }
.gh-scene__three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4cqi, 3rem); }
.gh-scene__split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(2rem, 6cqi, 5rem); }
.gh-scene__split > *, .gh-scene__three > * { min-width: 0; }
.gh-scene__split--flush { align-items: stretch; gap: 0; }
.gh-scene__panel { padding: clamp(2rem, 6cqi, 5rem); align-self: center; }
.gh-scene__full-photo { min-height: 33rem; }
.gh-scene__list { display: grid; gap: .75rem; margin: 0 0 2.2rem; padding: 0; list-style: none; font-size: .9rem; }
.gh-scene__list li { padding-bottom: .7rem; border-bottom: 1px solid var(--gh-scene-line); }
.gh-scene__heading-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2.7rem; }
.gh-scene__heading-row .gh-scene__title { margin-bottom: 0; }
.gh-scene__heading-row > p { max-width: 30ch; margin: 0; }
.gh-scene__link { display: inline-flex; min-height: 2.75rem; align-items: center; gap: 1rem; padding-block: .5rem; border-bottom: 1px solid currentColor; font-size: .73rem; font-weight: 750; line-height: 1.4; }
.gh-scene__link:hover { opacity: .7; }
.gh-scene__center { text-align: center; }
.gh-scene__center .gh-scene__title { margin-inline: auto; }
.gh-scene__disclaimer { display: block; margin-top: 1.5rem; color: var(--gh-scene-muted); font-size: .72rem; line-height: 1.6; }
.gh-divider { position: absolute; z-index: 2; right: 0; bottom: -1px; left: 0; display: block; width: 100%; height: var(--gh-divider-height, 5rem); color: var(--gh-next-bg, var(--gh-white)); pointer-events: none; }

/* Six compositions adapted from Cube. */
.gh-scene__background img { opacity: .32; }
.gh-scene--manifesto::after { position: absolute; z-index: 0; inset: 0; background: linear-gradient(180deg, rgba(16,49,43,.12), rgba(16,49,43,.95)); content: ""; pointer-events: none; }
.gh-scene__number { display: block; margin-bottom: 1.5rem; color: var(--gh-scene-accent); font-size: .85rem; letter-spacing: .12em; }
.gh-scene__arguments > div { padding-top: 1rem; border-top: 1px solid var(--gh-scene-line); }
.gh-scene__arguments p { margin-bottom: 0; }
.gh-scene-carousel { position: relative; padding-bottom: 4rem; }
.gh-scene-carousel .tns-outer { padding: 0; }
.gh-scene-carousel .tns-controls { position: absolute; z-index: 3; right: 0; bottom: 0; display: flex; gap: .5rem; }
.gh-scene-carousel .tns-controls button { display: grid; width: 2.8rem; height: 2.8rem; place-items: center; border: 1px solid var(--gh-forest); border-radius: 50%; color: var(--gh-forest); background: transparent; }
.gh-scene-carousel .tns-controls button:hover:not(:disabled) { color: var(--gh-white); background: var(--gh-forest); }
.gh-scene-carousel .tns-controls button:disabled { opacity: .3; cursor: default; }
/* Cube's generic controls are transparent, absolutely positioned and offset.
   Explicitly reset all of those properties for the gh- variants only. */
.gh-carousel .tns-controls button[data-controls],
.gh-scene-carousel .tns-controls button[data-controls] { position: relative; inset: auto; margin: 0; opacity: 1; flex: 0 0 auto; }
.gh-carousel .tns-controls button[data-controls]:disabled,
.gh-scene-carousel .tns-controls button[data-controls]:disabled { opacity: .3; cursor: default; }
.gh-carousel .tns-controls button .bi,
.gh-scene-carousel .tns-controls button .bi { color: inherit; }
.gh-carousel .tns-nav, .gh-scene-carousel .tns-nav { margin-top: 0; }
.gh-carousel .tns-nav button::before, .gh-scene-carousel .tns-nav button::before { display: none; }
.gh-scene-carousel .tns-controls button:focus-visible { outline: 3px solid var(--gh-water); outline-offset: 3px; }
.gh-scene-carousel [data-carousel]:not(.tns-slider) { display: flex; gap: 1.2rem; overflow-x: auto; scroll-snap-type: x mandatory; }
.gh-scene-carousel [data-carousel]:not(.tns-slider) > div { flex: 0 0 min(82%, 20rem); scroll-snap-align: start; }
.gh-collection-card { padding-bottom: .5rem; }
.gh-collection-card figure { height: 18rem; height: clamp(14rem, 29cqi, 23rem); margin-bottom: 1.4rem; overflow: hidden; }
.gh-collection-card figure img { transition: transform 600ms var(--gh-ease); }
.gh-collection-card:hover figure img { transform: scale(1.04); }
.gh-collection-card .gh-scene__eyebrow { margin-bottom: .7rem; font-size: .58rem; }
.gh-scene__mosaic { display: grid; grid-template-columns: 1.05fr 1fr; gap: 1rem; }
.gh-scene__image-tile { position: relative; display: block; min-height: 16rem; overflow: hidden; color: var(--gh-white) !important; }
.gh-scene__image-tile--tall { grid-row: span 2; }
.gh-scene__image-tile > img { position: absolute; inset: 0; transition: transform 700ms var(--gh-ease); }
.gh-scene__image-tile:hover > img { transform: scale(1.04); }
.gh-scene__image-tile::after { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,29,26,.94), transparent 85%); content: ""; }
.gh-scene__image-tile > span { position: relative; z-index: 1; display: flex; min-height: inherit; height: 100%; flex-direction: column; justify-content: flex-end; padding: 1.8rem; }
.gh-scene__image-tile small { font-size: .6rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.gh-scene__image-tile strong { margin: .7rem 0; font-family: var(--gh-serif); font-size: clamp(1.8rem, 3.5cqi, 3rem); font-weight: 400; line-height: 1.04; }
.gh-scene__image-tile > span > span { align-self: flex-end; }
.gh-scene__panorama { height: clamp(14rem, 28cqi, 26rem); }
.gh-scene__stats > div { display: grid; gap: 1rem; padding-top: 1.2rem; border-top: 1px solid var(--gh-scene-line); }
.gh-scene__stats strong { color: var(--gh-scene-accent); font-family: var(--gh-serif); font-size: clamp(3rem, 7cqi, 6rem); font-weight: 400; line-height: 1; }
.gh-scene__stats strong span { font-size: .35em; }
.gh-scene__stats > div > span { font-size: .75rem; }
.gh-scene__gallery { display: grid; grid-template-columns: 1fr 1.25fr 1fr; align-items: start; gap: 1.2rem; margin: 3rem 0; }
.gh-scene__gallery figure:nth-child(2) { margin-top: 4rem; }
.gh-scene__gallery figure:nth-child(3) { margin-top: 2rem; }
.gh-scene__gallery img { aspect-ratio: 3 / 4; }
.gh-scene__gallery figcaption { margin-top: .75rem; font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; }

/* Six original Gran Hacienda compositions. */
.gh-scene__arch { position: relative; aspect-ratio: 3 / 4; padding: .8rem; border: 1px solid rgba(161,209,132,.5); border-radius: 50% 50% 0 0; }
.gh-scene__arch img { border-radius: 50% 50% 0 0; }
.gh-scene--patio::before { position: absolute; top: -8rem; right: -12rem; width: 38rem; height: 38rem; border: 1px solid rgba(161,209,132,.18); border-radius: 50%; box-shadow: 0 0 0 3rem rgba(161,209,132,.035), 0 0 0 6rem rgba(161,209,132,.03); content: ""; }
.gh-scene__layers { display: grid; grid-template-columns: 1fr .16fr .95fr; grid-template-rows: auto auto; align-items: start; }
.gh-scene__layers-main { grid-area: 1 / 1 / 3 / 3; height: 38rem; height: clamp(24rem, 55cqi, 42rem); }
.gh-scene__layers-panel { --gh-scene-muted: #51655d; --gh-scene-accent: var(--gh-grove); position: relative; z-index: 1; grid-area: 1 / 2 / 2 / 4; margin-top: 2.5rem; padding: clamp(1.5rem, 4cqi, 3rem); color: var(--gh-forest); background: var(--gh-sand); }
.gh-scene__layers-panel .gh-scene__title { font-size: clamp(2rem, 5cqi, 4.8rem); }
.gh-scene__layers-detail { grid-area: 2 / 3 / 3 / 4; height: 12rem; margin: 1.3rem 0 0 1.3rem !important; }
.gh-scene__vertical-note { position: absolute; top: 4rem; left: .8rem; color: var(--gh-grove); font-size: .55rem; letter-spacing: .18em; writing-mode: vertical-rl; }
.gh-scene__skyline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: .8rem; margin-top: 3rem; }
.gh-scene__skyline article { position: relative; display: flex; min-height: 19rem; flex-direction: column; justify-content: space-between; gap: 1rem; overflow: hidden; padding: 1.6rem; color: var(--gh-white); background: var(--gh-forest); }
.gh-scene__skyline article:nth-child(2) { min-height: 24rem; justify-content: flex-end; }
.gh-scene__skyline article:nth-child(3) { min-height: 28rem; color: var(--gh-forest); background: var(--gh-lime); }
.gh-scene__skyline article > span, .gh-scene__skyline article > div > span { display: block; font-size: .7rem; letter-spacing: .14em; }
.gh-scene__skyline article > p { color: inherit; }
.gh-scene__skyline article > img { position: absolute; inset: 0; opacity: .65; }
.gh-scene__skyline article > div { position: relative; z-index: 1; text-shadow: 0 2px 16px #10312b; }
.gh-scene__skyline article h3 { margin-top: .75rem; }
.gh-scene__skyline .gh-btn { padding: .7rem .9rem; font-size: .63rem; }
.gh-scene__blueprint { --gh-scene-accent: var(--gh-grove); padding: 1.5rem; border: 1px solid var(--gh-line); color: var(--gh-forest); background-color: var(--gh-cream); background-image: linear-gradient(rgba(16,49,43,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(16,49,43,.06) 1px, transparent 1px); background-size: 1.25rem 1.25rem; }
.gh-scene__blueprint svg { display: block; width: 100%; height: auto; }
.gh-scene__blueprint small { display: block; margin-top: 1rem; font-size: .66rem; }
.gh-scene__specs { margin: 2rem 0; }
.gh-scene__specs > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; padding: .9rem 0; border-top: 1px solid var(--gh-scene-line); font-size: .78rem; }
.gh-scene__specs dt { font-weight: 500; }
.gh-scene__specs dd { margin: 0; font-weight: 700; }
.gh-scene__journey { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 3rem 0 0; padding: 0; list-style: none; }
.gh-scene__journey li { padding: 1.5rem 1.25rem 0 0; border-top: 1px solid var(--gh-scene-line); }
.gh-scene__journey li > span { display: grid; width: 2.8rem; height: 2.8rem; place-items: center; margin-top: -2.9rem; margin-bottom: 2rem; border: 1px solid var(--gh-scene-line); border-radius: 50%; color: var(--gh-forest); background: var(--gh-cream); font-size: .67rem; }
.gh-scene__journey h3 { font-size: 1.5rem; }
.gh-scene__journey p { font-size: .86rem; }
.gh-scene--invitation::before { position: absolute; top: -10%; left: 40%; width: 60%; aspect-ratio: 1; border: 1px solid rgba(161,209,132,.25); border-radius: 50%; content: ""; }
.gh-scene__invitation-photo { position: relative; aspect-ratio: 4 / 5; }
.gh-scene__invitation-photo img { clip-path: polygon(0 9%, 100% 0, 100% 91%, 0 100%); }
.gh-scene__invitation-photo figcaption { position: absolute; right: -1px; bottom: 2rem; max-width: 85%; padding: .9rem 1.2rem; color: var(--gh-forest); background: var(--gh-lime); font-family: var(--gh-serif); font-size: 1.4rem; line-height: 1.2; }

/* Container breakpoints also adapt sections inside the documentation column. */
@container gh-scene (max-width: 680px) {
  .gh-scene__split, .gh-scene__mosaic { grid-template-columns: 1fr; }
  .gh-scene__full-photo { min-height: 0; height: 22rem; }
  .gh-scene__image-tile--tall { grid-row: auto; }
  .gh-scene__three { grid-template-columns: 1fr; }
  .gh-scene__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
  .gh-scene__gallery { gap: .7rem; }
  .gh-scene__gallery figure:nth-child(2) { margin-top: 2rem; }
  .gh-scene__gallery figure:nth-child(3) { margin-top: 1rem; }
  .gh-scene__arch, .gh-scene__invitation-photo { width: min(100%, 25rem); margin-inline: auto !important; }
  .gh-scene__layers { grid-template-columns: 1fr; grid-template-rows: auto; }
  .gh-scene__layers-main, .gh-scene__layers-panel, .gh-scene__layers-detail { grid-area: auto; }
  .gh-scene__layers-main { height: 23rem; }
  .gh-scene__layers-panel { margin: 0; }
  .gh-scene__layers-detail { height: 14rem; margin: 0 !important; }
  .gh-scene__vertical-note { display: none; }
  .gh-scene__skyline { grid-template-columns: 1fr; }
  .gh-scene__skyline article, .gh-scene__skyline article:nth-child(2), .gh-scene__skyline article:nth-child(3) { min-height: 17rem; }
  .gh-scene__journey { grid-template-columns: 1fr; margin: 2rem 0 0 1.4rem; }
  .gh-scene__journey li { position: relative; padding: 0 0 2rem 2.5rem; border-top: 0; border-left: 1px solid var(--gh-scene-line); }
  .gh-scene__journey li > span { position: absolute; top: 0; left: -1.4rem; margin: 0; }
}
@container gh-scene (max-width: 380px) {
  .gh-scene__stats, .gh-scene__gallery { grid-template-columns: 1fr; }
  .gh-scene__gallery figure:nth-child(n) { margin-top: 0; }
  .gh-scene__gallery img { aspect-ratio: 4 / 3; }
}
@supports not (container-type: inline-size) {
  @media (max-width: 991.98px) {
    .gh-scene__split, .gh-scene__three, .gh-scene__mosaic, .gh-scene__layers, .gh-scene__skyline, .gh-scene__journey { grid-template-columns: 1fr; }
    .gh-scene__layers-main, .gh-scene__layers-panel, .gh-scene__layers-detail { grid-area: auto; }
    .gh-scene__layers-detail, .gh-scene__layers-panel { margin: 0 !important; }
    .gh-scene__full-photo { min-height: 0; height: 22rem; }
    .gh-scene__journey li { margin-bottom: 2rem; }
  }
}

/* Section catalog, standalone examples and copyable HTML. */
.gh-section-catalog__toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.gh-section-catalog__toolbar .gh-filter-group { margin-bottom: 0; }
.gh-section-catalog__count { margin: 1.3rem 0; color: var(--gh-muted); font-size: .75rem; }
.gh-section-catalog__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.gh-section-card { display: block; overflow: hidden; border: 1px solid var(--gh-line); background: var(--gh-white); transition: border-color 200ms ease, transform 200ms ease; }
.gh-section-card[hidden] { display: none; }
.gh-section-card:hover { transform: translateY(-4px); border-color: var(--gh-grove); }
.gh-section-card__body { padding: 1.5rem; }
.gh-section-card__tag { color: var(--gh-grove); font-size: .58rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.gh-section-card__body h2 { margin: .9rem 0 .75rem; font-size: 1.85rem; line-height: 1.05; }
.gh-section-card__body p { margin-bottom: 1.5rem; color: var(--gh-muted); font-size: .85rem; }
.gh-section-card__open { display: flex; align-items: center; justify-content: space-between; padding-top: 1rem; border-top: 1px solid var(--gh-line); font-size: .7rem; font-weight: 700; }
.gh-section-thumb { position: relative; height: 14rem; overflow: hidden; background: var(--gh-forest); }
.gh-section-thumb > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .8; }
.gh-section-thumb__number { position: absolute; top: 1rem; left: 1.1rem; z-index: 2; display: grid; width: 2.5rem; height: 2.5rem; place-items: center; color: var(--gh-forest); background: var(--gh-lime); border-radius: 50%; font-size: .7rem; font-weight: 700; }
.gh-section-thumb__sheet { position: absolute; right: 0; bottom: -1px; left: 0; height: 2.8rem; background: var(--gh-cream); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.gh-section-thumb--coleccion > img { inset: 1rem auto 1rem 7%; width: 54%; height: calc(100% - 2rem); }
.gh-section-thumb--coleccion .gh-section-thumb__sheet { top: 1rem; right: 7%; bottom: 1rem; left: auto; width: 27%; height: auto; clip-path: none; background: var(--gh-sand); }
.gh-section-thumb--editorial > img { width: 55%; }
.gh-section-thumb--editorial .gh-section-thumb__sheet { top: 0; right: 0; left: 55%; height: 100%; clip-path: none; background: var(--gh-sand); }
.gh-section-thumb--mosaico .gh-section-thumb__sheet { top: 0; left: 58%; height: 50%; border: .5rem solid var(--gh-cream); clip-path: none; background: var(--gh-grove); }
.gh-section-thumb--cifras > img { top: 3rem; height: 8rem; }
.gh-section-thumb--cifras .gh-section-thumb__sheet { height: 3rem; clip-path: none; background: var(--gh-forest); }
.gh-section-thumb--galeria > img { top: 1rem; left: 8%; width: 45%; height: 10rem; }
.gh-section-thumb--galeria .gh-section-thumb__sheet { top: 3rem; right: 8%; left: auto; width: 34%; height: 10rem; clip-path: none; background: var(--gh-sand); }
.gh-section-thumb--patio > img { inset: 1.3rem 17% 0; width: 66%; height: 13rem; border-radius: 50% 50% 0 0; }
.gh-section-thumb--patio .gh-section-thumb__sheet { display: none; }
.gh-section-thumb--capas > img { width: 65%; }
.gh-section-thumb--capas .gh-section-thumb__sheet { top: 2.5rem; right: 1rem; bottom: 2.5rem; left: 48%; height: auto; clip-path: none; background: var(--gh-sand); }
.gh-section-thumb--horizonte .gh-section-thumb__sheet { height: 4rem; clip-path: polygon(0 75%, 33% 75%, 33% 40%, 66% 40%, 66% 0, 100% 0, 100% 100%, 0 100%); background: var(--gh-lime); }
.gh-section-thumb--distribucion { background: var(--gh-cream); }
.gh-section-thumb--distribucion > img { opacity: .15; }
.gh-section-thumb--distribucion .gh-section-thumb__sheet { inset: 2rem 18%; height: auto; border: 2px solid var(--gh-forest); clip-path: none; background: repeating-linear-gradient(90deg, transparent 0 32%, var(--gh-forest) 32% 33%), repeating-linear-gradient(0deg, transparent 0 48%, var(--gh-forest) 48% 49%); }
.gh-section-thumb--recorrido > img { opacity: .15; }
.gh-section-thumb--recorrido .gh-section-thumb__sheet { right: 2rem; bottom: 6rem; left: 2rem; height: 1px; clip-path: none; background: var(--gh-lime); }
.gh-section-thumb--visita > img { inset: 0 0 0 auto; width: 60%; clip-path: polygon(0 10%, 100% 0, 100% 90%, 0 100%); }
.gh-section-thumb--visita .gh-section-thumb__sheet { top: 2rem; right: auto; bottom: auto; left: -3rem; width: 13rem; height: 13rem; border: 1px solid var(--gh-lime); border-radius: 50%; clip-path: none; background: none; }
.gh-section-origin { color: var(--gh-grove) !important; font-size: .72rem; }
.gh-section-use { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; padding: 1rem 0; border-block: 1px solid var(--gh-line); font-size: .8rem; }
.gh-section-use > span { max-width: 46ch; }
.gh-section-use strong { display: block; margin-bottom: .25rem; font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; }
.gh-section-preview { border: 1px solid var(--gh-line); }
.gh-section-preview__note { margin-top: .8rem; color: var(--gh-muted); font-size: .72rem; }
.gh-section-code { margin-top: 1.5rem; border: 1px solid var(--gh-line); }
.gh-section-code > summary { display: flex; min-height: 3.5rem; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; cursor: pointer; font-size: .8rem; font-weight: 700; }
.gh-section-code > summary::-webkit-details-marker { display: none; }
.gh-section-code > summary:focus-visible { outline: 3px solid var(--gh-water); outline-offset: 3px; }
.gh-section-code[open] > summary > span { transform: rotate(45deg); }
.gh-section-code .gh-code { max-height: 32rem; margin: 0; padding-top: 4rem; }
.gh-section-code .gh-code code { color: inherit; }
.gh-section-code__hint { margin: 0; padding: 1rem 1.25rem; color: var(--gh-muted); font-size: .75rem; }
.gh-section-recipe { margin-top: 2.5rem; padding: 1.5rem; background: var(--gh-cream); }
.gh-section-recipe h2 { font-size: 1.8rem; }
.gh-section-recipe ul { display: grid; gap: .6rem; margin-bottom: 0; padding-left: 1.2rem; font-size: .86rem; }
.gh-divider-catalog { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.gh-divider-example { overflow: hidden; border: 1px solid var(--gh-line); background: var(--gh-cream); }
.gh-divider-example__preview { position: relative; height: 12rem; padding: 1.5rem; color: var(--gh-lime); background: var(--gh-forest); }
.gh-divider-example__preview > span { font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; }
.gh-divider-example__body { padding: 1rem 1.5rem 1.5rem; }
.gh-divider-example__body h2 { font-size: 1.8rem; }
.gh-divider-example__body > p { color: var(--gh-muted); font-size: .85rem; }
.gh-divider-example .gh-section-code__hint { background: var(--gh-cream); }

/* Documentation */
.gh-docs { background: #f8f6ef; }
.gh-docs .gh-navbar { box-shadow: 0 1px 0 var(--gh-line); }
.gh-docs-layout { display: grid; grid-template-columns: 16rem minmax(0, 1fr); gap: 4rem; padding-top: 8.2rem; }
.gh-docs-nav { position: fixed; z-index: 1020; top: 7.2rem; left: max(1.25rem, calc((100vw - 90rem) / 2)); width: 16rem; max-height: calc(100dvh - 8.5rem); overflow-y: auto; padding: 0 1rem 1.5rem 0; scrollbar-width: thin; }
.gh-docs-nav strong { display: block; margin: 1.6rem 0 .7rem; color: var(--gh-grove); font-size: .61rem; letter-spacing: .16em; text-transform: uppercase; }
.gh-docs-nav a { display: block; padding: .42rem 0; color: var(--gh-muted); font-size: .84rem; }
.gh-docs-nav a:hover { color: var(--gh-forest); }
.gh-docs-nav a[aria-current="page"] { padding-left: .8rem; border-left: 2px solid var(--gh-mint); color: var(--gh-forest); background: rgba(69,194,177,.11); font-weight: 700; }
.gh-docs-main { grid-column: 2; min-width: 0; padding-bottom: 8rem; container: gh-docs / inline-size; }
.gh-docs-hero { padding: 3rem 0 6rem; }
.gh-docs-section { padding: 4.5rem 0; border-top: 1px solid var(--gh-line); }
.gh-docs-main > .gh-docs-section:first-child { padding-top: 2rem; border-top: 0; }
.gh-docs-breadcrumb + .gh-docs-section { padding-top: 2.5rem; border-top: 0; }
.gh-docs-section__head { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; gap: clamp(1.5rem, 4cqi, 3rem); margin-bottom: 2.6rem; }
.gh-docs-section__head > * { min-width: 0; }
.gh-docs-section__head :is(h1, h2) { font-size: clamp(2.15rem, 4.6cqi, 3.5rem); overflow-wrap: break-word; }
.gh-docs-hero .gh-title-xl { font-size: clamp(2.7rem, 7cqi, 5.75rem); line-height: 1.03; }
.gh-docs-section__head p { color: var(--gh-muted); }
.gh-docs-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; color: var(--gh-muted); font-size: .67rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.gh-docs-breadcrumb a:hover { color: var(--gh-water); }
.gh-docs-breadcrumb span[aria-hidden] { color: var(--gh-mint); }
.gh-docs-page-end { display: flex; justify-content: space-between; gap: 1rem; padding-top: 2rem; border-top: 1px solid var(--gh-line); }
.gh-docs-page-end a { display: flex; align-items: center; gap: .6rem; color: var(--gh-grove); font-size: .73rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.gh-docs-page-end a:hover { color: var(--gh-water); }
.gh-docs-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.gh-docs-card { display: flex; min-height: 11rem; flex-direction: column; justify-content: space-between; padding: 1.4rem; border: 1px solid var(--gh-line); background: var(--gh-white); transition: background 200ms ease, transform 200ms ease, border-color 200ms ease; }
.gh-docs-card:hover { border-color: var(--gh-mint); background: #f1f8ef; transform: translateY(-3px); }
.gh-docs-card small { color: var(--gh-water); font-size: .63rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.gh-docs-card strong { font-family: var(--gh-serif); font-size: clamp(1.6rem, 2vw, 2.2rem); font-weight: 400; line-height: 1; }
.gh-docs-card span { align-self: flex-end; font-size: 1.2rem; }
.gh-preview { padding: clamp(1.3rem, 3vw, 2.5rem); border: 1px solid var(--gh-line); background: var(--gh-white); }
.gh-preview--dark { color: var(--gh-white); background: var(--gh-forest); }
.gh-component-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }

/* Video background: Cube's .background + data-video/Plyr pattern. */
.gh-video-demo { border: 1px solid var(--gh-line); background: var(--gh-white); }
.gh-video-cover { position: relative; display: flex; min-height: clamp(29rem, 49vw, 39rem); align-items: center; justify-content: center; overflow: hidden; color: var(--gh-white); background: var(--gh-forest); }
.gh-video-cover__background, .gh-hero__background { background: var(--gh-forest) var(--gh-video-poster, none) center / cover no-repeat; pointer-events: none; }
.gh-video-cover__background video, .gh-hero__background video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.background.gh-video-cover__background .plyr, .background.gh-hero__background .plyr { inset: 0; width: 100%; max-width: 100%; height: 100%; transform: none; background: transparent; }
.gh-video-cover__background .plyr__video-wrapper, .gh-hero__background .plyr__video-wrapper { width: 100%; height: 100%; padding: 0; aspect-ratio: auto; background: transparent; }
.gh-video-cover__background .plyr__controls, .gh-hero__background .plyr__controls { display: none; }
.gh-video-cover .background.background-overlay::after { opacity: 1; background: rgba(9, 37, 31, .52); }
.gh-video-cover__content { position: relative; z-index: 1; width: min(100% - 2rem, 52rem); padding: 4rem 1rem; text-align: center; }
.gh-video-cover__content .gh-eyebrow { color: var(--gh-lime); }
.gh-video-cover__content h3 { margin: 1.25rem auto 2rem; color: var(--gh-white); font-family: var(--gh-serif); font-size: clamp(3.4rem, 6vw, 6.5rem); font-weight: 400; line-height: .91; }
.gh-video-cover .gh-btn--outline { color: var(--gh-white); border-color: rgba(255,255,255,.75); }
.gh-video-cover .gh-btn--outline:hover { color: var(--gh-forest); border-color: var(--gh-lime); background: var(--gh-lime); }
.gh-video-demo__meta { display: flex; min-height: 4.3rem; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 1.2rem; color: var(--gh-muted); font-size: .67rem; }
.gh-video-demo__toggle { min-height: 2.35rem; flex: 0 0 auto; padding: .55rem .9rem; border: 1px solid var(--gh-line); border-radius: 999px; color: var(--gh-forest); background: var(--gh-white); font-size: .64rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.gh-video-demo__toggle:hover { border-color: var(--gh-mint); background: rgba(69,194,177,.1); }
.gh-hero__video-toggle { position: absolute; z-index: 3; right: max(1.25rem, calc((100vw - 90rem) / 2)); bottom: 1.5rem; min-height: 2.75rem; color: var(--gh-white); border-color: rgba(255,255,255,.45); background: rgba(16,49,43,.7); }
.gh-hero__video-toggle:hover { color: var(--gh-forest); background: var(--gh-lime); }

.gh-swatch-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.gh-swatch { min-height: 10rem; padding: 1rem; border: 1px solid rgba(16,49,43,.09); }
.gh-swatch strong { display: block; margin-top: 4rem; font-family: var(--gh-serif); font-size: 1.3rem; font-weight: 400; }
.gh-swatch span { display: block; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; }

.gh-code {
  position: relative;
  overflow: auto;
  margin-top: 1rem;
  padding: 1.25rem;
  color: #dceee8;
  background: #091f1a;
  font: .78rem/1.65 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  white-space: pre;
}

.gh-copy {
  position: absolute;
  top: .65rem;
  right: .65rem;
  padding: .45rem .65rem;
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.68);
  background: transparent;
  font-size: .58rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.gh-page-hero { padding: 11rem 0 6rem; color: var(--gh-white); background: var(--gh-forest); }
.gh-page-hero .gh-lead { color: rgba(255,255,255,.66); }

@media (min-width: 1600px) {
  .gh-navbar__inner { min-height: 6.25rem; }
  .gh-navbar__links > a:not(.gh-btn) { font-size: .76rem; }
  .gh-brand__mark { width: 3.1rem; height: 3.1rem; }
}

@media (max-width: 1199.98px) {
  .gh-navbar__links {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 1;
    height: calc(100dvh - 5.6rem);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: clamp(1.2rem, 4vh, 2.3rem);
    overflow-y: auto;
    padding: 2rem max(2rem, calc((100vw - 90rem) / 2));
    color: var(--gh-white);
    background: var(--gh-forest);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-1rem);
    transition: opacity 220ms ease, transform 220ms var(--gh-ease), visibility 220ms ease;
  }

  .gh-navbar__links > a:not(.gh-btn) { font-family: var(--gh-serif); font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 400; letter-spacing: -.02em; text-transform: none; }
  .gh-navbar.is-open .gh-navbar__links { visibility: visible; opacity: 1; pointer-events: auto; transform: none; }
  .gh-navbar.is-open { --gh-nav-bg: var(--gh-forest); --gh-nav-fg: var(--gh-white); --gh-nav-border: transparent; --gh-nav-cta-bg: var(--gh-lime); --gh-nav-cta-fg: var(--gh-forest); --gh-logo-dark: 0; --gh-logo-light: 1; }
  .gh-navbar.is-open .gh-nav-toggle span:first-child { transform: translateY(.3rem) rotate(45deg); }
  .gh-navbar.is-open .gh-nav-toggle span:last-child { transform: translateY(-.3rem) rotate(-45deg); }
  .gh-nav-toggle { display: block; }
  .gh-navbar__links .gh-navbar__cta { margin-top: .75rem; }
  .gh-hero__grid, .gh-split, .gh-split--wide { grid-template-columns: 1fr; }
  .gh-hero__grid { gap: 2.5rem; }
  .gh-hero__aside { display: flex; padding: 1.3rem 0 0; border-top: 1px solid rgba(255,255,255,.3); border-left: 0; gap: 2.5rem; }
  .gh-metric-grid { grid-template-columns: repeat(2, 1fr); }
  .gh-metric:nth-child(2) { border-right: 0; }
  .gh-metric:nth-child(-n+2) { border-bottom: 1px solid var(--gh-line); }
  .gh-card-grid { grid-template-columns: 1fr 1fr; }
  .gh-card-grid > :last-child { grid-column: 1 / -1; }
  .gh-footer__grid { grid-template-columns: 1.2fr .8fr; }
  .gh-footer__grid > :last-child { grid-column: 2; }
  .gh-docs-layout { grid-template-columns: 1fr; padding-top: 11.2rem; }
  .gh-docs-main { grid-column: 1; }
  .gh-docs-nav { position: fixed; top: 5.6rem; right: 0; left: 0; display: flex; width: 100%; height: 4.2rem; align-items: center; gap: .6rem; overflow-x: auto; overflow-y: hidden; padding: .5rem max(1.25rem, calc((100vw - 90rem) / 2)); border-bottom: 1px solid var(--gh-line); background: #f8f6ef; scrollbar-width: none; }
  .gh-docs-nav::-webkit-scrollbar { display: none; }
  .gh-docs-nav strong { display: none; }
  .gh-docs-nav a, .gh-docs-nav a[aria-current="page"] { min-width: max-content; padding: .5rem .8rem; border: 1px solid var(--gh-line); border-radius: 999px; }
  .gh-docs-nav a[aria-current="page"] { border-color: var(--gh-forest); color: var(--gh-white); background: var(--gh-forest); }
  .gh-docs-section__head { grid-template-columns: 1fr; gap: 1rem; }
  .gh-steps { grid-template-columns: repeat(2, 1fr); }
  .gh-step:nth-child(2) { border-right: 0; }
}

@media (max-width: 767.98px) {
  .gh-section-catalog__grid, .gh-divider-catalog { grid-template-columns: 1fr; }
  .gh-container { width: min(100% - 1.5rem, 90rem); }
  .gh-docs-layout { padding-top: 10.3rem; }
  .gh-docs-nav { top: 4.8rem; height: 4rem; padding-inline: .75rem; }
  .gh-docs-card-grid { grid-template-columns: 1fr; }
  .gh-docs-page-end { flex-direction: column; }
  .gh-video-cover { min-height: 34rem; }
  .gh-video-cover__content h3 { font-size: clamp(3rem, 12vw, 4.8rem); }
  .gh-video-demo__meta { align-items: flex-start; flex-direction: column; }
  .gh-navbar__inner { min-height: 4.8rem; }
  .gh-navbar__links { height: calc(100dvh - 4.8rem); padding: 2rem 1.5rem 3rem; }
  .gh-brand__mark { width: 2.35rem; height: 2.35rem; }
  .gh-hero__content { padding: 8rem 0 5.5rem; }
  .gh-hero__overlay { background: linear-gradient(90deg, rgba(5,29,26,.94), rgba(5,29,26,.5)), linear-gradient(0deg, rgba(5,29,26,.8), transparent); }
  .gh-scroll-cue { display: none; }
  .gh-float-card { right: -.3rem; bottom: 1.2rem; }
  .gh-card-grid, .gh-form-grid, .gh-footer__grid { grid-template-columns: 1fr; }
  .gh-card-grid > :last-child, .gh-footer__grid > :last-child { grid-column: auto; }
  .gh-property-card { min-height: 29rem; }
  .gh-footer__bottom { align-items: flex-start; flex-direction: column; gap: .6rem; }
  .gh-swatch-grid { grid-template-columns: repeat(2, 1fr); }
  .gh-component-row { align-items: stretch; flex-direction: column; }
  .gh-component-row .gh-btn { width: 100%; }
  .gh-residence-card { grid-template-columns: 1fr; }
  .gh-navbar-demo__links { display: none; }
  .gh-navbar-demo { flex-wrap: wrap; }
  .gh-navbar-demo--floating { margin: .6rem; border-radius: var(--gh-radius); }
  .gh-nav-palette { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gh-carousel-slide { min-height: 0; grid-template-columns: 1fr; }
  .gh-carousel-slide__media, .gh-carousel-slide__media img { min-height: 17rem; height: 17rem; }
  .gh-carousel-slide__body { min-height: 21rem; gap: 1rem; padding: 2rem; }
  .gh-carousel-slide__body h3 { font-size: clamp(2.2rem, 9vw, 3.4rem); }
  .gh-carousel { padding-bottom: 4.2rem; }
  .gh-carousel .tns-controls button { width: 3rem; height: 3rem; }
  .gh-carousel .tns-nav { bottom: 1.4rem; }
  .gh-countdown.countdown .countdown-item { width: 50%; padding: 1.5rem .75rem; }
  .gh-countdown.countdown .countdown-item:nth-child(2) { border-right: 0; }
  .gh-countdown.countdown .countdown-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.18); }
  .gh-countdown--light.countdown .countdown-item:nth-child(-n+2) { border-bottom-color: var(--gh-line); }
  .gh-steps { grid-template-columns: 1fr; }
  .gh-step { border-top: 0; border-left: 1px solid var(--gh-line); padding: 1.3rem 0 1.3rem 1.5rem; }
  .gh-step::after, .gh-step:not(:last-child)::after { top: 1.8rem; right: auto; left: -.27rem; }
  .gh-step__number { margin-bottom: 1.2rem; }
}

@media (max-width: 479.98px) {
  .gh-display { font-size: 3.65rem; }
  .gh-title-xl { font-size: 3rem; }
  .gh-metric-grid { grid-template-columns: 1fr; }
  .gh-metric, .gh-metric:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--gh-line); }
  .gh-metric:last-child { border-bottom: 0; }
  .gh-hero__aside { display: grid; grid-template-columns: 1fr 1fr; }
}

/* The docs column can be narrow even on a wide screen because the index is fixed. */
@container gh-docs (max-width: 860px) {
  .gh-docs-section__head { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .gh-docs-section__head > :last-child { max-width: 65ch; }
  .gh-docs-section__head :is(h1, h2) { font-size: clamp(2.15rem, 5.5cqi, 3.4rem); }
  .gh-docs-main .gh-carousel-slide { grid-template-columns: 1fr; min-height: 0; }
  .gh-docs-main .gh-carousel-slide__media { min-height: 0; height: clamp(16rem, 42cqi, 26rem); }
  .gh-docs-main .gh-carousel-slide__media img { min-height: 0; height: 100%; }
  .gh-docs-main .gh-carousel-slide__body { min-height: 0; gap: 1rem; padding: clamp(1.5rem, 4cqi, 2.5rem); }
  .gh-docs-main .gh-carousel-slide__body h3 { max-width: 22ch; font-size: clamp(2rem, 5cqi, 3.25rem); }
  .gh-docs-main .gh-navbar-demo { flex-wrap: wrap; gap: 1rem; }
  .gh-docs-main .gh-navbar-demo__links { flex-wrap: wrap; gap: 1rem; }
  .gh-docs-main .gh-residence-card { grid-template-columns: minmax(0, 1fr); }
  .gh-docs-main .gh-residence-card__media { min-height: 20rem; }
}
@container gh-docs (max-width: 620px) {
  .gh-section-catalog__grid, .gh-divider-catalog, .gh-docs-card-grid { grid-template-columns: minmax(0, 1fr); }
  .gh-docs-main .gh-form-grid { grid-template-columns: minmax(0, 1fr); }
  .gh-docs-main .gh-swatch-grid, .gh-docs-main .gh-nav-palette { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gh-docs-main .gh-preview { padding: 1.25rem; }
  .gh-docs-main .gh-video-cover__content h3 { font-size: clamp(2.4rem, 9cqi, 4rem); }
  .gh-docs-main .gh-video-demo__meta { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
