:root {
  --bg: #f3efe6;
  --surface: #faf7f1;
  --ink: #1a2a33;
  --muted: #5a6a72;
  --faint: #8a969c;
  --navy: #1e3d58;
  --navy-deep: #152c40;
  --sea: #3d6b6e;
  --foam: #d7e2df;
  --sand: #e6dccb;
  --line: #d5cdc0;
  --display: "Fraunces", "Iowan Old Style", Palatino, serif;
  --sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; text-wrap: balance; letter-spacing: -0.02em; }
p { text-wrap: pretty; }
.wrap { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }
.site-header {
  position: sticky; top: 0; z-index: 40;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(10px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.15; }
.brand strong { font-family: var(--display); font-size: 1.1rem; color: var(--navy); font-weight: 500; }
.brand span { font-size: 0.75rem; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none; font-size: 0.9rem; color: var(--muted);
  padding: 0.5rem 0.75rem; border-radius: 8px;
}
.nav a:hover, .nav a.is-active { color: var(--navy); background: var(--sand); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 1.15rem; border-radius: 8px; border: 0;
  background: var(--navy); color: var(--surface); text-decoration: none;
  font: 500 0.9rem var(--sans); cursor: pointer;
}
.btn:hover { background: var(--navy-deep); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--sand); }
.menu-btn {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; color: var(--navy); cursor: pointer;
}
.mobile-nav { display: none; border-top: 1px solid var(--line); background: var(--surface); padding: 0.75rem 1rem 1rem; }
.mobile-nav a { display: block; padding: 0.75rem; text-decoration: none; }
.mobile-nav.open { display: block; }
@media (max-width: 800px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .brand span { display: none; }
}

.hero-copy { padding: 2.5rem 0 1.25rem; }
.kicker { font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sea); margin: 0 0 0.6rem; }
h1 { font-size: clamp(2rem, 4vw, 3.4rem); color: var(--navy); margin: 0; line-height: 1.12; }
.lead { max-width: 40rem; color: var(--muted); font-size: 1.1rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }

.slideshow { position: relative; overflow: hidden; border-radius: 16px; background: var(--navy); min-height: 18rem; }
.slideshow img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.7s; }
.slideshow img.is-on { opacity: 1; }
.slideshow .shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(21,44,64,0.7), transparent 55%); }
.slide-ui { position: absolute; inset: auto 1rem 1rem 1rem; display: flex; justify-content: space-between; align-items: end; gap: 1rem; }
.slide-ui p { font-family: var(--display); color: var(--surface); font-size: clamp(1.4rem, 3vw, 2.2rem); margin: 0; }
.icon-btn {
  width: 44px; height: 44px; border: 0; border-radius: 8px; background: color-mix(in srgb, var(--surface) 90%, transparent);
  color: var(--navy); cursor: pointer;
}

.grid-4 { display: grid; gap: 1rem; grid-template-columns: repeat(4, 1fr); padding: 3rem 0; }
.grid-2 { display: grid; gap: 1.5rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) { .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-4, .grid-2 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 1.2rem; }
.card h2, .card h3 { color: var(--navy); margin: 0.6rem 0 0.4rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.house-card { overflow: hidden; padding: 0; text-decoration: none; display: block; }
.house-card img { aspect-ratio: 16/10; width: 100%; object-fit: cover; }
.house-card div { padding: 1.2rem 1.3rem 1.4rem; }
.house-card .meta { font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sea); }

.page { padding: 2.5rem 0 4rem; }
.muted { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 1rem 0; padding: 0; list-style: none; }
.chips li { border: 1px solid var(--line); background: var(--sand); border-radius: 999px; padding: 0.2rem 0.75rem; font-size: 0.75rem; color: var(--navy); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
@media (max-width: 700px) { .gallery { grid-template-columns: 1fr 1fr; } }
.gallery button { border: 0; padding: 0; background: var(--sand); border-radius: 12px; overflow: hidden; cursor: pointer; }
.gallery img { aspect-ratio: 4/3; width: 100%; object-fit: cover; }
.lightbox { position: fixed; inset: 0; background: rgba(21,44,64,0.82); display: none; align-items: center; justify-content: center; z-index: 80; padding: 1.5rem; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 90vh; max-width: 100%; border-radius: 12px; }
.lightbox .close { position: absolute; top: 1rem; right: 1rem; }

form { display: grid; gap: 0.9rem; max-width: 36rem; }
label { font-size: 0.9rem; font-weight: 500; }
input, select, textarea {
  width: 100%; height: 44px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--surface); padding: 0 0.75rem; font: 1rem var(--sans); color: var(--ink);
}
textarea { height: auto; min-height: 8rem; padding: 0.6rem 0.75rem; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.ok { background: var(--foam); border: 1px solid var(--line); border-radius: 12px; padding: 1rem; color: var(--navy); }

.price-box { text-align: center; padding: 2rem; }
.price-box .num { font-family: var(--display); font-size: 3rem; color: var(--navy); margin: 0.4rem 0; }
.legal { font-size: 0.92rem; color: var(--muted); max-width: 42rem; }
.legal h2 { color: var(--navy); font-size: 1.4rem; margin-top: 1.5rem; }

.site-footer { margin-top: auto; background: var(--navy); color: var(--foam); }
.foot { display: grid; gap: 1.5rem; grid-template-columns: 1.2fr 1fr 0.8fr; padding: 2.5rem 0; }
.site-footer a { color: var(--foam); }
.site-footer .title { font-family: var(--display); font-size: 1.25rem; color: var(--surface); margin: 0 0 0.4rem; }
@media (max-width: 700px) { .foot { grid-template-columns: 1fr; } .row-2 { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
