@font-face {
  font-family: Montserrat;
  src: url("assets/montserrat.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url("assets/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --warm: #f7f1ee;
  --ink: #241019;
  --rose: #a23a62;
  --pink: #f4e3ea;
  --muted: #6f5b63;
  --line: #e8dce1;
  --heading: Montserrat, Inter, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 98px;
}

body {
  margin: 0;
  color: var(--ink);
  background: white;
  font: 1rem/1.65 Inter, system-ui, sans-serif;
}

img { display: block; max-width: 100%; }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid #a23a62; outline-offset: 4px; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }

h1, h2, h3 {
  font-family: var(--heading);
  line-height: 1.12;
  letter-spacing: -.035em;
}

h1 { font-size: clamp(2.75rem, 4.55vw, 4.35rem); font-weight: 800; }
h2 { font-size: clamp(2.1rem, 4.3vw, 3.45rem); font-weight: 750; }
h3 { font-size: clamp(1.28rem, 2.2vw, 1.62rem); font-weight: 750; }

.wrap { width: min(1240px, calc(100% - 112px)); margin-inline: auto; }
.section { padding-block: clamp(64px, 8vw, 115px); }

.eyebrow {
  color: var(--rose);
  font-size: .875rem;
  font-weight: 750;
  letter-spacing: .075em;
  line-height: 1.4;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.lead { margin-top: 23px; max-width: 48ch; }
.note { color: var(--muted); font-size: .875rem; margin-top: 14px; }

.skip-link {
  position: fixed;
  top: -100px;
  left: 12px;
  z-index: 5;
  color: white;
  background: var(--ink);
  padding: 10px 16px;
}

.skip-link:focus { top: 10px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 3;
  min-height: 78px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 10px clamp(24px, 3.9vw, 56px);
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.brand { display: flex; align-items: center; gap: 16px; }
.brand img { width: 240px; height: auto; }
.brand span { padding-left: 16px; border-left: 1px solid var(--line); font-size: .875rem; white-space: nowrap; }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  font-size: .875rem;
  font-weight: 650;
  white-space: nowrap;
}

.site-nav a:not(.button):hover { color: var(--rose); }
.menu-toggle { display: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 23px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--rose);
  color: #fff;
  font-weight: 750;
  font-size: .875rem;
  line-height: 1.35;
  text-align: center;
}

.button:hover { background: #84284c; }
.button-light { background: #fff; color: var(--ink); }
.button-light:hover { background: var(--pink); }

.text-link {
  font-size: .9375rem;
  font-weight: 680;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.text-link:hover { text-decoration-thickness: 2px; }

.hero {
  min-height: clamp(600px, calc(100svh - 78px), 820px);
  position: relative;
  display: flex;
  isolation: isolate;
  align-items: center;
  background: var(--ink);
  color: #fff;
}

.hero-photo, .hero::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-photo { z-index: -2; object-fit: cover; object-position: center 47%; }

.hero::after {
  content: "";
  z-index: -1;
  background: linear-gradient(90deg, #241019dd 0%, #241019a8 43%, #24101940 76%, #24101910 100%);
}

.hero-copy { padding-block: 60px 68px; }
.hero .eyebrow { color: #f3bdd0; }
.hero h1 { max-width: 20ch; }
.hero-description { margin-top: 21px; max-width: 43ch; font-size: clamp(1rem, 1.4vw, 1.19rem); color: #fff7f9; }

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 27px;
}

.hero-facts div {
  display: flex;
  flex-direction: column-reverse;
  justify-content: center;
  gap: 3px;
  padding: 12px 16px;
  border-radius: 13px;
  background: #fffaf9;
}

.hero-facts dt { font-size: .875rem; color: var(--muted); }

.hero-facts dd {
  font: 750 clamp(1.15rem, 2.1vw, 1.55rem)/1.12 var(--heading);
  color: var(--rose);
  letter-spacing: -.035em;
}

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 24px; }
.hero :focus-visible { outline-color: white; }

.location {
  padding-block: clamp(35px, 5vw, 72px);
  background: var(--warm);
  border-bottom: 1px solid var(--line);
}

.location-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 70px);
}

.location h2 { font-size: clamp(1.65rem, 3.1vw, 2.6rem); }
.location-description { margin-top: 12px; max-width: 55ch; }

.location-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.location-facts div {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 6px;
  padding: clamp(10px, 1.6vw, 20px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}

.location-facts dt { font-size: .875rem; line-height: 1.45; }
.location-facts dd { font: 750 clamp(1.12rem, 2.4vw, 1.7rem)/1.2 var(--heading); color: var(--rose); }

.city-overview {
  margin-top: clamp(24px, 4vw, 48px);
  padding-top: clamp(20px, 3vw, 30px);
  border-top: 1px solid var(--line);
}

.city-statistics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.city-statistics div {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 6px;
  padding: clamp(10px, 1.6vw, 20px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}

.city-statistics dt { font-size: .875rem; line-height: 1.45; overflow-wrap: anywhere; }
.city-statistics dd { font: 750 clamp(1.2rem, 2.25vw, 1.75rem)/1.2 var(--heading); color: var(--rose); }
.city-statistics small { display: block; font-size: .875rem; color: var(--muted); }

.house, .contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(36px, 7vw, 100px);
}

.house-photo { overflow: hidden; border-radius: 14px; background: var(--warm); }
.house-photo img { width: 100%; height: auto; }

.house-details {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid var(--line);
}

.house-details div { padding: 13px 10px; }
.house-details div:first-child { padding-left: 0; }
.house-details div + div { border-left: 1px solid var(--line); }
.house-details dt { font-size: .875rem; color: var(--muted); }
.house-details dd { font-size: clamp(1rem, 2vw, 1.45rem); font-weight: 750; white-space: nowrap; }

.units { background: var(--warm); }

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading > p { max-width: 34ch; color: var(--muted); }

.units-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, .9fr);
  align-items: start;
  gap: clamp(24px, 4.3vw, 55px);
}

table {
  width: 100%;
  text-align: left;
  border-collapse: collapse;
  background: #fff;
}

caption { padding-bottom: 8px; color: var(--muted); font-size: .875rem; text-align: left; }
th, td { padding: 12px clamp(8px, 1.35vw, 18px); border-bottom: 1px solid var(--line); }
thead th { color: var(--ink); background: #ead8de; }
tbody th { font-weight: 650; }

.rent-card {
  align-self: center;
  background: white;
  border-radius: 14px;
  border: 1px solid var(--line);
  padding: clamp(22px, 3.5vw, 42px);
}

.rent-card p { margin: 16px 0; }
.rent-card .text-link { color: var(--rose); }

.gallery { background: var(--pink); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }

.photo-button {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--line);
  cursor: zoom-in;
}

.photo-button img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; }

.photo-button span {
  position: absolute;
  right: 11px;
  bottom: 11px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 1.3rem;
  line-height: 1;
  background: white;
  color: var(--ink);
}

.photo-button:hover span { color: white; background: var(--rose); }
.plans-grid .photo-button { border: 1px solid var(--line); background: white; }
.plans-grid img { aspect-ratio: 4 / 3; padding: clamp(6px, 1.5vw, 18px); object-fit: contain; }
.plans-grid .photo-button span { border: 1px solid var(--line); }
figcaption { padding-top: 10px; font-weight: 650; }

.room-comparison { width: min(100%, 760px); margin: clamp(36px, 6vw, 72px) auto 0; }
.room-comparison h3 { margin-bottom: 14px; }
.comparison-stage { position: relative; aspect-ratio: 1200 / 896; overflow: hidden; border-radius: 12px; background: var(--line); }
.comparison-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.comparison-example { clip-path: inset(0 0 0 var(--comparison-position, 50%)); }
.comparison-divider { position: absolute; inset-block: 0; left: var(--comparison-position, 50%); width: 2px; transform: translateX(-50%); background: white; box-shadow: 0 0 5px #24101990; }
.comparison-labels { display: flex; justify-content: space-between; gap: 8px; margin-top: 9px; font-size: .875rem; font-weight: 650; }
.comparison-control { display: block; margin-top: 11px; font-size: .875rem; }
.comparison-control input { display: block; width: 100%; min-height: 44px; margin: 0; accent-color: var(--rose); cursor: ew-resize; }

.single-unit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: clamp(24px, 4vw, 48px);
  padding: clamp(17px, 2.4vw, 30px);
  border: 1px solid var(--line);
  border-inline-start: 4px solid var(--rose);
  border-radius: 12px;
  background: var(--warm);
}

.single-unit h3 { line-height: 1.25; }
.single-unit .button { flex-shrink: 0; }

.contact { align-items: start; }
.contact-person { margin-top: 27px; }

#lead-form {
  display: grid;
  gap: 9px;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--warm);
}

#lead-form label { font-weight: 650; font-size: .875rem; }

#lead-form input {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  margin-bottom: 8px;
  border: 1px solid #bba4ae;
  border-radius: 7px;
  padding: 7px 11px;
  background: #fff;
  color: var(--ink);
}

#lead-form .button { justify-self: start; margin-top: 9px; }
.form-status { color: var(--rose); font-weight: 650; }
.form-status:empty { display: none; }

.footer { background: var(--ink); color: #fff; padding-block: 32px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.footer img { width: min(240px, 100%); height: auto; margin-bottom: 12px; }
.footer p, .footer nav { font-size: .875rem; }
.footer nav { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.footer a:hover { text-decoration: underline; }

.privacy-header .brand img { width: min(218px, 40vw); }
.privacy-header > .text-link { display: inline-flex; align-items: center; min-height: 44px; }
.privacy-page { max-width: 760px; }
.privacy-page h1 { font-size: clamp(1.65rem, 5vw, 3.4rem); overflow-wrap: anywhere; }
.privacy-page section { margin-top: clamp(28px, 4vw, 42px); }
.privacy-page h2 { font-size: clamp(1.22rem, 2.6vw, 1.65rem); }
.privacy-page section p, .privacy-page li + li { margin-top: 10px; }
.privacy-page ul { padding-inline-start: 1.4em; }
.privacy-page .text-link { color: var(--rose); }

dialog {
  width: min(980px, calc(100% - 24px));
  padding: 0;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  color: var(--ink);
}

dialog::backdrop { background: #241019dd; }
.dialog-bar { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 12px 16px; }
.dialog-bar h2 { font-size: 1.25rem; }
.dialog-close { flex: 0 0 auto; border: 1px solid var(--line); border-radius: 50%; height: 44px; width: 44px; color: var(--ink); background: #fff; }
#photo-large { width: 100%; max-height: 77dvh; object-fit: contain; background: var(--ink); }
.plan-controls:not([hidden]) { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 0 16px 10px; }
.plan-controls button { min-width: 44px; min-height: 44px; border: 1px solid var(--line); border-radius: 7px; background: white; color: var(--ink); font-size: 1.25rem; }
.plan-controls button:disabled { opacity: .5; cursor: default; }
.plan-controls output { min-width: 6ch; text-align: center; font-variant-numeric: tabular-nums; }
.plan-view { width: min(740px, calc(100% - 24px)); }
.plan-view .photo-viewport { --plan-height: min(72dvh, calc(100dvh - 160px)); max-height: var(--plan-height); overflow: auto; border-top: 1px solid var(--line); }
.plan-view #photo-large { max-height: var(--plan-height); background: white; }
.plan-view .is-zoomed #photo-large {
  width: calc(min(100%, var(--plan-height) * var(--plan-aspect-ratio)) * var(--plan-zoom));
  height: auto;
  max-width: none;
  max-height: none;
  margin-inline: auto;
}

@media (max-width: 980px) {
  .wrap { width: calc(100% - 64px); }
  .brand span { display: none; }
  .brand img { width: 218px; }
}

@media (max-width: 780px) {
  html { scroll-padding-top: 79px; }
  .wrap { width: calc(100% - 40px); }
  .site-header { min-height: 65px; padding: 8px 20px; }
  .brand img { width: min(218px, 58vw); }
  .menu-toggle { display: block; min-height: 44px; padding: 0 5px; border: 0; color: var(--ink); background: white; font-size: .875rem; font-weight: 700; }
  .site-nav { display: none; position: absolute; top: 100%; inset-inline: 0; align-items: stretch; flex-direction: column; gap: 0; padding: 10px 20px 18px; background: white; border-bottom: 1px solid var(--line); }
  .site-nav a:not(.button) { display: flex; align-items: center; min-height: 44px; }
  .site-nav .button { align-self: flex-start; margin-top: 7px; }
  .menu-toggle[aria-expanded="true"] + .site-nav { display: flex; }
  .hero { min-height: calc(100svh - 65px); }
  .hero h1 { max-width: 21ch; font-size: clamp(1.5rem, 7vw, 3.2rem); overflow-wrap: break-word; }
  .hero-photo { object-position: 55% center; }
  .hero::after { background: linear-gradient(90deg, #241019e0, #2410198c), linear-gradient(0deg, #24101950, transparent 65%); }
  .hero-copy { padding-block: clamp(24px, 5vh, 44px); }
  .hero .eyebrow { margin-bottom: 12px; }
  .hero-description { margin-top: 14px; }
  .hero-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 19px; }
  .hero-facts div { justify-content: flex-end; }
  .hero-facts div:last-child { grid-column: 1 / -1; }
  .hero-actions { gap: 0; margin-top: 18px; }
  .hero-actions .button, #lead-form .button { width: 100%; min-height: 50px; }
  .hero-actions .button { padding-inline: 14px; }
  .hero-actions .text-link { display: inline-flex; align-items: center; min-height: 44px; }
  .house, .contact, .section-heading, .units-layout, .location-layout { grid-template-columns: minmax(0, 1fr); }
  .location-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .location-facts div:last-child { grid-column: 1 / -1; }
  .city-statistics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .city-statistics div:last-child { grid-column: 1 / -1; }
  .section-heading { gap: 14px; margin-bottom: 25px; }
  .single-unit { flex-direction: column; align-items: stretch; }
  .single-unit .button { min-height: 48px; padding-inline: 10px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px 13px; }
  figcaption { font-size: .875rem; padding-top: 7px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 380px) {
  .hero-facts div { padding-inline: 9px; }
  .hero-facts dd { font-size: 1.04rem; }
  th, td { font-size: .875rem; }
  .house-details div { padding-inline: 6px; }
  .house-details dt { font-size: .8125rem; }
}

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

#lead-form .button:disabled { cursor: wait; opacity: .68; }
