/* Waterstone final visual layer - 2026-06-24
   Loaded after legacy page CSS to stabilize hero readability, lifestyle images,
   LINE QR display, mobile header, and CTA rhythm. */

:root {
  --ink: #17333f;
  --muted: #5d727b;
  --paper: #f2f8fa;
  --white: #ffffff;
  --line: #d4e5ea;
  --teal: #2b8eaa;
  --teal-dark: #23586a;
  --leaf: #70918f;
  --clay: #5e9db0;
  --ochre: #7ca8b7;
  --mist: #e6f2f5;
  --sky: #dceff5;
  --warm: #f9fcfd;
  --shadow: 0 26px 72px rgba(35, 88, 106, 0.1);
  --ws-ink: #17333f;
  --ws-deep: #23586a;
  --ws-teal: #2b8eaa;
  --ws-cream: #f4fbfc;
  --ws-line: rgba(23, 51, 63, 0.12);
}

.site-header {
  z-index: 50 !important;
  background: rgba(248, 252, 253, 0.96) !important;
  border-bottom: 1px solid rgba(35, 88, 106, 0.1) !important;
  backdrop-filter: blur(14px) !important;
}

.header-actions {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.header-cta,
.header-cta.line {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 92px !important;
  min-height: 42px !important;
  padding: 0 18px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: var(--ws-teal) !important;
  color: #fff !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  box-shadow: 0 10px 24px rgba(35, 88, 106, 0.16) !important;
}

.header-cta.line {
  min-width: 74px !important;
  background: #257c96 !important;
}

.header-cta::after,
.header-cta.line::after {
  content: none !important;
  display: none !important;
}

.hero {
  position: relative !important;
  min-height: clamp(600px, calc(100vh - 110px), 720px) !important;
  padding: clamp(94px, 10vh, 126px) clamp(28px, 5vw, 72px) 30px !important;
  display: grid !important;
  align-content: end !important;
  overflow: hidden !important;
  color: #fff !important;
  background:
    linear-gradient(90deg, rgba(12, 51, 68, 0.9) 0%, rgba(22, 80, 99, 0.62) 48%, rgba(35, 88, 106, 0.14) 100%),
    url("/waterstone-residence/assets/waterstone-hero.webp?v=20260625-asset-repair") center center / cover no-repeat,
    #23586a !important;
}

.hero-bg-img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center center !important;
  z-index: 0 !important;
  filter: saturate(0.98) contrast(1.02) brightness(0.86) !important;
}

.hero::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  background:
    linear-gradient(90deg, rgba(12, 51, 68, 0.9) 0%, rgba(22, 80, 99, 0.7) 34%, rgba(35, 88, 106, 0.3) 62%, rgba(35, 88, 106, 0.06) 100%),
    linear-gradient(180deg, rgba(14, 51, 67, 0.12) 0%, rgba(14, 51, 67, 0.56) 100%) !important;
}

.hero-layer {
  z-index: 1 !important;
  background: transparent !important;
}

.hero-content,
.hero-panel {
  position: relative !important;
  z-index: 2 !important;
}

.hero-content {
  max-width: min(820px, 100%) !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.hero .eyebrow {
  color: #ccecf5 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.34) !important;
}

.hero h1 {
  max-width: 820px !important;
  margin: 0 !important;
  color: #fff !important;
  font-size: clamp(48px, 5.2vw, 76px) !important;
  line-height: 0.98 !important;
  letter-spacing: 0 !important;
  text-wrap: balance !important;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.42) !important;
}

.hero-copy {
  max-width: 690px !important;
  margin-top: 22px !important;
  color: rgba(255, 255, 255, 0.95) !important;
  font-size: clamp(16px, 1.35vw, 19px) !important;
  font-weight: 650 !important;
  line-height: 1.72 !important;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.54) !important;
}

.hero-copy-mobile {
  display: none !important;
}

.hero-proofline {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-top: 18px !important;
}

.hero-proofline span {
  min-height: 32px !important;
  padding: 8px 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 8px !important;
  background: rgba(244, 251, 252, 0.95) !important;
  color: #23586a !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.14) !important;
}

.hero-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  margin-top: 20px !important;
}

.hero-actions .btn {
  min-height: 46px !important;
  border-radius: 8px !important;
  font-weight: 900 !important;
}

.hero-actions .btn.primary {
  border: 0 !important;
  background: var(--ws-teal) !important;
  color: #fff !important;
}

.hero-actions .btn.secondary,
.hero-actions .btn.ghost {
  border: 1px solid rgba(255, 255, 255, 0.42) !important;
  background: rgba(17, 71, 90, 0.42) !important;
  color: #fff !important;
  backdrop-filter: blur(8px) !important;
}

.hero-panel {
  max-width: min(820px, 100%) !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  margin-top: 14px !important;
  border: 1px solid rgba(35, 88, 106, 0.12) !important;
  border-radius: 8px !important;
  background: rgba(248, 252, 253, 0.97) !important;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.16) !important;
}

.hero-panel span {
  color: #4e93aa !important;
  font-size: 11px !important;
}

.hero-panel strong {
  color: #23586a !important;
}

.waterstone-aerial {
  width: min(100%, 980px) !important;
  max-width: 980px;
  margin: 16px auto 0 !important;
  overflow: hidden;
  border: 1px solid rgba(35, 88, 106, 0.12);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 20px 46px rgba(35, 88, 106, 0.12);
}

.waterstone-aerial img {
  display: block;
  width: 100%;
  height: clamp(320px, 28vw, 420px);
  object-fit: cover;
}

.waterstone-aerial figcaption {
  display: grid;
  gap: 4px;
  padding: 14px 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.waterstone-aerial figcaption strong {
  color: var(--ws-deep);
  font-size: 15px;
}

.quick-answer-section {
  display: block !important;
}

.quick-answer-section .quick-answer-card {
  width: min(100%, 820px) !important;
  max-width: 820px !important;
  margin-inline: auto !important;
}

.layout-enquiry-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 28px clamp(28px, 5vw, 72px) !important;
  background: #e6f2f5;
  border-top: 1px solid rgba(35, 88, 106, 0.1);
  border-bottom: 1px solid rgba(35, 88, 106, 0.1);
}

.layout-enquiry-strip > div:first-child {
  max-width: 720px;
}

.layout-enquiry-strip .eyebrow {
  margin-bottom: 8px;
}

.layout-enquiry-strip h2 {
  margin: 0 0 8px;
  color: var(--ws-ink);
  font-size: clamp(25px, 2.4vw, 34px);
  line-height: 1.15;
}

.layout-enquiry-strip p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.layout-enquiry-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.layout-enquiry-actions .btn {
  min-height: 46px;
}

.faq-more {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.faq-more > summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(43, 142, 170, 0.34);
  border-radius: 8px;
  background: rgba(244, 251, 252, 0.96);
  color: var(--ws-deep);
  font-size: 14px;
  font-weight: 900;
  list-style: none;
}

.faq-more > summary::-webkit-details-marker {
  display: none;
}

.faq-more > summary::after {
  content: "+";
  margin-left: 10px;
  font-size: 18px;
  line-height: 1;
}

.faq-more[open] > summary::after {
  content: "-";
}

.faq-more-items {
  display: grid;
  gap: 10px;
  padding-top: 10px;
}

.visual-life-section {
  gap: clamp(28px, 4vw, 54px) !important;
}

.visual-life-copy h2 {
  max-width: 520px !important;
  text-wrap: balance !important;
}

.visual-life-grid {
  grid-template-columns: 1.1fr 1fr 1fr !important;
  grid-auto-rows: minmax(164px, 13.4vw) !important;
  gap: 14px !important;
}

.visual-life-grid > .visual-tile {
  position: relative !important;
  overflow: hidden !important;
  border-radius: 8px !important;
  background: #23586a !important;
  box-shadow: 0 24px 56px rgba(35, 88, 106, 0.15) !important;
}

/* Retire the legacy school-photo background; the current card uses its own aerial image. */
.visual-life-grid > .visual-tile:nth-child(3) {
  background-image: none !important;
}

.visual-life-grid > .visual-tile > img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  object-fit: cover !important;
  z-index: 0 !important;
  transform: none !important;
}

.visual-life-grid > .visual-tile::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  background:
    linear-gradient(180deg, rgba(12, 51, 68, 0.12) 0%, rgba(12, 51, 68, 0.76) 100%),
    linear-gradient(90deg, rgba(12, 51, 68, 0.34), rgba(12, 51, 68, 0.06)) !important;
}

.visual-life-grid > .visual-tile > div {
  position: absolute !important;
  left: 18px !important;
  right: 18px !important;
  bottom: 18px !important;
  z-index: 2 !important;
}

.visual-life-grid > .visual-tile span {
  color: #ccecf5 !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.42) !important;
}

.visual-life-grid > .visual-tile strong {
  display: block !important;
  margin-top: 7px !important;
  color: #fff !important;
  font-size: clamp(16px, 1.25vw, 22px) !important;
  line-height: 1.13 !important;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.48) !important;
}

.visual-life-grid > .visual-tile.large {
  grid-row: span 2 !important;
}

.contact-channels {
  display: grid !important;
  gap: 14px !important;
  max-width: 520px !important;
  margin-top: 26px !important;
}

.qr-card,
.qr-card.line-card {
  display: grid !important;
  grid-template-columns: 104px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 18px !important;
  max-width: 520px !important;
  margin: 0 !important;
  padding: 16px !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
  text-decoration: none !important;
}

.qr-card::before,
.qr-card.line-card::before {
  content: none !important;
  display: none !important;
}

.qr-card > img,
.qr-card.line-card > img {
  width: 104px !important;
  height: 104px !important;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  object-fit: contain !important;
  border-radius: 8px !important;
  background: #fff !important;
}

.qr-card strong,
.qr-card span {
  display: block !important;
}

.qr-card strong {
  color: #fff !important;
  font-size: 16px !important;
}

.qr-card span {
  margin-top: 4px !important;
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

.form-actions {
  display: grid !important;
  gap: 12px !important;
}

.form-actions .btn.line {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 46px !important;
  width: 100% !important;
  border-radius: 8px !important;
  background: #257c96 !important;
  color: #fff !important;
  font-weight: 900 !important;
  text-decoration: none !important;
}

@media (max-width: 980px) {
  .hero {
    min-height: 640px !important;
    padding: 96px 24px 28px !important;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(12, 51, 68, 0.88) 0%, rgba(22, 80, 99, 0.68) 54%, rgba(35, 88, 106, 0.18) 100%),
      linear-gradient(180deg, rgba(14, 51, 67, 0.08) 0%, rgba(14, 51, 67, 0.62) 100%) !important;
  }

  .hero h1 {
    max-width: 680px !important;
    font-size: clamp(42px, 8vw, 68px) !important;
  }

  .hero-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .visual-life-section {
    grid-template-columns: 1fr !important;
  }

  .visual-life-grid {
    grid-template-columns: 1fr 1fr !important;
    grid-auto-rows: 190px !important;
  }
}

@media (max-width: 760px) {
  .site-header {
    display: grid !important;
    grid-template-columns: auto 1fr auto !important;
    gap: 8px !important;
    padding: 8px 10px !important;
  }

  .brand {
    min-width: 0 !important;
    gap: 8px !important;
  }

  .brand strong {
    max-width: 56px !important;
    font-size: 14px !important;
    line-height: 1.04 !important;
    overflow-wrap: anywhere !important;
  }

  .brand small,
  .site-nav {
    display: none !important;
  }

  .lang-switch {
    justify-self: end !important;
    margin-left: 0 !important;
  }

  .header-actions {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    margin: 0 !important;
  }

  .header-cta,
  .header-cta.line {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 40px !important;
    padding: 0 12px !important;
    font-size: 14px !important;
  }

  .hero {
    min-height: auto !important;
    padding: 66px 18px 22px !important;
  }

  .hero-bg-img {
    object-position: 43% center !important;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(12, 51, 68, 0.9) 0%, rgba(22, 80, 99, 0.7) 68%, rgba(35, 88, 106, 0.26) 100%),
      linear-gradient(180deg, rgba(14, 51, 67, 0.08) 0%, rgba(14, 51, 67, 0.66) 100%) !important;
  }

  .hero h1 {
    max-width: 100% !important;
    font-size: clamp(37px, 10.7vw, 48px) !important;
    line-height: 1.02 !important;
  }

  .hero-copy {
    display: none !important;
  }

  .hero-copy-mobile {
    display: block !important;
    max-width: 100% !important;
    margin: 18px 0 0 !important;
    color: rgba(255, 255, 255, 0.94) !important;
    font-size: 15px !important;
    font-weight: 650 !important;
    line-height: 1.58 !important;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55) !important;
  }

  .hero-proofline {
    gap: 7px !important;
  }

  .hero-proofline span {
    font-size: 11px !important;
    padding: 8px 10px !important;
  }

  .hero-actions,
  .hero-actions .btn {
    width: 100% !important;
  }

  .hero-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  .hero-panel {
    grid-template-columns: 1fr 1fr !important;
    margin-top: 16px !important;
  }

  .waterstone-aerial img {
    height: 220px;
  }

  .waterstone-aerial figcaption {
    padding: 12px 14px;
    font-size: 13px;
  }

  .layout-enquiry-strip {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px 18px !important;
  }

  .layout-enquiry-actions {
    justify-content: stretch;
  }

  .layout-enquiry-actions .btn {
    width: 100%;
  }

  .faq-more > summary {
    width: 100%;
  }

  .visual-life-grid {
    grid-template-columns: 1fr !important;
    grid-auto-rows: 230px !important;
  }

  .visual-life-grid > .visual-tile.large {
    grid-row: span 1 !important;
  }

  .qr-card,
  .qr-card.line-card {
    grid-template-columns: 92px minmax(0, 1fr) !important;
    gap: 14px !important;
    padding: 14px !important;
  }

  .qr-card > img,
  .qr-card.line-card > img {
    width: 92px !important;
    height: 92px !important;
  }
}

/* Waterstone facilities: one compact lifestyle section between buyer fit and location. */
.facilities-section {
  background: #f5fbfc !important;
}

.facilities-section .section-head {
  margin-bottom: 26px !important;
}

.facility-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 auto 20px;
  max-width: 1180px;
}

.facility-summary article {
  min-height: 158px;
  padding: 21px 20px;
  border: 1px solid rgba(35, 88, 106, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.facility-summary span,
.facility-media-grid figcaption em {
  color: #397f95;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.facility-summary strong {
  display: block;
  margin: 8px 0 7px;
  color: var(--ws-ink);
  font-size: 17px;
  line-height: 1.3;
}

.facility-summary p,
.facility-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.facility-media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
}

.facility-media-grid figure {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(35, 88, 106, 0.14);
  border-radius: 8px;
  background: var(--white);
}

.facility-media-grid img {
  display: block !important;
  width: 100% !important;
  height: clamp(228px, 20vw, 278px) !important;
  aspect-ratio: 4 / 3;
  object-fit: cover !important;
}

.facility-media-grid .facility-plan-card img {
  object-fit: contain !important;
  object-position: center !important;
  background: #fff !important;
}

.facility-media-grid figcaption {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  color: var(--ws-ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.facility-note {
  max-width: 1180px;
  margin: 12px auto 0;
  font-size: 12px;
}

@media (max-width: 760px) {
  .facilities-section .section-head {
    margin-bottom: 20px !important;
  }

  .facility-summary {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 14px;
  }

  .facility-summary article {
    min-height: 0;
    padding: 17px;
  }

  .facility-media-grid {
    grid-auto-columns: 84%;
    grid-auto-flow: column;
    grid-template-columns: none;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x proximity;
  }

  .facility-media-grid figure {
    scroll-snap-align: start;
  }

  .facility-media-grid img {
    height: 250px !important;
  }
}

/* Layout previews use the existing verified floor-plan images, not new artwork. */
.layout-seo-summary {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

.layout-seo-summary article {
  padding: 16px !important;
}

.layout-plan-preview {
  display: block;
  margin-top: 10px;
  overflow: hidden;
  border: 1px solid rgba(35, 88, 106, 0.13);
  border-radius: 5px;
  background: #fff;
}

.layout-plan-preview img {
  display: block !important;
  width: 100% !important;
  height: 130px !important;
  object-fit: contain !important;
  background: #fff !important;
}

.layout-seo-summary h3 {
  margin-top: 12px !important;
}

@media (max-width: 1040px) {
  .layout-seo-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  .layout-seo-summary {
    grid-template-columns: 1fr !important;
  }

  .layout-plan-preview img {
    height: 154px !important;
  }
}

/* Waterstone child-page system: centred copy with a wider visual canvas. */
.cluster-page {
  background: #f4fafc;
}

.cluster-page .cluster-hero {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  max-width: 1280px !important;
  min-height: 0 !important;
  margin: 0 auto !important;
  padding: clamp(46px, 6vw, 72px) 24px clamp(34px, 5vw, 56px) !important;
  text-align: center !important;
}

.cluster-page .cluster-hero-copy {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: min(100%, 1040px) !important;
  margin: 0 auto !important;
  text-align: center !important;
}

.cluster-page .cluster-hero-copy h1,
.cluster-page .cluster-hero-copy > p:not(.eyebrow) {
  margin-inline: auto !important;
}

.cluster-page .cluster-hero-copy h1 {
  max-width: 980px !important;
  font-size: clamp(40px, 4.5vw, 62px) !important;
  line-height: 1.06 !important;
}

.cluster-page .cluster-hero-copy > p:not(.eyebrow) {
  max-width: 900px !important;
  color: #58727d;
  font-size: 17px;
  line-height: 1.65;
}

.cluster-page .cluster-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center !important;
}

.cluster-page .cluster-actions .btn.secondary.light {
  border-color: rgba(23, 100, 123, 0.4) !important;
  background: rgba(255, 255, 255, 0.72) !important;
  color: #17647b !important;
}

.cluster-page .cluster-hero-image {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: min(100%, 1120px) !important;
  margin: 28px auto 0 !important;
}

.cluster-page .cluster-hero-image img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 8px;
}

.cluster-page .cluster-body {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.8fr);
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}

.cluster-page .cluster-article {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.cluster-page .cluster-article article,
.cluster-page .cluster-card,
.cluster-page .cluster-faq details {
  border: 1px solid rgba(35, 88, 106, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
}

.cluster-page .cluster-article article,
.cluster-page .cluster-card {
  padding: 22px;
}

.cluster-page .cluster-article h2,
.cluster-page .cluster-card p:first-child {
  margin-top: 0;
}

.cluster-page .cluster-article p,
.cluster-page .cluster-card p,
.cluster-page .cluster-faq p {
  color: var(--muted);
  line-height: 1.7;
}

.cluster-page .cluster-side {
  display: grid;
  align-content: start;
  gap: 18px;
}

.cluster-page .cluster-link-list {
  display: grid;
  gap: 0;
}

.cluster-page .cluster-link-list a {
  padding: 12px 0;
  border-bottom: 1px solid rgba(35, 88, 106, 0.12);
  color: #17647b;
  font-weight: 700;
  text-decoration: none;
}

.cluster-page .cluster-link-list a:last-child {
  border-bottom: 0;
}

.cluster-page .cluster-faq,
.cluster-page .cluster-contact {
  max-width: 1120px;
  margin: 0 auto;
}

.cluster-page .cluster-faq .section-head {
  margin-inline: auto;
  text-align: center;
}

.cluster-page .cluster-faq details {
  padding: 0 20px;
}

.cluster-page .cluster-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid rgba(35, 88, 106, 0.14);
}

.cluster-page .cluster-contact > div:first-child {
  max-width: 760px;
}

.cluster-page .cluster-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cluster-life-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 72px;
}

.cluster-life-gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
}

.cluster-life-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.cluster-life-gallery figcaption {
  padding: 12px 14px 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

/* Floor-plan guide: preserve the supplied image ratio. */
.cluster-floor-plan .floorplan-gallery .section-head {
  margin-inline: auto !important;
  text-align: center !important;
}

.cluster-floor-plan .cluster-hero-image img {
  height: auto !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  border-radius: 0;
}

.cluster-floor-plan .cluster-hero-image {
  width: min(100%, 920px) !important;
}

.cluster-floor-plan .floorplan-gallery-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 20px !important;
  max-width: 1120px;
  margin: 0 auto !important;
}

.cluster-floor-plan .floorplan-gallery-grid figure {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  margin: 0 !important;
  padding: 18px !important;
  border: 1px solid rgba(35, 88, 106, 0.14);
  border-radius: 8px;
  background: #fff;
}

.cluster-floor-plan .floorplan-gallery-grid img {
  display: block !important;
  width: min(100%, 760px) !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center !important;
}

.cluster-floor-plan .floorplan-gallery-grid figcaption {
  display: flex !important;
  justify-content: center !important;
  align-items: baseline !important;
  flex-wrap: wrap;
  gap: 7px;
  width: 100%;
  margin-top: 14px;
  text-align: center !important;
}

.cluster-floor-plan .floorplan-gallery-grid figcaption strong,
.cluster-floor-plan .floorplan-gallery-grid figcaption span {
  text-align: center !important;
}

@media (max-width: 760px) {
  .cluster-page .cluster-hero {
    padding: 42px 18px 30px !important;
  }

  .cluster-page .cluster-hero-copy h1 {
    font-size: clamp(32px, 9vw, 42px) !important;
  }

  .cluster-page .cluster-hero-copy > p:not(.eyebrow) {
    font-size: 16px;
    line-height: 1.6;
  }

  .cluster-page .cluster-body,
  .cluster-page .cluster-article {
    grid-template-columns: 1fr;
  }

  .cluster-page .cluster-contact {
    align-items: flex-start;
    flex-direction: column;
  }

  .cluster-life-gallery {
    grid-template-columns: 1fr;
    padding: 0 18px 52px;
  }

  .cluster-floor-plan .floorplan-gallery-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .cluster-floor-plan .floorplan-gallery-grid figure {
    padding: 14px !important;
  }

  .cluster-floor-plan .floorplan-gallery-grid img {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    object-fit: contain !important;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: clamp(34px, 10.3vw, 43px) !important;
  }

  .hero-panel {
    grid-template-columns: 1fr !important;
  }
}

/* WATERSTONE HERO STABLE GUARD - 2026-06-25 */
.hero-bg-img {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.hero h1 {
  max-width: 760px !important;
  font-size: clamp(44px, 4.55vw, 64px) !important;
  line-height: 1.02 !important;
}

.hero-copy {
  max-width: 660px !important;
  font-size: clamp(16px, 1.22vw, 18px) !important;
  line-height: 1.62 !important;
}

.visual-life-grid > .visual-tile > img,
.qr-card > img,
.qr-card.line-card > img {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

@media (max-width: 980px) {
  .hero h1 {
    max-width: 640px !important;
    font-size: clamp(38px, 7vw, 56px) !important;
  }
}

/* WATERSTONE HARD IMAGE GUARD - 2026-06-25 */
.hero-bg-img,
.visual-life-grid > .visual-tile > img,
.visual-tile > img,
.qr-card > img,
.qr-card.line-card > img,
img[data-layout-image] {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.hero-bg-img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  z-index: 0 !important;
}

.visual-life-grid > .visual-tile > img,
.visual-tile > img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  z-index: 0 !important;
}

.qr-card::before,
.qr-card.line-card::before {
  content: none !important;
  display: none !important;
}

.qr-card > img,
.qr-card.line-card > img {
  width: 104px !important;
  height: 104px !important;
  object-fit: contain !important;
  background: #fff !important;
}

img[data-layout-image] {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  background: #fff !important;
}

@media (max-width: 760px) {
  .hero h1 {
    font-size: clamp(31px, 8.6vw, 39px) !important;
    line-height: 1.08 !important;
  }

  .hero-copy {
    display: none !important;
  }

  .hero-copy-mobile {
    display: block !important;
    max-width: 34em !important;
    font-size: 14px !important;
    line-height: 1.52 !important;
  }
}
