@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-700-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin-600-normal.woff2") format("woff2");
}

:root {
  --bg: #f5f5f7;
  --bg-2: #f8f7f3;
  --panel: #ffffff;
  --panel-solid: #ffffff;
  --stroke: rgba(19, 19, 23, 0.12);
  --text: #131317;
  --muted: #58595b;
  --gold: #921c1e;
  --gold-2: #921c1e;
  --ink: #ffffff;
  --cream: #f5f0ea;
  --shadow: 0 12px 32px rgba(19, 19, 23, 0.06);
  --radius: 20px;
  --max: 1180px;
  --nav-h: 76px;
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Source Sans 3", "Segoe UI", sans-serif;
  --section: clamp(0.8125rem, 1.5vw, 1.3125rem);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  margin: 0;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.65;
  background: var(--bg);
  overflow-x: clip;
}

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

a {
  color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--gold-2);
}

h1,
h2,
h3,
.display {
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  margin: 0;
}

.nowrap {
  white-space: nowrap;
}

h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.25rem);
  margin: 0 0 0.55em;
}

h3 {
  font-size: 1.45rem;
  margin: 0 0 0.4em;
}

p {
  margin: 0 0 1rem;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: 0;
  transform: translateY(-120%);
  z-index: 80;
  background: #fff;
  color: #000;
  padding: 0.55rem 0.9rem;
  border-radius: 8px;
}

.skip:focus {
  transform: none;
}

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.kicker {
  color: var(--gold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.muted {
  color: var(--muted);
}

.lede {
  font-size: 1.12rem;
  max-width: 42rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--stroke);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: var(--nav-h);
  gap: 1rem;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  color: var(--text);
  text-decoration: none;
  flex: 0 1 auto;
  min-width: 0;
}

.logo img {
  height: 52px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 0.15rem 1.05rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a[aria-current="true"] {
  color: var(--gold-2);
  border-bottom-color: var(--gold);
}

.desktop-nav {
  margin-left: auto;
}

.nav-details {
  display: none;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--stroke);
  border-radius: 8px;
  cursor: pointer;
  color: var(--text);
  background: #fff;
  align-items: center;
  justify-content: center;
  list-style: none;
  flex-shrink: 0;
}

.menu-toggle::-webkit-details-marker {
  display: none;
}

.menu-toggle::marker {
  content: "";
}

.menu-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.menu-toggle img {
  width: 22px;
  height: 22px;
  display: block;
  /* Source icon is white. */
  filter: brightness(0);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.82rem;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.2;
}

.btn-primary {
  background: var(--gold);
  color: #fff;
}

.btn-primary:hover {
  color: #fff;
  filter: brightness(1.08);
}

.btn-ghost {
  border-color: rgba(19, 19, 23, 0.22);
  color: var(--text);
  background: #fff;
}

.btn-ghost:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.nav-cta {
  flex: 0 0 auto;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  padding: 4.5rem 0 3.5rem;
  overflow: hidden;
}

@media (min-width: 641px) {
  .hero {
    min-height: min(88vh, 820px);
  }
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}

.hero-media video {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
}

@media (max-width: 980px) {
  .hero-media video {
    display: none;
  }
}

@media (min-width: 981px) {
  .hero-media video.is-ready {
    opacity: 1;
  }
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(19, 19, 23, 0.18) 0%, rgba(19, 19, 23, 0.05) 42%, rgba(19, 19, 23, 0.72) 100%);
}

.hero-copy {
  max-width: 46rem;
  margin-inline: auto;
  text-align: center;
  color: #fff;
}

.hero-copy .kicker,
.hero-copy h1,
.hero-copy .hero-lead,
.hero-copy .hero-note {
  max-width: 40rem;
  margin-inline: auto;
}

.hero .kicker {
  color: rgba(255, 255, 255, 0.86);
}

.hero h1 {
  text-wrap: balance;
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: clamp(1.55rem, 3.2vw, 2.45rem);
}

.hero-lead {
  font-size: 1.05rem;
  max-width: 36rem;
  margin: 0.85rem auto 0;
  color: rgba(255, 255, 255, 0.92);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.hero .btn-ghost {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
  background: transparent;
}

.hero .btn-ghost:hover {
  color: #fff;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.hero-note {
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}

section {
  padding: var(--section) 0;
}

section[id] {
  scroll-margin-top: calc(var(--section) * -1);
}

.section-head {
  max-width: 44rem;
  margin-bottom: 2rem;
}

.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem 2rem;
  align-items: start;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  box-shadow: var(--shadow);
}

.spec-list {
  margin: 0;
}

.spec-list div {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 0.35rem 1rem;
  padding: 0.8rem 0;
  border-top: 1px solid var(--stroke);
}

.spec-list div:first-child {
  border-top: 0;
  padding-top: 0;
}

.spec-list dt {
  margin: 0;
  color: var(--gold-2);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.spec-list dd {
  margin: 0;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
}

.gallery a,
.plan-card a,
.facility-card img {
  border-radius: 12px;
}

.gallery a {
  position: relative;
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #ececee;
  cursor: zoom-in;
}

.gallery a.gallery-video {
  cursor: pointer;
}

.play-btn {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.play-btn span {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.92);
  color: var(--gold);
  box-shadow: var(--shadow);
}

.play-btn svg {
  width: 1.15rem;
  height: 1.15rem;
  margin-left: 0.15rem;
}

.gallery img,
.facility-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery a:hover img,
.facility-card:hover img {
  transform: scale(1.03);
}

.gallery img,
.facility-card img {
  transition: transform 0.45s ease;
}

.facility-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.facility-card {
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.facility-card .media {
  aspect-ratio: 16 / 10;
  background: #ececee;
  overflow: hidden;
}

.facility-card .media a {
  display: block;
  height: 100%;
  cursor: zoom-in;
}

.facility-card .body,
.plan-card .body {
  padding: 1rem 1.05rem 1.15rem;
}

.facility-card h3,
.plan-card h3 {
  font-size: 1.35rem;
}

.place {
  color: var(--gold-2);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.35rem;
}

.plan-block + .plan-block {
  margin-top: 2.4rem;
}

.plan-grid,
.unit-grid {
  display: grid;
  gap: 1rem;
}

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

.unit-grid {
  grid-template-columns: repeat(5, 1fr);
}

.plan-card {
  background: var(--cream);
  color: #1c1914;
  border-radius: var(--radius);
  overflow: hidden;
}

.plan-card a {
  display: block;
  background: #fff;
}

.plan-card img {
  width: 100%;
  height: 280px;
  object-fit: contain;
  background: #fff;
}

.unit-grid .plan-card img {
  height: 240px;
}

.plan-card img.room-photo {
  object-fit: cover;
}

.plan-card h3,
.plan-card p {
  color: #1c1914;
}

.plan-card .meta {
  color: #7a6240;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 0.3rem;
}

.location-map {
  width: 100%;
  margin-bottom: 1.2rem;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--stroke);
  text-align: center;
}

.location-note {
  margin-top: 1rem;
}

.location-map img {
  width: 100%;
  height: auto;
}

.place-groups {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.place-groups ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.place-groups li {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--stroke);
}

.place-groups li span:last-child {
  color: var(--gold-2);
  white-space: nowrap;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.2rem;
  align-items: start;
}

.contact-block {
  margin-top: 2.6rem;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.team-card {
  text-align: center;
}

.team-card img.portrait {
  width: 180px;
  height: 180px;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 50%;
  margin: 0 auto 1rem;
  border: 3px solid #c9a44a;
  background: var(--cream);
}

.team-card h3 {
  margin-bottom: 0.2rem;
}

.team-card .meta {
  color: var(--muted);
  margin: 0 0 0.9rem;
}

.team-qr {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1rem;
}

.team-qr-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  flex: 0 0 7.5rem;
  width: 7.5rem;
  color: var(--text);
  text-decoration: none;
}

.team-qr-link img {
  width: 7.5rem;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--stroke);
  border-radius: 10px;
}

.team-qr-link span {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.team-qr-link:hover {
  color: var(--gold);
}

.team-qr-link:hover img {
  border-color: #c9a44a;
}

.office-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.map {
  width: 100%;
  height: 280px;
  border: 0;
  border-radius: 16px;
  margin-top: 0.6rem;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  margin: 0 0 0.85rem;
}

.contact-list strong {
  display: block;
  color: var(--gold-2);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

form.inquiry {
  display: grid;
  gap: 0.85rem;
}

.field {
  display: grid;
  gap: 0.3rem;
  font-size: 0.95rem;
}

.req {
  color: var(--gold-2);
}

input,
select,
textarea {
  font: inherit;
  color: var(--text);
  background: #fff;
  border: 1px solid rgba(19, 19, 23, 0.16);
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  width: 100%;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.form-status {
  margin: 0;
  padding: 0.8rem 0.9rem;
  border-radius: 12px;
  background: #f8eeee;
  border: 1px solid rgba(146, 28, 30, 0.28);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.fine-print {
  color: var(--muted);
  font-size: 0.88rem;
  max-width: 70rem;
}

.site-footer {
  border-top: 1px solid var(--stroke);
  padding: 2.5rem 0 1.4rem;
  background: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 1.5rem;
}

.site-footer h2 {
  font-size: 1.35rem;
  margin-bottom: 0.45rem;
}

.site-footer .logo img {
  height: 44px;
  margin-bottom: 0.8rem;
}

.site-footer small {
  display: block;
  margin-top: 1.6rem;
  color: var(--muted);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: var(--text);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--gold-2);
}

.footer-links li + li {
  margin-top: 0.35rem;
}

.page-missing {
  min-height: 60vh;
  display: grid;
  align-items: center;
  padding: 4rem 0;
}

.lightbox {
  width: min(1100px, calc(100vw - 1.5rem));
  max-height: calc(100vh - 1.5rem);
  padding: 0.85rem 0.9rem 1rem;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow);
}

.lightbox::backdrop {
  background: rgba(19, 19, 23, 0.46);
}

.lightbox figure {
  margin: 0;
}

.lightbox img,
.lightbox video {
  width: 100%;
  max-height: min(78vh, 820px);
  object-fit: contain;
  background: var(--bg);
  border-radius: 12px;
}

.lightbox video {
  display: block;
  background: #111;
  max-height: calc(100vh - 11rem);
}

.lightbox img[hidden],
.lightbox video[hidden],
.lightbox .fine-print[hidden] {
  display: none;
}

.lightbox figcaption {
  margin-top: 0.75rem;
  color: var(--muted);
}

.lightbox-bar {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: #fff;
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 1.25rem;
  line-height: 1;
}

.icon-btn:hover {
  color: var(--gold);
  border-color: var(--gold);
}

@media (min-width: 981px) {
  .nav-details:not([open]) > nav {
    display: block;
  }
}

.tour-switch {
  display: inline-flex;
  gap: 0.15rem;
  margin-bottom: 0.9rem;
  padding: 0.2rem;
  background: #ededf1;
  border-radius: 999px;
}

.tour-switch button {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 0.55rem 1.15rem;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  cursor: pointer;
}

.tour-switch button[aria-selected="true"] {
  background: var(--gold);
  color: #fff;
}

.tour-frame {
  height: 70vh;
  min-height: 28rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--stroke);
  background: #111;
}

.tour-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.master {
  position: relative;
}

.floor-option,
.type-option,
.master .tour-switch label {
  position: relative;
}

.master input[type="radio"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.master .tour-switch label {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 0.55rem 1.15rem;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  cursor: pointer;
}

.master .tour-switch label:has(input:checked),
.master .tour-switch label:has(input:focus-visible) {
  background: var(--gold);
  color: #fff;
}

.master-units,
.type-panel {
  display: none;
}

.master:has(input[name="master-mode"][value="units"]:checked) .master-project {
  display: none;
}

.master:has(input[name="master-mode"][value="units"]:checked) .master-units {
  display: block;
}

.master-layout {
  display: grid;
  grid-template-columns: 15rem 1fr;
  gap: 1rem;
  align-items: start;
}

.floor-list,
.type-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.type-list {
  flex-direction: row;
  flex-wrap: wrap;
  margin-bottom: 0.9rem;
}

.floor-option,
.type-option {
  display: block;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 0.5rem 0.85rem;
  background: #fff;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}

.floor-option:has(input:checked),
.type-option:has(input:checked),
.floor-option:has(input:focus-visible),
.type-option:has(input:focus-visible) {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

.floor-stage {
  background: #fff;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  overflow: hidden;
}

.floor-stage a {
  display: none;
}

.master-project:has(input[name="floor"][value="1"]:checked) .floor-stage a[data-floor="1"],
.master-project:has(input[name="floor"][value="9"]:checked) .floor-stage a[data-floor="9"],
.master-project:has(input[name="floor"][value="11"]:checked) .floor-stage a[data-floor="11"],
.master-project:has(input[name="floor"][value="15"]:checked) .floor-stage a[data-floor="15"],
.master-project:has(input[name="floor"][value="25"]:checked) .floor-stage a[data-floor="25"],
.master-project:has(input[name="floor"][value="36"]:checked) .floor-stage a[data-floor="36"],
.master-project:has(input[name="floor"][value="38"]:checked) .floor-stage a[data-floor="38"],
.master-project:has(input[name="floor"][value="39"]:checked) .floor-stage a[data-floor="39"] {
  display: block;
}

.type-panel .floor-stage a {
  display: none;
}

.type-panel:has(input[name^="unit-"]:checked) .floor-stage a {
  display: none;
}

.type-panel:has(input[value="26.50"]:checked) a[data-unit="26.50"],
.type-panel:has(input[value="28.50a"]:checked) a[data-unit="28.50a"],
.type-panel:has(input[value="28.50b"]:checked) a[data-unit="28.50b"],
.type-panel:has(input[value="30.00"]:checked) a[data-unit="30.00"],
.type-panel:has(input[value="32.00a"]:checked) a[data-unit="32.00a"],
.type-panel:has(input[value="32.00b"]:checked) a[data-unit="32.00b"],
.type-panel:has(input[value="35.00"]:checked) a[data-unit="35.00"],
.type-panel:has(input[value="38.00"]:checked) a[data-unit="38.00"],
.type-panel:has(input[value="47.00"]:checked) a[data-unit="47.00"],
.type-panel:has(input[value="60.00a"]:checked) a[data-unit="60.00a"],
.type-panel:has(input[value="60.00b"]:checked) a[data-unit="60.00b"],
.type-panel:has(input[value="65.00a"]:checked) a[data-unit="65.00a"],
.type-panel:has(input[value="65.00b"]:checked) a[data-unit="65.00b"] {
  display: block;
}

.master-units:has(#type-1:checked) .type-panel[data-type="1"],
.master-units:has(#type-plus:checked) .type-panel[data-type="plus"],
.master-units:has(#type-2:checked) .type-panel[data-type="2"] {
  display: block;
}

.floor-stage img {
  display: block;
  width: 100%;
  height: min(70vh, 640px);
  object-fit: contain;
  background: #fff;
}

@media (max-width: 980px) {
  .master-layout {
    grid-template-columns: 1fr;
  }

  .floor-list {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 980px) {
  .logo img {
    height: 40px;
  }

  .desktop-nav {
    display: none;
  }

  .nav-details {
    display: block;
    margin-left: auto;
    flex-shrink: 0;
  }

  .nav-cta {
    order: 1;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.8rem 1.2rem 1.2rem;
    border-bottom: 1px solid var(--stroke);
    box-shadow: var(--shadow);
    gap: 0.2rem;
  }

  .nav-details[open] .nav-links {
    display: flex;
  }

  .nav-links a {
    padding: 0.55rem 0;
  }

  .split,
  .gallery,
  .facility-grid,
  .plan-grid,
  .unit-grid,
  .contact-grid,
  .footer-grid,
  .place-groups,
  .office-grid,
  .team-grid,
  .spec-list div {
    grid-template-columns: 1fr 1fr;
  }

  .split,
  .contact-grid,
  .footer-grid,
  .office-grid,
  .spec-list div {
    grid-template-columns: 1fr;
  }

  .gallery,
  .facility-grid,
  .unit-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .gallery,
  .facility-grid,
  .plan-grid,
  .unit-grid,
  .place-groups,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .nav-cta {
    display: none;
  }

  .plan-card img,
  .unit-grid .plan-card img {
    height: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
