:root {
  --ivory: #f4f0e7;
  --ivory-soft: #faf8f2;
  --paper: #fffdf8;
  --charcoal: #171a19;
  --charcoal-soft: #303431;
  --mineral: #173336;
  --gold: #9d7b42;
  --gold-light: #c9ae7b;
  --line: rgba(23, 26, 25, 0.16);
  --line-light: rgba(255, 253, 248, 0.22);
  --muted: #686b66;
  --success: #315f49;
  --danger: #9b3f36;
  --shadow: 0 24px 70px rgba(18, 28, 27, 0.12);
  --radius: 2px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, "Segoe UI", Arial, sans-serif;
  --container: min(1320px, calc(100% - 40px));
  --section-space: clamp(72px, 9vw, 144px);
  color-scheme: light;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivory-soft);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.nav-open { overflow: hidden; }

img {
  display: block;
  width: 100%;
  height: auto;
  background: #ddd5c8;
}

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  background: var(--paper);
  color: var(--charcoal);
  transform: translateY(-160%);
}

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

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.03; }
h1 { font-size: clamp(3rem, 7.4vw, 7.6rem); letter-spacing: -0.045em; }
h2 { font-size: clamp(2.3rem, 4.4vw, 4.8rem); letter-spacing: -0.035em; }
h3 { font-size: clamp(1.35rem, 2vw, 2rem); letter-spacing: -0.02em; }

.container { width: var(--container); margin-inline: auto; }
.section { padding-block: var(--section-space); }
.section--tight { padding-block: clamp(50px, 6vw, 88px); }
.section--dark { background: var(--mineral); color: var(--paper); }
.section--paper { background: var(--paper); }
.section-heading { max-width: 780px; margin-bottom: clamp(40px, 6vw, 76px); }
.section-heading p { max-width: 650px; color: var(--muted); font-size: 1.06rem; }
.section--dark .section-heading p { color: rgba(255, 253, 248, 0.72); }

.site-header {
  position: absolute;
  z-index: 100;
  inset: 0 0 auto;
  color: var(--paper);
  border-bottom: 1px solid var(--line-light);
}

.site-header--solid {
  position: relative;
  background: var(--mineral);
}

.header-inner {
  width: var(--container);
  min-height: 88px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; border: 1px solid var(--gold-light); transform: rotate(45deg); position: relative; }
.brand-mark::after { content: ""; position: absolute; inset: 7px; border: 1px solid var(--gold-light); }
.brand-copy { line-height: 1.05; }
.brand-name { display: block; font-family: var(--serif); font-size: 1.1rem; letter-spacing: 0.03em; }
.brand-type { display: block; margin-top: 5px; color: var(--gold-light); font-size: 0.58rem; font-weight: 700; letter-spacing: 0.19em; text-transform: uppercase; }

.nav-panel { display: flex; align-items: center; gap: clamp(16px, 2vw, 34px); }
.nav-panel a { font-size: 0.72rem; font-weight: 650; letter-spacing: 0.1em; text-decoration: none; text-transform: uppercase; }
.nav-panel a:hover, .nav-panel a[aria-current="page"] { color: var(--gold-light); }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-light);
  background: transparent;
}

.nav-toggle-lines, .nav-toggle-lines::before, .nav-toggle-lines::after {
  width: 20px;
  height: 1px;
  background: currentColor;
}
.nav-toggle-lines { position: relative; }
.nav-toggle-lines::before, .nav-toggle-lines::after { content: ""; position: absolute; left: 0; }
.nav-toggle-lines::before { top: -6px; }
.nav-toggle-lines::after { top: 6px; }

.hero {
  position: relative;
  min-height: min(900px, 100svh);
  display: grid;
  align-items: end;
  color: var(--paper);
  background: var(--mineral);
  overflow: hidden;
}

.hero--compact { min-height: 620px; }
.hero-media, .hero-media::after { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; background: linear-gradient(90deg, rgba(9, 22, 24, 0.86) 0%, rgba(9, 22, 24, 0.38) 52%, rgba(9, 22, 24, 0.12) 100%); }
.hero-content { position: relative; z-index: 1; width: var(--container); margin-inline: auto; padding: 180px 0 clamp(70px, 10vw, 130px); }
.hero-content > * { max-width: 830px; }
.hero-copy { max-width: 620px; color: rgba(255, 253, 248, 0.8); font-size: clamp(1rem, 1.5vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 23px;
  border: 1px solid var(--charcoal);
  border-radius: var(--radius);
  background: var(--charcoal);
  color: var(--paper);
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover { background: var(--gold); border-color: var(--gold); }
.button--light { background: var(--paper); border-color: var(--paper); color: var(--charcoal); }
.button--outline { background: transparent; border-color: currentColor; color: inherit; }
.button--text { min-height: auto; padding: 0 0 5px; border: 0; border-bottom: 1px solid currentColor; background: none; color: inherit; }

.intro-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(50px, 8vw, 130px); align-items: start; }
.intro-copy { max-width: 570px; }
.intro-copy p { color: var(--muted); font-size: 1.05rem; }
.editorial-image { position: relative; min-height: 560px; overflow: hidden; box-shadow: var(--shadow); }
.editorial-image img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.editorial-note { position: absolute; right: 0; bottom: 0; max-width: 280px; padding: 24px; background: var(--paper); font-size: 0.78rem; }

.listing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 3vw, 40px); }
.property-card { background: var(--paper); border: 1px solid var(--line); box-shadow: 0 14px 40px rgba(18, 28, 27, 0.05); }
.property-card[hidden] { display: none; }
.property-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.property-media img { height: 100%; object-fit: cover; transition: transform 550ms ease; }
.property-card:hover .property-media img { transform: scale(1.025); }
.demo-label { position: absolute; top: 15px; left: 15px; padding: 7px 10px; background: rgba(23, 26, 25, 0.88); color: var(--paper); font-size: 0.59rem; font-weight: 750; letter-spacing: 0.11em; text-transform: uppercase; }
.property-body { padding: 26px; }
.property-location { margin-bottom: 9px; color: var(--gold); font-size: 0.69rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; }
.property-body h3 { margin-bottom: 12px; }
.property-meta { display: flex; flex-wrap: wrap; gap: 9px 18px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.79rem; }
.property-price { margin: 18px 0 0; font-family: var(--serif); font-size: 1.35rem; }
.demo-disclosure { margin: 16px 0 0; color: var(--muted); font-size: 0.72rem; }

.filter-bar { display: grid; grid-template-columns: repeat(4, minmax(130px, 1fr)) auto; gap: 15px; align-items: end; margin-bottom: 28px; padding: 24px; background: var(--paper); border: 1px solid var(--line); }
.filter-group label { display: block; margin-bottom: 8px; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.filter-group select { width: 100%; min-height: 48px; padding: 10px 38px 10px 12px; border: 1px solid var(--line); border-radius: 0; background: var(--ivory-soft); color: var(--charcoal); }
.results-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.results-count { margin: 0; color: var(--muted); }
.no-results { padding: 54px 24px; text-align: center; border: 1px solid var(--line); background: var(--paper); }

.split-panel { display: grid; grid-template-columns: 1fr 1fr; }
.split-panel > * { min-height: 560px; }
.split-panel__image img { height: 100%; object-fit: cover; }
.split-panel__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(46px, 8vw, 110px); background: var(--mineral); color: var(--paper); }
.split-panel__copy p { color: rgba(255, 253, 248, 0.72); }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.stat { padding: 34px clamp(18px, 4vw, 50px); border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; margin-bottom: 8px; font-family: var(--serif); font-size: clamp(2rem, 4vw, 4rem); font-weight: 400; }
.stat span { color: var(--muted); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.feature { padding: clamp(28px, 4vw, 48px); background: var(--paper); }
.feature-index { display: block; margin-bottom: 38px; color: var(--gold); font-family: var(--serif); font-size: 1.1rem; }
.feature p { color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(48px, 8vw, 110px); align-items: start; }
.contact-details { padding: 36px; background: var(--mineral); color: var(--paper); }
.contact-details p { color: rgba(255, 253, 248, 0.72); }
.contact-list { margin: 35px 0 0; padding: 0; list-style: none; }
.contact-list li { padding: 18px 0; border-top: 1px solid var(--line-light); }
.contact-list span { display: block; color: var(--gold-light); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }

.demo-form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.demo-form-fields { display: contents; margin: 0; padding: 0; border: 0; }
.form-intro, .field--full, .form-actions, .status-message { grid-column: 1 / -1; }
.form-intro { padding: 16px 18px; border-left: 3px solid var(--gold); background: rgba(157, 123, 66, 0.09); font-size: 0.86rem; }
.field label { display: block; margin-bottom: 8px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 0; background: var(--paper); color: var(--charcoal); }
.field textarea { min-height: 150px; resize: vertical; }
.field-error { min-height: 1.4em; margin: 6px 0 0; color: var(--danger); font-size: 0.76rem; }
.status-message { display: none; padding: 18px; border-left: 3px solid var(--success); background: rgba(49, 95, 73, 0.1); color: var(--success); }
.status-message.is-visible { display: block; }

.cta-band { padding-block: clamp(68px, 8vw, 108px); background: var(--gold); color: var(--charcoal); }
.cta-inner { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.cta-inner h2 { max-width: 800px; margin-bottom: 0; }

.site-footer { padding: 64px 0 28px; background: var(--charcoal); color: var(--paper); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(2, 0.6fr); gap: 50px; padding-bottom: 52px; }
.footer-copy { max-width: 420px; color: rgba(255, 253, 248, 0.64); }
.footer-heading { color: var(--gold-light); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li + li { margin-top: 10px; }
.footer-links a { color: rgba(255, 253, 248, 0.76); text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding-top: 26px; border-top: 1px solid var(--line-light); color: rgba(255, 253, 248, 0.5); font-size: 0.72rem; }

@media (max-width: 1050px) {
  html:not(.site-enhanced) .header-inner { flex-wrap: wrap; padding-block: 16px; }
  html:not(.site-enhanced) .nav-panel { width: 100%; flex-wrap: wrap; justify-content: center; padding-bottom: 10px; }
  .site-enhanced .nav-toggle { display: inline-flex; }
  .site-enhanced .nav-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: min(380px, 88vw);
    height: 100dvh;
    padding: 120px 36px 40px;
    flex-direction: column;
    align-items: flex-start;
    background: var(--mineral);
    box-shadow: -24px 0 70px rgba(0,0,0,0.22);
    transform: translateX(105%);
    transition: transform 240ms ease;
  }
  .site-enhanced .nav-panel.is-open { transform: translateX(0); }
  .site-enhanced .nav-panel a { font-family: var(--serif); font-size: 1.7rem; font-weight: 400; letter-spacing: 0; text-transform: none; }
  .filter-bar { grid-template-columns: repeat(2, 1fr); }
  .listing-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  :root { --container: min(100% - 28px, 680px); --section-space: 74px; }
  .header-inner { min-height: 76px; }
  .hero { min-height: 760px; }
  .hero--compact { min-height: 570px; }
  .hero-content { padding-top: 150px; }
  .hero-media::after { background: linear-gradient(0deg, rgba(9, 22, 24, 0.9) 0%, rgba(9, 22, 24, 0.3) 90%); }
  .intro-grid, .contact-grid, .split-panel { grid-template-columns: 1fr; }
  .editorial-image { min-height: 430px; }
  .split-panel > * { min-height: 420px; }
  .listing-grid, .feature-grid, .stats, .footer-grid { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .filter-bar { grid-template-columns: 1fr; padding: 18px; }
  .filter-bar .button { width: 100%; }
  .demo-form { grid-template-columns: 1fr; }
  .cta-inner, .footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (min-width: 1500px) {
  :root { --container: min(1420px, calc(100% - 96px)); }
  body { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
}

