/* ==========================================================================
   Wow 1: cinematic listing (full-bleed hero, card-to-hero morph, story chapters)
   ========================================================================== */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .45s; }
::view-transition-group(lx-hero) { animation-duration: .75s; animation-timing-function: cubic-bezier(.2, .7, .1, 1); }
::view-transition-old(lx-hero), ::view-transition-new(lx-hero) { height: 100%; object-fit: cover; overflow: clip; }

.lx-hero { position: relative; height: 100svh; min-height: 620px; color: #fff; background: var(--night); overflow: hidden; }
.lx-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; cursor: zoom-in; }
.lx-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.lx-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(14, 20, 38, .9) 0%, rgba(14, 20, 38, .35) 40%, rgba(14, 20, 38, 0) 65%), linear-gradient(to bottom, rgba(14, 20, 38, .5), rgba(14, 20, 38, 0) 22%); }
.lx-hero__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding-bottom: clamp(32px, 5vw, 64px); }
.lx-hero .crumbs { color: rgba(255, 255, 255, .7); }
.lx-hero h1 { font-size: clamp(2.6rem, 1.6rem + 4.2vw, 6rem); max-width: 16ch; animation: rise 1.1s .15s var(--ease) both; }
.lx-hero__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 40px; margin-top: 28px; flex-wrap: wrap; animation: fade 1s .45s ease both; }
.lx-hero .price { font-size: var(--step-3); line-height: 1; }
.facts.light { color: rgba(255, 255, 255, .82); margin-top: 12px; font-size: .98rem; }
.lx-hero .acts { display: flex; gap: 10px; flex-wrap: wrap; }
.lx-hero .btn[aria-pressed="true"] svg { fill: var(--gold); stroke: var(--gold); }

.story { display: grid; grid-template-columns: 58fr 42fr; background: var(--paper); }
.story__media { position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--night); }
.story__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 1s var(--ease), transform 6s ease-out; }
.story__media img.on { opacity: 1; transform: scale(1); }
.story__count { position: absolute; left: 28px; bottom: 24px; color: #fff; font-family: var(--serif); font-size: 1.15rem; font-variant-numeric: lining-nums tabular-nums; text-shadow: 0 1px 12px rgba(0, 0, 0, .4); }
.story__text { padding: 0 clamp(28px, 4.5vw, 80px); }
.chapter { min-height: 92svh; display: flex; flex-direction: column; justify-content: center; padding: 96px 0; opacity: .3; transition: opacity .7s var(--ease); }
.chapter.on { opacity: 1; }
.chapter h2 { font-size: var(--step-3); margin-bottom: 26px; max-width: 18ch; }
.chapter .prose { font-size: 1.04rem; }
.chapter .prose p, .chapter .prose li { max-width: 56ch; }
.chapter__pic { display: none; }
.prose .fact-line { font-family: var(--serif); font-style: italic; color: var(--gold-deep); font-size: 1.15rem; margin-bottom: .4em; }
.kv { margin: 0 0 1.2em; display: grid; border-top: 1px solid var(--rule); }
.kv div { display: grid; grid-template-columns: minmax(120px, 38%) 1fr; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--rule); font-size: .96rem; }
.kv dt { color: var(--ink-3); }
.kv dd { margin: 0; }

.lx-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.lx-grid button { position: relative; aspect-ratio: 1; overflow: hidden; background: #DDE3E1; }
.lx-grid button:first-child { grid-column: span 2; grid-row: span 2; }
.lx-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.lx-grid button:hover img { transform: scale(1.05); }
.lx-grid span { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(14, 20, 38, .55); color: #fff; font-family: var(--serif); font-size: 1.8rem; }

.float-cta { position: fixed; right: 24px; bottom: 24px; z-index: 80; display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 22px; background: rgba(14, 20, 38, .94); color: #fff; backdrop-filter: blur(10px); box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .55); transform: translateY(140%); opacity: 0; visibility: hidden; transition: transform .6s var(--ease), opacity .4s, visibility .6s; max-width: calc(100vw - 48px); }
.float-cta.show { transform: none; opacity: 1; visibility: visible; }
.float-cta div { display: grid; line-height: 1.25; margin-right: 10px; min-width: 0; }
.float-cta b { font-family: var(--serif); font-weight: 400; font-size: 1.05rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 260px; }
.float-cta span { font-size: .86rem; color: var(--gold); }
.float-cta .icon-btn { color: #fff; }

/* header: language dropdown, nav labels on one line */
.nav > a, .nav > .has-menu > button { white-space: nowrap; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 10px; font-size: .86rem; font-weight: 600; letter-spacing: .04em; border: 1px solid color-mix(in srgb, currentColor 30%, transparent); border-radius: 2px; }
.lang-btn svg { width: 10px; height: 10px; transition: transform .3s; }
.lang-dd .lang-menu { width: 200px; left: auto; right: 0; grid-template-columns: 1fr; gap: 2px; padding: 8px; transform: translateY(8px); }
.lang-dd.has-menu:hover .lang-menu, .lang-dd.has-menu:focus-within .lang-menu, .lang-dd.has-menu.open .lang-menu { transform: none; }
.lang-dd.open .lang-btn svg, .lang-dd:hover .lang-btn svg { transform: rotate(180deg); }
.lang-menu button { display: flex; align-items: baseline; gap: 12px; padding: 10px 12px; border-radius: 2px; text-align: left; transition: background .2s; }
.lang-menu button:hover { background: var(--shell); }
.lang-menu b { font-size: .8rem; letter-spacing: .04em; width: 22px; color: var(--ink-3); }
.lang-menu span { font-size: .95rem; color: var(--ink); }
.lang-menu button[aria-pressed="true"] b { color: var(--gold-deep); }
.lang-menu button[aria-pressed="true"] span { font-weight: 600; }
@media (max-width: 900px) { .hdr .lang-dd { display: none; } }

/* ==========================================================================
   Vivid photos, legible text.
   No darkening over the photos or the film: the text carries its own layered shadow (a tight
   edge for crispness plus a wide soft halo), and buttons get a frosted glass backing.
   ========================================================================== */
/* a soft shadow behind the text block only (blurred, fades to nothing well before the photo's edges) */
.hero__body, .lx-hero__body, .phero .wrap { isolation: isolate; }
.hero__body::before, .lx-hero__body::before, .phero .wrap::before { content: ""; position: absolute; z-index: -1; pointer-events: none; filter: blur(28px);
  background: radial-gradient(ellipse 62% 72% at 30% 50%, rgba(5, 8, 16, .66) 0%, rgba(5, 8, 16, .46) 50%, rgba(5, 8, 16, 0) 100%); }
.hero__body::before { inset: -14% -6% -18% -10%; }
.lx-hero__body::before { inset: -8% -4% -10% -8%; }
.phero .wrap::before { inset: 96px -8% -6% -10%; }
@media (max-width: 900px) { .hero__body::before, .lx-hero__body::before, .phero .wrap::before { background: radial-gradient(ellipse 85% 60% at 40% 58%, rgba(5, 8, 16, .62) 0%, rgba(5, 8, 16, .42) 50%, rgba(5, 8, 16, 0) 100%); } }
.hero__shade { background: linear-gradient(to top, rgba(14, 20, 38, .22), rgba(14, 20, 38, 0) 30%); } /* only seats the search panel */
.phero::after, .lx-hero::after { background: linear-gradient(to bottom, rgba(14, 20, 38, .3), rgba(14, 20, 38, 0) 20%); } /* only under the menu bar */
.hdr::before { inset: 0 0 -30px; background: linear-gradient(to bottom, rgba(14, 20, 38, .5), rgba(14, 20, 38, .22) 60%, rgba(14, 20, 38, 0)); }
:root {
  --pop: 0 1px 2px rgba(5, 8, 16, .85), 0 2px 8px rgba(5, 8, 16, .6), 0 0 22px rgba(5, 8, 16, .5);
  --pop-xl: 0 1px 3px rgba(5, 8, 16, .6), 0 4px 24px rgba(5, 8, 16, .6), 0 0 60px rgba(5, 8, 16, .5);
}
.hero h1, .phero h1, .lx-hero h1, .lx-hero .price { text-shadow: var(--pop-xl); }
.hero__sub p, .phero p, .phero .crumbs, .lx-hero .crumbs, .phero .kicker, .lx-hero .kicker, .facts.light { text-shadow: var(--pop); }
.hero__sub p, .phero p, .facts.light { color: #fff; font-weight: 500; }
.phero .crumbs, .lx-hero .crumbs { color: #fff; font-weight: 500; }
.phero .kicker, .lx-hero .kicker { color: #F4E6C6; }
/* frosted glass for outline buttons on photos, so their labels never sit on bare sky */
.hero .btn--ghost.light, .phero .btn--ghost.light, .lx-hero .btn--ghost.light { background: rgba(14, 20, 38, .34); border-color: rgba(255, 255, 255, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hero .btn--ghost.light:hover, .phero .btn--ghost.light:hover, .lx-hero .btn--ghost.light:hover { background: rgba(14, 20, 38, .5); border-color: #fff; }
.hero .btn--gold, .phero .btn--gold, .lx-hero .btn--gold { box-shadow: 0 10px 30px -10px rgba(5, 8, 16, .6); }
/* the transparent menu bar over photos */
.hdr:not(.solid) .nav > a, .hdr:not(.solid) .nav > .has-menu > button { text-shadow: var(--pop); }
.hdr:not(.solid) .hdr__logo img, .hdr:not(.solid) .icon-btn svg { filter: drop-shadow(0 1px 3px rgba(5, 8, 16, .6)); }
.hdr:not(.solid) .hdr__logo .l-light { filter: drop-shadow(0 1px 3px rgba(5, 8, 16, .6)); } /* gold house + white lettering */
.hdr:not(.solid) .lang-btn { background: rgba(14, 20, 38, .28); border-color: rgba(255, 255, 255, .5); backdrop-filter: blur(8px); text-shadow: var(--pop); }
/* film control: its own dark disc, positioned under the header now that the horizon device is gone */
.hero__ctl { top: calc(var(--header-h) + 24px); }
.hero__ctl button { background: rgba(14, 20, 38, .5); backdrop-filter: blur(6px); }
@media (max-width: 900px) { .hero__ctl { top: calc(var(--header-h) + 16px); } }

/* Google Maps embeds */
.map iframe { display: block; width: 100%; height: 100%; border: 0; filter: saturate(.85); }
.gmap-wrap { position: relative; }
.split > *, .split .card { min-width: 0; }
.split .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.split .card__top { flex-wrap: wrap; }
.split .gmap-wrap { position: sticky; top: calc(var(--header-h) + 90px); height: calc(100svh - var(--header-h) - 120px); }
.split .gmap-wrap .map { position: static; height: 100%; }
.gmap-cap:empty { display: none; }
.gmap-cap { position: absolute; left: 12px; bottom: 28px; z-index: 2; max-width: calc(100% - 24px); }
.gmap-cap a { display: grid; gap: 2px; padding: 12px 16px; background: rgba(14, 20, 38, .94); color: #fff; box-shadow: 0 12px 24px -12px rgba(0, 0, 0, .5); }
.gmap-cap b { font-family: var(--serif); font-weight: 400; font-size: 1.05rem; }
.gmap-cap span { font-size: .84rem; color: var(--gold); }
.map-focus { display: inline-flex; align-items: center; gap: 6px; justify-self: start; font-size: .84rem; color: var(--lagoon); padding: 4px 0; }
.map-focus svg { width: 14px; height: 14px; }
.map-focus[aria-pressed="true"] { color: var(--gold-deep); font-weight: 600; }
.hub-map { display: grid; grid-template-columns: 300px 1fr; gap: 24px; }
.hub-map .map { height: 560px; }
.hub-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.hub-list button { width: 100%; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 13px 4px; border-bottom: 1px solid var(--rule); text-align: left; transition: color .2s, padding .3s var(--ease); }
.hub-list b { font-family: var(--serif); font-weight: 400; font-size: 1.12rem; }
.hub-list span { font-size: .82rem; color: var(--ink-3); white-space: nowrap; }
.hub-list button:hover { padding-left: 10px; }
.hub-list button[aria-pressed="true"] { padding-left: 10px; box-shadow: inset 2px 0 0 var(--gold); }
@media (max-width: 1180px) { .split .gmap-wrap { position: relative; top: 0; height: 60svh; order: -1; } }
@media (max-width: 900px) {
  .hub-map { grid-template-columns: 1fr; }
  .hub-map .gmap-wrap { order: -1; }
  .hub-map .map { height: 52svh; }
}

/* gallery tools + full-screen mode */
.lb-tools { display: flex; align-items: center; gap: 6px; }
.lb-tool { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1px solid var(--rule-light); border-radius: 2px; color: #fff; font-size: .86rem; transition: border-color .2s, background .2s; }
.lb-tool:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.lb-tool svg { width: 16px; height: 16px; }
.lb .thumbs { padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .08); }
.lb.max { background: #05070D; }
.lb.max .thumbs { display: none; }
.lb.max figure { margin: 0; }
.lb.max figure img { cursor: zoom-out; }
.lb.max .nav-b { background: rgba(5, 7, 13, .55); }
@media (max-width: 600px) { .lb-tool span { display: none; } .lb-tool { padding: 0 11px; } }

/* animated logo film: full width, framed on the logo band of the shot */
.rf { padding: clamp(56px, 7vw, 104px) 0 0; }
.rf__frame { position: relative; width: 100%; height: min(56.25vw, 92svh); overflow: hidden; background: #CFC6B9; }
.rf__frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.rf__ctl { position: absolute; right: var(--gutter); bottom: clamp(16px, 2.5vw, 32px); display: flex; gap: 8px; }
.rf__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 40px; background: rgba(14, 20, 38, .45); color: #fff; font-size: .86rem; border: 1px solid rgba(255, 255, 255, .35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background .2s, opacity .4s; }
.rf__btn:hover { background: rgba(14, 20, 38, .7); }
.rf__btn svg { width: 16px; height: 16px; }
.rf__frame:not(.done) [data-rf="replay"] { opacity: .0; pointer-events: none; }
@media (max-width: 600px) {
  .rf { padding-top: 40px; }
  .rf__frame { height: 56.25vw; }
  .rf__btn { min-height: 36px; padding: 0 12px; font-size: .8rem; }
  .rf__btn span { display: none; } /* icons only on phones */
}

/* ==========================================================================
   Typography: Marcellus (headings) + Montserrat (text).
   Marcellus has carved Roman capitals like an engraved stone sign; Montserrat matches the logo lettering.
   ========================================================================== */
h1, h2, h3 { letter-spacing: .005em; line-height: 1.12; }
.hero h1 { line-height: 1.08; }
body { font-size: .98rem; }
/* Marcellus has no italic: accent labels are upright, slightly tracked Montserrat */
.kicker, .role, .fact-line, .loose { font-style: normal; font-family: var(--sans); font-weight: 500; letter-spacing: .06em; font-size: .92rem; }

/* footer credit */
.ftr__links { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }
.ftr__credit a { color: rgba(255, 255, 255, .85); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(201, 169, 110, .6); }
.ftr__credit a:hover { color: var(--gold); }

/* back to top */
.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 85; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; box-shadow: 0 16px 32px -14px rgba(14, 20, 38, .6); opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .4s, transform .5s var(--ease), visibility .4s, bottom .5s var(--ease), background .2s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold); color: var(--night); }
.to-top svg { width: 20px; height: 20px; }
.to-top.lift { bottom: 104px; }
@media (max-width: 900px) {
  .to-top { right: 16px; bottom: 16px; width: 46px; height: 46px; }
  .has-mobile-cta .to-top { bottom: calc(96px + env(safe-area-inset-bottom)); }
}
@media print { .to-top { display: none !important; } }

/* ==========================================================================
   Wow 4: Private Portfolio
   ========================================================================== */
.pf-top { position: relative; }
.badge { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--gold); color: var(--night); font-size: .7rem; font-weight: 600; display: grid; place-items: center; line-height: 1; }
.badge[data-n="0"] { display: none; }
.pf-head { padding: calc(var(--header-h) + clamp(48px, 6vw, 88px)) 0 clamp(48px, 6vw, 80px); }
.pf-head .crumbs { color: rgba(255, 255, 255, .6); }
.pf-head__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: end; }
.pf-head h1 { font-size: var(--step-5); max-width: 15ch; }
.pf-head .lede { margin-top: 22px; max-width: 52ch; }
.pf-adv { display: flex; gap: 20px; align-items: center; padding: 24px; border: 1px solid var(--rule-light); }
.pf-adv img { width: 96px; height: 120px; object-fit: cover; object-position: top; flex: none; }
.pf-adv > div { display: grid; gap: 4px; justify-items: start; }
.pf-adv small { color: var(--seaglass); font-size: .82rem; }
.pf-adv b { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1.15; }
.pf-adv span { color: rgba(255, 255, 255, .65); font-size: .88rem; }
.pf-adv .chips { margin-top: 8px; }
.pf-adv .chip { background: transparent; color: #fff; border-color: var(--rule-light); min-height: 34px; }
.pf-adv .chip[aria-pressed="true"] { background: var(--gold); color: var(--night); border-color: var(--gold); }
.pf-bar { background: var(--paper); border-bottom: 1px solid var(--rule); }
.pf-bar .wrap { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; padding-top: 18px; padding-bottom: 18px; flex-wrap: wrap; }
.pf-for { flex: 1 1 280px; max-width: 420px; }
.pf-share { display: flex; gap: 8px; flex-wrap: wrap; }
.pf-share .btn { min-height: 48px; padding: 0 16px; }
.pf-table { overflow-x: auto; border: 1px solid var(--rule); background: var(--paper); }
.pf-table table { border-collapse: collapse; min-width: 100%; }
.pf-table th, .pf-table td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); min-width: 240px; max-width: 300px; font-size: .96rem; }
.pf-table tbody th { position: sticky; left: 0; z-index: 1; background: var(--paper); min-width: 150px; font-weight: 500; color: var(--ink-3); font-size: .88rem; box-shadow: 1px 0 0 var(--rule); }
.pf-table thead th { vertical-align: bottom; border-bottom-color: var(--navy); font-weight: 400; }
.pf-table thead th:first-child { position: sticky; left: 0; background: var(--paper); z-index: 1; min-width: 150px; }
.pf-table thead .ph { display: block; aspect-ratio: 4 / 3; margin-bottom: 12px; }
.pf-title { display: block; font-family: var(--serif); font-size: 1.2rem; line-height: 1.25; }
.pf-remove { margin-top: 8px; font-size: .84rem; color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px; }
.pf-remove:hover { color: #B3412E; }
.pf-table .price { font-size: 1.25rem; }
.pf-best { display: block; color: var(--lagoon); font-size: .8rem; margin-top: 2px; }
.pf-note { width: 100%; min-height: 90px; padding: 10px 12px; border: 1px solid var(--rule); background: var(--shell); resize: vertical; font-size: .92rem; }
.pf-note:focus { outline: none; border-color: var(--navy); background: #fff; }

@media (max-width: 900px) {
  .story { grid-template-columns: 1fr; }
  .story__media { display: none; }
  .story__text { padding: 0 var(--gutter); }
  .chapter { min-height: 0; padding: 48px 0 8px; opacity: 1; }
  .chapter__pic { display: block; aspect-ratio: 4 / 3; margin: 0 calc(var(--gutter) * -1) 28px; overflow: hidden; }
  .chapter__pic img { width: 100%; height: 100%; object-fit: cover; }
  .lx-hero .acts .btn { flex: 1 1 auto; }
  .lx-hero .acts .btn--gold { display: none; }
  .float-cta { display: none; }
  .lx-grid { grid-template-columns: repeat(2, 1fr); }
  .pf-head__grid { grid-template-columns: 1fr; }
}
@media print {
  .hdr, .ftr, .cookie, .toast, .pf-bar, #consult, .pf-remove, .mobile-cta, .float-cta, .drawer { display: none !important; }
  body { background: #fff; }
  .pf-head { background: #fff; color: var(--ink); padding: 0 0 24px; }
  .pf-head .lede, .pf-adv span { color: var(--ink-2); }
  .pf-adv { border-color: var(--rule); }
  .pf-adv .chips, .pf-adv .link { display: none; }
  .pf-table { overflow: visible; border: 0; }
  .pf-table th, .pf-table td { min-width: 0; padding: 8px; }
  .pf-note { border: 0; background: none; min-height: 0; resize: none; }
}
