:root {
  --ink: #17221f;
  --muted: #62726c;
  --paper: #f5f1e8;
  --panel: #ffffff;
  --line: #d8cebd;
  --accent: #2f765f;
  --accent-strong: #1a463b;
  --shadow: 0 20px 60px rgba(27, 38, 34, 0.16);
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

body.no-scroll {
  overflow: hidden;
}

a {
  color: inherit;
}

.topbar {
  align-items: center;
  background: rgba(247, 244, 238, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(180px, 1fr) auto minmax(86px, 1fr);
  min-height: 68px;
  padding: 0 32px;
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.nav a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.lang-toggle,
.button {
  background: var(--accent);
  border: 0;
  border-radius: 6px;
  color: white;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 700;
  justify-content: center;
  min-width: 86px;
  padding: 11px 14px;
  text-decoration: none;
}

.lang-toggle {
  justify-self: end;
}

.button.secondary {
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  min-height: calc(100vh - 68px);
}

.hero-media {
  background: linear-gradient(135deg, #d8d0c2, #eef1ea);
  min-height: 520px;
  overflow: hidden;
}

.hero-media img {
  display: block;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  width: 100%;
}

.photo-placeholder {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-weight: 700;
  justify-content: center;
  min-height: 260px;
  padding: 24px;
  text-align: center;
}

.hero-copy {
  align-self: center;
  padding: 64px 56px;
  position: relative;
}

.hero-copy::before {
  background: #c8a76a;
  content: "";
  height: 4px;
  left: 56px;
  position: absolute;
  top: 34px;
  width: 88px;
}

.eyebrow {
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.hero-price {
  color: var(--accent-strong);
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 850;
  line-height: 1;
  margin: 0 0 16px;
}

.address-line {
  color: var(--ink);
  font-size: 18px;
  font-weight: 750;
  line-height: 1.4;
  margin: 16px 0 0;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 0;
}

.hero-facts span {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  display: inline-flex;
  flex-direction: column;
  min-width: 92px;
  padding: 12px 14px;
}

.hero-facts strong {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.1;
}

h1,
h2 {
  letter-spacing: 0;
  line-height: 1.04;
  margin: 0;
}

h1 {
  font-size: clamp(34px, 4.8vw, 58px);
  max-width: 640px;
}

h2 {
  font-size: 40px;
}

.summary {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
  margin: 24px 0;
  max-width: 620px;
}

.hero-actions,
.source-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.facts {
  background: var(--accent-strong);
  color: white;
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
}

.fact {
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  min-height: 104px;
  padding: 24px;
}

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

.fact strong {
  display: block;
  font-size: 24px;
}

.fact span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
}

.section {
  padding: 72px 48px;
}

.section-heading {
  margin: 0 auto 28px;
  max-width: 1120px;
}

.overview {
  align-items: stretch;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
}

.overview-copy,
.agent-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px;
}

.overview-copy > p[data-feature-intro] {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.65;
  margin-bottom: 0;
  max-width: 820px;
}

.slogans {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.slogans p {
  background: #f7f4ee;
  border-left: 4px solid #c8a76a;
  color: var(--ink);
  font-size: 18px;
  font-weight: 750;
  line-height: 1.45;
  margin: 0;
  padding: 14px 16px;
}

.tours {
  background: #f7f4ee;
}

.tour-grid {
  align-items: stretch;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.55fr);
  margin: 0 auto;
  max-width: 1120px;
}

.tour-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  overflow: hidden;
}

.tour-card-wide {
  grid-row: span 2;
}

.tour-frame {
  background: #111a17;
  aspect-ratio: 16 / 9;
}

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

.floor-plan-preview {
  align-items: center;
  background: white;
  display: flex;
  min-height: 360px;
  padding: 18px;
}

.floor-plan-preview img {
  display: block;
  max-height: 340px;
  object-fit: contain;
  width: 100%;
}

.tour-link-card {
  align-items: center;
  background: #111a17;
  color: white;
  display: flex;
  min-height: 220px;
  padding: 28px;
}

.tour-link-card span {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 34px;
  line-height: 1.1;
}

.tour-copy {
  padding: 22px;
}

.tour-copy h3 {
  font-size: 24px;
  line-height: 1.15;
  margin: 0 0 8px;
}

.tour-copy p {
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.tour-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.gallery-sections {
  display: grid;
  gap: 48px;
  margin: 0 auto;
  max-width: 1120px;
}

.gallery-section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  max-width: 760px;
}

.gallery-section-heading h3 {
  font-size: 28px;
  line-height: 1.1;
  margin: 0;
}

.gallery-section-heading p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
  margin: 0;
}

.gallery {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  max-width: none;
}

.gallery figure {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 0;
  overflow: hidden;
}

.gallery figure:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery img {
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  width: 100%;
}

.gallery-trigger {
  background: transparent;
  border: 0;
  cursor: zoom-in;
  display: block;
  padding: 0;
  width: 100%;
}

.gallery figure:first-child img {
  aspect-ratio: 4 / 3;
  height: 100%;
}

.gallery figcaption {
  color: var(--muted);
  font-size: 14px;
  padding: 12px;
}

.split {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1.45fr);
}

.highlights {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.highlights li {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 92px;
  padding: 20px;
}

.highlights strong {
  color: var(--accent-strong);
  display: block;
  font-size: 18px;
  margin-bottom: 8px;
}

.highlights span {
  color: var(--muted);
  line-height: 1.55;
}

.description {
  background: var(--panel);
}

.description div {
  font-size: 20px;
  line-height: 1.75;
  max-width: 840px;
}

.video {
  background: #111a17;
  color: white;
}

.video video {
  max-width: 100%;
}

.lightbox {
  align-items: center;
  background: rgba(10, 16, 14, 0.92);
  display: grid;
  inset: 0;
  justify-items: center;
  padding: 28px 72px;
  position: fixed;
  z-index: 100;
}

.lightbox figure {
  margin: 0;
  max-height: 92vh;
  max-width: 92vw;
}

.lightbox img {
  display: block;
  max-height: 84vh;
  max-width: 92vw;
  object-fit: contain;
}

.lightbox figcaption {
  color: white;
  font-size: 15px;
  margin-top: 12px;
  text-align: center;
}

.lightbox-close,
.lightbox-nav {
  align-items: center;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  color: white;
  cursor: pointer;
  display: flex;
  font: inherit;
  justify-content: center;
  position: absolute;
}

.lightbox-close {
  font-size: 34px;
  height: 48px;
  right: 24px;
  top: 24px;
  width: 48px;
}

.lightbox-nav {
  font-size: 54px;
  height: 64px;
  top: 50%;
  transform: translateY(-50%);
  width: 64px;
}

.lightbox-nav.prev {
  left: 24px;
}

.lightbox-nav.next {
  right: 24px;
}

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

.contact-layout {
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  margin-top: 28px;
}

.agent-list,
.agent-panel > div {
  display: grid;
  gap: 12px;
}

.agent-card {
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  grid-template-columns: 72px minmax(0, 1fr);
  padding: 18px;
}

.agent-photo {
  aspect-ratio: 1;
  border: 2px solid #efe6d6;
  border-radius: 50%;
  display: block;
  object-fit: cover;
  object-position: center top;
  width: 72px;
}

.agent-card strong {
  display: block;
  font-size: 20px;
  margin-bottom: 8px;
}

.agent-card span {
  color: var(--muted);
  display: block;
  font-size: 14px;
  line-height: 1.45;
}

.agent-phone {
  margin-top: 10px;
}

.agent-phone a {
  color: var(--accent-strong);
  font-weight: 800;
  text-decoration: none;
}

.source-note {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
  margin-top: 0;
  max-width: 620px;
}

.is-hidden {
  display: none;
}

@media (max-width: 900px) {
  .topbar {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
  }

  .nav {
    order: 3;
    overflow-x: auto;
    width: 100%;
  }

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

  .hero-copy {
    padding: 36px 22px;
  }

  .hero-copy::before {
    left: 22px;
    top: 20px;
  }

  .hero-media,
  .hero-media img {
    min-height: 360px;
  }

  .facts,
  .overview,
  .tour-grid,
  .gallery,
  .split,
  .highlights,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .gallery figure:first-child {
    grid-column: auto;
    grid-row: auto;
  }

  .tour-card-wide {
    grid-column: auto;
    grid-row: auto;
  }

  .fact {
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    border-right: 0;
  }

  .section {
    padding: 48px 22px;
  }

  .lightbox {
    padding: 68px 16px 24px;
  }

  .lightbox-nav {
    bottom: 18px;
    height: 48px;
    top: auto;
    transform: none;
    width: 48px;
  }

  h2 {
    font-size: 32px;
  }
}
