:root {
  --brand: #3557a3;
  --navy: #0b1b35;
  --ink: #132545;
  --paper: #f4f5f2;
  --line: #d8ddd5;
  --accent: #796dcc;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: Montserrat, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
}
em,
i {
  font-style: normal;
}
body.golf,
body.park {
  --project: #3557a3;
  --project-light: #dce5fb;
  --project-deep: #0d2455;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  width: 100%;
  max-width: 100%;
}
.project-header {
  height: 96px;
  padding: 0 4.5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  position: relative;
  z-index: 50;
  border-bottom: 1px solid #e2e7f1;
}
.project-header .brand {
  background: var(--navy);
  padding: 18px 17px;
}
.project-header .brand img {
  width: 104px;
}
.project-header nav {
  display: flex;
  align-items: center;
  gap: 31px;
  font-size: 13px;
}
.project-header nav > a {
  position: relative;
}
.project-header nav > a:after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 1px;
  background: #111;
  transition: 0.3s;
}
.project-header nav > a:hover:after {
  right: 0;
}
.project-header .menu {
  display: none;
  border: 0;
  background: none;
  width: 42px;
  height: 42px;
  position: relative;
}
.project-header .menu span {
  position: absolute;
  left: 8px;
  width: 26px;
  height: 1px;
  background: #111;
}
.project-header .menu span:first-child {
  top: 15px;
}
.project-header .menu span:last-child {
  top: 26px;
}
.project-header .menu.is-open span:first-child {
  top: 21px;
  transform: rotate(45deg);
}
.project-header .menu.is-open span:last-child {
  top: 21px;
  transform: rotate(-45deg);
}
.project-hero {
  height: calc(100svh - 96px);
  min-height: 650px;
  position: relative;
  overflow: hidden;
  color: #fff;
}
.project-hero > img:not(.project-page-logo) {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
}
.project-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #0d2455ed 0, #3557a38a 42%, transparent 72%),
    linear-gradient(0deg, #0d2455bf, transparent 45%);
}
.project-hero-copy {
  position: absolute;
  z-index: 2;
  left: 7.5vw;
  bottom: 10vh;
  max-width: 850px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.project-hero h1 {
  font-size: clamp(58px, 8vw, 124px);
  line-height: 0.84;
  letter-spacing: -0.065em;
  font-weight: 400;
  margin: 25px 0;
}
.project-hero h1 em {
  display: block;
  font-weight: 300;
  color: var(--project-light);
}
.project-hero-copy > p {
  max-width: 650px;
  font-size: 18px;
  line-height: 1.65;
  color: #edf1e9;
}
.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 35px;
}
.hero-actions a {
  padding: 16px 22px;
  border: 1px solid #fff;
  font-size: 12px;
}
.hero-actions a:first-child {
  background: #fff;
  color: var(--project-deep);
}
.project-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: var(--project);
  color: #fff;
  padding: 0 5vw;
}
.project-stats div {
  min-height: 145px;
  padding: 31px 25px;
  border-right: 1px solid #ffffff31;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.project-stats div:last-child {
  border-right: 0;
}
.project-stats strong {
  font-size: 29px;
  font-weight: 500;
}
.project-stats span {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #dce7d6;
}
.project-section {
  padding: 110px 7.5vw;
}
.section-tag {
  padding-bottom: 23px;
  margin-bottom: 50px;
  border-bottom: 1px solid var(--line);
  font-size: 10px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.project-intro {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 8vw;
  align-items: start;
}
.project-intro h2,
.project-heading h2 {
  font-size: clamp(43px, 5.8vw, 86px);
  line-height: 1.02;
  letter-spacing: -0.055em;
  font-weight: 400;
  margin: 0;
}
.project-intro h2 em,
.project-heading h2 em {
  font-style: normal;
  color: var(--project);
}
.project-intro-copy {
  padding-top: 10px;
}
.project-intro-copy p {
  font-size: 18px;
  line-height: 1.75;
  margin: 0 0 10px;
  color: #46546d;
}
.editorial-image {
  height: 620px;
  margin-top: 80px;
  overflow: hidden;
}
.editorial-image img {
  height: 100%;
  object-fit: cover;
}
.features {
  background: var(--paper);
}
.project-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 65px;
}
.project-heading p {
  max-width: 500px;
  font-size: 17px;
  line-height: 1.7;
  color: #57627a;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #aeb8aa;
  border-left: 1px solid #aeb8aa;
}
.feature-grid article {
  min-height: 330px;
  padding: 35px;
  border-right: 1px solid #aeb8aa;
  border-bottom: 1px solid #aeb8aa;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.feature-grid span {
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--project);
}
.feature-grid h3 {
  font-size: 29px;
  line-height: 1.15;
  margin: 0 0 15px;
}
.feature-grid p {
  font-size: 14px;
  line-height: 1.7;
  color: #62706e;
  margin: 0;
}
.location {
  background: var(--project-deep);
  color: #fff;
}
.location .section-tag {
  border-color: #ffffff31;
}
.location-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 7vw;
}
.location-copy h2 {
  font-size: clamp(44px, 5.5vw, 78px);
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 400;
  margin: 0 0 28px;
}
.location-copy p {
  font-size: 17px;
  line-height: 1.7;
  color: #cedbd2;
}
.distance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid #ffffff30;
  border-left: 1px solid #ffffff30;
}
.distance-grid div {
  padding: 23px;
  border-right: 1px solid #ffffff30;
  border-bottom: 1px solid #ffffff30;
}
.distance-grid strong {
  display: block;
  font-size: 17px;
  font-weight: 500;
}
.distance-grid span {
  font-size: 11px;
  color: #c2cee8;
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  grid-template-rows: 300px 300px;
  gap: 12px;
}
.gallery-grid figure {
  margin: 0;
  overflow: hidden;
}
.gallery-grid figure:first-child {
  grid-row: 1/3;
}
.gallery-grid img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.gallery-grid figure:hover img {
  transform: scale(1.035);
}
.enquiry {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 8vw;
  background: var(--project);
  color: #fff;
}
.enquiry h2 {
  font-size: clamp(50px, 6vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.06em;
  font-weight: 400;
  margin: 20px 0;
}
.enquiry p {
  font-size: 15px;
  line-height: 1.7;
  color: #dce5dd;
}
.project-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.project-form label {
  display: grid;
  gap: 8px;
}
.project-form label span {
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.project-form input {
  width: 100%;
  padding: 15px 0;
  border: 0;
  border-bottom: 1px solid #ffffff78;
  background: transparent;
  color: #fff;
  font: inherit;
  outline: 0;
}
.project-form button {
  grid-column: 1/3;
  padding: 18px;
  border: 1px solid #fff;
  background: #fff;
  color: var(--project-deep);
  font: 600 11px Montserrat;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}
.project-legal {
  padding: 30px 7.5vw;
  background: #f5f5f2;
  font-size: 10px;
  line-height: 1.7;
  color: #69706a;
}
.project-footer {
  padding: 45px 7.5vw 28px;
  background: #0d2455;
  color: #c8d3cb;
}
.project-footer-top {
  display: flex;
  justify-content: space-between;
  gap: 35px;
}
.project-footer img {
  width: 110px;
}
.project-footer p {
  max-width: 720px;
  font-size: 10px;
  line-height: 1.7;
}
.project-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  margin-top: 35px;
  padding-top: 20px;
  border-top: 1px solid #ffffff25;
  font-size: 10px;
}
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
@media (max-width: 980px) {
  .project-header nav {
    display: none;
  }
  .project-header nav.open {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    padding: 25px 6vw;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    box-shadow: 0 18px 32px #0002;
  }
  .project-header .menu {
    display: block;
  }
  .project-stats {
    grid-template-columns: repeat(3, 1fr);
  }
  .project-stats div:nth-child(3) {
    border-right: 0;
  }
  .project-intro,
  .location-grid,
  .enquiry {
    grid-template-columns: 1fr;
  }
  .project-heading {
    display: block;
  }
  .project-heading p {
    margin-top: 25px;
  }
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
  .editorial-image {
    height: 500px;
  }
}
@media (max-width: 620px) {
  .project-header {
    height: 78px;
    padding: 0 5vw;
  }
  .project-header .brand {
    padding: 14px;
  }
  .project-header .brand img {
    width: 88px;
  }
  .project-hero {
    height: 760px;
    min-height: 0;
  }
  .project-hero:after {
    background: linear-gradient(0deg, #0d2455f5 6%, #3557a361 78%);
  }
  .project-hero-copy {
    left: 6vw;
    right: 6vw;
    bottom: 48px;
  }
  .project-hero h1 {
    font-size: 50px;
  }
  .project-hero-copy > p {
    font-size: 15px;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions a {
    text-align: center;
  }
  .project-stats {
    grid-template-columns: 1fr 1fr;
    padding: 0;
  }
  .project-stats div {
    min-height: 120px;
    padding: 24px 6vw;
    border-bottom: 1px solid #ffffff31;
  }
  .project-stats div:nth-child(2n) {
    border-right: 0;
  }
  .project-section {
    padding: 80px 6vw;
  }
  .project-intro h2,
  .project-heading h2 {
    font-size: 42px;
  }
  .project-intro-copy p {
    font-size: 16px;
  }
  .editorial-image {
    height: 360px;
    margin-top: 55px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .feature-grid article {
    min-height: 260px;
  }
  .distance-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 380px 230px 230px;
  }
  .gallery-grid figure:first-child {
    grid-row: auto;
  }
  .project-form {
    grid-template-columns: 1fr;
  }
  .project-form button {
    grid-column: 1;
  }
  .project-footer-top,
  .project-footer-bottom {
    flex-direction: column;
  }
}

/* Final4 — premium amenities */
.amenities {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 88% 16%, #7b70cc55 0, transparent 29%),
    radial-gradient(circle at 8% 95%, #5577c94d 0, transparent 31%),
    linear-gradient(145deg, #081b43 0, #102f6e 55%, #3557a3 115%);
}
.amenities:before,
.amenities:after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 440px;
  height: 440px;
  border: 1px solid #ffffff12;
  border-radius: 50%;
}
.amenities:before {
  right: -185px;
  top: -210px;
}
.amenities:after {
  left: -250px;
  bottom: -300px;
}
.amenities .section-tag {
  color: #cbd7f2;
  border-color: #ffffff2c;
}
.amenities .section-tag:after {
  background: linear-gradient(90deg, #fff, transparent);
}
.amenities .project-heading h2,
.amenities .project-heading h2 em {
  color: #fff;
}
.amenities .project-heading p {
  color: #cbd7ee;
}
.amenities .amenity-grid {
  counter-reset: amenity;
  gap: 1px;
  overflow: hidden;
  border: 1px solid #ffffff2b;
  border-radius: 24px;
  background: #ffffff2b;
  box-shadow: 0 32px 90px #06132d61;
}
body.golf .amenities .amenity-grid {
  grid-template-columns: repeat(2, 1fr);
}
body.park .amenities .amenity-grid {
  grid-template-columns: repeat(3, 1fr);
}
.amenities .amenity-grid article,
.amenities .amenity-grid article:nth-child(3n + 1) {
  counter-increment: amenity;
  min-height: 290px;
  padding: 34px;
  border: 0;
  border-radius: 0;
  display: grid;
  grid-template-columns: 72px 1fr auto;
  grid-template-rows: auto 1fr;
  column-gap: 22px;
  color: #fff;
  background: linear-gradient(145deg, #ffffff12, #ffffff08);
  box-shadow: none;
  backdrop-filter: blur(12px);
}
.amenities .amenity-grid article:before {
  content: counter(amenity, decimal-leading-zero);
  grid-column: 3;
  grid-row: 1;
  color: #aebee1;
  font-size: 10px;
  letter-spacing: 0.16em;
}
.amenities .amenity-grid article:after {
  right: -95px;
  bottom: -105px;
  width: 210px;
  height: 210px;
  border: 1px solid #ffffff18;
  background: transparent;
}
.amenities .amenity-icon {
  grid-column: 1;
  grid-row: 1 / 3;
  width: 66px;
  height: 66px;
  border: 1px solid #ffffff42;
  border-radius: 18px;
  color: #fff;
  background: #ffffff12;
  box-shadow: inset 0 0 0 1px #ffffff0d;
}
.amenities .amenity-grid h3 {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  margin: 4px 0 24px;
  color: #fff;
  font-size: clamp(20px, 1.7vw, 27px);
  line-height: 1.2;
  font-weight: 500;
}
.amenities .amenity-grid p {
  grid-column: 2 / 4;
  grid-row: 2;
  align-self: end;
  max-width: 390px;
  padding-top: 26px;
  border-top: 1px solid #ffffff2b;
  color: #c7d3eb;
  font-size: 12px;
  line-height: 1.7;
}
.amenities .amenity-grid article:hover {
  z-index: 2;
  border: 0;
  background: linear-gradient(145deg, #4264b1, #6d64bd);
  box-shadow: 0 28px 60px #06142f6b;
}
.amenities .amenity-grid article:hover .amenity-icon {
  color: #3557a3;
  background: #fff;
}

/* Final4 — property-centred map marker */
.nearby-map-label {
  display: grid;
  grid-template-columns: 34px 1fr;
  column-gap: 11px;
  align-items: center;
  max-width: min(360px, calc(100% - 36px));
}
.nearby-map-label:before {
  content: "";
  grid-row: 1 / 3;
  width: 32px;
  height: 32px;
  border-radius: 50% 50% 50% 0;
  background: #fff;
  box-shadow: 0 0 0 6px #ffffff1b;
  transform: rotate(-45deg);
}
.nearby-map-label:after {
  content: "N";
  position: absolute;
  left: 29px;
  top: 23px;
  color: #3557a3;
  font-size: 10px;
  font-weight: 700;
}
.nearby-map-label span,
.nearby-map-label strong {
  grid-column: 2;
}
.nearby-map-label strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 1120px) {
  body.park .amenities .amenity-grid,
  body.golf .amenities .amenity-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 620px) {
  body.park .amenities .amenity-grid,
  body.golf .amenities .amenity-grid {
    grid-template-columns: 1fr;
    border-radius: 16px;
  }
  .amenities .amenity-grid article,
  .amenities .amenity-grid article:nth-child(3n + 1) {
    min-height: 235px;
    padding: 25px 21px;
    grid-template-columns: 58px 1fr auto;
    column-gap: 16px;
  }
  .amenities .amenity-icon {
    width: 54px;
    height: 54px;
    border-radius: 15px;
  }
  .amenities .amenity-grid h3 {
    margin-bottom: 20px;
    font-size: 20px;
  }
  .amenities .amenity-grid p {
    padding-top: 20px;
  }
}

/* Professional project components */
.project-subnav {
  height: 52px;
  position: sticky;
  top: 96px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 0 4.5vw;
  background: #ffffffef;
  border-bottom: 1px solid #e2e7ef;
  backdrop-filter: blur(14px);
}
.project-subnav strong {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--brand);
}
.project-subnav div {
  display: flex;
  align-items: center;
  gap: 24px;
}
.project-subnav a {
  font-size: 10px;
  letter-spacing: 0.04em;
}
.project-subnav a:hover {
  color: var(--brand);
}
section[id] {
  scroll-margin-top: 160px;
}
.project-header {
  position: sticky;
  top: 0;
}
.project-header nav {
  gap: clamp(14px, 1.5vw, 27px);
  font-size: 12px;
}
.project-header nav > a {
  white-space: nowrap;
}
.project-header nav .nav-cta {
  padding: 12px 15px;
  background: var(--brand);
  color: #fff;
}
.project-header nav .nav-cta:after {
  display: none;
}
.project-header .menu span {
  transition: 0.25s;
}
.amenities {
  background: linear-gradient(145deg, #f4f7fd, #fff);
}
.amenity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.amenity-grid article {
  min-height: 285px;
  padding: 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.amenity-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid #b9c6dd;
  border-radius: 50%;
  font-size: 25px;
  color: var(--brand);
  margin-bottom: 55px;
}
.amenity-grid h3 {
  font-size: 21px;
  margin: 0 0 15px;
}
.amenity-grid p {
  font-size: 13px;
  line-height: 1.7;
  color: #66728a;
  margin: 0;
}
.spec-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 9vw;
}
.spec-layout h2,
.faq-layout h2 {
  font-size: clamp(43px, 5.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.055em;
  font-weight: 400;
  margin: 0;
}
.spec-layout h2 em,
.faq-layout h2 em {
  font-style: normal;
  color: var(--project);
}
.spec-layout > div > p,
.faq-layout > div > p {
  color: #68758c;
  line-height: 1.7;
}
.spec-list {
  margin: 0;
  border-top: 1px solid var(--line);
}
.spec-list div {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 25px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.spec-list dt {
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #71809a;
}
.spec-list dd {
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}
.spec-list a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.gallery-grid button {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: #e8ece7;
  cursor: zoom-in;
}
.gallery-grid button:first-child {
  grid-row: 1/3;
}
.gallery-grid button:hover img,
.gallery-grid button:focus-visible img {
  transform: scale(1.035);
}
.gallery-grid-six {
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 280px 280px;
}
.gallery-grid-six button:first-child {
  grid-row: auto;
  grid-column: span 2;
}
.gallery-grid-six button:last-child {
  grid-column: span 2;
}
.gallery-lightbox {
  width: min(1180px, 96vw);
  height: min(820px, 92vh);
  padding: 0;
  border: 0;
  background: #081a43;
  color: #fff;
  overflow: hidden;
}
.gallery-lightbox::backdrop {
  background: #020806ed;
  backdrop-filter: blur(8px);
}
.gallery-lightbox figure {
  height: 100%;
  margin: 0;
  padding: 54px 80px 40px;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 16px;
}
.gallery-lightbox img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.gallery-lightbox figcaption {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.05em;
}
.gallery-close,
.gallery-prev,
.gallery-next {
  position: absolute;
  z-index: 2;
  border: 1px solid #ffffff4a;
  background: #0d2455c7;
  color: #fff;
  cursor: pointer;
}
.gallery-close {
  right: 18px;
  top: 16px;
  width: 42px;
  height: 42px;
  font-size: 25px;
}
.gallery-prev,
.gallery-next {
  top: 50%;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 20px;
}
.gallery-prev {
  left: 18px;
}
.gallery-next {
  right: 18px;
}
.faq-section {
  background: var(--paper);
}
.faq-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 9vw;
}
.faq-list {
  border-top: 1px solid #cbd1ca;
}
.faq-list details {
  border-bottom: 1px solid #cbd1ca;
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 25px 45px 25px 0;
  font-size: 17px;
  font-weight: 500;
  position: relative;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary:after {
  content: "+";
  position: absolute;
  right: 5px;
  font-size: 24px;
  font-weight: 300;
}
.faq-list details[open] summary:after {
  content: "−";
}
.faq-list p {
  max-width: 740px;
  margin: 0;
  padding: 0 40px 25px 0;
  color: #647087;
  font-size: 14px;
  line-height: 1.75;
}
@media (max-width: 1120px) {
  .project-header nav {
    display: none;
  }
  .project-header nav.open {
    display: flex;
    position: fixed;
    inset: 96px 0 0;
    padding: 35px 6vw 60px;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    overflow-y: auto;
  }
  .project-header nav.open > a,
  .project-header nav.open summary {
    font-size: 18px;
  }
  .project-header .menu {
    display: block;
  }
  .menu-open {
    overflow: hidden;
  }
  .amenity-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 980px) {
  .spec-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 620px) {
  .project-header nav.open {
    inset: 78px 0 0;
  }
  .project-subnav {
    top: 78px;
    height: 48px;
    padding: 0 5vw;
    overflow-x: auto;
  }
  .project-subnav strong {
    display: none;
  }
  .project-subnav div {
    gap: 20px;
    min-width: max-content;
  }
  .project-stats strong {
    font-size: 20px;
    overflow-wrap: anywhere;
  }
  .project-section {
    padding: 72px 6vw;
  }
  .spec-layout h2,
  .faq-layout h2 {
    font-size: 39px;
  }
  .amenity-grid {
    grid-template-columns: 1fr;
  }
  .amenity-grid article {
    min-height: 240px;
  }
  .amenity-icon {
    margin-bottom: 38px;
  }
  .gallery-grid,
  .gallery-grid-six {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 10px;
    padding-bottom: 12px;
  }
  .gallery-grid button,
  .gallery-grid button:first-child,
  .gallery-grid-six button:last-child {
    flex: 0 0 86%;
    height: 410px;
    grid-column: auto;
    grid-row: auto;
    scroll-snap-align: center;
  }
  .gallery-lightbox figure {
    padding: 60px 12px 70px;
  }
  .gallery-prev,
  .gallery-next {
    top: auto;
    bottom: 15px;
  }
  .spec-list div {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* Motion and icon system */
.page-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, #3557a3, #7d68d8, #aec1ed);
  pointer-events: none;
  will-change: transform;
}
.project-hero > img {
  transform: scale(1.055);
  will-change: transform;
}
.project-hero-copy.visible .eyebrow {
  animation: projectFadeUp 0.7s 0.05s both;
}
.project-hero-copy.visible h1 {
  animation: projectFadeUp 0.85s 0.13s both;
}
.project-hero-copy.visible > p {
  animation: projectFadeUp 0.85s 0.23s both;
}
.project-hero-copy.visible .hero-actions {
  animation: projectFadeUp 0.85s 0.32s both;
}
.section-tag {
  position: relative;
  overflow: hidden;
}
.section-tag:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s cubic-bezier(0.2, 0.75, 0.25, 1);
}
.project-section.section-active > .section-tag:after {
  transform: scaleX(1);
}
.amenity-grid article {
  position: relative;
  overflow: hidden;
  transition:
    transform 0.45s cubic-bezier(0.2, 0.75, 0.25, 1),
    box-shadow 0.45s,
    background 0.45s;
  transition-delay: var(--delay, 0ms);
}
.amenity-grid article:after {
  content: "";
  position: absolute;
  right: -75px;
  bottom: -75px;
  width: 155px;
  height: 155px;
  border-radius: 50%;
  background: radial-gradient(circle, #3557a314, transparent 68%);
  transform: scale(0.6);
  transition: transform 0.6s;
}
.amenity-grid article:hover {
  z-index: 2;
  transform: translateY(-8px);
  box-shadow: 0 22px 55px #1d3c7418;
}
.amenity-grid article:hover:after {
  transform: scale(1.5);
}
.amenity-icon {
  transition:
    background 0.4s,
    color 0.4s,
    transform 0.5s;
}
.amenity-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
}
.amenity-grid article.visible .amenity-icon svg {
  animation: drawIcon 1.45s cubic-bezier(0.3, 0.7, 0.2, 1) forwards;
}
.amenity-grid article:hover .amenity-icon {
  background: var(--brand);
  color: #fff;
  transform: rotate(-5deg) scale(1.06);
}
.editorial-image {
  transform: translateZ(0);
}
.editorial-image img {
  transition: transform 1.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.editorial-image:hover img {
  transform: scale(1.035);
}
.gallery-grid button:after {
  content: "View +";
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 9px 11px;
  background: #fff;
  color: #17366f;
  font: 600 9px Montserrat;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: 0.35s;
}
.gallery-grid button {
  position: relative;
}
.gallery-grid button:hover:after,
.gallery-grid button:focus-visible:after {
  opacity: 1;
  transform: none;
}
.gallery-lightbox[open] {
  animation: dialogIn 0.35s ease both;
}
.gallery-lightbox img {
  transition:
    opacity 0.2s,
    transform 0.35s;
}
.gallery-lightbox.is-changing img {
  opacity: 0;
  transform: scale(0.98);
}
.spec-list div {
  transition:
    padding-left 0.35s,
    background 0.35s;
}
.spec-list div:hover {
  padding-left: 14px;
  background: linear-gradient(90deg, #f3f6fc, transparent);
}
.project-subnav a {
  position: relative;
}
.project-subnav a:after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 1px;
  background: var(--brand);
  transition: right 0.3s;
}
.project-subnav a:hover:after,
.project-subnav a.active:after {
  right: 0;
}
.project-subnav a.active {
  color: var(--brand);
}
@keyframes drawIcon {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes projectFadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes dialogIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .page-progress {
    display: none;
  }
  .project-hero > img {
    transform: none !important;
  }
  .project-hero-copy.visible .eyebrow,
  .project-hero-copy.visible h1,
  .project-hero-copy.visible > p,
  .project-hero-copy.visible .hero-actions,
  .amenity-grid article.visible .amenity-icon svg,
  .gallery-lightbox[open] {
    animation: none;
  }
  .amenity-icon svg {
    stroke-dashoffset: 0;
  }
  .amenity-grid article,
  .editorial-image img,
  .gallery-grid img,
  .gallery-lightbox img {
    transition: none;
  }
}

/* NeoLiv blue project redesign */
body.golf,
body.park {
  --project: #3557a3;
  --project-light: #d7e0f6;
  --project-deep: #0d2455;
  --accent: #7f70cf;
}
.project-header {
  height: 88px;
  padding: 0 5.5vw;
  border-bottom: 0;
  box-shadow: 0 10px 35px #0d24550d;
}

.project-header nav {
  gap: 30px;
}
.project-header nav > a,
.project-header .project-nav summary {
  font-size: 13px;
  letter-spacing: 0.03em;
}
.project-subnav {
  top: 88px;
  height: 58px;
  padding: 0 5.5vw;
  background: linear-gradient(90deg, #eef3fcf5, #fff);
  border-top: 1px solid #e1e7f2;
  border-bottom: 1px solid #d9e1ef;
}
.project-subnav strong {
  font-size: 12px;
  color: #3557a3;
}
.project-subnav strong:before {
  display: none;
}
.project-subnav div {
  padding: 5px;
  border: 1px solid #dce3f0;
  border-radius: 999px;
  background: #fff;
  gap: 0;
}
.project-subnav a {
  padding: 9px 13px;
  border-radius: 999px;
}
.project-subnav a:after {
  display: none;
}
.project-subnav a.active,
.project-subnav a:hover {
  background: #3557a3;
  color: #fff;
}
.project-hero:after {
  background:
    linear-gradient(90deg, #071a47ed 0, #10285ea6 46%, transparent 78%),
    linear-gradient(0deg, #071a47cc, transparent 50%);
}
.project-stats {
  background: linear-gradient(115deg, #10234d, #3557a3);
  padding: 0 5vw;
}
.location {
  background: linear-gradient(135deg, #0d2455, #3557a3);
}
.enquiry {
  background: linear-gradient(135deg, #10234d, #3557a3);
}
.hero-actions a:first-child {
  color: #10234d;
}
.amenities {
  background: #f4f7fc;
}
.amenity-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  border: 0;
}
.amenity-grid article {
  min-height: 220px;
  padding: 30px 32px;
  border: 1px solid #d9e2f1;
  border-radius: 18px;
  display: grid;
  grid-template-columns: 72px 1fr;
  grid-template-rows: auto 1fr;
  column-gap: 24px;
  align-items: start;
  background: linear-gradient(145deg, #fff, #f8faff);
}
.amenity-grid article:nth-child(3n + 1) {
  background: linear-gradient(145deg, #eef3fc, #fff);
}
.amenity-icon {
  grid-row: 1/3;
  width: 64px;
  height: 64px;
  margin: 0;
  border: 0;
  border-radius: 16px;
  background: #3557a3;
  color: #fff;
  box-shadow: 0 12px 30px #3557a326;
}
.amenity-icon svg {
  width: 30px;
  height: 30px;
}
.amenity-grid h3 {
  font-size: 22px;
  margin: 5px 0 12px;
  color: #163368;
}
.amenity-grid p {
  font-size: 13px;
  line-height: 1.65;
}
.amenity-grid article:hover {
  transform: translateY(-5px);
  border-color: #aebee0;
  box-shadow: 0 24px 58px #17366f18;
}
.amenity-grid article:hover .amenity-icon {
  background: #6d65c6;
  transform: translateY(-3px);
}
.nearby-section {
  background: #fff;
}
.nearby-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
  margin-bottom: 42px;
}
.nearby-heading h2 {
  font-size: clamp(42px, 5.4vw, 76px);
  line-height: 1;
  letter-spacing: -0.055em;
  font-weight: 400;
  margin: 0;
}
.nearby-heading h2 em {
  font-style: normal;
  color: #3557a3;
}
.nearby-heading p {
  max-width: 620px;
  color: #68758c;
  line-height: 1.7;
}
.nearby-heading > span {
  padding: 10px 14px;
  border: 1px solid #cbd6e9;
  border-radius: 999px;
  color: #3557a3;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.nearby-tabs {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding-bottom: 17px;
  scrollbar-width: none;
}
.nearby-tabs::-webkit-scrollbar {
  display: none;
}
.nearby-tabs button {
  flex: none;
  padding: 13px 18px;
  border: 1px solid #cdd7e8;
  border-radius: 999px;
  background: #fff;
  color: #536580;
  font: 500 11px Montserrat;
  cursor: pointer;
  transition: 0.25s;
}
.nearby-tabs button.active,
.nearby-tabs button:hover {
  background: #3557a3;
  border-color: #3557a3;
  color: #fff;
}
.nearby-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  min-height: 570px;
  border: 1px solid #d4ddeb;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 20px 65px #17366f0f;
}
.nearby-places {
  padding: 14px;
  background: #f5f7fb;
  overflow-y: auto;
  max-height: 570px;
}
.nearby-places button {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px 15px;
  text-align: left;
  padding: 19px 18px;
  border: 0;
  border-bottom: 1px solid #dce3ef;
  background: transparent;
  color: #18366d;
  cursor: pointer;
  transition: 0.25s;
}
.nearby-places button[hidden] {
  display: none;
}
.nearby-places button:hover,
.nearby-places button.active {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 28px #17366f0e;
}
.nearby-places span {
  grid-column: 1/-1;
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7182a4;
}
.nearby-places strong {
  font-size: 13px;
}
.nearby-places small {
  font-size: 10px;
  color: #7888a5;
}
.nearby-map-wrap {
  position: relative;
  background: #e9edf5;
}
.nearby-map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 570px;
  border: 0;
}
.nearby-map-label {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 12px 16px;
  border-radius: 12px;
  background: #10234de8;
  color: #fff;
  box-shadow: 0 14px 30px #0d1c3b38;
}
.nearby-map-label span {
  display: block;
  font-size: 7px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b9c8ea;
}
.nearby-map-label strong {
  font-size: 12px;
}
.nearby-map-wrap.loading:after {
  content: "Updating map…";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: #f5f7fbd9;
  color: #3557a3;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
@media (max-width: 1120px) {
  .project-header {
    height: 82px;
  }
  .project-subnav {
    top: 82px;
  }
  .project-header nav.open {
    inset: 82px 0 0;
  }
  .project-subnav div {
    border: 0;
    background: transparent;
  }
  .project-subnav a {
    border: 1px solid #dce3f0;
    background: #fff;
    margin-right: 5px;
  }
  .nearby-layout {
    grid-template-columns: 1fr;
  }
  .nearby-places {
    display: flex;
    max-height: none;
    overflow-x: auto;
  }
  .nearby-places button {
    flex: 0 0 260px;
    border-right: 1px solid #dce3ef;
    border-bottom: 0;
  }
  .nearby-map-wrap iframe {
    min-height: 480px;
  }
  .amenity-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 620px) {
  .project-header {
    height: 76px;
  }
  .project-subnav {
    top: 76px;
  }
  .project-header nav.open {
    inset: 76px 0 0;
  }
  .project-subnav {
    height: 54px;
  }
  .project-subnav div {
    padding: 0;
  }
  .project-subnav a {
    padding: 9px 12px;
  }
  .amenity-grid article {
    min-height: 205px;
    padding: 24px 20px;
    grid-template-columns: 58px 1fr;
    column-gap: 17px;
    border-radius: 14px;
  }
  .amenity-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
  }
  .amenity-grid h3 {
    font-size: 19px;
  }
  .nearby-heading {
    display: block;
  }
  .nearby-heading > span {
    display: inline-block;
    margin-top: 15px;
  }
  .nearby-layout {
    border-radius: 14px;
  }
  .nearby-map-wrap iframe {
    min-height: 410px;
  }
  .nearby-places button {
    flex-basis: 230px;
  }
  .project-hero:after {
    background: linear-gradient(0deg, #071a47f2 8%, #10285e68 85%);
  }
}

/* Project experience — NeoLiv brand system */
body.golf,
body.park {
  --project: #3557a3;
  --project-light: #dce5fb;
  --project-deep: #0d2455;
  --accent: #796dcc;
}
.project-hero {
  position: relative !important;
  height: min(820px, calc(100svh - 146px));
  min-height: 680px;
  margin: 0 2vw 28px;
  border-radius: 0 0 28px 28px;
  background: #0d2455;
  box-shadow: 0 24px 70px #10234d24;
  overflow: hidden !important;
}
.project-hero .project-page-logo,
.project-page-logo {
  position: absolute !important;
  top: 32px !important;
  left: 48px !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 10 !important;
  width: auto !important;
  max-width: clamp(140px, 16vw, 190px) !important;
  height: auto !important;
  max-height: 44px !important;
  object-fit: contain !important;
  object-position: left center !important;
  transform: none !important;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.6)) !important;
  margin: 0 !important;
  display: block !important;
}
.project-hero .project-page-logo.project-wordmark,
.project-page-logo.project-wordmark {
  position: absolute !important;
  top: 32px !important;
  left: 48px !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 10 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 3px !important;
  margin: 0 !important;
  transform: none !important;
}
.project-page-logo.project-wordmark img {
  width: 78px !important;
  max-width: 78px !important;
  height: auto !important;
  filter: brightness(0) invert(1) drop-shadow(0 2px 6px rgba(0,0,0,0.6)) !important;
  transform: none !important;
}
.project-page-logo.project-wordmark strong {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  line-height: 1.15 !important;
  letter-spacing: 0.08em !important;
  color: #ffffff !important;
  text-transform: uppercase !important;
  text-shadow: 0 2px 8px rgba(0,0,0,0.7) !important;
}
.project-hero > img:not(.project-page-logo) {
  filter: none;
  transform: scale(1.01);
}
.project-hero:before {
  display: none;
}
.project-hero:after {
  z-index: 1;
  background: linear-gradient(0deg, #081b49bf 0, rgba(8, 27, 73, 0.3) 35%, transparent 60%);
}
.project-hero-copy {
  left: 6vw;
  bottom: 8.5vh;
  max-width: 720px;
}
.project-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid #ffffff55;
  border-radius: 999px;
  background: #ffffff10;
  backdrop-filter: blur(8px);
}
.project-hero .eyebrow:before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b7c8f1;
}
.project-hero h1 {
  font-size: clamp(60px, 7.2vw, 112px);
  line-height: 0.88;
  margin: 26px 0 24px;
}
.project-hero h1 em {
  color: #cbd8f7;
  font-style: normal;
}
.project-hero-copy > p {
  max-width: 590px;
  color: #e8edf8;
}
.hero-actions a {
  border-radius: 999px;
  padding: 16px 24px;
  letter-spacing: 0.04em;
  transition: 0.3s;
}
.hero-actions a:first-child {
  background: #fff;
  color: #10234d;
}
.hero-actions a:last-child {
  background: #ffffff0d;
}
.hero-actions a:hover {
  transform: translateY(-2px);
  background: #dce5fb;
  color: #10234d;
}
.project-hero-card {
  position: absolute;
  z-index: 3;
  right: 5vw;
  bottom: 6.5vh;
  width: min(310px, 26vw);
  padding: 26px;
  border: 1px solid #ffffff38;
  border-radius: 20px;
  background: #0d2455d9;
  color: #fff;
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px #06133155;
}
.project-hero-card > span {
  display: block;
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #bdcae8;
  margin-bottom: 22px;
}
.project-hero-card > strong {
  display: block;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 500;
}
.project-hero-card > div {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin: 25px 0;
  padding: 20px 0;
  border-top: 1px solid #ffffff30;
  border-bottom: 1px solid #ffffff30;
}
.project-hero-card b {
  font-size: 32px;
  font-weight: 500;
}
.project-hero-card small {
  max-width: 100px;
  text-align: right;
  color: #bdcae8;
  font-size: 11px;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.project-hero-card > a {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.project-hero-card i {
  font-style: normal;
  font-size: 16px;
}
.project-stats {
  background: linear-gradient(115deg, #0d2455, #3557a3 72%, #6378bd);
}
.location,
.enquiry {
  background: linear-gradient(135deg, #0d2455, #3557a3 68%, #6579c0);
}
.project-footer {
  background: #0d2455;
  color: #c9d5ee;
}
.gallery-lightbox {
  background: #081a43;
}
.gallery-lightbox::backdrop {
  background: #030a1bea;
}
.gallery-close,
.gallery-prev,
.gallery-next {
  background: #0d2455d9;
}
.page-progress {
  background: linear-gradient(90deg, #3557a3, #796dcc, #aec1ed);
}
.nearby-section {
  padding-top: 105px;
  background: linear-gradient(180deg, #fff, #f3f6fc);
}
.nearby-section .section-tag {
  color: #3557a3;
}
.nearby-layout {
  border: 0;
  box-shadow: 0 28px 80px #17366f1b;
}
.nearby-map-wrap {
  min-height: 570px;
  background: #e7edf8;
}
.nearby-map-wrap:before {
  content: "Interactive Google Map";
  position: absolute;
  z-index: 2;
  right: 18px;
  top: 18px;
  padding: 9px 12px;
  border-radius: 999px;
  background: #fff;
  color: #3557a3;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 8px 25px #10234d20;
  pointer-events: none;
}
@media (max-width: 1100px) {
  .project-hero-card {
    display: none;
  }
  .project-hero-copy {
    max-width: 760px;
  }
  .project-hero {
    margin: 0 1vw 24px;
  }
}
@media (max-width: 620px) {
  .project-hero {
    height: 710px;
    min-height: 0;
    margin: 0;
    border-radius: 0 0 20px 20px;
  }
  .project-hero > img {
    object-position: center center;
  }
  .project-hero:before {
    background: linear-gradient(
      0deg,
      #081b49f7 3%,
      #173a7da6 54%,
      #10234d3d 100%
    );
  }
  .project-hero-copy {
    left: 6vw;
    right: 6vw;
    bottom: 42px;
  }
  .project-hero h1 {
    font-size: 50px;
    line-height: 0.92;
  }
  .project-hero-copy > p {
    font-size: 14px;
    line-height: 1.6;
  }
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .hero-actions a {
    padding: 14px 12px;
  }
  .nearby-section {
    padding-top: 80px;
  }
  .nearby-map-wrap {
    min-height: 430px;
  }
  .nearby-map-wrap:before {
    right: 10px;
    top: 10px;
  }
}

/* Consistent project galleries: fill every row and remove empty grid tracks. */
@media (min-width: 701px) {
  .gallery-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: none !important;
    grid-auto-flow: row dense;
    grid-auto-rows: clamp(240px, 26vw, 420px);
    gap: 12px;
  }
  .gallery-grid button,
  .gallery-grid button:first-child {
    width: 100%;
    height: 100%;
    min-width: 0;
    grid-column: auto !important;
    grid-row: auto !important;
  }
  .gallery-grid:not(.gallery-grid-six) button:last-child:nth-child(odd) {
    grid-column: 1 / -1 !important;
  }
  .gallery-grid-six {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-auto-rows: clamp(220px, 20vw, 320px);
  }
  .gallery-grid-six button:last-child {
    grid-column: auto !important;
  }
}

.gallery-grid button img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

@media (max-width: 700px) {
  .gallery-grid,
  .gallery-grid-six {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: none !important;
    gap: 10px;
    overflow: visible;
    padding-bottom: 0;
  }
  .gallery-grid button,
  .gallery-grid button:first-child,
  .gallery-grid-six button:last-child {
    width: 100%;
    height: auto !important;
    aspect-ratio: 4 / 3;
    grid-column: auto !important;
    grid-row: auto !important;
  }
}

/* Tighter project details and a naturally proportioned masterplan. */
@media (min-width: 981px) {
  .specifications .spec-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: clamp(48px, 5vw, 84px);
    align-items: start;
  }
  .specifications .spec-layout h2 {
    max-width: 760px;
    font-size: clamp(44px, 3.7vw, 60px);
    line-height: 1.02;
  }
}

.specifications .forest-masterplan {
  width: min(100%, 1235px);
  height: auto;
  margin: clamp(36px, 4vw, 60px) auto 0;
  background: transparent;
}
.specifications .forest-masterplan img {
  display: block;
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}

.enquiry h2 { white-space: nowrap; }
@media (max-width: 620px) {
  .enquiry h2 { font-size: clamp(42px, 13vw, 58px); }
}
