/* =========================================================
   Future Homes — London Property · Shared stylesheet (v2)
   ========================================================= */
:root {
  --green-900: #15291f; --green-800: #1b3329; --green-700: #22402f;
  --gold: #d8b679; --gold-600: #b08a4a; --gold-soft: #efe2c6;
  --brand: #540029;
  --cream: #f8f5f0; --cream-2: #f1ece4; --paper: #ffffff;
  --ink: #1d1d1b; --ink-2: #4a4a46; --ink-3: #7d7a73; --line: #e4ded3;
  --radius: 10px; --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(20,30,25,.05), 0 6px 20px rgba(20,30,25,.06);
  --shadow-lg: 0 10px 40px rgba(20,30,25,.14);
  --serif: "Newsreader", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1240px; --header-h: 84px; --bar-h: 64px; --gutter: 40px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 15px; line-height: 1.6; color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; margin: 0; line-height: 1.12; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.wide { width: 100%; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

.ic { width: 20px; height: 20px; flex: none; display: inline-block; vertical-align: middle; }
.ic svg { width: 100%; height: 100%; display: block; }
.img { position: relative; overflow: hidden; background: linear-gradient(135deg, #cdbfa5, #8b9a86); }
.img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.img img.broken { opacity: 0; }
.eyebrow { font-size: 11.5px; letter-spacing: .28em; text-transform: uppercase; font-weight: 500; }
.caps { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 20px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 500; line-height: 1; transition: background .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn .ic { width: 16px; height: 16px; }
.ic-arrow { transition: transform .2s; }
.btn:hover .ic-arrow { transform: translateX(3px); }
.btn-gold { background: var(--gold); color: var(--green-900); }
.btn-gold:hover { background: var(--gold-600); color: var(--green-900); }
.btn-dark { background: var(--green-800); color: #fff; }
.btn-dark:hover { background: var(--green-900); color: #fff; }
.btn-line { border: 1px solid var(--ink); color: var(--ink); background: transparent; border-radius: 2px; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; padding: 12px 18px; }
.btn-line:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-line.light { border-color: rgba(255,255,255,.75); color: #fff; }
.btn-line.light:hover { background: #fff; color: var(--green-900); }
.btn-solid { background: #fff; color: var(--green-900); border-radius: 2px; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; padding: 13px 20px; }
.btn-solid:hover { background: var(--gold-soft); color: var(--green-900); }
.btn-block { width: 100%; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; transition: background .2s; }
.icon-btn:hover { background: var(--cream-2); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { height: var(--header-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.nav-left { display: flex; gap: 30px; }
.nav-left a, .nav-right a.nav-link { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; position: relative; padding: 6px 0; white-space: nowrap; }
.nav-left a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); transform: scaleX(0); transition: transform .25s; }
.nav-left a:hover::after, .nav-left a.active::after { transform: scaleX(1); }
.nav-right { display: flex; align-items: center; justify-content: flex-end; gap: 14px; }
.nav-right .ic { width: 20px; height: 20px; }
.logo { display: flex; align-items: center; }
.logo img { height: 54px; width: auto; }
.footer-grid .logo img { height: auto; width: min(260px, 100%); }
.gal-side .logo img { height: 46px; }
.logo:hover { color: var(--brand); }
.logo-fh { font-family: var(--serif); font-weight: 600; font-size: 44px; line-height: .8; letter-spacing: -.06em; }
.logo-bar { width: 1.5px; height: 38px; background: currentColor; }
.logo-words { font-family: var(--serif); font-weight: 500; font-size: 18px; line-height: 1; letter-spacing: .04em; text-transform: uppercase; display: flex; flex-direction: column; gap: 3px; }
.logo.light { color: #fff; }
.menu-toggle { display: none; }
.nav-search { display: flex; align-items: center; border-bottom: 1px solid var(--ink); width: min(240px, 100%); }
.nav-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 8px 2px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.nav-search input::placeholder { color: var(--ink-3); }
.nav-search input::-webkit-search-cancel-button { display: none; }
.nav-search button { width: 32px; height: 32px; display: grid; place-items: center; }
.nav-search .ic { width: 18px; height: 18px; }

/* ---------- Home hero (split) ---------- */
.split-hero { display: grid; grid-template-columns: 1.55fr 1fr; min-height: calc(100vh - var(--header-h)); max-height: 820px; background: var(--cream-2); }
.split-hero > .img { min-height: 460px; }
.split-hero .text { display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: 56px clamp(28px, 5vw, 84px); }
.split-hero .eyebrow { border-bottom: 1px solid var(--ink); padding-bottom: 4px; align-self: flex-start; }
.split-hero h1 { font-size: clamp(34px, 3.6vw, 54px); }
.split-hero p { color: var(--ink-2); max-width: 520px; }
.split-hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Rows of listings ---------- */
.row-section { padding: 56px 0 40px; }
.row-section + .row-section { border-top: 1px solid var(--line); }
.row-head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; margin-bottom: 28px; gap: 16px; }
.row-head h2 { grid-column: 2; font-family: var(--sans); font-size: 13px; letter-spacing: .24em; text-transform: uppercase; font-weight: 500; border-bottom: 1px solid var(--ink); padding-bottom: 4px; }
.row-head .btn-line { justify-self: end; }
.lgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }

.lcard { position: relative; display: flex; flex-direction: column; gap: 14px; }
.lcard-media { position: relative; aspect-ratio: 4 / 3; }
.lcard-media .img { position: absolute; inset: 0; }
.lcard:hover .img img { transform: scale(1.03); }
.lcard-body { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; font-family: var(--serif); font-size: 16.5px; line-height: 1.35; }
.lcard-body .r { text-align: right; }
.lcard-body .muted { color: var(--ink-2); }
.lcard-body .tenure { font-family: var(--sans); font-size: 12px; font-weight: 500; color: var(--ink-2); }
.lcard-meta { display: flex; gap: 18px; font-size: 12.5px; color: var(--ink-2); }
.lcard-meta span { display: inline-flex; align-items: center; gap: 6px; }
.lcard-meta .ic { width: 16px; height: 16px; color: var(--ink); }
.flag { position: absolute; top: 0; left: 0; z-index: 2; background: rgba(21,41,31,.82); color: #fff; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; padding: 7px 12px; }
.flag.gold { background: var(--gold); color: var(--green-900); }
.flag.grey { background: rgba(60,60,58,.85); }
.fav-btn { position: absolute; top: 10px; right: 10px; z-index: 3; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(30,30,30,.32); color: #fff; backdrop-filter: blur(4px); transition: background .2s; }
.fav-btn:hover { background: rgba(30,30,30,.55); }
.fav-btn .ic, .fav-btn svg { width: 18px; height: 18px; }
.fav-btn.on { background: #fff; color: #b5432f; }
.fav-btn.on svg path { fill: currentColor; }

.promo-tile { background: var(--green-900); color: #fff; aspect-ratio: 4 / 3; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; padding: 28px; }
.promo-tile h3 { font-size: clamp(24px, 2.2vw, 32px); }
.promo-tile p { font-family: var(--serif); font-size: 18px; color: rgba(255,255,255,.85); }
.promo-tile .btn-line { margin-top: 8px; }

/* Developers strip */
.dev-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 30px 0; background: #fff; }
.dev-strip ul { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); align-items: center; gap: 24px; }
.dev-strip li { font-family: var(--serif); font-size: clamp(17px, 1.7vw, 24px); text-align: center; color: var(--ink-2); line-height: 1.1; }
.dev-strip li small { display: block; font-family: var(--sans); font-size: 9px; letter-spacing: .3em; text-transform: uppercase; margin-top: 4px; }
.strip-label { text-align: center; margin-bottom: 18px; color: var(--ink-3); }

/* Get in touch band */
.touch-band { background: #000; color: #fff; padding: 80px 0; }
.touch-band .container { display: grid; grid-template-columns: auto 1fr; gap: 56px; align-items: center; }
.touch-band h2 { font-size: clamp(46px, 5.6vw, 76px); margin-bottom: 26px; }
.touch-band p { font-size: clamp(17px, 1.6vw, 21px); letter-spacing: .06em; text-transform: uppercase; line-height: 1.55; max-width: 640px; color: rgba(255,255,255,.92); }
.pill { display: inline-flex; align-items: center; gap: 14px; border: 1px solid rgba(255,255,255,.8); border-radius: 999px; padding: 15px 30px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: #fff; transition: background .2s, color .2s; }
.touch-band .pill { padding: 17px 34px; font-size: 13px; }
.pill:hover { background: #fff; color: #000; }
.pill .ic { width: 16px; height: 16px; }

/* About band */
.about-band { position: relative; color: #fff; padding: 72px 0; }
.about-band .bg { position: absolute; inset: 0; }
.about-band::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(20,14,16,.42); }
.about-band .container { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.about-band .panel { background: rgba(28,18,22,.62); backdrop-filter: blur(2px); padding: 32px 40px; max-width: 920px; display: grid; gap: 14px; font-size: 15.5px; }
.about-band strong { font-weight: 600; }
.about-band .sig { font-family: var(--serif); font-size: 22px; }

/* ---------- Footer ---------- */
.site-footer { background: #fff; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); }
.footer-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)) 1.1fr; }
.footer-grid > div { padding: 34px 28px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.footer-grid > div:last-child { border-right: 0; justify-content: center; align-items: center; }
.site-footer h4 { font-family: var(--serif); font-size: 19px; text-transform: uppercase; color: var(--ink); margin-bottom: 6px; letter-spacing: 0; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.footer-grid li { margin-bottom: 4px; display: flex; gap: 10px; align-items: center; }
.footer-grid li .ic { width: 15px; height: 15px; color: var(--gold-600); }
.footer-news { display: flex; align-items: center; border: 1px solid var(--line); padding: 4px 4px 4px 14px; margin-top: 4px; }
.footer-news input { flex: 1; border: 0; outline: 0; font-size: 12px; letter-spacing: .1em; min-width: 0; background: transparent; }
.footer-news button { width: 34px; height: 34px; border: 1px solid var(--ink); border-radius: 50%; display: grid; place-items: center; }
.footer-news .ic { width: 14px; height: 14px; }
.footer-grid .logo .logo-fh { font-size: 64px; }
.footer-grid .logo .logo-bar { height: 56px; }
.footer-grid .logo .logo-words { font-size: 26px; }
.footer-bottom { border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 28px; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; }
.footer-bottom nav { display: flex; gap: 10px; flex-wrap: wrap; }
.form-msg { font-size: 12.5px; min-height: 16px; }

/* ---------- Listing page ---------- */
.subbar { background: var(--cream-2); border-bottom: 1px solid var(--line); }
.subbar ul { display: flex; justify-content: center; gap: 36px; }
.subbar a { display: block; padding: 15px 0 13px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; border-bottom: 1px solid transparent; color: var(--ink-2); }
.subbar a.active { border-color: var(--ink); color: var(--ink); }
.subbar a:hover { color: var(--ink); }

.map-panel { height: 0; overflow: hidden; transition: height .45s ease; background: #e9ece6; position: relative; }
.map-panel.open { height: min(460px, 58vh); }
.map-panel .lmap { position: absolute; inset: 0; }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px 30px; flex-wrap: wrap; padding: 22px 0; }
.toolbar-left, .toolbar-right { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.count { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; }
.count b { border-bottom: 1px solid var(--ink); font-weight: 600; }
.order { display: flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.order select { border: 0; border-bottom: 1px solid var(--line); background: transparent; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding: 4px 18px 4px 2px; appearance: none; cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' fill='none' stroke='%231d1d1b' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right center no-repeat; }
.fdrop { position: relative; }
.fdrop > button { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; padding: 6px 0; display: inline-flex; align-items: center; gap: 6px; border-bottom: 1px solid transparent; }
.fdrop > button .ic { width: 13px; height: 13px; transition: transform .2s; }
.fdrop.open > button { border-color: var(--ink); }
.fdrop.open > button .ic { transform: rotate(180deg); }
.fdrop > button .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-600); display: none; }
.fdrop.has-value > button .dot { display: inline-block; }
.fpanel { position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); z-index: 30; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 16px 18px; min-width: 220px; display: none; flex-direction: column; gap: 9px; font-size: 13px; }
.fdrop.open .fpanel { display: flex; }
.fpanel .sub { padding-left: 24px; }
.fpanel label.lbl { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.fpanel select { border: 1px solid var(--line); padding: 8px 10px; font-size: 13px; background: #fff; }
.check { display: flex; align-items: center; gap: 10px; cursor: pointer; text-transform: uppercase; font-size: 11.5px; letter-spacing: .12em; }
.check input { width: 16px; height: 16px; accent-color: var(--green-800); margin: 0; }
.fpanel .clear { align-self: flex-start; font-size: 12px; text-decoration: underline; color: var(--ink-2); margin-top: 4px; }
.map-toggle { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--ink); padding: 9px 14px; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; transition: background .2s, color .2s; }
.map-toggle:hover, .map-toggle[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.map-toggle .ic { width: 15px; height: 15px; }
.listing-grid-wrap { padding-bottom: 72px; }
.empty { grid-column: 1 / -1; text-align: center; padding: 60px 20px; color: var(--ink-2); background: var(--cream-2); }
.empty h3 { margin-bottom: 6px; }

/* Leaflet custom */
.fh-pin { color: var(--green-800); }
.fh-pin svg { width: 28px; height: 36px; filter: drop-shadow(0 2px 3px rgba(0,0,0,.25)); }
.fh-pin.gold { color: var(--brand); }
.leaflet-popup-content-wrapper { border-radius: 4px !important; }
.leaflet-popup-content { margin: 8px !important; width: 200px !important; font-family: var(--sans); }
.map-pop .img { height: 110px; margin-bottom: 8px; }
.map-pop strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 16px; line-height: 1.2; }
.map-pop span { display: block; color: var(--ink-2); font-size: 12px; margin: 2px 0 6px; }
.map-pop a { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; text-decoration: underline; color: var(--ink) !important; }

/* Lead pill + modal */
.lead-pill { position: fixed; right: 20px; bottom: 20px; z-index: 55; display: flex; align-items: center; gap: 4px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.lead-pill button { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; padding: 13px 16px; }
.lead-pill button + button { padding: 13px 14px; border-left: 1px solid var(--line); }
.lead-pill .ic { width: 14px; height: 14px; }

.modal-root { position: fixed; inset: 0; z-index: 100; background: rgba(15,22,18,.55); display: none; align-items: flex-start; justify-content: center; padding: 6vh 20px; overflow-y: auto; }
.modal-root.open { display: flex; }
.modal { position: relative; width: min(880px, 100%); background: #ebe8e8; padding: 56px 46px 46px; box-shadow: var(--shadow-lg); animation: modalIn .25s ease; }
@keyframes modalIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.modal .close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; display: grid; place-items: center; }
.modal .close .ic { width: 16px; height: 16px; }
.modal h2 { font-size: 24px; line-height: 1.3; letter-spacing: 0; margin-bottom: 4px; }
.modal h2 em { display: block; font-size: 24px; color: var(--ink); }
.modal .intro { font-family: var(--serif); font-size: 16px; color: var(--ink-2); display: grid; gap: 6px; margin: 10px 0 18px; padding-bottom: 18px; border-bottom: 1px solid var(--ink-3); }
.modal .intro a { text-decoration: underline; }
.modal .callrow { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 16px; flex-wrap: wrap; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.fgrid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.modal .field { gap: 4px; }
.modal .field > span { font-size: 12px; letter-spacing: .1em; font-weight: 700; padding-left: 12px; gap: 14px; }
.modal .field > span::after { content: ""; flex: 1; height: 1px; background: var(--ink); }
.modal .field input, .modal .field select { height: 48px; border: 1px solid #6a6866; background: transparent; padding: 8px 12px; font-family: var(--serif); font-size: 17px; color: var(--ink); }
.modal .field input::placeholder { color: #9a9794; }
.modal .field select { appearance: none; cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%231d1d1b' stroke-width='1.6' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center no-repeat; padding-right: 36px; }
.modal .fgrid { gap: 40px 18px; }
.modal .consent { font-size: 17px; gap: 14px; align-items: center; margin-top: 4px; }
.modal .consent input { appearance: none; width: 22px; height: 22px; margin: 0; border: 1px solid #6a6866; background: transparent; display: grid; place-items: center; cursor: pointer; }
.modal .consent input:checked::after { content: ""; width: 10px; height: 10px; background: var(--ink); }
.modal .consent.error input { border-color: #b5432f; }
.modal .btn-submit { border-color: #c4c0bd; color: #8a8682; font-size: 12px; letter-spacing: .14em; font-weight: 600; padding: 15px 38px; }
.modal .btn-submit:hover { border-color: var(--ink); background: transparent; color: var(--ink); }
.modal .form-actions { margin-top: 6px; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #b9b3a8; background: #fff; padding: 11px 12px; font-size: 14px; border-radius: 0; outline: 0; transition: border-color .2s; }
.field textarea { min-height: 90px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green-800); }
.field.error input, .field.error select, .field.error textarea { border-color: #b5432f; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-family: var(--serif); font-size: 15px; }
.consent input { width: 17px; height: 17px; margin-top: 3px; accent-color: var(--green-800); flex: none; }
.consent.error { color: #b5432f; }
.consent a { text-decoration: underline; }
.form-actions { display: flex; justify-content: center; margin-top: 22px; }
.btn-submit { border: 1px solid var(--ink); padding: 13px 34px; font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; background: transparent; }
.btn-submit:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---------- Sell page ---------- */
.sell-hero { background: #495249; color: #fff; padding: 64px 0 80px; }
.sell-hero .container { max-width: 620px; display: grid; gap: 14px; text-align: center; }
.sell-hero h1 { font-size: clamp(30px, 3vw, 40px); }
.sell-hero .lead a { text-decoration: underline; }
.sell-hero .lead { color: rgba(255,255,255,.88); font-family: var(--serif); font-size: 17px; }
.sell-form { text-align: left; display: grid; gap: 18px; margin-top: 24px; }
.sell-form .field > span { color: #fff; }
.sell-form .field input, .sell-form .field select { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; }
.sell-form .field select option { color: var(--ink); }
.sell-form .field input::placeholder { color: rgba(255,255,255,.55); }
.sell-form .note { text-align: center; font-size: 13px; color: rgba(255,255,255,.8); }
.sell-form .btn-submit { border-color: rgba(255,255,255,.8); color: #fff; }
.sell-form .btn-submit:hover { background: #fff; color: #495249; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.steps > div { padding: 40px 32px; border-right: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.steps > div:last-child { border-right: 0; }
.steps b { font-family: var(--serif); font-weight: 400; font-size: 40px; color: var(--gold-600); line-height: 1; }
.steps h3 { font-size: 22px; }
.steps p { color: var(--ink-2); font-size: 14px; }

/* ---------- Contact page ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-bottom: 1px solid var(--line); }
.contact-cards > div { text-align: center; padding: 0 28px 34px; border-right: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.contact-cards > div:last-child { border-right: 0; }
.contact-cards .badge-ic { width: 42px; height: 42px; border-radius: 50%; background: #fff; border: 1px solid var(--gold); display: grid; place-items: center; margin-top: 26px; }
.contact-cards .badge-ic .ic { width: 18px; height: 18px; }
.contact-cards h2 { font-size: clamp(26px, 2.6vw, 36px); }
.contact-cards p { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.contact-cards a { color: var(--gold-600); text-decoration: underline; }
.contact-map { position: relative; min-height: 640px; }
.contact-map .lmap { position: absolute; inset: 0; z-index: 0; }
.contact-form { position: relative; z-index: 2; width: min(460px, calc(100% - 40px)); margin: 40px 0 40px var(--gutter); background: #fff; padding: 36px 30px; box-shadow: var(--shadow-lg); display: grid; gap: 14px; }
.contact-form h2 { font-size: 34px; margin-bottom: 6px; }
.contact-form .field > span { display: none; }
.contact-form .field input, .contact-form .field select, .contact-form .field textarea { border-color: var(--line); }
/* Errors of the contact form: its field labels are hidden, the messages are not. */
.contact-form .field.error input, .contact-form .field.error select, .contact-form .field.error textarea { border-color: #b5432f; }
.contact-form .field > .field-msg { display: block; }

/* ---------- New builds landing ---------- */
.nb-split { display: grid; grid-template-columns: 1.15fr 1fr; background: #f6efe9; }
.nb-split > .img { min-height: 560px; }
.nb-split .text { padding: 56px clamp(28px, 5vw, 80px); display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.nb-split .eyebrow { border-bottom: 1px solid var(--ink); padding-bottom: 4px; align-self: flex-start; }
.nb-split h1 { font-size: clamp(32px, 3.4vw, 50px); }
.nb-split p { color: var(--ink-2); max-width: 560px; }
.nb-split .btn-line { align-self: flex-start; padding: 15px 20px; font-size: 13px; }
.status-chip { display: inline-flex; align-items: center; gap: 6px; }
.status-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.st-available { color: #2f6b45; }
.st-launching { color: #a77a2a; }
.st-new { color: var(--brand); }
.st-unavailable { color: var(--ink-3); }

/* ---------- Development / property hero + action bar ---------- */
.dev-hero { position: relative; height: calc(100vh - var(--header-h) - var(--bar-h)); min-height: 520px; color: #fff; }
.dev-hero > .img { position: absolute; inset: 0; }
.dev-hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 50%; background: linear-gradient(transparent, rgba(10,20,15,.55)); pointer-events: none; }
.dev-hero .title { position: absolute; left: 0; right: 0; bottom: 34px; z-index: 2; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.dev-hero h1 { font-size: clamp(44px, 6vw, 78px); text-shadow: 0 2px 24px rgba(0,0,0,.3); }
.dev-hero .down { width: 40px; height: 40px; display: grid; place-items: center; color: #fff; animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(5px); } }

.actionbar { position: sticky; top: var(--header-h); z-index: 40; display: grid; grid-template-columns: minmax(0, 1fr) auto; background: var(--cream-2); border-bottom: 1px solid var(--line); min-height: var(--bar-h); }
.ab-facts { display: flex; align-items: center; gap: 0; overflow-x: auto; scrollbar-width: none; }
.ab-fact { display: flex; align-items: center; gap: 12px; padding: 10px 26px; font-size: 12px; color: var(--ink-2); line-height: 1.25; white-space: nowrap; border-right: 1px solid var(--line); height: 100%; }
.ab-fact b { display: block; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.ab-fact .ic { width: 20px; height: 20px; color: var(--ink); }
.ab-fact.name { font-family: var(--serif); font-size: 15px; color: var(--ink); }
.ab-fact.name b { font-weight: 400; font-size: 24px; }
.ab-actions { display: flex; align-items: center; gap: 10px; background: var(--green-800); padding: 10px 18px; }
.ab-actions .btn-line { padding: 11px 16px; font-size: 11px; }
.ab-actions .btn-solid { padding: 12px 18px; font-size: 11px; }
.ab-contact { display: flex; gap: 4px; margin-left: 4px; }
.ab-contact a { width: 40px; height: 40px; display: grid; place-items: center; color: #fff; border-radius: 50%; transition: background .2s; }
.ab-contact a:hover { background: rgba(255,255,255,.14); color: #fff; }
.ab-contact .ic { width: 22px; height: 22px; }

/* Property hero card */
.prop-hero .info-card { position: absolute; left: var(--gutter); bottom: 34px; z-index: 3; width: 300px; background: var(--cream); color: var(--ink); padding: 0 0 18px; box-shadow: var(--shadow-lg); }
.prop-hero .info-card .flag { position: static; display: block; }
.prop-hero .info-card .in { padding: 16px 20px 0; display: grid; gap: 4px; }
.prop-hero .info-card h1 { font-size: 26px; text-shadow: none; }
.prop-hero .info-card .meta { font-family: var(--serif); font-size: 15px; color: var(--ink-2); line-height: 1.4; }
.prop-hero .info-card .links { display: flex; gap: 12px; flex-wrap: wrap; margin: 8px 0 6px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.prop-hero .info-card .links a { border-bottom: 1px solid var(--ink-3); }
.prop-hero .info-card .btn-line { margin-top: 6px; width: 100%; padding: 11px 12px; font-size: 10.5px; }
.prop-hero .info-card .small { font-size: 13px; color: var(--ink-2); margin-top: 8px; }
.prop-hero .info-card .small a { text-decoration: underline; }
.prop-hero .info-card .share { display: flex; align-items: center; gap: 10px; margin-top: 8px; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; }
.prop-hero .info-card .share a { display: grid; }
.prop-hero .info-card .share .ic { width: 18px; height: 18px; }
.more-photos { position: absolute; right: var(--gutter); bottom: 34px; z-index: 3; background: rgba(255,255,255,.92); color: var(--ink); padding: 12px 16px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; display: inline-flex; gap: 8px; align-items: center; }
.more-photos:hover { background: #fff; }
.more-photos .ic { width: 15px; height: 15px; }

/* Full-width content sections */
.fw { padding: 56px var(--gutter); }
.fw + .fw { border-top: 1px solid var(--line); }
.fw-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 24px; flex-wrap: wrap; }
.fw-head h2 { font-size: clamp(28px, 2.6vw, 36px); }
.fw-head p { color: var(--ink-2); font-size: 13.5px; }
.overview { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.overview .lead { font-family: var(--serif); font-size: clamp(20px, 1.8vw, 25px); line-height: 1.4; }
.overview .body { color: var(--ink-2); display: grid; gap: 14px; }
.features-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 30px; font-size: 14.5px; }
.features-list li { display: flex; gap: 10px; align-items: center; }
.features-list .ic { width: 17px; height: 17px; color: var(--green-800); }

/* Units table */
.units { width: 100%; border-collapse: collapse; font-size: 14px; background: #fff; }
.units thead th { background: var(--green-800); color: #fff; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; text-align: left; padding: 14px 18px; white-space: nowrap; }
.units tbody tr.unit { cursor: pointer; transition: background .15s; }
.units tbody tr.unit:hover { background: var(--cream); }
.units td { padding: 15px 18px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.units td:first-child { font-family: var(--serif); font-size: 16px; }
.units .chev .ic { width: 16px; height: 16px; transition: transform .2s; }
.units tr.unit.open .chev .ic { transform: rotate(180deg); }
.units tr.unit.open td { border-bottom-color: transparent; background: var(--cream); }
.units tr.detail td { background: var(--cream); padding: 0 18px 22px; white-space: normal; }
.unit-detail { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 24px; align-items: end; border-top: 1px dashed var(--line); padding-top: 18px; }
.unit-detail ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 28px; }
.unit-detail li { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.unit-detail li .ic { width: 18px; height: 18px; color: var(--gold-600); }
.unit-detail .acts { display: flex; gap: 10px; flex-wrap: wrap; }
.table-scroll { position: relative; overflow-x: auto; border: 1px solid var(--line); }

/* Amenities */
.amen-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.amen { background: #fff; border: 1px solid var(--line); padding: 22px; display: grid; gap: 6px; align-content: start; }
.amen .ic { width: 28px; height: 28px; color: var(--gold-600); margin-bottom: 6px; }
.amen h3 { font-size: 19px; }
.amen p { font-size: 13px; color: var(--ink-2); }

/* Location */
.loc-grid { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 36px; align-items: start; }
.loc-grid p { color: var(--ink-2); font-size: 14.5px; margin-bottom: 18px; }
.loc-map { height: 360px; border: 1px solid var(--line); position: relative; }
.loc-map .lmap { position: absolute; inset: 0; }
.connect-list li { display: grid; grid-template-columns: 26px 1fr auto; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.connect-list .muted { color: var(--ink-2); font-size: 13px; }
.loc-grid h3 { font-size: 22px; margin-bottom: 10px; }

/* Gallery mosaic */
.mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 260px 260px; gap: 8px; }
.mosaic a { position: relative; display: block; }
.mosaic a .img { position: absolute; inset: 0; }
.mosaic a:first-child { grid-row: span 2; }
.mosaic a:hover img { transform: scale(1.03); }
.mosaic .more { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; background: rgba(21,41,31,.55); color: #fff; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; }
.siteplan { height: 380px; background: #eef0ea; border: 1px dashed #b9b3a8; display: grid; place-items: center; color: var(--ink-2); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }

.brochure-band { display: flex; align-items: center; gap: 36px; background: var(--gold-soft); color: var(--ink); border-top: 1px solid #e2d2ad; padding: 34px var(--gutter); flex-wrap: wrap; }
.brochure-band h2 { font-size: 30px; }
.brochure-band p { color: var(--ink-2); font-size: 14px; max-width: 460px; }
.brochure-band .acts { margin-left: auto; display: flex; gap: 12px; }

/* ---------- Gallery (view more) page ---------- */
body[data-page="gallery"] { background: #111; }
.gal { display: grid; grid-template-columns: 320px minmax(0, 1fr); height: 100vh; }
.gal-side { background: var(--green-800); color: #fff; padding: 28px 30px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; overflow-y: auto; }
.gal-side .back { font-family: var(--serif); text-decoration: underline; font-size: 16px; }
.gal-side h1 { font-size: 32px; margin-top: 14px; }
.gal-side .price { font-family: var(--serif); font-size: 17px; }
.gal-side .loc { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; }
.gal-nav { display: flex; align-items: center; gap: 20px; font-size: 12px; letter-spacing: .1em; }
.gal-nav button { width: 34px; height: 34px; display: grid; place-items: center; color: #fff; border-radius: 50%; }
.gal-nav button:hover { background: rgba(255,255,255,.12); }
.gal-stats { display: flex; gap: 16px; background: rgba(255,255,255,.08); padding: 8px 14px; font-size: 12.5px; }
.gal-stats span { display: inline-flex; gap: 6px; align-items: center; }
.gal-stats .ic { width: 15px; height: 15px; }
.gal-side .btn-line, .gal-side .btn-solid { width: 100%; }
.gal-side .row { display: flex; gap: 8px; width: 100%; }
.gal-side .row > * { flex: 1; }
.gal-side .logo { margin-top: auto; padding-top: 24px; }
.gal-main { position: relative; background: #111; display: flex; flex-direction: column; min-height: 0; }
.gal-stage { position: relative; flex: 1; min-height: 0; }
.gal-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.gal-stage .arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; z-index: 2; }
.gal-stage .arrow:hover { background: rgba(255,255,255,.24); }
.gal-stage .prev { left: 20px; } .gal-stage .next { right: 20px; }
.gal-thumbs { display: flex; gap: 6px; padding: 10px; overflow-x: auto; scrollbar-width: thin; background: #0b0b0b; flex: none; }
.gal-thumbs button { width: 104px; height: 70px; flex: none; position: relative; opacity: .55; transition: opacity .2s; outline: 2px solid transparent; }
.gal-thumbs button.on { opacity: 1; outline-color: var(--gold); }
.gal-thumbs button:hover { opacity: 1; }
.gal-thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* Toast / reveal */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px); background: var(--green-800); color: #fff; padding: 12px 20px; font-size: 14px; opacity: 0; transition: all .3s; z-index: 140; pointer-events: none; box-shadow: var(--shadow-lg); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } * { scroll-behavior: auto !important; } .dev-hero .down { animation: none; } }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1280px) {
  .nav-left { gap: 20px; }
  .nav-search { width: 170px; }
  .ab-fact { padding: 10px 18px; }
  .ab-actions .btn-line { padding: 10px 12px; }
}
@media (max-width: 1100px) {
  :root { --gutter: 24px; }
  .header-inner { grid-template-columns: 1fr auto 1fr; }
  .nav-left { position: fixed; inset: var(--header-h) 0 auto 0; background: #fff; flex-direction: column; gap: 0; padding: 8px 24px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); transform: translateY(calc(-100% - var(--header-h))); visibility: hidden; transition: transform .3s, visibility 0s .3s; z-index: -1; }
  .nav-left.open { transform: none; visibility: visible; transition: transform .3s; }
  .nav-left a { padding: 15px 0; border-bottom: 1px solid var(--line); }
  .nav-left a::after { display: none; }
  .menu-toggle { display: grid; grid-column: 1; grid-row: 1; justify-self: start; }
  .logo { grid-column: 2; justify-self: center; }
  .actionbar { grid-template-columns: 1fr; }
  .ab-actions { overflow-x: auto; }
  .loc-grid { grid-template-columns: 1fr 1fr; }
  .loc-grid .loc-map { grid-column: 1 / -1; grid-row: 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div { border-bottom: 1px solid var(--line); }
  .dev-strip ul { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .split-hero, .nb-split { grid-template-columns: 1fr; max-height: none; min-height: 0; }
  .split-hero > .img, .nb-split > .img { min-height: 0; aspect-ratio: 4 / 3; }
  .lgrid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .touch-band .container { grid-template-columns: 1fr; gap: 24px; }
  .overview { grid-template-columns: 1fr; gap: 24px; }
  .contact-cards { grid-template-columns: 1fr; }
  .contact-cards > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .contact-form { margin: 0; width: 100%; box-shadow: none; }
  .contact-map { min-height: 0; display: flex; flex-direction: column-reverse; }
  .contact-map .lmap { position: relative; height: 320px; }
  .steps { grid-template-columns: 1fr; }
  .steps > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 140px 140px; }
  .mosaic a:first-child { grid-column: 1 / -1; grid-row: auto; }
  .unit-detail { grid-template-columns: 1fr; }
  .unit-detail ul { grid-template-columns: 1fr 1fr; }
  .gal { grid-template-columns: minmax(0, 1fr); height: auto; }
  .gal-main { min-width: 0; }
  .gal-main { height: 70vh; order: -1; }
  .prop-hero .info-card { left: 16px; right: 16px; width: auto; bottom: 16px; }
  .prop-hero .more-photos { top: 16px; bottom: auto; right: 16px; }
}
@media (max-width: 640px) {
  body { font-size: 14.5px; }
  .container { padding: 0 20px; }
  .nav-right .nav-link { display: none; }
  .nav-right .btn-line { padding: 10px 12px; font-size: 10.5px; }
  .nav-search { width: 40px; border: 0; }
  .nav-search input { display: none; }
  .logo img { height: 40px; }
  .lgrid { grid-template-columns: 1fr; }
  .row-head { grid-template-columns: 1fr auto; }
  .row-head h2 { grid-column: 1; justify-self: start; }
  .fgrid { grid-template-columns: 1fr; }
  .modal { padding: 30px 22px; }
  .dev-strip ul { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .loc-grid { grid-template-columns: 1fr; }
  .features-list { grid-template-columns: 1fr; }
  .unit-detail ul { grid-template-columns: 1fr; }
  .dev-hero { height: 70vh; min-height: 420px; }
  .prop-hero { height: auto; min-height: 0; display: flex; flex-direction: column; }
  .prop-hero > .img { position: relative; aspect-ratio: 4 / 3; }
  .prop-hero::after { display: none; }
  .prop-hero .info-card { position: relative; left: 0; right: 0; bottom: 0; width: 100%; box-shadow: none; }
  .toolbar-right { gap: 16px; }
  .fpanel { left: 0; transform: none; }
}

/* =========================================================
   Additions for the Symfony site (not in the static design)
   ========================================================= */
/* Language switch */
.lang-switch { display: flex; gap: 2px; font-size: 11px; letter-spacing: .14em; font-weight: 500; }
.lang-switch a { padding: 4px 5px; color: var(--ink-3); }
.lang-switch a.active { color: var(--ink); border-bottom: 1px solid var(--ink); }
.lang-switch a:hover { color: var(--ink); }

/* Flash messages (forms sent without JavaScript) */
.flash { padding: 14px var(--gutter); font-size: 14px; text-align: center; background: var(--green-800); color: #fff; }
.flash-error { background: #b5432f; }

/* Honeypot field */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Form errors returned by the server */
.field-msg { font-size: 12px; color: #b5432f; }
.sell-form .field-msg { color: #ffd2c8; }
.lead-form-msg { grid-column: 1 / -1; font-size: 13px; color: #b5432f; }
form[data-lead-form].sending { opacity: .6; pointer-events: none; }
.consent input[type="checkbox"] { flex: none; }
.modal .consent { font-family: var(--serif); }

/* Developers strip with logos */
.dev-strip li img { max-height: 46px; max-width: 160px; width: auto; margin: 0 auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .2s, opacity .2s; }
.dev-strip li img:hover { filter: none; opacity: 1; }
.dev-strip ul { justify-content: center; }

/* Admin-entered rich text */
.nb-body, .about-band .panel { display: grid; gap: 14px; }
.nb-body p { color: var(--ink-2); max-width: 560px; }
.page-head { background: var(--cream-2); border-bottom: 1px solid var(--line); padding: 64px 0 48px; }
.page-head .container { max-width: 860px; display: grid; gap: 16px; }
.page-head .eyebrow { border-bottom: 1px solid var(--ink); padding-bottom: 4px; justify-self: start; }
.page-head h1 { font-size: clamp(34px, 3.6vw, 52px); }
.page-head p { color: var(--ink-2); font-family: var(--serif); font-size: 19px; }
.page-content { padding: 56px 0 80px; }
.page-content > .container { max-width: 860px; }
.prose { font-size: 16px; line-height: 1.75; color: var(--ink-2); }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: 30px; color: var(--ink); margin-top: 1.6em; }
.prose h3 { font-size: 23px; color: var(--ink); margin-top: 1.4em; }
.prose ul { list-style: disc; padding-left: 1.3em; }
.prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose a { text-decoration: underline; color: var(--ink); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.accordion { margin-top: 40px; border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-family: var(--serif); font-size: 21px; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .ic { width: 16px; height: 16px; transition: transform .2s; }
.accordion details[open] summary .ic { transform: rotate(180deg); }
.accordion .prose { padding-bottom: 20px; }
.attachment-list { margin-top: 32px; display: grid; gap: 10px; }
.attachment-list a { display: inline-flex; gap: 10px; align-items: center; text-decoration: underline; }

/* Error pages */
.error-page { padding: 100px 0; text-align: center; }
.error-page-inner { display: grid; gap: 16px; justify-items: center; }
.error-code { font-size: clamp(64px, 9vw, 120px); color: var(--gold-600); }
.error-title { font-family: var(--serif); font-size: 26px; }
.error-text { color: var(--ink-2); margin-bottom: 10px; }

/* Listing grid filtered in the browser */
.lgrid > [data-listing][hidden], .lgrid > .promo-tile[hidden] { display: none !important; }
.siteplan { text-align: center; padding: 20px; }
a.siteplan:hover { background: #e6e9e1; }

.nav-lang { display: none; }
@media (max-width: 1100px) {
  .lang-switch { display: none; }
  .nav-lang { display: flex; gap: 8px; padding: 15px 0; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
  .nav-left .nav-lang a { padding: 0; border: 0; }
  .nav-lang a.active { color: var(--ink); text-decoration: underline; }
}
@media (max-width: 640px) {
  .page-head { padding: 44px 0 32px; }
}

/* OpenStreetMap tiles, toned down to match the palette */
.leaflet-tile-pane { filter: grayscale(.85) contrast(.92) brightness(1.04); }

/* Mosaic with fewer than five photos */
.mosaic.n2 { grid-template-columns: 2fr 1fr; }
.mosaic.n2 a:nth-child(2) { grid-row: span 2; }
.mosaic.n3 { grid-template-columns: 2fr 1fr; }
.mosaic.n4 { grid-template-columns: 2fr 1fr 1fr; }
.mosaic.n4 a:nth-child(4) { grid-column: span 2; }
@media (max-width: 900px) {
  .mosaic.n2, .mosaic.n3, .mosaic.n4 { grid-template-columns: 1fr 1fr; }
  .mosaic.n2 a:nth-child(2), .mosaic.n4 a:nth-child(4) { grid-row: auto; grid-column: auto; }
}

/* Keep the footer at the bottom on short pages */
body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; }
/* The photo gallery sizes itself (full screen on desktop, stacked on mobile). */
body[data-page="gallery"] > main { flex: none; }
