/* Gašper Plahutnik — redesign
   Layout: soft neutral ground, large rounded "shell" cards nested inside a lighter rim,
   gradient panels (sky blue, blush, sand) carry the hero moments, mono labels everywhere. */
:root {
  --ground: #ebebe9;
  --rim: #f7f7f6;
  --surface: #e3e3e1;
  --surface-2: #f4f4f3;
  --ink: #141414;
  --ink-soft: #5d5d5b;
  --ink-faint: #9b9b98;
  --line: #d5d5d2;
  --night: #121212;
  --night-ink: #f2f2f0;
  --night-soft: #a3a3a0;
  --signal: #9fd37a;

  --sky: linear-gradient(160deg, #8fadcf 0%, #a9bdd6 38%, #d2d4da 70%, #d9d3cf 100%);
  --blush: radial-gradient(60% 50% at 38% 58%, #d49a86 0%, rgba(212,154,134,0) 70%),
           linear-gradient(180deg, #d6a9cb 0%, #d4a6c8 55%, #a08aa8 100%);
  --sand: linear-gradient(180deg, #efe7d8 0%, #ddcdb0 45%, #a8977a 80%, #6c5c43 100%);
  --fog: linear-gradient(180deg, #e9e9e7 0%, #d8d8d6 100%);

  --f-sans: "Geist", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --r-xl: 34px;
  --r-lg: 24px;
  --r-md: 16px;
  --shadow: 0 30px 60px -30px rgba(20,20,20,.25);
  --wrap: 1180px;
  --gut: clamp(16px, 4vw, 40px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #151515; --rim: #1d1d1c; --surface: #222221; --surface-2: #1a1a19;
    --ink: #f0f0ee; --ink-soft: #b0b0ac; --ink-faint: #7a7a77; --line: #30302e;
    --night: #0b0b0b; --night-ink: #f2f2f0; --night-soft: #a3a3a0;
    --shadow: 0 30px 60px -30px rgba(0,0,0,.7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ground: #151515; --rim: #1d1d1c; --surface: #222221; --surface-2: #1a1a19;
  --ink: #f0f0ee; --ink-soft: #b0b0ac; --ink-faint: #7a7a77; --line: #30302e;
  --night: #0b0b0b; --night-ink: #f2f2f0; --night-soft: #a3a3a0;
  --shadow: 0 30px 60px -30px rgba(0,0,0,.7);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font: 400 16px/1.55 var(--f-sans); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-weight: 500; letter-spacing: -0.025em; line-height: 1.05; margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gut); }
.stack { display: grid; gap: clamp(64px, 10vw, 120px); padding-block: 24px 64px; }

/* type */
.mono { font: 500 12px/1.4 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.display { font-size: clamp(40px, 7vw, 88px); }
.h2 { font-size: clamp(32px, 4.6vw, 56px); }
.h3 { font-size: 22px; letter-spacing: -0.015em; }
.muted { color: var(--ink-faint); }
.lede { color: var(--ink-soft); max-width: 58ch; font-size: 17px; }
.split-head { display: block; }
.split-head .muted { display: block; }

/* header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; padding-block: 14px; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 44px; height: 44px; border-radius: 50%; background: var(--night); color: var(--night-ink);
  display: grid; place-items: center; font: 500 14px var(--f-mono); letter-spacing: .02em; }
.brand-name { font-weight: 500; letter-spacing: -0.01em; }
.nav { display: flex; align-items: center; gap: 4px; padding: 5px; border-radius: 999px;
  background: color-mix(in srgb, var(--rim) 72%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.nav a { text-decoration: none; padding: 8px 14px; border-radius: 999px; font-size: 14px; color: var(--ink-soft); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--surface); }
@media (max-width: 720px) { .nav .hide-sm { display: none; } }

/* pills & buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 999px;
  font: 500 15px var(--f-sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .2s, background .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: linear-gradient(180deg, #2a2a2a, #0d0d0d); color: #f5f5f3; box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 8px 20px -10px rgba(0,0,0,.6); }
.btn-light { background: linear-gradient(180deg, #ffffff, #ececea); color: #141414; border-color: #d9d9d6; box-shadow: 0 6px 16px -10px rgba(0,0,0,.4); }
.btn-glass { background: rgba(255,255,255,.22); color: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn .ring { width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(255,255,255,.2); border-top-color: var(--signal); animation: spin 1.6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.arrow::after { content: "→"; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 7px 14px; border-radius: 999px; font-size: 13px; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink); }
.tag-dark { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.14); color: var(--night-soft); }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: rgba(159,211,122,.08); color: var(--signal); font-size: 14px; }
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px rgba(159,211,122,.18); }

/* shell (ref 1) */
.shell { background: var(--rim); border-radius: calc(var(--r-xl) + 12px); padding: 12px; box-shadow: var(--shadow); }
.shell-in { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 860px) { .shell-in { grid-template-columns: 1fr; } }
.pane { border-radius: var(--r-xl); padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.pane-light { background: var(--surface); border: 1px solid var(--line); }
.pane-dark { background: radial-gradient(120% 80% at 20% 0%, #262626 0%, var(--night) 60%); color: var(--night-ink); }
.pane-dark .lede { color: var(--night-soft); }
.pane-foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }

/* hero (ref 3) */
.hero { position: relative; border-radius: 44px 44px var(--r-xl) var(--r-xl); background: var(--sky); color: #fff; overflow: hidden;
  min-height: min(78vh, 720px); display: grid; align-content: end; padding: clamp(28px, 6vw, 72px); }
.hero::after { content: ""; position: absolute; inset: auto -10% -30% 30%; height: 70%; background: radial-gradient(closest-side, rgba(236,214,204,.7), transparent); pointer-events: none; }
.hero > * { position: relative; z-index: 1; }
.hero .mono { color: rgba(255,255,255,.82); }
.hero h1 { font-size: clamp(44px, 8vw, 104px); font-weight: 500; max-width: 12ch; }
.hero h1 .thin { font-weight: 300; opacity: .78; }
.hero-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 28px; }
.hero-sub { max-width: 46ch; color: rgba(255,255,255,.9); font-size: 18px; margin-top: 20px; }
.hero-meta { position: absolute; top: clamp(24px, 4vw, 40px); left: clamp(28px, 6vw, 72px); right: clamp(28px, 6vw, 72px); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* stat tiles (ref 5) */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 860px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
.tile { background: var(--surface); border-radius: var(--r-lg); padding: 20px 22px; min-height: 170px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-width: 0; }
.tile .num { font-size: clamp(34px, 4vw, 46px); letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.tile .num .muted { font-weight: 400; }
.tile small { display: block; letter-spacing: 0; font-weight: 400; color: var(--ink-faint); font-size: 13px; margin-top: 6px; }
.tile.wide { grid-column: span 2; min-height: 0; }

/* section head */
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 40px; margin-bottom: 32px; }
.sec-head > div { display: grid; gap: 14px; min-width: 0; }

/* property cards */
.props { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.prop { grid-column: span 2; background: var(--surface); border-radius: var(--r-xl); padding: 10px; display: flex; flex-direction: column; text-decoration: none; transition: transform .25s; min-width: 0; }
.prop:nth-child(-n+2) { grid-column: span 3; }
a.prop:hover { transform: translateY(-3px); }
.prop .ph { aspect-ratio: 4 / 3; border-radius: calc(var(--r-xl) - 8px); overflow: hidden; position: relative; }
.prop:nth-child(-n+2) .ph { aspect-ratio: 16 / 10; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph .chip { position: absolute; left: 14px; top: 14px; }
.prop .body { padding: 18px 14px 12px; display: grid; gap: 10px; }
.prop .row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.prop .price { font-variant-numeric: tabular-nums; font-size: 18px; letter-spacing: -0.01em; }
.prop p { color: var(--ink-soft); font-size: 14.5px; }
@media (max-width: 860px) { .props { grid-template-columns: 1fr 1fr; } .prop, .prop:nth-child(-n+2) { grid-column: span 1; } }
@media (max-width: 560px) { .props { grid-template-columns: 1fr; } }
.chip { padding: 6px 12px; border-radius: 999px; font: 500 11px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; background: rgba(255,255,255,.78); color: #141414; backdrop-filter: blur(8px); }
.g-sky { background: var(--sky); } .g-blush { background: var(--blush); } .g-sand { background: var(--sand); } .g-fog { background: var(--fog); }
.g-night { background: radial-gradient(90% 70% at 30% 20%, #3a3a3a, #121212); }

/* more listings */
.more { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
@media (max-width: 760px) { .more { grid-template-columns: 1fr; } }
.more a { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 18px 22px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); text-decoration: none; }
.more a:hover { background: var(--surface); }
.more b { font-weight: 500; }
.more .price { white-space: nowrap; }

/* blush CTA (ref 2) */
.blush-card { border-radius: var(--r-xl); background: var(--blush); color: #fff; padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; }
@media (max-width: 860px) { .blush-card { grid-template-columns: 1fr; } }
.blush-card .mono { color: rgba(255,255,255,.85); }
.blush-card h2 { font-weight: 300; }
.blush-card h2 b { font-weight: 600; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.ticks li::before { content: "✓"; font-size: 13px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.25); }
.slider { display: flex; align-items: center; gap: 10px; margin-top: 28px; }
.slider .knob-back { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); display: grid; place-items: center; }
.slider a.track { flex: 1; max-width: 300px; display: flex; align-items: center; gap: 16px; padding: 6px 22px 6px 6px; border-radius: 999px; background: rgba(255,255,255,.22); text-decoration: none; color: #fff; }
.slider .knob { width: 44px; height: 44px; border-radius: 50%; background: #fff; color: #141414; display: grid; place-items: center; }
.slider .chev { margin-left: auto; opacity: .6; letter-spacing: -2px; }
.dashes { display: flex; gap: 6px; margin-top: 22px; }
.dashes i { width: 16px; height: 2px; border-radius: 2px; background: rgba(255,255,255,.45); }
.dashes i.on { width: 40px; background: #fff; }

/* specialisations */
.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 860px) { .specs { grid-template-columns: 1fr; } }
.spec { background: var(--surface); border-radius: var(--r-lg); padding: 26px; display: grid; gap: 16px; align-content: start; min-width: 0; }
.spec.dark { background: var(--night); color: var(--night-ink); }
.spec.dark p { color: var(--night-soft); }
.spec p { color: var(--ink-soft); font-size: 15px; }
.spec .icon { width: 42px; height: 42px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; }
.spec.dark .icon { background: #232323; }

/* areas */
.areas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 960px) { .areas { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .areas { grid-template-columns: 1fr; } }
.area { border-radius: var(--r-xl); padding: 24px; min-height: 380px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; color: #fff; min-width: 0; }
.area .mono { color: rgba(255,255,255,.85); }
.area h3 { font-size: 30px; }
.area p { font-size: 14px; color: rgba(255,255,255,.88); }
.area .range { font-size: 26px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.area.g-sky, .area.g-sand-lite { color: #141414; } .area.g-sky .mono, .area.g-sand-lite .mono { color: #3f4650; } .area.g-sky p, .area.g-sand-lite p { color: #2f343b; }
.g-sand-lite { background: linear-gradient(180deg, #f1eadc 0%, #e2d4ba 55%, #c9b490 100%); }

/* process (ref 6 step cards) */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 28px; display: grid; gap: 20px; align-content: start; min-width: 0; }
.step.on { background: var(--night); color: var(--night-ink); border-color: transparent; }
.step.on p { color: var(--night-soft); }
.step p { color: var(--ink-soft); font-size: 15px; }
.prog { display: flex; gap: 5px; }
.prog i { width: 22px; height: 3px; border-radius: 3px; background: var(--line); }
.prog i.on { background: currentColor; }

/* bio */
.bio { display: grid; grid-template-columns: .9fr 1.1fr; gap: 14px; }
@media (max-width: 860px) { .bio { grid-template-columns: 1fr; } }
.portrait { border-radius: var(--r-xl); overflow: hidden; min-height: 460px; position: relative; }
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.portrait .chip { position: absolute; left: 18px; bottom: 18px; }
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(180px, 1fr); gap: 10px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.strip .ph { aspect-ratio: 3 / 4; border-radius: var(--r-md); overflow: hidden; }
.strip img { width: 100%; height: 100%; object-fit: cover; }

/* rating (ref 4) */
.sand-card { border-radius: var(--r-xl); background: var(--sand); color: #1a160f; padding: clamp(28px, 5vw, 64px); display: grid; gap: 48px; }
.sand-card .mono { color: #6a5d48; }
.sand-top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.bignum { font-size: clamp(120px, 24vw, 300px); line-height: .82; letter-spacing: -0.06em; font-weight: 400; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } }
.quote { background: rgba(255,255,255,.28); border: 1px solid rgba(255,255,255,.35); border-radius: var(--r-lg); padding: 22px; display: grid; gap: 18px; align-content: space-between; backdrop-filter: blur(6px); }
.quote p { font-size: 15.5px; }
.quote .mono { color: #3d3426; }
.sand-foot { display: flex; justify-content: space-between; align-items: end; gap: 12px; flex-wrap: wrap; }
.sand-foot .big { font-size: clamp(22px, 3vw, 34px); letter-spacing: -0.02em; }
.press { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; }
.press span { font-size: 17px; letter-spacing: -0.01em; opacity: .7; }
.press span:nth-child(odd) { font-family: Georgia, "Times New Roman", serif; font-style: italic; }

/* faq */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }
.faq details { background: var(--surface); border-radius: var(--r-lg); padding: 4px 24px; }
.faq details + details { margin-top: 10px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; display: flex; justify-content: space-between; gap: 16px; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 20px var(--f-mono); color: var(--ink-faint); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 20px; color: var(--ink-soft); max-width: 62ch; }

/* contact / form */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
.form-card { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(22px, 4vw, 36px); display: grid; gap: 22px; box-shadow: var(--shadow); min-width: 0; }
.form-card .top-row { display: flex; justify-content: space-between; align-items: center; }
.form-card .prog i.on { background: var(--ink); }
.choices { display: grid; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice label { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; border-radius: var(--r-md); background: var(--surface); cursor: pointer; }
.choice label small { display: block; color: var(--ink-faint); font-size: 13px; }
.choice input:checked + label { background: var(--night); color: var(--night-ink); }
.choice input:checked + label small { color: var(--night-soft); }
.choice input:focus-visible + label { outline: 2px solid var(--ink); outline-offset: 2px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 560px) { .fields { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font: 500 11px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--ink); background: var(--surface); border: 1px solid transparent; border-radius: 14px; padding: 13px 14px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink-faint); }
.field textarea { min-height: 96px; resize: vertical; }
.form-card .btn-dark { justify-content: center; border-radius: 14px; padding: 16px; }
.fine { text-align: center; font-size: 13px; color: var(--ink-faint); }

.card-info { display: grid; gap: 10px; }
.kv { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.1); flex-wrap: wrap; }
.kv span:last-child { user-select: all; }

/* property page */
.p-hero { position: relative; border-radius: 44px 44px var(--r-xl) var(--r-xl); overflow: hidden; min-height: min(80vh, 760px); display: grid; align-content: end; color: #fff; padding: clamp(24px, 5vw, 56px); }
.p-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.p-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.55) 100%); z-index: 1; }
.p-hero > *:not(img) { position: relative; z-index: 2; }
.p-hero .mono { color: rgba(255,255,255,.85); }
.p-hero h1 { font-size: clamp(48px, 9vw, 120px); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 860px) { .facts { grid-template-columns: repeat(2, 1fr); } }
.facts .tile { min-height: 150px; }
.p-body { display: grid; grid-template-columns: 1.2fr .8fr; gap: 14px; }
@media (max-width: 860px) { .p-body { grid-template-columns: 1fr; } }
.p-body .pane p + p { margin-top: 0; }
.gallery { columns: 3 280px; column-gap: 12px; }
.gallery .ph { break-inside: avoid; margin-bottom: 12px; border-radius: var(--r-md); overflow: hidden; background: var(--fog); min-height: 120px; }
.gallery img { width: 100%; height: auto; }
.marq { overflow: hidden; border-radius: 999px; background: var(--night); color: var(--night-soft); padding: 16px 0; }
.marq div { display: flex; gap: 28px; width: max-content; animation: marq 40s linear infinite; font: 500 13px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; }
.marq span::after { content: "✳"; margin-left: 28px; color: var(--signal); }
@keyframes marq { to { transform: translateX(-50%); } }

/* footer */
.foot { padding-block: 40px 56px; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-top: 24px; }

/* thanks */
.center-card { max-width: 560px; margin: 8vh auto; text-align: center; display: grid; gap: 20px; justify-items: center; }

/* full-bleed opening hero: runs edge to edge and up behind the sticky header */
.top { transition: color .25s; }
.top.over { color: #fff; }
.top.over .brand-mark { background: rgba(255,255,255,.22); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.35); }
.top.over .nav { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.3); }
.top.over .nav a { color: rgba(255,255,255,.9); }
.top.over .nav a:hover, .top.over .nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.2); }
.bleed { --pad-x: max(var(--gut), calc((100% - var(--wrap)) / 2 + var(--gut)));
  border-radius: 0 !important; margin-top: calc(-72px - env(safe-area-inset-top, 0px));
  min-height: 100svh !important; padding: 140px var(--pad-x) clamp(48px, 8vw, 96px) !important; }
.bleed .hero-meta { top: 100px; left: var(--pad-x); right: var(--pad-x); }

/* menu pill centred on the page, logo stays left */
.top .wrap { display: grid; grid-template-columns: 1fr auto 1fr; }
.top .brand { justify-self: start; }
.top .nav { justify-self: center; }
@media (max-width: 560px) { .top .wrap { grid-template-columns: auto 1fr auto; } }
.top { height: 78px; padding-block: 0; }
.top .wrap { height: 100%; align-items: center; }
.bleed { margin-top: calc(-78px - env(safe-area-inset-top, 0px)); }
.p-hero::before { background: linear-gradient(180deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 40%, rgba(0,0,0,.55) 100%); }

/* all-properties button on home */
.all-btn { display: flex; justify-content: center; margin-top: 28px; }

/* properties list page */
.llist { display: grid; gap: 12px; }
.lrow { display: grid; grid-template-columns: 220px 1fr auto; gap: 24px; align-items: center; padding: 10px; padding-right: 24px;
  background: var(--surface); border-radius: var(--r-xl); text-decoration: none; transition: transform .25s, background .25s; }
.lrow:hover { transform: translateY(-2px); background: var(--surface-2); }
.lrow .ph { aspect-ratio: 4 / 3; border-radius: calc(var(--r-xl) - 8px); overflow: hidden; }
.lrow .ph img { width: 100%; height: 100%; object-fit: cover; }
.lmain { display: grid; gap: 8px; min-width: 0; }
.lmain p { color: var(--ink-soft); font-size: 14.5px; max-width: 62ch; }
.lfacts { display: flex; flex-wrap: wrap; gap: 6px; }
.lfacts span { padding: 5px 11px; border-radius: 999px; font-size: 12.5px; background: var(--surface-2); border: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.lside { display: grid; gap: 14px; justify-items: end; }
.lside .price { font-size: 22px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 760px) {
  .lrow { grid-template-columns: 1fr; padding-right: 10px; }
  .lmain, .lside { padding-inline: 12px; }
  .lside { justify-items: start; grid-auto-flow: column; justify-content: space-between; align-items: center; padding-bottom: 8px; }
}

/* slide-to-unlock (blush card) */
.unlock { position: relative; margin-top: 28px; max-width: 360px; height: 60px; border-radius: 999px; overflow: hidden;
  background: rgba(255,255,255,.22); border: 1px solid rgba(255,255,255,.3); display: flex; align-items: center; padding-left: 72px; padding-right: 22px; user-select: none; touch-action: pan-y; }
.unlock-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 60px; border-radius: 999px; background: rgba(255,255,255,.28); pointer-events: none; }
.unlock-label { position: relative; font-size: 15px; color: transparent;
  background: linear-gradient(90deg, rgba(255,255,255,.55) 0%, #fff 45%, rgba(255,255,255,.55) 60%); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; animation: shimmer 2.6s linear infinite; }
@keyframes shimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.unlock .chev { position: relative; margin-left: auto; color: #fff; opacity: .6; letter-spacing: -2px; }
.unlock-knob { position: absolute; left: 6px; top: 6px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: #141414;
  font-size: 18px; cursor: grab; display: grid; place-items: center; box-shadow: 0 6px 16px -6px rgba(0,0,0,.35); touch-action: none; }
.unlock-knob:active { cursor: grabbing; }
.unlock.snap .unlock-knob, .unlock.snap .unlock-fill { transition: transform .35s cubic-bezier(.2,.8,.2,1), width .35s cubic-bezier(.2,.8,.2,1); }
.unlock.done .unlock-label { animation: none; color: #fff; }
.unlock.hint .unlock-knob { animation: nudge .6s ease; }
@keyframes nudge { 40% { transform: translateX(26px); } }
@media (prefers-reduced-motion: reduce) { .unlock-label { animation: none; color: #fff; } }

/* live "active" dot on badges: slow glow pulse */
.badge::before { animation: live 2.4s ease-in-out infinite; }
@keyframes live {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 4px rgba(159,211,122,.18), 0 0 0 0 rgba(159,211,122,.45); }
  50% { opacity: .45; box-shadow: 0 0 0 4px rgba(159,211,122,.08), 0 0 0 9px rgba(159,211,122,0); }
}
.brand-name { font-size: 17px; }

/* properties page as a card grid: 4 across (8 residences = two full rows), 2 on tablet, 1 on phone */
.llist { grid-template-columns: repeat(4, 1fr); gap: 14px; }
.lrow { display: flex; flex-direction: column; gap: 0; padding: 10px; align-items: stretch; }
.lrow .ph { aspect-ratio: 4 / 5; }
.lmain { padding: 18px 12px 0; gap: 8px; align-content: start; }
.lmain p { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.lside { margin-top: auto; padding: 18px 12px 8px; grid-auto-flow: column; justify-content: space-between; align-items: center; justify-items: start; gap: 10px; }
.lside .price { font-size: 19px; }
.lside .btn { padding: 10px 16px; font-size: 14px; }
@media (max-width: 1020px) { .llist { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .llist { grid-template-columns: 1fr; } .lrow .ph { aspect-ratio: 4 / 3; } }
@media (max-width: 760px) { .lrow { padding-right: 10px; } }
.llist { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lrow .ph { aspect-ratio: 1 / 1; }
.lside .btn { white-space: nowrap; }
@media (max-width: 1020px) { .llist { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .llist { grid-template-columns: minmax(0, 1fr); } }

/* on pages with a full-bleed hero the name shows only over the hero, then fades out */
.top .brand { transition: opacity .3s; }
.top.has-hero:not(.over) .brand { opacity: 0; pointer-events: none; }

/* the name is only ever white: it fades out (never darkens) once past the hero, and is hidden on pages without one */
.top .brand { color: #fff; transition: opacity .3s; }
.top:not(.has-hero) .brand { visibility: hidden; }

/* "Skip the portals" card: greyscale with a soft, desaturated yellow glow */
.blush-card { background:
  radial-gradient(55% 60% at 40% 58%, rgba(196,182,132,.70) 0%, rgba(196,182,132,0) 70%),
  linear-gradient(180deg, #9d9c98 0%, #8e8d89 55%, #6f6e6a 100%); }
.blush-card { background: linear-gradient(180deg, #a3a29f 0%, #8f8e8b 55%, #6e6d6a 100%); }

/* tag pills: a shade darker than whatever card they sit on, not white */
.tag, .lfacts span { background: color-mix(in srgb, var(--ink) 6%, transparent); border-color: color-mix(in srgb, var(--ink) 5%, transparent); }

/* tag pills: no outline, a touch lighter than the card behind them */
:root { --pill: rgba(255,255,255,.42); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --pill: rgba(255,255,255,.07); } }
:root[data-theme="dark"] { --pill: rgba(255,255,255,.07); }
.tag, .lfacts span { background: var(--pill); border-color: transparent; }

/* "Online now" lives in the header's right corner on every page, sticky with the menu */
.badge-top { justify-self: end; text-decoration: none; background: rgba(18,18,18,.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 13.5px; padding: 9px 15px; }
.badge-top:hover { background: rgba(18,18,18,.92); }
@media (max-width: 560px) { .badge-top .badge-text { display: none; } .badge-top { padding: 12px; } }

/* "Online now" pill matches the menu pill (glass, hairline border, same height); only text and dot are green */
.badge-top { background: color-mix(in srgb, var(--rim) 72%, transparent); border: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding: 0 18px; height: 50px; font-size: 14px; color: #4f8a2f; }
.badge-top:hover { background: var(--surface); }
.top.over .badge-top { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.3); color: var(--signal); }
.top.over .badge-top:hover { background: rgba(255,255,255,.26); }
@media (max-width: 560px) { .badge-top { padding: 0; width: 50px; justify-content: center; } }
.top.over .badge-top { color: #d6f7bd; }

/* phones/tablets: featured section shows 4 cards, then a full-width "All properties" button */
@media (max-width: 860px) {
  .props .prop:nth-child(n+5) { display: none; }
  .all-btn .btn { width: 100%; justify-content: center; padding-block: 16px; }
}

/* enquiry form fields matching the live Squarespace form */
.req { text-transform: none; letter-spacing: 0; font-family: var(--f-sans); color: var(--ink-faint); font-weight: 400; }
.wa { display: grid; grid-template-columns: 1fr 1.3fr; gap: 10px; margin-top: 6px; }
.wa .field label { font-size: 10px; color: var(--ink-faint); }
@media (max-width: 560px) { .wa { grid-template-columns: 1fr; } }
.choices-2 { grid-template-columns: 1fr 1fr; margin-top: 6px; }
@media (max-width: 560px) { .choices-2 { grid-template-columns: 1fr; } }
.choices-2 .choice label { padding: 14px 16px; font-size: 15px; }
.field select:invalid { color: var(--ink-faint); }
.field select option { color: var(--ink); }
.form-card > .field { display: grid; gap: 6px; }

/* purpose option cards: regular body type, not the mono field-label style */
.form-card .choice label { font: 400 15px/1.3 var(--f-sans); letter-spacing: 0; text-transform: none; color: inherit; }

/* footer in the main sans style, sentence case */
.foot .wrap > span { font: 400 14px/1.5 var(--f-sans); letter-spacing: 0; text-transform: none; color: var(--ink-soft); }

/* properties cards: fact bubbles a shade darker than the card; "View" appears on the photo on hover, menu-pill style */
.lfacts span { background: color-mix(in srgb, var(--ink) 7%, transparent); border-color: transparent; }
.lrow .ph { position: relative; }
.ph-cta { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -40%); opacity: 0; transition: opacity .25s, transform .25s;
  padding: 8px 16px; border-radius: 999px; font-size: 13px; color: #fff; white-space: nowrap;
  background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.lrow:hover .ph-cta, .lrow:focus-visible .ph-cta { opacity: 1; transform: translate(-50%, -50%); }
@media (hover: none) { .ph-cta { opacity: 1; transform: translate(-50%, -50%); top: auto; bottom: 12px; transform: translateX(-50%); } }

/* form fields: lighter grey; dropdowns get a custom chevron set further in from the right */
:root { --field: color-mix(in srgb, var(--surface) 55%, var(--surface-2));
  --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%235d5d5b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --field: color-mix(in srgb, var(--surface) 70%, var(--ink) 4%);
  --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23b0b0ac' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); } }
:root[data-theme="dark"] { --field: color-mix(in srgb, var(--surface) 70%, var(--ink) 4%);
  --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23b0b0ac' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.field input, .field select, .field textarea { background-color: var(--field); }
.field select { -webkit-appearance: none; appearance: none; background-image: var(--chev); background-repeat: no-repeat; background-position: right 20px center; padding-right: 48px; cursor: pointer; }
.form-card .choice input:not(:checked) + label { background: var(--field); }

/* properties cards: no colour change on hover; a "View" pill follows the mouse as the cursor over each card */
.lrow:hover { background: var(--surface); transform: none; }
@media (hover: hover) and (pointer: fine) {
  .ph-cta { display: none; }
  .lrow { cursor: none; }
}
.cursor-pill { position: fixed; left: 0; top: 0; z-index: 50; pointer-events: none; opacity: 0; transition: opacity .2s;
  padding: 8px 16px; border-radius: 999px; font-size: 13px; color: #fff; white-space: nowrap;
  background: rgba(30,30,30,.45); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.cursor-pill.on { opacity: 1; }
/* light "View" cursor pill, like the light buttons */
.cursor-pill, .ph-cta { background: rgba(255,255,255,.82); color: #141414; border-color: rgba(255,255,255,.9); box-shadow: 0 6px 16px -10px rgba(0,0,0,.4); }
.ph-status { position: absolute; left: 12px; top: 12px; z-index: 1; }

/* hero: slide-to-request-access replaces the button row on phones, full width */
.hero-unlock { display: none; }
@media (max-width: 640px) {
  .hero-desk { display: none; }
  .hero-unlock { display: flex; max-width: none; width: 100%; margin-top: 28px; }
}

/* thin drawn arrow used everywhere instead of the → text glyph */
:root { --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='12' viewBox='0 0 18 12' fill='none' stroke='black' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 6h16M12 1l5 5-5 5'/%3E%3C/svg%3E"); }
.arrow::after, .ar { content: ""; display: inline-block; width: 18px; height: 12px; background: currentColor;
  -webkit-mask: var(--arrow) no-repeat center / contain; mask: var(--arrow) no-repeat center / contain; flex-shrink: 0; }
.ar { vertical-align: -1px; margin-left: 2px; }
.unlock-knob .ar { margin: 0; }

/* chosen: thin chevron */
:root { --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='12' viewBox='0 0 8 12' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 1l5 5-5 5'/%3E%3C/svg%3E"); }
.arrow::after, .ar { width: 8px; height: 12px; }
.unlock-knob .ar { width: 9px; height: 14px; }

/* multi-step enquiry form (3 steps, progress dashes at the top) */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fstep { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 22px; }
.form-card .prog i { transition: background .3s ease, width .3s ease; }
.form-card .step-count { color: var(--ink-faint); margin-left: 8px; }
.step-nav { display: flex; gap: 10px; }
.step-nav .btn { flex: 1; justify-content: center; border-radius: 14px; padding: 16px; }
.step-nav .btn-back { flex: 0 0 auto; background: var(--field); color: var(--ink); border: 0; padding-inline: 26px; }
.form-card:not(.js-steps) [data-next], .form-card:not(.js-steps) [data-back], .form-card:not(.js-steps) .step-count { display: none; }
.form-card.js-steps .fstep:not(.cur) { display: none; }
.form-card.js-steps .fstep.cur { animation: stepin .35s ease; }
@keyframes stepin { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .form-card.js-steps .fstep.cur { animation: none; } }

/* client globe in the reviews card */
.rating-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 24px; align-items: center; }
.globe-wrap { position: relative; display: grid; justify-items: center; gap: 10px; }
.globe { width: 100%; max-width: 480px; aspect-ratio: 1; display: block; cursor: grab; touch-action: none; }
.globe.dragging { cursor: grabbing; }
.globe-hint { font-size: 11px; opacity: .7; }
@media (max-width: 760px) { .rating-row { grid-template-columns: 1fr; } .globe { max-width: 360px; } }

/* FAQ: smooth open/close (height animated in site.js) */
.faq details { overflow: hidden; }
.faq summary::after { transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.faq details.closing summary::after { transform: rotate(0); }

/* "View" cursor: same frosted glass as the menu pill, smaller chevron */
.cursor-pill, .ph-cta { background: color-mix(in srgb, var(--rim) 50%, transparent); color: var(--ink);
  border: 1px solid rgba(255,255,255,.45); box-shadow: 0 8px 24px -14px rgba(0,0,0,.35);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; }
.cursor-pill .ar, .ph-cta .ar { width: 6px; height: 9px; }

/* smaller globe */
.rating-row { grid-template-columns: minmax(0, 1fr) minmax(0, 340px); }
.globe { max-width: 340px; }
@media (max-width: 760px) { .rating-row { grid-template-columns: 1fr; } .globe { max-width: 280px; } }
.quote { border: 0; }

/* property gallery: 2 large + 3 small, then "View all" opens a full-screen sheet */
.gal { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.gal-item { grid-column: span 2; aspect-ratio: 4 / 3; border: 0; padding: 0; border-radius: var(--r-lg); overflow: hidden; position: relative; cursor: zoom-in; display: block; }
.gal-item:nth-child(-n+2) { grid-column: span 3; aspect-ratio: 16 / 11; border-radius: var(--r-xl); }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.gal-item:hover img { transform: scale(1.03); }
@media (max-width: 560px) {
  .gal { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gal-item, .gal-item:nth-child(-n+2) { grid-column: span 1; aspect-ratio: 1; border-radius: var(--r-md); }
  .gal-item:first-child { grid-column: span 2; aspect-ratio: 4 / 3; }
  .gal-item:nth-child(5) { display: none; }
}
@media (max-width: 860px) { .all-btn .btn { width: 100%; justify-content: center; padding-block: 16px; } }
.gal-sheet { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--bg); color: var(--ink); overflow-y: auto; overscroll-behavior: contain; }
.gal-sheet::backdrop { background: rgba(0,0,0,.4); }
.gal-sheet[open] { animation: sheetin .4s cubic-bezier(.2,.7,.2,1); }
@keyframes sheetin { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .gal-sheet[open] { animation: none; } }
.gal-bar { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 14px clamp(16px, 4vw, 40px);
  background: color-mix(in srgb, var(--bg) 80%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.gal-close { border: 0; border-radius: 999px; padding: 10px 18px; font: 500 14px var(--f-sans); background: var(--field, var(--surface)); color: var(--ink); cursor: pointer; }
.gal-all { max-width: 1100px; margin: 0 auto; padding: 8px clamp(16px, 4vw, 40px) 60px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gal-all .ph { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; scroll-margin-top: 80px; }
.gal-all .ph:nth-child(3n+1) { grid-column: span 2; aspect-ratio: 16 / 9; }
.gal-all img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 560px) { .gal-all { grid-template-columns: 1fr; } .gal-all .ph:nth-child(3n+1) { grid-column: auto; aspect-ratio: 4 / 3; } }

/* home featured cards: whole card links, frosted "View" cursor like the Properties page */
a.prop:hover { transform: none; }
@media (hover: hover) and (pointer: fine) { a.prop { cursor: none; } }
.p-body.p-body-one { grid-template-columns: 1fr; }

/* list bullets: white pulsing dot, same rhythm as the "Online now" dot */
.ticks li { grid-template-columns: 18px 1fr; gap: 12px; }
.ticks li::before { content: ""; width: 7px; height: 7px; margin: calc(.75em - 3.5px) 0 0 5px; border-radius: 50%; background: #fff; display: block;
  animation: live-w 2.4s ease-in-out infinite; }
.ticks li:nth-child(2)::before { animation-delay: .4s; }
.ticks li:nth-child(3)::before { animation-delay: .8s; }
.ticks li:nth-child(4)::before { animation-delay: 1.2s; }
@keyframes live-w {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 4px rgba(255,255,255,.16), 0 0 0 0 rgba(255,255,255,.4); }
  50% { opacity: .5; box-shadow: 0 0 0 4px rgba(255,255,255,.06), 0 0 0 9px rgba(255,255,255,0); }
}
@media (prefers-reduced-motion: reduce) { .ticks li::before { animation: none; } }

/* process steps: borderless, neutral until hovered; hover turns the card dark and fills its dashes up to that step */
.steps .step { border: 0; background: var(--surface); transition: background .35s ease, color .35s ease, transform .35s cubic-bezier(.2,.7,.2,1); outline: none; }
.steps .step p, .steps .step .mono { transition: color .35s ease; }
.steps .step .prog i { width: 28px; background: color-mix(in srgb, var(--ink) 14%, transparent); position: relative; overflow: hidden; }
.steps .step .prog i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.steps .step:is(:hover, :focus-visible) { background: var(--night); color: var(--night-ink); transform: translateY(-3px); }
.steps .step:is(:hover, :focus-visible) p, .steps .step:is(:hover, :focus-visible) .mono { color: var(--night-soft); }
.steps .step:is(:hover, :focus-visible) .prog i { background: rgba(255,255,255,.18); }
.steps .step:is(:hover, :focus-visible) .prog i:nth-child(1)::after { transform: scaleX(1); transition-delay: .05s; }
.steps .step:nth-child(n+2):is(:hover, :focus-visible) .prog i:nth-child(2)::after { transform: scaleX(1); transition-delay: .2s; }
.steps .step:nth-child(n+3):is(:hover, :focus-visible) .prog i:nth-child(3)::after { transform: scaleX(1); transition-delay: .35s; }
/* touch screens have no hover: show each step's progress filled in ink */
@media (hover: none) {
  .steps .step .prog i::after { background: var(--ink); }
  .steps .step .prog i:nth-child(1)::after, .steps .step:nth-child(n+2) .prog i:nth-child(2)::after, .steps .step:nth-child(n+3) .prog i:nth-child(3)::after { transform: scaleX(1); }
}
@media (prefers-reduced-motion: reduce) { .steps .step, .steps .step .prog i::after { transition: none; } }

/* light panes: no border */
.pane-light { border: 0; }

/* WhatsApp button: green, white spinner */
.btn-wa { background: linear-gradient(180deg, #2fbf62, #1e9e4c); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 8px 20px -10px rgba(30,158,76,.7); }
.btn-wa:hover { background: linear-gradient(180deg, #34c968, #1c9447); }
.btn-wa .ring { border-color: rgba(255,255,255,.3); border-top-color: #fff; }

/* TRIAL: labels in the main sans font, sentence case (remove this block to go back to mono caps) */
:root { --f-mono: var(--f-sans); }
.mono, .chip, .field label, .flabel, .marq div { text-transform: none; letter-spacing: -0.005em; }
.mono { font-size: 14px; font-weight: 500; }
.chip { font-size: 12.5px; }
.field label, .flabel { font-size: 13px; }
.marq div { font-size: 15px; }

/* form card: no border */
.form-card { border: 0; }

/* dark panes: the soft lighter glow drifts toward the cursor on hover (positions set in site.js) */
.pane-dark { background: radial-gradient(120% 80% at var(--gx, 20%) var(--gy, 0%), #282828 0%, var(--night) 60%); }

/* La Zagaleta: dark green */
.area.a-green { background: radial-gradient(120% 70% at 25% 12%, #3d5a45 0%, transparent 60%), linear-gradient(180deg, #1f3427, #0f1d15); }
.area.a-green { background: radial-gradient(120% 70% at 25% 12%, #4a5a4e 0%, transparent 60%), linear-gradient(180deg, #2c3630, #171d19); }

/* process steps v2: hover = just a touch darker with a soft light glow following the cursor; text stays dark, dashes fill in ink */
.steps .step:is(:hover, :focus-visible) { color: var(--ink);
  background: radial-gradient(70% 90% at var(--gx, 20%) var(--gy, 0%), color-mix(in srgb, var(--surface) 70%, #fff) 0%, color-mix(in srgb, var(--surface) 92%, var(--ink)) 70%); }
.steps .step:is(:hover, :focus-visible) p { color: var(--ink-soft); }
.steps .step:is(:hover, :focus-visible) .mono { color: var(--ink-soft); }
.steps .step:is(:hover, :focus-visible) .prog i { background: color-mix(in srgb, var(--ink) 14%, transparent); }
.steps .step .prog i::after { background: var(--ink); }
.steps .step:is(:hover, :focus-visible) { transform: none; }
/* steps v3: card keeps its colour; hover adds a darker soft spot that follows the cursor */
.steps .step:is(:hover, :focus-visible) {
  background: radial-gradient(55% 75% at var(--gx, 20%) var(--gy, 0%), color-mix(in srgb, var(--surface) 84%, var(--ink)) 0%, var(--surface) 100%); }
/* steps v4: no jump. The card background never changes; the darker spot lives on a layer that fades in. */
.steps .step, .steps .step:is(:hover, :focus-visible) { background: var(--surface); position: relative; isolation: isolate; }
.steps .step::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
  background: radial-gradient(55% 75% at var(--gx, 50%) var(--gy, 50%), color-mix(in srgb, var(--surface) 84%, var(--ink)) 0%, transparent 100%);
  opacity: 0; transition: opacity .6s ease; }
.steps .step:is(:hover, :focus-visible)::before { opacity: 1; }

/* client-type cards: same cursor spot as the steps (darker on light cards, lighter on the dark one) */
.spec { position: relative; isolation: isolate; }
.spec::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
  background: radial-gradient(55% 75% at var(--gx, 50%) var(--gy, 50%), color-mix(in srgb, var(--surface) 84%, var(--ink)) 0%, transparent 100%);
  opacity: 0; transition: opacity .6s ease; }
.spec.dark::before { background: radial-gradient(55% 75% at var(--gx, 50%) var(--gy, 50%), #2e2e2e 0%, transparent 100%); }
.spec:hover::before { opacity: 1; }

/* TRIAL: reviews section in dark grey */
.sand-card { background: radial-gradient(90% 70% at 15% 0%, #3a3a39 0%, transparent 60%), linear-gradient(180deg, #2b2b2a, #1b1b1a); color: #f2f1ee;
  --globe-dot: #e9e7e2; --globe-edge: rgba(255,255,255,.14); --globe-hi: rgba(255,255,255,.10); --globe-lo: rgba(255,255,255,.02); }
.sand-card .mono { color: #a3a19c; }
.sand-card .quote { background: rgba(255,255,255,.06); }
.sand-card .quote .mono { color: #a3a19c; }
.sand-card .press span { color: #f2f1ee; opacity: .6; }

/* home hero photo (Casa Cuiaba at dusk) */
.hero-bg { position: absolute !important; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; z-index: 0 !important; }
.hero:has(.hero-bg)::after { inset: 0; height: auto; z-index: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.38) 0%, rgba(0,0,0,0) 22%), linear-gradient(20deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 45%, rgba(0,0,0,0) 70%); }
@media (max-width: 640px) { .hero-bg { object-position: 66% 50%; } }
.hero-bg { object-position: 62% 80%; }
@media (max-width: 640px) { .hero-bg { object-position: 66% 50%; } }

/* text selection: light grey everywhere */
::selection { background: #dcdbd8; color: #141414; }
::-moz-selection { background: #dcdbd8; color: #141414; }
/* hero headline a touch lighter */
.hero h1 { font-weight: 450; }

/* video card: same footprint as the "Why work exclusively" card, photo background, play CTA */
.video-card { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-xl); color: #fff; min-height: clamp(380px, 42vw, 560px);
  padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; background: #6e6d6a; }
.video-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; z-index: -2; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.video-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(15deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.2) 45%, rgba(0,0,0,0) 70%); }
.video-card .mono { color: rgba(255,255,255,.85); }
.video-card h2 { font-weight: 300; margin-top: 16px; }
.video-card h2 b { font-weight: 600; }
.video-card h2 .thin { font-weight: 300; }
.video-play { justify-self: end; display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: #fff; font-size: 15px;
  padding: 8px 22px 8px 8px; border-radius: 999px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: background .3s; }
.video-play:hover { background: rgba(255,255,255,.28); }
.play-btn { width: 52px; height: 52px; border-radius: 50%; background: #fff; display: grid; place-items: center; position: relative; }
.play-btn::before { content: ""; width: 0; height: 0; margin-left: 4px; border-style: solid; border-width: 9px 0 9px 14px; border-color: transparent transparent transparent #141414; }
.play-btn::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(255,255,255,.6); animation: playpulse 2.4s ease-out infinite; }
@keyframes playpulse { from { transform: scale(.9); opacity: .9; } to { transform: scale(1.35); opacity: 0; } }
@media (max-width: 860px) { .video-card { grid-template-columns: 1fr; } .video-play { justify-self: start; } }
@media (prefers-reduced-motion: reduce) { .play-btn::after { animation: none; } .video-bg { transition: none; } }
/* hero headline a little smaller */
.hero h1 { font-size: clamp(38px, 6.4vw, 84px); }
.hero h1 { font-size: clamp(34px, 5.4vw, 70px); }

/* Hero split button: both actions in one frosted pill, the active one turns white */
.hero-split { position: relative; z-index: 1; display: inline-flex; gap: 4px; padding: 5px; margin-top: 30px; border-radius: 999px; width: fit-content;
  background: rgba(255,255,255,.14); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.hero-split a { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 46px; padding: 0 18px; border-radius: 999px;
  color: #fff; text-decoration: none; font-size: 15px; white-space: nowrap; transition: background .35s ease, color .35s ease, padding .35s ease; }
.hero-split a .hs-ar { display: inline-block; width: 0; overflow: hidden; opacity: 0; transition: width .35s ease, opacity .25s ease; }
.hero-split a.on { background: #fff; color: #141414; padding: 0 20px 0 24px; font-weight: 500; }
.hero-split a.on .hs-ar { width: 10px; opacity: 1; }
.hero-split a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 640px) { .hero-split { display: flex; flex-direction: column; width: 100%; border-radius: 28px; margin-top: 26px; } }
@media (prefers-reduced-motion: reduce) { .hero-split a, .hero-split a .hs-ar { transition: none; } }

/* Footer light / dark toggle: a tiny version of the hero split pill */
.theme-tog { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 3px; border-radius: 999px; background: var(--surface); align-self: center; }
.theme-tog .tt-thumb { position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 999px; background: var(--ink);
  transition: transform .4s cubic-bezier(.3,1.3,.5,1); }
.theme-tog[data-on="dark"] .tt-thumb { transform: translateX(100%); }
.theme-tog button { position: relative; appearance: none; border: 0; background: none; font: 500 12px/1 var(--f-sans); color: var(--ink-soft);
  padding: 7px 12px; min-width: 52px; border-radius: 999px; cursor: pointer; transition: color .3s ease; }
.theme-tog button[aria-checked="true"] { color: var(--ground); }
.theme-tog button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.theme-anim, .theme-anim body, .theme-anim body *:not(.tt-thumb) { transition: background-color .4s ease, color .4s ease, border-color .4s ease !important; }

/* Progressive bottom blur (layers added by site.js) */
.edge-blur { position: fixed; left: 0; right: 0; bottom: 0; height: 96px; z-index: 40; pointer-events: none; transition: opacity .4s ease; }
.edge-blur.off { opacity: 0; }
.edge-blur::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--ground) 55%, transparent)); }
.edge-blur i { position: absolute; inset: 0; }
.edge-blur i:nth-child(1) { -webkit-backdrop-filter: blur(1px); backdrop-filter: blur(1px); -webkit-mask: linear-gradient(to bottom, transparent 0%, #000 20%, #000 40%, transparent 60%); mask: linear-gradient(to bottom, transparent 0%, #000 20%, #000 40%, transparent 60%); }
.edge-blur i:nth-child(2) { -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); -webkit-mask: linear-gradient(to bottom, transparent 20%, #000 40%, #000 60%, transparent 80%); mask: linear-gradient(to bottom, transparent 20%, #000 40%, #000 60%, transparent 80%); }
.edge-blur i:nth-child(3) { -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); -webkit-mask: linear-gradient(to bottom, transparent 40%, #000 60%, #000 80%, transparent 100%); mask: linear-gradient(to bottom, transparent 40%, #000 60%, #000 80%, transparent 100%); }
.edge-blur i:nth-child(4) { -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); -webkit-mask: linear-gradient(to bottom, transparent 60%, #000 80%); mask: linear-gradient(to bottom, transparent 60%, #000 80%); }
.edge-blur i:nth-child(5) { -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); -webkit-mask: linear-gradient(to bottom, transparent 80%, #000 100%); mask: linear-gradient(to bottom, transparent 80%, #000 100%); }
@media (max-width: 640px) { .edge-blur { height: 72px; } }

/* Advisory slider: full card width, iPhone-style (centred shimmering label, springy return) */
.blush-card .unlock-wide { grid-column: 1 / -1; max-width: none; width: 100%; margin-top: 4px; height: 64px; padding: 0 72px; justify-content: center; }
.unlock-wide .unlock-knob { width: 52px; height: 52px; }
.unlock-wide .unlock-label { font-size: 17px; letter-spacing: .01em; transition: opacity .15s linear; }
.unlock-wide.snap .unlock-knob, .unlock-wide.snap .unlock-fill { transition: transform .55s cubic-bezier(.3,1.35,.5,1), width .55s cubic-bezier(.3,1.35,.5,1); }
.unlock-wide.snap .unlock-label { transition: opacity .4s ease .1s; }
.unlock-wide .unlock-label { white-space: nowrap; }
@media (max-width: 640px) { .blush-card .unlock-wide { padding: 0 20px 0 70px; height: 60px; } .unlock-wide .unlock-label { font-size: 15px; } }
.edge-blur::after { content: none; }
/* desktop: back to the original size inside the right column; full width only on mobile */
.blush-card .unlock-wide { grid-column: auto; max-width: 360px; height: 60px; margin-top: 28px; padding: 0 22px 0 72px; justify-content: flex-start; }
.unlock-wide .unlock-knob { width: 48px; height: 48px; }
.unlock-wide .unlock-label { font-size: 15px; letter-spacing: 0; }
@media (max-width: 860px) { .blush-card .unlock-wide { max-width: none; width: 100%; } }

/* Area cards: gradients drift slowly */
.area { background-size: 170% 170% !important; animation: areaDrift 22s ease-in-out infinite alternate; }
.area:nth-child(2) { animation-duration: 26s; animation-delay: -7s; }
.area:nth-child(3) { animation-duration: 24s; animation-delay: -13s; }
.area:nth-child(4) { animation-duration: 28s; animation-delay: -4s; }
@keyframes areaDrift { 0% { background-position: 0% 0%; } 50% { background-position: 100% 40%; } 100% { background-position: 40% 100%; } }
@media (prefers-reduced-motion: reduce) { .area { animation: none; background-size: auto !important; } }
/* faster, wider drift so it reads */
.area { background-size: 220% 220% !important; animation-duration: 11s; }
.area:nth-child(2) { animation-duration: 13s; animation-delay: -4s; }
.area:nth-child(3) { animation-duration: 12s; animation-delay: -8s; }
.area:nth-child(4) { animation-duration: 14s; animation-delay: -2s; }
@media (prefers-reduced-motion: reduce) { .area { animation: none; background-size: auto !important; } }

/* Rating block, tidied: one label (the card's), smaller number, one caption line */
.rating { display: grid; gap: 14px; align-content: center; }
.rating .bignum { font-size: clamp(88px, 13vw, 168px); line-height: .85; display: flex; align-items: flex-start; gap: .08em; }
.rating .bignum .star { font-size: .32em; line-height: 1; margin-top: .14em; opacity: .55; letter-spacing: 0; }
.rating-cap { margin: 0; font-size: 17px; opacity: .7; }
/* quicker still: motion reads within a couple of seconds */
.area { animation-duration: 5s; }
.area:nth-child(2) { animation-duration: 6.5s; animation-delay: -2s; }
.area:nth-child(3) { animation-duration: 6s; animation-delay: -4s; }
.area:nth-child(4) { animation-duration: 7s; animation-delay: -1s; }
@media (prefers-reduced-motion: reduce) { .area { animation: none; background-size: auto !important; } }

/* Properties filter */
.pfilter { display: grid; gap: 12px; margin: 8px 0 18px; padding: 10px; border-radius: var(--r-xl); background: var(--rim); }
.pf-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.fsel select { width: 100%; appearance: none; -webkit-appearance: none; font: inherit; font-size: 14px; color: var(--ink); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%239b9b98' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 16px center;
  border: 1px solid transparent; border-radius: 999px; padding: 12px 36px 12px 16px; cursor: pointer; }
.fsel select:focus-visible { outline: none; border-color: var(--ink-faint); }
.pf-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 2px 6px 2px 4px; }
.pf-foot .fsel { margin-left: auto; }
.pf-foot .fsel select { background-color: transparent; padding-block: 8px; }
.pf-more, .pf-clear { appearance: none; border: 0; font: inherit; font-size: 14px; cursor: pointer; border-radius: 999px; }
.pf-more { background: var(--ink); color: var(--ground); padding: 9px 16px; }
.pf-clear { background: none; color: var(--ink-soft); padding: 9px 6px; }
.pf-clear:hover { color: var(--ink); }
.pf-count { font-size: 14px; color: var(--ink-soft); }
.pf-count b { color: var(--ink); font-weight: 500; }
.pf-feats { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px; }
.fchip input { position: absolute; opacity: 0; pointer-events: none; }
.fchip span { display: inline-block; padding: 9px 14px; border-radius: 999px; background: var(--surface); font-size: 14px; cursor: pointer; transition: background .2s, color .2s; }
.fchip input:checked + span { background: var(--ink); color: var(--ground); }
.fchip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.llist[hidden] { display: none; }
.pf-empty .shell-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 12px; }
@media (max-width: 860px) { .pf-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pf-empty .shell-in { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .pf-foot .fsel { margin-left: 0; } }
.lrow[hidden], .pf-empty[hidden] { display: none !important; }

/* Header tucks away on scroll down */
.top { transition: transform .35s cubic-bezier(.3,.7,.3,1), color .25s; }
.top.tuck { transform: translateY(calc(-100% - 10px)); }

/* Mobile docked WhatsApp slider (hidden on desktop) */
.dock-slide { display: none; }
@media (max-width: 640px) {
  .dock-slide { display: flex; position: fixed; z-index: 45; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); margin: 0;
    max-width: none; height: 58px; padding: 0 20px 0 68px; justify-content: center; color: #fff;
    background: rgba(30,30,30,.55); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
    border: 1px solid rgba(255,255,255,.18); box-shadow: 0 14px 30px -14px rgba(0,0,0,.5);
    transform: translateY(140%); transition: transform .45s cubic-bezier(.3,1.2,.5,1); }
  .dock-slide.up { transform: none; }
  .dock-slide .unlock-label { font-size: 15px; }
  .dock-slide .unlock-knob { top: 4px; left: 4px; width: 48px; height: 48px; }
}

/* Property feature tiles (replace the scrolling strip) */
.ftiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ftile { background: var(--surface); border-radius: var(--r-lg); padding: 22px; display: grid; gap: 26px; align-content: space-between; min-height: 140px; }
.ftile svg { width: 26px; height: 26px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ftile span { font-size: 16px; font-weight: 500; letter-spacing: -.01em; }
@media (max-width: 760px) { .ftiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ftile { min-height: 120px; padding: 18px; } }

/* Custom dropdowns: the select is the trigger; the list below replaces the browser picker */
.cs { position: relative; }
.cs > select { pointer-events: none; }
.cs { cursor: pointer; }
.cs-list { position: absolute; z-index: 60; left: 0; right: 0; top: calc(100% + 6px); min-width: 180px; max-height: 300px; overflow-y: auto; overscroll-behavior: contain;
  padding: 6px; border-radius: 18px; background: var(--rim); box-shadow: 0 1px 0 rgba(0,0,0,.02), 0 24px 48px -18px rgba(20,20,20,.28), 0 0 0 1px color-mix(in srgb, var(--ink) 6%, transparent);
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98); transform-origin: top center;
  transition: opacity .22s ease, transform .38s cubic-bezier(.2,.9,.25,1), visibility 0s linear .38s; scrollbar-width: thin; }
.cs-up .cs-list { top: auto; bottom: calc(100% + 6px); transform: translateY(6px) scale(.98); transform-origin: bottom center; }
.cs-open .cs-list { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .42s cubic-bezier(.2,.9,.25,1), visibility 0s; }
.cs-list:focus { outline: none; }
.cs-opt { padding: 11px 14px; border-radius: 12px; font-size: 15px; color: var(--ink); cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  opacity: 0; transform: translateY(-3px); transition: background .15s ease, opacity .3s ease, transform .4s cubic-bezier(.2,.9,.25,1); }
.cs-open .cs-opt { opacity: 1; transform: none; }
.cs-open .cs-opt:nth-child(2) { transition-delay: 0s, .02s, .02s; } .cs-open .cs-opt:nth-child(3) { transition-delay: 0s, .04s, .04s; }
.cs-open .cs-opt:nth-child(4) { transition-delay: 0s, .06s, .06s; } .cs-open .cs-opt:nth-child(n+5) { transition-delay: 0s, .08s, .08s; }
.cs-opt.cs-act { background: var(--surface); }
.cs-opt[aria-selected="true"] { font-weight: 500; }
.cs-opt[aria-selected="true"]::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); flex: none; }
.cs-open > select { border-color: var(--ink-faint); }
.pfilter .cs-list { border-radius: 20px; }
.pf-foot .cs-list { left: auto; right: 0; min-width: 200px; }
@media (prefers-reduced-motion: reduce) { .cs-list, .cs-opt { transition: none !important; } }

/* Full-screen gallery: darker, heavily blurred backdrop so the page behind reads as soft shapes only (both themes) */
.gal-sheet { background: rgba(10,10,10,.78); -webkit-backdrop-filter: blur(36px) saturate(120%); backdrop-filter: blur(36px) saturate(120%); color: #f1f0ed; }
.gal-sheet::backdrop { background: rgba(0,0,0,.55); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
.gal-sheet[open] { animation-name: sheetfade; }
@keyframes sheetfade { from { opacity: 0; } to { opacity: 1; } }
.gal-sheet .gal-bar { background: rgba(10,10,10,.55); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); color: rgba(241,240,237,.75); box-shadow: none; }
.gal-sheet .gal-close { background: rgba(255,255,255,.14); color: #fff; }
.gal-sheet .gal-close:hover { background: rgba(255,255,255,.24); }

/* Property pages: no long-press save, selection or drag on photos */
.no-save img { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; -webkit-user-drag: none; }

/* Header menu: sliding highlight pill (added by site.js) */
.nav.has-ind { position: relative; }
.nav-ind { position: absolute; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 999px; background: var(--surface); opacity: 0; pointer-events: none;
  transition: transform .5s cubic-bezier(.22,1,.36,1), width .5s cubic-bezier(.22,1,.36,1), opacity .3s ease; }
.top.over .nav-ind { background: rgba(255,255,255,.2); }
.nav.has-ind a { position: relative; background: none !important; transition: color .3s ease; }
.nav.has-ind a:not(.is-ind) { color: var(--ink-soft); }
.nav.has-ind a.is-ind { color: var(--ink); }
.top.over .nav.has-ind a:not(.is-ind) { color: rgba(255,255,255,.75); }
.top.over .nav.has-ind a.is-ind { color: #fff; }
@media (prefers-reduced-motion: reduce) { .nav-ind { transition: opacity .2s ease; } }

/* Second chip on a featured card photo (e.g. Pocket listing), top-right */
.ph .chip.chip-r { left: auto; right: 14px; }

/* Properties filter: Clear as a pill a shade darker than the filter panel, at the end of the row */
.pf-clear { margin-left: auto; padding: 9px 16px; color: var(--ink); background: color-mix(in srgb, var(--rim) 88%, var(--ink)); transition: background .2s ease; }
.pf-clear:hover { background: color-mix(in srgb, var(--rim) 80%, var(--ink)); }

/* Properties filter: dropdown pills a little lighter, between the panel and the old surface tone */
.pfilter .pf-row .fsel select { background-color: color-mix(in srgb, var(--surface) 55%, var(--rim)); }
.pfilter .pf-row .fsel select:hover { background-color: var(--surface); }

/* Feature chips: same lighter tone as the filter dropdowns */
.pfilter .fchip span { background: color-mix(in srgb, var(--surface) 55%, var(--rim)); }
.pfilter .fchip span:hover { background: var(--surface); }
.pfilter .fchip input:checked + span { background: var(--ink); color: var(--ground); }

/* Results count sits between the filter panel and the first card */
.pf-count-out { margin: -4px 4px 14px; font-size: 14px; }

/* Detailed search: quiet text with a filter icon instead of a black pill */
.pf-more { background: none; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; transition: background .2s ease, color .2s ease; }
.pf-more svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.pf-more:hover, .pf-more[aria-expanded="true"] { color: var(--ink); background: color-mix(in srgb, var(--rim) 92%, var(--ink)); }

/* Clear: reset arrow that spins once on click */
.pf-clear { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 16px; color: var(--ink); }
.pf-clear svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; transition: transform .5s cubic-bezier(.3,1.2,.4,1); }
.pf-clear.go svg { transform: rotate(-360deg); }
@media (prefers-reduced-motion: reduce) { .pf-clear svg { transition: none; } }

/* Detailed search: text only, no pill on hover or when open */
.pf-more, .pf-more:hover, .pf-more[aria-expanded="true"] { background: none; padding: 0 6px; }

/* Clear: icon-only round button pinned to the filter card's bottom-right corner */
.pfilter { position: relative; }
.pf-clear { position: absolute; right: 10px; bottom: 10px; width: 38px; height: 38px; padding: 0; justify-content: center; margin: 0; }
.pf-clear:hover svg { transform: rotate(-45deg); }
.pf-clear.go svg { transform: rotate(-360deg); }
.pf-foot, .pf-feats { padding-right: 52px; }

/* Watermark on every photo in the full-screen gallery */
.gal-all .ph { position: relative; }
.gal-all .ph::after { content: "Gašper Plahutnik"; position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none;
  font-family: var(--f-sans, "Geist", sans-serif); font-weight: 450; letter-spacing: -.01em; font-size: clamp(22px, 4.2vw, 52px);
  color: rgba(255,255,255,.42); text-shadow: 0 1px 12px rgba(0,0,0,.25); }

/* All-properties cards: one layout for every listing (one-line location and name, two-line summary, one row of facts) */
.lrow .lmain > .mono, .lrow .lmain h2 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lrow .lmain p { -webkit-line-clamp: 2; min-height: calc(2 * 1.5em); line-height: 1.5; }
.lrow .lfacts { flex-wrap: nowrap; overflow: hidden; gap: 5px; min-height: 28px; }
.lrow .lfacts span { white-space: nowrap; padding: 5px 9px; font-size: 12px; flex: none; }
.lrow .lfacts { flex-wrap: wrap; overflow: visible; min-height: calc(2 * 26px + 5px); align-content: flex-start; }

/* ---------------- developer calculator */
.calc { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.calc-in { display: grid; gap: 14px; min-width: 0; }
.calc-out { position: sticky; top: 92px; min-width: 0; }
.ccard { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(20px, 3vw, 30px); display: grid; gap: 18px; min-width: 0; }
.cgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.cgrid .field { align-content: start; }
.cin { display: flex; align-items: center; background: var(--surface); border: 1px solid transparent; border-radius: 14px; transition: border-color .2s; }
.cin:focus-within { border-color: var(--ink-faint); }
.cin input, .field .cin input { background: none; border: 0; padding: 12px 14px; min-width: 0; flex: 1; font-variant-numeric: tabular-nums; }
.cin .cu { font: 500 12px var(--f-mono); color: var(--ink-faint); padding-right: 14px; white-space: nowrap; }
.cin .cu-pre { padding: 0 0 0 14px; }
.cin .cu-pre + input { padding-left: 6px; }
.cin input.empty { box-shadow: none; }
.cin:has(input.empty) { border-color: #e6a817; background: color-mix(in srgb, #e6a817 8%, var(--surface)); }
.cout { display: block; padding: 12px 0 4px; font-size: 17px; font-weight: 500; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; border-bottom: 1px dashed var(--line); }
.ch { color: var(--ink-faint); font-size: 12px; line-height: 1.35; }
.cirr { display: contents; }
.cirr[hidden] { display: none; }
.csub { display: grid; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.csub:first-of-type { border-top: 0; padding-top: 0; }
.csub h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 16px; letter-spacing: -0.01em; margin: 0; }
.csub h3 > i, .cleg i, .srow > i { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; display: inline-block; }
.ctag { font: 500 11px var(--f-mono); color: var(--ink-faint); padding: 3px 8px; border-radius: 999px; border: 1px solid var(--line); }
.cseg { margin-left: auto; display: inline-flex; padding: 3px; border-radius: 999px; background: var(--surface); }
.cseg button { font: 500 12.5px var(--f-sans); border: 0; background: none; color: var(--ink-soft); padding: 7px 13px; border-radius: 999px; cursor: pointer; }
.cseg button[aria-selected="true"] { background: var(--ink); color: var(--rim); }
.ctog { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; padding-top: 8px; font-size: 14px; color: var(--ink-soft); }
.ctog input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ctog-sl { width: 40px; height: 24px; border-radius: 999px; background: var(--line); position: relative; transition: background .2s; }
.ctog-sl::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s; }
.ctog input:checked + .ctog-sl { background: var(--ink); }
.ctog input:checked + .ctog-sl::after { transform: translateX(16px); }
.ctog input:focus-visible + .ctog-sl { outline: 2px solid var(--ink-faint); outline-offset: 2px; }
.cbar { display: flex; height: 8px; border-radius: 999px; overflow: hidden; gap: 2px; background: var(--surface); }
.cbar span { height: 100%; transition: width .3s; }
.cbar .rest { background: var(--surface); }
.cleg { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--ink-soft); }
.cleg span { display: inline-flex; align-items: center; gap: 7px; }
.csplit { display: grid; gap: 8px; }
.srow { display: grid; grid-template-columns: 9px minmax(0, 1fr) 96px minmax(90px, 130px) 36px; align-items: center; gap: 10px; }
.srow > input { font: inherit; color: var(--ink); background: var(--surface); border: 1px solid transparent; border-radius: 14px; padding: 11px 14px; min-width: 0; }
.srow > input:focus { outline: none; border-color: var(--ink-faint); }
.cin-sm input { padding: 11px 4px 11px 12px; width: 100%; }
.cin-sm .cu { padding-right: 12px; }
.samt { text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; font-size: 15px; }
.srem { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--ink-soft); font-size: 18px; line-height: 1; cursor: pointer; }
.srem:hover:not(:disabled) { background: var(--surface); color: var(--ink); }
.srem:disabled { opacity: .35; cursor: default; }
.csplit-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.cadd { font: 500 14px var(--f-sans); color: var(--ink); background: none; border: 1px dashed var(--ink-faint); border-radius: 999px; padding: 9px 16px; cursor: pointer; }
.cadd:hover { background: var(--surface); }
.cmsg { font: 500 12px var(--f-mono); color: var(--ink-faint); }
.cmsg.ok { color: #2e7d4f; } .cmsg.bad { color: #c0392b; }
.cres { gap: 20px; }
.cstats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cstat { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: var(--r-md); padding: 14px 16px; display: grid; gap: 4px; min-width: 0; }
.cstat span { font: 500 12px var(--f-mono); color: var(--night-soft); }
.cstat b { font-weight: 500; font-size: clamp(19px, 2vw, 25px); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.cstat small { color: rgba(255,255,255,.45); font-size: 12px; }
.cstat.pos b { color: #9fd37a; } .cstat.neg b { color: #ff8a7a; }
.cbars { display: grid; gap: 11px; }
.cb { display: grid; grid-template-columns: 1fr auto; gap: 5px 10px; font-size: 13px; color: var(--night-soft); }
.cb b { font-weight: 500; color: var(--night-ink); font-variant-numeric: tabular-nums; }
.cb-t { grid-column: 1 / -1; height: 5px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; }
.cb-t i { display: block; height: 100%; border-radius: 999px; transition: width .3s; }
.cres .btn { justify-content: center; text-decoration: none; }
.ctable { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 10px clamp(12px, 2.5vw, 24px); overflow-x: auto; }
.ctable table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.ctable th { font: 500 12px var(--f-mono); color: var(--ink-faint); text-align: left; padding: 12px 10px; }
.ctable th:last-child, .ctable td:last-child { text-align: right; white-space: nowrap; }
.ctable td { padding: 11px 10px; border-top: 1px solid var(--line); }
.ctable tr.ind td:first-child { padding-left: 30px; color: var(--ink-faint); }
.ctable tr.ind td:last-child { color: var(--ink-soft); }
.ctable tr.gap td { border-top-color: var(--ink-faint); }
.ctable tr.tot td { font-weight: 600; background: var(--surface); border-top: 0; }
.ctable tr.tot td:first-child { border-radius: 12px 0 0 12px; } .ctable tr.tot td:last-child { border-radius: 0 12px 12px 0; }
.ctable tr.tot + tr td { border-top: 0; }
.ctable tr.pos td, .ctable tr.party td { color: #2e7d4f; font-weight: 500; }
.ctable tr.neg td { color: #c0392b; }
#cgate .field.invalid input { border-color: #c0392b; }
#cgate .btn-dark { justify-content: center; }
.foot a { color: inherit; }
@media (max-width: 960px) {
  .calc { grid-template-columns: 1fr; }
  .calc-out { position: static; }
}
@media (max-width: 560px) {
  .cgrid { grid-template-columns: 1fr 1fr; }
  .cseg { margin-left: 0; }
  .srow { grid-template-columns: 9px minmax(0, 1fr) 84px 36px; }
  .srow .samt { grid-column: 2 / 4; text-align: left; font-size: 13px; color: var(--ink-soft); margin-top: -4px; }
  .srow .srem { grid-row: 1; grid-column: 4; }
  .cstats { grid-template-columns: 1fr 1fr; }
  .cstat b { font-size: 18px; }
}

/* small phones: keep the header on one row so the status badge is never pushed off screen */
.nav a { white-space: nowrap; }
@media (max-width: 430px) {
  .top .wrap { gap: 8px; }
  .nav { gap: 0; padding: 4px; }
  .nav a { padding: 8px 10px; font-size: 13.5px; }
  .brand-name { font-size: 15px; line-height: 1.15; }
  .badge-top { width: 42px; height: 42px; flex-shrink: 0; }
}
@media (max-width: 380px) {
  .top .wrap { gap: 6px; }
  .nav a { padding: 7px 8px; font-size: 13px; }
  .brand-name { font-size: 14px; }
  .badge-top { width: 38px; height: 38px; }
}
/* phones: no name in the header, just the menu pill (centred) and the online dot */
@media (max-width: 560px) {
  .top .brand { display: none; }
  .top .wrap { grid-template-columns: 1fr auto 1fr; gap: 8px; }
  .top .nav { grid-column: 2; }
  .top .badge-top { grid-column: 3; }
  .nav a { padding: 8px 13px; font-size: 14px; }
  .badge-top { width: 44px; height: 44px; }
}
@media (max-width: 360px) { .nav a { padding: 7px 10px; font-size: 13.5px; } }

/* home: buying costs questionnaire + mortgage calculator */
#costs .shell-in { align-items: stretch; }
#buycost .choice label small { display: block; font-size: 13px; color: var(--ink-faint); margin-top: 2px; }
#buycost .choice input:checked + label small { color: var(--night-soft); }
#buycost .fstep { gap: 18px; }
.bc-total { display: grid; gap: 4px; }
.bc-total b { font-weight: 500; font-size: clamp(36px, 5vw, 52px); letter-spacing: -0.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.bc-total small { color: var(--ink-faint); font-size: 14px; }
.bc-tbl { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.bc-tbl td { padding: 10px 2px; border-top: 1px solid var(--line); }
.bc-tbl td:last-child { text-align: right; white-space: nowrap; }
.bc-tbl tr.tot td { font-weight: 600; }
.mcalc .field label { color: var(--night-soft); }
.mcalc .cin { background: rgba(255,255,255,.06); }
.mcalc .cin:focus-within { border-color: rgba(255,255,255,.3); }
.mcalc .cin input { color: var(--night-ink); }
.mcalc .cin .cu { color: var(--night-soft); }
.mcalc .ch { color: rgba(255,255,255,.45); }
.mcalc .ch.warn { color: #f2a93b; }
.mcalc .cgrid { grid-template-columns: 1fr 1fr; }
.mc-out { margin-top: auto; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); display: grid; gap: 6px; }
.mc-out b { font-weight: 500; font-size: clamp(40px, 6vw, 64px); letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.mc-out small { color: var(--night-soft); font-size: 14px; }
@media (max-width: 900px) { #costs .shell-in { grid-template-columns: 1fr; } }
#buycost { align-content: start; }
#buycost .fstep legend { display: block; }

/* developer calculator as a staged questionnaire */
.csteps { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 8px; }
.csteps .prog i { width: 28px; }
.csteps .prog i.on { background: var(--ink); }
.calc-in.js-steps .ccard:not(.cur) { display: none; }
.calc-in.js-steps .ccard.cur { animation: stepin .35s ease; }
.cstep-nav { display: flex; gap: 10px; justify-content: flex-end; padding-top: 6px; }
.cstep-nav .btn-dark { border-radius: 14px; padding: 14px 22px; }
.calc-in:not(.js-steps) .cstep-nav { display: none; }
.ccard .choice label small { display: block; font-size: 13px; color: var(--ink-faint); margin-top: 2px; }
.ccard .choice input:checked + label small, #buycost .choice input:checked + label small { color: var(--night-soft); }
.choices-3 { grid-template-columns: repeat(3, 1fr); margin-top: 6px; }
.choices-3 .choice label { padding: 14px 16px; font-size: 15px; }
#buycost .choice label small { display: block; font-size: 12.5px; color: var(--ink-faint); margin-top: 2px; }
@media (max-width: 560px) { .choices-3 { grid-template-columns: 1fr; } }
/* home calculators: two equal light cards, mortgage first, big titles */
#costs .form-card { align-content: start; gap: 20px; }
.ctitle { display: grid; gap: 8px; padding-bottom: 6px; }
.ctitle h3 { font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -0.03em; line-height: 1; font-weight: 500; }
.mcalc .field label { color: var(--ink-soft); }
.mcalc .cin { background: var(--surface); }
.mcalc .cin:focus-within { border-color: var(--ink-faint); }
.mcalc .cin input { color: var(--ink); }
.mcalc .cin .cu { color: var(--ink-faint); }
.mcalc .ch { color: var(--ink-faint); }
.mcalc .ch.warn { color: #b9770e; }
.mc-out { margin-top: 4px; padding-top: 18px; border-top: 1px solid var(--line); }
.mc-out small { color: var(--ink-faint); }
.mc-out b, .bc-total b { font-size: clamp(36px, 4.6vw, 52px); }
/* purchase cost full width, mortgage as a compact strip below */
.costs-in { display: grid; gap: 12px; }
.bc-wide { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 48px; align-items: start; }
.bc-l, .bc-r { display: grid; gap: 20px; min-width: 0; align-content: start; }
.bc-r .bc-tbl tr:first-child td { border-top: 0; }
.mc-strip { gap: 14px; padding-block: clamp(20px, 3vw, 28px); }
.mc-strip .ctitle h3 { font-size: clamp(22px, 2.4vw, 28px); }
.mc-row { display: grid; grid-template-columns: 1.3fr 1.3fr .8fr .8fr 1.3fr; gap: 12px; align-items: start; }
.mc-strip .mc-out { margin: 0; padding: 0 0 0 18px; border-top: 0; border-left: 1px solid var(--line); gap: 4px; align-self: stretch; }
.mc-strip .mc-out b { font-size: clamp(28px, 3vw, 38px); }
.mc-strip .mc-out small { font-size: 12.5px; }
@media (max-width: 900px) {
  .bc-wide { grid-template-columns: 1fr; }
  .mc-row { grid-template-columns: 1fr 1fr; }
  .mc-strip .mc-out { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); padding: 14px 0 0; }
}
/* bio: the "why work with me" points replace the photo strip */
.bio-why { display: grid; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.bio-why .ticks li { color: var(--ink); }
.bio-why .ticks li::before { background: var(--ink); }
.bio-why .ticks li::before { animation-name: live-ink; }
@keyframes live-ink {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 4px color-mix(in srgb, var(--ink) 14%, transparent), 0 0 0 0 color-mix(in srgb, var(--ink) 35%, transparent); }
  50% { opacity: .55; box-shadow: 0 0 0 4px color-mix(in srgb, var(--ink) 5%, transparent), 0 0 0 9px color-mix(in srgb, var(--ink) 0%, transparent); }
}
.mc-strip .mc-out { border-left: 0; padding-left: 8px; }

/* developer calc: financing toggle, partner count, neutral shares */
.ctog-lg { padding-top: 0; color: var(--ink); font-size: 15px; gap: 12px; }
.ctog-lg small { display: block; margin-top: 1px; }
.finw { display: grid; gap: 18px; }
.finw[hidden] { display: none; }
.finw .csub:first-child { border-top: 1px solid var(--line); padding-top: 18px; }
.cnum { display: inline-flex; align-items: center; gap: 6px; padding: 4px; border-radius: 999px; background: var(--surface); width: fit-content; margin-top: 4px; }
.cnum button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--rim); color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.cnum button:hover { background: var(--surface-2); }
.cnum output { min-width: 40px; text-align: center; font-size: 20px; font-weight: 500; font-variant-numeric: tabular-nums; }
.prow { display: grid; grid-template-columns: 9px 1fr auto auto; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.prow:first-child { border-top: 0; }
.prow > i { width: 9px; height: 9px; border-radius: 50%; }
.prow b { font-weight: 500; font-variant-numeric: tabular-nums; min-width: 110px; text-align: right; }
.cseg-l { margin: 4px 0 0; width: fit-content; }
.cex { display: contents; }
.cex[hidden] { display: none; }
#breakdown[hidden], .cbars[hidden] { display: none; }
.capw { display: grid; gap: 16px; }
.capw[hidden], #rbs-w[hidden], .csub[hidden] { display: none; }
#report[hidden], #toReport[hidden] { display: none; }
/* developer calc: questionnaire and results joined in one shell, tops aligned */
.calc { background: var(--rim); border-radius: calc(var(--r-xl) + 12px); padding: 12px; gap: 12px; box-shadow: var(--shadow); align-items: stretch; }
.calc-in { position: relative; display: grid; }
.calc-out { position: static; display: grid; }
.calc-in .ccard { border: 0; background: var(--surface-2); align-content: start; }
.cres { height: 100%; }
.csteps { position: absolute; top: clamp(20px, 3vw, 30px); right: clamp(20px, 3vw, 30px); padding: 0; gap: 14px; z-index: 1; }
.csteps .prog i { width: 18px; }
.calc-in .ccard > .mono:first-child { padding-right: 190px; min-height: 18px; }
@media (max-width: 560px) { .csteps .prog { display: none; } .calc-in .ccard > .mono:first-child { padding-right: 80px; } }

/* Download icon A: arrow into tray */
#dlPdf .dl-ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s; }
#dlPdf:hover .dl-ic { transform: translateY(2px); }

/* Shares block: growing tiles (option D) */
.ctiles { display: flex; gap: 8px; height: 140px; margin-top: 14px; }
.ctl { border-radius: 18px; padding: 14px 16px; display: flex; flex-direction: column; justify-content: space-between; min-width: 72px; flex-basis: 0; overflow: hidden; white-space: nowrap; transition: flex-grow .45s cubic-bezier(.3,.7,.3,1), opacity .3s; }
.ctl span { font-size: 12px; opacity: .85; }
.ctl b { display: block; font-size: 22px; font-weight: 500; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ctl small { display: block; font-size: 12px; opacity: .8; font-variant-numeric: tabular-nums; }
.ctl.zero { opacity: .35; }
.t-dev { background: #cdbfa6; color: #141414; }
.t-inv { background: #a39885; color: #fff; }
.t-bank { background: #6f6a62; color: #fff; }
@media (max-width: 560px) { .ctiles { height: 120px; gap: 6px; } .ctl { padding: 12px; min-width: 60px; } .ctl b { font-size: 18px; } }
#dlPdf:hover, #dlPdf:hover .dl-ic { transform: none; }

/* Breakdown actions: New project + Download PDF */
.bd-act { display: flex; gap: 10px; flex-wrap: wrap; }
#calcNew .dl-ic { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bd-act { flex-wrap: nowrap; flex-shrink: 0; align-items: center; }
@media (max-width: 560px) { .bd-act { width: 100%; } .bd-act .btn { flex: 1 1 0; justify-content: center; padding-inline: 14px; white-space: nowrap; } }
.sec-head > .bd-act { display: flex; gap: 10px; }
.cg-sub .dl-ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cg-sub:hover { transform: none; }

/* Property page, "concierge rail" layout (prop_rail in build.py): photo mosaic, story left, sticky booking card right,
   two-button bar on phones. Everything is scoped to .pr so the other property pages are untouched. */
.pr { display: grid; gap: 40px; }
.pr .ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.wa-ico { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }
.pr .btn-wa, .mbar .btn-wa { background: #3f8a5a; color: #fff; box-shadow: none; border-color: transparent; }
.pr .btn-sq { border-radius: 14px; }
.pr .btn, .mbar .btn { justify-content: center; }
.pr .dtitle { display: grid; gap: 14px; }
.pr .dtitle .h2 { font-size: clamp(40px, 5vw, 64px); }
.pr .fline { display: flex; flex-wrap: wrap; gap: 6px 22px; color: var(--ink-soft); }
.pr .fline b { color: var(--ink); font-weight: 500; }
.pr .ph { position: relative; overflow: hidden; background: var(--surface); border: 0; padding: 0; cursor: zoom-in; display: block; }
.pr .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pr .mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 250px 250px; gap: 10px; border-radius: var(--r-xl); overflow: hidden; position: relative; }
.pr .mosaic .ph:first-child { grid-row: span 2; }
.pr .mosaic .all { position: absolute; right: 18px; bottom: 18px; }
.pr .mcar { display: none; }
.pr .chip-dark { background: rgba(20,20,20,.55); color: #fff; }
.pr .layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: start; }
.pr .main { display: grid; gap: 56px; min-width: 0; }
.pr .sub { display: grid; gap: 16px; }
.pr .sub6 { display: grid; gap: 6px; }
.pr .rail { position: sticky; top: 86px; display: grid; gap: 12px; }
.pr .price-card { background: var(--rim); border-radius: 30px; padding: 26px; display: grid; gap: 18px; box-shadow: var(--shadow); }
.pr .pc-top { display: flex; justify-content: space-between; align-items: center; }
.pr .avail { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; background: var(--surface); }
.pr .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 3px rgba(159,211,122,.25); }
.pr .price { font-size: 40px; letter-spacing: -0.03em; line-height: 1; }
.pr .price-card hr { border: 0; border-top: 1px solid var(--line); margin: 0; width: 100%; }
.pr .agent { display: flex; align-items: center; gap: 14px; }
.pr .agent img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.pr .agent b { display: block; font-weight: 500; }
.pr .agent span { font-size: 13px; color: var(--ink-soft); }
.pr .mini { display: grid; gap: 16px; }
.pr .mini + .btn-wa { margin-top: -8px; }
.pr .mini .field label, .pr .mini .flabel { font: 500 13px var(--f-sans); letter-spacing: 0; text-transform: none; color: var(--ink-soft); }
.pr .pick { display: grid; gap: 6px; }
.pr .wa-row { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 8px; }
.pr .wa-row select, .pr .wa-row input { width: 100%; font: inherit; color: var(--ink); background-color: var(--field); border: 1px solid transparent; border-radius: 14px; padding: 13px 14px; min-height: 48px; }
.pr .wa-row select { -webkit-appearance: none; appearance: none; background-image: var(--chev); background-repeat: no-repeat; background-position: right 14px center; padding-right: 32px; }
.pr .wa-row input:focus, .pr .wa-row select:focus { outline: none; border-color: var(--ink-faint); }
.pr .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.pr .seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 999px; background: var(--field); }
.pr .seg .choice label { justify-content: center; gap: 10px; border-radius: 999px; min-height: 40px; padding: 8px; background: transparent; font-size: 14px; }
.pr .seg .choice input:checked + label { background: var(--night); color: var(--night-ink); }
.pr .days { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; }
.pr .days .choice label { flex-direction: column; gap: 0; justify-content: center; align-items: center; min-height: 56px; padding: 6px 0; border-radius: var(--r-md); background: var(--field); font-size: 11px; color: var(--ink-soft); }
.pr .days .choice label b { font-size: 18px; font-weight: 500; color: var(--ink); }
.pr .days .choice input:checked + label { background: var(--night); color: var(--night-ink); }
.pr .days .choice input:checked + label b { color: var(--night-ink); }
.pr .days .choice label.nd { font-size: 12px; line-height: 1.2; color: var(--ink); text-align: center; }
/* the chosen option stays dark: one pill glides to it on a spring (site.js) and hover only deepens the grey of the others */
.pr .price-card .choice label, .pr .price-card .choice label b { transition: background-color .2s ease-out, color .2s ease-out, transform .1s ease-out; -webkit-tap-highlight-color: transparent; user-select: none; }
.pr .price-card .choice label.down { transform: scale(.96); }
.pr .price-card .ptr .choice input:focus-visible + label { outline: none; }
@media (hover: hover) { .pr .price-card .choice input:not(:checked) + label:hover { background: color-mix(in srgb, var(--field), var(--ink) 6%); } }
.pr .glide { position: relative; isolation: isolate; }
.pr .glide .choice label { position: relative; z-index: 1; }
.pr .glide .pick-pill { position: absolute; z-index: 0; top: 0; left: 0; border-radius: var(--r-md); background: var(--night); pointer-events: none; will-change: transform; }
.pr .seg.glide .pick-pill { border-radius: 999px; }
.pr .price-card .glide .choice input:checked + label { background: transparent; }
@media (prefers-reduced-motion: reduce) { .pr .price-card .choice label, .pr .price-card .choice label b { transition: none; } .pr .price-card .choice label.down { transform: none; } }
.pr .fine { font-size: 13px; color: var(--ink-faint); text-align: center; margin: 0; }
.pr .calc .fine { text-align: left; }
.pr .calc { background: var(--rim); border-radius: var(--r-xl); padding: 26px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 40px; }
.pr .calc .col { display: grid; gap: 16px; align-content: start; min-width: 0; }
.pr .calc .big { font-size: clamp(34px, 3.6vw, 46px); font-weight: 450; letter-spacing: -0.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.pr .calc small { color: var(--ink-soft); font-size: 13px; }
.pr .ctbl { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.pr .ctbl td { padding: 9px 0; border-top: 1px solid var(--line); }
.pr .ctbl td:last-child { text-align: right; white-space: nowrap; }
.pr .ctbl tr.tot td { font-weight: 600; }
.pr .faq { display: block; }
.pr-reviews { background: radial-gradient(90% 70% at 15% 0%, #3a3a39 0%, transparent 60%), linear-gradient(180deg, #2b2b2a, #1b1b1a); color: #f2f1ee;
  border-radius: calc(var(--r-xl) + 8px); padding: clamp(24px, 4vw, 48px); display: grid; gap: 28px; }
.pr-reviews .mono { color: #a3a19c; }
.pr-reviews .rv-row { display: flex; justify-content: space-between; align-items: end; gap: 12px; flex-wrap: wrap; }
.pr-reviews .rv-score { display: flex; align-items: end; gap: 18px; flex-wrap: wrap; }
.pr-reviews .rv-num { font-size: clamp(64px, 9vw, 120px); letter-spacing: -0.04em; line-height: .9; font-weight: 400; }
.pr-reviews .rv-score p { color: #a3a19c; padding-bottom: 10px; margin: 0; }
.pr-reviews .rv-quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pr-reviews figure { margin: 0; background: rgba(255,255,255,.06); border-radius: var(--r-lg); padding: 22px; display: grid; gap: 14px; align-content: space-between; }
.pr-reviews .press span { opacity: .6; }
.pr-form { scroll-margin-top: 90px; }
.pr-form .form-card { box-shadow: var(--shadow); }
.pr .mtitle { display: none; }
.mbar { display: none; }
@media (max-width: 1020px) { .pr .layout { grid-template-columns: minmax(0, 1fr); } .pr .rail { position: static; } }
@media (max-width: 860px) {
  .pr .mosaic, .pr .dtitle, .pr .rail { display: none; }
  .pr .mtitle { display: grid; gap: 10px; }
  .pr .mprice { font-size: 26px; letter-spacing: -.02em; }
  .pr .mcar { display: block; position: relative; margin-inline: calc(-1 * max(var(--gut), env(safe-area-inset-left, 0px))); }
  .pr .mcar .track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .pr .mcar .track::-webkit-scrollbar { display: none; }
  .pr .mcar .ph { flex: 0 0 100%; aspect-ratio: 4/3.4; scroll-snap-align: start; }
  .pr .mcar .cnt { position: absolute; right: 14px; bottom: 14px; }
  .pr .calc { grid-template-columns: minmax(0, 1fr); padding: 22px; }
  .pr .main { gap: 44px; }
  .pr-reviews .rv-quotes { grid-template-columns: 1fr; }
  .mbar { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; display: flex; gap: 8px; align-items: center;
    padding: 10px max(12px, env(safe-area-inset-left, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-right, 0px));
    background: color-mix(in srgb, var(--rim) 86%, transparent); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
    border-top: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
  .mbar .btn { flex: 1 1 0; min-height: 50px; padding: 12px 16px; border-radius: 999px; }
  body:has(.mbar) .foot { padding-bottom: 96px; }
}
/* dark theme: the chosen option turns light so it stands out from the dark fields */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .pr .seg:not(.glide) .choice input:checked + label, :root:not([data-theme="light"]) .pr .days:not(.glide) .choice input:checked + label, :root:not([data-theme="light"]) .pr .glide .pick-pill { background: #f2f2f0; }
  :root:not([data-theme="light"]) .pr .price-card .choice input:checked + label, :root:not([data-theme="light"]) .pr .price-card .choice input:checked + label b { color: #141414; }
}
:root[data-theme="dark"] .pr .seg:not(.glide) .choice input:checked + label, :root[data-theme="dark"] .pr .days:not(.glide) .choice input:checked + label, :root[data-theme="dark"] .pr .glide .pick-pill { background: #f2f2f0; }
:root[data-theme="dark"] .pr .price-card .choice input:checked + label, :root[data-theme="dark"] .pr .price-card .choice input:checked + label b { color: #141414; }

/* concierge rail on every listing: smaller mosaics for listings with fewer than five photos */
.pr .mosaic.m3 { grid-template-columns: 2fr 1fr; }
.pr .mosaic.m2 { grid-template-columns: 1fr 1fr; grid-template-rows: 500px; }
.pr .mosaic.m1 { grid-template-columns: 1fr; grid-template-rows: 520px; }
.pr .mosaic.m2 .ph:first-child, .pr .mosaic.m1 .ph:first-child { grid-row: auto; }
.pr .avail.off .dot { background: #d9a441; box-shadow: 0 0 0 3px rgba(217,164,65,.25); }
/* thank-you message that replaces a sent form (formDone in site.js) */
.form-done { display: grid; gap: 12px; align-content: center; min-height: 220px; text-align: left; }
.form-done:focus { outline: none; }
.form-done .h3 { font-size: 30px; margin: 0; }
.form-done p { margin: 0; color: var(--ink-soft); }
.price-card .form-done { min-height: 0; padding: 8px 0; }
/* WhatsApp buttons in neutral grey (Gasper 2026-10-18: green looked cheap) */
.pr .btn-wa, .mbar .btn-wa { background: var(--field); color: var(--ink); border-color: transparent; box-shadow: none; }
.pr .btn-wa:hover, .mbar .btn-wa:hover { background: color-mix(in srgb, var(--field) 88%, var(--ink)); }

/* phone button bar: floating glass pill like the top menu (Gasper picked option A, 2026-10-18) */
@media (max-width: 860px) {
  .mbar { left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); padding: 5px; gap: 5px; border-radius: 999px;
    background: color-mix(in srgb, var(--rim) 72%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border: 1px solid color-mix(in srgb, var(--line) 70%, transparent); box-shadow: 0 12px 30px -16px rgba(0,0,0,.35); }
  .mbar .btn { min-height: 46px; }
  .mbar .btn-wa { background: transparent; }
}

/* Albinoni One: dotted 3D model under the features (villa3d in site.js), dark card like the client globe */
.pr .v3d { border-radius: var(--r-xl); color: #f2f1ee; padding: clamp(22px, 3.5vw, 36px); display: grid; gap: 8px; overflow: hidden;
  background: radial-gradient(90% 70% at 15% 0%, #3a3a39 0%, transparent 60%), linear-gradient(180deg, #2b2b2a, #1b1b1a); }
.pr .v3d .mono { color: #a3a19c; }
.pr .v3d .h3 { font-size: 28px; margin: 4px 0 0; }
.pr .v3d p { color: #c9c7c2; margin: 0; }
.pr .v3d canvas { width: 100%; aspect-ratio: 4 / 3; display: block; cursor: grab; touch-action: none; margin-top: 4px; }
.pr .v3d canvas.dragging { cursor: grabbing; }
.pr .v3d-hint { justify-self: center; font-size: 11px; opacity: .7; }

/* Areas: plain cards at rest; on hover (or mid-screen on phones) a soft pastel wash rises from the bottom
   with a feathered edge and covers most of the card. Cards stay still, text stays dark. */
.area.hv { --x: 50%; --y: 50%; position: relative; isolation: isolate; overflow: hidden; animation: none !important;
  background: var(--rim) !important; background-size: auto !important; border: 1px solid var(--line); color: var(--ink); }
.area.hv > :not(.liquid) { position: relative; z-index: 1; }
.area.hv .mono { color: var(--ink-soft); }
.area.hv p { color: var(--ink-soft); }
@property --p { syntax: "<percentage>"; inherits: false; initial-value: -70%; }
.area .liquid { --p: -70%; position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  -webkit-mask-image: linear-gradient(to top, #000 var(--p), rgba(0,0,0,.55) calc(var(--p) + 25%), transparent calc(var(--p) + 70%));
          mask-image: linear-gradient(to top, #000 var(--p), rgba(0,0,0,.55) calc(var(--p) + 25%), transparent calc(var(--p) + 70%));
  transition: --p 1.3s cubic-bezier(.22,.61,.36,1); }
.area.on .liquid { --p: 50%; }
.area .liquid i { position: absolute; width: 75%; aspect-ratio: 1; border-radius: 50%; filter: blur(42px); opacity: .9; will-change: transform; }
.area .liquid i:nth-child(1) { background: var(--c1); left: -20%; top: -15%; animation: lq1 26s ease-in-out infinite alternate; }
.area .liquid i:nth-child(2) { background: var(--c2); right: -25%; top: 5%; animation: lq2 31s ease-in-out infinite alternate; }
.area .liquid i:nth-child(3) { background: var(--c3); left: -10%; bottom: -20%; animation: lq3 23s ease-in-out infinite alternate; }
.area .liquid i:nth-child(4) { background: var(--c4); right: -20%; bottom: -25%; animation: lq4 35s ease-in-out infinite alternate; }
.area .liquid b { position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%; left: 0; top: 0; background: var(--c2); filter: blur(40px); opacity: .7;
  transform: translate(var(--px, 50%), var(--py, 50%)) translate(-50%, -50%); }
@keyframes lq1 { 0% { transform: translate(0,0) scale(1); } 33% { transform: translate(30%, 20%) scale(1.15); } 66% { transform: translate(10%, 45%) scale(.9); } 100% { transform: translate(40%, 10%) scale(1.1); } }
@keyframes lq2 { 0% { transform: translate(0,0) scale(1); } 40% { transform: translate(-35%, 30%) scale(.85); } 100% { transform: translate(-15%, 60%) scale(1.2); } }
@keyframes lq3 { 0% { transform: translate(0,0) scale(1.1); } 50% { transform: translate(40%, -30%) scale(.9); } 100% { transform: translate(15%, -55%) scale(1.15); } }
@keyframes lq4 { 0% { transform: translate(0,0) scale(.95); } 45% { transform: translate(-45%, -20%) scale(1.2); } 100% { transform: translate(-20%, -45%) scale(1); } }
.area.zag { --c1: #9cc29a; --c2: #d8e3b0; --c3: #6f9d78; --c4: #e3c98a; }
.area.sie { --c1: #a9cdee; --c2: #f4c3a0; --c3: #7aa6d6; --c4: #efdcc8; }
.area.gol { --c1: #f6c27e; --c2: #f1a35f; --c3: #f7d9a6; --c4: #e8895a; }
.area.sot { --c1: #8fc3c8; --c2: #d9c095; --c3: #6aa0b6; --c4: #bcd9d6; }
.area.on .mono, .area.on p { color: #3a3a38; }
.area.on h3, .area.on .range { color: #141414; }
.area.hv .mono, .area.hv p, .area.hv h3, .area.hv .range { transition: color 1s ease .1s; }
@media (prefers-reduced-motion: reduce) { .area .liquid i { animation: none !important; } .area .liquid { transition-duration: .2s; } }

/* "Slide to WhatsApp" (wa-slide.js): slide-to-unlock track, dark knob, shimmering label */
:root { --ws-knob: linear-gradient(180deg, #2a2a2a, #0d0d0d); --ws-knob-ink: #f5f5f3; --ws-text: #5d5d5b; --ws-shine: rgba(255,255,255,.72); --ws-glow: rgba(255,255,255,.35); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --ws-knob: linear-gradient(180deg, #ffffff, #e4e4e1); --ws-knob-ink: #141414; --ws-text: #8f8f8b; --ws-shine: rgba(255,255,255,.7); --ws-glow: rgba(255,255,255,.2); } }
:root[data-theme="dark"] { --ws-knob: linear-gradient(180deg, #ffffff, #e4e4e1); --ws-knob-ink: #141414; --ws-text: #8f8f8b; --ws-shine: rgba(255,255,255,.7); --ws-glow: rgba(255,255,255,.2); }
.btn.wa-slide { position: relative; display: block; overflow: hidden; height: 54px; padding: 0; isolation: isolate; touch-action: pan-y;
  user-select: none; -webkit-user-select: none; -webkit-user-drag: none; -webkit-tap-highlight-color: transparent; cursor: default; transform: none; }
.btn.wa-slide:hover { transform: none; }
.wa-slide .ws-knob { position: absolute; z-index: 3; left: 4px; top: 4px; bottom: 4px; aspect-ratio: 1.15; cursor: grab; will-change: transform; }
.wa-slide .ws-cap { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 11px; background: var(--ws-knob); color: var(--ws-knob-ink);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 2px 6px -2px rgba(0,0,0,.35); transition: transform .1s ease-out; }
.wa-slide .ws-cap .wa-ico { width: 20px; height: 20px; }
.wa-slide.ws-press .ws-knob { cursor: grabbing; }
.wa-slide.ws-press .ws-cap { transform: scale(.94); }
.wa-slide .ws-fill { position: absolute; z-index: 1; left: 4px; top: 4px; bottom: 4px; border-radius: 11px; background: var(--ws-knob); opacity: .92; }
.wa-slide .ws-label, .wa-slide .ws-done { position: absolute; z-index: 2; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none;
  font: 500 15px var(--f-sans); letter-spacing: -.005em; white-space: nowrap; }
.wa-slide .ws-label { padding-left: 48px; }
.wa-slide .ws-text { position: relative; display: inline-block; color: var(--ws-text); }
/* the shine is a soft-edged window sliding over a bright copy of the label; both move with transform only,
   so the phone's graphics chip animates it and it never stutters */
.wa-slide .ws-glint { position: absolute; top: 0; bottom: 0; left: 0; width: 200%; overflow: hidden; white-space: nowrap; will-change: transform;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 62%, transparent 82%); mask-image: linear-gradient(90deg, transparent 0%, #000 62%, transparent 82%);
  animation: ws-glint 2.6s linear infinite; }
.wa-slide .ws-glint > span { display: block; width: 50%; color: var(--ws-shine); text-shadow: 0 0 10px var(--ws-glow); will-change: transform; animation: ws-glint-in 2.6s linear infinite; }
/* the window is twice the label wide, so the light ramps up gently and fades quicker, like the home page slider */
@keyframes ws-glint { from { transform: translateX(-100%); } to { transform: translateX(50%); } }
@keyframes ws-glint-in { from { transform: translateX(200%); } to { transform: translateX(-100%); } }
.wa-slide .ws-done { padding-right: 56px; color: var(--ws-knob-ink); opacity: 0; transition: opacity .25s ease .12s; }
.wa-slide.ws-on .ws-done { opacity: 1; }
.wa-slide:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.mbar .btn.wa-slide { height: 46px; min-height: 46px; border-radius: 999px; background: var(--field); }
.mbar .wa-slide .ws-cap, .mbar .wa-slide .ws-fill { border-radius: 999px; }
.mbar .wa-slide .ws-knob { aspect-ratio: 1; }
.mbar .wa-slide .ws-label { padding-left: 40px; font-size: 14px; }
.mbar .wa-slide .ws-done { padding-right: 40px; font-size: 14px; }
/* home page "Three steps" WhatsApp button: same slider, as a pill on the light field */
.btn.wa-slide.home-wa { width: min(320px, 100%); border-radius: 999px; background: color-mix(in srgb, var(--field) 90%, var(--ink)); color: var(--ink); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 6%, transparent); }
.home-wa.wa-slide .ws-cap, .home-wa.wa-slide .ws-fill { border-radius: 999px; }
.home-wa.wa-slide .ws-knob { aspect-ratio: 1; }
.home-wa.wa-slide .ws-label { padding-left: 46px; }
@media (max-width: 640px) { .btn.wa-slide.home-wa { width: 100%; } }

/* Gallery sheet (site.js): rises over the page, which sinks back; photos grouped by room; full-screen viewer on top */
:root { --gs-pill: #fff; --gs-grab: #c9c9c6; }
:root[data-theme="dark"] { --gs-pill: #3a3a38; --gs-grab: #4a4a48; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --gs-pill: #3a3a38; --gs-grab: #4a4a48; } }
.gs-open .mbar { visibility: hidden; }
.gs-dim { position: fixed; inset: 0; z-index: 900; background: #000; opacity: 0; pointer-events: none; }
.gs-open .gs-dim { pointer-events: auto; }
.gs-sheet { position: fixed; left: 0; right: 0; top: 0; height: 100%; z-index: 901; margin: 0 auto; max-width: 1120px; display: flex; flex-direction: column;
  background: var(--rim); color: var(--ink); border-radius: 22px 22px 0 0; box-shadow: 0 -20px 60px -20px rgba(0,0,0,.35); will-change: transform; }
.gs-sheet[hidden], .gs-vw[hidden] { display: none; }
.gs-head { flex: none; padding: 8px max(18px, env(safe-area-inset-right, 0px)) 0 max(18px, env(safe-area-inset-left, 0px)); touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.gs-grab { width: 38px; height: 5px; border-radius: 3px; background: var(--gs-grab); margin: 0 auto 10px; }
.gs-title { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.gs-title h2 { margin: 0; font-weight: 500; font-size: 20px; line-height: 1.25; letter-spacing: -.02em; }
.gs-title small { display: block; color: var(--ink-soft); font-size: 13px; font-weight: 400; letter-spacing: 0; }
.gs-x { flex: none; border: 0; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--ink); cursor: pointer; transition: transform 120ms ease-out, background-color .16s; }
.gs-x:active { transform: scale(.92); }
.gs-seg { position: relative; display: flex; gap: 2px; margin: 14px 0 10px; padding: 3px; border-radius: 12px; background: var(--surface); overflow-x: auto; scrollbar-width: none; }
.gs-seg::-webkit-scrollbar { display: none; }
.gs-seg button { position: relative; z-index: 1; flex: 1 0 auto; border: 0; background: none; padding: 7px 12px; border-radius: 9px; font: 500 13px var(--f-sans, inherit); color: var(--ink-soft); cursor: pointer; transition: color .2s; }
.gs-seg button.on { color: var(--ink); }
.gs-pill { position: absolute; top: 3px; bottom: 3px; left: 0; border-radius: 9px; background: var(--gs-pill); box-shadow: 0 1px 3px rgba(0,0,0,.1), 0 0 0 .5px rgba(0,0,0,.04); }
.gs-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 4px max(18px, env(safe-area-inset-right, 0px)) calc(40px + env(safe-area-inset-bottom, 0px)) max(18px, env(safe-area-inset-left, 0px)); }
.gs-room { padding-top: 14px; }
.gs-room h3 { margin: 0; font-weight: 500; font-size: 17px; letter-spacing: -.015em; }
.gs-room p { margin: 2px 0 10px; color: var(--ink-soft); font-size: 13px; }
.gs-room:not(:has(h3)) { padding-top: 8px; }
.gs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.gs-tile { position: relative; border: 0; padding: 0; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; cursor: zoom-in; background: var(--surface); transition: transform 120ms ease-out; }
.gs-tile:first-child { grid-column: span 2; grid-row: span 2; border-radius: 14px; }
.gs-tile:active { transform: scale(.97); }
.gs-tile img, .gs-ph img { width: 100%; height: 100%; object-fit: cover; display: block; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; -webkit-user-drag: none; }
.gs-tile::after, .gs-ph::after { content: "Gašper Plahutnik"; position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none;
  font-family: var(--f-sans, "Geist", sans-serif); font-weight: 450; letter-spacing: -.01em; font-size: 12px; color: rgba(255,255,255,.42); text-shadow: 0 1px 12px rgba(0,0,0,.25); }
.gs-tile:first-child::after { font-size: clamp(16px, 2.4vw, 26px); }
.gs-ph::after { font-size: clamp(22px, 4.2vw, 52px); }
@media (max-width: 700px) { .gs-grid { grid-template-columns: 1fr 1fr; } .gs-tile:first-child { grid-row: auto; } }
.gs-tile:focus-visible, .gs-seg button:focus-visible, .gs-x:focus-visible, .gs-vbtn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.gs-vw { position: fixed; inset: 0; z-index: 950; touch-action: none; user-select: none; -webkit-user-select: none; overflow: hidden; }
.gs-vbg { position: absolute; inset: 0; background: #050505; opacity: 0; }
.gs-track { position: absolute; inset: 0; will-change: transform; }
.gs-slide { position: absolute; top: 0; height: 100%; display: flex; justify-content: center; align-items: flex-start; }
.gs-vw.solo .gs-slide { visibility: hidden; }
.gs-vw.solo .gs-slide.cur { visibility: visible; }
.gs-ph { position: relative; flex: none; will-change: transform; transform-origin: 50% 50%; }
.gs-ph img { pointer-events: none; }
.gs-vtop { position: absolute; left: 0; right: 0; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #f2f2f0;
  padding: calc(12px + env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) 12px max(16px, env(safe-area-inset-left, 0px)); transition: opacity .25s ease; }
.gs-vlbl { display: flex; flex-direction: column; font-size: 14px; font-weight: 500; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.gs-vlbl small { font-weight: 400; font-size: 12px; color: rgba(242,242,240,.66); font-variant-numeric: tabular-nums; }
.gs-vbtn { border: 0; border-radius: 999px; width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: #fff;
  background: rgba(40,40,40,.5); -webkit-backdrop-filter: blur(20px) saturate(170%); backdrop-filter: blur(20px) saturate(170%); box-shadow: inset 0 1px 0 rgba(255,255,255,.14); transition: transform 120ms ease-out, background-color .16s, opacity .2s; }
.gs-vbtn:hover { background: rgba(70,70,70,.58); }
.gs-vbtn:active { transform: scale(.94); }
.gs-arr { position: absolute; top: 50%; margin-top: -22px; width: 44px; height: 44px; opacity: 0; }
.gs-arr.l { left: max(18px, env(safe-area-inset-left, 0px)); } .gs-arr.r { right: max(18px, env(safe-area-inset-right, 0px)); }
@media (hover: hover) and (pointer: fine) { .gs-vw:hover .gs-arr:not([disabled]) { opacity: 1; } }
.gs-arr[disabled] { pointer-events: none; }
.gs-vw.chrome-off .gs-vtop, .gs-vw.chrome-off .gs-arr { opacity: 0 !important; pointer-events: none; }
@media (prefers-reduced-transparency: reduce) { .gs-vbtn { backdrop-filter: none; -webkit-backdrop-filter: none; background: #2a2a2a; } }
