/* Static pages (listings/<slug>/, portfolio/). Mirrors the homepage's look:
   navy #0D1B2A, cream #F8F6F0, gold #B08D57, Cormorant Garamond + Plus Jakarta Sans. */

:root { --eg-gold: #B08D57; --navy: #0D1B2A; --navy-2: #1B263B; --cream: #F8F6F0; --ink: #4A5560; --mute: #8A939C; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--cream); color: var(--navy); font-family: 'Plus Jakarta Sans', system-ui, sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: var(--eg-gold); text-decoration: none; }
a:hover { color: #D4AF37; }
input, select, textarea, button { font-family: inherit; }
:focus-visible { outline: 2px solid var(--eg-gold); outline-offset: 3px; }
::selection { background: #D4AF37; color: var(--navy); }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 56px); }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--eg-gold); }
.eyebrow::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; flex: none; }
.serif { font-family: 'Cormorant Garamond', serif; font-weight: 300; letter-spacing: -0.015em; }
.btn { display: inline-block; text-align: center; font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; padding: 17px 28px; border-radius: 2px; border: 1px solid transparent; cursor: pointer; transition: background .35s ease, color .35s ease, border-color .35s ease; }
.btn-gold { background: var(--eg-gold); color: var(--navy); }
.btn-gold:hover { background: #D4AF37; color: var(--navy); }
.btn-line { background: transparent; color: var(--cream); border-color: rgba(248,246,240,0.34); }
.btn-line:hover { border-color: var(--eg-gold); color: var(--eg-gold); }
.btn-navy { background: var(--navy); color: var(--cream); border: 0; }
.btn-navy:hover { background: var(--navy-2); color: var(--cream); }

/* ── nav ── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 16px 0; background: rgba(13,27,42,0.96); border-bottom: 1px solid rgba(224,225,221,0.14); backdrop-filter: saturate(150%) blur(16px); -webkit-backdrop-filter: saturate(150%) blur(16px); }
.nav-in { max-width: 1320px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 56px); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-brand { font-family: 'Cormorant Garamond', serif; font-size: clamp(17px, 1.5vw, 21px); font-weight: 500; letter-spacing: 0.34em; color: var(--cream); text-transform: uppercase; white-space: nowrap; }
.nav-brand:hover { color: var(--cream); }
.nav .nav-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; line-height: 1; }
.nav-tag { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-size: clamp(8.5px, 0.7vw, 9.5px); font-weight: 600; letter-spacing: 0.3em; color: var(--eg-gold); }
.nav-links { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); }
.nav-link { font-size: 12px; font-weight: 400; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(248,246,240,0.74); }
.nav-link:hover { color: #D4AF37; }
.nav-cta { font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cream); border: 1px solid var(--eg-gold); padding: 13px 22px; border-radius: 2px; transition: background .35s ease, color .35s ease; }
.nav-cta:hover { background: var(--eg-gold); color: var(--navy); }
.nav-burger { display: none; flex-direction: column; gap: 6px; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-burger span { display: block; width: 26px; height: 1px; background: var(--cream); }
.menu { position: fixed; inset: 0; z-index: 110; background: var(--navy); opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity .4s ease, transform .4s ease; display: flex; flex-direction: column; overflow-y: auto; padding: 88px 32px 48px; }
.menu.open { opacity: 1; pointer-events: auto; transform: none; }
.menu-in { margin: auto 0; display: flex; flex-direction: column; gap: 6px; }
.menu-close { position: absolute; top: 26px; right: 26px; background: none; border: 0; color: var(--cream); font-size: 30px; line-height: 1; cursor: pointer; padding: 8px; }
.menu-link { font-family: 'Cormorant Garamond', serif; font-size: 38px; font-weight: 300; color: var(--cream); padding: 8px 0; }
.menu .btn { margin-top: 34px; align-self: flex-start; }
@media (max-width: 920px) { .nav-links { display: none; } .nav-burger { display: flex; } }
@media (min-width: 921px) { .menu { display: none; } }

/* ── listing hero ── */
.lp-hero { position: relative; min-height: 82svh; display: flex; align-items: flex-end; background: var(--navy); overflow: hidden; color: var(--cream); }
.lp-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lp-hero-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,27,42,0.70) 0%, rgba(13,27,42,0.12) 36%, rgba(13,27,42,0.55) 68%, rgba(13,27,42,0.95) 100%), linear-gradient(90deg, rgba(13,27,42,0.55) 0%, rgba(13,27,42,0) 62%); }
.lp-hero-art { position: absolute; inset: 0; background: radial-gradient(ellipse at 72% 28%, #26425f 0%, #15283d 42%, #0D1B2A 78%); }
.lp-hero-art::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(212,175,55,0.035) 0 1px, transparent 1px 46px); }
.lp-hero-mark { position: absolute; right: 4vw; top: 12%; font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: clamp(150px, 28vw, 440px); line-height: .8; letter-spacing: -0.03em; color: rgba(212,175,55,0.08); white-space: nowrap; pointer-events: none; }
.lp-hero-copy { position: relative; width: 100%; padding-top: 140px; padding-bottom: clamp(48px, 7vw, 88px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 26px; font-size: 10.5px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(248,246,240,0.6); }
.crumbs a { color: rgba(248,246,240,0.75); }
.crumbs a:hover { color: #D4AF37; }
.lp-title { font-size: clamp(46px, 7.4vw, 104px); line-height: 1; color: var(--cream); margin: 20px 0 22px; text-shadow: 0 2px 30px rgba(13,27,42,0.45); }
.lp-summary { font-weight: 300; font-size: clamp(15px, 1.3vw, 18px); line-height: 1.75; color: rgba(248,246,240,0.82); margin: 0; max-width: 60ch; text-shadow: 0 1px 14px rgba(13,27,42,0.7); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chip { font-size: 10.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(248,246,240,0.78); border: 1px solid rgba(224,225,221,0.32); padding: 7px 12px; border-radius: 2px; background: rgba(13,27,42,0.25); }

/* ── listing body ── */
.lp-main { padding: clamp(64px, 9vw, 128px) 0; }
.lp-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(36px, 6vw, 96px); align-items: start; }
@media (max-width: 980px) { .lp-grid { grid-template-columns: 1fr; } }
.lp-h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.1; color: var(--navy); margin: 20px 0 26px; }
.rule { width: 56px; height: 1px; background: var(--eg-gold); margin: 0 0 28px; }
.lp-body p { font-weight: 300; font-size: 16.5px; line-height: 1.8; color: var(--ink); margin: 0 0 20px; max-width: 62ch; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 44px; }
.gallery img { width: 100%; height: clamp(180px, 22vw, 300px); object-fit: cover; }
.gallery img:first-child { grid-column: 1 / -1; height: clamp(220px, 34vw, 460px); }
.tour { margin: 10px 0 0; background: var(--navy); }
.tour video { display: block; width: 100%; max-height: 82vh; background: var(--navy); }
.tour-portrait video { width: auto; max-width: 100%; margin: 0 auto; aspect-ratio: 9 / 16; }
.tour figcaption { padding: 12px 16px; font-size: 12px; font-weight: 400; letter-spacing: 0.04em; color: rgba(248,246,240,0.7); }
.gallery img:nth-child(n+4) { height: clamp(160px, 18vw, 240px); }
.private-note { margin-top: 36px; padding: 22px 24px; border: 1px solid rgba(13,27,42,0.12); background: #fff; font-size: 14px; font-weight: 300; line-height: 1.7; color: var(--ink); }
.private-note strong { font-weight: 600; color: var(--navy); }

.spec-card { position: sticky; top: 100px; background: var(--navy); color: var(--cream); border-radius: 3px; padding: clamp(24px, 2.6vw, 32px); }
.spec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.spec-status { font-size: 10px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--eg-gold); }
.spec-note { font-size: 9.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(248,246,240,0.72); text-align: right; }
.spec-rows { display: flex; flex-direction: column; gap: 1px; background: rgba(224,225,221,0.18); border-top: 1px solid rgba(224,225,221,0.18); border-bottom: 1px solid rgba(224,225,221,0.18); margin-bottom: 24px; }
.spec-row { display: flex; justify-content: space-between; gap: 14px; background: var(--navy); padding: 13px 2px; }
.spec-row span:first-child { font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(248,246,240,0.72); }
.spec-row span:last-child { font-size: 13.5px; font-weight: 500; color: var(--cream); text-align: right; }
.spec-card .btn { display: block; width: 100%; }
.spec-card .btn + .btn { margin-top: 10px; }
.spec-ext { display: block; text-align: center; margin-top: 14px; font-size: 10px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(248,246,240,0.55); }

/* ── inquiry ── */
.inq { background: var(--navy-2); padding: clamp(72px, 10vw, 140px) 0; color: var(--cream); scroll-margin-top: 70px; }
.inq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(36px, 6vw, 88px); align-items: start; }
.inq h2 { font-size: clamp(32px, 4.4vw, 58px); line-height: 1.08; margin: 22px 0 20px; color: var(--cream); }
.inq p { font-weight: 300; font-size: 15.5px; line-height: 1.8; color: rgba(248,246,240,0.7); margin: 0 0 14px; max-width: 50ch; }
.inq-contact { margin-top: 26px; display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; }
.inq-contact a { color: var(--cream); }
.inq-contact a:hover { color: #D4AF37; }
.form { background: rgba(248,246,240,0.05); border: 1px solid rgba(224,225,221,0.16); border-radius: 3px; padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; }
.form .row2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.form label { display: block; font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(248,246,240,0.5); margin-bottom: 7px; }
.form input, .form textarea { width: 100%; background: rgba(13,27,42,0.5); border: 1px solid rgba(224,225,221,0.22); border-radius: 2px; color: var(--cream); font-size: 15px; font-weight: 300; padding: 15px 16px; }
.form textarea { resize: vertical; line-height: 1.7; }
.form input::placeholder, .form textarea::placeholder { color: rgba(248,246,240,0.32); }
.form [aria-invalid="true"] { border-color: #E0A45C; }
.form .err { font-size: 11.5px; color: #E0A45C; min-height: 16px; margin-top: 4px; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form .status { font-size: 13px; font-weight: 300; line-height: 1.6; color: var(--eg-gold); min-height: 20px; }
.form button[disabled] { opacity: .6; cursor: default; }

/* ── cards (related + portfolio) ── */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: clamp(18px, 2vw, 28px); }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid rgba(13,27,42,0.10); border-radius: 2px; overflow: hidden; color: var(--navy); transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(13,27,42,0.12); color: var(--navy); }
.card-media { position: relative; height: 230px; overflow: hidden; background: var(--navy); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.card:hover .card-media img { transform: scale(1.05); }
.card-art { position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 25%, #26425f 0%, #15283d 45%, #0D1B2A 80%); display: flex; align-items: center; justify-content: center; }
.card-art span { font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: 92px; color: rgba(212,175,55,0.22); letter-spacing: -0.02em; }
.card-badge { position: absolute; left: 14px; top: 14px; font-size: 9.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--navy); background: rgba(248,246,240,0.92); padding: 6px 10px; border-radius: 2px; }
.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card-area { font-size: 10px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--eg-gold); }
.card-name { font-family: 'Cormorant Garamond', serif; font-size: 30px; font-weight: 400; line-height: 1.1; margin: 10px 0 10px; }
.card-sum { font-size: 14px; font-weight: 300; line-height: 1.7; color: var(--ink); margin: 0 0 18px; flex: 1; }
.card-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid rgba(13,27,42,0.10); }
.card-note { font-size: 12px; font-weight: 500; color: var(--navy); }
.card-go { font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--eg-gold); white-space: nowrap; }

.related { padding: clamp(72px, 9vw, 128px) 0; }
.related-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 18px 28px; margin-bottom: clamp(28px, 3.4vw, 44px); }
.related-head h2 { font-size: clamp(30px, 3.8vw, 50px); line-height: 1.1; margin: 18px 0 0; }
.link-arrow { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--navy); border-bottom: 1px solid var(--eg-gold); padding-bottom: 6px; }
.link-arrow:hover { color: var(--eg-gold); }

/* ── portfolio page ── */
.pf-hero { background: var(--navy); color: var(--cream); padding: clamp(150px, 16vw, 210px) 0 clamp(56px, 7vw, 96px); }
.pf-hero h1 { font-size: clamp(46px, 7vw, 96px); line-height: 1.02; margin: 22px 0 22px; }
.pf-hero p { font-weight: 300; font-size: clamp(15px, 1.3vw, 18px); line-height: 1.75; color: rgba(248,246,240,0.74); max-width: 60ch; margin: 0; }
.pf-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.pf-jump a { font-size: 10.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cream); border: 1px solid rgba(248,246,240,0.3); padding: 12px 18px; border-radius: 2px; }
.pf-jump a:hover { border-color: var(--eg-gold); color: var(--eg-gold); }
.pf-market { padding: clamp(64px, 8vw, 112px) 0 0; scroll-margin-top: 70px; }
.pf-market:last-of-type { padding-bottom: clamp(72px, 9vw, 128px); }
.pf-market h2 { font-size: clamp(32px, 4vw, 54px); line-height: 1.1; margin: 18px 0 clamp(26px, 3vw, 40px); }

/* ── footer ── */
.foot { background: var(--navy); color: var(--cream); padding: clamp(48px, 6vw, 80px) 0 clamp(28px, 3.4vw, 40px); border-top: 1px solid rgba(224,225,221,0.10); }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 40px; padding-bottom: 28px; border-bottom: 1px solid rgba(224,225,221,0.12); }
.foot-links { display: flex; flex-wrap: wrap; gap: 14px 28px; }
.foot-links a { font-size: 14px; font-weight: 300; color: rgba(248,246,240,0.66); }
.foot-links a:hover { color: var(--cream); }
.foot p { font-size: 11.5px; font-weight: 300; line-height: 1.85; color: rgba(248,246,240,0.38); margin: 26px 0 0; max-width: 96ch; }
.foot small { display: block; margin-top: 20px; font-size: 11.5px; font-weight: 300; color: rgba(248,246,240,0.42); }
