/* Lividus 307 — one apartment, two pages: the sale page and the holiday-rental page (shared header and components).
   Palette lifted from the interior photos: Baltic navy, sea-mist blue velvet, pale oak / sand, brass fittings.
   Mobile first; wide layout from 900px. No text lives in this file (other languages = other HTML files). */

/* ── fonts (self-hosted, SIL OFL): Fraunces 300 at display optical size, Instrument Sans 400–600 ── */
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 300; font-display: swap; src: url(../fonts/fraunces-300-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 300; font-display: swap; src: url(../fonts/fraunces-300-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 300; font-display: swap; src: url(../fonts/fraunces-300i-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 300; font-display: swap; src: url(../fonts/fraunces-300i-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(../fonts/instrument-sans-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(../fonts/instrument-sans-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --navy: #0e2a3b; --navy-2: #163b50; --ink: #10222e; --body: #36474f; --muted: #5d6d76;
  --sea: #6f9bb1; --sea-d: #3f6e86; --mist: #dde8ed;
  --sand: #f7f2e9; --sand-2: #efe6d7; --paper: #fffdf9;
  --brass: #b98d43; --brass-l: #dbb671; --brass-d: #8a6524;
  --line: rgba(16, 34, 46, .13); --line-2: rgba(16, 34, 46, .2);
  --serif: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --gut: clamp(20px, 5vw, 56px); --r: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
html.noscroll { overflow: hidden; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.65; color: var(--body); background: var(--sand); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.shot picture, .room-media picture, .g-item picture, .loc-band-media picture, .lb-pic { display: contents; }
.plan-card picture { display: block; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--sea); color: #fff; }
.ic { flex: none; }
.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gut); }
.skip { position: fixed; left: 12px; top: -80px; z-index: 100; background: var(--paper); color: var(--ink); padding: 12px 18px; border-radius: 10px; font-weight: 600; transition: top .2s; }
.skip:focus { top: 12px; }

/* ── type ── */
h1, h2, h3 { font-family: var(--serif); font-weight: 300; color: var(--ink); }
h2 { font-size: clamp(36px, 5.4vw, 72px); line-height: 1.05; letter-spacing: -.02em; text-wrap: balance; }
h2 em, h1 em { font-style: italic; color: var(--sea-d); }
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font-size: 12.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--brass-d); }
.eyebrow::before { content: ''; flex: none; width: 28px; height: 1px; background: currentColor; opacity: .75; }
.eyebrow--light { color: var(--brass-l); }
.lead { font-size: clamp(18px, 1.55vw, 21px); line-height: 1.6; color: var(--ink); }
.sec { padding-block: clamp(72px, 10vw, 148px); }
/* rental page: the about section ends with its highlights list - its bottom and the next section's top are tighter,
   so no empty band opens between them (operator 2026-10-17) */
.about.sec { padding-bottom: clamp(40px, 4vw, 64px); }
.about.sec + .rooms.sec { padding-top: clamp(40px, 4vw, 64px); }
.sec-head { max-width: 860px; margin-bottom: clamp(36px, 6vw, 76px); }
.sec-head--light h2 { color: #fff; }
.sec-head--light h2 em { color: var(--brass-l); }
.sec-note { max-width: 36ch; font-size: 15.5px; color: var(--muted); }
@media (min-width: 900px) {
  .sec-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; }
}
@media (max-width: 899px) { .sec-note { margin-top: 18px; } }

/* ── buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 12px 26px; border-radius: 999px; font-weight: 600; font-size: 16px; line-height: 1.2; white-space: nowrap; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s; }
.btn:active { transform: scale(.98); }
.btn--brass { background: var(--brass-l); color: #17110a; box-shadow: 0 10px 30px -12px rgba(219, 182, 113, .7); }
.btn--brass:hover { background: #e6c78c; }
.btn--ghost-light { border: 1px solid rgba(255, 255, 255, .42); color: #fff; }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .8); }
.btn--line { border: 1px solid var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--sand); }
.btn--paper { background: var(--paper); color: var(--ink); }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--brass); padding-bottom: 2px; }
.link:hover { color: var(--sea-d); }

/* ── header ── */
.hdr { position: fixed; inset: 0 0 auto 0; z-index: 50; color: #fff; padding-top: env(safe-area-inset-top); transition: background .35s, color .35s, box-shadow .35s; }
.hdr-in { display: flex; align-items: center; gap: 20px; height: 64px; max-width: 1440px; margin-inline: auto; padding-inline: var(--gut); }
.hdr.is-solid { background: rgba(247, 242, 233, .9); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.brand { display: flex; align-items: baseline; gap: 7px; font-family: var(--serif); font-size: 24px; line-height: 1; letter-spacing: -.01em; }
.brand-no { font-style: italic; color: var(--brass-l); transition: color .35s; }
.is-solid .brand-no { color: var(--brass-d); }
.nav { display: none; margin-left: auto; gap: clamp(18px, 2.4vw, 34px); font-size: 14.5px; font-weight: 500; }
.nav a { padding: 8px 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease); }
.nav a:hover { background-size: 100% 1px; }
.hdr-call { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 999px; font-size: 14.5px; font-weight: 600; white-space: nowrap; transition: background .25s, border-color .25s, color .25s; }
.hdr-call:hover { background: rgba(255, 255, 255, .14); }
.is-solid .hdr-call { border-color: var(--ink); }
.is-solid .hdr-call:hover { background: var(--ink); color: var(--sand); }
.lang { margin-left: auto; display: flex; align-items: center; font-size: 13px; font-weight: 600; letter-spacing: .08em; }
.lang a { display: grid; place-items: center; min-width: 34px; min-height: 44px; padding: 0 5px; opacity: .72; transition: opacity .2s; }
.lang a:hover { opacity: 1; }
.lang a[aria-current] { opacity: 1; text-decoration: underline; text-decoration-color: var(--brass-l); text-decoration-thickness: 1.5px; text-underline-offset: 6px; }
.is-solid .lang a[aria-current] { text-decoration-color: var(--brass); }
.lang + .hdr-call { margin-left: 0; }
/* the two destinations of the site - "for sale" / "holiday rental" - always visible, the current one filled */
.mode { display: flex; gap: 2px; padding: 3px; border: 1px solid rgba(255, 255, 255, .4); border-radius: 999px; background: rgba(14, 42, 59, .34); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 13.5px; font-weight: 600; line-height: 1.2; white-space: nowrap; transition: background .35s, border-color .35s; }
.mode a { flex: 1 1 0; display: grid; place-items: center; min-height: 36px; padding: 0 16px; border-radius: 999px; transition: background .25s, color .25s; }
.mode a:not([aria-current]):hover { background: rgba(255, 255, 255, .18); }
.mode a[aria-current] { background: var(--brass-l); color: #17110a; }
.is-solid .mode { border-color: var(--line-2); background: rgba(255, 253, 249, .7); }
.is-solid .mode a:not([aria-current]):hover { background: rgba(16, 34, 46, .09); }
@media (max-width: 559px) { .hdr-in { gap: 12px; } }
/* phones: the switch gets its own full-width row under the brand row */
@media (max-width: 759px) {
  html { scroll-padding-top: 122px; }
  .hdr-in { flex-wrap: wrap; height: auto; row-gap: 2px; padding-block: 4px 8px; }
  .mode { order: 9; flex: 1 0 100%; }
}
@media (min-width: 760px) { .mode { margin-left: 6px; } .mode a { flex: none; } }
/* the phone number shrinks to its icon wherever the row would get too tight */
@media (max-width: 559px), (min-width: 760px) and (max-width: 919px), (min-width: 1200px) and (max-width: 1459px) {
  .hdr-call { width: 44px; padding: 0; justify-content: center; }
  .hdr-call-long { display: none; }
}
@media (min-width: 1200px) { .nav { display: flex; gap: clamp(16px, 1.7vw, 34px); } .lang { margin-left: 4px; } }

/* ── hero ── */
.hero { position: relative; display: grid; grid-template-rows: minmax(40vh, 1fr) auto; grid-template-rows: minmax(40svh, 1fr) auto; min-height: 100vh; min-height: 100svh; background: var(--navy); color: #fff; overflow: hidden; overflow: clip; }
.hero-media { position: absolute; inset: 0 0 auto 0; height: 64vh; height: 64svh; overflow: hidden; }
.hero-media picture, .hero-media img { display: block; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 50% 42%; transform-origin: 50% 60%; animation: kenburns 16s var(--ease) both; }
.hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(14, 42, 59, .5) 0, rgba(14, 42, 59, 0) 20%, rgba(14, 42, 59, 0) 46%, rgba(14, 42, 59, .84) 82%, var(--navy) 100%); }
@keyframes kenburns { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero-body { position: relative; z-index: 1; grid-row: 2; min-width: 0; padding: 0 var(--gut) calc(26px + env(safe-area-inset-bottom)); }
.hero h1 { font: inherit; color: #fff; }
.h1-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 14px; font-family: var(--sans); }
.h1-badge { display: inline-flex; align-items: center; min-height: 30px; padding: 4px 14px; border-radius: 999px; background: var(--brass-l); color: #17110a; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; box-shadow: 0 6px 20px -8px rgba(8, 24, 34, .6); }
.h1-kicker { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 14px rgba(8, 24, 34, .6); }
.h1-name { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(44px, 15.5vw, 132px); line-height: .95; letter-spacing: -.03em; white-space: nowrap; text-shadow: 0 2px 30px rgba(8, 24, 34, .35); }
.h1-name em { font-style: italic; color: var(--brass-l); padding-left: .04em; }
.h1-badge--rent { background: var(--mist); color: var(--navy); }
@media (min-width: 900px) { .h1-top { margin-bottom: 18px; } .h1-badge { font-size: 13.5px; min-height: 34px; padding: 5px 17px; } .h1-kicker { font-size: 13px; } }
.hero-lead { margin-top: 16px; max-width: 36ch; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.5; color: rgba(255, 255, 255, .92); }
.hero-stats { display: flex; gap: clamp(18px, 4vw, 44px); margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .22); }
.hero-stats dt { font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .66); }
.hero-stats dd { margin-top: 2px; font-family: var(--serif); font-size: clamp(21px, 2.2vw, 30px); line-height: 1.2; white-space: nowrap; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px 12px; margin-top: 24px; }
.hero-cta .btn--brass { flex: 1 1 auto; }
/* home page: "buy or rent" - a headline and two choices of equal weight (down to the sale content / across to the rental page) */
.hero-or { margin-top: 10px; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(25px, 2.7vw, 40px); line-height: 1.12; letter-spacing: -.01em; color: var(--brass-l); text-shadow: 0 1px 18px rgba(8, 24, 34, .5); }
.hero-or + .hero-lead { margin-top: 8px; }
.hero-cta--choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 8px; min-width: 0; min-height: 64px; padding: 10px 14px 10px 18px; border-radius: 18px; line-height: 1.2; transition: background .25s, transform .25s var(--ease); }
.choice:active { transform: scale(.98); }
.choice-k { grid-column: 1; font-size: 19px; font-weight: 700; letter-spacing: -.005em; }
.choice-s { grid-column: 1; font-size: 13px; font-weight: 500; opacity: .82; }
.choice .ic { grid-column: 2; grid-row: 1 / span 2; }
.choice--buy { background: var(--brass-l); color: #17110a; box-shadow: 0 10px 30px -12px rgba(219, 182, 113, .7); }
.choice--buy:hover { background: #e6c78c; }
.choice--rent { background: var(--mist); color: var(--navy); box-shadow: 0 10px 30px -14px rgba(8, 24, 34, .7); }
.choice--rent:hover { background: #eef4f6; }
.hero-cta--choice .btn--ghost-light { grid-column: 1 / -1; }
/* phones: the two choices must stay on the first screen, so the photo gives way first, then the phone link and the figures */
@media (max-width: 899px) and (orientation: portrait) {
  .hero--choice { grid-template-rows: minmax(26vh, 1fr) auto; grid-template-rows: minmax(26svh, 1fr) auto; }
  .hero--choice .hero-stats { margin-top: 16px; padding-top: 12px; }
  .hero--choice .hero-cta { margin-top: 18px; }
}
@media (max-width: 899px) and (max-height: 760px) and (orientation: portrait) {
  .hero-cta--choice .btn--ghost-light { display: none; }
  .hero--choice .hero-lead { font-size: 16px; }
}
@media (max-width: 899px) and (max-height: 620px) and (orientation: portrait) { .hero--choice .hero-stats { display: none; } }
@media (min-width: 900px) {
  .hero-cta--choice { grid-template-columns: repeat(2, minmax(200px, 240px)) auto; justify-content: start; gap: 12px; }
  .hero-cta--choice .btn--ghost-light { grid-column: auto; min-height: 64px; }
  .choice { padding-left: 22px; }
}
@media (max-width: 899px) { .hero-cta .btn--ghost-light { flex: 1 1 100%; min-height: 46px; border-color: transparent; color: rgba(255, 255, 255, .85); } }
@media (max-width: 339px) { .h1-name { font-size: 14.4vw; } .h1-kicker { font-size: 11px; letter-spacing: .1em; } }
/* short phones: drop the secondary link so the call button stays on the first screen */
@media (max-width: 899px) and (max-height: 700px) and (orientation: portrait) { .hero-cta .btn--ghost-light { display: none; } .hero-lead { font-size: 16px; } }

/* wide screens and phones turned sideways: the photo fills the whole first screen */
@media (min-width: 900px), (orientation: landscape) and (max-height: 600px) {
  .hero-media { inset: 0; height: auto; }
  .hero-media img { object-position: 50% 50%; }
  .hero-media::after { background: linear-gradient(90deg, rgba(14, 42, 59, .84) 0, rgba(14, 42, 59, .54) 32%, rgba(14, 42, 59, 0) 66%), linear-gradient(to top, rgba(14, 42, 59, .78) 0, rgba(14, 42, 59, 0) 44%), linear-gradient(to bottom, rgba(14, 42, 59, .5) 0, rgba(14, 42, 59, 0) 22%); }
  .hero { grid-template-rows: 1fr auto; }
  .hero-body { width: 100%; max-width: 1440px; margin-inline: auto; padding-top: 96px; padding-bottom: clamp(36px, 7vh, 84px); }
  .hero-lead { max-width: 30em; }
  .hero-stats { max-width: 520px; }
  .hero-cta .btn--brass { flex: 0 0 auto; }
}

/* the rental page opens with a bright balcony photo: a little more shade behind the header and the text */
.hero--rent .hero-media::after { background: linear-gradient(to bottom, rgba(14, 42, 59, .62) 0, rgba(14, 42, 59, .12) 26%, rgba(14, 42, 59, 0) 44%, rgba(14, 42, 59, .86) 80%, var(--navy) 100%); }
@media (min-width: 900px), (orientation: landscape) and (max-height: 600px) {
  .hero--rent .hero-media::after { background: linear-gradient(90deg, rgba(14, 42, 59, .9) 0, rgba(14, 42, 59, .66) 34%, rgba(14, 42, 59, .08) 72%), linear-gradient(to top, rgba(14, 42, 59, .8) 0, rgba(14, 42, 59, 0) 46%), linear-gradient(to bottom, rgba(14, 42, 59, .58) 0, rgba(14, 42, 59, 0) 24%); }
}

/* phone turned sideways: a compact first screen */
@media (orientation: landscape) and (max-height: 600px) {
  .h1-name { font-size: clamp(44px, 20vh, 96px); }
  .h1-top { margin-bottom: 8px; }
  .hero-media::after { background: linear-gradient(90deg, rgba(14, 42, 59, .88) 0, rgba(14, 42, 59, .66) 55%, rgba(14, 42, 59, .25) 100%), linear-gradient(to top, rgba(14, 42, 59, .7) 0, rgba(14, 42, 59, 0) 50%); }
  .hero-body { padding-top: 78px; padding-bottom: 24px; }
  .hero-lead { max-width: none; margin-top: 10px; font-size: 16.5px; }
  .hero-stats { margin-top: 14px; padding-top: 12px; }
  .hero-cta { margin-top: 16px; }
  .hero-cta .btn { min-height: 48px; }
  .hero-or { margin-top: 4px; font-size: 22px; }
  .choice { min-height: 50px; padding-block: 6px; }
  .callbar { padding-block: 6px; }
  .callbar .btn { min-height: 42px; }
}
@media (orientation: landscape) and (max-height: 600px) and (max-width: 759px) { .hero-body { padding-top: 118px; } }

/* ── key figures ── */
.facts { padding-block: clamp(52px, 8vw, 104px) 0; }
.facts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 22px; }
.facts-grid li { padding-top: 18px; border-top: 1px solid var(--line-2); }
.fact-num { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: .12em; font-family: var(--serif); font-size: clamp(42px, 6.6vw, 88px); line-height: 1; letter-spacing: -.025em; color: var(--ink); }
.fact-unit, .fact-pre { font-family: var(--sans); font-size: .3em; font-weight: 500; letter-spacing: .02em; color: var(--muted); }
.fact-pre { margin-right: .2em; }
.fact-label { margin-top: 12px; max-width: 26ch; font-size: 15px; line-height: 1.45; color: var(--muted); }
@media (min-width: 900px) { .facts-grid { grid-template-columns: repeat(4, 1fr); gap: 40px; } }

/* ── about ── */
.about-grid { display: grid; gap: 44px; }
.about-text > * + * { margin-top: 20px; }
.about-text .eyebrow + h2 { margin-top: 0; }
.about-text h2 { margin-bottom: 8px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 10px; }
.pills li { padding: 8px 15px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--ink); background: rgba(255, 253, 249, .6); }
.about-media { position: relative; padding-bottom: 14%; }
.shot { display: block; position: relative; overflow: hidden; border-radius: var(--r); background: var(--sand-2); cursor: zoom-in; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.shot:hover img { transform: scale(1.035); }
.shot--a { aspect-ratio: 3 / 2; box-shadow: 0 40px 70px -50px rgba(16, 34, 46, .55); }
.shot--b { position: absolute; left: -6px; bottom: 0; width: 52%; aspect-ratio: 3 / 2; border: 6px solid var(--sand); border-radius: calc(var(--r) + 4px); box-shadow: 0 30px 50px -30px rgba(16, 34, 46, .5); }
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 5fr 6fr; gap: clamp(48px, 7vw, 110px); align-items: center; }
  .shot--b { left: -9%; width: 48%; border-width: 8px; }
}

/* ── rooms ── */
.room { display: grid; gap: 22px; margin-top: clamp(52px, 8vw, 116px); }
.sec-head + .room { margin-top: 0; }
.room-media { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--r); background: var(--sand-2); cursor: zoom-in; }
.room-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.room-media:hover img { transform: scale(1.035); }
.room-media::after, .shot::after { content: ''; position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; background: rgba(14, 42, 59, .5) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 4.5h5.5V10M10 19.5H4.5V14M19.5 4.5 13 11M4.5 19.5 11 13' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: .9; transition: opacity .25s, transform .25s var(--ease); pointer-events: none; }
.shot--b::after { display: none; }
.room-media:hover::after, .shot:hover::after { opacity: 1; transform: scale(1.08); }
.room-no { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--brass-d); }
.room h3 { margin: 4px 0 14px; font-size: clamp(30px, 3.5vw, 46px); line-height: 1.1; letter-spacing: -.015em; }
.ticks { margin-top: 22px; }
.ticks li { position: relative; padding: 12px 0 12px 30px; border-top: 1px solid var(--line); font-size: 15.5px; line-height: 1.5; color: var(--ink); }
.ticks li:last-child { border-bottom: 1px solid var(--line); }
.ticks li::before { content: ''; position: absolute; left: 2px; top: 19px; width: 12px; height: 6px; border-left: 1.6px solid var(--brass); border-bottom: 1.6px solid var(--brass); transform: rotate(-45deg); }
@media (min-width: 900px) {
  .room { grid-template-columns: 7fr 5fr; gap: clamp(44px, 6vw, 100px); align-items: center; }
  .room--flip { grid-template-columns: 5fr 7fr; }
  .room--flip .room-media { order: 2; }
}

/* ── standard (dark band) ── */
.std { background: var(--navy); color: #dbe5ea; padding-block: clamp(68px, 9vw, 128px); }
.std-grid { display: grid; grid-template-columns: 1fr; }
.std-grid li { padding: 20px 0 24px; border-top: 1px solid rgba(255, 255, 255, .17); }
.std-grid h3 { margin-bottom: 10px; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-l); }
.std-grid p { font-family: var(--serif); font-size: clamp(22px, 2vw, 26px); line-height: 1.25; color: #fff; }
@media (min-width: 640px) { .std-grid { grid-template-columns: 1fr 1fr; column-gap: 36px; } }
@media (min-width: 1000px) { .std-grid { grid-template-columns: repeat(5, 1fr); column-gap: 32px; } }

/* ── gallery ── */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.g-item { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 10px; background: var(--sand-2); cursor: zoom-in; }
.g-item--big { grid-column: span 2; grid-row: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .4s; }
.g-item:hover img { transform: scale(1.05); }
.gallery.is-collapsed .g-item:nth-child(n+8) { display: none; }
.gal-more { margin-top: 28px; text-align: center; }
@media (min-width: 900px) {
  .gallery { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .g-item { border-radius: 12px; }
  .gallery.is-collapsed .g-item:nth-child(n+8) { display: block; }
  .gallery.is-collapsed .g-item:nth-child(n+10) { display: none; }
  .gal-more { margin-top: 40px; }
}

/* ── floor plan ── */
.plan { background: var(--paper); }
.plan-grid { display: grid; gap: 44px; }
.plan-text h2 { margin-bottom: 30px; }
.spec div { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 13px 0; border-top: 1px solid var(--line); }
.spec div:last-child { border-bottom: 1px solid var(--line); }
.spec dt { color: var(--muted); font-size: 15.5px; }
.spec dd { font-weight: 600; color: var(--ink); text-align: right; white-space: nowrap; }
.spec-strong dt { color: var(--ink); font-weight: 600; }
.spec-strong dd { font-family: var(--serif); font-weight: 300; font-size: 30px; line-height: 1; }
.plan-card { position: relative; display: block; padding: clamp(46px, 6vw, 60px) clamp(12px, 3vw, 40px) clamp(14px, 3vw, 36px); background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 40px 70px -50px rgba(16, 34, 46, .4); cursor: zoom-in; transition: box-shadow .4s, transform .4s var(--ease); }
.plan-card:hover { transform: translateY(-3px); box-shadow: 0 50px 80px -50px rgba(16, 34, 46, .5); }
.plan-card img { width: 100%; height: auto; mix-blend-mode: multiply; }
.plan-zoom { position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 13.5px; font-weight: 600; }
.plan-fig figcaption { margin-top: 14px; font-size: 14px; color: var(--muted); }
@media (min-width: 900px) { .plan-grid { grid-template-columns: 5fr 7fr; gap: clamp(48px, 6vw, 100px); align-items: center; } }

/* ── building ── */
.bld { background: var(--sand-2); }
.bld-grid { display: grid; gap: 40px; }
.bld-cards { display: grid; grid-template-columns: 1fr; align-content: start; }
.bld-cards li { padding: 22px 0 26px; border-top: 1px solid var(--line-2); }
.bld-cards h3 { margin-bottom: 8px; font-size: 27px; line-height: 1.15; }
.bld-cards p { font-size: 16px; }
.bld-media { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bld-media .shot { aspect-ratio: 4 / 5; }
.bld-media .shot:nth-child(2) { margin-top: 12%; }
@media (min-width: 560px) { .bld-cards { grid-template-columns: 1fr 1fr; column-gap: 36px; } }
@media (min-width: 900px) { .bld-grid { grid-template-columns: 1fr 1fr; gap: clamp(48px, 6vw, 100px); align-items: center; } .bld-media { gap: 14px; } }

/* ── location ── */
.loc { background: var(--sand); }
.loc-band { position: relative; display: grid; align-items: end; min-height: min(88vh, 820px); min-height: min(88svh, 820px); background: var(--navy); color: #fff; overflow: hidden; overflow: clip; }
.loc-band-media { position: absolute; inset: 0; }
.loc-band-media img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 50%; }
.loc-band::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(14, 42, 59, .92) 0, rgba(14, 42, 59, .5) 42%, rgba(14, 42, 59, .08) 78%); }
.loc-band-body { position: relative; z-index: 1; padding-block: clamp(40px, 7vw, 84px); }
.loc-band h2 { color: #fff; }
.loc-band h2 em { color: var(--brass-l); }
.loc-near { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 780px; margin-top: clamp(28px, 4vw, 48px); }
.loc-near li { padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .42); }
.loc-num { display: block; font-family: var(--serif); font-size: clamp(40px, 7vw, 92px); line-height: 1; letter-spacing: -.025em; }
.loc-num small { margin-left: .14em; font-family: var(--sans); font-size: .3em; font-weight: 500; letter-spacing: .02em; opacity: .85; }
.loc-what { display: block; margin-top: 8px; font-size: 14.5px; line-height: 1.3; color: rgba(255, 255, 255, .88); }
.loc-grid { display: grid; gap: 44px; }
.h-sub { font-size: clamp(28px, 3vw, 40px); line-height: 1.12; letter-spacing: -.015em; margin-bottom: 16px; }
.loc-addr { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 14px; font-weight: 600; color: var(--ink); }
.loc-addr .ic { margin-top: 5px; color: var(--brass-d); }
.dist { margin-top: 28px; }
.dist div { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 12px 0; border-top: 1px solid var(--line); }
.dist div:last-child { border-bottom: 1px solid var(--line); }
.dist dt { color: var(--ink); }
.dist dd { font-weight: 600; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.map { position: relative; z-index: 0; isolation: isolate; aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--r); background: var(--mist); }
.map-ph { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; padding: 24px; text-align: center; font-size: 15px; line-height: 1.45; color: var(--sea-d); background: repeating-linear-gradient(135deg, rgba(63, 110, 134, .07) 0 1px, transparent 1px 22px), var(--mist); }
.map.is-live .map-ph { display: none; }
.map .leaflet-tile-pane { filter: saturate(.72) contrast(1.03); }
.map .leaflet-container { font-family: var(--sans); }
.map-pin { position: relative; width: 22px; height: 22px; border-radius: 50%; background: var(--brass-l); border: 3px solid var(--navy); box-shadow: 0 0 0 8px rgba(14, 42, 59, .18), 0 6px 14px rgba(14, 42, 59, .4); }
.map-pin-label { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); padding: 6px 13px; border-radius: 999px; background: var(--navy); color: #fff; font: 600 13.5px/1.2 var(--sans); white-space: nowrap; box-shadow: 0 8px 18px rgba(14, 42, 59, .35); }
.map-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; margin-top: 16px; font-size: 15px; }
.map-hint { display: none; font-size: 13.5px; color: var(--muted); }
@media (hover: none) and (pointer: coarse) { .map-hint { display: inline; } }
@media (min-width: 900px) { .loc-grid { grid-template-columns: 5fr 7fr; gap: clamp(48px, 6vw, 100px); align-items: start; } .map { aspect-ratio: 4 / 3; } }

/* ── investment ── */
.inv { padding-top: 0; }
.inv-in { max-width: 980px; }
.inv-in .lead { margin-top: 26px; max-width: 46em; }
.try { display: grid; gap: 24px; margin-top: clamp(36px, 5vw, 64px); padding: clamp(20px, 3vw, 36px); border: 1px solid var(--line-2); border-radius: calc(var(--r) + 4px); background: var(--paper); box-shadow: 0 40px 70px -56px rgba(16, 34, 46, .5); }
.try-kicker { margin-bottom: 10px; font-size: 12.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--brass-d); }
.try h3 { margin-bottom: 12px; font-size: clamp(27px, 2.7vw, 38px); line-height: 1.12; letter-spacing: -.015em; }
.try-inv { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 15.5px; color: var(--muted); }
.try .btn { margin-top: 22px; white-space: normal; }
.try-media { display: block; overflow: hidden; aspect-ratio: 3 / 2; border-radius: var(--r); background: var(--sand-2); }
.try-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.try-media:hover img { transform: scale(1.035); }
.try-media picture { display: contents; }
@media (max-width: 559px) { .try .btn { width: 100%; } }
@media (min-width: 900px) { .try { grid-template-columns: 7fr 4fr; gap: clamp(32px, 4vw, 60px); align-items: center; } .try-media { aspect-ratio: 4 / 5; } }

/* ── rental page: the highlights - a two-column list, an icon each ── */
.hl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 22px; padding: 26px 0 4px; margin-top: 8px; border-top: 1px solid var(--line-2); }
.hl li { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; line-height: 1.35; color: var(--ink); }
.hl-ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(219, 182, 113, .18); color: var(--brass-d); }
@media (max-width: 519px) { .hl { grid-template-columns: 1fr; gap: 10px; padding-top: 22px; } .hl-ic { width: 36px; height: 36px; } }

/* ── rental page: the Google and Airbnb ratings - one card, two halves, the date once under it ── */
.rating-box { margin-top: 26px; }
.rating { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line-2); border-radius: 20px; background: var(--paper); overflow: hidden; }
.rt { display: grid; justify-items: start; align-content: start; gap: 5px; padding: 20px 22px 22px; }
.rt + .rt { border-left: 1px solid var(--line-2); }
.rt-src { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.rt-score { font-family: var(--serif); font-size: 44px; font-weight: 300; line-height: 1.05; color: var(--ink); }
.rt-score small { margin-left: 3px; font-family: var(--sans); font-size: 15px; color: var(--muted); }
.rt-stars { position: relative; display: inline-flex; line-height: 0; }
.rt-stars .rt-off { display: inline-flex; gap: 2px; color: var(--line-2); }
.rt-stars .rt-on { position: absolute; inset: 0 auto 0 0; display: inline-flex; gap: 2px; overflow: hidden; white-space: nowrap; color: var(--brass); }
.rt-meta { font-size: 14px; color: var(--muted); }
.rt-link { margin-top: 6px; font-size: 14.5px; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--brass); }
.rt .todo { margin-top: 6px; }
.rt-asof { margin-top: 10px; font-size: 13px; color: var(--muted); }
@media (max-width: 360px) { .rating { grid-template-columns: 1fr; } .rt + .rt { border-left: 0; border-top: 1px solid var(--line-2); } }

/* ── a fact the owner has not supplied yet: visibly marked, never invented ── */
.todo { display: inline-block; padding: 2px 10px; border: 1px dashed var(--brass-d); border-radius: 12px; background: rgba(219, 182, 113, .2); color: #6f4f17; font-family: var(--sans); font-size: 13px; font-weight: 600; line-height: 1.5; letter-spacing: 0; text-transform: none; }

/* ── rental page: practical information ── */
.info { background: var(--sand-2); }
.info h2 { font-size: clamp(30px, 3.7vw, 50px); line-height: 1.1; }
.info-note { margin-top: 18px; }
.info-list div { display: grid; gap: 4px 28px; padding: 17px 0 18px; border-top: 1px solid var(--line-2); }
.info-list div:last-child { border-bottom: 1px solid var(--line-2); }
.info-list dt { font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.info-list dd { color: var(--ink); }
@media (min-width: 640px) { .info-list div { grid-template-columns: 210px minmax(0, 1fr); align-items: baseline; } }

/* ── questions and answers ── */
.faq { background: var(--paper); }
.faq-grid { display: grid; gap: 36px; }
.faq h2 { font-size: clamp(30px, 3.7vw, 50px); line-height: 1.1; }
.faq-item { padding: 24px 0 26px; border-top: 1px solid var(--line-2); }
.faq-item:last-child { border-bottom: 1px solid var(--line-2); }
.faq-item h3 { margin-bottom: 10px; font-size: clamp(23px, 2.1vw, 28px); line-height: 1.2; letter-spacing: -.01em; }
.faq-item p { max-width: 62ch; }
.tlink { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--brass); text-decoration-thickness: 1.5px; text-underline-offset: 3px; white-space: nowrap; }
.tlink:hover { color: var(--sea-d); }
@media (min-width: 900px) {
  .faq-grid { grid-template-columns: 4fr 7fr; gap: clamp(48px, 6vw, 100px); align-items: start; }
  .faq-head { position: sticky; top: 104px; }
}

/* ── contact ── */
.cta { position: relative; background: radial-gradient(120% 95% at 88% 0, #1d4d66 0, var(--navy) 58%); color: #fff; padding-block: clamp(88px, 12vw, 176px); overflow: hidden; overflow: clip; }
.cta::before, .cta::after { content: ''; position: absolute; border-radius: 50%; pointer-events: none; }
.cta::before { right: -150px; top: -150px; width: 460px; height: 460px; border: 1px solid rgba(219, 182, 113, .38); }
.cta::after { right: -60px; top: -60px; width: 280px; height: 280px; background: radial-gradient(circle, rgba(219, 182, 113, .3) 0, rgba(219, 182, 113, 0) 70%); }
.cta-in { position: relative; z-index: 1; }
.cta h2 { color: #fff; }
.cta h2 em { color: var(--brass-l); }
.cta-lead { margin-top: 22px; max-width: 34em; font-size: clamp(18px, 1.55vw, 21px); line-height: 1.6; color: rgba(255, 255, 255, .86); }
.cta-phone { margin-top: clamp(30px, 5vw, 56px); }
.cta-phone a { display: inline-block; font-family: var(--serif); font-size: clamp(34px, 9.6vw, 116px); line-height: 1.05; letter-spacing: -.025em; white-space: nowrap; background: linear-gradient(var(--brass-l), var(--brass-l)) 0 100% / 100% 1px no-repeat; padding-bottom: .06em; transition: color .3s; }
.cta-phone a:hover { color: var(--brass-l); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(28px, 4vw, 44px); }
@media (max-width: 559px) { .cta-actions .btn { flex: 1 1 100%; } }

/* ── rental page: booking widget (js/booking.js; data through js/booking-adapter.js) ── */
.book { padding-block: clamp(72px, 10vw, 148px); }
.bk { margin-top: clamp(30px, 5vw, 56px); padding: clamp(16px, 2.6vw, 36px); border-radius: calc(var(--r) + 6px); background: var(--paper); color: var(--body); box-shadow: 0 40px 80px -40px rgba(4, 14, 20, .7); scroll-margin-top: 124px; }
html:not(.js) .bk > :not(noscript) { display: none; }
.bk h3 { font-size: clamp(23px, 2vw, 28px); line-height: 1.15; }
.bk-noscript { color: var(--ink); }
.bk-demo { margin-bottom: 18px; padding: 10px 14px; border: 1px dashed var(--brass-d); border-radius: 12px; background: rgba(219, 182, 113, .22); font-size: 14.5px; line-height: 1.5; color: #5a3f10; }
.bk-demo strong { font-weight: 700; }
.bk-steps { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--muted); }
.bk-steps li { display: inline-flex; align-items: center; gap: 8px; }
.bk-steps span { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid var(--line-2); border-radius: 50%; font-size: 12.5px; }
.bk-steps [aria-current] { color: var(--ink); }
.bk-steps [aria-current] span { background: var(--navy); border-color: var(--navy); color: #fff; }
.bk-steps .is-done span { background: var(--brass-l); border-color: var(--brass-l); color: #17110a; }
.bk-step { display: grid; gap: 28px; }
.bk-step:focus { outline: none; }
.bk-pick { display: grid; gap: 30px; min-width: 0; }
.bk-cal-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.bk-cal-nav { display: flex; gap: 8px; }
.bk-nav { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 50%; color: var(--ink); transition: background .2s, color .2s; }
.bk-nav:hover:not(:disabled) { background: var(--ink); color: var(--sand); }
.bk-nav:disabled { opacity: .3; cursor: default; }
.bk-months { display: grid; gap: 30px; min-height: 290px; transition: opacity .2s; }
.bk-months[aria-busy] { opacity: .45; }
.bk-month:nth-child(n+2) { display: none; }
.bk-month-name { margin-bottom: 10px; font-family: var(--serif); font-size: 21px; line-height: 1.2; color: var(--ink); }
.bk-month-name::first-letter { text-transform: uppercase; }
.bk-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.bk-wd { padding-bottom: 5px; text-align: center; font-size: 11.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.bk-day { display: grid; place-items: center; min-height: 40px; aspect-ratio: 1 / 1; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink); transition: background .15s, border-color .15s, color .15s; }
.bk-day:hover:not(:disabled):not(.is-taken):not(.is-sel) { border-color: var(--navy); }
.bk-day.is-past { border-color: transparent; background: none; font-weight: 500; color: var(--muted); opacity: .5; cursor: default; }
.bk-day.is-noarr { border-style: dashed; }
.bk-day.is-taken { border-color: transparent; background: var(--sand-2); font-weight: 500; color: #6b787f; text-decoration: line-through; cursor: not-allowed; }
.bk-day.is-dim { opacity: .5; }
.bk-day.is-ok { border-color: var(--brass); box-shadow: inset 0 0 0 1px var(--brass); background: #fff; font-weight: 600; color: var(--ink); text-decoration: none; cursor: pointer; opacity: 1; }
.bk-day.is-range { border-color: var(--mist); background: var(--mist); }
.bk-day.is-sel { border-color: var(--navy); background: var(--navy); color: #fff; text-decoration: none; opacity: 1; box-shadow: none; }
.bk-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.bk-legend li { display: inline-flex; align-items: center; gap: 7px; }
.bk-legend li::before { content: ''; width: 16px; height: 16px; border: 1px solid var(--line-2); border-radius: 5px; background: #fff; }
.bk-legend .lg-taken::before { border-color: transparent; background: var(--sand-2); }
.bk-legend .lg-sel::before { border-color: var(--navy); background: var(--navy); }
.bk-status { min-height: 1.55em; margin-top: 14px; font-size: 15.5px; font-weight: 600; line-height: 1.5; color: var(--ink); }
.bk-status.is-error { color: #8a2a1b; }
.bk-rules { margin-top: 4px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.bk-party h3 { margin-bottom: 12px; }
.bk-opt { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.bk-opt-l { font-weight: 600; color: var(--ink); }
.bk-opt-h, .bk-check small { display: block; font-size: 13.5px; font-weight: 400; line-height: 1.45; color: var(--muted); }
.bk-count { display: flex; align-items: center; gap: 6px; flex: none; }
.bk-count button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 50%; font-size: 22px; line-height: 1; color: var(--ink); transition: background .2s, color .2s; }
.bk-count button:hover:not(:disabled) { background: var(--ink); color: var(--sand); }
.bk-count button:disabled { opacity: .3; cursor: default; }
.bk-count output { min-width: 28px; text-align: center; font-size: 19px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink); }
.bk-check { display: flex; align-items: flex-start; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); font-weight: 600; color: var(--ink); cursor: pointer; }
.bk-check input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--navy); }
.bk-sum { min-width: 0; padding: clamp(16px, 2vw, 24px); border: 1px solid var(--line); border-radius: var(--r); background: var(--sand); }
.bk-sum h3 { margin-bottom: 12px; }
.bk-sum-empty { font-size: 15px; color: var(--muted); }
.bk-sum-dates { font-weight: 600; color: var(--ink); }
.bk-sum-party { margin-bottom: 10px; font-size: 14.5px; color: var(--muted); }
.bk-lines li { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.4; }
.bk-lines strong { font-weight: 600; white-space: nowrap; color: var(--ink); }
.bk-total { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding-top: 14px; border-top: 1px solid var(--line-2); font-weight: 600; color: var(--ink); }
.bk-total-v { font-family: var(--serif); font-size: 31px; font-weight: 300; line-height: 1; white-space: nowrap; }
.bk .btn { white-space: normal; text-align: center; }
.bk .btn:disabled { opacity: .45; box-shadow: none; cursor: not-allowed; }
.bk-sum > .btn { width: 100%; margin-top: 18px; }
.bk-fine { margin-top: 12px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.bk-form-main h3 { margin-bottom: 18px; }
.bk-two { display: grid; gap: 0 14px; }
.bk-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.bk-actions .btn--brass { flex: 1 1 200px; }
.bk-done h3 { margin-bottom: 4px; font-size: clamp(27px, 2.7vw, 38px); line-height: 1.12; }
.bk-done p { margin-top: 12px; }
.bk-done .bk-demo { margin-bottom: 0; }
.bk-ref { font-weight: 600; color: var(--ink); }
.bk-done .btn { margin-top: 24px; }
.field { display: grid; gap: 6px; min-width: 0; margin-bottom: 16px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.field input, .field textarea { display: block; width: 100%; min-width: 0; min-height: 52px; margin: 0; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; font: inherit; font-size: 16px; line-height: 1.4; color: var(--ink); }
.field textarea { min-height: 92px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--brass); outline-offset: 1px; border-radius: 12px; }
.field [aria-invalid="true"] { border-color: #a03524; }
@media (min-width: 560px) { .bk-two { grid-template-columns: 1fr 1fr; } }
@media (min-width: 700px) { .bk-months { grid-template-columns: 1fr 1fr; } .bk-month:nth-child(n+2) { display: block; } }
@media (min-width: 1000px) {
  .bk-step { grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 3.4vw, 48px); align-items: start; }
  .bk-sum { position: sticky; top: 92px; }
}
/* secondary ways to book: phone, e-mail, the two portals */
.book-more { display: grid; gap: 32px; margin-top: clamp(40px, 5vw, 64px); }
.book-block h3 { margin-bottom: 8px; font-size: clamp(23px, 2.1vw, 28px); line-height: 1.15; color: #fff; }
.book-block p { color: rgba(255, 255, 255, .84); }
.book-block .tlink { color: #fff; text-decoration-color: var(--brass-l); }
.book-block .tlink:hover { color: var(--brass-l); }
.book-phone a { display: inline-block; margin-bottom: 6px; font-family: var(--serif); font-size: clamp(30px, 8vw, 44px); line-height: 1.1; letter-spacing: -.02em; white-space: nowrap; color: #fff; background: linear-gradient(var(--brass-l), var(--brass-l)) 0 100% / 100% 1px no-repeat; padding-bottom: .06em; transition: color .3s; }
.book-phone a:hover { color: var(--brass-l); }
.book-ota { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.btn--small { min-height: 44px; padding: 8px 20px; font-size: 14.5px; }
.book-ota .btn { flex-wrap: wrap; gap: 4px 10px; white-space: normal; text-align: center; }
.book-ota .btn.is-todo { border-style: dashed; cursor: default; }
.book-ota .btn.is-todo:hover { background: none; border-color: rgba(255, 255, 255, .42); }
.cta .todo { border-color: var(--brass-l); background: rgba(219, 182, 113, .14); color: var(--brass-l); }
@media (min-width: 760px) { .book-more { grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); } }

/* ── rental page: the same apartment is also for sale ── */
.also { background: var(--sand-2); border-bottom: 1px solid var(--line); }
.also-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 28px; padding-block: 26px; font-size: 16px; color: var(--ink); }

/* ── footer ── */
.ftr { background: var(--sand); padding: 44px 0 calc(120px + env(safe-area-inset-bottom)); font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.ftr-in { display: grid; gap: 26px; }
.ftr-brand { display: flex; align-items: center; gap: 20px; }
.ftr-brand img { width: 104px; height: auto; }
.ftr-brand .ftr-name { font-family: 'Fraunces', Georgia, serif; font-weight: 300; font-size: 26px; line-height: 1.1; color: var(--ink); white-space: nowrap; }
.ftr-brand p { color: var(--ink); }
.ftr-addr { color: var(--muted); }
.ftr-contact { display: flex; flex-wrap: wrap; gap: 6px 26px; font-weight: 600; color: var(--ink); }
.ftr-contact a { display: inline-block; padding: 11px 0; border-bottom: 1px solid var(--line-2); }
.ftr-contact a:hover { border-color: var(--brass); }
.ftr-pages { display: flex; flex-wrap: wrap; gap: 0 26px; margin-bottom: 4px; font-weight: 600; color: var(--ink); }
.ftr-pages a { display: inline-block; padding: 11px 0; }
.ftr-pages a:hover { color: var(--sea-d); }
.ftr-pages a[aria-current] { text-decoration: underline; text-decoration-color: var(--brass); text-decoration-thickness: 1.5px; text-underline-offset: 6px; }
.ftr-small { font-size: 13.5px; }
.lang--ftr { margin: 0 0 6px -5px; color: var(--ink); }
@media (min-width: 900px) {
  .ftr { padding-bottom: 48px; }
  .ftr-in { grid-template-columns: 1.3fr 1fr 1.2fr; align-items: center; gap: 48px; }
  .ftr-small { text-align: right; }
  .lang--ftr { justify-content: flex-end; margin: 0 -5px 6px 0; }
}

/* ── phone call bar ── */
.callbar { position: fixed; inset: auto 0 0 0; z-index: 60; display: grid; grid-template-columns: 1.5fr 1fr; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(14, 42, 59, .93); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 -10px 30px rgba(8, 24, 34, .25); transform: translateY(110%); visibility: hidden; transition: transform .45s var(--ease), visibility 0s .45s; }
.callbar.is-on { transform: none; visibility: visible; transition: transform .45s var(--ease), visibility 0s; }
.callbar .btn { min-height: 50px; padding: 10px 14px; box-shadow: none; }
@media (min-width: 900px) { .callbar { display: none; } }

/* ── full-screen viewer ── */
.lb { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #071720; color: #fff; overflow: hidden; }
.lb::backdrop { background: #071720; }
.lb[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; animation: lb-in .28s ease both; }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.lb-top { display: flex; align-items: center; justify-content: space-between; padding: calc(8px + env(safe-area-inset-top)) 10px 8px 20px; }
.lb-count { font-size: 14px; letter-spacing: .1em; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .78); }
.lb-stage { position: relative; min-height: 0; display: flex; align-items: center; justify-content: center; padding-inline: clamp(0px, 7vw, 96px); touch-action: pan-y pinch-zoom; -webkit-user-select: none; user-select: none; }
.lb-img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 4px; transition: opacity .28s ease; -webkit-user-drag: none; }
.lb-img.is-loading { opacity: 0; }
.lb-cap { min-height: 3.4em; padding: 14px 22px calc(16px + env(safe-area-inset-bottom)); text-align: center; font-size: 14.5px; line-height: 1.45; color: rgba(255, 255, 255, .84); }
.lb-btn { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: #fff; background: rgba(255, 255, 255, .1); transition: background .2s, transform .2s var(--ease); }
.lb-btn:hover { background: rgba(255, 255, 255, .22); }
.lb-prev, .lb-next { position: absolute; top: 50%; margin-top: -24px; background: rgba(7, 23, 32, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lb-prev { left: max(10px, env(safe-area-inset-left)); }
.lb-next { right: max(10px, env(safe-area-inset-right)); }
.lb.is-single .lb-prev, .lb.is-single .lb-next { display: none; }
/* phones: the photo gets the full width, the arrows move down beside the caption */
@media (max-width: 699px) {
  .lb-stage { padding-inline: 0; }
  .lb-img { border-radius: 0; }
  .lb-prev, .lb-next { top: auto; bottom: calc(12px + env(safe-area-inset-bottom)); margin-top: 0; background: rgba(255, 255, 255, .1); }
  .lb-cap { display: grid; align-items: center; min-height: calc(72px + env(safe-area-inset-bottom)); padding: 12px 72px calc(12px + env(safe-area-inset-bottom)); font-size: 13.5px; }
}

/* ── motion ── */
html.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease) calc(var(--d, 0) * 90ms), transform 1s var(--ease) calc(var(--d, 0) * 90ms); }
html.js [data-reveal].in { opacity: 1; transform: none; }

/* first screen: the text block rises in, one line after another */
@media (prefers-reduced-motion: no-preference) {
  .hero-body > * { animation: rise 1s var(--ease) both; }
  .hero-body > :nth-child(1) { animation-delay: .15s; }
  .hero-body > :nth-child(2) { animation-delay: .25s; }
  .hero-body > :nth-child(3) { animation-delay: .38s; }
  .hero-body > :nth-child(4) { animation-delay: .5s; }
  .hero-body > :nth-child(5) { animation-delay: .62s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero-media { animation: hero-drift linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
    .hero--rent .hero-media { animation: none; }
    .hero--rent .hero-media picture { animation: hero-drift linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
    @keyframes hero-drift { to { transform: translateY(14vh); } }
    .loc-band-media img { animation: band-drift linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
    @keyframes band-drift { from { transform: translateY(-6%) scale(1.14); } to { transform: translateY(6%) scale(1.14); } }
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero-media img, .lb[open] { animation: none; }
  .shot img, .room-media img, .try-media img, .g-item img, .callbar, .plan-card, .lb-img { transition: none; }
}

@media print {
  .hdr, .callbar, .lb, .hero-cta, .gal-more, .map, .bk, .sb, .sbs { display: none !important; }
  html.js [data-reveal] { opacity: 1; transform: none; }
  .hero { min-height: 0; }
}

/* ───────── rental terms: a plain text page under a dark band (the header is white over it) ───────── */
.terms-hero { background: var(--navy); color: #fff; padding: clamp(120px, 16vw, 176px) 0 clamp(40px, 6vw, 72px); }
.terms-in { max-width: 860px; }
.terms-hero h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(38px, 7vw, 64px); line-height: 1.05; margin: 10px 0 18px; color: #fff; }
.terms-intro { font-size: clamp(17px, 2.2vw, 20px); line-height: 1.55; color: rgba(255, 255, 255, .88); max-width: 60ch; margin: 0; }
.terms-date { margin: 18px 0 0; font-size: 14.5px; color: var(--brass-l); }
.terms { padding-block: clamp(40px, 7vw, 88px); background: var(--paper); }
.terms-sec + .terms-sec { margin-top: clamp(28px, 4vw, 44px); padding-top: clamp(28px, 4vw, 44px); border-top: 1px solid var(--line); }
.terms-sec h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(24px, 3.4vw, 32px); line-height: 1.2; margin: 0 0 16px; color: var(--ink); }
.terms-sec h2 span { color: var(--brass-d); margin-right: 4px; }
.terms-sec ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.terms-sec li { position: relative; padding-left: 20px; line-height: 1.6; color: var(--body); overflow-wrap: anywhere; }
.terms-sec li::before { content: ''; position: absolute; left: 0; top: .72em; width: 7px; height: 1px; background: var(--brass); }
.terms-back { margin: clamp(36px, 5vw, 56px) 0 0; }
.cta-terms { margin: -6px 0 22px; font-size: 14.5px; color: rgba(255, 255, 255, .78); }
.cta-terms a { color: var(--brass-l); text-decoration: underline; text-underline-offset: 3px; }
.ftr-small a { text-decoration: underline; text-underline-offset: 3px; }

/* the booking section: the date search bar (below), then a note about the next step on the booking engine */
.bk-go { display: flex; flex-direction: column; align-items: center; gap: 14px; margin: 30px 0 8px; text-align: center; }
.bk-go-note { color: rgba(255, 255, 255, .78); font-size: 15px; max-width: 34em; }

/* ───────── rental page: the date search (js/search.js) ─────────
   Structure and behaviour of the Costa Dune search bar (segments + round search button, a panel that drops under
   the bar, a full-screen sheet on phones), without its "where" field; colours and type are Lividus'. */
.hero-search { position: relative; z-index: 3; margin-top: 20px; max-width: 720px; }
.hero-cta--rent { margin-top: 18px; }
/* the panel may hang below the first screen: the rental hero lets content out downwards, never sideways */
.hero--rent { overflow: visible; overflow-x: clip; }
.sb { position: relative; color: var(--ink); text-align: left; }
.sbar { position: relative; display: flex; align-items: stretch; min-height: 70px; padding: 0; border-radius: 999px; background: var(--paper); box-shadow: 0 22px 50px -22px rgba(4, 14, 20, .75), 0 0 0 1px rgba(255, 255, 255, .55); transition: background .2s; }
.sb.open .sbar { background: var(--sand-2); }
.sb-seg { position: relative; flex: 1; min-width: 0; padding: 13px 24px; border-radius: 999px; text-align: left; transition: background .2s, box-shadow .2s; }
.sb-seg + .sb-seg::before { content: ''; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: var(--line-2); transition: opacity .2s; }
.sb-seg:hover::before, .sb-seg.on::before, .sb-seg:hover + .sb-seg::before, .sb-seg.on + .sb-seg::before, .sb.open .sb-seg::before { opacity: 0; }
.sb-seg small { display: block; font-size: 11.5px; font-weight: 600; line-height: 1.35; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-d); }
.sb-seg [data-v] { display: block; margin-top: 2px; font-size: 16px; line-height: 1.35; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-seg [data-v].has { color: var(--ink); font-weight: 600; }
.sb-ph-s { display: none; }
.sb-seg:hover { background: rgba(16, 34, 46, .06); }
.sb.open .sb-seg:hover { background: rgba(255, 253, 249, .7); }
.sb-seg.on, .sb.open .sb-seg.on:hover { background: #fff; box-shadow: 0 8px 22px -8px rgba(16, 34, 46, .38); }
.sb-last { flex: 1.75; display: flex; align-items: center; padding: 0 9px 0 0; }
.sb-who { flex: 1; min-width: 0; align-self: stretch; padding: 13px 8px 13px 24px; border-radius: 999px; text-align: left; }
.sb-go { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: none; height: 52px; padding: 0 22px 0 18px; border-radius: 999px; background: var(--brass-l); color: #17110a; font-size: 16px; font-weight: 600; box-shadow: 0 12px 26px -14px rgba(138, 101, 36, .95); transition: background .2s, transform .2s var(--ease); }
.sb-go:hover { background: #e6c78c; }
.sb-go:active { transform: scale(.96); }
.sb :focus-visible, .sbs :focus-visible { outline-color: var(--navy); }
.sb-seg:focus-visible, .sb-who:focus-visible, .sb-go:focus-visible { outline-offset: -3px; border-radius: 999px; }

.sb-panel { position: absolute; top: calc(100% + 12px); left: 0; z-index: 8; padding: 24px 28px 20px; border-radius: 24px; background: var(--paper); color: var(--body); box-shadow: 0 34px 70px -26px rgba(4, 14, 20, .7), 0 0 0 1px var(--line); }
.sb-panel[data-for="dates"] { width: min(760px, calc(100vw - 2 * var(--gut))); }
.sb-panel[data-for="who"] { left: auto; right: 0; width: min(410px, calc(100vw - 2 * var(--gut))); padding-block: 10px 18px; }
/* booking section: the bar sits in the text flow, its panel opens inline under it */
.sb--book { width: 100%; max-width: 760px; }
.sb--book .sb-panel { position: relative; top: auto; right: auto; margin-top: 12px; width: 100%; }
.sb--book .sb-panel[data-for="who"] { width: min(410px, 100%); margin-left: auto; }

/* calendar */
.sbc { position: relative; }
.sbc-nav { position: absolute; inset: -4px 0 auto 0; z-index: 1; display: flex; justify-content: space-between; pointer-events: none; }
.sbc-btn { pointer-events: auto; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--ink); transition: background .2s; }
.sbc-btn:hover:not(:disabled) { background: var(--sand-2); }
.sbc-btn:disabled { opacity: .25; cursor: default; }
.sbc-months { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.sbc-title { height: 32px; font-family: var(--serif); font-size: 21px; font-weight: 300; line-height: 32px; text-align: center; color: var(--ink); }
.sbc-dow { display: grid; grid-template-columns: repeat(7, 1fr); padding: 8px 0 4px; font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-align: center; text-transform: capitalize; color: var(--muted); }
.sbc-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); row-gap: 2px; }
.sbd { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; aspect-ratio: 1; border-radius: 50%; font-size: 15px; line-height: 1.1; font-variant-numeric: tabular-nums; color: var(--ink); }
.sbc--priced .sbd { aspect-ratio: 1 / 1.1; }
.sbd b { font-weight: 600; }
.sbd small { margin-top: 2px; font-size: 10.5px; font-weight: 500; white-space: nowrap; color: var(--muted); }
.sbd:disabled { cursor: default; }
.sbd.is-free:hover, .sbd.is-checkout:hover, .sbd.is-short:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.sbd.is-past, .sbd.is-off, .sbd.is-wait { color: #b6bfc4; }
.sbd.is-past b, .sbd.is-off b, .sbd.is-wait b, .sbd.is-taken b { font-weight: 400; }
.sbd.is-taken { color: #97a3aa; }
.sbd.is-taken b { text-decoration: line-through; text-decoration-color: #97a3aa; }
.sbd.is-short { color: #a3adb2; }
.sbd.is-today b { text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 3px; }
.sbd.is-taken.is-today b { text-decoration: line-through; }
.sbd.is-mid { border-radius: 0; background: var(--mist); }
.sbd.is-sel { background: var(--navy); color: #fff; }
.sbd.is-sel small { color: rgba(255, 255, 255, .78); }
.sbd.is-sel.is-ranged { border-radius: 0; background: radial-gradient(circle closest-side, var(--navy) 97%, transparent 100%), linear-gradient(to right, transparent 50%, var(--mist) 50%); }
.sbd.is-sel.is-ranged.is-end { background: radial-gradient(circle closest-side, var(--navy) 97%, transparent 100%), linear-gradient(to left, transparent 50%, var(--mist) 50%); }
.sbd:focus-visible { outline-offset: 0; border-radius: 50%; }
.sbc-note { margin-top: 14px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.sbc-foot { display: flex; align-items: flex-start; justify-content: space-between; gap: 6px 20px; margin-top: 6px; }
.sb-msg { min-height: 1.5em; font-size: 14.5px; font-weight: 600; line-height: 1.5; color: var(--ink); }
.sb-msg.is-error { color: #8a2a1b; }
.sb-clear, .sbs-clear { flex: none; padding: 4px 0; font-size: 14.5px; font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: var(--brass); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }

/* guests */
.sbw-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.sbw-row b { display: block; font-weight: 600; color: var(--ink); }
.sbw-row small { display: block; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.sbw-step { display: flex; flex: none; align-items: center; gap: 6px; }
.sbw-btn { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 50%; font-size: 21px; line-height: 1; color: var(--ink); transition: border-color .2s; }
.sbw-btn:hover:not(:disabled) { border-color: var(--ink); }
.sbw-btn:disabled { opacity: .3; cursor: default; }
.sbw-step output { min-width: 28px; font-size: 17px; font-weight: 600; text-align: center; font-variant-numeric: tabular-nums; color: var(--ink); }
.sbw-note { padding-top: 14px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }

/* phones: the same bar, compact; a tap opens the sheet below */
@media (max-width: 759px) {
  .hero-search { margin-top: 16px; }
  .sbar { min-height: 62px; padding: 5px; }
  .sb-seg { padding: 8px 6px 8px 14px; }
  .sb-seg small { font-size: 10.5px; letter-spacing: .09em; }
  .sb-seg [data-v] { font-size: 13.5px; }
  .sb-last { flex: 1.62; padding: 0; }
  .sb-who { padding: 8px 4px 8px 14px; }
  .sb-go { width: 50px; height: 50px; padding: 0; }
  .sb-ph { display: none; }
  .sb-ph-s { display: inline; }
  .sb-go span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

/* the sheet (phones; the call bar's button opens it on any width) */
.sbs { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: var(--body); overflow: hidden; }
.sbs::backdrop { background: rgba(7, 23, 32, .55); }
.sbs[open] { display: flex; align-items: stretch; justify-content: center; }
.sbs-card { display: flex; flex-direction: column; width: 100%; height: 100%; background: var(--sand); animation: sbs-in .24s var(--ease) both; }
@keyframes sbs-in { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.sbs-head { display: grid; flex: none; grid-template-columns: 44px 1fr 44px; align-items: center; padding: calc(8px + env(safe-area-inset-top)) 10px 8px; border-bottom: 1px solid var(--line); background: var(--paper); }
.sbs-head h2 { font-size: 21px; line-height: 1.2; text-align: center; }
.sbs-x { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--ink); }
.sbs-x:hover { background: var(--sand-2); }
.sbs-body { flex: 1; min-height: 0; padding: 14px 14px 18px; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.sbs-step { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; margin-bottom: 12px; padding: 18px 20px; border-radius: 18px; background: var(--paper); box-shadow: 0 1px 6px rgba(16, 34, 46, .1); font-size: 15px; text-align: left; }
.sbs-step > span { font-weight: 600; color: var(--muted); }
.sbs-step > b { font-weight: 600; text-align: right; color: var(--ink); }
.sbs-step.is-open { display: block; padding: 22px 16px 14px; box-shadow: 0 12px 30px -12px rgba(16, 34, 46, .32); }
.sbs-step > h3 { margin-bottom: 12px; font-size: 28px; line-height: 1.15; letter-spacing: -.01em; }
.sbs-foot { display: flex; flex: none; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--paper); }
.sbs-go { min-width: 150px; min-height: 52px; }
.sbc--stacked .sbc-months { display: block; max-height: 46vh; max-height: 46dvh; padding-right: 2px; overflow-y: auto; overscroll-behavior: contain; }
.sbc--stacked .sbc-month { margin-bottom: 22px; }
.sbc--stacked .sbc-title { text-align: left; }
.sbc--stacked .sbc-dow { display: none; }
.sbc--stacked .sbc-month:first-child .sbc-dow { display: grid; }
@media (min-width: 760px) {
  .sbs[open] { align-items: center; padding: 28px; }
  .sbs-card { max-width: 560px; height: auto; max-height: 88vh; border-radius: 22px; overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) { .sbs-card { animation: none; } }

/* ── the chat (js/chat.js, rental pages): a round button bottom-right and a panel; a full-screen sheet on phones ── */
.chat-fab { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 55; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--navy); color: var(--brass-l); box-shadow: 0 14px 30px -10px rgba(8, 24, 34, .55), 0 0 0 1px rgba(219, 182, 113, .35); transition: bottom .45s var(--ease), transform .25s var(--ease), background .25s, opacity .2s; }
.chat-fab:hover { background: var(--navy-2); transform: translateY(-2px); }
.chat-fab:focus-visible { outline: 3px solid var(--brass-l); outline-offset: 3px; }
.chat-fab--hidden { opacity: 0; pointer-events: none; }
@media (max-width: 899px) { .chat-fab--up { bottom: calc(86px + env(safe-area-inset-bottom)); } }   /* above the call bar */
@media (min-width: 900px) { .chat-fab { right: 28px; bottom: 28px; width: 62px; height: 62px; } }

.chat { position: fixed; inset: auto 24px 24px auto; z-index: 70; width: min(400px, calc(100vw - 48px)); height: min(620px, calc(100vh - 120px)); max-width: none; max-height: none; margin: 0; padding: 0; border: 0; border-radius: 22px; background: transparent; color: var(--body); overflow: hidden; box-shadow: 0 34px 70px -26px rgba(4, 14, 20, .6), 0 0 0 1px var(--line); }
.chat[open] { display: flex; }
.chat::backdrop { background: rgba(7, 23, 32, .55); }
.chat-card { display: flex; flex-direction: column; width: 100%; height: 100%; background: var(--sand); animation: sbs-in .24s var(--ease) both; }
.chat-head { display: flex; flex: none; align-items: center; gap: 12px; padding: 14px 10px 14px 16px; background: var(--navy); color: #fff; }
.chat-avatar { display: grid; flex: none; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(219, 182, 113, .16); color: var(--brass-l); }
.chat-avatar .ic { width: 22px; height: 22px; }
.chat-hd { flex: 1; min-width: 0; }
.chat-hd h2 { margin: 0; font-family: var(--serif); font-size: 20px; font-weight: 400; line-height: 1.2; color: #fff; }
.chat-hd p { margin: 2px 0 0; font-size: 12.5px; line-height: 1.35; color: rgba(255, 255, 255, .72); }
.chat-x { display: grid; flex: none; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #fff; }
.chat-x:hover { background: rgba(255, 255, 255, .12); }
.chat-log { flex: 1; min-height: 0; padding: 16px 14px 8px; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.chat-msg { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: 10px; }
.chat-msg--me { align-items: flex-end; }
.chat-bub { max-width: 86%; padding: 10px 14px; border-radius: 18px 18px 18px 6px; background: var(--paper); box-shadow: 0 1px 4px rgba(16, 34, 46, .1); font-size: 15.5px; line-height: 1.5; color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-msg--me .chat-bub { border-radius: 18px 18px 6px 18px; background: var(--navy); color: #fff; box-shadow: none; }
.chat-bub a { color: var(--sea-d); text-decoration: underline; text-underline-offset: 2px; }
.chat-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chat-act { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 8px 14px; border: 1px solid var(--brass); border-radius: 999px; background: var(--paper); font-size: 14px; font-weight: 600; color: var(--ink); }
.chat-act:hover { background: var(--sand-2); }
.chat-act .ic { color: var(--brass-d); }
.chat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 10px; }
.chat-chip { min-height: 40px; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; font-size: 14.5px; font-weight: 600; color: var(--ink); transition: background .2s, border-color .2s; }
.chat-chip:hover { border-color: var(--brass); background: var(--paper); }
.chat-dots { display: inline-flex; gap: 5px; padding: 4px 0; }
.chat-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: chat-dot 1s infinite ease-in-out; }
.chat-dots i:nth-child(2) { animation-delay: .15s; }
.chat-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes chat-dot { 0%, 80%, 100% { opacity: .25; transform: none; } 40% { opacity: 1; transform: translateY(-3px); } }
.chat-form { display: flex; flex: none; align-items: flex-end; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); background: var(--paper); }
.chat-form textarea { flex: 1; min-width: 0; min-height: 44px; max-height: 140px; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 22px; background: #fff; font: inherit; font-size: 16px; line-height: 1.4; color: var(--ink); resize: none; }
.chat-form textarea:focus { outline: 2px solid var(--brass); outline-offset: 0; border-color: transparent; }
.chat-send { display: grid; flex: none; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--brass-l); color: #17110a; transition: background .2s, opacity .2s; }
.chat-send:hover { background: #e6c78c; }
.chat-send:disabled { opacity: .5; }
.chat-note { flex: none; margin: 0; padding: 0 14px calc(10px + env(safe-area-inset-bottom)); background: var(--paper); font-size: 12px; line-height: 1.4; color: var(--muted); }
.chat .sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (max-width: 759px) {          /* phones: the whole screen, like the date-search sheet */
  .chat { inset: 0; width: 100%; height: 100%; height: 100dvh; border-radius: 0; box-shadow: none; }
  .chat-head { padding-top: calc(12px + env(safe-area-inset-top)); }
}
@media (prefers-reduced-motion: reduce) { .chat-card, .chat-dots i { animation: none; } .chat-fab { transition: none; } }
@media print { .chat-fab, .chat { display: none !important; } }

/* ── sale contact form (in the dark contact section) ── */
.sale-form { margin-top: clamp(32px, 5vw, 48px); max-width: 640px; background: #fff; color: var(--ink, #172a3d); border-radius: 22px; padding: clamp(20px, 4vw, 32px); box-shadow: 0 24px 60px rgba(0, 0, 0, .25); }
.sale-form h3 { font-size: 1.35rem; margin: 0 0 16px; }
.sf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sf-wide { grid-column: 1 / -1; }
.sf-fld { display: grid; gap: 6px; font-size: .92rem; font-weight: 600; }
.sf-fld input, .sf-fld textarea { font: inherit; font-weight: 400; padding: 12px 14px; border: 1px solid #cbd2d9; border-radius: 12px; background: #fff; color: inherit; width: 100%; box-sizing: border-box; }
.sf-fld input:focus, .sf-fld textarea:focus { outline: 2px solid #dbb671; outline-offset: 1px; border-color: transparent; }
.sf-check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.sf-check input { width: 20px; height: 20px; margin-top: 2px; flex: none; }
.sf-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sf-note { font-size: .85rem; color: #63717e; margin: 14px 0; }
.sf-msg { font-weight: 600; margin: 0 0 14px; }
.sf-msg.sf-ok { color: #176b2c; } .sf-msg.sf-bad { color: #a02020; }
.sale-form .btn { width: 100%; justify-content: center; }
@media (max-width: 560px) { .sf-grid { grid-template-columns: 1fr; } }
