/* Property websites. Two moods: "noir" (black, warm gold) and "ivory" (warm paper, ink). */
@font-face { font-family: 'Cormorant'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/cormorant/cormorant-garamond-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant'; font-style: italic; font-weight: 400; font-display: swap; src: url('/fonts/cormorant/cormorant-garamond-latin-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/cormorant/cormorant-garamond-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/cormorant/cormorant-garamond-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'InterV'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/fonts/inter/inter-latin-wght-normal.woff2') format('woff2'); }

:root, [data-theme="noir"] { --bg: #0b0b0a; --bg-2: #121210; --panel: #161614; --ink: #f4efe6; --text: #c9c2b4; --muted: #8d8678; --line: rgba(244, 239, 230, .12); --gold: #c9ad7a; --gold-2: #e2cfa6; --on-gold: #0b0b0a; }
[data-theme="ivory"] { --bg: #f6f2ea; --bg-2: #efe9dd; --panel: #fffdf8; --ink: #1b1915; --text: #4a453c; --muted: #857d6e; --line: rgba(27, 25, 21, .13); --gold: #8c6d34; --gold-2: #6f5424; --on-gold: #fffdf8; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.7 'InterV', -apple-system, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: 'Cormorant', 'Cormorant Garamond', Georgia, serif; color: var(--ink); font-weight: 500; margin: 0; letter-spacing: -.005em; }
[hidden] { display: none !important; }
.center { text-align: center; }
.fine { font-size: .74rem; color: var(--muted); letter-spacing: .02em; }
.kicker, .eyebrow { font-size: .7rem; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; font-weight: 500; }
.draft-bar { position: fixed; z-index: 60; left: 50%; bottom: 18px; transform: translateX(-50%); background: var(--gold); color: var(--on-gold); font-size: .78rem; font-weight: 600; padding: 9px 18px; border-radius: 999px; box-shadow: 0 8px 30px rgba(0, 0, 0, .35); white-space: nowrap; }

/* nav */
.nav { position: fixed; z-index: 40; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 28px; padding: 20px clamp(18px, 4vw, 48px); transition: background .4s ease, padding .4s ease, border-color .4s ease; border-bottom: 1px solid transparent; color: #f4efe6; }
.nav.solid { background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-top: 13px; padding-bottom: 13px; border-color: var(--line); color: var(--ink); }
.nav-name { font: 500 1.15rem 'Cormorant', Georgia, serif; text-decoration: none; letter-spacing: .02em; opacity: 0; transition: opacity .4s ease; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav.solid .nav-name { opacity: 1; }
.nav nav { margin-left: auto; display: flex; gap: 26px; }
.nav nav a { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; opacity: .82; transition: opacity .2s, color .2s; }
.nav nav a:hover { opacity: 1; color: var(--gold-2); }
.nav-cta { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; padding: 10px 18px; border: 1px solid currentColor; border-radius: 999px; transition: background .25s, color .25s, border-color .25s; white-space: nowrap; }
.nav-cta:hover { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }

/* hero */
.hero { position: relative; height: 100svh; min-height: 560px; overflow: hidden; display: flex; align-items: flex-end; background: #000; }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kenburns { animation: drift 26s ease-out both; transform-origin: 60% 45%; }
@keyframes drift { from { transform: scale(1.12); } to { transform: scale(1); } }
/* hero slideshow: each photo fades in over the last while easing from a slight zoom back to rest */
.hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.1); transform-origin: 55% 45%; transition: opacity 1.4s ease-in-out, transform 6.4s ease-out; will-change: opacity, transform; }
.hero-slide.in { opacity: 1; transform: scale(1); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .38) 0%, rgba(0, 0, 0, 0) 26%, rgba(0, 0, 0, 0) 46%, rgba(0, 0, 0, .74) 100%); }
.hero-text { position: relative; padding: 0 clamp(20px, 6vw, 90px) clamp(70px, 11vh, 120px); color: #f4efe6; max-width: 1100px; animation: rise 1.4s .25s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero .eyebrow { color: #e2cfa6; display: flex; gap: 0; flex-wrap: wrap; margin-bottom: 16px; }
.hero .eyebrow span + span::before { content: '·'; margin: 0 14px; opacity: .7; }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 7.2vw, 6rem); line-height: 1.02; font-weight: 400; text-wrap: balance; }
.rule { width: 72px; height: 1px; background: #c9ad7a; margin: 26px 0 20px; }
.price { font: 400 clamp(1.3rem, 2.4vw, 1.9rem) 'Cormorant', Georgia, serif; margin: 0; letter-spacing: .04em; color: #f4efe6; }
.open-house { margin: 10px 0 0; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: #e2cfa6; }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; width: 1px; height: 46px; transform: translateX(-50%); overflow: hidden; }
.scroll-cue span { display: block; width: 1px; height: 100%; background: rgba(255, 255, 255, .75); animation: cue 2.4s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* stats */
.stats { display: flex; justify-content: center; flex-wrap: wrap; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.stat { padding: clamp(28px, 4.5vw, 48px) clamp(20px, 4vw, 56px); text-align: center; position: relative; }
.stat + .stat::before { content: ''; position: absolute; left: 0; top: 32%; bottom: 32%; width: 1px; background: var(--line); }
.stat b { display: block; font: 400 clamp(2rem, 4vw, 3.1rem)/1 'Cormorant', Georgia, serif; color: var(--ink); }
.stat span { display: block; margin-top: 10px; font-size: .64rem; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }

/* sections */
section { scroll-margin-top: 64px; }
.section-head { text-align: center; padding: 0 20px; margin-bottom: clamp(30px, 5vw, 56px); }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 400; text-wrap: balance; }
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(30px, 6vw, 96px); align-items: center; max-width: 1320px; margin: 0 auto; padding: clamp(70px, 11vw, 150px) clamp(20px, 6vw, 90px); }
.story:not(:has(.story-photo)) { grid-template-columns: minmax(0, 760px); justify-content: center; text-align: center; }
.story h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); line-height: 1.1; margin-bottom: 26px; font-weight: 400; text-wrap: balance; }
.story p { margin: 0 0 1.1em; }
.story .lead { font: 400 clamp(1.2rem, 1.7vw, 1.45rem)/1.6 'Cormorant', Georgia, serif; color: var(--ink); }
.story-photo { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; }
.story-photo img { width: 100%; height: 100%; object-fit: cover; }

.gallery { padding: 0 clamp(10px, 2vw, 28px) clamp(70px, 9vw, 120px); }
.mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 19vw, 300px); grid-auto-flow: dense; gap: clamp(6px, .8vw, 12px); max-width: 1800px; margin: 0 auto; }
.tile { position: relative; overflow: hidden; background: var(--panel); cursor: zoom-in; display: block; }
.tile.big { grid-column: span 2; grid-row: span 2; } .tile.wide { grid-column: span 2; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(.2, .7, .2, 1), filter .5s; }
.tile:hover img { transform: scale(1.045); }
.mosaic:not(.all) .tile.more { display: none; }
.ghost-btn { display: inline-block; margin-top: clamp(26px, 4vw, 44px); background: none; border: 1px solid var(--gold); color: var(--gold); font: 500 .7rem 'InterV', sans-serif; letter-spacing: .24em; text-transform: uppercase; padding: 15px 30px; border-radius: 999px; cursor: pointer; text-decoration: none; transition: background .25s, color .25s; }
.ghost-btn:hover { background: var(--gold); color: var(--on-gold); }

.film, .tour { padding: clamp(70px, 9vw, 120px) clamp(14px, 4vw, 60px); background: var(--bg-2); border-top: 1px solid var(--line); }
.tour { background: var(--bg); }
.film-frame { max-width: 1280px; margin: 0 auto; aspect-ratio: 16 / 9; background: #000; box-shadow: 0 40px 120px rgba(0, 0, 0, .45); }
.film-frame video, .film-frame iframe { width: 100%; height: 100%; border: 0; display: block; object-fit: contain; background: #000; }
.film-more { max-width: 1280px; margin: 14px auto 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.film-more video { width: 100%; aspect-ratio: 16 / 9; background: #000; }

.details { padding: clamp(70px, 9vw, 120px) clamp(20px, 6vw, 90px); border-top: 1px solid var(--line); }
.details-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(30px, 6vw, 90px); }
.details-grid > :only-child { max-width: 760px; margin: 0 auto; width: 100%; }
.prose p { margin: 0 0 1.2em; }
.facts { margin: 0 0 34px; border-top: 1px solid var(--line); }
.facts div { display: flex; justify-content: space-between; gap: 20px; padding: 14px 2px; border-bottom: 1px solid var(--line); }
.facts dt { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); align-self: center; }
.facts dd { margin: 0; font: 500 1.2rem 'Cormorant', Georgia, serif; color: var(--ink); text-align: right; }
.features { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 34px; }
.features li { break-inside: avoid; padding: 7px 0 7px 20px; position: relative; font-size: .93rem; }
.features li::before { content: ''; position: absolute; left: 0; top: 1.05em; width: 9px; height: 1px; background: var(--gold); }

.location { padding: clamp(70px, 9vw, 120px) 0 0; border-top: 1px solid var(--line); background: var(--bg-2); }
.map { height: clamp(340px, 52vh, 560px); background: var(--panel); filter: saturate(.75) contrast(1.02); }
[data-theme="noir"] .map { filter: saturate(.55) brightness(.92); }

.contact { padding: clamp(80px, 10vw, 140px) clamp(20px, 6vw, 90px); border-top: 1px solid var(--line); }
.contact-grid { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(36px, 7vw, 100px); align-items: start; }
.agent { display: flex; gap: 20px; align-items: flex-start; padding: 22px 0; border-top: 1px solid var(--line); }
.agent:last-child { border-bottom: 1px solid var(--line); }
.agent-photo { flex: none; width: 62px; height: 62px; border-radius: 50%; object-fit: cover; border: 1px solid var(--gold); }
.monogram { flex: none; width: 62px; height: 62px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); display: flex; align-items: center; justify-content: center; font: 500 1.35rem 'Cormorant', Georgia, serif; letter-spacing: .06em; }
.agent h3 { font-size: 1.7rem; font-weight: 500; }
.agent p { margin: 4px 0 0; font-size: .88rem; }
.agent-links { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 10px !important; }
.agent-links a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 1px; }
.enquire, .thanks { background: var(--panel); border: 1px solid var(--line); padding: clamp(24px, 4vw, 44px); }
.enquire h3, .thanks h3 { font-size: 1.9rem; margin-bottom: 22px; font-weight: 400; }
.enquire label { display: block; margin-bottom: 18px; }
.enquire label span { display: block; font-size: .64rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; } .enquire label i { font-style: normal; opacity: .7; text-transform: none; letter-spacing: 0; }
.enquire input, .enquire textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line); color: var(--ink); font: 400 1rem 'InterV', sans-serif; padding: 9px 0; border-radius: 0; outline: 0; transition: border-color .2s; resize: vertical; }
.enquire input:focus, .enquire textarea:focus { border-color: var(--gold); }
.enquire .two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.enquire .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.enquire button { width: 100%; margin-top: 6px; background: var(--gold); color: var(--on-gold); border: 0; padding: 17px; font: 600 .72rem 'InterV', sans-serif; letter-spacing: .26em; text-transform: uppercase; cursor: pointer; transition: filter .2s; }
.enquire button:hover { filter: brightness(1.08); }

.foot { text-align: center; padding: 56px 20px 70px; border-top: 1px solid var(--line); background: var(--bg-2); }
.foot-name { font: 400 1.5rem 'Cormorant', Georgia, serif; color: var(--ink); margin: 0 0 10px; }

/* reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 1s cubic-bezier(.2, .7, .2, 1), transform 1s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(6, 6, 5, .97); display: flex; align-items: center; justify-content: center; }
.lightbox img { max-width: 94vw; max-height: 88vh; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 0; color: #f4efe6; font: 300 2.4rem/1 'Cormorant', Georgia, serif; cursor: pointer; width: 60px; height: 60px; opacity: .75; transition: opacity .2s; }
.lightbox button:hover { opacity: 1; }
.lb-x { top: 12px; right: 14px; } .lb-prev { left: 8px; top: 50%; transform: translateY(-50%); } .lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; margin: 0; font-size: .68rem; letter-spacing: .3em; color: rgba(244, 239, 230, .6); }

@media (max-width: 860px) {
  .nav nav { display: none; } .nav-cta { margin-left: auto; }
  .story { grid-template-columns: 1fr; } .story-photo { aspect-ratio: 4 / 3; order: -1; }
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 42vw; }
  .stat { flex: 1 1 33%; padding-left: 10px; padding-right: 10px; } .stat + .stat::before { display: none; }
  .features { columns: 1; } .enquire .two { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .kenburns, .hero-text, .scroll-cue span { animation: none; } .hero-slide { transform: none; transition: opacity 1s ease-in-out; } .js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
@media print { .nav, .scroll-cue, .lightbox, .draft-bar, .enquire { display: none !important; } .hero { height: 60vh; } }

.form-problem { color: #e08a6b; font-size: .88rem; margin: -8px 0 16px; }

/* the code on the page, for handing the home to someone standing next to you */
.pass-on { display: inline-flex; align-items: center; gap: 18px; text-align: left; margin: 0 auto 34px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); max-width: 100%; }
.pass-qr { width: 132px; height: 132px; flex: none; display: block; background: #fff; padding: 6px; border-radius: 8px; }
.pass-title { font: 400 1.25rem 'Cormorant', Georgia, serif; color: var(--ink); margin: 0 0 4px; }
.pass-text { margin: 0; font-size: .86rem; color: var(--muted); max-width: 26ch; }
@media (max-width: 480px) { .pass-on { flex-direction: column; text-align: center; } .pass-text { max-width: none; } }
