:root {
  --blue:#0a1f3d; --ivory:#f5efe6; --stone:#c9c4bc; --graphite:#2f3338;
  --paper:#fcfaf6; --serif:"Playfair Display", Georgia, serif; --sans:Inter, system-ui, sans-serif;
}
*,*::before,*::after { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; color:var(--blue); background:var(--paper); font:400 1rem/1.6 var(--sans); }
[id] { scroll-margin-top:1rem; }
img { display:block; width:100%; }
a { color:inherit; text-underline-offset:.23em; }
button,select { font:inherit; }
button,select { cursor:pointer; }
:focus-visible { outline:2px solid currentColor; outline-offset:4px; }
h1,h2,h3 { font-family:var(--serif); font-weight:400; line-height:1.08; margin:0 0 .4em; }
h1 { font-size:clamp(3rem,5.5vw,6.2rem); letter-spacing:-.045em; }
h2 { font-size:clamp(2.3rem,4vw,4.2rem); letter-spacing:-.035em; }
h3 { font-size:clamp(1.5rem,2vw,2rem); }
p { margin:.6em 0 1em; }
address { font-style:normal; }
.wrap { width:min(100% - 3rem, 1300px); margin-inline:auto; }
.skip { position:absolute; top:0; left:1rem; z-index:5; background:var(--paper); padding:.5rem 1rem; transform:translateY(-120%); }
.skip:focus { transform:translateY(0); }
.header,footer { background:var(--blue); color:var(--ivory); }
.nav { min-height:90px; display:flex; align-items:center; justify-content:space-between; gap:1rem 2rem; }
.brand { line-height:0; display:block; width:124px; flex:none; }
.brand img { filter:brightness(0) saturate(100%) invert(95%) sepia(8%) saturate(313%) hue-rotate(335deg); }
nav { display:flex; flex-wrap:wrap; gap:.45rem clamp(1rem,3vw,2.75rem); }
nav a { text-decoration:none; font-size:.9rem; }
nav a:hover { text-decoration:underline; }
.button { display:inline-flex; justify-content:center; align-items:center; gap:1rem; min-height:48px; padding:.65rem 1.1rem; border:1px solid var(--blue); background:var(--blue); color:var(--ivory); text-decoration:none; font-size:.88rem; font-weight:600; }
.button.outline { background:transparent; border-color:currentColor; color:inherit; }
.button:hover { opacity:.78; }
.actions { display:flex; flex-wrap:wrap; gap:.75rem; align-items:center; }
.hero { display:grid; grid-template-columns:47% 53%; background:var(--ivory); }
.hero-copy { padding:clamp(3rem,7vw,8rem) clamp(1.5rem,6vw,7rem); align-self:center; }
.hero-copy > p:not(.label) { max-width:34ch; color:var(--graphite); margin-bottom:1.65rem; }
.label { font-size:.75rem; text-transform:uppercase; letter-spacing:.14em; font-weight:600; }
.hero-image { margin:0; position:relative; min-height:490px; }
.hero-image img { height:100%; position:absolute; object-fit:cover; object-position:54% center; }
.hero-image figcaption { position:absolute; bottom:1rem; right:1rem; color:white; background:var(--blue); padding:.3rem .55rem; font-size:.7rem; }
.catalog,.services,.about,.owners,footer { padding-block:clamp(3rem,7vw,6.5rem); }
.section-heading { display:flex; align-items:end; justify-content:space-between; flex-wrap:wrap; gap:0 2rem; }
.section-heading p,#count { color:var(--graphite); font-size:.9rem; }
.filters { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)) auto; gap:1rem; align-items:end; border-block:1px solid var(--stone); padding:1.15rem 0; }
.filters label { font-size:.79rem; font-weight:600; }
select { display:block; width:100%; min-height:48px; border:1px solid var(--stone); background:var(--paper); border-radius:0; color:var(--blue); padding:.6rem; margin-top:.35rem; }
.cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1.4rem; }
.card { background:white; border:1px solid var(--stone); }
.card img { aspect-ratio: 1.46; object-fit:cover; background:var(--ivory); }
.card-body { padding:1.3rem; }
.card .label { margin:0 0 .8rem; }
.card p { font-size:.88rem; }
.card .price,.price { font:400 1.65rem var(--serif); margin:.6rem 0 .9rem; }
.card a { display:inline-block; margin-top:.25rem; font-weight:600; }
.owners { background:var(--blue); color:var(--ivory); }
.split { display:grid; grid-template-columns:1fr 1fr; gap:clamp(1.5rem,7vw,6rem); align-items:center; }
.owner-links a { border-bottom:1px solid var(--stone); display:flex; justify-content:space-between; gap:1rem; padding:1rem 0; text-decoration:none; }
.owner-links a:first-child { border-top:1px solid var(--stone); }
.owner-links a:hover { text-decoration:underline; }
.services article { align-self:stretch; border-top:1px solid var(--stone); padding-top:1.4rem; }
.services h2 { margin-bottom:.7em; }
.about { background:var(--ivory); }
.about img { max-width:420px; margin:auto; }
footer h2 { font-size:2.5rem; }
footer .actions { justify-content:end; }
dialog { padding:0; border:1px solid var(--stone); background:var(--paper); color:var(--blue); width:min(740px,calc(100% - 2rem)); max-height:90dvh; }
dialog::backdrop { background:#0a1f3dbb; }
.dialog-inner { padding:clamp(1rem,4vw,2.25rem); }
.dialog-inner form { display:flex; justify-content:end; margin-bottom:1rem; }
.gallery { display:grid; gap:.75rem; margin:1rem 0; }
.gallery img { max-height:380px; object-fit:cover; }
.facts { padding-left:1.2rem; }
@media(max-width:760px) {
  .nav { flex-wrap:wrap; justify-content:space-between; gap:.25rem; padding-block:.3rem .8rem; }
  .nav nav { width:100%; order:3; padding:.4rem 0; }
  .hero,.split { grid-template-columns:1fr; }
  .hero-image { min-height:0; aspect-ratio:1.45; }
  .filters,.cards { grid-template-columns:repeat(2,minmax(0,1fr)); }
  footer .actions { justify-content:start; }
}
@media(max-width:480px) { .cards { grid-template-columns:1fr; } .wrap { width:calc(100% - 2rem); } .filters { gap:.6rem; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }

.guided { padding-bottom:clamp(3rem,7vw,6.5rem); }
.guided-intro p { max-width:62ch; color:var(--graphite); }
#guided-form { background:var(--ivory); padding:clamp(1rem,4vw,2.5rem); }
.guided-fields { display:grid; grid-template-columns:1fr 1fr .75fr 1.75fr; gap:1rem; }
#guided-form label,#guided-form legend { font-size:.85rem; font-weight:600; }
#guided-form input { display:block; width:100%; min-height:48px; margin-top:.35rem; padding:.6rem; border:1px solid var(--stone); border-radius:0; background:var(--paper); color:var(--blue); font:inherit; font-weight:400; }
#guided-form small { display:block; margin-top:.3rem; font-weight:400; }
.guided-preferences { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; padding:1rem 0; margin:1rem 0; border:0; border-top:1px solid var(--stone); }
.guided-results { margin-top:1.5rem; }
.guided-results .card-body > :last-child { margin-bottom:0; }
@media(max-width:760px) { .guided-fields { grid-template-columns:repeat(3,minmax(0,1fr)); } .guided-zones { grid-column:1/-1; } }
@media(max-width:520px) { .guided-fields,.guided-preferences { grid-template-columns:repeat(2,minmax(0,1fr)); } }

.guided-zones { min-width:0; }
.guided-zones summary { cursor:pointer; font-size:.85rem; font-weight:600; }
#guided-zone-summary { display:block; margin-top:.35rem; min-height:48px; padding:.65rem; border:1px solid var(--stone); background:var(--paper); font-weight:400; overflow-wrap:anywhere; }
.guided-zones fieldset { border:1px solid var(--stone); margin:.6rem 0 0; padding:.55rem .7rem; }
#guided-zone-options label { display:flex; align-items:center; gap:.5rem; min-height:36px; cursor:pointer; }
#guided-form .guided-zones input[type="checkbox"] { display:inline-block; width:1rem; min-height:1rem; margin:0; accent-color:var(--blue); }

#guided-zone-options { max-height:15rem; overflow-y:auto; }
#guided-other-label:not([hidden]) { display:block; margin-top:.65rem; }
@media (min-width:761px) { .brand { width:156.86px; } }
