/* ==========================================================================
   Errikos Kohls Immobilien Consulting — redesign
   ========================================================================== */

:root {
  --ink: #1a192d;
  --ink-2: #232239;
  --ink-3: #2e2d47;
  --gold: #bda074;
  --gold-2: #d4bc96;
  --gold-d: #9c8158;
  --sand: #f6f2eb;
  --sand-2: #ede6da;
  --stone: #a7adb3;
  --text: #2a293a;
  --muted: #6f6e7c;
  --line: rgba(26, 25, 45, .12);
  --line-light: rgba(255, 255, 255, .16);
  --white: #fff;

  --serif: "Noto Serif Display", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --pad: clamp(20px, 4.2vw, 64px);
  --max: 1320px;
  --max-wide: 1640px;
  --header-h: 96px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.77, 0, .18, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 300; line-height: 1.05; letter-spacing: -.015em; color: var(--ink); text-wrap: balance; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
em { font-style: italic; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 10000; background: var(--gold); color: var(--ink); padding: 10px 18px; font-weight: 600; }
.skip-link:focus { top: 16px; }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

/* Layout ----------------------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--max) + var(--pad) * 2); margin-inline: auto; padding-inline: var(--pad); }
.container-wide { width: 100%; max-width: calc(var(--max-wide) + var(--pad) * 2); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(80px, 11vw, 170px); position: relative; }
.section--tight { padding-block: clamp(56px, 7vw, 100px); }
.section--dark { background: var(--ink); color: rgba(255, 255, 255, .72); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--white { background: var(--white); }

/* Type ------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold-d); margin: 0 0 26px;
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; opacity: .8; }
.eyebrow--light, .section--dark .eyebrow { color: var(--gold); }
.eyebrow--plain::before { display: none; }

.display { font-size: clamp(3rem, 8.4vw, 8.4rem); line-height: .94; letter-spacing: -.03em; }
.h2 { font-size: clamp(2.3rem, 4.8vw, 4.4rem); line-height: 1.02; letter-spacing: -.025em; }
.h3 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1.1; }
.display em, .h2 em, .h3 em { color: var(--gold); font-weight: 300; }
.lead { font-size: clamp(1.05rem, 1.35vw, 1.2rem); line-height: 1.75; color: var(--muted); max-width: 46ch; }
.section--dark .lead { color: rgba(255, 255, 255, .66); }

.split-line { overflow: clip; padding-bottom: .08em; margin-bottom: -.08em; }

/* Buttons ---------------------------------------------------------------- */
.btn {
  --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--ink); --btn-hover-bg: var(--ink); --btn-hover-fg: var(--white);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 1.15em 2em; min-height: 54px;
  font-family: var(--sans); font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap;
  color: var(--btn-fg); background: var(--btn-bg); border: 1px solid var(--btn-bd);
  overflow: hidden; isolation: isolate; transition: color .5s var(--ease), border-color .5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--btn-hover-bg);
  transform: translateY(101%); border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  transition: transform .6s var(--ease), border-radius .6s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); border-radius: 0; }
.btn:hover, .btn:focus-visible { color: var(--btn-hover-fg); border-color: var(--btn-hover-bg); }
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .5s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn--gold { --btn-bg: var(--gold); --btn-fg: var(--ink); --btn-bd: var(--gold); --btn-hover-bg: var(--ink); --btn-hover-fg: var(--white); }
.btn--ink { --btn-bg: var(--ink); --btn-fg: var(--white); --btn-bd: var(--ink); --btn-hover-bg: var(--gold); --btn-hover-fg: var(--ink); }
.btn--light { --btn-fg: var(--white); --btn-bd: rgba(255, 255, 255, .5); --btn-hover-bg: var(--white); --btn-hover-fg: var(--ink); }
.section--dark .btn--gold { --btn-hover-bg: var(--white); }
.btn--block { width: 100%; }
.btn--sm { min-height: 44px; padding: .9em 1.4em; font-size: .68rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: inherit; position: relative; padding-bottom: 6px;
}
.link-arrow::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor;
  transform-origin: right; transform: scaleX(.35); transition: transform .6s var(--ease);
}
.link-arrow:hover::after { transform-origin: left; transform: scaleX(1); }
.link-arrow .icon { transition: transform .5s var(--ease); }
.link-arrow:hover .icon { transform: translateX(5px); }

/* Header ----------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 900; height: var(--header-h);
  color: var(--ink);
  transition: transform .7s var(--ease), background-color .5s, color .5s, height .5s var(--ease), box-shadow .5s;
}
.site-header::before {
  content: ""; position: absolute; inset: 0; background: rgba(246, 242, 235, .92);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  opacity: 0; transition: opacity .5s; border-bottom: 1px solid var(--line);
}
.site-header.is-solid::before { opacity: 1; }
.site-header.is-solid { --header-h: 78px; }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-over-dark:not(.is-solid) { color: var(--white); }
.site-header.is-over-dark:not(.is-solid) .brand img { filter: brightness(0) invert(1); }

.header-inner { position: relative; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: block; flex: none; }
.brand img { height: 58px; width: auto; transition: filter .5s, height .5s var(--ease); }
.site-header.is-solid .brand img { height: 48px; }

.main-nav > ul { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 44px); }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 12px 0;
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; position: relative;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.nav-link:hover::after, .nav-link[aria-current="page"]::after, .nav-item:hover > .nav-link::after { transform: scaleX(1); transform-origin: left; }
.nav-link .icon { width: .9em; height: .9em; transition: transform .4s var(--ease); }
.nav-item:hover > .nav-link .icon, .nav-item.is-open > .nav-link .icon { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 6px); left: 50%; min-width: 300px;
  background: var(--white); color: var(--ink); padding: 14px; border-radius: 2px;
  box-shadow: 0 30px 70px -20px rgba(26, 25, 45, .35);
  opacity: 0; visibility: hidden; transform: translate(-50%, 10px); transition: opacity .35s, transform .5s var(--ease), visibility .35s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav-item:hover > .dropdown, .nav-item.is-open > .dropdown, .nav-item:focus-within > .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown a { display: flex; flex-direction: column; padding: 12px 16px; border-radius: 2px; transition: background-color .3s; }
.dropdown a:hover { background: var(--sand); }
.dropdown a strong { font-family: var(--serif); font-weight: 400; font-size: 1.15rem; letter-spacing: -.01em; }
.dropdown a span { font-size: .8rem; color: var(--muted); line-height: 1.5; }
.dropdown--mega { display: grid; grid-template-columns: 1fr 220px; gap: 10px; min-width: 620px; }
.dropdown-feature { position: relative; overflow: hidden; border-radius: 2px; min-height: 240px; color: var(--white); padding: 0 !important; }
.dropdown-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.dropdown-feature:hover img { transform: scale(1.06); }
.dropdown-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(26, 25, 45, .85)); }
.dropdown-feature div { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 16px; }
.dropdown-feature small { display: block; font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-2); }
.dropdown-feature strong { color: var(--white); }

.header-actions { display: flex; align-items: center; gap: 22px; }
.lang { position: relative; }
.lang-toggle { display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; font-weight: 700; letter-spacing: .16em; padding: 10px 0; }
.lang .dropdown { min-width: 160px; left: auto; right: -14px; transform: translateY(10px); }
.lang:hover .dropdown, .lang.is-open .dropdown, .lang:focus-within .dropdown { transform: translateY(0); }
.lang .dropdown a { flex-direction: row; justify-content: space-between; font-size: .85rem; padding: 9px 14px; }
.lang .dropdown a small { color: var(--muted); font-size: .7rem; letter-spacing: .14em; }
.lang .dropdown a[aria-current="true"] { color: var(--gold-d); font-weight: 700; }
.header-phone { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 600; letter-spacing: .06em; }
.header-phone .icon { color: var(--gold); }
.site-header .btn { min-height: 46px; padding: .9em 1.6em; font-size: .68rem; }
.site-header.is-over-dark:not(.is-solid) .btn--line-adapt { --btn-fg: var(--white); --btn-bd: rgba(255, 255, 255, .5); --btn-hover-bg: var(--white); --btn-hover-fg: var(--ink); }

.burger { display: none; width: 46px; height: 46px; position: relative; border-radius: 50%; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; transition: transform .6s var(--ease), top .6s var(--ease), opacity .3s; }
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 27px; right: 18px; }
.menu-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 22px; right: 12px; transform: rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 890; background: var(--ink); color: var(--white);
  display: flex; flex-direction: column; padding: calc(var(--header-h) + 24px) var(--pad) 32px;
  clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .9s var(--ease-io), visibility 0s .9s;
  overflow-y: auto;
}
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .9s var(--ease-io), visibility 0s; }
.menu-open .site-header { color: var(--white); }
.menu-open .site-header::before { opacity: 0; }
.menu-open .site-header .brand img { filter: brightness(0) invert(1); }
.mobile-menu nav > ul > li { overflow: hidden; border-bottom: 1px solid var(--line-light); }
.mobile-menu nav > ul > li > a, .mobile-menu nav > ul > li > button {
  display: flex; width: 100%; justify-content: space-between; align-items: center; padding: 18px 0;
  font-family: var(--serif); font-weight: 300; font-size: clamp(1.9rem, 7vw, 2.8rem); letter-spacing: -.02em; line-height: 1.1;
  transform: translateY(110%); transition: transform .9s var(--ease);
}
.menu-open .mobile-menu nav > ul > li > a, .menu-open .mobile-menu nav > ul > li > button { transform: none; }
.mobile-menu nav > ul > li:nth-child(2) > * { transition-delay: .06s; }
.mobile-menu nav > ul > li:nth-child(3) > * { transition-delay: .12s; }
.mobile-menu nav > ul > li:nth-child(4) > * { transition-delay: .18s; }
.mobile-menu nav > ul > li:nth-child(5) > * { transition-delay: .24s; }
.mobile-menu .sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.mobile-menu .sub > ul { overflow: hidden; }
.mobile-menu .is-open .sub { grid-template-rows: 1fr; }
.mobile-menu .sub a { display: block; padding: 8px 0 8px 4px; color: rgba(255, 255, 255, .7); font-size: 1.05rem; }
.mobile-menu .sub li:last-child a { padding-bottom: 20px; }
.mobile-menu nav button .icon { width: 22px; height: 22px; color: var(--gold); transition: transform .4s var(--ease); }
.mobile-menu nav .is-open button .icon { transform: rotate(45deg); }
.mobile-menu-foot { margin-top: auto; padding-top: 40px; display: grid; gap: 22px; opacity: 0; transition: opacity .6s .3s; }
.menu-open .mobile-menu-foot { opacity: 1; }
.mobile-langs { display: flex; gap: 18px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; }
.mobile-langs a { color: rgba(255, 255, 255, .55); }
.mobile-langs a[aria-current="true"] { color: var(--gold); }
.mobile-phones { display: grid; gap: 6px; font-size: .95rem; }
.mobile-phones span { color: var(--gold); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; display: inline-block; width: 90px; }

/* Page curtain / loader -------------------------------------------------- */
.curtain { display: none; }
.js .curtain {
  position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center;
  background: var(--ink); color: var(--white); pointer-events: none;
  animation: curtainFallback .01s 4.5s forwards;
}
@keyframes curtainFallback { to { visibility: hidden; } }
.curtain.is-done { visibility: hidden; }
.curtain-inner { display: grid; justify-items: center; gap: 22px; }
.curtain-mark { width: 54px; height: auto; color: var(--gold); }
.curtain-mark path { stroke-dasharray: 400; stroke-dashoffset: 0; }
.curtain-word { font-family: var(--serif); font-weight: 300; font-size: clamp(1.5rem, 3vw, 2.2rem); letter-spacing: .32em; text-transform: uppercase; overflow: hidden; }
.curtain-word span { display: inline-block; }
.curtain-sub { font-size: .66rem; letter-spacing: .5em; text-transform: uppercase; color: var(--gold); }
.curtain-count { position: absolute; right: var(--pad); bottom: 32px; font-family: var(--serif); font-size: clamp(3rem, 8vw, 6rem); font-weight: 300; line-height: 1; color: rgba(255, 255, 255, .1); font-variant-numeric: tabular-nums; }
.curtain-bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }

/* Cursor ----------------------------------------------------------------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 9998; pointer-events: none; display: none; }
.has-cursor .cursor { display: block; }
.cursor-dot { position: absolute; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--gold); }
.cursor-ring {
  position: absolute; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%;
  border: 1px solid rgba(189, 160, 116, .6); display: grid; place-items: center;
  transition: width .5s var(--ease), height .5s var(--ease), margin .5s var(--ease), background-color .4s, border-color .4s, opacity .3s;
}
.cursor-ring span { font-size: .62rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity .3s; }
.cursor.is-link .cursor-ring { width: 56px; height: 56px; margin: -28px 0 0 -28px; border-color: var(--gold); }
.cursor.is-view .cursor-ring { width: 104px; height: 104px; margin: -52px 0 0 -52px; background: var(--gold); border-color: var(--gold); }
.cursor.is-view .cursor-ring span { opacity: 1; }
.cursor.is-view .cursor-dot, .cursor.is-hidden { opacity: 0; }

/* Hero (home) ------------------------------------------------------------ */
.hero { position: relative; height: 100svh; min-height: 680px; background: var(--ink); color: var(--white); overflow: hidden; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; margin: 0; overflow: hidden; visibility: hidden; }
.hero-slide.is-active { visibility: visible; z-index: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform-origin: 60% 50%; }
.hero-veil {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(26, 25, 45, .55) 0%, rgba(26, 25, 45, 0) 26%),
    linear-gradient(0deg, rgba(26, 25, 45, .82) 0%, rgba(26, 25, 45, .2) 45%, rgba(26, 25, 45, 0) 70%),
    linear-gradient(90deg, rgba(26, 25, 45, .45) 0%, rgba(26, 25, 45, 0) 60%);
}
.hero-content { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(170px, 22vh, 230px); pointer-events: none; }
.hero-content > * { pointer-events: auto; }
.hero-title { color: var(--white); max-width: 12ch; }
.hero-title em { color: var(--gold-2); }
.hero-sub { margin-top: 30px; max-width: 44ch; color: rgba(255, 255, 255, .78); font-size: clamp(1rem, 1.2vw, 1.12rem); }

.hero-aside { position: absolute; z-index: 4; right: var(--pad); bottom: clamp(170px, 22vh, 230px); width: min(340px, 30vw); display: grid; gap: 22px; }
.hero-caption { border-top: 1px solid var(--line-light); padding-top: 18px; display: grid; gap: 6px; }
.hero-caption small { font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-2); }
.hero-caption a { font-family: var(--serif); font-size: 1.55rem; font-weight: 300; line-height: 1.15; display: inline-flex; align-items: center; gap: 12px; }
.hero-caption a .icon { color: var(--gold); transition: transform .5s var(--ease); }
.hero-caption a:hover .icon { transform: translate(4px, -4px); }
.hero-caption-text { overflow: hidden; }
.hero-controls { display: flex; align-items: center; gap: 18px; }
.hero-count { font-family: var(--serif); font-size: 1rem; letter-spacing: .1em; font-variant-numeric: tabular-nums; display: flex; gap: 8px; align-items: baseline; }
.hero-count b { font-weight: 400; font-size: 1.6rem; color: var(--white); }
.hero-count span { color: rgba(255, 255, 255, .5); }
.hero-progress { flex: 1; display: flex; gap: 6px; }
.hero-progress button { flex: 1; height: 18px; position: relative; }
.hero-progress button::before, .hero-progress button i { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: rgba(255, 255, 255, .22); }
.hero-progress button i { background: var(--gold); transform: scaleX(0); transform-origin: left; }
.hero-arrows { display: flex; gap: 8px; }
.round-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); display: grid; place-items: center; transition: background-color .4s, border-color .4s, color .4s; }
.round-btn:hover { background: var(--white); border-color: var(--white); color: var(--ink); }
.round-btn--dark { border-color: var(--line); color: var(--ink); }
.round-btn--dark:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }

.hero-search {
  position: absolute; z-index: 5; left: var(--pad); right: var(--pad); bottom: 36px;
  max-width: var(--max-wide); margin-inline: auto;
  display: grid; grid-template-columns: repeat(3, 1fr) auto; align-items: stretch;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
}
.hero-search .field { position: relative; padding: 16px 26px; border-right: 1px solid rgba(255, 255, 255, .14); }
.hero-search label { display: block; font-size: .62rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 2px; }
.hero-search select { width: 100%; appearance: none; background: transparent; border: 0; color: var(--white); font-size: 1rem; padding: 2px 24px 2px 0; cursor: pointer; outline: none; }
.hero-search select option { color: var(--ink); }
.hero-search .field .icon { position: absolute; right: 22px; bottom: 20px; width: 14px; height: 14px; color: var(--gold-2); pointer-events: none; }
.hero-search .btn { min-height: 100%; border: 0; padding-inline: 2.6em; }

.scroll-cue { position: absolute; z-index: 4; left: 50%; top: calc(100% - 140px - 70px); display: none; }

/* Intro ------------------------------------------------------------------ */
.intro-grid { display: grid; grid-template-columns: 1fr 2.4fr; gap: clamp(32px, 6vw, 110px); }
.statement { font-size: clamp(1.8rem, 3.5vw, 3.3rem); line-height: 1.2; letter-spacing: -.02em; }
.statement .word { display: inline-block; }
.statement em { color: var(--gold-d); }
.intro-aside { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.intro-seal { width: 132px; height: 132px; position: relative; color: var(--gold-d); }
.intro-seal > svg:first-child { width: 100%; height: 100%; }
.intro-seal .seal-text { animation: spin 22s linear infinite; transform-origin: 60px 60px; }
.intro-seal .seal-mark { position: absolute; inset: 0; margin: auto; width: 34px; height: auto; }
@keyframes spin { to { transform: rotate(360deg); } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(60px, 8vw, 120px); border-top: 1px solid var(--line); }
.stat { padding: 34px 28px 0 0; position: relative; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--line); }
.stat-num { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 5.6vw, 5.2rem); line-height: 1; color: var(--ink); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat-num sup { font-size: .4em; color: var(--gold); vertical-align: top; margin-left: 4px; }
.stat-label { display: block; margin-top: 14px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

/* Section heading row */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: clamp(44px, 6vw, 80px); }
.section-head .h2 { max-width: 16ch; }
.section-head p { max-width: 42ch; margin: 0; }

/* Destinations ----------------------------------------------------------- */
.dest-panels { display: flex; gap: 14px; height: clamp(520px, 74vh, 760px); }
.dest-panel {
  position: relative; flex: 1; min-width: 0; overflow: hidden; color: var(--white);
  transition: flex-grow 1.1s var(--ease);
}
.dest-panels:hover .dest-panel { flex-grow: .8; }
.dest-panels .dest-panel:hover { flex-grow: 2.1; }
.dest-panel-media { position: absolute; inset: 0; overflow: hidden; }
.dest-panel-media img { width: 100%; height: 115%; object-fit: cover; transition: transform 1.6s var(--ease), filter 1s; filter: saturate(.9); }
.dest-panel:hover .dest-panel-media img { transform: scale(1.06); filter: saturate(1.05); }
.dest-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26, 25, 45, .1) 30%, rgba(26, 25, 45, .9)); transition: opacity .8s; }
.dest-panel-body { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: clamp(24px, 3vw, 44px); }
.dest-num { font-family: var(--serif); font-size: .95rem; color: var(--gold-2); letter-spacing: .1em; display: block; margin-bottom: 14px; }
.dest-panel h3 { color: var(--white); font-size: clamp(2.4rem, 4.2vw, 4.2rem); letter-spacing: -.03em; }
.dest-panel p {
  max-width: 44ch; color: rgba(255, 255, 255, .78); font-size: .95rem; margin: 18px 0 22px;
  display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .9s var(--ease), opacity .6s, margin .9s var(--ease);
}
.dest-panel p span { overflow: hidden; }
.dest-panel:hover p, .dest-panel:focus-visible p { grid-template-rows: 1fr; opacity: 1; }
.dest-panel .link-arrow { color: var(--gold-2); }
.dest-panel-top { position: absolute; z-index: 1; top: 26px; right: 26px; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); display: grid; place-items: center; transition: transform .7s var(--ease), background-color .4s, color .4s; }
.dest-panel:hover .dest-panel-top { transform: rotate(-45deg); background: var(--gold); border-color: var(--gold); color: var(--ink); }

/* Featured (horizontal) -------------------------------------------------- */
.featured { overflow: hidden; }
.featured .section-head { margin-bottom: clamp(36px, 4vw, 56px); }
.hscroll { position: relative; }
.hscroll-track { display: flex; gap: clamp(18px, 2vw, 32px); padding-inline: var(--pad); width: max-content; will-change: transform; }
.hscroll-track .prop-card { width: clamp(300px, min(30vw, 56vh), 470px); flex: none; }
.hscroll-track .prop-card-media img { width: 114%; max-width: none; margin-left: -7%; }
.hscroll-end {
  flex: none; width: clamp(280px, 26vw, 400px); display: grid; place-items: center; text-align: center; align-content: center; gap: 22px;
  border: 1px solid var(--line); padding: 40px; aspect-ratio: 4 / 5; align-self: start;
}
.hscroll-end .h3 { max-width: 12ch; }
.hscroll-bar { margin: clamp(36px, 4vw, 56px) var(--pad) 0; height: 1px; background: var(--line); position: relative; max-width: var(--max-wide); }
.hscroll-bar i { position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; }

/* Property card ---------------------------------------------------------- */
.prop-card { position: relative; display: flex; flex-direction: column; }
.prop-card-media { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--sand-2); }
.prop-card-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.001); transition: transform 1.4s var(--ease), opacity .6s; }
.prop-card-media img.is-loading { opacity: 0; }
.prop-card:hover .prop-card-media img { transform: scale(1.07); }
.prop-card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26, 25, 45, .35), transparent 35%); pointer-events: none; }
.flags { position: absolute; z-index: 2; left: 16px; top: 16px; display: flex; gap: 6px; }
.flag {
  font-size: .62rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  background: var(--white); color: var(--ink); padding: 7px 12px;
}
.flag--reduced { background: var(--gold); }
.flag--featured { background: var(--ink); color: var(--gold-2); }
.fav {
  position: absolute; z-index: 3; right: 14px; top: 14px; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; color: var(--white); background: rgba(26, 25, 45, .25);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background-color .3s, color .3s, transform .4s var(--ease);
}
.fav:hover { background: var(--white); color: var(--ink); }
.fav .icon { width: 18px; height: 18px; }
.fav.is-active { background: var(--white); color: #c0514a; }
.fav.is-active .icon { fill: currentColor; }
.fav.pop { animation: pop .5s var(--ease); }
@keyframes pop { 40% { transform: scale(1.25); } }
.prop-card-body { padding: 24px 0 0; display: flex; flex-direction: column; flex: 1; }
.prop-card-loc { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: .68rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-d); }
.prop-card-loc .icon { width: 14px; height: 14px; }
.prop-card-title { font-size: clamp(1.4rem, 1.7vw, 1.7rem); line-height: 1.18; letter-spacing: -.015em; margin-bottom: 18px; }
.prop-card-title a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .7s var(--ease); }
.prop-card:hover .prop-card-title a { background-size: 100% 1px; }
.specs { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .86rem; color: var(--muted); }
.specs li { display: inline-flex; align-items: center; gap: 8px; }
.specs .icon { color: var(--gold-d); width: 18px; height: 18px; }
.specs sup { font-size: .6em; }
.specs { margin-bottom: 22px; }
.prop-card-foot { margin-top: auto; padding-top: 20px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); }
.price { font-family: var(--serif); font-size: 1.45rem; color: var(--ink); letter-spacing: -.01em; }
.pid { font-size: .66rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--stone); }
.section--dark .prop-card-title, .section--dark .price { color: var(--white); }

/* Story ------------------------------------------------------------------ */
.story-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 130px); align-items: center; }
.story-media { position: relative; }
.media-frame { position: relative; overflow: hidden; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.story-media .media-frame { aspect-ratio: 4 / 5; }
.story-media .media-frame img { height: 118%; margin-top: -9%; }
.story-badge {
  position: absolute; right: -40px; bottom: 50px; z-index: 2; background: var(--gold); color: var(--ink);
  width: 168px; height: 168px; border-radius: 50%; display: grid; place-items: center; text-align: center; align-content: center;
}
.story-badge b { font-family: var(--serif); font-weight: 300; font-size: 3rem; line-height: 1; display: block; }
.story-badge span { font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 700; }
.story-text .h2 { margin-bottom: 34px; }
.story-text p { color: var(--muted); font-size: 1.05rem; max-width: 48ch; }
.story-points { margin: 38px 0 44px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.story-points li { display: grid; grid-template-columns: 54px 1fr; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.story-points span { font-family: var(--serif); color: var(--gold-d); }
.story-points strong { font-weight: 500; color: var(--ink); }

/* Islands list ----------------------------------------------------------- */
.islands-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(40px, 6vw, 110px); align-items: start; }
.islands-intro { position: sticky; top: 140px; }
.island-list { border-top: 1px solid var(--line-light); }
.island-list a {
  position: relative; display: grid; grid-template-columns: 60px 1fr auto; align-items: center; gap: 14px;
  padding: clamp(18px, 2.2vw, 28px) 0; border-bottom: 1px solid var(--line-light);
  color: var(--white); overflow: hidden;
}
.island-list a::before { content: ""; position: absolute; inset: 0; background: var(--gold); transform: scaleY(0); transform-origin: bottom; transition: transform .7s var(--ease); z-index: 0; }
.island-list a > * { position: relative; z-index: 1; }
.island-idx { font-family: var(--serif); font-size: .9rem; color: var(--gold); transition: color .4s; padding-left: 4px; }
.island-name { font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 4.4vw, 4rem); line-height: 1; letter-spacing: -.03em; transition: transform .7s var(--ease), color .4s; }
.island-thumb { display: none; }
.island-go { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-light); display: grid; place-items: center; transition: transform .7s var(--ease), border-color .4s, color .4s; margin-right: 4px; }
@media (hover: hover) {
  .island-list a:hover::before { transform: scaleY(1); }
  .island-list a:hover .island-name { transform: translateX(22px); color: var(--ink); font-style: italic; }
  .island-list a:hover .island-idx, .island-list a:hover .island-go { color: var(--ink); border-color: rgba(26, 25, 45, .4); }
  .island-list a:hover .island-go { transform: rotate(-45deg); }
}
.island-preview {
  position: fixed; left: 0; top: 0; z-index: 50; width: 320px; aspect-ratio: 4 / 5; overflow: hidden; pointer-events: none;
  opacity: 0; transform: scale(.6); border-radius: 2px;
}
.island-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s; }
.island-preview img.is-active { opacity: 1; }

/* Ideal home CTA --------------------------------------------------------- */
.cta-band { position: relative; min-height: 88vh; display: grid; align-items: center; color: var(--white); overflow: hidden; background: var(--ink); }
.cta-band-media { position: absolute; inset: -12% 0; }
.cta-band-media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(26, 25, 45, .88) 0%, rgba(26, 25, 45, .55) 50%, rgba(26, 25, 45, .15) 100%); }
.cta-band .container { position: relative; z-index: 1; }
.cta-band .h2 { color: var(--white); max-width: 14ch; margin-bottom: 30px; }
.cta-band p { max-width: 52ch; color: rgba(255, 255, 255, .78); font-size: 1.05rem; margin-bottom: 42px; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* Trust marquee ---------------------------------------------------------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.trust-row { display: grid; grid-template-columns: 170px 1fr; align-items: center; }
.trust-row + .trust-row { border-top: 1px solid var(--line); }
.trust-label { font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; font-weight: 700; color: var(--gold-d); padding: 34px var(--pad); padding-right: 0; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee--reverse .marquee-track { animation-direction: reverse; animation-duration: 30s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: clamp(50px, 6vw, 100px); padding-right: clamp(50px, 6vw, 100px); }
.marquee img { height: 54px; width: auto; max-width: 170px; object-fit: contain; mix-blend-mode: multiply; opacity: .75; filter: grayscale(1); transition: opacity .3s, filter .3s; }
.marquee img:hover { opacity: 1; filter: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* SEO text --------------------------------------------------------------- */
.about-seo .container { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(32px, 6vw, 100px); }
.about-seo h2 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); }
.seo-text { color: var(--muted); columns: 2 320px; column-gap: 48px; font-size: .95rem; }
.seo-clip { position: relative; max-height: 15em; overflow: hidden; transition: max-height 1s var(--ease); }
.seo-clip::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6em; background: linear-gradient(transparent, var(--sand)); transition: opacity .6s; }
.seo-clip.is-open { max-height: 80em; }
.seo-clip.is-open::after { opacity: 0; }
.seo-more { margin-top: 24px; }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .62); position: relative; overflow: hidden; }
.footer-cta { padding-block: clamp(90px, 12vw, 180px) clamp(60px, 7vw, 110px); display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px; border-bottom: 1px solid var(--line-light); }
.footer-cta h2 { color: var(--white); font-size: clamp(2.8rem, 7vw, 7rem); line-height: .98; letter-spacing: -.035em; }
.footer-cta h2 em { color: var(--gold); }
.magnetic-circle {
  width: clamp(150px, 14vw, 200px); aspect-ratio: 1; border-radius: 50%; background: var(--gold); color: var(--ink);
  display: grid; place-items: center; text-align: center; font-size: .72rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase;
  transition: background-color .4s;
}
.magnetic-circle:hover { background: var(--white); }
.magnetic-circle span { display: grid; gap: 10px; justify-items: center; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 48px; padding-block: 72px; }
.footer-brand img { height: 64px; width: auto; filter: brightness(0) invert(1); opacity: .92; margin-bottom: 26px; }
.footer-brand p { max-width: 34ch; font-size: .92rem; }
.footer-col h3 { font-family: var(--sans); font-size: .68rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
.footer-col li + li { margin-top: 10px; }
.footer-col a { transition: color .3s; }
.footer-col a:hover { color: var(--white); }
.footer-phones li { display: flex; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line-light); padding-bottom: 10px; }
.footer-phones span { color: var(--white); }
.socials { display: flex; gap: 10px; margin-top: 26px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-light); display: grid; place-items: center; transition: background-color .3s, color .3s, border-color .3s; }
.socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.socials .icon { width: 18px; height: 18px; }
.newsletter { display: flex; border-bottom: 1px solid rgba(255, 255, 255, .3); margin-top: 6px; transition: border-color .3s; }
.newsletter:focus-within { border-color: var(--gold); }
.newsletter input { flex: 1; min-width: 0; background: transparent; border: 0; padding: 14px 0; color: var(--white); outline: none; }
.newsletter input::placeholder { color: rgba(255, 255, 255, .4); }
.newsletter button { color: var(--gold); padding: 0 4px; }
.newsletter-msg { font-size: .8rem; color: var(--gold-2); margin-top: 10px; min-height: 1.4em; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-block: 28px; border-top: 1px solid var(--line-light); font-size: .74rem; letter-spacing: .08em; }
.footer-bottom nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--white); }
.footer-giant {
  font-family: var(--serif); font-weight: 300; font-size: 17.5vw; line-height: .78; letter-spacing: -.05em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(189, 160, 116, .22); text-align: center; user-select: none; margin-bottom: -2.4vw;
}
.to-top { display: inline-flex; align-items: center; gap: 10px; }
.to-top .icon { transform: rotate(-90deg); }

/* Page hero (listing) ---------------------------------------------------- */
.page-hero { position: relative; min-height: 78svh; display: flex; align-items: flex-end; background: var(--ink); color: var(--white); overflow: hidden; }
.page-hero-media { position: absolute; inset: 0; overflow: hidden; }
.page-hero-media img { width: 100%; height: 120%; object-fit: cover; margin-top: -6%; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(26, 25, 45, .92) 0%, rgba(26, 25, 45, .35) 55%, rgba(26, 25, 45, .55) 100%), linear-gradient(90deg, rgba(26, 25, 45, .55) 0%, rgba(26, 25, 45, 0) 65%); }
.page-hero-content { position: relative; z-index: 1; padding-top: calc(var(--header-h) + 60px); padding-bottom: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; }
.page-hero h1 { color: var(--white); }
.page-hero .lead { color: rgba(255, 255, 255, .75); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .6); margin-bottom: 30px; }
.crumbs a:hover { color: var(--white); }
.crumbs .icon { width: 12px; height: 12px; color: var(--gold); }
.crumbs [aria-current] { color: var(--gold-2); }
.hero-facts { display: flex; gap: 0; border-top: 1px solid var(--line-light); margin-top: 26px; }
.hero-facts div { padding: 20px 26px 0 0; }
.hero-facts div + div { padding-left: 26px; border-left: 1px solid var(--line-light); }
.hero-facts b { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(1.8rem, 2.6vw, 2.5rem); color: var(--white); line-height: 1; }
.hero-facts span { font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-2); }

/* Filters ---------------------------------------------------------------- */
.filters { position: sticky; top: 0; z-index: 800; background: var(--white); border-bottom: 1px solid var(--line); transition: top .7s var(--ease), box-shadow .4s; }
.filters.is-stuck { box-shadow: 0 20px 40px -30px rgba(26, 25, 45, .35); }
.header-visible .filters { top: 78px; }
.filters-inner { display: flex; align-items: stretch; min-height: 78px; }
.filters-form { display: flex; align-items: stretch; flex: 1; min-width: 0; }
.f-field { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 12px 24px; border-right: 1px solid var(--line); min-width: 0; }
.f-search { padding-left: 0; }
.f-field label, .f-label { font-size: .6rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-d); font-weight: 700; margin-bottom: 3px; }
.f-field select, .f-field input { appearance: none; border: 0; background: transparent; padding: 2px 22px 2px 0; font-size: .95rem; color: var(--ink); outline: none; cursor: pointer; min-width: 0; }
.f-field select option { color: var(--ink); }
.f-field > .icon { position: absolute; right: 20px; bottom: 18px; width: 13px; height: 13px; pointer-events: none; color: var(--muted); }
.f-search { flex: 1.6; }
.f-search input { cursor: text; padding-right: 0; }
.f-search input::placeholder { color: var(--stone); }
.f-price { flex-direction: row; align-items: center; gap: 0; }
.f-price > div { position: relative; display: flex; flex-direction: column; }
.f-price > div + div { margin-left: 18px; }
.f-price .icon { position: absolute; right: 2px; bottom: 6px; width: 12px; height: 12px; color: var(--muted); pointer-events: none; }
.seg { display: flex; gap: 4px; }
.seg button { min-width: 38px; height: 30px; padding: 0 10px; border: 1px solid var(--line); font-size: .8rem; font-weight: 600; border-radius: 30px; transition: background-color .3s, color .3s, border-color .3s; }
.seg button:hover { border-color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.filters-mobile-toggle { display: none; }
.filters-drawer-head, .filters-drawer-foot { display: none; }

.listing-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 30px; margin-bottom: clamp(36px, 4vw, 56px); }
.results-count { font-family: var(--serif); font-size: clamp(1.4rem, 2vw, 1.9rem); color: var(--ink); margin: 0; line-height: 1.2; }
.results-count b { font-weight: 400; color: var(--gold-d); font-variant-numeric: tabular-nums; }
.listing-tools { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border: 1px solid var(--line); border-radius: 40px; font-size: .78rem; font-weight: 600; background: var(--white); transition: border-color .3s, background-color .3s, color .3s; }
.chip:hover { border-color: var(--ink); }
.chip .icon { width: 14px; height: 14px; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.chip-count { min-width: 20px; height: 20px; border-radius: 20px; background: var(--gold); color: var(--ink); display: inline-grid; place-items: center; font-size: .66rem; padding: 0 6px; }
.sort { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 14px 0 16px; border: 1px solid var(--line); border-radius: 40px; background: var(--white); font-size: .78rem; font-weight: 600; }
.sort select { appearance: none; border: 0; background: transparent; padding-right: 18px; font-weight: 600; cursor: pointer; outline: none; }
.sort .icon { position: absolute; right: 14px; width: 12px; height: 12px; pointer-events: none; }
.view-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 40px; padding: 3px; background: var(--white); }
.view-toggle button { width: 38px; height: 30px; border-radius: 30px; display: grid; place-items: center; color: var(--muted); transition: background-color .3s, color .3s; }
.view-toggle button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.view-toggle .icon { width: 16px; height: 16px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; }
.active-filters:empty { display: none; }
.active-filters .chip { height: 32px; background: var(--sand-2); border-color: transparent; }
.active-filters .chip:hover { background: var(--ink); color: var(--white); }
.clear-link { font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-d); border-bottom: 1px solid currentColor; padding-bottom: 2px; }

.prop-grid { --cols: 3; display: grid; grid-template-columns: repeat(var(--cols), 1fr); gap: clamp(48px, 5vw, 80px) clamp(22px, 2.4vw, 40px); }
.prop-card-excerpt { display: none; color: var(--muted); font-size: .95rem; max-width: 60ch; margin: -4px 0 18px; }

/* Featured card spanning two columns (set by listing.js): the photo fills the
   row height defined by its neighbour, the copy sits on a bottom gradient. */
.prop-grid .prop-card.is-wide { grid-column: span 2; isolation: isolate; overflow: hidden; min-height: 440px; }
.prop-card.is-wide .prop-card-media { position: absolute; inset: 0; aspect-ratio: auto; }
.prop-card.is-wide .prop-card-media::after { background: linear-gradient(180deg, rgba(26, 25, 45, .4) 0%, rgba(26, 25, 45, 0) 20%, rgba(26, 25, 45, .12) 32%, rgba(26, 25, 45, .62) 58%, rgba(26, 25, 45, .92) 100%); }
.prop-card.is-wide .prop-card-title, .prop-card.is-wide .prop-card-excerpt { text-shadow: 0 1px 24px rgba(26, 25, 45, .35); }
.prop-card.is-wide .prop-card-body { position: relative; z-index: 1; flex: none; margin-top: auto; padding: 0 clamp(28px, 3vw, 44px) clamp(26px, 2.6vw, 38px); color: var(--white); pointer-events: none; }
.prop-card.is-wide .prop-card-body a { pointer-events: auto; }
.prop-card.is-wide .prop-card-loc { color: rgba(255, 255, 255, .9); }
.prop-card.is-wide .prop-card-loc .icon { color: var(--gold-2); }
.prop-card.is-wide .prop-card-title { color: var(--white); font-size: clamp(1.9rem, 2.5vw, 2.6rem); max-width: 20ch; margin-bottom: 12px; }
.prop-card.is-wide .prop-card-excerpt { display: block; color: rgba(255, 255, 255, .78); max-width: 52ch; margin: 0 0 20px; }
.prop-card.is-wide .specs { color: rgba(255, 255, 255, .85); margin-bottom: 0; }
.prop-card.is-wide .specs .icon { color: var(--gold-2); }
.prop-card.is-wide .prop-card-foot { margin-top: 22px; border-top-color: rgba(255, 255, 255, .22); }
.prop-card.is-wide .price { color: var(--white); font-size: 1.7rem; }
.prop-card.is-wide .pid { color: rgba(255, 255, 255, .6); }

.prop-grid.is-list { --list-media: clamp(260px, 36%, 420px); grid-template-columns: 1fr; gap: 0; }
.prop-grid.is-list .prop-card { --pad-top: 32px; display: grid; grid-template-columns: var(--list-media) 1fr; gap: 40px; padding: var(--pad-top) 0 32px; border-bottom: 1px solid var(--line); }
.prop-grid.is-list .prop-card:first-child { --pad-top: 0px; }
.prop-grid.is-list .prop-card-media { aspect-ratio: 4 / 3; height: auto; }
.prop-grid.is-list .prop-card-body { padding-top: 0; justify-content: center; }
.prop-grid.is-list .prop-card-title { font-size: clamp(1.6rem, 2.2vw, 2.2rem); }
.prop-grid.is-list .fav { top: calc(var(--pad-top) + 14px); right: auto; left: calc(var(--list-media) - 56px); }
.prop-grid.is-list .prop-card-foot { max-width: 520px; }
.prop-grid.is-list .prop-card-excerpt { display: block; }

.empty-state { text-align: center; padding: 80px 20px; border: 1px dashed var(--line); }
.empty-state .h3 { margin-bottom: 14px; }
.empty-state p { color: var(--muted); margin-bottom: 28px; }

.pager { display: flex; justify-content: center; align-items: center; gap: 22px; margin-top: clamp(60px, 7vw, 100px); }
.pager-info { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.pager-bar { width: 180px; height: 1px; background: var(--line); position: relative; }
.pager-bar i { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transition: transform .8s var(--ease); }

/* Property detail -------------------------------------------------------- */
.prop-hero { position: relative; height: 100svh; min-height: 700px; background: var(--ink); color: var(--white); overflow: hidden; }
.prop-hero-media { position: absolute; inset: 0; overflow: hidden; }
.prop-hero-media img { width: 100%; height: 112%; object-fit: cover; }
.prop-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(26, 25, 45, .5) 0%, transparent 25%), linear-gradient(0deg, rgba(26, 25, 45, .92) 0%, rgba(26, 25, 45, .35) 45%, transparent 70%); }
.prop-hero-content { position: absolute; inset: auto 0 0; z-index: 2; padding-bottom: 40px; }
.prop-hero .flag { position: static; display: inline-block; margin-right: 14px; vertical-align: middle; }
.prop-hero-top { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.prop-hero-top .eyebrow { margin: 0; }
.prop-hero h1 { color: var(--white); font-size: clamp(2.8rem, 7vw, 7rem); max-width: 14ch; margin-bottom: clamp(34px, 4vw, 54px); }
.prop-hero h1 em { color: var(--gold-2); }
.prop-hero-bar { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr) auto; align-items: end; border-top: 1px solid var(--line-light); }
.prop-hero-bar > div { padding: 22px 24px 0 0; }
.prop-hero-bar > div + div { padding-left: 24px; border-left: 1px solid var(--line-light); }
.prop-hero-bar small { display: block; font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 6px; }
.prop-hero-bar b { font-family: var(--serif); font-weight: 300; font-size: clamp(1.4rem, 2.2vw, 2.2rem); line-height: 1; color: var(--white); }
.prop-hero-bar b sup { font-size: .5em; }
.prop-hero-bar .price-big b { font-size: clamp(1.8rem, 3vw, 3rem); color: var(--gold-2); }
.prop-hero-bar .btn { margin-left: 24px; }
.prop-hero-thumbs { position: absolute; z-index: 3; right: var(--pad); top: calc(var(--header-h) + 30px); display: grid; gap: 10px; }
.prop-hero-thumbs button { width: 92px; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid rgba(255, 255, 255, .3); opacity: .8; transition: opacity .3s, transform .5s var(--ease), border-color .3s; }
.prop-hero-thumbs button:hover { opacity: 1; transform: translateX(-6px); border-color: var(--gold); }
.prop-hero-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.prop-hero-thumbs .more { display: grid; place-items: center; background: rgba(26, 25, 45, .6); font-size: .7rem; font-weight: 700; letter-spacing: .14em; aspect-ratio: 4 / 3; width: 92px; backdrop-filter: blur(6px); }

.subnav { position: sticky; top: 0; z-index: 800; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: top .7s var(--ease); }
.header-visible .subnav { top: 78px; }
.subnav-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; height: 70px; }
.subnav ul { display: flex; gap: clamp(18px, 2.4vw, 40px); overflow-x: auto; scrollbar-width: none; height: 100%; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { position: relative; display: flex; align-items: center; height: 100%; font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); white-space: nowrap; transition: color .3s; }
.subnav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .5s var(--ease); }
.subnav a:hover, .subnav a.is-active { color: var(--ink); }
.subnav a.is-active::after { transform: scaleX(1); }
.subnav-cta { display: flex; align-items: center; gap: 22px; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .5s var(--ease); pointer-events: none; }
.subnav.is-stuck .subnav-cta { opacity: 1; transform: none; pointer-events: auto; }
.subnav-cta .price { font-size: 1.3rem; }

.prop-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(40px, 6vw, 110px); align-items: start; }
.prop-block + .prop-block { margin-top: clamp(80px, 9vw, 130px); padding-top: clamp(80px, 9vw, 130px); border-top: 1px solid var(--line); }
.prop-block .h2 { margin-bottom: 34px; max-width: 18ch; }
.prop-desc { font-size: 1.12rem; line-height: 1.85; color: var(--text); max-width: 62ch; }
.prop-desc::first-letter { font-family: var(--serif); float: left; font-size: 5.2em; line-height: .8; padding: 8px 14px 0 0; color: var(--gold-d); }

.distances { margin-top: 50px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.distances::before { content: ""; position: absolute; left: 0; right: 0; top: 20px; height: 1px; background: var(--line); }
.distances .line-fill { position: absolute; left: 0; right: 0; top: 20px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.distances .dist { position: relative; padding-right: 16px; }
.distances .dot { width: 41px; height: 41px; border-radius: 50%; background: var(--sand); border: 1px solid var(--gold); display: grid; place-items: center; color: var(--gold-d); margin-bottom: 18px; position: relative; }
.distances .dot .icon { width: 18px; height: 18px; }
.distances b { display: block; font-family: var(--serif); font-weight: 300; font-size: 2rem; color: var(--ink); line-height: 1; }
.distances span { display: block; font-size: .82rem; color: var(--muted); margin-top: 8px; line-height: 1.4; }

.details-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.detail { padding: 28px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 14px; align-content: start; position: relative; overflow: hidden; background: transparent; transition: background-color .5s; }
.detail:hover { background: var(--white); }
.detail .icon { width: 28px; height: 28px; color: var(--gold-d); stroke-width: 1.2; }
.detail small { font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.detail b { font-family: var(--serif); font-weight: 300; font-size: clamp(1.6rem, 2.2vw, 2.1rem); line-height: 1; color: var(--ink); }
.detail b sup { font-size: .5em; }

.energy { margin-top: 34px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.energy-label { font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.energy-scale { display: flex; gap: 3px; }
.energy-scale span { width: 34px; height: 30px; display: grid; place-items: center; font-size: .72rem; font-weight: 700; color: var(--white); opacity: .35; transition: opacity .4s, transform .4s var(--ease); clip-path: polygon(0 0, 82% 0, 100% 50%, 82% 100%, 0 100%); }
.energy-scale span.is-on { opacity: 1; transform: scale(1.18); }

.amenities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 30px; }
.amenity { display: flex; align-items: center; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: .98rem; color: var(--ink); }
.amenity .ico { width: 48px; height: 48px; border-radius: 50%; background: var(--white); display: grid; place-items: center; color: var(--gold-d); flex: none; transition: background-color .4s, color .4s, transform .6s var(--ease); }
.amenity:hover .ico { background: var(--gold); color: var(--ink); transform: rotate(-10deg) scale(1.05); }
.amenity .icon { width: 22px; height: 22px; stroke-width: 1.3; }

.prop-aside { position: sticky; top: 170px; }
.aside-card { background: var(--white); padding: 34px; box-shadow: 0 40px 80px -50px rgba(26, 25, 45, .4); }
.aside-price small { display: block; font-size: .64rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-d); font-weight: 700; margin-bottom: 8px; }
.aside-price b { font-family: var(--serif); font-weight: 300; font-size: 2.8rem; line-height: 1; color: var(--ink); letter-spacing: -.02em; }
.aside-meta { display: flex; justify-content: space-between; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 18px 0 26px; padding-bottom: 22px; border-bottom: 1px solid var(--line); font-weight: 600; }
.agent { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.agent-avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--ink); color: var(--gold); display: grid; place-items: center; font-family: var(--serif); font-size: 1.6rem; flex: none; position: relative; }
.agent-avatar::after { content: ""; position: absolute; right: 2px; bottom: 2px; width: 12px; height: 12px; border-radius: 50%; background: #5bb58b; border: 2px solid var(--white); }
.agent small { display: block; font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-d); font-weight: 700; }
.agent strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.2rem; color: var(--ink); line-height: 1.2; margin-top: 4px; }
.agent a { font-size: .88rem; color: var(--muted); }
.agent a:hover { color: var(--ink); }
.aside-actions { display: grid; gap: 10px; }
.aside-links { display: flex; justify-content: space-between; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.aside-links button, .aside-links a { display: inline-flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); transition: color .3s; }
.aside-links button:hover, .aside-links a:hover { color: var(--ink); }
.aside-links .icon { width: 16px; height: 16px; }
.aside-links .is-active { color: #c0514a; }
.aside-links .is-active .icon { fill: currentColor; }
.aside-note { font-size: .8rem; color: var(--muted); margin: 18px 4px 0; display: flex; gap: 10px; }
.aside-note .icon { color: var(--gold-d); margin-top: 3px; }

/* Gallery mosaic */
.gallery-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 44px; }
.mosaic { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(120px, 11vw, 190px); gap: 12px; }
.mosaic button { position: relative; overflow: hidden; grid-column: span 4; grid-row: span 2; background: var(--sand-2); }
.mosaic button:nth-child(10n + 1) { grid-column: span 8; grid-row: span 4; }
.mosaic button:nth-child(10n + 2), .mosaic button:nth-child(10n + 3) { grid-column: span 4; grid-row: span 2; }
.mosaic button:nth-child(10n + 4), .mosaic button:nth-child(10n + 5), .mosaic button:nth-child(10n + 6) { grid-column: span 4; grid-row: span 2; }
.mosaic button:nth-child(10n + 7) { grid-column: span 6; grid-row: span 3; }
.mosaic button:nth-child(10n + 8) { grid-column: span 6; grid-row: span 3; }
.mosaic button:nth-child(10n + 9), .mosaic button:nth-child(10n + 10) { grid-column: span 6; grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter .6s; }
.mosaic button:hover img { transform: scale(1.06); }
.mosaic button::after { content: attr(data-index); position: absolute; left: 14px; bottom: 12px; font-family: var(--serif); font-size: .9rem; color: var(--white); opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .5s var(--ease); text-shadow: 0 1px 10px rgba(0, 0, 0, .4); }
.mosaic button:hover::after { opacity: 1; transform: none; }

/* Location */
.location-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.map { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--sand-2); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) sepia(.25) contrast(.95) brightness(1.02); }
.map-pin { position: absolute; left: 50%; top: 50%; width: 160px; height: 160px; margin: -80px 0 0 -80px; border-radius: 50%; background: rgba(189, 160, 116, .22); border: 1px solid var(--gold); pointer-events: none; }
.map-pin::before, .map-pin::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--gold); animation: ripple 3s var(--ease) infinite; }
.map-pin::after { animation-delay: 1.5s; }
.map-pin i { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 4px var(--gold); }
@keyframes ripple { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.map-label { position: absolute; left: 20px; bottom: 20px; background: var(--white); padding: 12px 18px; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); display: flex; align-items: center; gap: 10px; }
.map-label .icon { color: var(--gold-d); }
.location-list { margin-top: 30px; border-top: 1px solid var(--line); }
.location-list li { display: flex; justify-content: space-between; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.location-list b { font-family: var(--serif); font-weight: 400; color: var(--ink); font-size: 1.15rem; }

/* Enquiry */
.enquire-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(40px, 6vw, 110px); }
.enquire-info .h2 { margin-bottom: 26px; }
.enquire-info .lead { margin-bottom: 40px; }
.offices { display: grid; gap: 0; border-top: 1px solid var(--line-light); }
.offices a { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line-light); transition: padding .5s var(--ease), color .3s; }
.offices a:hover { padding-inline: 10px; color: var(--white); }
.offices span { font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 28px; }
.form .full { grid-column: 1 / -1; }
.reason { display: flex; gap: 0; border: 1px solid var(--line-light); padding: 4px; border-radius: 60px; width: max-content; max-width: 100%; position: relative; }
.reason label { position: relative; z-index: 1; cursor: pointer; }
.reason input { position: absolute; opacity: 0; pointer-events: none; }
.reason span { display: block; padding: 12px 24px; font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; border-radius: 60px; transition: color .4s; color: rgba(255, 255, 255, .7); }
.reason input:checked + span { color: var(--ink); }
.reason input:focus-visible + span { outline: 2px solid var(--gold); }
.reason-pill { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; border-radius: 60px; background: var(--gold); transition: transform .6s var(--ease), width .6s var(--ease); }
.input { position: relative; }
.input input, .input textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .25);
  padding: 26px 0 12px; color: var(--white); font-size: 1rem; outline: none; border-radius: 0; resize: vertical;
}
.input textarea { min-height: 120px; }
.input label { position: absolute; left: 0; top: 26px; color: rgba(255, 255, 255, .5); font-size: 1rem; pointer-events: none; transition: transform .45s var(--ease), color .3s, font-size .45s var(--ease); transform-origin: left; }
.input input:focus + label, .input input:not(:placeholder-shown) + label,
.input textarea:focus + label, .input textarea:not(:placeholder-shown) + label { transform: translateY(-24px) scale(.72); color: var(--gold); letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
.input::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.input:focus-within::after { transform: scaleX(1); }
.input.has-error input, .input.has-error textarea { border-color: #e0806f; }
.input .err { position: absolute; right: 0; top: 30px; font-size: .72rem; color: #e0806f; opacity: 0; transition: opacity .3s; }
.input.has-error .err { opacity: 1; }
.input input[type="date"] { color-scheme: dark; }
.input--static label { transform: translateY(-24px) scale(.72); color: var(--gold); letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
.map iframe { pointer-events: none; }
.map.is-active iframe { pointer-events: auto; }
.map:not(.is-active) { cursor: pointer; }
.visit-only { display: none; }
.form.is-visit .visit-only { display: block; }
.check { display: flex; gap: 14px; align-items: flex-start; font-size: .86rem; color: rgba(255, 255, 255, .6); cursor: pointer; }
.check input { appearance: none; flex: none; width: 20px; height: 20px; border: 1px solid rgba(255, 255, 255, .4); margin-top: 2px; display: grid; place-items: center; cursor: pointer; transition: background-color .3s, border-color .3s; }
.check input:checked { background: var(--gold); border-color: var(--gold); }
.check input:checked::after { content: ""; width: 10px; height: 5px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg) translate(1px, -1px); }
.check.has-error input { border-color: #e0806f; }
.check a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }
.form-success { display: none; text-align: left; }
.form-success.is-on { display: block; }
.form-success .h3 { color: var(--white); margin: 20px 0 14px; }
.success-mark { width: 74px; height: 74px; border-radius: 50%; border: 1px solid var(--gold); display: grid; place-items: center; color: var(--gold); }
.success-mark .icon { width: 30px; height: 30px; stroke-width: 1.6; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 9990; background: rgba(18, 17, 32, .97); color: var(--white); display: grid; grid-template-rows: auto 1fr auto; visibility: hidden; opacity: 0; transition: opacity .5s, visibility 0s .5s; }
.lightbox.is-open { visibility: visible; opacity: 1; transition: opacity .5s; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 22px var(--pad); }
.lb-count { font-family: var(--serif); font-size: 1.1rem; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.lb-count b { font-weight: 400; color: var(--gold); }
.lb-title { font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.lb-stage { position: relative; overflow: hidden; display: grid; place-items: center; padding: 0 clamp(16px, 7vw, 120px); touch-action: pan-y; }
.lb-stage img { max-width: 100%; max-height: calc(100svh - 230px); width: auto; height: auto; object-fit: contain; user-select: none; -webkit-user-drag: none; box-shadow: 0 40px 100px -40px #000; }
.lb-prev, .lb-next { position: absolute; top: 50%; margin-top: -28px; width: 56px; height: 56px; z-index: 2; }
.lb-prev { left: clamp(10px, 2vw, 40px); }
.lb-next { right: clamp(10px, 2vw, 40px); }
.lb-thumbs { display: flex; gap: 8px; padding: 18px var(--pad) 24px; overflow-x: auto; scrollbar-width: none; justify-content: safe center; }
.lb-thumbs::-webkit-scrollbar { display: none; }
.lb-thumbs button { flex: none; width: 84px; aspect-ratio: 4 / 3; overflow: hidden; opacity: .4; transition: opacity .3s, outline-color .3s; outline: 1px solid transparent; outline-offset: 2px; }
.lb-thumbs button.is-active { opacity: 1; outline-color: var(--gold); }
.lb-thumbs button:hover { opacity: .85; }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.lb-close .icon { width: 20px; height: 20px; }

/* Mobile action bar */
.mobile-bar { display: none; }

/* Similar */
.similar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 2.4vw, 40px); }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 9995; transform: translate(-50%, calc(100% + 40px)); visibility: hidden; background: var(--ink); color: var(--white); padding: 14px 22px; font-size: .86rem; display: flex; gap: 12px; align-items: center; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .5); transition: transform .6s var(--ease), visibility 0s .6s; }
.toast.is-on { transform: translate(-50%, 0); visibility: visible; transition: transform .6s var(--ease); }
.has-mobile-bar .toast { bottom: 96px; }
.toast .icon { color: var(--gold); }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1280px) {
  .header-phone { display: none; }
  .prop-layout { grid-template-columns: minmax(0, 1fr) 360px; }
  .details-grid { grid-template-columns: repeat(2, 1fr); }
  .amenities { grid-template-columns: repeat(2, 1fr); }
  .prop-hero-bar { grid-template-columns: 1.3fr repeat(4, 1fr); }
  .prop-hero-bar .btn { display: none; }
  .f-search { flex: 1; }
}

@media (max-width: 1080px) {
  :root { --header-h: 80px; }
  .main-nav, .header-actions .lang, .header-actions .btn { display: none; }
  .burger { display: block; }
  .brand img { height: 48px; }
  .hero-aside { display: none; }
  .hero-search { grid-template-columns: 1fr 1fr 1fr; }
  .hero-search .btn { grid-column: 1 / -1; min-height: 56px; }
  .hero-search .field:nth-child(3) { border-right: 0; }
  .hero-content { padding-bottom: 260px; }
  .intro-grid { grid-template-columns: 1fr; }
  .intro-aside { flex-direction: row; align-items: center; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); margin-top: 34px; }
  .story-grid, .islands-wrap, .location-grid, .enquire-grid, .about-seo .container { grid-template-columns: 1fr; }
  .story-badge { right: 20px; }
  .islands-intro { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .page-hero-content { grid-template-columns: 1fr; }
  .prop-grid { --cols: 2; }
  .prop-grid .prop-card.is-wide { aspect-ratio: 16 / 9; justify-self: stretch; min-height: auto; }
  .prop-layout { grid-template-columns: 1fr; }
  .prop-aside { position: static; }
  .prop-hero-thumbs { display: none; }
  .similar-grid { grid-template-columns: repeat(2, 1fr); }
  .similar-grid .prop-card:nth-child(3) { display: none; }

  /* filters become a drawer */
  .filters-mobile-toggle { display: inline-flex; align-items: center; gap: 10px; font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; height: 64px; }
  .filters-inner { min-height: 64px; justify-content: space-between; align-items: center; gap: 16px; }
  .filters-quick { flex: 1; display: flex; align-items: center; border-left: 1px solid var(--line); padding-left: 16px; min-width: 0; }
  .filters-quick input { border: 0; background: transparent; outline: none; width: 100%; font-size: .95rem; }
  .filters-form {
    position: fixed; inset: 0 0 0 auto; width: min(440px, 100%); z-index: 1000; background: var(--white);
    flex-direction: column; overflow-y: auto; padding: 0 28px; transform: translateX(100%); visibility: hidden;
    transition: transform .7s var(--ease), box-shadow .7s, visibility 0s .7s;
  }
  .filters-open .filters-form { transform: none; visibility: visible; box-shadow: -40px 0 80px -40px rgba(0, 0, 0, .4); transition: transform .7s var(--ease), box-shadow .7s; }
  .filters-scrim { position: fixed; inset: 0; z-index: 999; background: rgba(26, 25, 45, .5); opacity: 0; visibility: hidden; transition: opacity .5s, visibility 0s .5s; }
  .filters-open .filters-scrim { opacity: 1; visibility: visible; transition: opacity .5s; }
  .filters-drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--white); z-index: 1; }
  .filters-drawer-head h2 { font-size: 1.8rem; }
  .filters-drawer-foot { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; margin-top: auto; padding: 24px 0; position: sticky; bottom: 0; background: var(--white); }
  .f-field { border-right: 0; border-bottom: 1px solid var(--line); padding: 20px 0 !important; }
  .f-field > .icon { right: 0; bottom: 26px; }
  .f-search { display: none; }
  .f-price > div { flex: 1; }
}
@media (min-width: 1081px) {
  .filters-quick, .filters-scrim { display: none; }
}

@media (max-width: 760px) {
  body { font-size: 15px; }
  .hero { min-height: 640px; }
  .hero-search { grid-template-columns: 1fr 1fr; bottom: 20px; left: 16px; right: 16px; }
  .hero-search .field { padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .hero-search .field:nth-child(1) { grid-column: 1 / -1; border-right: 0; }
  .hero-search .field:nth-child(3) { border-right: 0; }
  .hero-search .field .icon { right: 14px; bottom: 16px; }
  .hero-content { padding-bottom: 290px; }
  .hero-sub { display: none; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .dest-panels { flex-direction: column; height: auto; }
  .dest-panel { min-height: 62vw; flex: none !important; }
  .dest-panel p { grid-template-rows: 1fr; opacity: 1; }
  .hscroll-track { overflow-x: auto; width: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: none; }
  .hscroll-track::-webkit-scrollbar { display: none; }
  .hscroll-track .prop-card { width: 82vw; scroll-snap-align: center; }
  .hscroll-end { width: 70vw; scroll-snap-align: center; }
  .hscroll-bar { display: none; }
  .story-badge { width: 120px; height: 120px; right: 12px; bottom: -30px; }
  .story-badge b { font-size: 2.2rem; }
  .island-list a { grid-template-columns: 70px 1fr auto; }
  .island-thumb { display: block; width: 64px; height: 64px; overflow: hidden; border-radius: 2px; }
  .island-thumb img { width: 100%; height: 100%; object-fit: cover; }
  .island-idx { display: none; }
  .island-go { width: 40px; height: 40px; }
  .trust-row { grid-template-columns: 1fr; }
  .trust-label { padding: 24px var(--pad) 0; }
  .marquee { padding: 20px 0 26px; }
  .footer-cta { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .prop-grid { --cols: 1; }
  .similar-grid { grid-template-columns: 1fr; }
  .prop-grid.is-list .prop-card { display: flex; gap: 20px; }
  .prop-grid.is-list .fav { left: auto; right: 14px; }
  .similar-grid .prop-card:nth-child(3) { display: flex; }
  .listing-head { align-items: flex-start; }
  .view-toggle { display: none; }
  .hero-facts div { padding-right: 16px; }
  .hero-facts div + div { padding-left: 16px; }
  .prop-hero { min-height: 640px; }
  .prop-hero-bar { grid-template-columns: 1fr 1fr; }
  .prop-hero-bar > div { padding: 16px 0 0 !important; border-left: 0 !important; }
  .prop-hero-bar > div:nth-child(n + 4) { display: none; }
  .prop-hero-bar .price-big { grid-column: 1 / -1; }
  .subnav-cta { display: none; }
  .distances { grid-template-columns: 1fr 1fr; gap: 34px 0; }
  .distances::before, .distances .line-fill { display: none; }
  .details-grid { grid-template-columns: 1fr 1fr; }
  .detail { padding: 22px 18px; }
  .amenities { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 42vw; gap: 8px; }
  .mosaic button, .mosaic button:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .mosaic button:nth-child(5n + 1) { grid-column: span 2; grid-row: span 1; }
  .form { grid-template-columns: 1fr; }
  .reason span { padding: 10px 16px; font-size: .64rem; }
  .gallery-head { flex-direction: column; align-items: flex-start; }
  .mobile-bar {
    display: flex; position: fixed; z-index: 850; left: 0; right: 0; bottom: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: var(--white); border-top: 1px solid var(--line); align-items: center; justify-content: space-between; gap: 14px;
    transform: translateY(110%); transition: transform .6s var(--ease);
  }
  .mobile-bar.is-on { transform: none; }
  .mobile-bar .price { font-size: 1.3rem; display: block; line-height: 1.1; }
  .mobile-bar small { font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
  .mobile-bar .btn { min-height: 48px; }
  .mobile-bar .round-btn { width: 48px; height: 48px; }
  .has-mobile-bar .site-footer { padding-bottom: 80px; }
  .footer-giant { font-size: 22vw; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee-track { animation: none; }
}
