:root {
  --ink: #1f2a36;
  --ink-2: #3c4a58;
  --muted: #5d6b78;
  --gold: #c9a24b;
  --gold-dark: #8a6a1f;
  --bg: #ffffff;
  --bg-alt: #f6f3ec;
  --line: #e4ddcc;
  --radius: 12px;
  --shadow: 0 8px 24px rgba(31, 42, 54, .08);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 1.0625rem; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: var(--gold-dark); }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1, h2 { font-family: var(--serif); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.4rem); }
p { margin: 0 0 1em; }
.container { width: min(1140px, 100% - 2.5rem); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -3rem; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 6px; z-index: 100; }
.skip-link:focus { top: 1rem; color: #fff; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 600; color: var(--gold-dark); margin-bottom: .6rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.4rem; border-radius: 999px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit; transition: background .2s, color .2s, border-color .2s; }
.btn-primary { background: var(--gold); color: var(--ink); }
.btn-primary:hover { background: #b38d38; color: var(--ink); }
.btn-outline { border-color: #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--ink); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.2) blur(6px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.brand-mark { width: 40px; height: 40px; border-radius: 10px; background: var(--ink); color: var(--gold); display: grid; place-items: center; font-family: var(--serif); font-weight: 700; }
.brand-text { font-weight: 700; line-height: 1.1; display: flex; flex-direction: column; }
.brand-text small { font-weight: 500; font-size: .78rem; color: var(--muted); }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 1.6rem; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.site-nav a:hover { color: var(--gold-dark); }
.site-nav .nav-cta { background: var(--ink); color: #fff; padding: .5rem 1rem; border-radius: 999px; }
.site-nav .nav-cta:hover { background: var(--ink-2); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: .6rem; cursor: pointer; }
.nav-toggle .bar { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { background: linear-gradient(135deg, #1f2a36 0%, #2d3d4d 100%); color: #fff; padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.hero-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: center; }
.hero .eyebrow { color: var(--gold); }
.hero h1 { font-size: clamp(2.6rem, 7vw, 4.4rem); margin-bottom: .3em; }
.tagline { font-size: clamp(1.1rem, 2.2vw, 1.35rem); color: #d7dde3; max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin: 1.8rem 0 1.2rem; }
.hero-note { color: #aeb9c4; font-size: .95rem; margin: 0; }
.hero-photo { aspect-ratio: 4 / 5; max-width: 360px; width: 100%; justify-self: end; border-radius: 20px; background: radial-gradient(circle at 50% 44%, #3b4d60 0 30%, transparent 31%), linear-gradient(160deg, #354657, #243240); border: 3px solid var(--gold); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; box-shadow: 0 20px 40px rgba(0,0,0,.25); }
.hero-photo span { font-family: var(--serif); font-size: 4.5rem; font-weight: 700; color: var(--gold); line-height: 1; }
.hero-photo small { color: #c3ccd5; font-size: .9rem; }

/* Sections */
.section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.about-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; align-items: start; }
.about p { color: var(--ink-2); }
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.feature-list li { background: var(--bg-alt); border-left: 4px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.1rem 1.3rem; }
.feature-list h3 { font-size: 1.1rem; margin-bottom: .25rem; }
.feature-list p { margin: 0; font-size: .98rem; }

.listings { background: var(--bg-alt); }
.section-intro { color: var(--muted); max-width: 60ch; }
.listing-grid { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.6rem; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card-photo { aspect-ratio: 16 / 10; position: relative; background-color: #cfd8df; }
/* CSS-only house illustration placeholders */
.card-photo::before { content: ""; position: absolute; inset: 0; background:
  linear-gradient(transparent 72%, rgba(90,120,80,.55) 72%),
  conic-gradient(from 135deg at 50% 30%, var(--roof) 0 90deg, transparent 90deg) 50% 0 / 60% 100% no-repeat; }
.card-photo::after { content: ""; position: absolute; left: 30%; right: 30%; top: 45%; bottom: 28%; background:
  linear-gradient(90deg, transparent 12%, rgba(255,255,255,.75) 12% 30%, transparent 30% 70%, rgba(255,255,255,.75) 70% 88%, transparent 88%) 0 22% / 100% 34% no-repeat,
  linear-gradient(90deg, transparent 42%, var(--roof) 42% 58%, transparent 58%) 0 100% / 100% 55% no-repeat,
  var(--wall); }
.ph-1 { background: linear-gradient(#bcd3e6, #e6eef4); --roof: #6b4b3a; --wall: #e9dcc3; }
.ph-2 { background: linear-gradient(#c7d9e3, #eef2ee); --roof: #3c4a58; --wall: #d9d2c5; }
.ph-3 { background: linear-gradient(#d6dfe8, #f3efe6); --roof: #7a3e32; --wall: #efe6d3; }
.badge { position: absolute; top: .8rem; left: .8rem; z-index: 1; background: var(--ink); color: #fff; font-size: .75rem; font-weight: 600; letter-spacing: .04em; padding: .3rem .65rem; border-radius: 999px; }
.card-body { padding: 1.3rem 1.4rem 1.5rem; }
.price { font-family: var(--serif); font-size: 1.6rem; font-weight: 700; margin: 0 0 .2rem; }
.address { font-size: 1.05rem; font-family: var(--sans); }
.address span { font-weight: 400; color: var(--muted); font-size: .95rem; }
.specs { list-style: none; margin: .6rem 0 .9rem; padding: .6rem 0; display: flex; gap: 1.1rem; border-block: 1px solid var(--line); font-size: .95rem; color: var(--ink-2); flex-wrap: wrap; }
.blurb { color: var(--muted); font-size: .96rem; margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-list { margin: 1.6rem 0 0; display: grid; gap: 1.1rem; }
.contact-list dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.contact-list dd { margin: .15rem 0 0; font-size: 1.08rem; }
.contact-list a { font-weight: 600; }
.contact-form { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; display: grid; gap: .35rem; }
.contact-form h3 { font-size: 1.3rem; margin-bottom: 0; }
.form-hint { color: var(--muted); font-size: .92rem; margin-bottom: .6rem; }
.contact-form label { font-weight: 600; font-size: .95rem; margin-top: .5rem; }
.optional { font-weight: 400; color: var(--muted); }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; font: inherit; font-size: 1rem; padding: .7rem .85rem; border: 1px solid #b9b2a2; border-radius: 8px; background: #fff; color: var(--ink); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 3px solid var(--gold); outline-offset: 1px; border-color: var(--ink); }
.contact-form .btn { margin-top: 1rem; justify-self: start; }

/* Footer */
.site-footer { background: var(--ink); color: #c3ccd5; padding: 2.5rem 0; font-size: .92rem; }
.footer-inner p { margin: 0 0 .5rem; }
.site-footer strong { color: #fff; }
.eho { display: flex; align-items: center; gap: .5rem; }
.eho-icon { width: 20px; height: 20px; flex: none; color: #fff; }

/* Responsive */
@media (max-width: 860px) {
  .hero-inner, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .hero-photo { justify-self: start; max-width: 240px; order: -1; }
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1rem; }
  .site-nav li a { display: block; padding: .8rem 0; }
  .site-nav .nav-cta { text-align: center; margin-top: .5rem; }
}
@media (max-width: 480px) {
  .hero-actions .btn { width: 100%; }
  .hero-photo { max-width: 180px; }
  .hero-photo span { font-size: 3.2rem; }
  .contact-form { padding: 1.3rem; }
  .contact-form .btn { justify-self: stretch; }
}
