:root {
  --forest: #193c31;
  --ink: #193c31;
  --ink-deep: #102c24;
  --moss: #6b836c;
  --sage: #dce3d5;
  --sage-light: #e9ede4;
  --ivory: #f6f2e8;
  --paper: #fffdf7;
  --sand: #d8c7a6;
  --line: rgba(25, 60, 49, .17);
  --shadow: 0 24px 65px rgba(27, 50, 38, .13);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.language-pending body { visibility: hidden; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
}
body.dialog-open { overflow: hidden; }
img { width: 100%; display: block; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header {
  min-height: 98px;
  padding: 18px clamp(24px, 6vw, 96px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  position: relative;
  z-index: 30;
  background: rgba(246, 242, 232, .95);
  border-bottom: 1px solid var(--line);
}
.wordmark {
  display: inline-flex;
  flex-direction: column;
  line-height: .82;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .17em;
}
.wordmark span:last-child { font-size: 22px; letter-spacing: .11em; }
.site-nav { display: flex; align-items: center; gap: clamp(20px, 2.5vw, 42px); }
.site-nav > a:not(.nav-appointment) {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  position: relative;
}
.site-nav > a:not(.nav-appointment)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.site-nav > a:hover::after, .site-nav > a:focus-visible::after { transform: scaleX(1); }
.nav-appointment {
  border: 1px solid var(--ink);
  padding: 11px 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: .25s ease;
}
.nav-appointment:hover { background: var(--ink); color: var(--paper); }
.nav-toggle { display: none; border: 0; background: none; color: var(--ink); font-size: 21px; }
.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--forest);
}
.language-switcher button {
  min-width: 44px;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.language-switcher button[aria-pressed="true"] {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .3em;
}
.language-switcher button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
html[lang="zh-CN"] body {
  font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}
html[lang="zh-CN"] [data-language-content="en"] { display: none; }

.homepage-films { background: var(--ink-deep); color: var(--paper); }
.homepage-film { margin: 0; }
.homepage-film-intro { padding: clamp(18px, 2.4vw, 38px) clamp(18px, 4vw, 64px) clamp(70px, 8vw, 120px); }
.homepage-film-frame {
  width: 100%;
  max-width: 1600px;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  background: #08140f;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .28);
}
.homepage-film-frame video { width: 100%; height: 100%; display: block; object-fit: contain; background: #08140f; }
.homepage-film-play {
  width: clamp(92px, 9vw, 132px);
  aspect-ratio: 1;
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 9px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, .76);
  border-radius: 50%;
  background: rgba(246, 242, 232, .93);
  color: var(--ink-deep);
  cursor: pointer;
  box-shadow: 0 15px 38px rgba(0, 0, 0, .24);
  transition: transform .25s ease, background .25s ease;
}
.homepage-film-play:hover { transform: translate(-50%, -50%) scale(1.04); background: #fffdf7; }
.homepage-film-play:focus-visible { outline: 3px solid var(--sand); outline-offset: 5px; }
.homepage-film-play[hidden] { display: none; }
.homepage-film-play i { padding-left: .16em; font-size: clamp(24px, 2.5vw, 34px); }
.homepage-film-play span { max-width: 82px; font-size: 11px; font-weight: 800; line-height: 1.3; letter-spacing: .1em; text-align: center; text-transform: uppercase; }
.homepage-film-caption { max-width: 1600px; margin: 0 auto; padding-top: 24px; display: flex; align-items: baseline; justify-content: space-between; gap: 28px; }
.homepage-film-caption .eyebrow { margin: 0; color: #c5d0c3; }
.homepage-film-caption > p:last-child { margin: 0; color: #abbab2; font-family: var(--serif); font-size: clamp(18px, 1.7vw, 27px); }
.homepage-film-community { padding: clamp(82px, 9vw, 138px) clamp(18px, 7vw, 110px) clamp(95px, 10vw, 155px); background: var(--ivory); color: var(--ink); }
.homepage-film-heading { max-width: 860px; margin: 0 auto clamp(38px, 5vw, 66px); text-align: center; }
.homepage-film-heading h2 { font-size: clamp(46px, 5.6vw, 76px); }
.homepage-film-heading > p:last-child { max-width: 660px; margin: 24px auto 0; color: #607168; }

.hero {
  min-height: calc(100vh - 98px);
  display: grid;
  grid-template-columns: minmax(500px, 1fr) minmax(540px, 1.18fr);
  align-items: stretch;
  position: relative;
  padding-bottom: 52px;
}
.hero-copy {
  padding: clamp(58px, 7vw, 100px) clamp(38px, 7vw, 105px) 70px;
  align-self: center;
}
.eyebrow {
  margin: 0 0 20px;
  color: var(--moss);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .25em;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: .98; margin: 0; }
h1 { font-size: clamp(58px, 6vw, 88px); letter-spacing: -.045em; }
h1 em { color: var(--moss); font-weight: 500; }
.hero-subtitle { margin: 28px 0 12px; font-family: var(--serif); font-size: clamp(23px, 2.1vw, 34px); }
.hero-intro { max-width: 520px; margin: 0 0 34px; color: #53665e; }
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  padding: 13px 22px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.button-primary { background: var(--ink); color: var(--paper); }
.button-primary:hover { background: var(--ink-deep); }
.hero-proof { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 36px; font-size: 13px; text-transform: uppercase; letter-spacing: .09em; }
.hero-proof span { display: flex; gap: 9px; align-items: center; }
.hero-media { min-height: 620px; margin: 0; overflow: hidden; position: relative; border-bottom-left-radius: 170px; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 58%, rgba(9,34,27,.4)); }
.hero-media img { height: 100%; }
.hero-media figcaption { position: absolute; right: 32px; bottom: 24px; z-index: 1; color: white; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; }
.scroll-cue { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; align-items: center; gap: 14px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; writing-mode: vertical-rl; }

.intro-section { max-width: 850px; margin: 0 auto; padding: 140px 32px 95px; text-align: center; }
.intro-section h2, .library-heading h2, .section-kicker h2 { font-size: clamp(46px, 5.6vw, 76px); }
.intro-section > p:last-child { max-width: 620px; margin: 26px auto 0; color: #607168; }

.project-list { padding: 0 clamp(24px, 6vw, 96px) 140px; }
.project-card {
  max-width: 1380px;
  margin: 0 auto 100px;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(380px, .78fr);
  min-height: 650px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.project-card-reverse { grid-template-columns: minmax(380px, .78fr) minmax(0, 1.22fr); }
.project-card-reverse .project-image { order: 2; }
.project-image { margin: 0; position: relative; min-height: 550px; overflow: hidden; }
.project-image img { height: 100%; transition: transform .8s cubic-bezier(.2,.6,.2,1); }
.project-card:hover .project-image img { transform: scale(1.02); }
.project-number {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  position: absolute;
  right: 24px;
  top: 24px;
  border-radius: 50%;
  background: rgba(246,242,232,.92);
  font-family: var(--serif);
  font-size: 24px;
}
.project-content { padding: clamp(46px, 5.4vw, 84px); display: flex; flex-direction: column; justify-content: center; }
.project-content h3 { font-size: clamp(47px, 5vw, 72px); }
.project-lead { margin: 25px 0 28px; color: #61736a; }
.quick-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0 0 30px; border-block: 1px solid var(--line); padding: 18px 0; }
.quick-facts div + div { border-left: 1px solid var(--line); padding-left: 18px; }
.quick-facts dt { color: #728077; font-size: 12px; text-transform: uppercase; letter-spacing: .13em; }
.quick-facts dd { margin: 2px 0 0; font-family: var(--serif); font-size: 19px; font-weight: 600; }
.project-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.project-actions button {
  flex: 1 1 calc(50% - 8px);
  min-width: 170px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  padding: 12px 14px;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
  transition: .2s ease;
}
.project-actions button:hover, .project-actions button:focus-visible { background: var(--ink); color: white; transform: translateY(-2px); }

.information-library { background: var(--ink); color: var(--paper); padding: clamp(90px, 10vw, 150px) clamp(24px, 8vw, 120px); }
.library-heading { display: grid; grid-template-columns: .55fr 1.45fr; align-items: end; gap: 40px; padding-bottom: 60px; }
.information-library .eyebrow { color: #b7c6b5; }
.library-links { border-top: 1px solid rgba(255,255,255,.2); }
.library-links a { display: grid; grid-template-columns: 45px 44px 1fr 1.1fr 30px; gap: 22px; align-items: center; border-bottom: 1px solid rgba(255,255,255,.2); padding: 28px 0; transition: .25s ease; }
.library-links a:hover { padding-left: 12px; background: rgba(255,255,255,.04); }
.library-links span { color: #9fb09e; font-family: var(--serif); }
.library-links > a > i:first-of-type { font-size: 21px; color: #c7d1bd; }
.library-links b { font-family: var(--serif); font-size: 34px; }
.library-links small { color: #b8c5bd; }

.editorial-section { max-width: 1380px; margin: 0 auto; display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; padding: 140px clamp(24px, 6vw, 96px); gap: clamp(50px, 8vw, 120px); }
.editorial-copy h2 { font-size: clamp(46px, 5vw, 72px); }
.editorial-copy > p:not(.eyebrow) { color: #607168; }
.editorial-section figure { margin: 0; height: 520px; overflow: hidden; border-top-left-radius: 120px; }
.editorial-section figure img { height: 100%; }
.text-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; padding-bottom: 4px; border-bottom: 1px solid var(--ink); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

.amenities-section { background: var(--sage-light); padding: 125px clamp(24px, 8vw, 120px); }
.section-kicker { max-width: 800px; margin-bottom: 60px; }
.section-kicker > p:last-child { max-width: 680px; color: #607168; }
.amenity-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(26px, 4vw, 58px); }
.amenity-group { min-width: 0; }
.amenity-range { margin: 0 0 8px; color: var(--moss); font-size: 12px; font-weight: 700; letter-spacing: .16em; }
.amenity-group h3 { margin-bottom: 24px; font-size: clamp(28px, 2.5vw, 38px); }
.amenity-group ul { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.amenity-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 18px; padding: 15px 0; border-top: 1px solid var(--line); color: #56685f; line-height: 1.45; }
.amenity-item strong { color: var(--ink); font-weight: 700; }
.amenity-item b { color: var(--ink); font-size: 13px; letter-spacing: .06em; white-space: nowrap; }

.features-section { background: #17355f; color: var(--paper); padding: clamp(80px, 8vw, 118px) clamp(24px, 6vw, 96px); }
.features-inner { max-width: 1540px; margin: 0 auto; }
.features-section h2 { color: var(--sand); font-family: var(--sans); font-size: clamp(43px, 4.3vw, 64px); font-weight: 700; line-height: 1; letter-spacing: -.035em; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(42px, 5vw, 70px) clamp(42px, 7vw, 105px); margin-top: clamp(48px, 5vw, 70px); }
.feature-item { min-width: 0; display: grid; grid-template-columns: 54px minmax(0, 1fr); align-items: center; gap: 20px; }
.feature-item i { color: #f7f4ec; font-size: clamp(28px, 2.4vw, 38px); text-align: center; }
.feature-item span { color: #fff; font-size: clamp(17px, 1.55vw, 25px); line-height: 1.3; }
.feature-detail-card { width: 100%; min-height: 148px; padding: 20px; border: 1px solid rgba(247,244,236,.34); border-radius: 3px; background: rgba(255,255,255,.05); color: inherit; cursor: pointer; font: inherit; text-align: left; transition: background .25s ease, transform .25s ease; }
.feature-detail-card:hover { background: rgba(255,255,255,.1); transform: translateY(-2px); }
.feature-detail-card:focus-visible { outline: 3px solid var(--sand); outline-offset: 4px; }
.feature-detail-copy { min-width: 0; display: grid; align-content: center; gap: 10px; }
.feature-detail-cta { width: fit-content; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 8px 13px; background: var(--sand); color: #17355f !important; font-size: 13px !important; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

.appointment-section { display: grid; grid-template-columns: .86fr 1.14fr; background: var(--ink-deep); color: var(--paper); padding: 120px clamp(24px, 8vw, 120px); gap: clamp(60px, 10vw, 150px); }
.appointment-section .eyebrow { color: #adc0ac; }
.appointment-copy h2 { font-size: clamp(50px, 5.3vw, 78px); }
.appointment-copy > p:not(.eyebrow) { color: #b8c6c0; }
.phone-link { display: inline-flex; align-items: center; gap: 15px; margin-top: 24px; }
.phone-link > i { font-size: 35px; color: #9fc995; }
.phone-link span { color: #afbeb7; font-size: 13px; letter-spacing: .09em; text-transform: uppercase; }
.phone-link b { color: white; font-size: 18px; letter-spacing: .03em; }
.appointment-form { background: var(--paper); color: var(--ink); padding: clamp(30px, 4vw, 52px); }
.appointment-form > label { display: block; margin-top: 20px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .11em; }
.appointment-form input, .appointment-form select { width: 100%; height: 50px; margin-top: 6px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--ink); outline: none; }
.appointment-form input:focus, .appointment-form select:focus { border-bottom-color: var(--ink); }
.mode-selector { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mode-selector input { position: absolute; left: 0; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.mode-selector span { display: flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid var(--line); padding: 13px; cursor: pointer; font-size: 14px; }
.mode-selector input:checked + span { background: var(--ink); color: white; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field-row label { margin-top: 20px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .11em; }
.appointment-form .button { width: 100%; margin-top: 30px; }
.form-note { margin: 10px 0 0; color: #7a877f; font-size: 12px; text-align: center; }

footer { min-height: 155px; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 42px clamp(24px, 6vw, 96px); border-top: 1px solid var(--line); }
.wordmark-footer { font-size: 16px; }
footer p { color: #738078; font-family: var(--serif); font-size: 18px; }
footer > div { display: flex; gap: 22px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }

.floating-whatsapp { position: fixed; right: 22px; bottom: 22px; z-index: 25; display: flex; align-items: center; gap: 11px; background: #265f43; color: white; padding: 12px 16px; box-shadow: 0 12px 30px rgba(15,45,32,.28); border-radius: 3px; }
.floating-whatsapp i { font-size: 26px; }
.floating-whatsapp span { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; line-height: 1.45; }
.floating-whatsapp b { font-size: 13px; letter-spacing: .03em; }

dialog { width: min(1100px, calc(100% - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; color: var(--ink); background: var(--paper); box-shadow: var(--shadow); }
dialog::backdrop { background: rgba(8,27,22,.74); backdrop-filter: blur(5px); }
.dialog-shell { position: relative; padding: clamp(32px, 5vw, 68px); max-height: calc(100vh - 32px); overflow-y: auto; }
.dialog-language-switcher { display: none; position: absolute; top: 18px; left: 18px; padding: 0 2px; border: 1px solid var(--line); background: var(--paper); }
.feature-dialog .dialog-language-switcher { display: inline-flex; }
.dialog-close { position: absolute; right: 18px; top: 18px; width: 42px; height: 42px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }
.dialog-shell h2 { font-size: clamp(44px, 5vw, 70px); margin-bottom: 34px; }
.dialog-tabs { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 24px; }
.dialog-tabs button { border: 1px solid var(--line); padding: 10px 14px; background: transparent; color: var(--ink); cursor: pointer; }
.dialog-tabs button.active { background: var(--ink); color: white; }
.dialog-image { max-height: 650px; object-fit: contain; background: #eeeee9; }
.plan-media-stack { display: grid; gap: 42px; }
.plan-media-panel { margin: 0; }
.plan-media-caption { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; margin-bottom: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.plan-media-caption span { font-family: var(--serif); font-size: 27px; font-weight: 600; }
.plan-media-caption small { color: #738078; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.plan-image-frame { overflow: hidden; background: #eeeee9; }
.plan-image-frame .dialog-image { width: 100%; }
.plan-image-frame-crop { aspect-ratio: 1.36; }
.plan-image-frame-crop .plan-floorplan-image { height: auto; max-height: none; object-fit: cover; object-position: top; }
.plan-facade-image { max-height: 620px; object-fit: cover; }
.dialog-plan-document-stack { display: grid; gap: 42px; }
.dialog-plan-document { margin: 0; }
.dialog-plan-document figcaption { margin-bottom: 14px; color: #738078; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.plan-document-image { width: 100%; max-height: none; object-fit: contain; background: #f0f1ec; }
.feature-gallery-main { width: 100%; height: min(58vh, 620px); display: grid; place-items: center; overflow: hidden; background: #eeeee9; }
.feature-gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.feature-gallery-main + .thumbnail-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature-gallery-main + .thumbnail-row button { min-height: 44px; }
.feature-document-stack { display: grid; gap: 30px; }
.feature-document-stack figure { margin: 0; }
.feature-document-image { width: 100%; height: auto; max-height: none; object-fit: contain; }
.dialog-gallery-main { height: min(58vh, 620px); }
.dialog-gallery-main img { height: 100%; }
.thumbnail-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
.thumbnail-row button { padding: 0; border: 2px solid transparent; background: none; cursor: pointer; }
.thumbnail-row button.active { border-color: var(--ink); }
.thumbnail-row img { height: 100px; }
.detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.detail-grid > div { min-height: 125px; background: var(--paper); padding: 23px; }
.detail-grid span { display: block; color: #78847d; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.detail-grid b { font-family: var(--serif); font-size: 24px; }
.detail-notes { margin: 34px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.detail-notes li { display: flex; gap: 10px; align-items: baseline; }
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.video-card { background: var(--sage-light); padding: 12px; }
.video-frame { aspect-ratio: 16 / 9; border: 0; width: 100%; display: block; }
.video-card h3 { font-family: var(--sans); font-size: 13px; padding: 12px 6px 2px; }

.virtual-tour-dialog { width: min(1320px, calc(100% - 24px)); }
.virtual-tour-dialog .dialog-shell { padding: clamp(28px, 4vw, 52px); }
.virtual-tour-viewer { display: grid; gap: 12px; min-height: 0; }
.virtual-tour-toolbar { display: flex; align-items: center; gap: 8px; background: var(--paper); z-index: 2; }
.virtual-tour-toolbar button,
.virtual-tour-toolbar a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 14px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; }
.virtual-tour-external { margin-left: auto; }
.virtual-tour-frame-shell { position: relative; aspect-ratio: 16 / 9; min-height: 420px; overflow: hidden; background: #111; }
.virtual-tour-status { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; padding: 24px; text-align: center; color: #fff; background: #111; }
.virtual-tour-status p { margin: 0 0 14px; }
.virtual-tour-fallback { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 16px; border: 1px solid currentColor; color: #fff; }
.virtual-tour-frame { display: block; width: 100%; height: 100%; border: 0; background: #111; }
.virtual-tour-viewer:fullscreen { height: 100%; grid-template-rows: auto minmax(0, 1fr); padding: 12px; background: #111; }
.virtual-tour-viewer:fullscreen .virtual-tour-toolbar { background: var(--paper); }
.virtual-tour-viewer:fullscreen .virtual-tour-frame-shell { height: 100%; min-height: 0; aspect-ratio: auto; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1050px) {
  .hero { grid-template-columns: minmax(410px, .9fr) minmax(460px, 1.1fr); }
  .hero-copy { padding-inline: 45px; }
  .project-card, .project-card-reverse { grid-template-columns: 1fr 1fr; }
  .project-content { padding: 42px; }
  .amenity-groups { grid-template-columns: 1fr 1fr; }
  .amenity-group:last-child { grid-column: 1 / -1; }
  .appointment-section { gap: 50px; }
}

@media (max-width: 820px) {
  .site-header { min-height: 78px; }
  .nav-toggle { display: block; margin-left: auto; }
  .site-nav { display: none; position: absolute; inset: 78px 0 auto; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); padding: 22px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px; }
  .language-switcher { order: -1; width: 100%; justify-content: center; }
  .dialog-language-switcher { width: auto; justify-content: flex-start; }
  .homepage-film-caption { display: block; }
  .homepage-film-caption > p:last-child { margin-top: 10px; }
  .hero { min-height: 0; grid-template-columns: 1fr; padding-bottom: 0; }
  .hero-copy { order: 2; padding: 64px 26px 80px; }
  .hero-media { min-height: 58vh; border-bottom-left-radius: 90px; }
  .scroll-cue { display: none; }
  .project-list { padding-inline: 18px; }
  .project-card, .project-card-reverse { grid-template-columns: 1fr; min-height: 0; }
  .project-card-reverse .project-image { order: 0; }
  .project-image { min-height: 440px; }
  .library-heading { grid-template-columns: 1fr; }
  .library-links a { grid-template-columns: 34px 35px 1fr 24px; }
  .library-links small { display: none; }
  .editorial-section { grid-template-columns: 1fr; padding-block: 90px; }
  .editorial-section figure { order: -1; }
  .amenity-groups, .feature-grid { grid-template-columns: 1fr; }
  .amenity-group:last-child { grid-column: auto; }
  .appointment-section { grid-template-columns: 1fr; }
  footer { flex-direction: column; text-align: center; }
}

@media (max-width: 540px) {
  body { font-size: 16px; }
  .homepage-film-intro { padding: 12px 12px 64px; }
  .homepage-film-community { padding: 72px 12px 90px; }
  .homepage-film-community .homepage-film-frame { width: calc(100% + 24px); margin-left: -12px; }
  .homepage-film-caption { padding-inline: 4px; }
  .homepage-film-play { width: 84px; gap: 6px; }
  .homepage-film-play span { max-width: 72px; font-size: 11px; }
  h1 { font-size: 55px; }
  .hero-media { min-height: 430px; }
  .intro-section { padding-block: 90px 70px; }
  .project-card { margin-bottom: 55px; }
  .project-image { min-height: 300px; }
  .project-content { padding: 36px 23px; }
  .project-content h3 { font-size: 48px; }
  .quick-facts { grid-template-columns: 1fr; }
  .quick-facts div { display: flex; justify-content: space-between; align-items: baseline; }
  .quick-facts div + div { border-left: 0; border-top: 1px solid var(--line); padding: 8px 0 0; margin-top: 8px; }
  .quick-facts dd { font-size: 17px; }
  .project-actions button { flex-basis: 100%; }
  .information-library { padding-block: 80px; }
  .library-links a { gap: 10px; }
  .library-links b { font-size: 26px; }
  .editorial-section figure { height: 350px; border-top-left-radius: 75px; }
  .features-section { padding-block: 72px; }
  .feature-grid { gap: 32px; margin-top: 42px; }
  .feature-item { grid-template-columns: 45px 1fr; gap: 17px; }
  .feature-detail-card { padding: 18px; }
  .feature-gallery-main { height: min(52vh, 440px); }
  .feature-gallery-main + .thumbnail-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-gallery-main + .thumbnail-row img { height: 88px; }
  .feature-document-stack { gap: 22px; }
  .appointment-section { padding-block: 80px; }
  .appointment-form { padding: 26px 20px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .floating-whatsapp span { display: none; }
  .floating-whatsapp { width: 52px; height: 52px; justify-content: center; border-radius: 50%; padding: 0; }
  .detail-grid { grid-template-columns: 1fr 1fr; }
  .detail-notes, .video-grid { grid-template-columns: 1fr; }
  .dialog-shell { padding: 55px 20px 28px; }
  .dialog-gallery-main { height: 360px; }
  .thumbnail-row { grid-template-columns: repeat(2, 1fr); }
  .plan-media-stack { gap: 30px; }
  .plan-media-caption span { font-size: 23px; }
  .virtual-tour-dialog { width: 100%; height: 100dvh; max-height: 100dvh; margin: 0; }
  .virtual-tour-dialog .dialog-shell { height: 100dvh; max-height: none; padding: 54px 12px 12px; overflow: hidden; display: flex; flex-direction: column; }
  .virtual-tour-dialog .dialog-shell h2 { margin-bottom: 14px; font-size: 38px; }
  .virtual-tour-dialog #dialog-content { flex: 1; min-height: 0; }
  .virtual-tour-viewer { height: 100%; grid-template-rows: auto minmax(0, 1fr); }
  .virtual-tour-toolbar { position: sticky; top: 0; flex-wrap: wrap; }
  .virtual-tour-toolbar button,
  .virtual-tour-toolbar a { flex: 1 1 auto; font-size: 14px; }
  .virtual-tour-external { margin-left: 0; }
  .virtual-tour-frame-shell { min-height: 0; height: 100%; aspect-ratio: auto; }
  footer > div { flex-wrap: wrap; justify-content: center; }
}

@media (max-height: 540px) and (pointer: coarse) and (orientation: landscape) {
  .virtual-tour-dialog { width: 100%; height: 100dvh; max-height: 100dvh; margin: 0; }
  .virtual-tour-dialog .dialog-shell { height: 100dvh; max-height: none; padding: 54px 12px 12px; overflow: hidden; display: flex; flex-direction: column; }
  .virtual-tour-dialog .dialog-shell h2 { margin-bottom: 14px; font-size: 38px; }
  .virtual-tour-dialog #dialog-content { flex: 1; min-height: 0; }
  .virtual-tour-viewer { height: 100%; grid-template-rows: auto minmax(0, 1fr); }
  .virtual-tour-toolbar { position: sticky; top: 0; flex-wrap: wrap; }
  .virtual-tour-toolbar button,
  .virtual-tour-toolbar a { flex: 1 1 auto; font-size: 14px; }
  .virtual-tour-external { margin-left: 0; }
  .virtual-tour-frame-shell { min-height: 0; height: 100%; aspect-ratio: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .feature-detail-card:hover { transform: none; }
  .reveal { opacity: 1; transform: none; }
}
