:root {
  --cream: #f7f3ec;
  --paper: #fffdf8;
  --ink: #1d2d2b;
  --muted: #66736d;
  --water: #173d48;
  --green: #263f32;
  --sand: #d9c7a5;
  --line: rgba(29, 45, 43, .14);
  --shadow: 0 20px 54px rgba(22, 44, 40, .12);
  --card-radius: 8px;
  --image-radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Manrope, system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 17px;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(217, 199, 165, .9);
  outline-offset: 3px;
}

.container,
.narrow {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.narrow {
  max-width: 780px;
}

.center {
  text-align: center;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgba(255, 253, 248, .88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: block;
  min-width: 0;
  text-decoration: none;
}

.brand img {
  display: block;
  width: min(250px, 34vw);
  height: auto;
}

.nav-list {
  display: flex;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.nav-list a:hover {
  color: var(--water);
}

.menu-toggle {
  display: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 15px;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
}

.hero,
.page-hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  padding-top: 78px;
  overflow: hidden;
  background-image: var(--hero);
  background-size: cover;
  background-position: center;
}

.page-hero.small {
  min-height: 430px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 35, 32, .78), rgba(15, 35, 32, .34), rgba(15, 35, 32, .08)),
    linear-gradient(0deg, rgba(15, 35, 32, .32), rgba(15, 35, 32, 0));
}

.hero-content {
  position: relative;
  max-width: 780px;
  color: #fff;
}

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

.hero h1,
.page-hero h1,
h1,
h2,
h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 1;
  letter-spacing: 0;
}

.hero h1,
.page-hero h1,
h1,
h2 {
  margin: 0 0 22px;
  font-weight: 600;
}

.hero h1 {
  max-width: 800px;
  font-size: 82px;
}

.page-hero h1 {
  max-width: 840px;
  font-size: 64px;
}

h1 {
  font-size: 60px;
}

h2 {
  font-size: 50px;
}

h3 {
  margin: 0 0 12px;
  font-size: 30px;
  font-weight: 600;
}

.lead {
  max-width: 700px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, .9);
  font-size: 22px;
  line-height: 1.55;
}

.lead.dark {
  color: var(--muted);
  margin-inline: auto;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.btn-primary {
  background: var(--sand);
  color: var(--ink);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .15);
}

.btn-light {
  border: 1px solid rgba(255, 255, 255, .65);
  color: #fff;
}

.section {
  padding: 104px 0;
}

.muted {
  background: var(--cream);
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}

.image-card {
  overflow: hidden;
  border-radius: var(--image-radius);
  background: #ddd;
  box-shadow: var(--shadow);
}

.image-card img {
  width: 100%;
  height: 560px;
  object-fit: cover;
}

.image-card.tall img {
  height: 650px;
}

.text-block p,
.content-main p,
.property-card p,
.contact-card p,
.contact-panel p {
  color: var(--muted);
}

.text-block p {
  margin: 0 0 18px;
}

.quote {
  margin: 0;
  color: var(--green);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 54px;
  line-height: 1.08;
}

.quote-by {
  color: var(--muted);
  font-weight: 800;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

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

.property-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.features article,
.aside-card,
.contact-card,
.contact-panel,
.property-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  box-shadow: 0 14px 42px rgba(29, 45, 43, .07);
}

.features article,
.aside-card,
.contact-card,
.contact-panel {
  padding: 30px;
}

.features p {
  color: var(--muted);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 72px;
  align-items: start;
}

.content-main h2 {
  margin-top: 46px;
  font-size: 44px;
}

.content-main h2:first-child {
  margin-top: 0;
}

.content-aside {
  position: sticky;
  top: 110px;
}

.content-aside img {
  border-radius: var(--image-radius);
  margin-bottom: 20px;
}

.property-card {
  overflow: hidden;
}

.property-card img {
  width: 100%;
  height: 245px;
  object-fit: cover;
}

.property-card div {
  padding: 26px;
}

.status {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--water);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.status.sold {
  color: var(--muted);
}

.contact-section {
  padding-top: 150px;
}

.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.contact-card a,
.site-footer a {
  color: inherit;
}

.phone-action {
  margin-top: 26px;
}

.phone-action a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--water);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.site-footer {
  background: var(--ink);
  color: #fff;
  padding: 70px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
}

.site-footer h3,
.site-footer h4 {
  margin: 0 0 12px;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, .72);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .14);
  margin-top: 40px;
  padding-top: 22px;
  color: rgba(255, 255, 255, .6);
  font-size: 14px;
}

.fade-in {
  animation: fadeUp .9s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .nav-list {
    gap: 18px;
  }

  .hero h1 {
    font-size: 68px;
  }

  .page-hero h1,
  h1 {
    font-size: 54px;
  }

  h2 {
    font-size: 44px;
  }

  .split-grid,
  .content-grid,
  .contact-grid,
  .footer-grid,
  .property-grid,
  .features {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .content-aside {
    position: static;
  }
}

@media (max-width: 880px) {
  body {
    font-size: 16px;
  }

  .header-inner {
    min-height: 72px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    left: 20px;
    right: 20px;
    top: 72px;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--card-radius);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: block;
  }

  .nav-list {
    display: grid;
    gap: 14px;
  }

  .nav-list a {
    display: block;
    padding: 8px 0;
  }

  .hero,
  .page-hero {
    min-height: 620px;
    padding-top: 72px;
    background-position: center;
  }

  .page-hero.small {
    min-height: 390px;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(15, 35, 32, .82), rgba(15, 35, 32, .34));
  }

  .section {
    padding: 76px 0;
  }

  .image-card img,
  .image-card.tall img {
    height: 420px;
  }

  .contact-section {
    padding-top: 120px;
  }

  .brand img {
    width: min(215px, 48vw);
  }
}

@media (max-width: 560px) {
  .container,
  .narrow {
    width: min(100% - 28px, 1120px);
  }

  .brand img {
    width: min(180px, 52vw);
  }

  .hero {
    min-height: 680px;
    align-items: flex-end;
    padding-bottom: 64px;
  }

  .page-hero,
  .page-hero.small {
    min-height: 360px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .page-hero h1,
  h1 {
    font-size: 40px;
  }

  h2,
  .content-main h2 {
    font-size: 36px;
  }

  h3 {
    font-size: 27px;
  }

  .lead {
    font-size: 18px;
  }

  .quote {
    font-size: 38px;
  }

  .button-row,
  .btn {
    width: 100%;
  }

  .image-card img,
  .image-card.tall img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .features article,
  .contact-panel,
  .contact-card,
  .aside-card {
    padding: 24px;
  }

  .property-card div {
    padding: 22px;
  }
}
