@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-garamond-latin-wght-normal.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-garamond-latin-wght-italic.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
:root { --bg: #f7f6f2; --card: #fff; --ink: #1d2b4a; --mute: #5d6678; --line: rgba(29, 43, 74, .14); --gold: #7f5f1a; --pad: clamp(1rem, 4.5vw, 4rem); }
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; }
body { background: var(--bg); color: var(--ink); font: 400 16.5px/1.6 "Jost", system-ui, sans-serif; overflow-x: hidden; }
a { color: inherit; }
button, select { font: inherit; color: inherit; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
h1, h2, h3 { font-family: "Cormorant", Georgia, serif; font-weight: 500; line-height: 1.02; }
h1 em, h2 em { font-style: italic; color: var(--gold); }
[hidden] { display: none !important; }
.eyebrow { font-size: .78rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }

.notice { padding: .6rem var(--pad); background: var(--ink); color: #fff; text-align: center; font-size: .95rem; }
.notice strong { font-weight: 500; }
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 2rem; padding: 1rem var(--pad); background: rgba(247, 246, 242, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.logo { margin-right: auto; display: flex; align-items: baseline; gap: .4rem; font: 500 1.7rem/1 "Cormorant", serif; text-decoration: none; }
.logo em { color: var(--gold); }
.logo small { font: 500 .62rem "Jost", sans-serif; letter-spacing: .22em; text-transform: uppercase; color: var(--mute); }
.top nav { display: flex; gap: 1.6rem; font-size: .9rem; }
.top nav a { text-decoration: none; }
.top nav a:hover { color: var(--gold); }
@media (max-width: 680px) { .top nav { display: none; } }

.hero { position: relative; display: grid; min-height: min(78svh, 720px); align-items: end; color: #fff; overflow: hidden; }
.hero > img { position: absolute; inset: 0; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 18, 34, .72), rgba(10, 18, 34, .15) 65%), linear-gradient(180deg, rgba(10, 18, 34, 0) 40%, rgba(10, 18, 34, .6)); }
.hero-copy { position: relative; z-index: 1; padding: 0 var(--pad) clamp(2.5rem, 7vw, 5rem); max-width: 50rem; }
.hero .eyebrow { color: #e8d7ad; }
.hero h1 { font-size: clamp(3rem, 8.5vw, 6.4rem); margin: 1rem 0; }
.hero h1 em { color: #e8d7ad; }
.hero p { max-width: 30rem; font-size: 1.12rem; }
.btn { display: inline-block; margin-top: 1.8rem; padding: .9rem 1.6rem; background: #fff; color: var(--ink); text-decoration: none; font-weight: 500; letter-spacing: .04em; }
.btn:hover { background: #e8d7ad; }

.listings { padding: clamp(3rem, 7vw, 6rem) var(--pad); }
.list-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem 2rem; margin-bottom: 2rem; }
.list-head h2 { font-size: clamp(2.6rem, 6vw, 4rem); }
.list-head h2 em { font-size: .5em; font-style: normal; font-family: "Jost", sans-serif; color: var(--mute); }
.tools { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; }
.chips { display: flex; flex-wrap: wrap; gap: .35rem; }
.chips button { padding: .4rem .95rem; border: 1px solid var(--line); background: none; cursor: pointer; font-size: .88rem; }
.chips button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.sort { display: flex; align-items: center; gap: .5rem; font-size: .88rem; color: var(--mute); }
.sort select { padding: .45rem .6rem; border: 1px solid var(--line); background: var(--card); }

.homes { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr)); gap: clamp(1.2rem, 2.5vw, 2rem); }
.home { background: var(--card); border: 1px solid var(--line); display: grid; grid-template-rows: auto 1fr; }
.home .pic { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #dfe3ea; }
.home .pic img { transition: transform .6s ease; }
.home:hover .pic img { transform: scale(1.03); }
.home .count { position: absolute; right: .8rem; bottom: .8rem; padding: .2rem .55rem; background: rgba(10, 18, 34, .7); color: #fff; font-size: .78rem; }
.flag { position: absolute; top: 1rem; left: 0; padding: .35rem .9rem; background: var(--gold); color: #fff; font-size: .75rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.flag.sold { background: var(--ink); }
.home.is-sold .pic img { filter: grayscale(.7); }
.home .body { display: grid; align-content: start; gap: .3rem; padding: 1.2rem 1.3rem 1.4rem; }
.home .price { font: 500 2rem/1 "Cormorant", serif; }
.home h3 { font: 500 1.05rem/1.3 "Jost", sans-serif; }
.home .town { color: var(--mute); font-size: .92rem; }
.home .facts { display: flex; flex-wrap: wrap; gap: .3rem 1rem; margin-top: .5rem; padding-top: .7rem; border-top: 1px solid var(--line); font-size: .9rem; color: var(--mute); }
.home details { margin-top: .6rem; font-size: .95rem; }
.home summary { cursor: pointer; color: var(--gold); }
.home details p { margin-top: .5rem; }
.home .see { margin-top: .8rem; justify-self: start; font-weight: 500; color: var(--ink); }
.none { padding: 2rem; text-align: center; color: var(--mute); border: 1px dashed var(--line); }

.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 4rem; align-items: end; padding: clamp(3rem, 7vw, 6rem) var(--pad); background: var(--ink); color: #fff; }
.about h2 { font-size: clamp(2.4rem, 6vw, 4rem); margin-top: .8rem; }
.about h2 em { color: #e8d7ad; }
.about p { font-size: 1.1rem; color: #d7dbe4; max-width: 34rem; }
@media (max-width: 760px) { .about { grid-template-columns: minmax(0, 1fr); } }
.contact { padding: clamp(2.5rem, 6vw, 4.5rem) var(--pad); text-align: center; }
.contact h2 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: .6rem; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding: 1.4rem var(--pad) 6rem; border-top: 1px solid var(--line); color: var(--mute); font-size: .85rem; }
.demo-bar .demo-owner { color: #c8f23c; text-decoration: none; font-weight: 600; }
@media (max-width: 620px) { .demo-bar .demo-back { display: none; } }
