:root {
	--ink: #14120f;
	--ivory: #f7f3ec;
	--sand: #ece4d6;
	--gold: #b8924a;
	--gold-dark: #8f6f33;
	--muted: #6b655b;
	--serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--sans);
	color: var(--ink);
	background: var(--ivory);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; }
h1, h2 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0 0 18px; }
h2 { font-size: clamp(34px, 5vw, 52px); }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 680px; text-align: center; }

.demo-bar {
	position: relative;
	z-index: 30;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px 20px;
	padding: 9px 16px;
	background: #1e1e1e;
	color: #e9e9e9;
	font-size: 13px;
	text-align: center;
}
.demo-bar a { color: #f3d58f; font-weight: 600; text-decoration: none; }
.demo-bar a:hover { text-decoration: underline; }

.nav {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 22px clamp(20px, 5vw, 64px);
	color: #fff;
}
.brand { white-space: nowrap; font-family: var(--serif); font-size: 30px; font-weight: 600; text-decoration: none; letter-spacing: .02em; }
.brand span { color: var(--gold); }
.nav nav { display: flex; align-items: center; gap: 28px; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.nav nav a { text-decoration: none; }
.nav nav a:not(.btn):hover { color: var(--gold); }

.btn {
	display: inline-block;
	padding: 15px 30px;
	background: var(--gold);
	color: #fff;
	border: 1px solid var(--gold);
	font: 600 14px var(--sans);
	letter-spacing: .08em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background .2s, color .2s;
}
.btn:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
.btn-ghost { background: transparent; border-color: rgba(255, 255, 255, .7); }
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-small { padding: 10px 18px; font-size: 12px; white-space: nowrap; }

.eyebrow { margin: 0 0 14px; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.eyebrow.dark { color: var(--gold-dark); }

.hero {
	position: relative;
	min-height: 92vh;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	background-size: cover;
	background-position: center 28%;
	color: #fff;
}
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(10, 8, 6, .55) 0%, rgba(10, 8, 6, .2) 38%, rgba(10, 8, 6, .75) 100%);
}
.hero-inner { position: relative; max-width: 1160px; width: 100%; margin: 0 auto; padding: 160px 24px 48px; }
.hero h1 { font-size: clamp(42px, 7.5vw, 88px); max-width: 14ch; }
.lede { max-width: 540px; font-size: 18px; opacity: .92; margin: 0 0 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.stats {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	margin: 0;
	padding: 0;
	list-style: none;
	background: rgba(14, 11, 8, .72);
	backdrop-filter: blur(6px);
}
.stats li { padding: 22px 16px; text-align: center; border-left: 1px solid rgba(255, 255, 255, .12); }
.stats li:first-child { border-left: 0; }
.stats strong { display: block; font: 600 34px var(--serif); color: var(--gold); }
.stats span { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }

.section { padding: clamp(64px, 9vw, 110px) 0; }
.section.alt { background: var(--sand); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 26px; margin-top: 34px; }
.card { display: block; background: #fff; text-decoration: none; box-shadow: 0 8px 26px rgba(40, 30, 10, .08); transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-5px); box-shadow: 0 16px 38px rgba(40, 30, 10, .16); }
.card-img { position: relative; display: block; aspect-ratio: 4 / 3; background-size: cover; background-position: center; }
.badge {
	position: absolute;
	left: 12px;
	top: 12px;
	padding: 5px 11px;
	background: rgba(14, 11, 8, .78);
	color: #fff;
	font-size: 11px;
	letter-spacing: .1em;
	text-transform: uppercase;
}
.card-body { display: flex; flex-direction: column; gap: 3px; padding: 20px 22px 24px; }
.price { font: 600 26px var(--serif); color: var(--gold-dark); }
.card-body strong { font-size: 16px; }
.meta { font-size: 14px; color: var(--muted); }
.area { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }

.film { background-size: cover; background-position: center; }
.film-overlay {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: clamp(80px, 12vw, 150px) 24px;
	background: rgba(10, 8, 6, .62);
	color: #fff;
}
.film-overlay h2 { max-width: 16ch; }
.film-overlay p:not(.eyebrow) { max-width: 560px; opacity: .9; }
.play {
	width: 84px;
	height: 84px;
	margin-top: 26px;
	border-radius: 50%;
	border: 1.5px solid #fff;
	background: rgba(255, 255, 255, .12);
	color: #fff;
	cursor: pointer;
	display: grid;
	place-items: center;
	transition: background .2s, transform .2s;
}
.play:hover { background: var(--gold); border-color: var(--gold); transform: scale(1.06); }
.play-label { margin-top: 14px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; margin-top: 34px; }
.tile { position: relative; display: flex; align-items: flex-end; min-height: 340px; background-size: cover; background-position: center; color: #fff; text-decoration: none; overflow: hidden; }
.tile::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(10, 8, 6, .8)); transition: opacity .3s; }
.tile span { position: relative; padding: 24px; font-size: 14px; opacity: .92; }
.tile strong { display: block; font: 600 28px var(--serif); }

.about-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.portrait { aspect-ratio: 4 / 5; background-size: cover; background-position: 38% center; box-shadow: 16px 16px 0 var(--sand); }
.about p { color: #3d382f; }
blockquote { margin: 28px 0 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--gold); font: italic 500 24px/1.4 var(--serif); }
cite { display: block; margin-top: 10px; font: normal 600 13px var(--sans); letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); }
.gallery div { aspect-ratio: 1 / 1; background-size: cover; background-position: center; }

.valuation { background: var(--ink); color: #fff; text-align: center; }
.valuation p { opacity: .85; }
.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; text-align: left; }
.lead-form input {
	padding: 15px 16px;
	border: 1px solid rgba(255, 255, 255, .25);
	background: rgba(255, 255, 255, .06);
	color: #fff;
	font: 400 16px var(--sans);
}
.lead-form input::placeholder { color: rgba(255, 255, 255, .55); }
.lead-form input:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.full { grid-column: 1 / -1; }
.form-note { grid-column: 1 / -1; margin: 6px 0 0; padding: 14px; background: rgba(184, 146, 74, .18); text-align: center; }

.footer { padding: 44px 0; background: #0b0a08; color: #cfc8ba; text-align: center; font-size: 14px; }
.footer .wrap { display: flex; flex-direction: column; gap: 6px; }
.footer strong { font: 600 22px var(--serif); color: #fff; }
.footer small { opacity: .55; margin-top: 8px; }

.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(0, 0, 0, .86); }
.modal[hidden] { display: none; }
.modal-box { position: relative; width: min(960px, 100%); }
.modal-close { position: absolute; right: 0; top: -44px; background: none; border: 0; color: #fff; font-size: 36px; line-height: 1; cursor: pointer; }
.modal-screen { display: grid; place-items: center; aspect-ratio: 16 / 9; background-size: cover; background-position: center; text-align: center; color: #fff; position: relative; }
.modal-screen::before { content: ""; position: absolute; inset: 0; background: rgba(10, 8, 6, .72); }
.modal-screen p { position: relative; margin: 0; padding: 20px; font: 500 clamp(22px, 3.4vw, 34px)/1.3 var(--serif); }
.modal-screen small { font: 400 14px var(--sans); opacity: .8; }

@media (max-width: 860px) {
	.brand { font-size: 24px; }
	.nav { padding-top: 18px; }
	.nav nav a:not(.btn) { display: none; }
	.stats { grid-template-columns: repeat(2, 1fr); }
	.stats li:nth-child(3) { border-left: 0; }
	.stats li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .12); }
	.about-grid { grid-template-columns: 1fr; }
	.portrait { max-width: 420px; }
	.gallery { grid-template-columns: 1fr; }
	.gallery div { aspect-ratio: 16 / 9; }
	.lead-form { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition: none !important; }
}
