@font-face {
  font-family: "Clash Display";
  src: url("../../fonts/ClashDisplay-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Clash Display";
  src: url("../../fonts/ClashDisplay-Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Clash Display";
  src: url("../../fonts/ClashDisplay-Semibold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --cpg-green: #597148;
  --cpg-green-deep: #2d5a27;
  --cpg-green-dark: #1e3d1c;
  --cpg-forest: #1f3323;
  --cpg-sage: #6b7a5e;
  --cpg-gold: #c9a96e;
  --cpg-gold-deep: #a98a3c;
  --cpg-ink: #111111;
  --cpg-off-white: #fdfcf9;
  --cpg-cream: #f7f2ea;
  --cpg-sand: #eceae4;
  --cpg-slate: #535862;
  --cpg-body: #414651;
  --cpg-border: #d5d7da;
  --cpg-hairline: #dddddd;
  --cpg-container: 1360px;
  --cpg-gutter: clamp(20px, 4vw, 40px);
  --cpg-section: clamp(60px, 8vw, 100px);
  --cpg-display: "Clash Display", Georgia, serif;
  --cpg-body-font: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.cpg-project-page,
.cpg-project-page * {
  box-sizing: border-box;
}

.cpg-project-page {
  width: 100%;
  overflow: clip;
  background: var(--cpg-off-white);
  color: var(--cpg-ink);
  font-family: var(--cpg-body-font);
  -webkit-font-smoothing: antialiased;
}

.cpg-project-page img,
.cpg-project-page video {
  display: block;
  max-width: 100%;
}

.cpg-project-page h1,
.cpg-project-page h2,
.cpg-project-page h3,
.cpg-project-page p,
.cpg-project-page dl,
.cpg-project-page dd,
.cpg-project-page dt,
.cpg-project-page ul,
.cpg-project-page blockquote {
  margin: 0;
}

.cpg-project-page h1,
.cpg-project-page h2,
.cpg-project-page h3,
.cpg-project-page blockquote {
  font-family: var(--cpg-display);
  text-wrap: pretty;
}

.cpg-project-page button,
.cpg-project-page input,
.cpg-project-page select,
.cpg-project-page textarea {
  font: inherit;
}

.cpg-project-page button,
.cpg-project-page a {
  -webkit-tap-highlight-color: transparent;
}

.cpg-project-page :focus-visible,
.cpg-footer :focus-visible {
  outline: 3px solid var(--cpg-gold);
  outline-offset: 3px;
}

.cpg-project-container {
  width: min(100%, calc(var(--cpg-container) + 2 * var(--cpg-gutter)));
  margin-inline: auto;
  padding-inline: var(--cpg-gutter);
}

.cpg-project-narrow {
  width: min(100%, 920px);
  margin-inline: auto;
  padding-inline: var(--cpg-gutter);
}

.cpg-project-section {
  padding-block: var(--cpg-section);
}

.cpg-project-page [data-cpg-section] {
  scroll-margin-top: 138px;
}

.cpg-project-section--cream {
  background: var(--cpg-cream);
}

.cpg-project-spacer {
  height: clamp(40px, 6vw, 80px);
}

.cpg-project-spacer--cream {
  background: var(--cpg-cream);
}

.cpg-project-subnav {
  position: sticky;
  top: 78px;
  z-index: 9900;
  width: 100%;
  border-bottom: 1px solid #272727;
  background: #111;
}

.cpg-project-subnav__inner {
  display: flex;
  width: min(100%, var(--cpg-container));
  margin-inline: auto;
  padding-inline: var(--cpg-gutter);
  overflow-x: auto;
  scrollbar-width: thin;
}

.cpg-project-subnav a {
  flex: 1 0 auto;
  min-height: 50px;
  padding: 16px 15px 14px;
  border-bottom: 2px solid transparent;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.4px;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease, border-color 180ms ease;
}

.cpg-project-subnav a:hover,
.cpg-project-subnav a.is-active {
  border-bottom-color: var(--cpg-gold);
  color: #fff;
}

.cpg-project-hero {
  position: relative;
  min-height: clamp(520px, 82vh, 720px);
  isolation: isolate;
  background: #111;
  color: #fff;
}

.cpg-project-hero__media,
.cpg-project-hero__scrim {
  position: absolute;
  inset: 0;
}

.cpg-project-hero__media img,
.cpg-project-hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cpg-project-hero__scrim {
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.12) 34%, rgba(0, 0, 0, 0.8) 100%);
}

.cpg-project-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  min-height: inherit;
  gap: clamp(30px, 6vw, 88px);
  padding-block: clamp(64px, 9vw, 96px) clamp(38px, 6vw, 64px);
}

.cpg-project-hero__title-group {
  max-width: 760px;
}

.cpg-project-hero h1 {
  max-width: 10ch;
  color: #fff;
  font-size: clamp(56px, 12vw, 128px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 0.88;
}

.cpg-project-hero__location {
  margin-top: 8px !important;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--cpg-display);
  font-size: clamp(16px, 2.2vw, 20px);
}

.cpg-project-hero__status {
  margin-top: 8px !important;
  color: var(--cpg-gold);
  font-size: 14px;
  font-weight: 600;
}

.cpg-project-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

.cpg-project-hero .cpg-button {
  font-size: 14px;
  text-transform: none;
  letter-spacing: normal;
}

.cpg-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 14px 26px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.cpg-button--gold {
  background: var(--cpg-gold);
  color: var(--cpg-ink);
}

.cpg-button--gold:hover {
  background: var(--cpg-gold-deep);
  color: var(--cpg-ink);
}

.cpg-button--green {
  background: var(--cpg-green-deep);
  color: #fff;
  font-size: 11px;
  letter-spacing: 1.8px;
}

.cpg-button--green:hover {
  background: var(--cpg-green);
  color: #fff;
}

.cpg-button--ghost {
  border-color: rgba(255, 255, 255, 0.8);
  background: transparent;
  color: #fff;
}

.cpg-button--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.cpg-button--muted {
  border-color: var(--cpg-border);
  background: var(--cpg-sand);
  color: var(--cpg-slate);
}

.cpg-button--muted:hover {
  background: #e1ddd3;
  color: var(--cpg-ink);
}

.cpg-button--wide {
  width: 100%;
}

.cpg-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  min-width: 46px;
  max-width: 46px;
  height: 46px;
  min-height: 46px;
  max-height: 46px;
  flex: 0 0 46px;
  border: 1px solid var(--cpg-border);
  border-radius: 50% !important;
  padding: 0 !important;
  background: #fff;
  color: var(--cpg-ink);
  cursor: pointer;
  line-height: 1;
  box-sizing: border-box;
  transition: background-color 180ms ease, color 180ms ease;
}

.cpg-icon-button:hover {
  background: var(--cpg-ink);
  color: #fff;
}

.cpg-project-hero__video-control {
  position: absolute;
  right: var(--cpg-gutter);
  top: var(--cpg-gutter);
  z-index: 3;
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
}

.cpg-project-hero__stats {
  display: flex;
  flex-wrap: wrap;
  flex: 0 0 auto;
  gap: clamp(22px, 4vw, 44px);
  width: auto;
}

.cpg-project-hero__stats div {
  min-width: 0;
}

.cpg-project-hero__stats dd {
  color: #fff;
  font-family: var(--cpg-display);
  font-size: clamp(26px, 3.4vw, 34px);
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.cpg-project-hero__stats dt {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.cpg-project-statement {
  padding-block: clamp(60px, 8vw, 104px);
  background: #fff;
  text-align: center;
}

.cpg-project-statement__eyebrow {
  margin-bottom: 22px !important;
  color: var(--cpg-sage);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.78px;
  line-height: 1.35;
  text-transform: uppercase;
}

.cpg-project-statement__copy {
  color: var(--cpg-ink);
  font-family: var(--cpg-display);
  font-size: clamp(19px, 2.6vw, 29px);
  font-weight: 400;
  line-height: 1.45;
  text-wrap: pretty;
}

.cpg-project-split-card {
  --cpg-property-inset: clamp(44px, 6vw, 96px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  background: var(--cpg-cream);
}

.cpg-project-property > .cpg-project-container {
  width: 100%;
  padding: 0;
}

.cpg-project-property + .cpg-project-spacer {
  height: clamp(50px, 7.5vw, 100px);
  background: #fff;
}

.cpg-project-split-card__media {
  position: relative;
  /* The padded content column sets the height; the image has no outer inset. */
  width: 100%;
  min-height: 0;
  margin-block: 0;
  align-self: stretch;
}

.cpg-project-split-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cpg-project-split-card__content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: var(--cpg-property-inset) clamp(20px, 5vw, 80px);
}

.cpg-project-split-card.is-content-only {
  grid-template-columns: 1fr;
}

.cpg-project-split-card.is-content-only .cpg-project-split-card__content {
  width: min(100%, 900px);
  margin-inline: auto;
}

.cpg-project-page h2 {
  color: var(--cpg-ink);
  font-size: clamp(32px, 4.6vw, 52px);
  font-weight: 500;
  line-height: 1.03;
}

.cpg-project-page h3 {
  color: var(--cpg-ink);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 600;
  line-height: 0.98;
}

.cpg-project-richtext {
  max-width: 56ch;
  margin-top: 24px;
  color: var(--cpg-body);
  font-size: 16px;
  line-height: 1.7;
}

.cpg-project-richtext > * + * {
  margin-top: 1em;
}

.cpg-project-highlights {
  display: grid;
  gap: 16px;
  margin-top: 30px !important;
  padding: 0;
  list-style: none;
}

.cpg-project-highlights li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--cpg-body);
}

.cpg-project-highlights i {
  margin-top: 3px;
  color: var(--cpg-green-deep);
  font-size: 18px;
}

.cpg-project-highlights strong,
.cpg-project-highlights small {
  display: block;
}

.cpg-project-highlights strong {
  color: var(--cpg-ink);
  font-size: 15px;
  font-weight: 600;
}

.cpg-project-highlights small {
  margin-top: 3px;
  font-size: 13px;
  line-height: 1.55;
}

.cpg-project-specs {
  margin-top: 32px !important;
}

.cpg-project-specs div {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-block: 14px;
  border-bottom: 1px solid var(--cpg-hairline);
  font-size: 14px;
}

.cpg-project-specs dt {
  color: var(--cpg-slate);
}

.cpg-project-specs dd {
  color: var(--cpg-ink);
  font-weight: 500;
  text-align: right;
}

.cpg-project-credit {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px !important;
  color: var(--cpg-ink);
  font-size: 14px;
  font-weight: 500;
}

.cpg-project-credit span {
  color: var(--cpg-slate);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.cpg-project-location {
  --cpg-location-inset: clamp(24px, 2.5vw, 40px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  min-height: 0;
}

.cpg-project-location.has-no-media {
  grid-template-columns: 1fr;
}

.cpg-project-location__content,
.cpg-project-location__details,
.cpg-project-location__media {
  min-width: 0;
}

.cpg-project-location__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: var(--cpg-location-media-width, 0px);
  padding: var(--cpg-location-inset) clamp(20px, 4vw, 64px);
}

.cpg-project-location__details .cpg-tablist {
  grid-area: 1 / 1;
  margin-top: 20px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
}

.cpg-project-location__content > .cpg-project-richtext,
.cpg-project-location__details {
  width: 100%;
  max-width: none;
}

.cpg-project-location__details {
  --cpg-location-info-row: 46px;
  --cpg-location-info-gap: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.cpg-project-location__details > .cpg-tabpanel {
  grid-area: 2 / 1;
  min-width: 0;
  min-height: calc(4 * var(--cpg-location-info-row) + var(--cpg-location-info-gap));
}

/* Overlap the panels so the longest reserves space; inactive content stays
   invisible and inaccessible, while short tabs retain a four-row minimum. */
.cpg-project-location__details > .cpg-tabpanel[hidden] {
  display: block !important;
  visibility: hidden;
  pointer-events: none;
}

.cpg-project-location__details .cpg-tablist [role="tab"] {
  min-width: 0;
  padding-inline: 6px;
}

@media (max-width: 560px) {
  .cpg-project-location__details .cpg-tablist [role="tab"] {
    font-size: 10px;
    letter-spacing: .4px;
  }
}

/* Use the shared project heading and rich-text typography. */
.cpg-project-location__details .cpg-project-specs { margin-top: var(--cpg-location-info-gap) !important; }
.cpg-project-location__details .cpg-project-specs div { padding-block: 10px; min-height: var(--cpg-location-info-row); }

.cpg-project-location__media {
  position: relative;
  display: grid;
  place-items: start center;
  width: 100%;
  margin-block: 0;
  container-type: size;
  min-height: 0;
  overflow: hidden;
}

.cpg-project-location__frame {
  display: grid;
  place-items: center;
  /* Upload 1440px square; display at a responsive, uncropped square size. */
  width: 100%;
  aspect-ratio: 1;
  container-type: size;
  background: #eeece5;
  overflow: hidden;
}

.cpg-project-location__map {
  position: relative;
  /* Preserve both landscape and portrait maps, with pins tied to the image. */
  width: min(100cqw, calc(100cqh * var(--cpg-map-ratio, 1)));
  aspect-ratio: var(--cpg-map-ratio, 1);
}

.cpg-project-location__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (min-width: 1025px) {
  .cpg-project-location__content { justify-content: flex-start; }
}

@media (min-width: 1025px) and (max-height: 800px) {
  .cpg-project-location { --cpg-location-inset: 20px; }
  .cpg-project-location__details .cpg-tablist { margin-top: 12px; }
  .cpg-project-location__details { --cpg-location-info-row: 42px; --cpg-location-info-gap: 12px; }
  .cpg-project-location__details .cpg-project-specs div { padding-block: 8px; }
}

.cpg-map-pin {
  position: absolute;
  left: var(--pin-x);
  top: var(--pin-y);
  max-width: 150px;
  transform: translate(-50%, -50%);
  border-radius: 4px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.94);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.2;
  text-align: center;
}

.cpg-map-pin {
  color: var(--cpg-ink);
  box-shadow: 0 4px 16px rgba(17, 17, 17, 0.15);
}

.cpg-map-pin::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -13px;
  width: 9px;
  height: 9px;
  transform: translateX(-50%);
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--cpg-green);
  box-shadow: 0 1px 4px rgba(17, 17, 17, 0.25);
}

.cpg-tablist {
  display: flex;
  width: 100%;
  margin-top: 38px;
  overflow-x: auto;
  border-bottom: 1px solid var(--cpg-border);
}

.cpg-tablist [role="tab"] {
  flex: 1 1 0;
  min-width: max-content;
  min-height: 48px;
  padding: 14px 16px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #8a8f86;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-align: center;
  text-transform: uppercase;
}

.cpg-tablist [role="tab"][aria-selected="true"] {
  border-bottom-color: var(--cpg-green);
  color: var(--cpg-ink);
}

.cpg-tabpanel[hidden] {
  display: none !important;
}

.cpg-project-units {
  background: var(--cpg-off-white);
}

.cpg-project-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.65fr) auto;
  align-items: end;
  gap: 24px;
}

.cpg-project-section-heading > p {
  max-width: 46ch;
  color: var(--cpg-slate);
  font-size: 15px;
  line-height: 1.65;
}

.cpg-view-toggle {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid var(--cpg-border);
  border-radius: 8px;
  background: #fff;
}

.cpg-view-toggle button {
  min-width: 76px;
  min-height: 44px;
  border: 0;
  background: #fff;
  color: var(--cpg-slate);
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.cpg-view-toggle button.is-active {
  background: var(--cpg-ink);
  color: #fff;
}

.cpg-tablist--units {
  margin-top: 34px;
}

.cpg-residence-navigation {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  align-items: center;
  gap: clamp(8px, 1.5vw, 20px);
  margin-top: 34px;
}
.cpg-residence-navigation[hidden] { display: none; }
.cpg-residence-navigation .cpg-tablist--units {
  position: relative;
  margin-top: 0;
  min-width: 0;
  scrollbar-width: thin;
}
.cpg-residence-navigation .cpg-tablist--units [role="tab"] { padding-inline: 12px; }
.cpg-residence-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--cpg-border);
  border-radius: 50%;
  background: transparent;
  color: var(--cpg-ink);
  font-size: 22px;
  cursor: pointer;
}
.cpg-residence-arrow:hover:not([aria-disabled="true"]) { background: var(--cpg-green); color: #fff; }
.cpg-residence-navigation .cpg-residence-arrow:focus { background: transparent; color: var(--cpg-ink); border-color: var(--cpg-border); }
.cpg-residence-navigation .cpg-residence-arrow[aria-disabled="true"] { background: transparent; color: var(--cpg-ink); border-color: var(--cpg-border); opacity: .3; cursor: default; }
.cpg-residence-arrow:focus-visible { outline: 2px solid var(--cpg-green); outline-offset: 4px; }
.cpg-residence-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 600px) {
  .cpg-residence-navigation { grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 8px; margin-top: 24px; }
  .cpg-residence-arrow { width: 44px; height: 44px; font-size: 20px; }
}

.cpg-tablist--units [role="tab"] {
  padding: 14px 4px;
  font-family: var(--cpg-display);
  font-size: clamp(14px, 2.1vw, 24px);
  font-weight: 500;
  letter-spacing: -0.02em;
  text-transform: none;
}

.cpg-unit-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  margin-top: 30px;
  border: 1px solid var(--cpg-border);
  border-radius: 4px;
  background: #fff;
}

.cpg-unit-card__media {
  position: relative;
  min-height: clamp(280px, 38vw, 470px);
}

.cpg-unit-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cpg-status-pill {
  position: absolute;
  left: 22px;
  top: 22px;
  border-radius: 999px;
  padding: 9px 16px;
  background: var(--cpg-sand);
  color: var(--cpg-ink);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.cpg-unit-card__content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(28px, 4vw, 44px);
}

.cpg-micro-label {
  margin-top: 13px !important;
  color: var(--cpg-sage);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.cpg-unit-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  margin: 22px 0 0 !important;
  padding: 0;
  color: var(--cpg-body);
  font-size: 13px;
  list-style: none;
}

.cpg-unit-features li::before {
  content: "-";
  margin-right: 7px;
  color: var(--cpg-sage);
}

.cpg-unit-card .cpg-button--wide {
  margin-top: 26px;
  align-self: flex-start;
  width: auto;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--cpg-ink);
  border-radius: 0;
  background: transparent;
  color: var(--cpg-ink);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: normal;
  text-transform: none;
}

.cpg-unit-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px !important;
  border-top: 1px solid var(--cpg-hairline);
  padding-top: 20px;
}

.cpg-unit-stats div {
  padding-top: 0;
}

.cpg-unit-stats dd {
  color: var(--cpg-sage);
  font-family: var(--cpg-display);
  font-size: clamp(24px, 2.8vw, 28px);
  font-weight: 600;
  white-space: nowrap;
}

.cpg-unit-stats dt {
  margin-top: 3px;
  color: var(--cpg-slate);
  font-size: 12.5px;
}

.cpg-unit-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--cpg-hairline);
}

.cpg-unit-card__footer p {
  text-align: right;
}

.cpg-unit-card__footer p span,
.cpg-unit-card__footer p strong {
  display: block;
}

.cpg-unit-card__footer p span {
  color: var(--cpg-slate);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.cpg-unit-card__footer p strong {
  margin-top: 4px;
  color: #0a1a0f;
  font-family: "DM Sans", var(--cpg-body-font);
  font-size: 19px;
}

.cpg-unit-table-wrap {
  margin-top: 30px;
  overflow-x: auto;
  border: 1px solid var(--cpg-border);
  border-radius: 4px;
  background: #fff;
}

.cpg-unit-table {
  width: 100%;
  min-width: 880px;
  border-collapse: collapse;
  font-size: 14px;
}

.cpg-unit-table th,
.cpg-unit-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--cpg-hairline);
  color: var(--cpg-body);
  text-align: left;
  white-space: nowrap;
}

.cpg-unit-table thead th {
  background: var(--cpg-sand);
  color: var(--cpg-slate);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.cpg-unit-table tbody th {
  color: var(--cpg-ink);
  font-weight: 600;
}

.cpg-unit-table a {
  color: var(--cpg-green-deep);
  font-weight: 600;
}

.cpg-project-amenities {
  padding-block: var(--cpg-section);
  background: var(--cpg-ink);
  color: #fff;
}

.cpg-project-section-heading--dark h2 {
  color: #fff;
}

.cpg-project-section-heading--dark > p {
  justify-self: end;
  color: #a0a0a0;
}

.cpg-amenities-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: clamp(40px, 6vw, 70px);
  border-top: 1px solid #333;
  border-left: 1px solid #333;
}

.cpg-amenities-grid article {
  min-height: 190px;
  padding: 28px;
  border-right: 1px solid #333;
  border-bottom: 1px solid #333;
}

.cpg-amenities-grid i,
.cpg-amenity-icon-image {
  display: block;
  width: 30px;
  height: 30px;
  margin-bottom: 34px;
  color: var(--cpg-gold);
  font-size: 29px;
  object-fit: contain;
}

.cpg-amenities-grid h3 {
  color: #fff;
  font-family: var(--cpg-body-font);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}

.cpg-amenities-grid p {
  margin-top: 8px !important;
  color: #a0a0a0;
  font-size: 13px;
  line-height: 1.55;
}

.cpg-project-architect {
  padding: var(--cpg-section) var(--cpg-gutter);
  background: #fff;
}

.cpg-project-architect__inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(28px, 4vw, 52px);
  width: min(100%, 1100px);
  margin-inline: auto;
}

.cpg-project-architect__photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  min-height: 0;
  align-self: start;
  overflow: hidden;
  background: #fff;
}

.cpg-project-architect__photo picture {
  display: block;
  position: absolute;
  inset: 0;
}

.cpg-media-caption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  width: fit-content;
  padding: 6px 10px;
  background: rgba(17,17,17,.7);
  color: #fff;
  border-radius: 4px;
  font-size: 11.5px;
  line-height: 1.5;
}

.cpg-project-architect__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.cpg-project-architect__content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
  padding: 0;
}

.cpg-project-architect__inner.has-no-media {
  grid-template-columns: 1fr;
}

.cpg-project-architect__inner.has-no-media .cpg-project-architect__content {
  width: min(100%, 760px);
  margin-inline: auto;
}

.cpg-project-architect .cpg-micro-label {
  margin-top: 10px !important;
  font-size: 15.5px;
  color: var(--cpg-slate);
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
}

.cpg-project-architect .cpg-project-richtext {
  margin-top: 22px;
}

.cpg-project-architect blockquote {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 0;
  position: relative;
  margin-top: 0 !important;
  padding: clamp(28px, 3.5vw, 40px) 0;
  border: 0;
  font-style: normal;
  color: var(--cpg-ink);
  font-size: clamp(19px, 2.4vw, 24px);
  font-weight: 400;
  line-height: 1.4;
}

.cpg-project-architect blockquote::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  bottom: auto;
  width: 100%;
  height: 1px;
  background: var(--cpg-border);
}

.cpg-project-gallery {
  background: #fff;
}

.cpg-project-gallery__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-inline: 56px;
}

.cpg-project-gallery__heading h2 {
  font-size: clamp(24px, 3.2vw, 42px);
  white-space: nowrap;
}

.cpg-gallery-filters {
  display: flex;
  gap: 8px;
  justify-content: flex-start;
  overflow-x: auto;
  padding-block: 4px;
}

.cpg-gallery-filters button {
  min-height: 44px;
  flex: 0 0 auto;
  border: 1px solid var(--cpg-border);
  border-radius: 999px;
  padding: 10px 16px;
  background: #fff;
  color: var(--cpg-slate);
  cursor: pointer;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.cpg-gallery-filters button.is-active {
  border-color: var(--cpg-ink);
  background: var(--cpg-ink);
  color: #fff;
}

.cpg-gallery-stage {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.cpg-gallery-arrow {
  width: 44px !important;
  min-width: 44px !important;
  max-width: 44px !important;
  height: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
  flex-basis: 44px !important;
}

.cpg-gallery-slides {
  min-width: 0;
}

.cpg-gallery-slide {
  position: relative;
  width: 100%;
  height: clamp(240px, 46vw, 560px);
  overflow: hidden;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: #111;
  cursor: zoom-in;
}

.cpg-gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cpg-gallery-slide span {
  position: absolute;
  inset: auto 16px 16px auto;
  max-width: calc(100% - 32px);
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  background: rgba(17,17,17,.55);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.3px;
  text-align: left;
  text-transform: uppercase;
}

.cpg-gallery-expand {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  color: #fff;
  background: rgba(17,17,17,.55);
  font-size: 18px;
}

.cpg-gallery-meta {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 22px 56px 0;
  color: var(--cpg-slate);
  font-size: 12px;
}

.cpg-gallery-meta span:first-child {
  color: var(--cpg-ink);
  font-weight: 600;
}

.cpg-gallery-thumbs {
  display: grid;
  grid-auto-columns: 124px;
  grid-auto-flow: column;
  gap: 10px;
  margin: 22px 56px 0;
  overflow-x: auto;
  padding-bottom: 8px;
}

.cpg-gallery-thumbs button {
  height: 84px;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 3px;
  padding: 0;
  background: #eee;
  cursor: pointer;
  opacity: 0.55;
}

.cpg-gallery-thumbs button.is-active {
  border-color: var(--cpg-green);
  opacity: 1;
}

.cpg-gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cpg-project-enquiry {
  padding-block: var(--cpg-section);
  background: var(--cpg-forest);
  color: #fff;
}

.cpg-project-enquiry__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(32px, 5vw, 64px);
}

.cpg-project-enquiry__intro {
  position: static;
}

.cpg-project-enquiry h2 {
  color: #fff;
  font-size: clamp(30px, 4vw, 44px);
}

.cpg-project-enquiry .cpg-project-richtext {
  color: rgba(255, 255, 255, 0.68);
}

.cpg-project-enquiry__form .wpcf7-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.cpg-project-enquiry__form .wpcf7-form > p {
  margin: 0;
}

.cpg-project-enquiry__form .wpcf7-form > p > br {
  display: none;
}

.cpg-project-enquiry__form .wpcf7-form > .sib-COUNTRY-area {
  grid-column: 1;
}

.cpg-project-enquiry__form .wpcf7-form > .cpg-SMS-area {
  display: block;
  grid-column: 2;
  grid-row: 3;
}

.cpg-project-enquiry__form .wpcf7-form > .cpg-sms-field {
  z-index: 1;
  align-self: end;
  grid-column: 2;
  grid-row: 3;
  margin: 0 !important;
}

.cpg-project-enquiry__form .wpcf7-form > .sib-email-area,
.cpg-project-enquiry__form .wpcf7-form > .sib-MESSAGE-area,
.cpg-project-enquiry__form .wpcf7-form > .sib-COMFORTABLE_OPTION-area,
.cpg-project-enquiry__form .wpcf7-form > p:last-of-type,
.cpg-project-enquiry__form .wpcf7-response-output {
  grid-column: 1 / -1;
}

.cpg-project-enquiry__form label {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
}

.cpg-project-enquiry__form .wpcf7-form > .sib-FIRSTNAME-area > label,
.cpg-project-enquiry__form .wpcf7-form > .sib-LASTNAME-area > label,
.cpg-project-enquiry__form .wpcf7-form > .sib-email-area > label,
.cpg-project-enquiry__form .wpcf7-form > .sib-MESSAGE-area > label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cpg-project-enquiry__form .wpcf7-form-control-wrap {
  display: block;
  margin: 0 !important;
  line-height: normal;
}

.cpg-project-enquiry__form input:not([type="submit"]),
.cpg-project-enquiry__form select,
.cpg-project-enquiry__form textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  border: 1px solid #fff;
  border-radius: 4px;
  padding: 12px 14px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  color: var(--cpg-ink);
  font-size: 15px;
  margin: 0;
  vertical-align: top;
}

.cpg-project-enquiry__form textarea {
  height: 110px;
  min-height: 110px;
  resize: vertical;
}

.cpg-project-enquiry__form .cpg-sms-field {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0;
  min-width: 0;
}

.cpg-project-enquiry__form .cpg-country-block {
  display: none;
}

.cpg-project-enquiry__form .cpg-sms-field::before {
  content: none;
  align-self: stretch;
  display: grid;
  place-items: center;
  min-width: 58px;
  border: 1px solid #fff;
  border-right-color: var(--cpg-border);
  border-radius: 4px 0 0 4px;
  background: var(--cpg-sand);
  color: var(--cpg-ink);
  font-size: 14px;
}

.cpg-project-enquiry__form .cpg-sms-field {
  grid-template-columns: 80px minmax(0, 1fr);
}
.cpg-project-enquiry__form .cpg-dial-code {
  border-radius: 4px 0 0 4px;
  border-right-color: var(--cpg-border);
  padding-inline: 8px;
}
.cpg-project-enquiry__form input[type="hidden"] {
  display: none !important;
}

.cpg-project-enquiry__form .cpg-sms-field input {
  border-radius: 0 4px 4px 0;
}

.cpg-project-enquiry__form .wpcf7-submit,
.cpg-project-enquiry__form input[type="submit"] {
  width: auto;
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  padding: 14px 26px;
  background: var(--cpg-gold);
  color: var(--cpg-ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cpg-project-enquiry__form .wpcf7-submit:hover,
.cpg-project-enquiry__form input[type="submit"]:hover {
  background: var(--cpg-gold-deep);
}

.cpg-project-enquiry__form .wpcf7-not-valid-tip {
  margin-top: 7px;
  color: #ffd5d5;
  font-size: 13px;
}

.cpg-project-enquiry__form .wpcf7-response-output {
  margin: 0 !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  color: #fff;
}

.cpg-dialog {
  width: min(94vw, 1040px);
  max-height: 92vh;
  overflow: hidden;
  border: 0;
  border-radius: 4px;
  padding: 0;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

.cpg-dialog::backdrop {
  background: rgba(0, 0, 0, 0.82);
}

.cpg-dialog__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 20px;
  padding: 12px 18px 12px 26px;
  border-bottom: 1px solid var(--cpg-border);
}

.cpg-dialog__header h2 {
  font-size: clamp(22px, 3vw, 32px);
}

.cpg-dialog__body {
  height: min(76vh, 760px);
  overflow: auto;
  padding: 24px;
}

.cpg-dialog__body img,
.cpg-dialog__body object {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cpg-gallery-lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  background: #111;
  color: #fff;
}

.cpg-gallery-lightbox .cpg-dialog__header {
  border-color: #333;
}

.cpg-gallery-lightbox .cpg-icon-button {
  border-color: rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
}

.cpg-gallery-lightbox__body {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 52px;
  align-items: center;
  gap: 12px;
  height: calc(100vh - 72px);
  padding: 20px;
}

.cpg-gallery-lightbox__body img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}

/* Existing CPG footer, visually unchanged. */
.cpg-footer {
  width: 100%;
  margin: 0;
  background: #000;
  color: #fff;
  font-family: var(--cpg-body-font);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}

.cpg-footer-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 40px 64px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  align-items: start;
}

.cpg-footer-logo img {
  width: auto;
  height: 80px;
  display: block;
  filter: brightness(0) invert(1);
}

.cpg-footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
}

.cpg-footer-col-label {
  display: block;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cpg-footer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cpg-footer-links li a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
  transition: opacity 0.2s, color 0.2s;
}

.cpg-footer-links li a:hover {
  color: var(--cpg-coral);
  opacity: 1;
}

.cpg-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
}

.cpg-footer-bottom-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cpg-footer-copy,
.cpg-footer-credit,
.cpg-footer-credit a {
  margin: 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
  font-weight: 400;
  text-decoration: none;
}

.cpg-footer-credit a:hover {
  color: #fff;
}

@media (max-width: 1100px) {
  .cpg-footer-main {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 64px 32px 48px;
  }

  .cpg-footer-nav-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  .cpg-project-hero__content {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
  }

  .cpg-project-hero__stats {
    width: min(100%, 620px);
    grid-template-columns: repeat(4, minmax(100px, 1fr));
  }

  .cpg-footer-main {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .cpg-project-location { grid-template-columns: 1fr; }
  .cpg-project-location__content { min-height: 0; }
  .cpg-project-location__media {
    aspect-ratio: 1;
    max-width: none;
    justify-self: center;
    container-type: size;
  }
  .cpg-project-location__frame { width: 100%; }
}

@media (max-width: 768px) {
  .cpg-project-location__media {
    margin-block: 0;
    place-items: center;
  }

  .cpg-project-split-card__media {
    margin-block: 0;
    aspect-ratio: 4 / 5;
  }

  .cpg-project-subnav {
    top: 64px;
  }

  .cpg-project-subnav__inner {
    padding-inline: 10px;
  }

  .cpg-project-subnav a {
    flex: 0 0 auto;
    min-height: 46px;
    padding-inline: 13px;
  }

  .cpg-project-hero {
    min-height: clamp(520px, 82svh, 720px);
  }

  .cpg-project-hero__stats {
    grid-template-columns: repeat(2, minmax(110px, 1fr));
    gap: 18px 24px;
  }

  .cpg-project-split-card,
  .cpg-project-location,
  .cpg-project-architect__inner,
  .cpg-project-enquiry__grid {
    grid-template-columns: 1fr;
  }

  .cpg-project-section-heading {
    grid-template-columns: 1fr auto;
  }

  .cpg-project-section-heading > p {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .cpg-view-toggle {
    grid-column: 2;
    grid-row: 1;
  }

  .cpg-unit-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cpg-project-section-heading--dark > p {
    justify-self: start;
  }

  .cpg-project-gallery__heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .cpg-gallery-filters {
    width: 100%;
  }

  .cpg-project-enquiry__intro {
    position: static;
  }

  .cpg-footer-nav-grid {
    grid-template-columns: repeat(3, minmax(100px, 1fr));
  }
}

@media (max-width: 560px) {
  .cpg-project-hero__content {
    padding-bottom: 30px;
  }

  .cpg-project-actions,
  .cpg-project-actions .cpg-button {
    width: 100%;
  }

  .cpg-project-split-card__content,
  .cpg-unit-card__content {
    padding: 30px 22px;
  }

  .cpg-project-specs div {
    gap: 16px;
  }

  .cpg-project-section-heading {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
  }

  .cpg-view-toggle,
  .cpg-view-toggle button {
    width: 100%;
  }

  .cpg-unit-card__media {
    min-height: 76vw;
  }

  .cpg-unit-features {
    grid-template-columns: 1fr;
  }

  .cpg-unit-card__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .cpg-unit-card__footer .cpg-button {
    width: 100%;
  }

  .cpg-unit-card__footer p {
    text-align: left;
  }

  .cpg-amenities-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cpg-amenities-grid article {
    min-height: 170px;
    padding: 20px;
  }

  .cpg-gallery-stage {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 8px;
  }

  .cpg-gallery-arrow {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .cpg-gallery-slide {
    height: 76vw;
  }

  .cpg-gallery-meta,
  .cpg-gallery-thumbs {
    margin-inline: 52px;
    padding-inline: 0;
  }

  .cpg-project-enquiry__form .wpcf7-form {
    grid-template-columns: 1fr;
  }

  .cpg-project-enquiry__form .wpcf7-form > p,
  .cpg-project-enquiry__form .wpcf7-form > .cpg-sms-field {
    grid-column: 1;
  }

  .cpg-project-enquiry__form .wpcf7-form > .cpg-SMS-area,
  .cpg-project-enquiry__form .wpcf7-form > .cpg-sms-field {
    grid-row: 5;
  }

  .cpg-gallery-lightbox__body {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    padding-inline: 8px;
  }

  .cpg-footer-main {
    gap: 40px;
    padding: 48px 20px 40px;
  }

  .cpg-footer-nav-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .cpg-footer-bottom-inner {
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
}

@media (max-width: 380px) {
  .cpg-project-hero h1 {
    font-size: 52px;
  }

  .cpg-amenities-grid {
    grid-template-columns: 1fr;
  }

  .cpg-gallery-stage {
    grid-template-columns: 1fr;
  }

  .cpg-gallery-stage > .cpg-gallery-arrow {
    position: absolute;
    z-index: 2;
  }

  .cpg-gallery-stage > .cpg-gallery-arrow--prev {
    left: 8px;
  }

  .cpg-gallery-stage > .cpg-gallery-arrow--next {
    right: 8px;
  }

  .cpg-gallery-meta,
  .cpg-gallery-thumbs {
    margin-inline: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cpg-project-page *,
  .cpg-project-page *::before,
  .cpg-project-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Template-level controls must not inherit Astra's generic button geometry. */
.cpg-project-page button {
  box-shadow: none;
}
.cpg-tablist [role="tab"],
.cpg-view-toggle button {
  border-radius: 0;
}
.cpg-project-hero__content {
  flex-wrap: wrap;
  gap: 28px;
}
.cpg-project-hero__stats {
  width: auto;
  max-width: 100%;
}
.cpg-project-section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 16px;
}
.cpg-project-section-heading > h2 {
  margin-right: auto;
}
.cpg-project-section-heading > p {
  max-width: 42ch;
}
.cpg-project-units .cpg-project-section-heading > p,
.cpg-project-units .cpg-view-toggle {
  align-self: center;
}
.cpg-project-section-heading--dark > p {
  text-align: right;
}
.cpg-amenities-grid {
  margin-top: 38px;
}
.cpg-amenities-grid article {
  min-height: 164px;
  min-width: 0;
  padding: 28px clamp(20px, 2vw, 28px);
  overflow-wrap: break-word;
}

/* Five desktop columns; keep amenity copy comfortable on smaller screens. */
@media (max-width: 1100px) {
  .cpg-amenities-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .cpg-amenities-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .cpg-amenities-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cpg-amenities-grid article {
    min-height: 0;
    padding: 24px;
  }

  .cpg-amenities-grid i,
  .cpg-amenities-grid .cpg-amenity-icon-image {
    margin-bottom: 24px;
  }
}
.cpg-project-enquiry {
  padding-block: clamp(56px, 7vw, 88px);
}
.cpg-project-enquiry__form input:not([type="submit"]),
.cpg-project-enquiry__form select,
.cpg-project-enquiry__form textarea {
  font-size: 16px;
}
@media (min-width: 769px) and (max-width: 1024px) {
  .cpg-project-hero__content {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
  .cpg-project-hero__title-group {
    width: 100%;
  }
}
@media (max-width: 1024px) {
  .cpg-project-gallery__heading {
    flex-wrap: wrap;
  }
}
@media (max-width: 768px) {
  .cpg-unit-card {
    grid-template-columns: 1fr;
  }
  .cpg-unit-card__media {
    min-height: clamp(280px, 65vw, 470px);
  }
  .cpg-project-hero__stats {
    gap: clamp(12px, 4vw, 28px);
  }
  .cpg-project-hero__stats dd {
    font-size: clamp(20px, 4.5vw, 34px);
  }
  .cpg-project-hero__stats dt {
    font-size: clamp(9px, 1.6vw, 11px);
    letter-spacing: .7px;
  }
  .cpg-project-section-heading {
    flex-direction: row;
  }
  .cpg-project-section-heading h2 {
    width: 100%;
  }
  .cpg-project-section-heading > p {
    margin-right: auto;
  }
  .cpg-view-toggle, .cpg-view-toggle button {
    width: auto;
  }
  .cpg-unit-stats {
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 8px;
  }
  .cpg-unit-stats dd {
    font-size: clamp(22px, 4vw, 28px);
  }
  .cpg-unit-stats dt {
    font-size: 11px;
  }
  .cpg-project-gallery__heading {
    padding: 0;
    gap: 20px;
  }
  .cpg-gallery-filters {
    width: 100%;
    max-width: 100%;
  }
  .cpg-gallery-stage {
    position: relative;
    grid-template-columns: 1fr;
  }
  .cpg-gallery-slide {
    height: clamp(240px, 65vw, 420px);
  }
  .cpg-gallery-stage > .cpg-gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
  }
  .cpg-gallery-arrow--prev { left: 8px; }
  .cpg-gallery-arrow--next { right: 8px; }
  .cpg-gallery-meta, .cpg-gallery-thumbs {
    margin-inline: 0;
    padding-inline: 0;
  }
}
@media (max-width: 560px) {
  .cpg-project-split-card__content {
    padding: 44px 20px;
  }
  .cpg-project-enquiry__form .wpcf7-form > .cpg-SMS-area {
    grid-column: 1;
    padding-bottom: 56px;
  }
}
