/* Warm stone, walnut and locally hosted Gi Sans. */
:root {
  --page-content-width: min(81%, 1710px);
  --paper: #f3ebdf;
  --ink: #453226;
  --clay: #806044;
  --muted: #786959;
  --line: #d8c9b7;
  --serif: "Gi Sans Display", "Gi Sans Text", sans-serif;
  --walnut: #493428;
  --sand: #dbc0a0;
}
.site-header {
  background: rgba(243, 235, 223, 0.96);
}
.btn-clay {
  background: var(--clay);
}
.btn-clay:hover {
  background: #60442f;
}
.btn {
  gap: 22px;
  text-transform:capitalize;
}
.container {
  width: var(--page-content-width);
  margin-inline: auto;
}
.section {
  padding: clamp(64px, 7vw, 110px) 0;
  scroll-margin-top: 0;
}
html {
  scroll-padding-top: 85px;
}
/* Each chapter has its own pace; the opening and address chapters fill the view. */
.editorial-hero {
  min-height: calc(100svh - 85px);
  display: flex;
  flex-direction: column;
  padding-bottom: 12px;
  background: var(--paper);
}
.hero-topline {
  padding-top: 22px;
}
.hero-composition {
  flex: 1;
  grid-template-columns: 1.04fr 1.08fr;
  gap: 0;
  padding: 30px 0 42px;
  min-height: 640px;
  align-items: center;
}
.hero-title {
  padding: 36px 36px 30px;
  background: #e9ddcc;
  border: 1px solid #cbb69d;
  box-shadow: 0 16px 45px #50362109;
}
.hero-title:before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid #cbb69d70;
  pointer-events: none;
}
.hero-title .eyebrow {
  margin-bottom: 19px;
}
.hero-title > p:not(.eyebrow) {
  margin-top: 18px;
  max-width: none;
}
.hero-facts {
  display: flex;
  gap: 30px;
  margin: 24px 0 0;
  padding-bottom: 20px;
  border-bottom: 1px solid #cbb69d;
}
.hero-facts > span + span {
  border-left: 1px solid #cbb69d;
  padding-left: 30px;
}
.hero-facts strong {
  display: block;
  margin-bottom: 5px;
}
.hero-price {
  position: static;
  transform: none;
  width: auto;
  padding: 19px 0 0;
  background: none;
  color: var(--ink);
}
.hero-price strong {
  margin-top: 4px;
}
.hero-price p {
  max-width: none;
  opacity: 1;
  color: var(--muted);
  margin-top: 3px;
}
.hero-title > p.hero-inclusions {
  margin-top: 16px;
}
.hero-actions {
  gap: 20px;
  margin-top: 24px;
}
.hero-actions .btn {
  padding: 15px 18px;
}
.hero-actions .text-link span {
  margin-left: 10px;
}
.hero-image {
  margin: 0 0 0 -1px;
  width: auto;
  height: clamp(480px, 62svh, 640px);
  align-self: center;
}
.hero-image > img {
  border-radius: 48% 48% 0 0;
  object-position: 55% center;
}
.hero-image figcaption {
  bottom: -24px;
}
.hero-bottom {
  padding: 15px 0;
}
.hero-seal {
  display: none;
}
#overview {
  background: var(--walnut);
  color: var(--paper);
  min-height: 640px;
  display: flex;
  align-items: center;
}
#overview h2 em {
  color: var(--sand);
}
#overview .section-lead,
#overview .story-detail p {
  color: #e1cfbc;
}
#overview .story-detail {
  border-color: #ffffff30;
}
#overview .address-figure:before {
  border-color: #c6a781;
  z-index: 0;
}
#overview .address-figure img {
  position: relative;
  height: 400px;
}
#overview .btn {
  background: #dfc5a4;
  color: #38271d;
}
#overview .btn:hover {
  background: #ecd7bc;
}
#highlights {
  min-height: calc(100svh - 85px);
  padding: 70px 0;
  background: var(--paper);
  color: var(--ink);
  display: flex;
  align-items: center;
}
#highlights > .container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  column-gap: 90px;
  row-gap: 70px;
}
#highlights .eyebrow {
  margin-bottom: 30px;
}
#highlights h2 em {
  color: var(--clay);
}
.glance-intro {
  margin-top: 30px;
  color: var(--muted);
}
.glance-list {
  grid-template-columns: 1fr;
  gap: 38px;
  align-content: center;
}
.glance-item {
  border-top: 1px solid #cbb69d;
  padding-top: 23px;
}
.glance-number {
  display: block;
  color: var(--clay);
  margin-bottom: 18px;
}
.glance-item dt {
  opacity: 1;
  color: var(--muted);
}
.glance-item dd {
  margin-top: 6px;
}
.glance-footer {
  grid-column: 1/-1;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#homes {
  background: var(--walnut);
  color: var(--paper);
}
#homes h2 em,
#homes .residence-price {
  color: var(--sand);
}
#homes .section-lead,
#homes .residence-features,
#homes .compare-note {
  color: #dfcdbb;
}
#homes .residence-tabs {
  border-color: #ffffff30;
}
#homes .residence-tabs button {
  color: #d8c3ac;
}
#homes .residence-tabs button[aria-selected="true"] {
  color: var(--paper);
  border-color: var(--sand);
}
#homes .btn-clay {
  background: #ddc2a0;
  color: #38271d;
}
#homes .price-comparison,
#homes .compare-table td,
#homes .compare-table th {
  border-color: #ffffff30;
}
#homes .compare-table thead {
  background: #5c4332;
}
.residence-panel {
  gap: 65px;
  margin-top: 34px;
}
.floorplan-preview {
  background: #eee7dc;
  border: 1px solid #cbb69d;
  isolation: isolate;
  overflow: hidden;
}
.residence-panel .floorplan-preview img {
  height: 380px;
  object-fit: contain;
  filter: blur(7px);
  opacity: 0.6;
  padding: 24px;
  transform: scale(1.03);
}
.floorplan-overlay {
  position: absolute;
  inset: 0 0 35px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  background: #f3ebdf30;
  color: var(--ink);
}
.floorplan-overlay p {
  margin-top: 12px;
}
#homes .floorplan-overlay .btn {
  background: var(--walnut);
  color: var(--paper);
}
.residence-panel .floorplan-preview figcaption {
  position: relative;
  margin: 0;
  padding: 12px;
  background: #e5d7c4;
  color: var(--ink);
  text-align: center;
}
.residence-size {
  margin-top: 24px;
}
#gallery {
  background: var(--paper);
  color: var(--ink);
}
#gallery h2 em {
  color: var(--clay);
}
#gallery .section-lead {
  color: var(--muted);
}
#gallery .gallery-controls button {
  border-color: var(--line);
  color: var(--ink);
}
#gallery .btn-line-light {
  color: var(--ink);
}
#why {
  background: var(--walnut);
  color: var(--paper);
}
#why h2 em {
  color: var(--sand);
}
#why .reasons li {
  border-color: #ffffff30;
}
#why .reasons li p,
#why .section-lead {
  color: #dfcdbb;
}
#why .r-num {
  color: var(--sand);
}
.reasons-card {
  background: #e9dece;
  color: var(--ink);
}
#amenities {
  background: var(--paper);
  padding-top: 1em;
}
#location {
  background: var(--walnut);
  color: var(--paper);
}
#location h2 em {
  color: var(--sand);
}
#location .section-lead {
  color: #dfcdbb;
}
#location .location-item,
#location .location-content li {
  border-color: #ffffff30;
}
#location .location-content li strong {
  color: var(--sand);
}
#enquire {
  background: var(--paper);
  color: var(--ink);
}
#enquire h2 em {
  color: var(--clay);
}
#enquire .enquire-grid > div > p:not(.eyebrow) {
  color: var(--muted);
}
.enquire-form {
  background: #e7d9c6;
  border: 1px solid #cbb69d;
}
#faq {
  background: var(--walnut);
  color: var(--paper);
}
#faq h2 em {
  color: var(--sand);
}
#faq .faq-list,
#faq .faq-item {
  border-color: #ffffff30;
}
#faq .faq-item p {
  color: #dfcdbb;
}
.site-footer {
  background: var(--paper);
}
.modal-backdrop {
  background: #281c15c9;
}
h1,
h2,
h3 {
  overflow-wrap: break-word;
}
.eyebrow,
.label,
.hero-title .eyebrow,
#highlights .eyebrow,
.residence-copy .eyebrow {
  margin-bottom: 20px;
}
.btn {
  min-height: 48px;
}
.nav-links a {
  padding: 10px 0;
}
.hero-title > p:not(.eyebrow) {
  margin-top: 16px;
}
.hero-composition {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 3.6vw, 56px);
  min-height: 0;
  padding: 36px 0 44px;
}
.hero-title {
  padding: 30px;
  min-width: 0;
}
.hero-topline {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 0 0 20px;
  margin-bottom: 22px;
  border-bottom: 1px solid #cbb69d;
}
.hero-topline > span:last-child {
  max-width: none;
  text-align: left;
  color: var(--muted);
}
.hero-title .eyebrow {
  margin-bottom: 16px;
}
.hero-facts {
  gap: 24px;
  margin-top: 20px;
  padding-bottom: 18px;
}
.hero-facts > span {
  flex: 1;
}
.hero-facts > span + span {
  padding-left: 24px;
}
.hero-price {
  padding-top: 17px;
}
.hero-actions {
  gap: 18px;
  margin-top: 22px;
}
.hero-actions .btn {
  padding: 14px 18px;
}
.hero-image {
  margin: 0;
  width: 100%;
  height: clamp(450px, 65svh, 640px);
  min-width: 0;
}
.hero-image figcaption {
  bottom: -28px;
  text-align: right;
}
.hero-bottom {
  flex-wrap: wrap;
  gap: 16px;
}
#highlights {
  min-height: 0;
  padding: clamp(64px, 7vw, 100px) 0;
}
#highlights > .container {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr);
  gap: 40px 56px;
}
#highlights .section-heading {
  align-self: center;
}
#highlights .eyebrow {
  margin-bottom: 24px;
}
.glance-intro {
  margin-top: 24px;
}
.glance-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 30px;
  align-content: start;
}
.glance-item {
  padding-top: 16px;
  min-width: 0;
}
.glance-item dt {
  color: var(--muted);
}
.glance-item dd {
  margin-top: 6px;
}
.residence-panel {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 48px;
}
.residence-copy {
  min-width: 0;
}
.residence-size {
  margin-top: 20px;
}
#homes .residence-price {
  background: #e6cfaf;
  color: #3d2b20;
  border-left: 3px solid #ba9466;
  padding: 18px 22px;
  margin: 22px 0;
  max-width: 420px;
}
.residence-price > span {
  display: block;
  margin-bottom: 5px;
}
.residence-price p {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}
.gallery-grid {
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
}
.address-grid,
.reasons-grid,
.amenities-layout,
.location-layout,
.enquire-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
}
.enquire-form {
  padding: 30px;
}
.am {
  gap: 10px;
}
#faq > .container {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 20px 48px;
}
:where(.container) > * {
  min-width: 0;
}
.location-content li {
  gap: 12px;
}
.location-content li strong {
  flex-shrink: 0;
}

.consent input {
  width: 18px;
  height: 18px;
}
.modal {
  width: min(460px, 100%);
}
.modal-close {
  width: 44px;
  height: 44px;
  top: 10px;
  right: 10px;
}
.modal h3 {
  padding-right: 30px;
}
.chapter-rail a {
  width: 28px;
  height: 28px;
}
.chapter-rail {
  right: 10px;
}
@media (min-width: 1600px) {
  .container {
    width: var(--page-content-width);
  }
  .hero-title {
    padding: 36px;
  }
  .hero-image {
    height: 650px;
  }
}
@media (max-width: 1100px) {
  :root {
    --page-content-width: calc(100% - 72px);
  }
  .container {
    width: var(--page-content-width);
  }
  .hero-composition {
    gap: 28px;
  }
  .hero-title {
    padding: 26px;
  }
  .hero-actions {
    gap: 12px;
  }
  .hero-actions .btn {
    padding: 14px;
  }
  .hero-bottom > span:nth-child(2) {
    display: none;
  }
  .address-grid,
  .reasons-grid,
  .amenities-layout,
  .location-layout,
  .enquire-grid {
    gap: 32px;
  }
  #highlights > .container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  #highlights .section-heading {
    max-width: 650px;
  }
  .glance-list {
    gap: 24px 36px;
  }
  .glance-footer {
    grid-column: 1;
  }
  .chapter-rail {
    display: none;
  }
}
@media (max-width: 1000px) {
  .hero-composition {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 24px;
  }
  .hero-title {
    padding: 24px;
  }
  .hero-facts {
    gap: 16px;
  }
  .hero-facts > span + span {
    padding-left: 16px;
  }
  .hero-image {
    height: 520px;
  }
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .residence-panel {
    gap: 32px;
  }
  .nav-links {
    gap: 16px;
  }
  .header-inner {
    gap: 18px;
  }
  .legacy-stats {
    gap: 28px;
  }
  .am-grid {
    gap: 0;
  }
}
@media (max-width: 820px) {
  :root {
    --page-content-width: calc(100% - 40px);
  }
  .editorial-hero {
    min-height: 0;
  }
  .hero-composition {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 28px 0 46px;
  }
  .hero-title {
    padding: 30px;
  }
  .hero-actions {
    flex-direction: row;
    align-items: center;
    gap: 22px;
  }
  .hero-image {
    height: 420px;
    max-width: 600px;
    justify-self: center;
  }
  .hero-topline {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px 18px;
  }
  .hero-topline > span:last-child {
    text-align: left;
  }
  .address-grid,
  .reasons-grid,
  .residence-panel,
  .amenities-layout,
  .location-layout,
  .enquire-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .nav-links {
    display: none;
  }
  .header-inner > .btn {
    margin-left: auto;
  }
  #overview {
    min-height: 0;
  }
  .section {
    padding: 64px 0;
  }
  .reasons-card {
    max-width: 600px;
  }
  .residence-copy {
    max-width: none;
  }
  .residence-copy .btn {
    width: auto;
  }
  .residence-panel .floorplan-preview img {
    height: 360px;
  }
  .floorplan-overlay {
    inset: 0 0 44px;
  }
  #homes .residence-price {
    max-width: none;
  }
  .residence-tabs button {
    padding: 14px 8px;
  }
  .location-map iframe {
    height: 380px;
  }
  .enquire-grid > div > p:not(.eyebrow) {
    max-width: none;
  }
  #faq > .container {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
  .footer-about {
    max-width: none;
  }
}
@media (max-width: 600px) {
  html {
    scroll-padding-top: 70px;
  }
  .container {
    width: var(--page-content-width);
  }
  .section {
    padding: 52px 0;
  }
  .hero-title {
    padding: 26px 22px;
  }
  .hero-topline {
    flex-direction: column;
    gap: 8px;
    padding-bottom: 16px;
    margin-bottom: 20px;
  }
  .hero-actions {
    gap: 16px;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: space-between;
  }
  .hero-actions .text-link {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
  .hero-image {
    height: 320px;
  }
  .hero-bottom {
    align-items: center;
  }
  .hero-bottom b {
    display: block;
  }
  .hero-bottom a span {
    margin-left: 8px;
  }
  #highlights {
    min-height: 0;
    padding: 52px 0;
  }
  #highlights > .container {
    gap: 28px;
  }
  .glance-list {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .glance-item {
    padding-top: 15px;
  }
  .glance-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
  .residence-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 10px;
  }
  .residence-tabs button {
    min-height: 48px;
    text-align: left;
  }
  .residence-copy .btn {
    width: 100%;
    justify-content: space-between;
  }
  .residence-panel .floorplan-preview img {
    height: 280px;
  }
  .residence-panel .floorplan-preview figcaption {
    padding: 12px 8px;
  }
  .floorplan-overlay {
    padding: 16px;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-controls {
    max-width: 110px;
    gap: 10px;
    flex-shrink: 0;
  }
  .gallery-controls button {
    width: 44px;
    height: 44px;
  }
  .gallery-grid img {
    height: 280px;
  }
  .section-heading {
    gap: 20px;
  }
  .am {
    padding: 16px 6px;
  }
  .am svg {
    width: 22px;
    height: 22px;
  }
  .legacy-stats {
    gap: 30px;
  }
  .enquire-form {
    padding: 24px;
  }
  .modal {
    padding: 30px 24px;
  }
  .location-map iframe {
    height: 320px;
  }
  .footer-top {
    gap: 18px;
  }
  .chapter-rail {
    display: none;
  }
}
@media (max-width: 360px) {
  :root {
    --page-content-width: calc(100% - 32px);
  }
  .container {
    width: var(--page-content-width);
  }
  .hero-title {
    padding: 24px 18px;
  }
  .hero-facts {
    gap: 12px;
  }
  .hero-facts > span + span {
    padding-left: 12px;
  }
  .hero-image {
    height: 280px;
  }
  .am-grid {
    grid-template-columns: 1fr;
  }
  .am {
    padding: 15px 0;
  }
  .section-heading {
    flex-wrap: wrap;
  }
  .gallery-controls {
    max-width: none;
    flex-wrap: nowrap;
  }
  .gallery-controls span {
    order: 0;
    width: auto;
  }
  .legacy-stats {
    gap: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn {
    transition: none;
  }
}
