:root {
  color-scheme: light;
  --bg: #f3efe6;
  --surface: #faf8f2;
  --surface-strong: #ffffff;
  --text: #18201d;
  --text-soft: #626963;
  --inverse: #f8f4eb;
  --forest: #0a3a2d;
  --forest-deep: #06271f;
  --accent: #b58a43;
  --accent-text: #8a6429;
  --accent-bright: #d0a65d;
  --line: rgba(24, 32, 29, 0.16);
  --line-strong: rgba(24, 32, 29, 0.32);
  --glass: rgba(245, 241, 232, 0.82);
  --glass-line: rgba(255, 255, 255, 0.54);
  --shadow: 0 24px 80px rgba(28, 31, 25, 0.16);
  --hero-shade: linear-gradient(90deg, rgba(10, 19, 16, 0.7) 0%, rgba(10, 19, 16, 0.26) 48%, rgba(10, 19, 16, 0.12) 100%);
  --header-logo-filter: none;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shell: min(1280px, calc(100vw - 96px));
}

html[data-theme="night"] {
  color-scheme: dark;
  --bg: #081412;
  --surface: #0f1d19;
  --surface-strong: #14251f;
  --text: #f3eee4;
  --text-soft: #aeb7b0;
  --inverse: #f7f1e6;
  --forest: #d4ad66;
  --forest-deep: #071410;
  --accent: #d4ad66;
  --accent-text: #d4ad66;
  --accent-bright: #e4bf78;
  --line: rgba(244, 239, 229, 0.15);
  --line-strong: rgba(244, 239, 229, 0.32);
  --glass: rgba(7, 20, 16, 0.84);
  --glass-line: rgba(255, 255, 255, 0.12);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
  --hero-shade: linear-gradient(90deg, rgba(2, 8, 12, 0.74) 0%, rgba(2, 8, 12, 0.26) 48%, rgba(2, 8, 12, 0.1) 100%);
  --header-logo-filter: brightness(0) invert(1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  scrollbar-color: var(--accent) var(--bg);
  scrollbar-width: thin;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  transition: background-color 1s var(--ease-in-out), color 0.8s var(--ease-in-out);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.has-dialog {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button,
a,
label {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

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

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

[hidden] {
  display: none !important;
}

svg {
  display: block;
}

::selection {
  background: var(--accent);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 12px 18px;
  background: var(--surface-strong);
  color: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell {
  width: var(--shell);
  margin-inline: auto;
}

.chapter {
  position: relative;
  isolation: isolate;
}

.section-pad {
  padding: clamp(110px, 12vw, 190px) 0;
}

.eyebrow {
  margin: 0;
  color: var(--accent-text);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.45;
  text-transform: uppercase;
}

.hero,
.life-stories,
.resident-service,
.location,
.final-cta,
.masterplan__detail,
.quiz {
  --accent-text: #d7a94f;
}

.display-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.6rem, 6.3vw, 7rem);
  font-weight: 400;
  letter-spacing: -0.052em;
  line-height: 0.86;
}

.display-title em {
  color: var(--accent);
  font-weight: 400;
}

.display-title--light {
  color: #f8f3e9;
}

.lead-copy {
  margin: 0;
  max-width: 680px;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.2vw, 2.25rem);
  line-height: 1.18;
}

.body-copy {
  margin: 0;
  max-width: 560px;
  color: var(--text-soft);
  font-size: 0.94rem;
  line-height: 1.8;
}

.site-loader {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #f6f0e4;
  pointer-events: all;
  transition: visibility 0s linear 1.45s;
}

.site-loader__panel {
  position: absolute;
  inset: 0;
  background: #082a22;
  transform-origin: top;
  transition: transform 1.15s var(--ease-in-out) 0.35s;
}

.site-loader__content {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  transition: opacity 0.35s ease 0.25s, transform 0.6s var(--ease-out) 0.15s;
}

.site-loader__monogram {
  font-family: var(--serif);
  font-size: 4.25rem;
  letter-spacing: -0.08em;
  line-height: 1;
}

.site-loader__line {
  width: 0;
  height: 1px;
  margin: 18px 0 13px;
  background: var(--accent-bright);
  animation: loader-line 1.1s var(--ease-out) 0.15s forwards;
}

.site-loader__caption {
  color: #d8cba9;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}

.is-loaded .site-loader {
  visibility: hidden;
  pointer-events: none;
}

.is-loaded .site-loader__panel {
  transform: scaleY(0);
}

.is-loaded .site-loader__content {
  opacity: 0;
  transform: translateY(-24px);
}

@keyframes loader-line {
  to { width: 120px; }
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 104px;
  padding: 18px 48px;
  color: var(--text);
  border-bottom: 1px solid transparent;
  transition: min-height 0.45s var(--ease-out), background-color 0.8s var(--ease-in-out), border-color 0.5s ease, box-shadow 0.5s ease, color 0.8s var(--ease-in-out);
}

.site-header.is-scrolled {
  min-height: 78px;
  background: rgba(245, 241, 232, 0.78);
  border-bottom-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 10px 34px rgba(5, 18, 14, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(22px) saturate(125%);
  -webkit-backdrop-filter: blur(22px) saturate(125%);
}

html[data-theme="night"] .site-header.is-scrolled {
  background: rgba(7, 20, 16, 0.76);
  border-bottom-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.site-header:not(.is-scrolled) {
  color: #fff;
}

.site-header:not(.is-scrolled) .site-header__brand img {
  filter: brightness(0) invert(1);
}

.site-header:not(.is-scrolled) .button--header {
  border-color: rgba(255, 255, 255, 0.4);
}

.site-header__brand {
  display: block;
  width: 158px;
  justify-self: start;
}

.site-header__brand img {
  width: 100%;
  height: auto;
  filter: var(--header-logo-filter);
  transition: filter 0.7s ease, opacity 0.25s ease;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.site-header__nav a {
  position: relative;
  padding: 12px 0;
}

.site-header__nav a::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 1px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease-out);
}

.site-header__nav a:hover::after,
.site-header__nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 52px;
  padding: 0 25px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 0;
  background: none;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
  transition: color 0.35s ease, border-color 0.35s ease, background-color 0.35s ease, transform 0.35s var(--ease-out), opacity 0.25s ease;
}

.button::before {
  position: absolute;
  inset: 0;
  background: var(--accent-bright);
  content: "";
  transform: translateY(102%);
  transition: transform 0.5s var(--ease-out);
}

.button span,
.button svg {
  position: relative;
  z-index: 1;
}

.button svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  transition: transform 0.35s var(--ease-out);
}

.button:hover::before {
  transform: translateY(0);
}

.button:hover svg {
  transform: translateX(4px);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.38;
}

.button:disabled::before {
  display: none;
}

.button--header {
  min-height: 46px;
  justify-self: end;
  border-color: var(--line-strong);
}

.button--primary {
  background: var(--forest);
  color: #fff;
}

html[data-theme="night"] .button--primary {
  color: #101812;
}

.button--primary:hover {
  color: #111b16;
}

.button--large {
  min-height: 66px;
  padding-inline: 34px;
}

.button--outline {
  border-color: var(--line-strong);
  color: var(--text);
}

.button--outline:hover {
  border-color: var(--accent-bright);
  color: #111b16;
}

.chapter-progress {
  position: fixed;
  z-index: 80;
  top: 50%;
  right: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-soft);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  transform: translateY(-50%);
  transition: color 0.8s ease, opacity 0.4s ease;
}

.chapter-progress__track {
  position: relative;
  width: 1px;
  height: 82px;
  overflow: hidden;
  background: var(--line);
}

.chapter-progress__track i {
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleY(0.1428);
  transform-origin: top;
  transition: transform 0.7s var(--ease-out);
}

.hero {
  min-height: 100svh;
  overflow: hidden;
  background: #d4d7d1;
  color: #f8f4eb;
}

.hero__media,
.hero__image,
.hero__veil {
  position: absolute;
  inset: 0;
}

.hero__media {
  background: #101918;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.045);
  transition: opacity 1.25s var(--ease-in-out), transform 2s var(--ease-out);
}

.is-loaded .hero__image {
  transform: scale(1);
}

.hero__image--night {
  opacity: 0;
}

html[data-theme="night"] .hero__image--day {
  opacity: 0;
}

html[data-theme="night"] .hero__image--night {
  opacity: 1;
}

.hero__veil {
  background: var(--hero-shade);
  transition: background 1s var(--ease-in-out);
}

.hero__veil::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 22%;
  background:
    radial-gradient(circle at 5% 17%, rgba(255, 255, 255, 0.94) 0 1px, transparent 1.6px),
    radial-gradient(circle at 11% 39%, rgba(220, 234, 255, 0.78) 0 0.8px, transparent 1.4px),
    radial-gradient(circle at 17% 9%, rgba(255, 247, 219, 0.9) 0 1px, transparent 1.6px),
    radial-gradient(circle at 23% 28%, rgba(255, 255, 255, 0.66) 0 0.7px, transparent 1.3px),
    radial-gradient(circle at 31% 14%, rgba(224, 237, 255, 0.9) 0 0.9px, transparent 1.5px),
    radial-gradient(circle at 37% 42%, rgba(255, 255, 255, 0.72) 0 0.8px, transparent 1.4px),
    radial-gradient(circle at 45% 22%, rgba(255, 245, 210, 0.84) 0 1px, transparent 1.6px),
    radial-gradient(circle at 53% 8%, rgba(226, 237, 255, 0.72) 0 0.7px, transparent 1.3px),
    radial-gradient(circle at 61% 32%, rgba(255, 255, 255, 0.9) 0 0.9px, transparent 1.5px),
    radial-gradient(circle at 69% 18%, rgba(255, 246, 216, 0.78) 0 0.7px, transparent 1.3px),
    radial-gradient(circle at 77% 37%, rgba(224, 237, 255, 0.82) 0 1px, transparent 1.6px),
    radial-gradient(circle at 84% 11%, rgba(255, 255, 255, 0.64) 0 0.7px, transparent 1.3px),
    radial-gradient(circle at 91% 29%, rgba(255, 246, 214, 0.88) 0 0.9px, transparent 1.5px),
    radial-gradient(circle at 96% 7%, rgba(226, 237, 255, 0.74) 0 0.7px, transparent 1.3px);
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.25s var(--ease-in-out);
}

html[data-theme="night"] .hero__veil::before {
  opacity: 0.92;
}

.hero__veil::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 32%;
  background: linear-gradient(0deg, rgba(5, 12, 10, 0.58), transparent);
  content: "";
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-top: 105px;
  padding-bottom: 90px;
}

.hero__content .eyebrow {
  color: #d9b979;
}

.hero__title {
  margin: 24px 0 18px;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.82;
}

.hero__title-line {
  display: block;
  overflow: hidden;
  font-size: clamp(5rem, 10.5vw, 10rem);
}

.hero__title-line:first-child {
  letter-spacing: -0.065em;
  white-space: nowrap;
}

.hero__title-line i {
  display: block;
  font-style: normal;
  transform: translateY(108%);
  transition: transform 1.15s var(--ease-out) 0.85s;
}

.hero__title-line--small {
  margin-top: 8px;
  padding-left: 8px;
  color: #e1c085;
  font-family: var(--sans);
  font-size: clamp(0.78rem, 1.1vw, 1.05rem);
  font-weight: 500;
  letter-spacing: 0.46em;
  line-height: 1.5;
  text-transform: uppercase;
}

.hero__title-line--small i {
  transition-delay: 1.02s;
}

.hero__glass {
  position: absolute;
  right: 0;
  bottom: 48px;
  left: 0;
  display: block;
  width: 100%;
  margin: 0;
  padding: 11px 22px 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.025) 36%, rgba(4, 18, 14, 0.16)), rgba(5, 20, 16, 0.68);
  box-shadow: 0 24px 70px rgba(1, 9, 7, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px) saturate(116%);
  -webkit-backdrop-filter: blur(16px) saturate(116%);
  transition: background-color 0.8s var(--ease-in-out), border-color 0.6s ease, box-shadow 0.6s ease;
}

.hero__glass::before {
  position: absolute;
  top: 0;
  right: 34px;
  left: 34px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  content: "";
  pointer-events: none;
}

.hero__glass > * {
  position: relative;
  z-index: 1;
}

html[data-theme="night"] .hero__glass {
  border-color: rgba(255, 255, 255, 0.22);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.018) 36%, rgba(2, 11, 15, 0.2)), rgba(3, 12, 17, 0.72);
  box-shadow: 0 26px 74px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -1px 0 rgba(255, 255, 255, 0.04);
}

.hero__descriptor {
  display: block;
  max-width: 680px;
  margin-top: 25px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.26);
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--sans);
  font-size: clamp(0.72rem, 1vw, 0.88rem);
  font-weight: 500;
  letter-spacing: 0.13em;
  line-height: 1.6;
  text-transform: uppercase;
}

.is-loaded .hero__title-line i {
  transform: translateY(0);
}

.hero__lead {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(0.96rem, 1.35vw, 1.16rem);
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 34px;
  min-width: 0;
  margin-top: 38px;
}

.hero__actions .button,
.hero__actions .text-link {
  white-space: nowrap;
}

.hero__proofs {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 8px 0 0;
  list-style: none;
}

.hero__proofs li {
  min-height: 48px;
  padding: 0 22px 2px 0;
}

.hero__proofs li + li {
  padding-left: 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.hero__proofs strong,
.hero__proofs span {
  display: block;
}

.hero__proofs strong {
  color: #f2d8a5;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1;
}

.hero__proofs span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-transform: uppercase;
}

.hero .button--primary {
  background: #c39a51;
  color: #132019;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 0;
  background: none;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.text-link:hover {
  border-color: #d9b979;
  color: #fff;
}

.hero__theme-wrap {
  position: absolute;
  z-index: 4;
  top: 138px;
  right: 48px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero__theme-label {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.theme-switch {
  position: relative;
  display: grid;
  width: 200px;
  min-height: 48px;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 4px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(7, 23, 19, 0.68));
  box-shadow: 0 14px 38px rgba(2, 10, 8, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.58), inset 0 -1px 0 rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(20px) saturate(135%);
  -webkit-backdrop-filter: blur(20px) saturate(135%);
}

.theme-switch__option {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: color 0.6s ease;
}

.theme-switch__option svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.35;
}

.theme-switch__option--day {
  color: #17241d;
}

.theme-switch__option--night {
  color: rgba(255, 255, 255, 0.68);
}

.theme-switch__thumb {
  position: absolute;
  z-index: 1;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: 96px;
  border-radius: 24px;
  background: rgba(248, 242, 229, 0.95);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.16);
  transition: transform 0.75s var(--ease-out), background-color 0.6s ease;
}

html[data-theme="night"] .theme-switch__thumb {
  background: #0a1820;
  transform: translateX(96px);
}

html[data-theme="night"] .theme-switch__option--day {
  color: rgba(255, 255, 255, 0.58);
}

html[data-theme="night"] .theme-switch__option--night {
  color: #f0d8a8;
}

.hero__footer {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 14px;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero__footer > p {
  margin: 0;
}

.hero__scroll {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
}

.hero__scroll span {
  position: relative;
  display: block;
  width: 48px;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.22);
}

.hero__scroll span::after {
  position: absolute;
  inset: 0;
  background: #d9b979;
  content: "";
  animation: scroll-line 2.4s ease-in-out infinite;
  transform: translateX(-100%);
}

@keyframes scroll-line {
  50%, 100% { transform: translateX(100%); }
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(210px, 0.8fr) minmax(0, 2fr);
  align-items: start;
  gap: 6vw;
  margin-bottom: clamp(70px, 9vw, 130px);
}

.section-heading__aside {
  margin: 38px 0 0;
  color: var(--text-soft);
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.25;
}

.section-heading--compact {
  margin-bottom: 70px;
}

.concept {
  background: var(--bg);
  transition: background 1s var(--ease-in-out);
}

.concept__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.75fr);
  align-items: start;
  gap: clamp(54px, 8vw, 120px);
}

.media-frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--surface-strong);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.08);
  transition: transform 1.2s var(--ease-out), filter 0.8s ease;
  will-change: transform;
}

.media-frame--tall {
  aspect-ratio: 0.92;
}

.media-frame figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  padding: 30px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.6), transparent);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.concept__body {
  padding-top: clamp(20px, 6vw, 96px);
}

.concept__statement {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.concept__statement .lead-copy {
  margin: 0;
  font-size: clamp(2.25rem, 3.2vw, 3.5rem);
  line-height: 1.05;
}

.concept__name {
  letter-spacing: 0.015em;
}

.concept__body .body-copy {
  margin-top: 28px;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: clamp(60px, 7vw, 95px) 0 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.stat {
  min-height: 150px;
  padding: 24px 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat dt {
  color: var(--accent);
  font-family: var(--serif);
  font-size: clamp(2.8rem, 4vw, 4.5rem);
  line-height: 0.9;
}

.stat dd {
  margin: 18px 0 0;
  color: var(--text-soft);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.plaza,
.location {
  min-height: 100svh;
  overflow: hidden;
  color: #fff;
}

.plaza__media,
.location__media {
  position: absolute;
  inset: -5%;
}

.plaza__media img,
.location__media img {
  width: 100%;
  height: 110%;
  object-fit: cover;
  transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.04);
  will-change: transform;
}

.plaza__overlay,
.location__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 18, 15, 0.79) 0%, rgba(8, 18, 15, 0.35) 52%, rgba(8, 18, 15, 0.1) 100%), linear-gradient(0deg, rgba(8, 18, 15, 0.36), transparent 55%);
}

.plaza__content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-block: 130px 100px;
}

.plaza__content .eyebrow,
.location__content .eyebrow {
  color: #e0c185;
}

.plaza__content .display-title {
  margin-top: 30px;
}

.plaza__copy {
  max-width: 610px;
  margin: 34px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.98rem;
  line-height: 1.8;
}

.plaza__index {
  display: flex;
  width: min(540px, 100%);
  align-items: center;
  gap: 16px;
  margin-top: 58px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.plaza__index i {
  height: 1px;
  flex: 1;
  background: rgba(255, 255, 255, 0.3);
}

.residences {
  background: var(--surface);
  transition: background 1s var(--ease-in-out);
}

.residence-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 24px;
}

.residence-card {
  position: relative;
  min-height: min(68vw, 720px);
  overflow: hidden;
  color: #fff;
}

.residence-card--offset {
  margin-top: 96px;
}

.residence-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.035);
  transition: transform 1.2s var(--ease-out), filter 0.8s ease;
}

.residence-card:hover img {
  transform: scale(1.075);
}

.residence-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 13, 10, 0.78) 0%, rgba(5, 13, 10, 0.06) 65%);
}

.residence-card__content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: clamp(28px, 4vw, 56px);
}

.residence-card__content > span {
  color: #d8b36d;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
}

.residence-card h3 {
  margin: 13px 0 12px;
  font-family: var(--serif);
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.9;
}

.residence-card p {
  max-width: 430px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  line-height: 1.65;
}

.residences__footer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  margin-top: 70px;
  padding-top: 38px;
  border-top: 1px solid var(--line);
}

.life-stories {
  overflow: hidden;
  padding-block: clamp(78px, 7.5vw, 112px);
  background: #071713;
  color: #f6f0e6;
}

.life-stories::before {
  position: absolute;
  top: -34vw;
  right: -18vw;
  width: 62vw;
  height: 62vw;
  border: 1px solid rgba(215, 169, 79, 0.12);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.life-stories__heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(270px, 0.65fr);
  align-items: end;
  gap: clamp(44px, 6vw, 88px);
  margin-bottom: clamp(38px, 4vw, 52px);
}

.life-stories__heading .display-title {
  margin-top: 22px;
  font-size: clamp(3.35rem, 5vw, 5.45rem);
  line-height: 0.91;
}

.life-stories__intro {
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.035));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.life-stories__intro > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.875rem;
  line-height: 1.68;
}

.life-stories__controls {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.life-stories__controls button {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: transparent;
  color: #f6f0e6;
  cursor: pointer;
  transition: border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.life-stories__controls button:hover,
.life-stories__controls button:focus-visible {
  border-color: #d7a94f;
  background: #d7a94f;
  color: #101812;
}

.life-stories__controls svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.life-stories__rail {
  display: grid;
  grid-auto-columns: clamp(218px, 18.5vw, 252px);
  grid-auto-flow: column;
  gap: 14px;
  margin-right: calc((100vw - var(--shell)) / -2);
  padding-right: max(48px, calc((100vw - var(--shell)) / 2));
  padding-bottom: 14px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-color: rgba(215, 169, 79, 0.68) rgba(255, 255, 255, 0.08);
  scrollbar-width: thin;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

.life-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: #10211c;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  scroll-snap-align: start;
}

.life-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #0c1915;
}

.life-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 1.2s var(--ease-out), filter 0.45s ease;
}

.life-card:hover video,
.life-card.is-playing video {
  transform: scale(1.045);
}

.life-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(4, 14, 11, 0.6), transparent 38%);
  pointer-events: none;
}

.life-card__play {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: auto;
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(7, 23, 19, 0.8);
  color: #fff;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.life-card__play:hover,
.life-card__play:focus-visible,
.life-card.is-playing .life-card__play {
  border-color: #d7a94f;
  background: rgba(7, 23, 19, 0.88);
}

.life-card__play svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.life-card__play-icon {
  fill: currentColor !important;
  stroke: none !important;
}

.life-card__pause-icon,
.life-card.is-playing .life-card__play-icon {
  display: none;
}

.life-card.is-playing .life-card__pause-icon {
  display: block;
}

.life-card.is-playing .life-card__play span {
  font-size: 0;
}

.life-card.is-playing .life-card__play span::after {
  content: "Пауза";
  font-size: 0.75rem;
}

.life-card__content {
  min-height: 126px;
  padding: 18px 18px 20px;
}

.life-card__content > span {
  color: #d7a94f;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.11em;
}

.life-card__content h3 {
  min-height: 1.92em;
  margin: 8px 0 7px;
  font-family: var(--serif);
  font-size: clamp(1.48rem, 1.65vw, 1.82rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.04;
}

.life-card__content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8125rem;
  line-height: 1.58;
}

.masterplan {
  overflow: hidden;
  padding-block: clamp(78px, 7.5vw, 112px);
  background: var(--surface);
  transition: background 1s var(--ease-in-out);
}

.masterplan .section-heading--compact {
  margin-bottom: clamp(38px, 4vw, 52px);
}

.masterplan .display-title {
  font-size: clamp(3.35rem, 5vw, 5.45rem);
  line-height: 0.91;
}

.masterplan__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 292px);
  gap: 14px;
}

.masterplan__viewport {
  overflow: auto;
  border-radius: 26px;
  background: #d9d5cc;
  scrollbar-color: var(--accent) rgba(24, 32, 29, 0.1);
  scrollbar-width: thin;
}

.masterplan__canvas {
  position: relative;
  min-width: 720px;
  aspect-ratio: 16 / 9;
}

.masterplan__canvas picture,
.masterplan__canvas img,
.masterplan__markers {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.masterplan__canvas img {
  object-fit: cover;
}

.masterplan__marker {
  position: absolute;
  top: var(--y);
  left: var(--x);
  display: grid;
  width: clamp(28px, 2.45vw, 38px);
  height: clamp(28px, 2.45vw, 38px);
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: rgba(250, 248, 242, 0.9);
  box-shadow: 0 7px 22px rgba(6, 30, 23, 0.22);
  color: #0a3a2d;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 700;
  transform: translate(-50%, -50%);
  transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.25s var(--ease-out);
}

.masterplan__marker::before {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  content: "";
}

.masterplan__marker:hover,
.masterplan__marker:focus-visible,
.masterplan__marker.is-active {
  z-index: 3;
  background: #0a3a2d;
  box-shadow: 0 9px 28px rgba(6, 30, 23, 0.36);
  color: #fff;
  transform: translate(-50%, -50%) scale(1.14);
}

.masterplan__detail {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(24px, 2.4vw, 34px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 26px;
  background: rgba(5, 31, 24, 0.76);
  box-shadow: 0 24px 58px rgba(7, 28, 22, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.34), inset 0 -1px 0 rgba(255, 255, 255, 0.07);
  color: #f8f2e8;
}

.masterplan__detail::before,
.masterplan__detail::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.masterplan__detail::before {
  z-index: -2;
  inset: -32px;
  background: url("public/images/genplan-la-torre-1600.webp") center / cover no-repeat;
  filter: blur(22px) saturate(82%);
  opacity: 0.56;
  transform: scale(1.12);
}

.masterplan__detail::after {
  z-index: -1;
  inset: 0;
  background: linear-gradient(145deg, rgba(245, 241, 232, 0.1), rgba(5, 31, 24, 0.86) 55%, rgba(3, 21, 16, 0.94));
}

.masterplan__number {
  color: rgba(215, 169, 79, 0.5);
  font-family: var(--serif);
  font-size: clamp(4rem, 5.2vw, 5.4rem);
  letter-spacing: -0.08em;
  line-height: 0.72;
}

.masterplan__detail .eyebrow {
  margin-top: auto;
}

.masterplan__detail h3 {
  margin: 12px 0 12px;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 2.3vw, 2.45rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1;
}

.masterplan__detail > p:last-of-type {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.875rem;
  line-height: 1.64;
}

.masterplan__detail .button {
  width: 100%;
  margin-top: 20px;
  border-color: rgba(255, 255, 255, 0.26);
  color: #fff;
}

.masterplan__hint {
  display: none;
  margin: 14px 0 0;
  color: var(--text-soft);
  font-size: 0.8rem;
  line-height: 1.55;
}

.masterplan__legend-wrap {
  margin-top: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.masterplan__legend-head {
  display: grid;
  min-height: 56px;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
}

.masterplan__legend-head h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
}

.masterplan__legend-head > span {
  color: var(--accent-text);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.masterplan__legend {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin-top: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.masterplan__legend button {
  display: grid;
  min-height: 50px;
  grid-template-columns: 27px 1fr;
  align-items: center;
  padding: 8px 11px;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-family: var(--serif);
  font-size: 0.9rem;
  line-height: 1.24;
  text-align: left;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.masterplan__legend button:hover,
.masterplan__legend button:focus-visible,
.masterplan__legend button.is-active {
  background: var(--forest-deep);
  color: #fff;
}

.masterplan__legend span {
  color: var(--accent-text);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.amenities {
  overflow: hidden;
  background: var(--bg);
  transition: background 1s var(--ease-in-out);
}

.amenities__shell {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(54px, 8vw, 130px);
}

.amenities__copy .display-title {
  margin-top: 30px;
  font-size: clamp(3.4rem, 5.2vw, 6.4rem);
}

.amenities__copy .lead-copy {
  margin-top: 40px;
  color: var(--text-soft);
  font-family: var(--sans);
  font-size: 0.96rem;
  line-height: 1.8;
}

.amenities__list {
  margin: 55px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.amenities__list li {
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  min-height: 64px;
  border-bottom: 1px solid var(--line);
}

.amenities__list span {
  color: var(--accent-text);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.amenities__list p {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.38rem;
}

.amenities__media {
  aspect-ratio: 0.88;
}

.resident-service {
  overflow: hidden;
  padding-block: clamp(78px, 7.5vw, 112px);
  background: var(--forest-deep);
  color: #f7f1e6;
}

.resident-service__shell {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(42px, 5vw, 72px);
}

.resident-service__media {
  position: relative;
  min-height: 0;
  aspect-ratio: 1.18;
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.24);
}

.resident-service__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% center;
  transform: scale(1.02);
  transition: transform 1.2s var(--ease-out);
}

.resident-service__media figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(248, 244, 234, 0.17), rgba(5, 25, 19, 0.5));
  box-shadow: 0 14px 36px rgba(3, 12, 9, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.38);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  line-height: 1.4;
  text-transform: uppercase;
  backdrop-filter: blur(18px) saturate(125%);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
}

.resident-service__media figcaption strong {
  color: #d7a94f;
  font-family: var(--serif);
  font-size: 2.25rem;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.8;
}

.resident-service__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.resident-service__content .display-title {
  margin-top: 22px;
  color: #f7f1e6;
  font-size: clamp(3.25rem, 4.6vw, 5rem);
  line-height: 0.91;
}

.resident-service__content .lead-copy {
  margin-top: 25px;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--sans);
  font-size: 0.875rem;
  line-height: 1.68;
}

.resident-service__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.resident-service__grid article {
  min-height: 124px;
  padding: 18px 19px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.resident-service__grid article > span {
  color: #d7a94f;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.13em;
}

.resident-service__grid h3 {
  margin: 8px 0 6px;
  font-family: var(--sans);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.24;
}

.resident-service__grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8125rem;
  line-height: 1.58;
}

.layouts {
  overflow: hidden;
  padding-block: clamp(78px, 7.5vw, 112px);
  background: var(--bg);
  transition: background 1s var(--ease-in-out);
}

.layouts__heading {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.5fr);
  align-items: end;
  gap: clamp(44px, 6vw, 88px);
  margin-bottom: clamp(38px, 4vw, 52px);
}

.layouts__heading .display-title {
  margin-top: 22px;
  font-size: clamp(3.35rem, 5vw, 5.45rem);
  line-height: 0.91;
}

.layouts__heading .body-copy {
  padding-bottom: 7px;
}

.layouts__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.layout-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.8s ease;
}

.layout-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 22px 56px rgba(29, 34, 30, 0.1);
}

.layout-card__visual {
  position: relative;
  display: grid;
  height: clamp(280px, 23vw, 330px);
  min-height: 0;
  place-items: center;
  padding: 22px 20px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.layout-card__visual::before {
  position: absolute;
  inset: 13px;
  z-index: 2;
  border: 1px solid rgba(10, 58, 45, 0.14);
  content: "";
  pointer-events: none;
}

.layout-card__visual img {
  position: absolute;
  z-index: 1;
  top: 22px;
  left: 20px;
  width: calc(100% - 40px);
  height: calc(100% - 44px);
  max-width: none;
  object-fit: contain;
  object-position: center;
}

.layout-card__content {
  display: grid;
  flex: 1;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 12px;
  padding: 20px;
}

.layout-card__content p {
  margin: 0 0 5px;
  color: var(--accent-text);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.layout-card__content h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 2.1vw, 2.15rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.03;
}

.layout-card__content > span {
  color: var(--text-soft);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-align: right;
  text-transform: uppercase;
}

.layout-card__content .button {
  width: 100%;
  grid-column: 1 / -1;
  margin-top: 8px;
}

.promo-offer {
  overflow: hidden;
  padding: 0 0 clamp(78px, 7.5vw, 112px);
  background: var(--bg);
  transition: background 1s var(--ease-in-out);
}

.promo-offer__panel {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: clamp(26px, 3.2vw, 42px);
  overflow: hidden;
  padding: clamp(34px, 4.2vw, 58px);
  border-radius: 28px;
  background: linear-gradient(122deg, #062a21 0%, #0a3a2d 58%, #124434 100%);
  box-shadow: 0 28px 68px rgba(8, 31, 24, 0.2);
}

.promo-offer__panel::before {
  position: absolute;
  z-index: -1;
  top: -42%;
  right: 23%;
  width: min(52vw, 650px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(213, 173, 102, 0.14);
  content: "";
  filter: blur(10px);
  pointer-events: none;
}

.promo-offer__heading {
  max-width: 820px;
  text-align: center;
}

.promo-offer__heading .eyebrow {
  color: var(--accent-bright);
  font-size: clamp(1rem, 1.4vw, 1.3rem);
  letter-spacing: 0.15em;
}

.promo-offer__heading .display-title {
  margin-top: 13px;
  color: #f8f3e9;
  font-size: clamp(2.65rem, 3.7vw, 4.35rem);
  line-height: 0.92;
}

.promo-offer__heading .display-title em {
  color: var(--accent-bright);
}

.promo-offer__copy {
  max-width: 560px;
  margin: 0;
  color: rgba(248, 243, 233, 0.78);
  font-size: 0.95rem;
  line-height: 1.7;
}

.promo-offer__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: 100%;
  padding-top: 22px;
  border-top: 1px solid rgba(248, 243, 233, 0.22);
}

.promo-offer__actions .button {
  flex: 0 0 auto;
  border-color: rgba(248, 243, 233, 0.46);
  color: #f8f3e9;
}

.promo-offer__actions .button:hover {
  border-color: var(--accent-bright);
  color: #102019;
}

.promo-offer__gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}

.promo-offer__media {
  align-self: center;
  width: 100%;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  background: #e6d8bd;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.22);
  aspect-ratio: 9 / 16;
}

.promo-offer__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.location__media img {
  object-position: center 64%;
}

.location__overlay {
  background: linear-gradient(90deg, rgba(4, 12, 10, 0.82), rgba(4, 12, 10, 0.1) 68%), linear-gradient(0deg, rgba(4, 12, 10, 0.48), transparent 56%);
}

.location__content {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 100svh;
  grid-template-columns: minmax(0, 1.3fr) minmax(330px, 0.7fr);
  align-items: center;
  gap: clamp(60px, 9vw, 140px);
  padding-block: 140px 100px;
}

.location__content .display-title {
  margin-top: 30px;
}

.location__details {
  align-self: end;
  padding-bottom: 25px;
}

.location__details .lead-copy {
  color: rgba(255, 255, 255, 0.84);
  font-family: var(--sans);
  font-size: 0.95rem;
  line-height: 1.8;
}

.location__times {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.location__times > div {
  min-height: 145px;
  padding: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.location__times strong {
  display: block;
  color: #dfbf81;
  font-family: var(--serif);
  font-size: 3.8rem;
  font-weight: 400;
  line-height: 0.9;
}

.location__times span {
  display: block;
  margin-top: 15px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.45;
  text-transform: uppercase;
}

.location__note {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.75rem;
  line-height: 1.55;
}

.final-cta {
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  overflow: hidden;
  background: var(--forest-deep);
  color: #f7f1e6;
  transition: background 1s var(--ease-in-out);
}

.final-cta::before,
.final-cta::after {
  position: absolute;
  border: 1px solid rgba(204, 166, 94, 0.18);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.final-cta::before {
  top: -40vw;
  left: 50%;
  width: 90vw;
  height: 90vw;
  transform: translateX(-50%);
}

.final-cta::after {
  top: -26vw;
  left: 50%;
  width: 62vw;
  height: 62vw;
  transform: translateX(-50%);
}

.final-cta__orb {
  position: absolute;
  top: 6%;
  left: 50%;
  width: 28vw;
  height: 28vw;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 55%, rgba(201, 158, 78, 0.18), rgba(201, 158, 78, 0) 68%);
  transform: translateX(-50%);
  pointer-events: none;
}

.final-cta__content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: calc(100svh - 120px);
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-block: 130px 90px;
  text-align: center;
}

.final-cta__content .display-title {
  max-width: 1100px;
  margin-top: 32px;
  font-size: clamp(3.7rem, 7vw, 7.5rem);
}

.final-cta__copy {
  max-width: 560px;
  margin: 38px 0 0;
  color: rgba(255, 255, 255, 0.64);
}

.final-cta__content .button {
  margin-top: 34px;
  background: #c49a50;
  color: #112019;
}

.final-cta__note {
  margin: 15px 0 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.site-footer {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 28px;
  min-height: 118px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer img {
  width: 42px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.62;
}

.site-footer address {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  font-style: normal;
}

.site-footer address a {
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
  transition: color 0.25s ease;
}

.site-footer address a:hover,
.site-footer address a:focus-visible {
  color: #d7a94f;
}

.site-footer__legal {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-footer__legal a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.26);
  text-underline-offset: 4px;
  transition: color 0.25s ease, text-decoration-color 0.25s ease;
}

.site-footer__legal a:hover,
.site-footer__legal a:focus-visible {
  color: #d7a94f;
  text-decoration-color: currentColor;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.9s var(--ease-out) var(--delay, 0s), transform 0.9s var(--ease-out) var(--delay, 0s);
}

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
}

.js .reveal--down {
  transform: translateY(-18px);
}

.reveal.is-visible,
.is-loaded .hero .reveal {
  opacity: 1;
  transform: translateY(0);
}

.reveal-media {
  position: relative;
  opacity: 1;
  transform: none;
}

.reveal-media::after {
  position: absolute;
  z-index: 10;
  inset: 0;
  background: var(--bg);
  content: "";
  display: none;
  pointer-events: none;
  transform: translateY(0);
  transition: transform 1.15s var(--ease-out) var(--delay, 0s);
}

.js .reveal-media::after {
  display: block;
}

.residences .reveal-media::after {
  background: var(--surface);
}

.reveal-media.is-visible::after {
  transform: translateY(-101%);
}

.reveal-media.is-visible img {
  transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.02);
}

.quiz {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 28px;
  overflow: auto;
  border: 0;
  background: transparent;
  color: var(--text);
}

.quiz::backdrop {
  background: rgba(3, 10, 8, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.quiz__surface {
  position: relative;
  width: min(920px, 100%);
  min-height: min(760px, calc(100svh - 56px));
  margin: auto;
  padding: clamp(54px, 6vw, 82px) clamp(34px, 7vw, 96px) 48px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(24px) scale(0.985);
  transition: opacity 0.45s var(--ease-out), transform 0.55s var(--ease-out), background 0.8s ease;
}

.quiz[open] .quiz__surface {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.quiz__surface::before {
  position: absolute;
  top: -380px;
  right: -300px;
  width: 660px;
  height: 660px;
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.quiz__close {
  position: absolute;
  z-index: 5;
  top: 26px;
  right: 26px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.quiz__close:hover {
  border-color: var(--accent);
  transform: rotate(8deg);
}

.quiz__close svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.quiz__brand {
  position: absolute;
  top: 25px;
  left: 28px;
  width: 54px;
  opacity: 0.72;
}

.quiz__brand img {
  width: 100%;
  height: auto;
  filter: var(--header-logo-filter);
}

.quiz__header {
  max-width: 610px;
}

.quiz__header h2,
.quiz__success h2 {
  margin: 18px 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 5.5vw, 5.25rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.88;
}

.quiz__header > p:last-child,
.quiz__success > p:not(.eyebrow) {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.86rem;
}

.quiz__progress {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px;
  margin-top: 42px;
  color: var(--text-soft);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.quiz__progress b {
  color: var(--accent);
}

.quiz__progress > div {
  height: 1px;
  overflow: hidden;
  background: var(--line);
}

.quiz__progress i {
  display: block;
  width: 25%;
  height: 100%;
  background: var(--accent);
  transition: width 0.55s var(--ease-out);
}

.quiz__steps {
  min-height: 310px;
  margin-top: 36px;
}

.quiz__step {
  margin: 0;
  padding: 0;
  border: 0;
  animation: quiz-in 0.55s var(--ease-out) both;
}

.quiz__step legend {
  width: 100%;
  margin-bottom: 25px;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 2.6vw, 2.25rem);
  line-height: 1.15;
}

@keyframes quiz-in {
  from { opacity: 0; transform: translateX(18px); }
  to { opacity: 1; transform: translateX(0); }
}

.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.choice-card {
  position: relative;
  min-height: 108px;
  cursor: pointer;
}

.choice-card--wide {
  grid-column: 1 / -1;
  min-height: 86px;
}

.choice-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.choice-card > span {
  display: grid;
  height: 100%;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  align-content: center;
  column-gap: 16px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-strong) 45%, transparent);
  transition: border-color 0.3s ease, background-color 0.3s ease, transform 0.3s var(--ease-out), box-shadow 0.3s ease;
}

.choice-card:hover > span {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.choice-card input:focus-visible + span {
  outline: 2px solid var(--accent-bright);
  outline-offset: 2px;
}

.choice-card input:checked + span {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 9%, var(--surface));
  box-shadow: inset 3px 0 0 var(--accent);
}

.choice-card i {
  grid-row: 1 / 3;
  align-self: start;
  padding-top: 4px;
  color: var(--accent);
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.11em;
}

.choice-card b {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1.15;
}

.choice-card small {
  margin-top: 3px;
  color: var(--text-soft);
  font-size: 0.75rem;
}

.choice-grid--four .choice-card {
  min-height: 94px;
}

.contact-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-fields > label:not(.consent) {
  position: relative;
  display: block;
}

.contact-fields > label > span:first-child {
  display: block;
  margin-bottom: 8px;
  color: var(--text-soft);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-fields input[type="text"],
.contact-fields input[type="tel"] {
  width: 100%;
  height: 62px;
  padding: 0 4px;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.6rem;
  outline: none;
  transition: border-color 0.25s ease;
}

.contact-fields input:focus {
  border-bottom-color: var(--accent);
}

.contact-fields label.is-invalid input[type="text"],
.contact-fields label.is-invalid input[type="tel"] {
  border-bottom-color: #ae3f37;
}

.field-error {
  display: none;
  margin-top: 6px;
  color: #ae3f37;
  font-size: 0.75rem;
}

.is-invalid .field-error {
  display: block;
}

.consent {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 24px 1fr;
  align-items: start;
  gap: 12px;
  margin-top: 12px;
  cursor: pointer;
}

.consent input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.consent > span {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid var(--line-strong);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.consent svg {
  width: 13px;
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  opacity: 0;
}

.consent input:checked + span {
  border-color: var(--accent);
  background: var(--accent);
}

.consent input:checked + span svg {
  opacity: 1;
}

.consent input:focus-visible + span {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
}

.consent p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.82rem;
  line-height: 1.6;
}

.consent p a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
}

.consent p a:hover,
.consent p a:focus-visible {
  color: var(--accent);
  text-decoration-color: currentColor;
}

.privacy-note {
  grid-column: 1 / -1;
  margin: -2px 0 0 36px;
  color: var(--text-soft);
  font-size: 0.78rem;
  line-height: 1.6;
}

.privacy-note a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
}

.privacy-note a:hover,
.privacy-note a:focus-visible {
  color: var(--accent-text);
  text-decoration-color: currentColor;
}

.consent.is-invalid > span {
  border-color: #ae3f37;
}

.quiz__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.quiz__submit-error {
  margin: 16px 0 -10px;
  color: #ae3f37;
  font-size: 0.75rem;
  line-height: 1.5;
}

.quiz__back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  margin-right: auto;
  padding: 0;
  border: 0;
  background: none;
  color: var(--text-soft);
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.quiz__back svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.quiz__success {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px;
  text-align: center;
  animation: quiz-in 0.7s var(--ease-out) both;
}

.quiz__success[hidden] {
  display: none;
}

.quiz__success-mark {
  display: grid;
  width: 76px;
  height: 76px;
  margin-bottom: 30px;
  place-items: center;
  border: 1px solid var(--accent);
  border-radius: 50%;
}

.quiz__success-mark svg {
  width: 38px;
  fill: none;
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.quiz__success .button {
  margin-top: 32px;
}

.noscript {
  position: fixed;
  z-index: 10000;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 14px;
  background: #fff4d5;
  color: #20180b;
  text-align: center;
}

@media (min-width: 1100px) {
  body {
    scroll-snap-type: y proximity;
  }

  .chapter {
    scroll-snap-align: start;
  }
}

@media (min-width: 1100px) and (max-height: 800px) {
  .hero__content {
    padding-top: 88px;
    padding-bottom: 82px;
  }

  .hero__title {
    margin: 18px 0 12px;
  }

  .hero__title-line {
    font-size: clamp(4.5rem, 8.7vw, 7.6rem);
  }

  .hero__title-line--small {
    margin-top: 4px;
    font-size: 0.82rem;
  }

  .hero__descriptor {
    margin-top: 18px;
    padding-top: 13px;
  }

  .hero__lead {
    font-size: 1rem;
    line-height: 1.58;
  }

  .hero__actions {
    margin-top: 26px;
  }

  .hero__glass {
    padding: 7px 20px 6px;
  }

  .hero__proofs {
    padding-top: 4px;
  }

  .hero__proofs li {
    min-height: 40px;
    padding-bottom: 1px;
  }

  .hero__proofs strong {
    font-size: 1.08rem;
  }

  .hero__proofs span {
    margin-top: 3px;
    font-size: 0.68rem;
    line-height: 1.35;
  }
}

@media (min-width: 900px) and (max-width: 1199px) {
  .hero__glass {
    padding: 10px 20px 9px;
  }

  .hero__proofs {
    padding-top: 7px;
  }

  .hero__proofs li {
    min-height: 44px;
  }

}

@media (min-width: 768px) and (max-width: 899px) {
  .hero__glass {
    display: none;
  }

  .promo-offer__panel {
    gap: 30px;
    padding: 34px;
  }

  .promo-offer__gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 520px;
  }
}

@media (max-width: 1099px) {
  :root {
    --shell: min(100% - 56px, 920px);
  }

  .site-header {
    min-height: 86px;
    padding-inline: 28px;
  }

  .site-header__nav {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-header__brand {
    width: 142px;
  }

  .hero__theme-wrap {
    top: 112px;
    right: 28px;
  }

  .concept__grid,
  .amenities__shell {
    grid-template-columns: 1fr;
  }

  .life-stories__heading,
  .layouts__heading {
    grid-template-columns: minmax(0, 1.25fr) minmax(250px, 0.75fr);
    gap: 40px;
  }

  .masterplan__layout {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 260px);
  }

  .masterplan__detail {
    min-height: 0;
  }

  .masterplan__detail .eyebrow {
    margin-top: auto;
  }

  .masterplan__legend {
    grid-template-columns: repeat(4, 1fr);
  }

  .resident-service__shell {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 40px;
  }

  .resident-service__media {
    width: 100%;
    min-height: 0;
  }

  .resident-service__content {
    max-width: none;
  }

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

  .layout-card:last-child {
    grid-column: 1 / -1;
  }

  .concept__grid .media-frame {
    width: 76%;
    aspect-ratio: 1.15;
  }

  .concept__body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding-top: 0;
  }

  .concept__body .body-copy {
    margin-top: 0;
  }

  .stats-grid {
    grid-column: 1 / -1;
  }

  .amenities__media {
    width: 78%;
    justify-self: end;
    aspect-ratio: 1.05;
  }

  .location__content {
    grid-template-columns: 1fr;
    align-content: center;
  }

  .location__details {
    max-width: 560px;
    align-self: auto;
    padding-bottom: 0;
  }
}

@media (min-width: 900px) and (max-width: 1099px) {
  .layouts__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .layout-card:last-child {
    grid-column: auto;
  }

  .layout-card__visual {
    height: 270px;
  }
}

@media (max-height: 800px) and (min-width: 768px) {
  .quiz {
    padding: 16px;
  }

  .quiz__surface {
    min-height: calc(100svh - 32px);
    padding: 40px 64px 26px;
  }

  .quiz__brand {
    top: 18px;
    left: 20px;
    width: 38px;
  }

  .quiz__close {
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
  }

  .quiz__header h2 {
    margin: 10px 0;
    font-size: 3.65rem;
    line-height: 0.86;
  }

  .quiz__progress {
    margin-top: 22px;
  }

  .quiz__steps {
    min-height: 232px;
    margin-top: 18px;
  }

  .quiz__step legend {
    margin-bottom: 15px;
    font-size: 1.75rem;
  }

  .choice-card {
    min-height: 78px;
  }

  .choice-card--wide,
  .choice-grid--four .choice-card {
    min-height: 68px;
  }

  .choice-card > span {
    padding: 13px 18px;
  }

  .choice-card b {
    font-size: 1.35rem;
  }

  .quiz__actions {
    margin-top: 14px;
    padding-top: 15px;
  }
}

@media (max-width: 767px) {
  :root {
    --shell: calc(100% - 36px);
  }

  body {
    font-size: 15px;
  }

  .section-pad {
    padding: 96px 0;
  }

  .life-stories.section-pad,
  .masterplan.section-pad,
  .resident-service.section-pad,
  .layouts.section-pad {
    padding-block: 68px;
  }

  .site-header,
  .site-header.is-scrolled {
    min-height: 72px;
    padding: 12px 18px;
  }

  .site-header.is-scrolled {
    background: rgba(245, 241, 232, 0.9);
    box-shadow: 0 4px 18px rgba(5, 18, 14, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.48);
    backdrop-filter: blur(12px) saturate(112%);
    -webkit-backdrop-filter: blur(12px) saturate(112%);
  }

  html[data-theme="night"] .site-header.is-scrolled {
    background: rgba(7, 20, 16, 0.88);
  }

  .site-header__brand {
    width: 115px;
  }

  .button--header {
    min-height: 43px;
    padding-inline: 15px;
    font-size: 0.75rem;
  }

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

  .chapter-progress {
    display: none;
  }

  .hero__image {
    object-position: 56% center;
  }

  .hero__content {
    justify-content: flex-end;
    padding-top: 160px;
    padding-bottom: 105px;
  }

  .hero__theme-wrap {
    top: 88px;
    right: auto;
    left: 18px;
  }

  .hero__theme-label {
    display: none;
  }

  .theme-switch {
    width: 184px;
    min-height: 45px;
    background: rgba(7, 20, 16, 0.7);
    box-shadow: 0 8px 24px rgba(2, 10, 8, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.38);
    backdrop-filter: blur(10px) saturate(115%);
    -webkit-backdrop-filter: blur(10px) saturate(115%);
  }

  .theme-switch__thumb {
    width: 88px;
  }

  html[data-theme="night"] .theme-switch__thumb {
    transform: translateX(88px);
  }

  .hero__title {
    margin: 20px 0 0;
  }

  .hero__title-line {
    font-size: clamp(4.45rem, 22vw, 7rem);
  }

  .hero__title-line:first-child {
    font-size: clamp(3.2rem, 16.5vw, 4.3rem);
  }

  .hero__title-line--small {
    font-size: 0.75rem;
    letter-spacing: 0.34em;
  }

  .hero__glass {
    display: none;
  }

  .hero__descriptor {
    margin-top: 18px;
    padding-top: 13px;
    border-bottom: 0;
    font-size: 0.75rem;
    letter-spacing: 0.09em;
  }

  .hero__lead {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.6;
  }

  .hero__actions {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-top: 28px;
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero__proofs {
    display: none;
  }

  .text-link {
    display: none;
  }

  .hero__footer {
    bottom: 20px;
  }

  .hero__footer > p:last-child {
    display: none;
  }

  .display-title {
    font-size: clamp(3.2rem, 15vw, 5rem);
    line-height: 0.92;
  }

  .section-heading,
  .section-heading--compact {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 55px;
  }

  .section-heading__aside {
    margin-top: 20px;
  }

  .concept__grid {
    gap: 46px;
  }

  .concept__grid .media-frame,
  .amenities__media {
    width: 100%;
    aspect-ratio: 0.88;
  }

  .concept__body {
    display: block;
  }

  .concept__body .body-copy {
    margin-top: 22px;
  }

  .stats-grid {
    margin-top: 48px;
  }

  .stat {
    min-height: 125px;
    padding: 20px 16px;
  }

  .plaza__media,
  .location__media {
    inset: 0;
  }

  .plaza__media img,
  .location__media img {
    height: 100%;
    object-position: 58% center;
    transform: none;
  }

  .plaza__content {
    justify-content: flex-end;
    padding-block: 120px 70px;
  }

  .plaza__copy {
    font-size: 0.86rem;
  }

  .residence-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .residence-card,
  .residence-card--offset {
    min-height: 76vh;
    margin-top: 0;
  }

  .residence-card__content {
    padding: 28px 24px;
  }

  .residences__footer {
    grid-template-columns: 1fr;
    margin-top: 42px;
  }

  .residences__footer .button {
    width: 100%;
  }

  .life-stories__heading,
  .layouts__heading {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 36px;
  }

  .promo-offer {
    padding-bottom: 78px;
  }

  .promo-offer__panel {
    gap: 30px;
    padding: 30px 18px 24px;
    border-radius: 22px;
  }

  .promo-offer__heading {
    padding: 0 8px;
  }

  .promo-offer__heading .display-title {
    margin-top: 16px;
    font-size: clamp(2.5rem, 11.4vw, 3.2rem);
  }

  .promo-offer__copy {
    margin-top: 24px;
    font-size: 0.9rem;
  }

  .promo-offer__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding-top: 20px;
  }

  .promo-offer__actions .button {
    width: 100%;
  }

  .promo-offer__media {
    border-radius: 12px;
  }

  .promo-offer__gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .life-stories__heading .display-title,
  .masterplan .display-title,
  .resident-service__content .display-title,
  .layouts__heading .display-title {
    font-size: clamp(2.8rem, 12.5vw, 3.65rem);
    line-height: 0.93;
  }

  .life-stories__intro {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 18px;
    border-radius: 18px;
  }

  .life-stories__intro > p {
    font-size: 0.9375rem;
  }

  .life-stories__controls {
    margin-top: 0;
  }

  .life-stories__controls button {
    width: 46px;
    height: 46px;
  }

  .life-stories__rail {
    grid-auto-columns: min(68vw, 238px);
    gap: 12px;
    margin-right: -18px;
    padding-right: 18px;
  }

  .life-card__content {
    min-height: 140px;
  }

  .life-card__content p {
    font-size: 0.875rem;
  }

  .masterplan .section-heading--compact {
    margin-bottom: 38px;
  }

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

  .masterplan__canvas {
    min-width: 600px;
  }

  .masterplan__marker {
    width: 32px;
    height: 32px;
  }

  .masterplan__detail {
    min-height: 0;
    padding: 22px;
  }

  .masterplan__detail::before {
    filter: none;
    opacity: 0.26;
  }

  .masterplan__detail .eyebrow {
    margin-top: 28px;
  }

  .masterplan__hint {
    display: block;
  }

  .masterplan__legend-wrap {
    margin-top: 18px;
  }

  .masterplan__legend-head {
    min-height: 52px;
    gap: 10px;
  }

  .masterplan__legend {
    display: flex;
    gap: 8px;
    padding: 10px 0;
    overflow-x: auto;
    border: 0;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
  }

  .masterplan__legend button {
    flex: 0 0 176px;
    min-height: 46px;
    border: 1px solid var(--line);
    scroll-snap-align: start;
  }

  .amenities__shell {
    gap: 60px;
  }

  .amenities__copy .display-title {
    font-size: clamp(3.1rem, 14vw, 4.8rem);
  }

  .resident-service__shell {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .resident-service__media {
    width: 100%;
    min-height: 0;
    aspect-ratio: 16 / 10;
    border-radius: 22px;
  }

  .resident-service__media figcaption {
    right: 12px;
    bottom: 12px;
    left: 12px;
    padding: 13px 14px;
    border-radius: 14px;
    background: rgba(5, 20, 16, 0.82);
    box-shadow: 0 8px 22px rgba(2, 10, 8, 0.18);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .resident-service__content .lead-copy {
    font-size: 0.9375rem;
  }

  .resident-service__grid {
    grid-template-columns: 1fr 1fr;
    margin-top: 28px;
  }

  .resident-service__grid article {
    min-height: 148px;
    padding: 15px;
  }

  .resident-service__grid h3 {
    font-size: 1rem;
  }

  .resident-service__grid p {
    font-size: 0.875rem;
  }

  .layouts__heading .body-copy {
    padding-bottom: 0;
  }

  .layouts__grid {
    grid-template-columns: none;
    grid-auto-columns: min(82vw, 302px);
    grid-auto-flow: column;
    gap: 12px;
    margin-right: -18px;
    padding-right: 18px;
    padding-bottom: 10px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
  }

  .layout-card:last-child {
    grid-column: auto;
  }

  .layout-card {
    scroll-snap-align: start;
  }

  .layout-card__visual {
    height: clamp(268px, 80vw, 300px);
  }

  .layout-card__content {
    grid-template-columns: 1fr;
  }

  .layout-card__content > span {
    text-align: left;
  }

  .location__content {
    align-content: end;
    gap: 50px;
    padding-block: 120px 60px;
  }

  .location__times > div {
    min-height: 124px;
    padding: 16px;
  }

  .location__times strong {
    font-size: 3.2rem;
  }

  .final-cta__content {
    padding: 110px 0 70px;
  }

  .final-cta__content .display-title {
    font-size: clamp(3.1rem, 14.5vw, 5rem);
  }

  .final-cta__content .button {
    width: 100%;
  }

  .site-footer {
    grid-template-columns: auto 1fr auto;
    gap: 14px;
    min-height: 0;
    padding-block: 24px calc(24px + env(safe-area-inset-bottom));
  }

  .site-footer address {
    grid-column: 1 / -1;
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .site-footer__legal {
    grid-column: 1 / -1;
    flex-wrap: wrap;
    gap: 8px 18px;
  }

  .site-footer__copyright {
    text-align: right;
  }

  .quiz {
    padding: 0;
  }

  .quiz__surface {
    width: 100%;
    min-height: 100svh;
    padding: 76px 18px 24px;
  }

  .quiz__brand {
    top: 17px;
    left: 18px;
    width: 44px;
  }

  .quiz__close {
    top: 14px;
    right: 14px;
    width: 46px;
    height: 46px;
  }

  .quiz__header h2 {
    margin-block: 14px;
    font-size: 3.1rem;
  }

  .quiz__header > p:last-child {
    font-size: 0.76rem;
  }

  .quiz__progress {
    margin-top: 28px;
  }

  .quiz__steps {
    min-height: 0;
    margin-top: 26px;
  }

  .quiz__step legend {
    margin-bottom: 18px;
    font-size: 1.55rem;
  }

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

  .choice-card,
  .choice-card--wide,
  .choice-grid--four .choice-card {
    grid-column: auto;
    min-height: 72px;
  }

  .choice-card > span {
    padding: 14px 16px;
  }

  .choice-card b {
    font-size: 1.3rem;
  }

  .contact-fields {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .consent {
    grid-column: auto;
  }

  .quiz__actions {
    position: sticky;
    bottom: 0;
    margin-inline: -18px;
    margin-top: 26px;
    padding: 16px 18px calc(16px + env(safe-area-inset-bottom));
    background: var(--surface);
  }

  .quiz__next,
  .quiz__submit {
    flex: 1;
    padding-inline: 16px;
  }

  .quiz__success {
    padding: 34px 22px;
  }
}

@media (max-width: 390px) {
  .button--header {
    font-size: 0;
    gap: 0;
  }

  .button--header::after {
    position: relative;
    z-index: 1;
    content: "Заявка";
    font-size: 0.75rem;
  }

  .site-header__brand {
    width: 105px;
  }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .theme-switch,
  .hero__glass,
  .resident-service__media figcaption {
    background: rgba(6, 22, 17, 0.9);
  }

  .site-header.is-scrolled {
    background: rgba(245, 241, 232, 0.96);
  }

  html[data-theme="night"] .site-header.is-scrolled {
    background: rgba(7, 20, 16, 0.96);
  }
}

@media (prefers-reduced-transparency: reduce) {
  .theme-switch,
  .hero__glass,
  .resident-service__media figcaption,
  .site-header.is-scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .theme-switch,
  .hero__glass,
  .resident-service__media figcaption {
    background: rgba(6, 22, 17, 0.92);
  }

  .site-header.is-scrolled {
    background: rgba(245, 241, 232, 0.97);
  }

  html[data-theme="night"] .site-header.is-scrolled {
    background: rgba(7, 20, 16, 0.97);
  }

  .masterplan__detail::before {
    filter: none;
    opacity: 0.2;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .site-loader {
    display: none;
  }

  .hero__image,
  .media-frame img,
  .plaza__media img,
  .location__media img,
  .residence-card img,
  .life-card video,
  .resident-service__media img {
    transform: none !important;
  }

  .reveal,
  .reveal-media {
    opacity: 1;
    transform: none;
  }

  .reveal-media::after {
    display: none;
  }

  .hero__title-line i {
    transform: none;
  }
}

@media (forced-colors: active) {
  .button,
  .theme-switch,
  .choice-card > span {
    border: 1px solid ButtonText;
  }
}
