:root {
  --background: #f3eee7;
  --sand: #f3eee7;
  --sand-light: #fdfaf6;
  --sand-soft: #f7f2ea;
  --charcoal: #313131;
  --copy: #5d5952;
  --muted: #787269;
  --line: #dad9d7;
  --line-strong: #aaa6a3;
  --white: #ffffff;
  --menu-feature: #fdf9f5;
  --focus: #7d5e37;
  --header-height: 178px;
  --gutter: 24.5px;
  --section: 65px;
  --max-hero: 1440px;
  --max-section: 1489px;
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 14px;
  line-height: 1.5;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--background);
  color: var(--charcoal);
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.45;
  letter-spacing: 0.8px;
  padding-bottom: 80px;
}

body.menu-open {
  overflow: hidden;
}

body.lightbox-open {
  overflow: hidden;
}

::selection {
  background: var(--charcoal);
  color: var(--sand);
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: var(--gutter);
  top: 12px;
  z-index: 1000;
  transform: translateY(-160%);
  background: var(--charcoal);
  color: var(--sand);
  padding: 10px 14px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 1px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 30;
  background: rgba(243, 238, 231, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 0 rgba(49, 49, 49, 0);
  transition: background-color 700ms ease, backdrop-filter 700ms ease, box-shadow 700ms ease;
}

.site-header.is-compact {
  background: rgba(243, 238, 231, 0.9);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 48px rgba(49, 49, 49, 0.05);
}

.header-top {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  min-height: 128px;
  padding: 36px var(--gutter) 0;
  transform: translateY(0);
  transition: transform 760ms cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.is-compact .header-top {
  transform: translateY(-12px);
}

.menu-button {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 24px;
  min-width: 84px;
  min-height: 44px;
  padding: 0;
  font-family: var(--sans);
  font-size: 12.6px;
  letter-spacing: 1.526px;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--charcoal);
  transition: transform 300ms ease;
}

.hamburger {
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
}

.hamburger::before {
  top: -7px;
}

.hamburger::after {
  top: 7px;
}

.brand-mark {
  justify-self: center;
  width: 158px;
  min-height: 64px;
  display: grid;
  place-items: center;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 7px;
  transform: scale(1);
  transform-origin: top center;
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-mark span {
  font-size: 20px;
  line-height: 1;
  animation: logoBreath 7.5s ease-in-out infinite;
}

.brand-mark small {
  display: block;
  margin-top: 10px;
  font-family: var(--sans);
  font-size: 8.5px;
  letter-spacing: 2.4px;
  animation: logoSubtleGlow 9s ease-in-out infinite;
}

.brand-mark.compact {
  width: auto;
  min-height: 0;
  justify-items: start;
  text-align: left;
}

.site-header.is-compact .brand-mark {
  transform: scale(0.9);
}

@keyframes logoBreath {
  0%,
  100% {
    opacity: 0.88;
    text-shadow: 0 0 0 rgba(125, 94, 55, 0);
  }

  50% {
    opacity: 1;
    text-shadow: 0 14px 34px rgba(125, 94, 55, 0.14);
  }
}

@keyframes logoSubtleGlow {
  0%,
  100% {
    opacity: 0.68;
    transform: translateY(0);
  }

  50% {
    opacity: 0.92;
    transform: translateY(1px);
  }
}

.header-actions {
  justify-self: end;
  display: flex;
  gap: 21px;
  align-items: center;
}

.language-toggle {
  min-width: 58px;
  min-height: 38px;
  border: 1px solid var(--line-strong);
  padding: 0 12px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 1.2px;
  color: var(--charcoal);
  background: rgba(253, 250, 246, 0.42);
  transition: background-color 300ms ease, border-color 300ms ease;
}

.language-toggle:hover,
.language-toggle:focus-visible {
  background: var(--sand-light);
  border-color: var(--charcoal);
}

.desktop-nav {
  height: 50px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 1.45vw, 24px);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.desktop-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 100%;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  height: 1px;
  background: var(--charcoal);
  transform: scaleX(0);
  transform-origin: center;
  opacity: 0;
  transition: transform 500ms ease, opacity 500ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
  opacity: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  padding: 7.8px 28px;
  font-family: var(--sans);
  font-size: 12.32px;
  line-height: 17.864px;
  letter-spacing: 0.7px;
  text-align: center;
  transition: color 300ms cubic-bezier(0.4, 0, 0.2, 1), background-color 300ms cubic-bezier(0.4, 0, 0.2, 1), border-color 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-dark {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--sand);
}

.btn-dark:hover,
.btn-dark:active {
  background: #615f5f;
  border-color: #615f5f;
}

.btn-warm {
  background: var(--sand);
  color: var(--charcoal);
}

.btn-warm:hover,
.btn-warm:active {
  background: var(--sand-light);
}

.btn-underline {
  width: auto;
  min-height: 0;
  padding: 0 0 10px;
  border: 0;
  border-bottom: 1px solid var(--charcoal);
}

.icon-button {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  font-family: var(--sans);
  font-size: 28px;
  line-height: 1;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}

.menu-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.menu-panel {
  min-height: 100vh;
  max-width: 1360px;
  background: var(--white);
  display: grid;
  grid-template-columns: minmax(420px, 696px) 1fr;
  transform: translateX(-100%);
  transition: transform 500ms ease-in-out;
}

.menu-overlay.is-open .menu-panel {
  transform: translateX(0);
}

.menu-panel-main {
  padding: 24px 82px 60px;
}

.menu-panel-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
}

.menu-links {
  width: min(100%, 560px);
  margin-top: 68px;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
}

.menu-links a {
  border-right: 1px solid var(--line);
  padding: 10px 28px 10px 0;
  font-size: 24px;
  line-height: 40px;
}

.menu-links a:nth-child(even) {
  border-right: 0;
  font-size: 19px;
  opacity: 0.62;
}

.menu-links a:hover {
  opacity: 1;
}

.menu-feature {
  background: var(--menu-feature);
  padding: 45px;
  display: grid;
  grid-template-columns: minmax(220px, 360px) minmax(160px, 1fr);
  align-items: center;
  gap: 36px;
}

.menu-feature img {
  aspect-ratio: 1;
  width: 100%;
  object-fit: cover;
}

.menu-feature h2 {
  margin: 0 0 18px;
  font-size: 19.6px;
  line-height: 28.42px;
  font-weight: 400;
}

.menu-feature p:not(.micro) {
  margin: 0;
  color: var(--copy);
  max-width: 31ch;
}

main {
  padding-top: 275px;
}

.hero {
  position: relative;
  width: min(100% - 49px, var(--max-hero));
  margin: 0 auto var(--section);
  aspect-ratio: 16 / 9;
  background: var(--charcoal);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 14%, rgba(255, 255, 255, 0.08) 44%, transparent 64%);
  mix-blend-mode: screen;
  transform: translateX(-120%);
  animation: lightPass 11s ease-in-out infinite;
}

.hero-video,
.hero-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video {
  z-index: 2;
}

.hero-video.is-unavailable {
  display: none;
}

.hero-fallback {
  z-index: 1;
}

@keyframes lightPass {
  0%,
  42%,
  100% {
    transform: translateX(-120%);
  }

  68% {
    transform: translateX(120%);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(7px);
  transition: opacity 900ms ease, transform 900ms cubic-bezier(0.16, 1, 0.3, 1), filter 900ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.intro-section,
.section-heading {
  width: min(100% - 49px, 720px);
  margin: var(--section) auto;
  text-align: center;
}

.micro {
  margin: 0 0 22px;
  font-family: var(--sans);
  font-size: 10.108px;
  line-height: 14.66px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 620px;
  margin: 0 auto 24px;
  font-size: clamp(24.108px, 3vw, 31.08px);
  line-height: 1.45;
  font-weight: 300;
  letter-spacing: 0.5px;
}

h2 {
  margin-bottom: 20px;
  font-size: 19.6px;
  line-height: 28.42px;
  font-weight: 400;
  letter-spacing: 0.5px;
}

h3 {
  margin-bottom: 12px;
  font-size: 17px;
  line-height: 1.45;
  font-weight: 400;
  letter-spacing: 0.6px;
}

p {
  color: var(--copy);
  line-height: 20.3px;
}

.intro-section p:not(.micro),
.section-heading p:not(.micro) {
  max-width: 680px;
  margin-inline: auto;
}

.intro-actions {
  margin-top: 36px;
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.founder-section {
  width: min(100% - 49px, 1120px);
  margin: var(--section) auto;
  padding: clamp(28px, 5vw, 64px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(220px, 360px) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: center;
}

.founder-portrait {
  margin: 0;
  overflow: hidden;
  background: var(--sand-soft);
}

.founder-portrait img {
  width: 100%;
  aspect-ratio: 5 / 7;
  object-fit: cover;
}

.founder-copy {
  max-width: 690px;
}

.founder-copy h2 {
  font-size: clamp(22px, 2.5vw, 31px);
  line-height: 1.34;
  font-weight: 300;
}

.founder-copy h1 {
  max-width: 820px;
  margin-inline: 0;
  font-size: clamp(29px, 4vw, 50px);
  line-height: 1.16;
  font-weight: 300;
}

.founder-page {
  align-items: start;
}

.social-links {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.split-section {
  width: min(100% - 49px, var(--max-section));
  margin: var(--section) auto;
  display: grid;
  grid-template-columns: 1.9091fr 1fr;
  align-items: stretch;
}

.split-section.reverse {
  grid-template-columns: 1fr 1.9091fr;
}

.split-section.reverse .split-media {
  order: 2;
}

.split-section.reverse .split-copy {
  order: 1;
}

.split-media {
  margin: 0;
  min-height: 526px;
  background: var(--line);
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-media,
.phenomena-grid article,
.residence-card,
.material-strip,
.gallery-grid figure {
  overflow: hidden;
}

.split-copy {
  min-height: 526px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
}

.split-copy .btn-underline {
  align-self: start;
  margin-top: 34px;
}

.fact-list {
  margin: 30px 0 0;
  display: grid;
  border-top: 1px solid var(--line);
}

.fact-list div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.fact-list dt {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--muted);
}

.fact-list dd {
  margin: 0;
}

.cards-section,
.phenomena-section,
.materials-section,
.gallery-section,
.residences-section,
.enquiry-section {
  width: min(100% - 49px, var(--max-section));
  margin: var(--section) auto;
}

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

.metrics-grid article {
  min-height: 168px;
  padding: 32px 22px;
  border-right: 1px solid var(--line);
  display: grid;
  place-items: center;
  text-align: center;
}

.metrics-grid article:last-child {
  border-right: 0;
}

.metrics-grid strong {
  display: block;
  font-size: clamp(24px, 4vw, 41px);
  line-height: 1.1;
  font-weight: 300;
}

.metrics-grid span {
  margin-top: 12px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--muted);
}

.centered {
  text-align: center;
}

.phenomena-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2.6vw, 3.42rem);
}

.phenomena-grid article {
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
}

.phenomena-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  margin-bottom: 22px;
}

.inline-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.inline-list li {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.residences-section {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 48px;
  align-items: start;
}

.carousel-copy {
  order: 2;
}

.carousel {
  order: 1;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 300px;
  gap: 50px;
  overflow-x: auto;
  padding: 0 25px 28px 0;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--line-strong) transparent;
}

.residence-card {
  width: 300px;
  scroll-snap-align: start;
  opacity: 0.42;
  transition: opacity 600ms cubic-bezier(0.23, 1, 0.32, 1);
}

.residence-card.is-active {
  opacity: 1;
}

.residence-card img {
  width: 300px;
  aspect-ratio: 1;
  object-fit: cover;
  margin-bottom: 20px;
}

.residence-card p {
  font-family: var(--sans);
  font-size: 12.32px;
  letter-spacing: 0.7px;
}

.carousel-controls {
  margin-top: 34px;
  display: flex;
  gap: 12px;
}

.material-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  min-height: 360px;
}

.material-strip img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.filter-button {
  min-height: 35px;
  border: 1px solid var(--line-strong);
  padding: 7px 18px;
  font-family: var(--sans);
  font-size: 12.32px;
  letter-spacing: 0.7px;
  transition: background 300ms ease, color 300ms ease, border-color 300ms ease;
}

.filter-button.is-active,
.filter-button:hover {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--sand);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 18px);
  align-items: stretch;
}

.gallery-grid figure {
  margin: 0;
  aspect-ratio: 1;
  background: var(--sand-soft);
}

.gallery-grid figure.is-hidden {
  display: none;
}

.gallery-trigger {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  overflow: hidden;
  border: 0;
  padding: 0;
  background: var(--sand-soft);
}

.gallery-trigger::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  opacity: 0;
  transition: opacity 600ms ease, box-shadow 600ms ease;
  pointer-events: none;
}

.gallery-trigger:hover::after,
.gallery-trigger:focus-visible::after {
  opacity: 1;
  box-shadow: inset 0 0 0 1px rgba(49, 49, 49, 0.16);
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.split-media img,
.phenomena-grid img,
.residence-card img,
.material-strip img,
.gallery-grid img,
.founder-portrait img {
  transition: transform 1200ms cubic-bezier(0.16, 1, 0.3, 1), filter 1200ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .split-media:hover img,
  .phenomena-grid article:hover img,
  .residence-card:hover img,
  .material-strip img:hover,
  .gallery-grid figure:hover img,
  .founder-portrait:hover img {
    transform: scale(1.025);
    filter: saturate(1.04) contrast(1.02);
  }
}

.enquiry-section {
  display: grid;
  grid-template-columns: 1.9091fr 1fr;
  align-items: stretch;
}

.landing-main,
.page-main {
  padding-top: 220px;
}

.conversion-hero {
  width: min(100% - 49px, var(--max-section));
  margin: 0 auto var(--section);
}

.conversion-copy {
  min-height: clamp(480px, 70vh, 760px);
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: clamp(28px, 5vw, 72px);
  color: var(--sand-light);
  background: linear-gradient(rgba(27, 26, 24, 0.12), rgba(27, 26, 24, 0.5)), url("assets/renders/02_sitio_masterplan--08-aerea-resort-frente-mar-alta.webp") center / cover;
}

.conversion-copy h1 {
  max-width: 760px;
  margin-inline: 0;
  font-size: clamp(31px, 5vw, 58px);
  line-height: 1.12;
  color: var(--sand-light);
}

.conversion-copy p {
  max-width: 62ch;
  color: rgba(253, 250, 246, 0.86);
}

.conversion-contact {
  padding: clamp(26px, 3.2vw, 44px) 0 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 32px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.conversion-contact .micro,
.conversion-contact h2,
.conversion-contact > p:not(.contact-number) {
  grid-column: 1;
}

.conversion-contact h2 {
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.25;
}

.conversion-contact .whatsapp-cta {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
}

.conversion-contact .contact-number {
  grid-column: 2;
  grid-row: 3;
  margin: 0;
  text-align: center;
}

.whatsapp-cta {
  align-self: flex-start;
  margin-top: 28px;
  text-align: center;
}

.contact-number {
  margin-top: 12px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 12px;
}

.landing-chapter {
  width: min(100% - 49px, var(--max-section));
  margin: var(--section) auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 92px);
  align-items: center;
}

.landing-chapter-reverse .landing-chapter-copy {
  order: 2;
}

.landing-chapter-reverse figure {
  order: 1;
}

.landing-chapter-copy h2 {
  font-size: clamp(28px, 3.8vw, 48px);
  line-height: 1.17;
  font-weight: 300;
}

.landing-chapter-copy p:not(.micro) {
  max-width: 64ch;
  color: var(--copy);
  font-size: 16px;
  line-height: 1.7;
}

.landing-chapter figure {
  margin: 0;
  aspect-ratio: 5 / 4;
  overflow: hidden;
}

.landing-chapter img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.not-found-section {
  width: min(100% - 49px, var(--max-section));
  min-height: 62vh;
  margin: 0 auto var(--section);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}

.not-found-section h1 {
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.1;
}

.not-found-section p:not(.micro) {
  max-width: 52ch;
  color: var(--copy);
  font-size: 16px;
  line-height: 1.7;
}

.not-found-section figure {
  margin: 0;
  aspect-ratio: 5 / 4;
  overflow: hidden;
}

.not-found-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.landing-story {
  width: min(100% - 49px, var(--max-section));
  margin: var(--section) auto;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(320px, 1.06fr);
  gap: clamp(28px, 6vw, 92px);
  align-items: center;
}

.landing-story h2 {
  font-size: clamp(26px, 4vw, 48px);
  line-height: 1.16;
  font-weight: 300;
}

.landing-story p:not(.micro) {
  max-width: 66ch;
  font-size: 16px;
  line-height: 1.7;
}

.landing-story figure {
  margin: 0;
  min-height: 560px;
  overflow: hidden;
  background: var(--line);
}

.landing-story img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.landing-gallery {
  width: min(100% - 49px, var(--max-section));
  margin: var(--section) auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 12px;
}

.landing-gallery img {
  width: 100%;
  min-height: 360px;
  height: 100%;
  object-fit: cover;
}

.trust-row,
.page-band {
  width: min(100% - 49px, var(--max-section));
  margin: var(--section) auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-row article,
.page-band article {
  min-height: 154px;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.trust-row article:last-child,
.page-band article:last-child {
  border-right: 0;
}

.page-hero {
  width: min(100% - 49px, var(--max-section));
  margin: 0 auto var(--section);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}

.page-hero-copy h1 {
  max-width: 820px;
  margin-inline: 0;
  font-size: clamp(31px, 4vw, 52px);
  line-height: 1.16;
}

.page-hero-media {
  margin: 0;
  min-height: 520px;
  overflow: hidden;
  background: var(--line);
}

.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.editorial-section {
  width: min(100% - 49px, 960px);
  margin: var(--section) auto;
}

.editorial-section p {
  font-size: 16px;
  line-height: 1.75;
}

.page-cta {
  width: min(100% - 49px, var(--max-section));
  margin: var(--section) auto;
  padding: clamp(32px, 6vw, 84px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  background: var(--sand-light);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.enquiry-section figure {
  margin: 0;
  min-height: 526px;
}

.enquiry-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.enquiry-copy {
  background: var(--sand-soft);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 54px);
  background: rgba(22, 21, 19, 0.84);
  opacity: 0;
  pointer-events: none;
  transition: opacity 420ms ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-frame {
  width: min(100%, 1180px);
  max-height: 86vh;
  display: grid;
  place-items: center;
  transform: translateY(16px) scale(0.985);
  transition: transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox.is-open .lightbox-frame {
  transform: translateY(0) scale(1);
}

.lightbox-frame img {
  max-width: 100%;
  max-height: 86vh;
  object-fit: contain;
  background: var(--charcoal);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
}

.lightbox-close {
  position: absolute;
  top: clamp(14px, 3vw, 32px);
  right: clamp(14px, 3vw, 32px);
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(243, 238, 231, 0.34);
  color: var(--sand);
  font-family: var(--sans);
  font-size: 28px;
  line-height: 1;
  background: rgba(22, 21, 19, 0.26);
}

.site-footer {
  background: var(--sand-light);
  margin-top: var(--section);
  border-top: 1px solid var(--line);
}

.footer-contact {
  margin-inline: var(--gutter);
  padding: 34px 0 30px;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1.2fr repeat(2, minmax(180px, 0.8fr));
  gap: clamp(22px, 5vw, 88px);
  align-items: start;
}

.footer-contact h2,
.footer-contact h3 {
  margin: 0 0 16px;
}

.footer-contact h2 {
  text-transform: uppercase;
  letter-spacing: 7px;
  font-size: 24.108px;
}

.footer-contact h3 {
  font-size: 15px;
  line-height: 1.45;
}

.footer-nav {
  margin-inline: var(--gutter);
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(7, auto);
  justify-content: space-between;
  gap: 16px;
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.footer-legal {
  margin-inline: var(--gutter);
  padding: 18px 0 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.9px;
}

.footer-legal p:last-child {
  max-width: none;
}

.mobile-cta {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 51;
  display: none;
  padding: 15px;
  background: var(--sand);
  border-top: 1px solid #e4e2dd;
}

.mobile-cta .btn {
  width: 100%;
  min-height: 49.8438px;
}

.standalone-page .page-back {
  text-transform: none;
}

.standalone-page .mobile-cta {
  display: none;
}

@media (min-width: 1401px) {
  .hero {
    width: min(100%, var(--max-hero));
  }
}

@media (max-width: 1100px) {
  main {
    padding-top: 102px;
  }

  .landing-main,
  .page-main {
    padding-top: 112px;
  }

  .header-top {
    min-height: 90px;
    padding-top: 11px;
    align-items: center;
  }

  .menu-label,
  .desktop-nav {
    display: none;
  }

  .header-actions {
    display: flex;
    gap: 0;
  }

  .header-actions .btn {
    display: none;
  }

  .standalone-page .desktop-nav {
    height: auto;
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
    padding: 13px var(--gutter);
    scrollbar-width: none;
  }

  .standalone-page .desktop-nav::-webkit-scrollbar {
    display: none;
  }

  .menu-button {
    min-width: 44px;
    gap: 0;
  }

  .hamburger,
  .hamburger::before,
  .hamburger::after {
    width: 20px;
  }

  .brand-mark {
    width: 150px;
    min-height: 40px;
    margin-top: 20px;
    margin-bottom: 28px;
  }

  .brand-mark span {
    font-size: 18px;
  }

  .menu-panel {
    display: block;
    width: 100%;
    background: var(--white);
  }

  .menu-panel-main {
    padding: 25px var(--gutter) 32px;
  }

  .menu-links {
    width: 100%;
    margin-top: 40px;
    display: block;
  }

  .menu-links a,
  .menu-links a:nth-child(even) {
    display: block;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 14px 0;
    text-align: center;
    font-family: var(--sans);
    font-size: 19px;
    line-height: 27.55px;
    opacity: 1;
  }

  .menu-feature {
    display: none;
  }
}

@media (max-width: 1023px) {
  .split-section,
  .split-section.reverse,
  .enquiry-section,
  .residences-section,
  .founder-section,
  .conversion-hero,
  .page-hero,
  .page-cta,
  .landing-story,
  .landing-chapter,
  .not-found-section {
    grid-template-columns: 1fr;
  }

  .landing-chapter-reverse .landing-chapter-copy,
  .landing-chapter-reverse figure {
    order: initial;
  }

  .split-section.reverse .split-media,
  .split-section.reverse .split-copy,
  .carousel,
  .carousel-copy {
    order: initial;
  }

  .split-media,
  .enquiry-section figure {
    width: 100%;
    min-height: auto;
    aspect-ratio: 1.6195;
  }

  .split-copy,
  .enquiry-copy {
    min-height: auto;
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
  }

  .founder-portrait {
    max-width: 360px;
  }

  .split-copy .btn-underline {
    margin-top: 40px;
  }

  .metrics-grid,
  .phenomena-grid,
  .material-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid,
  .trust-row,
  .page-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .conversion-copy,
  .conversion-contact,
  .page-hero-media,
  .landing-story figure {
    min-height: auto;
  }

  .landing-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .conversion-contact {
    grid-template-columns: 1fr;
    padding-bottom: 32px;
  }

  .conversion-contact .whatsapp-cta,
  .conversion-contact .contact-number {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
    text-align: left;
  }

  .residences-section {
    gap: 28px;
  }
}

@media (max-width: 767px) {
  .footer-contact,
  .footer-legal {
    display: block;
    padding-block: 30px;
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    padding-block: 22px;
  }

  .footer-contact > * {
    display: block;
    margin-bottom: 26px;
  }

  .footer-legal p + p {
    margin-top: 18px;
  }

  .phenomena-grid,
  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .gallery-grid figure.is-wide-mobile {
    grid-column: 1 / -1;
    aspect-ratio: 2 / 1;
  }

  .trust-row,
  .page-band {
    grid-template-columns: 1fr;
  }

  .trust-row article,
  .page-band article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-row article:last-child,
  .page-band article:last-child {
    border-bottom: 0;
  }

  .material-strip {
    grid-template-columns: repeat(2, 1fr);
    min-height: 240px;
  }

  .material-strip img {
    min-height: 240px;
  }

  .landing-gallery img {
    min-height: 240px;
  }
}

@media (max-width: 480px) {
  .hero {
    aspect-ratio: 9 / 12.55;
  }

  .intro-actions,
  .gallery-filters {
    display: grid;
  }

  .intro-actions .btn,
  .gallery-filters button {
    width: 100%;
  }

  .fact-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .carousel {
    grid-auto-columns: minmax(260px, 1fr);
    gap: 20px;
    padding-right: 0;
  }

  .residence-card,
  .residence-card img {
    width: 100%;
  }
}

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