@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --ink: #241f1b;
  --muted: #71675e;
  --paper: #f5f1ea;
  --cream: #fcfaf6;
  --line: #ded4c7;
  --gold: #9d7952;
  --dark: #1f1c19;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Manrope, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
p, h1, h2, h3 { margin-top: 0; }
button, input, textarea, select { font: inherit; }

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 92px;
  padding: 0 clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(245,241,234,.95);
  backdrop-filter: blur(14px);
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--gold);
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
}
.brand strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 29px;
  font-weight: 500;
  letter-spacing: .05em;
  line-height: .9;
}
.brand small { color: var(--muted); font-size: 10px; letter-spacing: .25em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 42px); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.nav a { color: var(--muted); }
.nav a.active, .nav a:hover { color: var(--ink); }
.header-link { padding-bottom: 4px; border-bottom: 1px solid var(--gold); color: var(--ink) !important; }
.menu-button { display: none; }

.hero {
  display: grid;
  grid-template-columns: .72fr 1fr;
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
  padding: clamp(42px, 6vw, 76px) clamp(20px, 5vw, 72px) 68px;
}
.eyebrow {
  margin-bottom: 22px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
}
h1, h2, .property-price {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  line-height: .98;
}
.hero h1 { margin-bottom: 25px; font-size: clamp(3.6rem, 5.9vw, 6.2rem); }
.lead { max-width: 500px; color: var(--muted); font-size: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.button {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 27px;
  border: 1px solid var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.button.dark { color: #fff; background: var(--dark); border-color: var(--dark); }
.button:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.hero-media { position: relative; }
.hero-media img { width: 100%; height: min(620px, 62vw); object-fit: cover; }
.media-caption {
  position: absolute;
  right: 0;
  bottom: -28px;
  min-width: 270px;
  padding: 20px 25px;
  background: var(--cream);
}
.media-caption strong { display: block; font-family: "Cormorant Garamond", serif; font-size: 25px; font-weight: 500; }
.media-caption span { color: var(--muted); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }

.numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 clamp(20px, 5vw, 72px);
  padding: 44px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.numbers div { padding-left: clamp(12px, 3vw, 42px); border-left: 1px solid var(--line); }
.numbers div:first-child { border: 0; padding-left: 0; }
.numbers strong { display: block; font-family: "Cormorant Garamond", serif; font-size: clamp(40px, 4vw, 55px); font-weight: 400; line-height: 1; }
.numbers span { color: var(--muted); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }

.section { padding: clamp(68px, 8vw, 108px) clamp(20px, 5vw, 72px); }
.section-head { max-width: 650px; margin-bottom: 48px; }
.section-head h2, .split-copy h2, .page-hero h1 { font-size: clamp(2.8rem, 4.5vw, 4.7rem); }
.featured { background: var(--cream); }
.properties { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.property { background: #fff; }
.property img { width: 100%; height: 265px; object-fit: cover; }
.property-body { padding: 23px 23px 28px; }
.property-body small { color: var(--gold); letter-spacing: .14em; text-transform: uppercase; }
.property-body h3 { margin: 10px 0 8px; font-family: "Cormorant Garamond", serif; font-size: 31px; font-weight: 500; }
.property-body p { color: var(--muted); }
.property-price { font-size: 29px; }
.split {
  display: grid;
  grid-template-columns: 1fr .84fr;
  gap: clamp(40px, 7vw, 96px);
  align-items: center;
}
.split img { width: 100%; min-height: 480px; object-fit: cover; }
.list { display: grid; gap: 22px; margin: 36px 0; }
.list article { padding-top: 20px; border-top: 1px solid var(--line); }
.list h3 { margin-bottom: 8px; font-family: "Cormorant Garamond", serif; font-size: 29px; font-weight: 500; }
.list p { color: var(--muted); margin-bottom: 0; }

.page-hero { padding: clamp(60px, 8vw, 106px) clamp(20px, 5vw, 72px); border-bottom: 1px solid var(--line); }
.page-hero p:not(.eyebrow) { max-width: 560px; color: var(--muted); }
.catalog { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.catalog .property:first-child { grid-column: span 2; display: grid; grid-template-columns: 1.05fr .95fr; }
.catalog .property:first-child img { height: 100%; min-height: 430px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-grid article { padding: 34px 28px; border: 1px solid var(--line); background: var(--cream); }
.service-grid b { color: var(--gold); font-size: 11px; letter-spacing: .2em; }
.service-grid h3 { margin: 18px 0 12px; font-family: "Cormorant Garamond", serif; font-size: 33px; font-weight: 500; }
.service-grid p { color: var(--muted); }
.contact {
  display: grid;
  grid-template-columns: .78fr 1fr;
  gap: clamp(38px, 8vw, 110px);
}
.contact h2 { font-size: clamp(3rem, 5vw, 5rem); }
.address { margin-top: 36px; color: var(--muted); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: clamp(25px, 4vw, 45px); background: var(--cream); }
.form label { color: var(--muted); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.form .full { grid-column: span 2; }
.form input, .form select, .form textarea {
  width: 100%;
  margin-top: 9px;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
}
.footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 50px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

@media (min-width: 901px) {
  .header,
  .hero,
  .page-hero,
  .section,
  .footer {
    padding-right: max(clamp(20px, 5vw, 72px), calc((100vw - 1280px) / 2));
    padding-left: max(clamp(20px, 5vw, 72px), calc((100vw - 1280px) / 2));
  }
  .numbers {
    width: min(calc(100% - clamp(40px, 10vw, 144px)), 1280px);
    margin-right: auto;
    margin-left: auto;
  }
}

@media (max-width: 900px) {
  body { font-size: 16px; }
  .header { height: 78px; }
  .nav { display: none; position: absolute; top: 78px; right: 0; left: 0; flex-direction: column; padding: 26px; background: var(--cream); }
  .nav.open { display: flex; }
  .menu-button { display: block; border: 0; background: none; font-size: 12px; letter-spacing: .16em; }
  .hero, .split, .contact { grid-template-columns: 1fr; }
  .hero-media { order: 2; }
  .hero-media img { height: 420px; }
  .numbers, .properties, .catalog, .service-grid { grid-template-columns: 1fr; }
  .numbers { gap: 26px; }
  .numbers div { border: 0; padding-left: 0; }
  .catalog .property:first-child { display: block; grid-column: auto; }
  .catalog .property:first-child img { min-height: 0; height: 265px; }
  .footer { flex-direction: column; }
}
