/*
 * Jardin2 — editorial residential marketing system
 * Source stylesheet. The build copies this file into site/styles.css.
 */

:root {
  --forest: #163d33;
  --forest-deep: #0d2c25;
  --forest-soft: #285849;
  --cream: #f6f4ed;
  --warm-white: #fbfaf6;
  --sand: #ece8dc;
  --sand-deep: #ddd6c7;
  --copper: #bc9c62;
  --copper-light: #d2b883;
  --ink: #1b2823;
  --muted: #69746c;
  --line: rgba(22, 61, 51, 0.17);
  --line-light: rgba(246, 244, 237, 0.24);
  --shadow: 0 18px 55px rgba(14, 42, 34, 0.09);
  --shadow-strong: 0 22px 70px rgba(8, 28, 22, 0.16);
  --serif: "Roboto", "Noto Sans SC", Arial, sans-serif;
  --sans: "Roboto", "Noto Sans SC", Arial, sans-serif;
  --content-width: 1320px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ——— Base ——— */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--cream);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.lang-zh .lang-en,
body.lang-en .lang-zh {
  display: none !important;
}

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

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

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

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

p,
h1,
h2,
h3,
h4,
figure {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.02em;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  max-width: 68ch;
}

.hidden,
[hidden] {
  display: none !important;
}

.wrapper {
  width: min(100%, var(--content-width));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ——— Shared type and controls ——— */

.kicker,
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--copper);
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

[lang="zh"],
.lang-zh {
  letter-spacing: 0;
}

.status-dot {
  width: 0.45rem;
  height: 0.45rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(188, 156, 98, 0.18);
}

.section-heading {
  display: grid;
  gap: 1rem;
  max-width: 790px;
  margin-bottom: 3.7rem;
}

.section-heading.split-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 3rem;
  max-width: none;
}

.section-heading.split-heading > div:last-child {
  max-width: 30rem;
}

.section-title,
.split-heading .section-title {
  color: var(--forest);
  font-size: clamp(2.8rem, 5vw, 5.4rem);
  line-height: 0.98;
}

.section-intro,
.section-heading p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.8;
}

.section-note {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.6;
}

.button,
.text-button,
.filter-tab,
.plan-expand,
.modal-close,
.zoom-control {
  -webkit-tap-highlight-color: transparent;
}

.button {
  display: inline-flex;
  min-height: 3.15rem;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 0.82rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  transition: background-color 220ms var(--ease), color 220ms var(--ease), border-color 220ms var(--ease), transform 220ms var(--ease);
}

.button::after,
.text-button::after {
  display: inline-block;
  content: "↗";
  font-size: 1rem;
  font-weight: 400;
  line-height: 0.8;
  transition: transform 220ms var(--ease);
}

.button:hover,
.text-button:hover,
.plan-expand:hover {
  transform: translateY(-2px);
}

.button:hover::after,
.text-button:hover::after {
  transform: translate(2px, -2px);
}

.button-primary {
  color: var(--warm-white);
  background: var(--copper);
}

.button-primary:hover {
  background: #a7864d;
}

.button-light {
  color: var(--forest);
  background: var(--warm-white);
}

.button-light:hover {
  color: var(--warm-white);
  background: var(--forest-soft);
}

.button-outline {
  color: var(--forest);
  border-color: var(--line);
  background: transparent;
}

.button-outline:hover {
  color: var(--warm-white);
  border-color: var(--forest);
  background: var(--forest);
}

.text-button {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.35rem 0;
  color: var(--forest);
  background: transparent;
  border-bottom: 1px solid var(--copper);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 220ms var(--ease), transform 220ms var(--ease);
}

.text-button:hover {
  color: var(--copper);
}

/* ——— Header ——— */

.site-header {
  position: relative;
  z-index: 20;
  color: var(--forest);
  background: var(--cream);
  border-bottom: 1px solid rgba(22, 61, 51, 0.1);
}

.header-inner {
  display: flex;
  min-height: 5.7rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  flex: 0 0 auto;
  color: var(--forest);
}

.brand-logo {
  width: auto;
  height: 2.8rem;
  object-fit: contain;
}

.brand-name {
  display: block;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 0.95;
}

.brand-sub {
  display: block;
  margin-top: 0.26rem;
  color: var(--muted);
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.1;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 2.2vw, 2.2rem);
  margin-inline: auto;
}

.desktop-nav a,
.language-switch {
  position: relative;
  color: var(--forest-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.4rem;
  left: 0;
  height: 1px;
  content: "";
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 220ms var(--ease);
}

.desktop-nav a:hover::after,
.desktop-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex: 0 0 auto;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  min-height: 2rem;
  padding: 0.25rem;
  background: transparent;
}

.language-switch::before {
  width: 1px;
  height: 1rem;
  content: "";
  background: var(--copper);
  transform: rotate(22deg);
}

.menu-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0.55rem;
  color: var(--forest);
  background: transparent;
}

.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 100%;
  height: 1px;
  margin: 0.37rem 0;
  content: "";
  background: currentColor;
  transition: transform 200ms var(--ease);
}

.mobile-nav {
  display: none;
  padding: 0 1.25rem 1.35rem;
  background: var(--cream);
}

.mobile-nav a {
  display: block;
  padding: 0.78rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--forest);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mobile-nav:not(.hidden) {
  display: block;
}

/* ——— Hero ——— */

.hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  color: var(--warm-white);
  background: var(--forest-deep);
}

.hero-visual,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-visual {
  z-index: 0;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}

.hero-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(8, 34, 27, 0.91) 0%, rgba(12, 43, 34, 0.72) 33%, rgba(15, 44, 35, 0.24) 70%, rgba(8, 30, 23, 0.42) 100%),
    linear-gradient(0deg, rgba(6, 25, 19, 0.56), transparent 40%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 560px;
  flex-direction: column;
  justify-content: center;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.hero-content .eyebrow {
  margin-bottom: 1.2rem;
}

.hero-title {
  max-width: 780px;
  margin-bottom: 1.2rem;
  color: var(--warm-white);
  font-size: clamp(3.4rem, 7vw, 7.2rem);
  line-height: 0.98;
}

.hero-title .lang-zh {
  font-size: 0.72em;
  line-height: 1.12;
}

.hero-description {
  max-width: 34rem;
  color: rgba(251, 250, 246, 0.82);
  font-size: 1rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.hero-bottom {
  position: absolute;
  right: var(--gutter);
  bottom: 2rem;
  left: var(--gutter);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.hero-location,
.hero-scroll {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: rgba(251, 250, 246, 0.84);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-location::before {
  width: 0.52rem;
  height: 0.52rem;
  content: "";
  border: 1px solid var(--copper-light);
  border-radius: 50%;
}

.hero-scroll::after {
  width: 2.6rem;
  height: 1px;
  content: "";
  background: var(--copper-light);
}

.hero-price {
  position: absolute;
  right: max(var(--gutter), calc((100vw - var(--content-width)) / 2 + var(--gutter)));
  bottom: 5.7rem;
  z-index: 4;
  width: min(22rem, calc(100% - 2rem));
  padding: 1.7rem 1.8rem 1.55rem;
  color: var(--forest);
  background: rgba(246, 244, 237, 0.96);
  border-top: 4px solid var(--copper);
  box-shadow: var(--shadow-strong);
}

.price-label,
.price-note,
.price-secondary {
  display: block;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
}

.price-value {
  display: block;
  margin: 0.22rem 0 0.55rem;
  color: var(--forest);
  font-family: var(--serif);
  font-size: clamp(2.35rem, 4vw, 3.25rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

.price-divider {
  height: 1px;
  margin: 0.9rem 0 0.75rem;
  background: var(--line);
}

.price-note {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.55;
  text-transform: none;
}

.price-secondary {
  margin-top: 0.4rem;
  font-size: 0.62rem;
  letter-spacing: 0.05em;
}

.fact-strip {
  color: var(--warm-white);
  background: var(--forest);
}

.fact-strip > .wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.fact-item {
  display: grid;
  gap: 0.2rem;
  padding: 1.55rem 1.8rem;
  border-right: 1px solid var(--line-light);
}

.fact-item:first-child {
  padding-left: 0;
}

.fact-item:last-child {
  border-right: 0;
}

.fact-item strong {
  color: var(--copper-light);
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
}

.fact-item span {
  color: rgba(246, 244, 237, 0.7);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ——— Family / editorial story ——— */

.family-section {
  padding: clamp(5.2rem, 10vw, 9.5rem) 0;
  background: var(--cream);
}

.family-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  align-items: start;
  gap: clamp(3rem, 9vw, 9.5rem);
}

.family-editorial {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.7rem;
  padding-top: 0.7rem;
}

.feature-story {
  padding-top: 1.25rem;
  border-top: 1px solid var(--forest);
}

.feature-number {
  display: block;
  margin-bottom: 3rem;
  color: var(--copper);
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1;
}

.feature-story h3 {
  margin-bottom: 0.75rem;
  color: var(--forest);
  font-size: 1.7rem;
  line-height: 1;
}

.feature-story p {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.75;
}

.family-plan {
  position: relative;
  padding: 1rem 1rem 0;
  background: var(--warm-white);
  box-shadow: var(--shadow);
}

.family-plan::before {
  position: absolute;
  top: -1.8rem;
  right: -1.8rem;
  width: 3.6rem;
  height: 3.6rem;
  content: "";
  border: 1px solid var(--copper);
  border-radius: 50%;
}

.plan-preview {
  width: 100%;
  aspect-ratio: 1.32 / 1;
  object-fit: contain;
  background: var(--warm-white);
}

.family-plan figcaption {
  padding: 1rem 0 1.05rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.6;
}

.family-plan .text-button {
  position: absolute;
  right: 1rem;
  bottom: 1.1rem;
}

/* ——— Layout catalogue ——— */

.layout-section {
  padding: clamp(5.2rem, 10vw, 9.5rem) 0;
  background: var(--sand);
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  justify-content: flex-end;
}

.filter-tab {
  min-height: 2.5rem;
  padding: 0.55rem 0.85rem;
  color: var(--muted);
  border: 1px solid var(--line);
  background: transparent;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.2;
  transition: color 200ms var(--ease), background-color 200ms var(--ease), border-color 200ms var(--ease);
}

.filter-tab:hover,
.filter-tab.active,
.filter-tab[aria-pressed="true"] {
  color: var(--warm-white);
  border-color: var(--forest);
  background: var(--forest);
}

.layout-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.layout-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr;
  min-width: 0;
  background: var(--warm-white);
  box-shadow: 0 10px 30px rgba(22, 61, 51, 0.04);
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease);
}

.layout-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.layout-card.hidden {
  display: none !important;
}

.layout-card-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.45rem 1.55rem 1rem;
}

.layout-code {
  display: block;
  color: var(--forest);
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
  line-height: 0.95;
}

.layout-tag {
  display: inline-block;
  padding: 0.33rem 0.55rem;
  color: var(--copper);
  border: 1px solid rgba(188, 156, 98, 0.55);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.layout-image {
  position: relative;
  margin: 0 1.55rem;
  overflow: hidden;
  background: var(--sand);
}

.layout-image img {
  width: 100%;
  aspect-ratio: 1.55 / 1;
  object-fit: contain;
  transition: transform 450ms var(--ease);
}

.layout-card:hover .layout-image img {
  transform: scale(1.025);
}

.plan-expand {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  display: inline-flex;
  width: 2.45rem;
  height: 2.45rem;
  align-items: center;
  justify-content: center;
  color: var(--forest);
  background: var(--cream);
  border-radius: 50%;
  font-size: 1.15rem;
  line-height: 1;
  transition: color 200ms var(--ease), background-color 200ms var(--ease), transform 200ms var(--ease);
}

.plan-expand:hover {
  color: var(--warm-white);
  background: var(--copper);
}

.layout-details {
  display: grid;
  align-content: start;
  gap: 1.25rem;
  padding: 1.35rem 1.55rem 1.55rem;
}

.layout-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}

.layout-specs div {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.layout-specs strong {
  color: var(--forest);
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1;
}

.layout-specs span,
.layout-price small {
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.35;
  text-transform: uppercase;
}

.layout-price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.layout-price strong {
  color: var(--forest);
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.layout-price small {
  max-width: 10rem;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0;
  text-align: right;
  text-transform: none;
}

.layout-description {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.7;
}

.layout-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.layout-features span {
  padding: 0.33rem 0.55rem;
  color: var(--forest-soft);
  background: var(--sand);
  font-size: 0.66rem;
  line-height: 1.3;
}

.layout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  padding-top: 0.1rem;
}

.layout-actions .button {
  min-height: 2.75rem;
  flex: 1 1 9rem;
}

/* ——— Community ——— */

.community-section {
  padding: clamp(5.2rem, 10vw, 9.5rem) 0;
  background: var(--warm-white);
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(18rem, auto);
  gap: 1.2rem;
}

.amenity-card {
  display: grid;
  grid-template-rows: minmax(11rem, 1fr) auto;
  min-width: 0;
  background: var(--cream);
}

.amenity-card:first-child {
  grid-column: span 2;
  grid-row: span 2;
  grid-template-rows: minmax(20rem, 1fr) auto;
}

.amenity-image {
  overflow: hidden;
  background: var(--sand);
}

.amenity-image img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease);
}

.amenity-card:hover .amenity-image img {
  transform: scale(1.04);
}

.amenity-body {
  position: relative;
  padding: 1.35rem 1.45rem 1.4rem;
}

.amenity-number {
  display: block;
  margin-bottom: 1.15rem;
  color: var(--copper);
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1;
}

.amenity-body h3 {
  margin-bottom: 0.45rem;
  color: var(--forest);
  font-size: 1.55rem;
  line-height: 1;
}

.amenity-body p {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.65;
}

.amenity-note {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.3rem 0.5rem;
  color: var(--copper);
  border: 1px solid rgba(188, 156, 98, 0.55);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.community-section > .wrapper > .section-note {
  margin-top: 1.4rem;
}

/* ——— Location ——— */

.location-section {
  padding: clamp(5.2rem, 10vw, 9.5rem) 0;
  color: var(--warm-white);
  background: var(--forest);
}

.location-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.83fr) minmax(0, 1.17fr);
  align-items: stretch;
  gap: clamp(3rem, 8vw, 8rem);
}

.location-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.location-copy .kicker {
  margin-bottom: 1.1rem;
}

.location-copy h2 {
  max-width: 28rem;
  margin-bottom: 1.35rem;
  color: var(--warm-white);
  font-size: clamp(3rem, 5.5vw, 5.5rem);
  line-height: 0.98;
}

.location-copy p {
  max-width: 30rem;
  color: rgba(246, 244, 237, 0.72);
  font-size: 0.95rem;
  line-height: 1.8;
}

.region-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.8rem;
}

.region-tag {
  min-height: 2.2rem;
  padding: 0.46rem 0.7rem;
  color: rgba(246, 244, 237, 0.72);
  border: 1px solid var(--line-light);
  background: transparent;
  font-size: 0.7rem;
  line-height: 1.2;
  transition: color 200ms var(--ease), border-color 200ms var(--ease), background-color 200ms var(--ease);
}

.region-tag:hover,
.region-tag.selected,
.region-tag[aria-pressed="true"] {
  color: var(--forest);
  border-color: var(--copper-light);
  background: var(--copper-light);
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.location-map {
  position: relative;
  min-height: 29rem;
  overflow: hidden;
  background: #d9d6c9;
}

.location-map-image {
  width: 100%;
  height: 100%;
  min-height: 29rem;
  object-fit: cover;
  filter: saturate(0.72) sepia(0.12);
}

.map-caption {
  position: absolute;
  right: 1.15rem;
  bottom: 1.15rem;
  left: 1.15rem;
  padding: 0.8rem 0.95rem;
  color: var(--warm-white);
  background: rgba(13, 44, 37, 0.88);
  font-size: 0.68rem;
  line-height: 1.55;
}

/* ——— FAQ ——— */

.faq-section {
  padding: clamp(5.2rem, 10vw, 9.5rem) 0;
  background: var(--cream);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(3rem, 10vw, 10rem);
}

.faq-grid > .intro {
  align-self: start;
  position: sticky;
  top: 2rem;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1.25rem 0;
  color: var(--forest);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  font-weight: 600;
  line-height: 1.15;
  list-style: none;
  cursor: pointer;
}

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

.faq-item summary::after {
  width: 1.35rem;
  height: 1.35rem;
  flex: 0 0 auto;
  content: "+";
  color: var(--copper);
  border: 1px solid var(--copper);
  border-radius: 50%;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.15rem;
  text-align: center;
  transition: transform 220ms var(--ease), background-color 220ms var(--ease), color 220ms var(--ease);
}

.faq-item[open] summary::after {
  color: var(--warm-white);
  background: var(--copper);
  transform: rotate(45deg);
}

.faq-answer {
  max-width: 48rem;
  padding: 0 3rem 1.35rem 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

/* ——— Call to action ——— */

.cta-section {
  padding: 0 0 clamp(4rem, 8vw, 7rem);
  background: var(--cream);
}

.cta-inner {
  position: relative;
  display: flex;
  min-height: 22rem;
  align-items: end;
  justify-content: space-between;
  gap: 3rem;
  overflow: hidden;
  padding-top: 4.5rem;
  padding-bottom: 4.25rem;
  color: var(--warm-white);
  background: var(--forest);
}

.cta-inner::before {
  position: absolute;
  top: -5rem;
  right: 8%;
  width: 15rem;
  height: 15rem;
  content: "";
  border: 1px solid rgba(188, 156, 98, 0.46);
  border-radius: 50%;
}

.cta-inner::after {
  position: absolute;
  top: 2rem;
  right: 14%;
  width: 8rem;
  height: 8rem;
  content: "";
  border: 1px solid rgba(188, 156, 98, 0.3);
  border-radius: 50%;
}

.cta-inner > div,
.cta-inner > .button {
  position: relative;
  z-index: 1;
}

.cta-inner .kicker {
  margin-bottom: 1rem;
}

.cta-inner h2 {
  max-width: 44rem;
  margin-bottom: 0.9rem;
  color: var(--warm-white);
  font-size: clamp(2.7rem, 5.6vw, 5.2rem);
  line-height: 0.98;
}

.cta-inner p {
  max-width: 38rem;
  color: rgba(246, 244, 237, 0.72);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ——— Footer ——— */

.site-footer {
  color: var(--warm-white);
  background: var(--forest-deep);
}

.footer-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 3rem;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.site-footer .brand {
  color: var(--warm-white);
}

.site-footer .brand-sub {
  color: rgba(246, 244, 237, 0.55);
}

.footer-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(8rem, 1fr));
  gap: 2.5rem;
}

.footer-info > div {
  display: grid;
  gap: 0.35rem;
}

.footer-info strong {
  color: var(--copper-light);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-info span,
.footer-info a {
  color: rgba(246, 244, 237, 0.7);
  font-size: 0.8rem;
  line-height: 1.5;
}

.footer-info a:hover {
  color: var(--warm-white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 1.2rem;
  padding-bottom: 1.3rem;
  border-top: 1px solid var(--line-light);
}

.footer-bottom small {
  color: rgba(246, 244, 237, 0.46);
  font-size: 0.68rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
}

.footer-links .text-button {
  color: rgba(246, 244, 237, 0.68);
  border-bottom-color: rgba(188, 156, 98, 0.65);
  font-size: 0.66rem;
}

.footer-links .text-button:hover {
  color: var(--warm-white);
}

/* ——— Dialogs ——— */

dialog.modal {
  width: min(900px, calc(100% - 2rem));
  max-height: min(850px, calc(100dvh - 2rem));
  margin: auto;
  padding: 0;
  color: var(--ink);
  background: var(--cream);
  border: 0;
  box-shadow: 0 30px 100px rgba(5, 24, 18, 0.36);
}

dialog.modal::backdrop {
  background: rgba(7, 26, 20, 0.72);
  backdrop-filter: blur(3px);
}

.modal-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.45rem 1.7rem 1.25rem;
  border-bottom: 1px solid var(--line);
}

.modal-title {
  color: var(--forest);
  font-size: 2rem;
  line-height: 1;
}

.modal-close {
  display: inline-flex;
  width: 2.25rem;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--forest);
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 50%;
  font-size: 1.25rem;
  line-height: 1;
  transition: color 180ms var(--ease), background-color 180ms var(--ease);
}

.modal-close:hover {
  color: var(--warm-white);
  background: var(--forest);
}

.plan-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 0.85rem 1.7rem;
  border-bottom: 1px solid var(--line);
}

.zoom-control {
  width: 2.1rem;
  height: 2.1rem;
  color: var(--forest);
  border: 1px solid var(--line);
  background: transparent;
  font-size: 1.05rem;
  line-height: 1;
}

.zoom-control:hover {
  color: var(--warm-white);
  background: var(--forest);
}

.plan-stage {
  max-height: min(68vh, 620px);
  overflow: auto;
  padding: 1.7rem;
  background: var(--sand);
  text-align: center;
}

.plan-stage img.plan-full {
  width: auto;
  max-width: 100%;
  height: auto;
  min-height: 220px;
  margin-inline: auto;
  object-fit: contain;
  transform-origin: center center;
  transition: transform 180ms var(--ease);
}

.modal-caption {
  padding: 0.95rem 1.7rem 1.25rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.6;
}

.booking-modal {
  width: min(620px, calc(100% - 2rem)) !important;
}

.booking-form {
  display: grid;
  gap: 1.15rem;
  padding: 1.7rem;
}

.form-field {
  display: grid;
  gap: 0.45rem;
}

.form-field label {
  color: var(--forest);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.form-field select,
.form-field input,
.message-preview {
  width: 100%;
  min-height: 3rem;
  padding: 0.72rem 0.85rem;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 0;
  outline: 0;
  background: var(--warm-white);
  font-size: 0.86rem;
}

.form-field select:focus,
.form-field input:focus,
.message-preview:focus {
  border-color: var(--copper);
}

.message-preview {
  min-height: 8rem;
  resize: vertical;
  line-height: 1.65;
}

.booking-status,
.booking-help {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.65;
}

.booking-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.legal-modal {
  width: min(760px, calc(100% - 2rem)) !important;
}

.legal-copy {
  max-height: min(68vh, 620px);
  overflow: auto;
  padding: 1.7rem;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.8;
}

.legal-copy h3,
.legal-copy h4 {
  margin: 1.2rem 0 0.45rem;
  color: var(--forest);
  font-size: 1.45rem;
  line-height: 1;
}

.legal-copy h3:first-child,
.legal-copy h4:first-child {
  margin-top: 0;
}

.legal-copy ul,
.legal-copy ol {
  padding-left: 1.25rem;
}

/* ——— Floating contact and toast ——— */

.floating-contact {
  position: fixed;
  right: 1.35rem;
  bottom: 1.35rem;
  z-index: 30;
  box-shadow: 0 10px 30px rgba(8, 28, 22, 0.22);
}

.mobile-contact {
  display: none;
}

.toast {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 50;
  max-width: min(26rem, calc(100% - 2.5rem));
  padding: 0.9rem 1.1rem;
  color: var(--warm-white);
  background: var(--forest-deep);
  border-left: 3px solid var(--copper);
  box-shadow: var(--shadow-strong);
  font-size: 0.8rem;
  line-height: 1.45;
}

/* ——— Tablet ——— */

@media (max-width: 1050px) {
  .desktop-nav {
    gap: 1rem;
  }

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

  .hero-title {
    max-width: 650px;
  }

  .family-content {
    gap: 3.5rem;
  }

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

  .amenity-card:first-child {
    grid-column: span 2;
    grid-row: span 1;
    grid-template-rows: minmax(17rem, 1fr) auto;
  }

  .location-grid {
    gap: 3rem;
  }
}

/* ——— Mobile / single column ——— */

@media (max-width: 768px) {
  :root {
    --gutter: 1.25rem;
  }

  body {
    padding-bottom: 4.75rem;
    font-size: 14px;
  }

  html {
    scroll-behavior: auto;
  }

  .desktop-nav {
    display: none;
  }

  .header-inner {
    min-height: 4.65rem;
  }

  .header-actions {
    gap: 0.45rem;
  }

  .language-switch {
    font-size: 0.64rem;
  }

  .menu-toggle {
    display: block;
  }

  .brand-logo {
    height: 2.35rem;
  }

  .brand-name {
    font-size: 1.35rem;
  }

  .hero {
    min-height: 670px;
  }

  .hero-content {
    min-height: 670px;
    justify-content: flex-start;
    padding-top: 5.1rem;
    padding-bottom: 11.5rem;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(8, 34, 27, 0.9) 0%, rgba(12, 43, 34, 0.56) 100%),
      linear-gradient(0deg, rgba(6, 25, 19, 0.78) 0%, rgba(6, 25, 19, 0.04) 58%);
  }

  .hero-title {
    max-width: 95%;
    font-size: clamp(3.25rem, 15vw, 5.5rem);
    line-height: 0.98;
  }

  .hero-title .lang-zh {
    font-size: 0.65em;
    line-height: 1.15;
  }

  .hero-description {
    max-width: 31rem;
    font-size: 0.9rem;
  }

  .hero-actions {
    margin-top: 1.45rem;
  }

  .hero-actions .button {
    min-height: 2.9rem;
    padding-inline: 1rem;
  }

  .hero-bottom {
    right: var(--gutter);
    bottom: 1.35rem;
    left: var(--gutter);
  }

  .hero-scroll {
    display: none;
  }

  .hero-price {
    right: var(--gutter);
    bottom: 4.35rem;
    width: calc(100% - (var(--gutter) * 2));
    padding: 1.05rem 1.1rem;
    border-top-width: 3px;
  }

  .price-value {
    margin: 0.16rem 0 0.4rem;
    font-size: 2.45rem;
  }

  .price-divider {
    margin: 0.55rem 0;
  }

  .price-note {
    font-size: 0.6rem;
  }

  .fact-strip > .wrapper {
    grid-template-columns: repeat(2, 1fr);
  }

  .fact-item,
  .fact-item:first-child {
    padding: 1.05rem 0.8rem;
    border-bottom: 1px solid var(--line-light);
  }

  .fact-item:nth-child(2) {
    border-right: 0;
  }

  .fact-item:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .section-heading,
  .section-heading.split-heading {
    gap: 1.2rem;
    margin-bottom: 2.4rem;
  }

  .section-heading.split-heading {
    display: grid;
  }

  .section-heading.split-heading > div:last-child {
    max-width: none;
  }

  .section-title,
  .split-heading .section-title {
    font-size: clamp(2.8rem, 14vw, 4.2rem);
  }

  .family-section,
  .layout-section,
  .community-section,
  .location-section,
  .faq-section {
    padding: 5.3rem 0;
  }

  .family-content,
  .location-grid,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .family-editorial {
    gap: 1.2rem;
  }

  .feature-number {
    margin-bottom: 1.8rem;
  }

  .family-plan::before {
    top: -0.85rem;
    right: -0.75rem;
    width: 2.5rem;
    height: 2.5rem;
  }

  .filter-tabs {
    justify-content: flex-start;
  }

  .layout-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .layout-card-heading,
  .layout-details {
    padding-right: 1.2rem;
    padding-left: 1.2rem;
  }

  .layout-image {
    margin-right: 1.2rem;
    margin-left: 1.2rem;
  }

  .layout-price strong {
    font-size: 1.8rem;
  }

  .community-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto;
    gap: 0.75rem;
  }

  .amenity-card,
  .amenity-card:first-child {
    grid-column: auto;
    grid-row: auto;
    grid-template-rows: minmax(10rem, 1fr) auto;
  }

  .amenity-card:first-child {
    grid-column: span 2;
    grid-template-rows: minmax(15rem, 1fr) auto;
  }

  .amenity-body {
    padding: 1rem;
  }

  .amenity-number {
    margin-bottom: 0.8rem;
  }

  .amenity-body h3 {
    font-size: 1.35rem;
  }

  .location-map,
  .location-map-image {
    min-height: 23rem;
  }

  .faq-grid > .intro {
    position: static;
  }

  .faq-answer {
    padding-right: 1rem;
  }

  .cta-section {
    padding-bottom: 4rem;
  }

  .cta-inner {
    display: block;
    min-height: auto;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .cta-inner > .button {
    margin-top: 1.7rem;
  }

  .footer-top {
    display: grid;
    gap: 2.5rem;
    padding-top: 3rem;
    padding-bottom: 2.7rem;
  }

  .footer-info {
    gap: 1rem;
  }

  .footer-bottom {
    align-items: start;
    flex-direction: column;
    gap: 1rem;
  }

  .floating-contact {
    display: none;
  }

  .mobile-contact {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 25;
    display: flex;
    min-height: 4.6rem;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.65rem var(--gutter) calc(0.65rem + env(safe-area-inset-bottom));
    color: var(--warm-white);
    background: var(--forest-deep);
    box-shadow: 0 -8px 25px rgba(8, 28, 22, 0.15);
  }

  .mobile-contact .mobile-contact-brand {
    display: grid;
    gap: 0.08rem;
    min-width: 0;
  }

  .mobile-contact .mobile-contact-brand strong {
    color: var(--copper-light);
    font-family: var(--serif);
    font-size: 1.3rem;
    line-height: 1;
  }

  .mobile-contact .mobile-contact-brand span {
    overflow: hidden;
    color: rgba(246, 244, 237, 0.63);
    font-size: 0.61rem;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-contact .button {
    min-height: 2.6rem;
    flex: 0 0 auto;
    padding: 0.6rem 0.85rem;
    font-size: 0.65rem;
  }

  .toast {
    right: var(--gutter);
    bottom: calc(5.3rem + env(safe-area-inset-bottom));
    left: var(--gutter);
    max-width: none;
  }

  dialog.modal {
    width: calc(100% - 1.25rem);
    max-height: calc(100dvh - 1.25rem);
  }

  .modal-top,
  .plan-toolbar,
  .booking-form,
  .legal-copy {
    padding-right: 1.1rem;
    padding-left: 1.1rem;
  }

  .plan-stage {
    padding: 1rem;
  }
}

/* ——— Narrow mobile ——— */

@media (max-width: 480px) {
  .brand-sub {
    display: none;
  }

  .header-inner {
    gap: 0.5rem;
  }

  .hero-content {
    padding-top: 4.3rem;
  }

  .hero-title {
    max-width: 100%;
    font-size: clamp(3.05rem, 17vw, 4.8rem);
  }

  .hero-description {
    max-width: 19rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    width: min(15rem, 100%);
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-price {
    bottom: 4.35rem;
  }

  .price-value {
    font-size: 2.15rem;
  }

  .fact-item strong {
    font-size: 1.35rem;
  }

  .family-editorial {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .feature-story {
    display: grid;
    grid-template-columns: 2.3rem 1fr;
    column-gap: 0.6rem;
    padding-top: 0.95rem;
  }

  .feature-number {
    grid-row: span 2;
    margin-bottom: 0;
  }

  .feature-story h3 {
    font-size: 1.55rem;
  }

  .community-grid {
    grid-template-columns: 1fr;
  }

  .amenity-card,
  .amenity-card:first-child {
    grid-column: auto;
    grid-template-rows: minmax(13rem, 1fr) auto;
  }

  .layout-specs {
    gap: 0.45rem;
  }

  .layout-specs strong {
    font-size: 1.1rem;
  }

  .layout-price {
    display: grid;
    gap: 0.4rem;
  }

  .layout-price small {
    max-width: none;
    text-align: left;
  }

  .layout-actions {
    display: grid;
  }

  .layout-actions .button {
    width: 100%;
  }

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

  .footer-links {
    display: grid;
    gap: 0.6rem;
  }

  .modal-title {
    font-size: 1.65rem;
  }

  .booking-actions {
    display: grid;
  }

  .booking-actions .button {
    width: 100%;
  }
}

/* ——— Motion preference ——— */

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

/* Final integration refinements */
.brand-logo { width: 118px; height: 58px; filter: brightness(0); }
.site-footer .brand-logo { filter: none; }
.button:has(svg)::after, .text-button:has(svg)::after { display: none; }
.button svg, .text-button svg { flex-shrink: 0; }
.hero-image-note { position: absolute; z-index: 4; bottom: 12px; left: var(--gutter); color: rgba(255,255,255,.8); font-size: 10px; letter-spacing: .02em; }
.amenity-image { position: relative; }
.image-caption { position: absolute; right: 12px; bottom: 12px; color: white; padding: 3px 7px; background: rgba(22,61,51,.75); font-size: 10px; }
.location-marker { min-height: 380px; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 35px; text-align: center; color: var(--forest); background: var(--sand); }
.location-marker > svg { width: 50px; height: 50px; margin-bottom: 24px; color: var(--copper); }
.location-marker > span { font-size: 11px; letter-spacing: .14em; }
.location-marker > h3 { font-size: 38px; margin: 12px 0; }
.location-marker > p { color: var(--muted); }
.region-label { margin-top: 22px; font-size: 12px; }
.location-note { margin-top: 22px; opacity: .75; font-size: 12px; }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.faq-plus { flex: 0 0 auto; font-size: 23px; font-weight: 400; }
.faq-item[open] .faq-plus { transform: rotate(45deg); }
.faq-item summary::after { display: none; }
.booking-intro { margin-bottom: 22px; color: var(--muted); font-size: 14px; }
.footer-disclaimer { margin-top: 26px; max-width: 750px; font-size: 12px; opacity: .65; }
@media(max-width:768px) { .brand-logo { width: 105px; height: 51px; } .hero-image-note { bottom: 8px; font-size: 9px; } .location-marker { min-height: 280px; } }

/* Readability and narrow-desktop safeguards */
.button-primary { background: var(--forest); color: var(--warm-white); }
.button-primary:hover { background: var(--forest-soft); }
.price-note { font-size: 12px; line-height: 1.65; }
.price-secondary { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 12px; font-size: 12px; }
.price-value > span { font-family: var(--sans); font-size: 18px; letter-spacing: 0; margin-right: 5px; }
.family-editorial { display: flex; flex-direction: column; gap: 28px; }
.feature-story { display: flex; gap: 24px; border-top: 1px solid var(--line); }
.feature-story > div { flex: 1; min-width: 0; }
.feature-number { flex: 0 0 35px; }
.feature-story h3 { font-size: 27px; }
.feature-story p { margin-top: 9px; font-size: 14px; }
.section-note { font-size: 12px; }
.booking-status { font-size: 13px; line-height: 1.7; }
@media(min-width:1025px) { .hero-title { max-width: min(650px, calc(100% - 365px)); font-size: clamp(64px,6.5vw,94px); line-height: 1; } .lang-zh .hero-title { font-size: clamp(48px,5vw,72px); line-height: 1.25; } .hero-content { min-height: 640px; } .hero-description { max-width: min(34rem,calc(100% - 365px)); } }
@media(max-width:1024px) and (min-width:769px) { .hero-content { padding-bottom: 290px; } .hero-price { bottom: 60px; left: var(--gutter); right: auto; width: min(540px,calc(100% - 2 * var(--gutter))); } }
@media(max-width:768px) { .lang-zh .hero-title { font-size: clamp(38px,8vw,58px); line-height: 1.28; } .lang-en .hero-title { line-height: 1; } .feature-story { gap: 16px; } .feature-story h3 { font-size: 24px; } }

/* Fixes from the focused implementation review */
.hero-image-note { left: auto; right: var(--gutter); top: 14px; bottom: auto; max-width: 48%; padding: 4px 8px; text-align: right; background: rgba(13,44,37,.65); }
.mobile-contact > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; color: var(--forest); line-height: 1.2; }
.mobile-contact > div small { font-size: 10px; letter-spacing: .04em; }
.mobile-contact > div strong { font-size: 18px; font-weight: 700; white-space: nowrap; }
.booking-intro { padding: 0 1.7rem; margin-top: 1.4rem; }
.booking-help { padding: 0 1.7rem 1.4rem; }
.plan-toolbar { justify-content: space-between; }
.plan-toolbar > div { display: flex; align-items: center; gap: 6px; }
@media(max-width:480px) { .plan-toolbar { flex-wrap: wrap; gap: 14px; } .hero-image-note { max-width: 70%; font-size: 9px; } }

/* Approved content revision: no hero/card price panels, simplified visit section. */
.package-pricing { color: var(--forest); font-size: 15px; font-weight: 600; line-height: 1.55; }
.location-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 30px; }
.location-actions .button { width: min(350px,100%); justify-content: space-between; }
.location-note { max-width: 520px; }
@media(min-width:1025px) { .hero-title { max-width: 800px; } .hero-description { max-width: 620px; } }
@media(max-width:1024px) and (min-width:769px) { .hero-content { padding-bottom: 95px; } }
@media(max-width:768px) { .hero-content { padding-bottom: 90px; } .mobile-contact { justify-content: center; } .mobile-contact > .button { width: 100%; justify-content: center; } }

/* Viewing button matches the light Google Maps button in the visit section. */
.location-actions [data-intent="actual-unit"] {
  color: var(--forest);
  background: var(--warm-white);
  border-color: var(--warm-white);
}
.location-actions [data-intent="actual-unit"]:hover {
  color: var(--warm-white);
  background: var(--forest-soft);
  border-color: var(--warm-white);
}

/* Typography and master-plan integration */
.plan-image-trigger,
.masterplan-image-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.plan-image-trigger:focus-visible,
.masterplan-image-trigger:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 4px;
}
.layout-image > .plan-image-trigger {
  width: 100%;
}
.masterplan-image-trigger img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.masterplan-modal {
  width: min(1400px, 95vw) !important;
}
.masterplan-stage {
  overflow: auto;
  padding: 16px;
  background: #fff;
}
.masterplan-full {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  object-fit: contain;
}
.location-map.has-masterplan {
  min-height: 0;
  align-self: start;
  background: #fff;
}
.location-map.has-masterplan .location-map-image {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
  filter: none;
}
.location-map.has-masterplan .map-caption {
  position: static;
  right: auto;
  bottom: auto;
  left: auto;
  width: 100%;
  padding: 0.8rem 0.95rem;
  color: var(--forest);
  background: #fff;
  text-align: left;
}

.masterplan-stage { max-height: min(65vh, 620px); }

/* Final layout readability and natural-plan-flow refinements. */
.hero-actions a[href="#layouts"] {
  color: #fff;
  border-color: #fff;
  background: transparent;
}

.hero-actions a[href="#layouts"]:hover {
  color: #fff;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.2);
}

.family-plan .text-button {
  position: static;
  display: flex;
  width: max-content;
  max-width: 100%;
  margin: 0.55rem 0 0.2rem auto;
}

.family-plan figcaption {
  padding: 0.2rem 0 1.05rem;
}

.layout-card {
  grid-template-rows: auto auto auto;
  min-height: 0;
}

.layout-image {
  min-height: 0;
  background: var(--warm-white);
}

.layout-image > .plan-image-trigger {
  position: relative;
  display: block;
  height: auto;
  min-height: 0;
  background: var(--warm-white);
  text-align: left;
}

.layout-image img {
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: initial;
}

.layout-details {
  min-height: 0;
  padding-top: 0;
}

.layout-image > .plan-image-trigger .plan-expand {
  right: 0.75rem;
  bottom: 0.75rem;
  color: #fff;
  background: var(--forest);
  border: 2px solid var(--copper-light);
  box-shadow: 0 4px 12px rgba(13, 44, 37, 0.2);
}

.layout-image > .plan-image-trigger:hover .plan-expand,
.layout-image > .plan-image-trigger .plan-expand:hover {
  color: var(--forest);
  background: var(--copper-light);
  border-color: var(--forest);
}

/* Compact family-plan presentation; no decorative circle or caption. */
.family-plan::before {
  content: none;
  display: none;
}
.family-plan {
  padding: 0.65rem 0.65rem 0.45rem;
  align-self: start;
}
.family-plan .plan-preview {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}
.family-plan > .text-button {
  position: static;
  margin: 0.25rem 0 0 auto;
  padding-block: 0;
}
.family-content {
  align-items: start;
}
@media (max-width: 768px) {
  .family-content {
    gap: 2rem;
  }
}

/* Hero line-level typography for the rendered bilingual copy. */
.hero-title,
.hero-description,
.hero-title-line,
.hero-description-line {
  font-family: var(--sans);
}

.hero-title {
  width: 100%;
  max-width: none;
}

.hero-title-line,
.hero-description-line {
  display: block;
  max-width: 100%;
  white-space: nowrap;
}

.hero-title-line {
  width: max-content;
}

.hero-title-line:nth-child(3) {
  font-size: clamp(3.1rem, 4.4vw, 4.9rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.hero-description {
  width: 100%;
  max-width: none;
}

.amenity-note.amenity-link {
  display: inline-flex;
  align-items: center;
  color: var(--copper);
  cursor: pointer;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.amenity-note.amenity-link:hover,
.amenity-note.amenity-link:focus-visible {
  color: var(--forest);
  border-color: var(--copper);
  background: var(--copper-light);
}

@media (max-width: 768px) {
  .hero-title {
    width: 100%;
    max-width: none;
    font-size: clamp(2.25rem, 11vw, 2.75rem);
    line-height: 1.02;
  }

  .hero-title-line:nth-child(3) {
    font-size: clamp(1.45rem, 6.8vw, 1.75rem);
    line-height: 1.12;
    letter-spacing: -0.015em;
  }

  .hero-description {
    width: calc(100% + var(--gutter));
    max-width: none;
    font-size: clamp(9px, 2.7vw, 16px);
    line-height: 1.55;
  }

  .lang-zh .hero-description {
    width: 100%;
    font-size: clamp(11px, 3.4vw, 15px);
  }
}
