/* Aster & Co. — exceptional homes, considered living */

:root {
  --canvas: #F6F5F2;
  --page: #FFFFFF;
  --paper: #FFFFFF;
  --stone: #EEECE8;
  --stone-2: #E4E1DC;
  --ink: #16140F;
  --ink-2: #4A4741;
  --ink-3: #6D6962;
  --line: #E7E4DF;
  --line-2: #D5D1CA;
  --accent: #1D4F5A;
  --accent-soft: #E9EFEF;
  --accent-2: #8EAFB1;
  --brass: var(--accent);
  --brass-2: var(--accent-2);
  --coast: var(--ink);
  --coast-soft: var(--canvas);
  --night: #15130F;
  --night-2: #201D18;
  --night-line: #2F2C28;

  --r-xl: 28px;
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 10px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --nav-h: 64px;
   --nav-top: 0px;

  --fs-h1: clamp(38px, 5.6vw, 84px);
  --fs-h2: clamp(30px, 3.7vw, 56px);
  --fs-h3: clamp(22px, 2vw, 28px);
  --fs-lead: clamp(17px, 1.35vw, 20px);
}


*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-top) + 24px); }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Albert Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -0.035em; line-height: 1.04; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
svg.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
::selection { background: var(--coast); color: #fff; }
:focus-visible { outline: 2px solid var(--coast); outline-offset: 3px; border-radius: 6px; }

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out 0.28s var(--ease-out) both; }
::view-transition-new(root) { animation: vt-in 0.42s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }

.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 12px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 7vw, 108px); }
.section-tight { padding-block: clamp(48px, 5vw, 72px); }

.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-2);
}
.label::before { content: ""; width: 11px; height: 11px; flex: none; background: currentColor; opacity: 0.85;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 0c.4 3.4 1.2 4.2 6 6-4.8 1.8-5.6 2.6-6 6-.4-3.4-1.2-4.2-6-6 4.8-1.8 5.6-2.6 6-6z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 0c.4 3.4 1.2 4.2 6 6-4.8 1.8-5.6 2.6-6 6-.4-3.4-1.2-4.2-6-6 4.8-1.8 5.6-2.6 6-6z'/%3E%3C/svg%3E") center / contain no-repeat; background: var(--accent); opacity: 1; }
.label.on-dark { color: rgba(255,255,255,0.78); }
.label.plain::before { display: none; }

.h1 { font-size: var(--fs-h1); }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); letter-spacing: -0.025em; line-height: 1.15; }
.lead { font-size: var(--fs-lead); color: var(--ink-2); line-height: 1.55; }
.muted { color: var(--ink-3); }
.accent { color: var(--accent); }
.brass { color: var(--brass); }
.num { font-variant-numeric: tabular-nums; }

.sec-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 20px 56px; align-items: end; margin-bottom: clamp(28px, 3.5vw, 52px); }
.sec-head .h2 { margin-top: 18px; }
.sec-head .lead { max-width: 46ch; }
.sec-head.center { grid-template-columns: minmax(0, 1fr); text-align: center; justify-items: center; }

/* Buttons */
.btn {
  --h: 50px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 24px; border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: -0.005em; white-space: nowrap;
  transition: transform 0.16s var(--ease-out), background-color 0.25s var(--ease-out), color 0.25s var(--ease-out), border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn .i { width: 17px; height: 17px; transition: transform 0.3s var(--ease-out); }
.btn:hover .i-arrow { transform: translateX(3px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2B2721; }
.btn-coast { background: var(--coast); color: #fff; }
.btn-coast:hover { filter: brightness(1.08); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--canvas); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-ghost-light { border: 1px solid rgba(255,255,255,0.45); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-sm { --h: 42px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow .i { width: 16px; height: 16px; transition: transform 0.3s var(--ease-out); }
.link-arrow:hover .i { transform: translateX(3px); }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 28px; padding: 0 12px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.01em;
  background: rgba(255,255,255,0.94); color: var(--ink); white-space: nowrap;
}
.chip-dark { background: var(--ink); color: #fff; }
.chip-coast { background: var(--coast); color: #fff; }
.chip-line { background: transparent; border: 1px solid var(--line-2); color: var(--ink-2); }
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* Segmented control */
.seg { position: relative; display: inline-flex; padding: 4px; border-radius: 999px; background: var(--stone); isolation: isolate; }
.seg button {
  position: relative; z-index: 1; height: 36px; padding: 0 16px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--ink-2); white-space: nowrap;
  transition: color 0.3s var(--ease-out);
}
.seg button[aria-pressed="true"] { color: #fff; }
.seg .thumb {
  position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px;
  background: var(--ink);
  transition: transform 0.45s var(--ease-drawer), width 0.45s var(--ease-drawer), background-color 0.4s var(--ease-out);
}
.seg.coasty .thumb { background: var(--coast); }
.seg.on-dark { background: rgba(255,255,255,0.1); }
.seg.on-dark button { color: rgba(255,255,255,0.75); }
.seg.on-dark .thumb { background: #fff; }
.seg.on-dark button[aria-pressed="true"] { color: var(--ink); }
.seg.full { display: flex; width: 100%; }
.seg.full button { flex: 1; padding: 0 10px; }

/* Nav */

.brand { display: inline-flex; align-items: center; gap: 14px; color: var(--ink); white-space: nowrap; margin-right: auto; }
.brand-mark { width: auto; height: 32px; flex: none; }
.brand-div { width: 1px; height: 30px; background: currentColor; opacity: 0.55; flex: none; }
.brand-text { display: grid; gap: 6px; }
.brand-word { font-size: 21px; font-weight: 450; letter-spacing: -0.01em; line-height: 1; }
.brand-tag { font-size: 9.5px; font-weight: 500; letter-spacing: 0.32em; text-transform: uppercase; opacity: 0.75; line-height: 1.6; white-space: normal; max-width: 21em; }
.icon-btn {
  position: relative; width: 44px; height: 44px; border-radius: 50%;
  display: inline-grid; place-items: center; color: var(--ink);
  background: var(--canvas);
  transition: background-color 0.2s var(--ease-out), transform 0.16s var(--ease-out);
}
.icon-btn:hover { background: var(--stone); }
.icon-btn:active { transform: scale(0.95); }
.icon-btn .i { width: 19px; height: 19px; }
.badge {
  position: absolute; top: 2px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  background: var(--coast); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
  transform: scale(0); transition: transform 0.35s var(--ease-out);
}
.badge.on { transform: scale(1); }
.badge.bump { animation: bump 0.45s var(--ease-out); }
@keyframes bump { 40% { transform: scale(1.35); } }

.mmenu {
  position: fixed; z-index: 70; inset: 0; background: var(--canvas);
  padding: calc(var(--nav-top) + 28px) var(--gutter) 32px;
  display: flex; flex-direction: column; gap: 28px;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity 0.35s var(--ease-out), transform 0.45s var(--ease-out), visibility 0s 0.45s;
  overflow-y: auto;
}
.menu-open .mmenu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mmenu nav a { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: clamp(26px, 7vw, 34px); font-weight: 500; letter-spacing: -0.03em; }
.mmenu nav a .i { width: 22px; height: 22px; color: var(--ink-3); }
.mmenu-foot { margin-top: auto; display: grid; gap: 14px; }
.mmenu-offices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; font-size: 14px; color: var(--ink-2); }
.mmenu-offices b { display: block; color: var(--ink); font-weight: 600; }
.menu-open { overflow: hidden; }

/* Hero (home) */
.hero { position: relative; padding: 12px; }
.hero-frame {
  position: relative; overflow: hidden; isolation: isolate;
  height: clamp(640px, calc(100svh - 24px), 960px);
  border-radius: var(--r-xl); background: #1B1915; color: #fff;
}
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease-out); }
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.hero-slide.is-active img { animation: kenburns 9s linear forwards; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,9,7,0.42) 0%, rgba(10,9,7,0) 24%, rgba(10,9,7,0.08) 42%, rgba(10,9,7,0.78) 100%), radial-gradient(120% 80% at 0% 100%, rgba(10,9,7,0.5), transparent 60%); }
.hero-copy .h1, .hero-copy .lead { text-shadow: 0 1px 24px rgba(0,0,0,0.25); }
.hero-copy { position: absolute; z-index: 3; will-change: transform; left: clamp(20px, 4vw, 64px); right: clamp(20px, 4vw, 64px); bottom: 168px; max-width: 880px; }
.hero-copy .label { color: rgba(255,255,255,0.85); }
.hero-copy .h1 { margin-top: 20px; }
.hero-copy .lead { color: rgba(255,255,255,0.86); margin-top: 20px; max-width: 520px; }

.hero-now {
  position: absolute; z-index: 3; right: clamp(16px, 2.4vw, 32px); top: calc(var(--nav-h) + 40px);
  width: 300px; padding: 10px; border-radius: var(--r-lg);
  background: rgba(255,255,255,0.97); color: var(--ink);
  box-shadow: 0 24px 60px -24px rgba(0,0,0,0.5);
}
.hero-now-in { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; align-items: center; }
.hero-now-thumb { width: 76px; height: 76px; border-radius: 12px; overflow: hidden; background: var(--stone); }
.hero-now-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hero-now .k { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.hero-now .n { font-weight: 600; font-size: 16px; letter-spacing: -0.015em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-now .m { font-size: 13.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-now .p { font-weight: 600; color: var(--coast); }
.hero-bars { display: grid; grid-auto-flow: column; gap: 5px; margin: 12px 4px 4px; }
.hero-bars button { height: 14px; display: grid; align-items: center; }
.hero-bars button span { display: block; height: 3px; border-radius: 3px; background: var(--stone-2); overflow: hidden; }
.hero-bars button span i { display: block; height: 100%; width: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.hero-bars button.done span i { transform: scaleX(1); }
.hero-bars button.is-active span i { animation: bar var(--dur, 7s) linear forwards; }
.hero.paused .hero-bars button.is-active span i { animation-play-state: paused; }
@keyframes bar { to { transform: scaleX(1); } }
.hero-now .go-sm { display: none; width: 40px; height: 40px; }
.hero-now-link { display: flex; align-items: center; justify-content: space-between; margin: 6px 4px 2px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.hero-now-link .i { width: 16px; height: 16px; transition: transform 0.3s var(--ease-out); }
.hero-now-link:hover .i { transform: translateX(3px); }

.search {
  position: absolute; z-index: 4; left: calc(12px + clamp(16px, 2.4vw, 32px)); right: calc(12px + clamp(16px, 2.4vw, 32px)); bottom: calc(12px + clamp(16px, 2.4vw, 32px));
  display: grid; grid-template-columns: auto minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 0.8fr) auto; align-items: center; gap: 6px;
  padding: 8px; border-radius: 999px; background: #fff; color: var(--ink);
  box-shadow: 0 24px 60px -28px rgba(0,0,0,0.55);
  max-width: 1080px;
}
.field-s { position: relative; display: grid; padding: 6px 18px 6px 20px; border-left: 1px solid var(--line); min-width: 0; }
.field-s label { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.field-s select { appearance: none; border: 0; background: transparent; padding: 0 22px 0 0; font-size: 15.5px; font-weight: 500; min-width: 0; text-overflow: ellipsis; cursor: pointer; outline: none; }
.field-s .i { position: absolute; right: 16px; bottom: 9px; width: 15px; height: 15px; pointer-events: none; color: var(--ink-3); }
.field-s:focus-within { background: var(--canvas); border-radius: 14px; }
.search .btn { --h: 54px; }

/* Statement / intro */
.statement { font-size: clamp(25px, 3.1vw, 46px); line-height: 1.18; letter-spacing: -0.03em; font-weight: 450; max-width: 23em; }
.statement .muted { color: #A19D96; }
.pill-img { display: inline-block; vertical-align: -0.14em; width: 1.95em; height: 0.98em; border-radius: 999px; overflow: hidden; margin: 0 0.06em; background: var(--stone); }
.pill-img img { width: 100%; height: 100%; object-fit: cover; }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 5vw, 72px); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.stat { padding: 26px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat .v { font-size: clamp(36px, 4.2vw, 60px); font-weight: 500; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat .t { margin-top: 12px; font-size: 14.5px; color: var(--ink-2); max-width: 24ch; }

/* Ticker */
.ticker { overflow: hidden; border-block: 1px solid var(--line); padding: 22px 0; user-select: none; }
.ticker-track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker.paused .ticker-track { animation-play-state: paused; }
.ticker-track span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-size: clamp(22px, 2.4vw, 32px); font-weight: 450; letter-spacing: -0.025em; white-space: nowrap; }
.ticker-track span em { font-style: normal; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.ticker-track .i { width: 20px; height: 20px; color: var(--brass); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Residence cards */
.tabs-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.grid-res { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 22px; }
.res-card { position: relative; min-width: 0; }
.res-card[hidden] { display: none; }
.res-media {
  position: relative; aspect-ratio: 4 / 3.15; border-radius: var(--r-lg); overflow: hidden; background: var(--stone);
  touch-action: pan-y; isolation: isolate; z-index: 2;
}
.res-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.45s var(--ease-out), transform 0.9s var(--ease-out); }
.res-media img.is-on { opacity: 1; }
.res-card:hover .res-media img.is-on { transform: scale(1.03); }
.res-media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(0deg, rgba(0,0,0,0.34), transparent); z-index: 1; pointer-events: none; }
.res-top { position: absolute; z-index: 2; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; pointer-events: none; }
.res-top > * { pointer-events: auto; }
.heart {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: rgba(255,255,255,0.96); color: var(--ink);
  transition: transform 0.16s var(--ease-out), color 0.2s;
}
.heart:active { transform: scale(0.9); }
.heart .i { width: 19px; height: 19px; transition: fill 0.2s, transform 0.4s var(--ease-out); }
.heart[aria-pressed="true"] { color: var(--accent); }
.heart[aria-pressed="true"] .i { fill: currentColor; animation: pop 0.45s var(--ease-out); }
@keyframes pop { 40% { transform: scale(1.3); } }
.res-dots { position: absolute; z-index: 2; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 5px; pointer-events: none; }
.res-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.5); transition: background-color 0.25s, transform 0.25s var(--ease-out); }
.res-dots i.is-on { background: #fff; transform: scale(1.2); }
.res-body { padding: 16px 4px 0; }
.res-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.res-price { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; }
.res-hood { font-size: 13.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.res-name { margin-top: 2px; font-size: 17px; font-weight: 500; letter-spacing: -0.015em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.res-name a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.res-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; font-size: 13.5px; color: var(--ink-2); }
.res-meta span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.res-meta .i { width: 16px; height: 16px; color: var(--ink-3); }
.res-card .heart, .res-card .res-top { z-index: 3; }

/* Coasts live */
.coasts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.coast-card {
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-xl);
  min-height: 600px; padding: clamp(24px, 3vw, 40px); color: #fff;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  outline: 2px solid transparent; outline-offset: 4px; transition: outline-color 0.5s var(--ease-out);
}
.coast-card.is-current { outline-color: transparent; }
.coast-card .bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.coast-card .bg img { width: 100%; height: 118%; object-fit: cover; margin-top: -9%; }
.coast-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,8,6,0.58) 0%, rgba(8,8,6,0.2) 38%, rgba(8,8,6,0.55) 62%, rgba(8,8,6,0.82) 100%); }
.coast-time, .coast-wx, .coast-card h3 { text-shadow: 0 1px 18px rgba(0,0,0,0.35); }
.coast-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.coast-card .place { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.86); }
.coast-card h3 { font-size: clamp(30px, 3.2vw, 46px); margin-top: 10px; }
.coast-time { font-size: clamp(52px, 6.4vw, 96px); font-weight: 400; letter-spacing: -0.05em; line-height: 0.95; font-variant-numeric: tabular-nums; white-space: nowrap; }
.coast-time small { font-size: 0.32em; letter-spacing: 0; margin-left: 0.25em; font-weight: 500; }
.coast-wx { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font-size: 15px; color: rgba(255,255,255,0.92); }
.coast-wx span { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.coast-wx .i { width: 18px; height: 18px; }
.coast-pulse { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: rgba(255,255,255,0.22); border-radius: var(--r-md); overflow: hidden; }
.coast-pulse div { padding: 14px 16px; background: rgba(14,13,11,0.62); }
.coast-pulse b { display: block; font-size: clamp(19px, 1.8vw, 24px); font-weight: 500; letter-spacing: -0.02em; white-space: nowrap; }
.coast-pulse span { display: block; font-size: 12.5px; color: rgba(255,255,255,0.75); line-height: 1.35; margin-top: 2px; }
.coast-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; }

/* Map */
.map-shell { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 0; border-radius: var(--r-xl); overflow: hidden; background: #fff; border: 1px solid var(--line); height: 660px; }
.map-list { overflow-y: auto; overscroll-behavior: contain; border-right: 1px solid var(--line); }
.map-list-head { position: sticky; top: 0; z-index: 2; background: #fff; padding: 16px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.map-list-head b { font-weight: 600; font-size: 15px; }
.map-row { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 14px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); transition: background-color 0.2s; cursor: pointer; }
.map-row:hover, .map-row.is-hot { background: var(--canvas); }
.map-row img { width: 92px; height: 70px; border-radius: 10px; object-fit: cover; }
.map-row .n { font-weight: 600; font-size: 15px; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.map-row .m { font-size: 13px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.map-row .p { font-size: 14px; font-weight: 600; color: var(--coast); }
.map-canvas { position: relative; min-width: 0; background: #E8E6E1; }
.map-canvas .leaflet-container { position: absolute; inset: 0; background: #E8E6E1; font-family: inherit; }
.map-float { position: absolute; z-index: 500; top: 16px; left: 16px; display: none; }
.map-card {
  position: absolute; z-index: 500; left: 16px; bottom: 16px; width: 320px; max-width: calc(100% - 32px);
  background: #fff; border-radius: var(--r-lg); padding: 10px; box-shadow: 0 20px 50px -20px rgba(0,0,0,0.4);
  display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 14px; align-items: center;
  opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity 0.3s var(--ease-out), transform 0.4s var(--ease-out);
}
.map-card.on { opacity: 1; transform: none; pointer-events: auto; }
.map-card img { width: 108px; height: 92px; object-fit: cover; border-radius: 12px; }
.map-card .n { font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.map-card .m { font-size: 13px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.map-card .p { font-weight: 600; color: var(--coast); margin-top: 4px; }
.map-card a.go { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 13.5px; font-weight: 600; }
.map-card a.go .i { width: 15px; height: 15px; }
.map-card-x { position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: var(--ink-3); }
.map-card-x .i { width: 15px; height: 15px; }
.pin { position: relative; display: flex; flex-direction: column; align-items: center; transform: translate(-50%, -100%); width: max-content; }
.pin-ph { width: 48px; height: 48px; border-radius: 50%; border: 3px solid #fff; overflow: hidden; box-shadow: 0 6px 18px rgba(0,0,0,0.3); background: var(--stone); transition: transform 0.3s var(--ease-out); }
.pin-ph img { width: 100%; height: 100%; object-fit: cover; }
.pin-tag { margin-top: 5px; padding: 3px 9px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; white-space: nowrap; box-shadow: 0 4px 12px rgba(0,0,0,0.25); transition: background-color 0.25s; }
.pin.is-hot .pin-ph { transform: scale(1.18); }
.pin.is-hot .pin-tag { background: var(--accent); }
.leaflet-div-icon.vs-pin { background: none; border: 0; }
.vs-office { width: 18px; height: 18px; border-radius: 50%; background: var(--coast); border: 4px solid #fff; box-shadow: 0 0 0 6px rgba(27,92,104,0.18), 0 6px 14px rgba(0,0,0,0.25); }
.leaflet-control-attribution { font-size: 10px !important; }
.leaflet-control-zoom a { border-radius: 10px !important; }
.leaflet-bar { border: 0 !important; box-shadow: 0 6px 18px rgba(0,0,0,0.15) !important; border-radius: 12px !important; overflow: hidden; }

/* Dark panel */
.panel-dark { background: var(--night); color: #fff; border-radius: var(--r-xl); padding: clamp(28px, 5vw, 80px); position: relative; overflow: hidden; }
.panel-dark .lead { color: rgba(255,255,255,0.72); }
.services { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.svc-list { border-top: 1px solid var(--night-line); }
.svc { border-bottom: 1px solid var(--night-line); }
.svc-btn { width: 100%; display: grid; grid-template-columns: 48px minmax(0, 1fr) 28px; align-items: center; gap: 12px; padding: 26px 0; text-align: left; }
.svc-btn .no { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.45); font-variant-numeric: tabular-nums; }
.svc-btn .t { font-size: clamp(22px, 2.3vw, 32px); font-weight: 450; letter-spacing: -0.03em; color: rgba(255,255,255,0.6); transition: color 0.3s var(--ease-out); }
.svc-btn .i { width: 22px; height: 22px; color: rgba(255,255,255,0.45); transition: transform 0.4s var(--ease-out); }
.svc.is-open .svc-btn .t, .svc-btn:hover .t { color: #fff; }
.svc.is-open .svc-btn .i { transform: rotate(45deg); color: #fff; }
.svc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease-out); }
.svc.is-open .svc-body { grid-template-rows: 1fr; }
.svc-body > div { overflow: hidden; }
.svc-body p { padding: 0 0 26px 60px; color: rgba(255,255,255,0.72); max-width: 54ch; }
.svc-body .svc-ph { display: none; }
.svc-visual { position: sticky; top: 110px; aspect-ratio: 4 / 4.6; border-radius: var(--r-lg); overflow: hidden; background: var(--night-2); }
.svc-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 0.7s var(--ease-out), transform 1.2s var(--ease-out); }
.svc-visual img.is-on { opacity: 1; transform: none; }
.svc-visual .cap { position: absolute; z-index: 2; left: 16px; bottom: 16px; right: 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }

/* Calculator */
.calc { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 16px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(22px, 3vw, 40px); }
.card-soft { background: var(--coast-soft); border-radius: var(--r-xl); padding: clamp(22px, 3vw, 40px); transition: background-color 0.5s var(--ease-out); }
.ctl { display: grid; gap: 12px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.ctl:first-child { padding-top: 0; }
.ctl:last-child { border-bottom: 0; padding-bottom: 0; }
.ctl-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ctl-head label, .ctl-head .lbl { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.ctl-head output { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ctl-head output small { font-size: 14px; font-weight: 500; color: var(--ink-3); margin-left: 6px; }
input[type="range"] {
  --p: 50%;
  -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; margin: 0;
}
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--coast) var(--p), var(--stone-2) var(--p)); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: var(--stone-2); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--coast); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,0.2); transition: transform 0.16s var(--ease-out); }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }
.ctl-scale { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--ink-3); }
.calc-out { display: flex; flex-direction: column; gap: 24px; height: 100%; }
.calc-total { display: flex; align-items: center; gap: 24px; }
.donut { width: 148px; height: 148px; flex: none; transform: rotate(-90deg); }
.donut circle { fill: none; stroke-width: 16; transition: stroke-dasharray 0.7s var(--ease-out), stroke-dashoffset 0.7s var(--ease-out); }
.calc-total .big { font-size: clamp(36px, 4vw, 54px); font-weight: 500; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc-total .sub { font-size: 14px; color: var(--ink-2); margin-top: 8px; }
.calc-rows { display: grid; gap: 0; }
.calc-rows div { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 13px 0; border-bottom: 1px solid rgba(22,20,15,0.1); font-size: 15px; }
.calc-rows i { width: 10px; height: 10px; border-radius: 3px; }
.calc-rows b { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc-cmp { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; padding: 14px 16px; border-radius: var(--r-md); border: 1px dashed rgba(22,20,15,0.22); font-size: 14.5px; color: var(--ink-2); margin-top: auto; }
.calc-cmp b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.calc-cmp + .calc-note { margin-top: 0; }
.prop-body .calc { grid-template-columns: minmax(0, 1fr); }
.prop-body .calc-total .big { font-size: clamp(32px, 3.2vw, 46px); }
.calc-note { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: var(--r-md); background: rgba(255,255,255,0.65); font-size: 14px; color: var(--ink-2); margin-top: auto; }
.calc-note .i { width: 20px; height: 20px; color: var(--coast); margin-top: 1px; }
.calc-note b { color: var(--ink); }

/* Testimonials */
.quotes { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.quote-media { position: relative; aspect-ratio: 4 / 4.4; border-radius: var(--r-xl); overflow: hidden; background: var(--stone); }
.quote-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.8s var(--ease-out); }
.quote-media img.is-on { opacity: 1; }
.quote-media .chip { position: absolute; left: 16px; bottom: 16px; z-index: 2; }
.quote-stage { display: grid; }
.quote { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-out), visibility 0s 0.6s; }
.quote.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.quote blockquote { margin: 0; font-size: clamp(23px, 2.5vw, 36px); line-height: 1.24; letter-spacing: -0.025em; font-weight: 450; }
.quote-by { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.quote-by b { display: block; font-weight: 600; }
.quote-by span { font-size: 14px; color: var(--ink-3); }
.quote-ctrl { display: flex; align-items: center; gap: 10px; margin-top: 40px; }
.quote-ctrl .count { margin-left: 8px; font-size: 14px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.round { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); transition: border-color 0.2s, background-color 0.2s, transform 0.16s var(--ease-out); }
.round:hover { border-color: var(--ink); }
.round:active { transform: scale(0.95); }
.round .i { width: 20px; height: 20px; }

/* Journal cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.post { position: relative; display: flex; flex-direction: column; min-width: 0; }
.post-media { aspect-ratio: 3 / 2; border-radius: var(--r-lg); overflow: hidden; background: var(--stone); }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-out); }
.post:hover .post-media img { transform: scale(1.04); }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 18px; font-size: 13px; color: var(--ink-3); }
.post-meta b { color: var(--brass); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; font-size: 11.5px; }
.post h3 { margin-top: 10px; font-size: clamp(20px, 1.7vw, 24px); letter-spacing: -0.025em; line-height: 1.22; }
.post h3 a::after { content: ""; position: absolute; inset: 0; }
.post p { margin-top: 10px; color: var(--ink-2); font-size: 15px; }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.faq-list { border-top: 1px solid var(--line-2); }
.qa { border-bottom: 1px solid var(--line-2); }
.q { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) 24px; gap: 16px; align-items: center; text-align: left; padding: 22px 4px; font-size: clamp(17px, 1.45vw, 20px); font-weight: 500; letter-spacing: -0.015em; color: var(--ink-2); transition: color 0.2s; }
.q:hover, .qa.is-open .q { color: var(--ink); }
.q .i { width: 20px; height: 20px; transition: transform 0.4s var(--ease-out); }
.qa.is-open .q .i { transform: rotate(45deg); }
.a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease-out); }
.a > div { overflow: hidden; }
.a p { padding: 0 4px 22px; color: var(--ink-2); }
.faq-card { position: sticky; top: 108px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(24px, 3vw, 44px); min-height: 380px; display: flex; flex-direction: column; }
.faq-card .k { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); }
.faq-card h3 { margin-top: 16px; font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -0.03em; line-height: 1.12; }
.faq-card p { margin-top: 16px; color: var(--ink-2); font-size: 16.5px; }
.faq-card .btn-row { margin-top: auto; padding-top: 28px; }
.faq-card .fade { animation: fadeUp 0.5s var(--ease-out); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } }
@media (min-width: 901px) {
  .faq .a { display: none; }
  .faq .qa.is-open .q { color: var(--ink); }
  .faq .qa.is-open .q .i { transform: translateX(4px); }
}

/* CTA panel */


/* Footer */

.letter { display: grid; gap: 14px; align-content: start; }
.letter p { font-size: 15px; }
.letter form { display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: var(--night-2); border: 1px solid var(--night-line); }
.letter input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 16px; color: #fff; outline: none; font-size: 16px; }
.letter input::placeholder { color: rgba(255,255,255,0.45); }
.letter .ok { color: #fff; font-weight: 500; display: none; align-items: center; gap: 8px; }
.letter.done form { display: none; }
.letter.done .ok { display: inline-flex; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding-top: 24px; padding-bottom: 56px; border-top: 1px solid var(--night-line); font-size: 13.5px; }
.foot-bottom .brand { color: #fff; margin: 0; }
.foot-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.credit a { color: #fff; border-bottom: 1px solid rgba(255,255,255,0.4); }

/* Drawer (shortlist) */
.scrim { position: fixed; inset: 0; z-index: 90; background: rgba(15,13,10,0.42); opacity: 0; visibility: hidden; transition: opacity 0.35s var(--ease-out), visibility 0s 0.35s; }
.scrim.on { opacity: 1; visibility: visible; transition-delay: 0s; }
.drawer {
  position: fixed; z-index: 95; top: 0; right: 0; bottom: 0; width: min(440px, 100%);
  background: var(--paper); display: flex; flex-direction: column;
  transform: translateX(104%); transition: transform 0.5s var(--ease-drawer);
  box-shadow: -20px 0 60px -20px rgba(0,0,0,0.25);
}
.drawer.on { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 20px 16px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 22px; letter-spacing: -0.025em; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer-empty { padding: 40px 0; text-align: center; color: var(--ink-2); }
.drawer-empty .i { width: 34px; height: 34px; margin: 0 auto 14px; color: var(--ink-3); }
.sl-item { display: grid; grid-template-columns: 96px minmax(0, 1fr) 36px; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.sl-item img { width: 96px; height: 76px; border-radius: 12px; object-fit: cover; }
.sl-item .n { font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl-item .m { font-size: 13px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl-item .p { font-size: 14px; font-weight: 600; color: var(--coast); }
.sl-item button { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-3); }
.sl-item button:hover { background: var(--canvas); color: var(--ink); }
.drawer-foot { padding: 18px 24px 24px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.drawer-foot p { font-size: 13.5px; color: var(--ink-3); }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 120; background: rgba(12,11,9,0.97); color: #fff; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; opacity: 0; visibility: hidden; transition: opacity 0.35s var(--ease-out), visibility 0s 0.35s; }
.lb.on { opacity: 1; visibility: visible; transition-delay: 0s; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; gap: 12px; }
.lb-top .count { font-size: 14px; color: rgba(255,255,255,0.75); font-variant-numeric: tabular-nums; }
.lb-stage { position: relative; display: grid; place-items: center; padding: 0 clamp(12px, 6vw, 96px); min-height: 0; touch-action: pan-y; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 12px; transition: opacity 0.3s var(--ease-out), transform 0.4s var(--ease-out); }
.lb-stage img.swap { opacity: 0; transform: scale(0.985); }
.lb-nav { position: absolute; top: 50%; translate: 0 -50%; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,0.12); color: #fff; transition: background-color 0.2s; }
.lb-nav:hover { background: rgba(255,255,255,0.22); }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lb-cap { padding: 14px 20px 22px; text-align: center; font-size: 14px; color: rgba(255,255,255,0.7); }
.lb .icon-btn { background: rgba(255,255,255,0.12); color: #fff; }

/* Toast */
.toast { position: fixed; z-index: 130; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; display: inline-flex; align-items: center; gap: 10px; max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14.5px; font-weight: 500; box-shadow: 0 14px 40px -12px rgba(0,0,0,0.4); transition: opacity 0.3s var(--ease-out), transform 0.4s var(--ease-out); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.toast .i { width: 18px; height: 18px; color: var(--accent-2); }

/* Cursor bubble */
.cursor { position: fixed; z-index: 110; top: 0; left: 0; width: 0; height: 0; pointer-events: none; will-change: transform; }
.cursor span { position: absolute; left: -42px; top: -42px; width: 84px; height: 84px; border-radius: 50%; background: rgba(255,255,255,0.96); color: var(--ink); display: grid; place-items: center; font-size: 13px; font-weight: 600; box-shadow: 0 10px 30px -10px rgba(0,0,0,0.35); transform: scale(0); transition: transform 0.35s var(--ease-out); }
.cursor.on span { transform: scale(1); }

/* Page head (inner pages) */
.page-head { padding-top: calc(var(--nav-top) + clamp(40px, 5vw, 64px)); padding-bottom: clamp(28px, 3.5vw, 48px); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-3); margin-bottom: 22px; }
.crumbs a:hover { color: var(--ink); }
.crumbs .i { width: 14px; height: 14px; }
.page-head .h1 { max-width: 15em; }
.page-head .lead { margin-top: 20px; max-width: 52ch; }
.head-split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 24px 64px; align-items: end; }

/* Filters (residences) */
.filters { position: sticky; top: calc(var(--nav-top) + 8px); z-index: 30; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 30px -20px rgba(0,0,0,0.25); }
.sel { position: relative; min-width: 0; }
.sel select { appearance: none; height: 44px; padding: 0 38px 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-size: 14.5px; font-weight: 500; cursor: pointer; outline: none; width: 100%; text-overflow: ellipsis; }
.sel select:hover { border-color: var(--line-2); }
.sel select:focus-visible { border-color: var(--ink); }
.sel .i { position: absolute; right: 14px; top: 50%; translate: 0 -50%; width: 15px; height: 15px; pointer-events: none; color: var(--ink-3); }
.filters .spacer { flex: 1; }
.results-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 28px 0 22px; }
.results-bar b { font-weight: 600; }
.res-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.res-layout.with-map { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.res-layout.with-map .grid-res { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.res-map { display: none; position: sticky; top: calc(var(--nav-top) + 84px); height: calc(100svh - var(--nav-top) - 108px); min-height: 480px; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); }
.res-layout.with-map .res-map { display: block; }
.empty { display: none; padding: 64px 24px; text-align: center; border: 1px dashed var(--line-2); border-radius: var(--r-xl); }
.empty.on { display: block; }
.empty p { color: var(--ink-2); margin: 10px auto 20px; max-width: 40ch; }
.offmarket { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; margin-top: clamp(56px, 6vw, 88px); padding: clamp(24px, 3vw, 40px); border-radius: var(--r-xl); background: var(--night); color: #fff; }
.offmarket p { color: rgba(255,255,255,0.72); margin-top: 8px; max-width: 52ch; }

/* Property page */
.prop-head { padding-top: calc(var(--nav-top) + 44px); }
.prop-title { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 40px; align-items: end; margin-bottom: 28px; }
.prop-title h1 { font-size: clamp(34px, 4.4vw, 64px); }
.prop-title .loc { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 14px; color: var(--ink-2); }
.prop-title .loc span { display: inline-flex; align-items: center; gap: 6px; }
.prop-title .loc .i { width: 17px; height: 17px; color: var(--ink-3); }
.prop-price { text-align: right; }
.prop-price .v { font-size: clamp(30px, 3.4vw, 48px); font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.prop-price .s { font-size: 14px; color: var(--ink-3); margin-top: 8px; }
.prop-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 14px; }
.mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; height: clamp(420px, 44vw, 620px); }
.mosaic button { position: relative; overflow: hidden; border-radius: var(--r-md); background: var(--stone); }
.mosaic button:first-child { grid-row: span 2; border-radius: var(--r-xl) var(--r-md) var(--r-md) var(--r-xl); }
.mosaic button:nth-child(3) { border-top-right-radius: var(--r-xl); }
.mosaic button:nth-child(5) { border-bottom-right-radius: var(--r-xl); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-out); }
.mosaic button:hover img { transform: scale(1.04); }
.mosaic .all { position: absolute; right: 14px; bottom: 14px; z-index: 2; }
.mgal { display: none; position: relative; aspect-ratio: 4 / 3.1; border-radius: var(--r-lg); overflow: hidden; background: var(--stone); }
.mgal img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.4s var(--ease-out); }
.mgal img.is-on { opacity: 1; }
.mgal .ctrl { position: absolute; z-index: 2; left: 12px; right: 12px; bottom: 12px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.mgal .ctrl .pair { display: flex; gap: 8px; }
.mgal .icon-btn { background: rgba(255,255,255,0.95); }
.prop-body { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(32px, 5vw, 80px); margin-top: clamp(40px, 5vw, 72px); align-items: start; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.facts div { background: #fff; padding: 18px 20px; min-width: 0; }
.facts .i { width: 20px; height: 20px; color: var(--brass); }
.facts b { display: block; margin-top: 10px; font-size: 22px; font-weight: 500; letter-spacing: -0.025em; line-height: 1.2; overflow-wrap: anywhere; }
.facts span { font-size: 13.5px; color: var(--ink-3); }
.prop-sec { padding-top: clamp(40px, 4.5vw, 64px); margin-top: clamp(40px, 4.5vw, 64px); border-top: 1px solid var(--line); }
.prop-sec:first-child { padding-top: 0; margin-top: 0; border-top: 0; }
.prop-sec h2 { font-size: clamp(26px, 2.6vw, 36px); margin-bottom: 20px; }
.prose p + p { margin-top: 16px; }
.prose p { color: var(--ink-2); font-size: 17px; line-height: 1.7; }
.prose .first { font-size: clamp(19px, 1.6vw, 22px); color: var(--ink); line-height: 1.5; letter-spacing: -0.01em; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.features h3 { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.features li { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; font-size: 15.5px; border-bottom: 1px solid var(--line); }
.features li .i { width: 17px; height: 17px; margin-top: 3px; color: var(--coast); }
.loc-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; }
.loc-map { position: relative; height: 380px; border-radius: var(--r-lg); overflow: hidden; background: #2b2b2b; }
.loc-map .leaflet-container { position: absolute; inset: 0; }
.drives li { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.drives li:first-child { padding-top: 0; }
.drives .ico { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--coast-soft); color: var(--coast); }
.drives .ico .i { width: 17px; height: 17px; }
.drives b { font-weight: 600; white-space: nowrap; }
.drives .note { font-size: 12.5px; color: var(--ink-3); margin-top: 12px; }
.advisor { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; align-items: center; }
.advisor img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: top; }
.advisor b { display: block; font-weight: 600; font-size: 17px; letter-spacing: -0.015em; }
.advisor span { font-size: 14px; color: var(--ink-3); }

.book { position: relative; }
@media (min-width: 901px) and (min-height: 980px) { .book { position: sticky; top: calc(var(--nav-top) + 76px); } }
@media (min-width: 1101px) { .book .days { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; } .book .day { padding: 8px 2px; } .book .day b { font-size: 18px; } }
.book .card { padding: 26px; }
.book-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.book-head b { display: block; font-size: 22px; font-weight: 600; letter-spacing: -0.025em; }
.book-head span { font-size: 13.5px; color: var(--ink-3); }
.book h3 { font-size: 14px; font-weight: 600; color: var(--ink-2); margin: 18px 0 10px; letter-spacing: 0; }
.days { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.day, .slot { border: 1px solid var(--line); border-radius: 14px; padding: 10px 6px; text-align: center; transition: border-color 0.2s, background-color 0.2s, color 0.2s, transform 0.16s var(--ease-out); }
.day:hover, .slot:hover { border-color: var(--ink-3); }
.day:active, .slot:active { transform: scale(0.97); }
.day small { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.day b { display: block; font-size: 20px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; }
.day span { display: block; font-size: 12px; color: var(--ink-3); }
.day[aria-pressed="true"], .slot[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.day[aria-pressed="true"] small, .day[aria-pressed="true"] span { color: rgba(255,255,255,0.7); }
.slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.slot { font-size: 14px; font-weight: 600; padding: 11px 4px; }
.fields { display: grid; gap: 10px; margin-top: 18px; }
.input { display: grid; gap: 6px; }
.input label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.input input, .input select, .input textarea {
  width: 100%; height: 50px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--paper);
  font-size: 16px; outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.input textarea { height: auto; min-height: 120px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
.input select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%236F685D' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 5l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.input input:focus, .input select:focus, .input textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(22,20,15,0.06); }
.input.err input, .input.err select { border-color: var(--accent); }
.row-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fine { font-size: 12.5px; color: var(--ink-3); margin-top: 12px; line-height: 1.5; }
.form-done { display: none; text-align: center; padding: 12px 0 4px; }
.form-done .tick { width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; background: var(--coast-soft); color: var(--coast); }
.form-done .tick .i { width: 26px; height: 26px; stroke-width: 2; }
.form-done h3 { font-size: 22px; color: var(--ink); margin: 0; letter-spacing: -0.025em; }
.form-done p { color: var(--ink-2); margin: 10px 0 20px; }
.is-done .form-live { display: none; }
.is-done .form-done { display: block; animation: fadeUp 0.5s var(--ease-out); }
.mbar { display: none; }

/* Neighbourhoods */
.coast-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; margin-bottom: clamp(36px, 4vw, 56px); }
.coast-intro .ph { aspect-ratio: 16 / 11; border-radius: var(--r-xl); overflow: hidden; background: var(--stone); }
.coast-intro .ph img { width: 100%; height: 115%; object-fit: cover; }
.coast-intro .h2 { margin-top: 18px; }
.coast-intro .lead { margin-top: 18px; }
.hood { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; min-width: 0; transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out); }
.hood:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(0,0,0,0.35); }
.hood-ph { aspect-ratio: 16 / 10; overflow: hidden; background: var(--stone); }
.hood-ph img { width: 100%; height: 100%; object-fit: cover; }
.hood-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.hood h3 { font-size: 22px; letter-spacing: -0.025em; }
.hood p { font-size: 15px; color: var(--ink-2); }
.hood-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.hood-stats b { display: block; font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.hood-stats span { font-size: 12.5px; color: var(--ink-3); }
.hood a.go { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; margin-top: 4px; }
.hood a.go::after { content: ""; position: absolute; inset: 0; }
.hood a.go .i { width: 15px; height: 15px; transition: transform 0.3s var(--ease-out); }
.hood:hover a.go .i { transform: translateX(3px); }
.compare { border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); overflow: hidden; }
.cmp-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 16px; padding: 20px clamp(20px, 3vw, 36px); border-bottom: 1px solid var(--line); align-items: center; }
.cmp-row:last-child { border-bottom: 0; }
.cmp-row.head { background: var(--canvas); font-weight: 600; }
.cmp-row .lbl { font-size: 14.5px; color: var(--ink-2); font-weight: 500; }
.cmp-row .v { font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }
.cmp-row .v small { display: block; font-size: 13px; color: var(--ink-3); font-weight: 400; letter-spacing: 0; }
.cmp-row.head .v { display: flex; align-items: center; gap: 10px; }
.cmp-row.head .v i { width: 10px; height: 10px; border-radius: 50%; }

/* Sell */
.sell-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.sell-ph { position: relative; aspect-ratio: 4 / 4.3; border-radius: var(--r-xl); overflow: hidden; background: var(--stone); }
.sell-ph img { width: 100%; height: 100%; object-fit: cover; }
.float-card { position: absolute; z-index: 2; background: #fff; border-radius: var(--r-lg); padding: 14px 16px; box-shadow: 0 24px 50px -24px rgba(0,0,0,0.45); display: flex; gap: 12px; align-items: center; max-width: calc(100% - 32px); }
.float-card .ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--coast-soft); color: var(--coast); flex: none; }
.float-card b { display: block; font-weight: 600; font-size: 15px; letter-spacing: -0.01em; white-space: nowrap; }
.float-card span { font-size: 13px; color: var(--ink-3); white-space: nowrap; }
.val { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.val-out { background: var(--night); color: #fff; border-radius: var(--r-xl); padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; gap: 20px; }
.val-out .k { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.val-range { font-size: clamp(36px, 4.4vw, 64px); font-weight: 450; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.val-range span { color: rgba(255,255,255,0.45); }
.val-bar { position: relative; height: 8px; border-radius: 8px; background: var(--night-line); margin-top: 6px; }
.val-bar i { position: absolute; top: 0; bottom: 0; border-radius: 8px; background: var(--brass-2); transition: left 0.6s var(--ease-out), right 0.6s var(--ease-out); }
.val-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding-top: 20px; border-top: 1px solid var(--night-line); }
.val-meta b { display: block; font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }
.val-meta span { font-size: 12.5px; color: rgba(255,255,255,0.6); }
.val-out .fine { color: rgba(255,255,255,0.5); margin-top: auto; }
.toggle-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tgl { height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; color: var(--ink-2); transition: all 0.2s var(--ease-out); }
.tgl:hover { border-color: var(--ink-3); }
.tgl[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.tgl:active { transform: scale(0.97); }
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.step { position: relative; padding-top: 28px; border-top: 1px solid var(--line-2); }
.step::before { content: ""; position: absolute; top: -1px; left: 0; height: 2px; width: var(--fill, 0%); background: var(--coast); }
.step .no { font-size: 13px; font-weight: 600; color: var(--brass); font-variant-numeric: tabular-nums; }
.step h3 { font-size: 20px; letter-spacing: -0.02em; margin-top: 10px; }
.step p { font-size: 14.5px; color: var(--ink-2); margin-top: 8px; }
.step .wk { display: inline-block; margin-top: 12px; font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
.show { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; }
.show-card { position: relative; border-radius: var(--r-xl); overflow: hidden; min-height: 460px; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; isolation: isolate; }
.show-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.show-card:hover img { transform: scale(1.04); }
.show-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0,0,0,0.72), rgba(0,0,0,0) 60%); }
.show-card h3 { font-size: 24px; letter-spacing: -0.025em; }
.show-card p { font-size: 14.5px; color: rgba(255,255,255,0.82); margin-top: 8px; max-width: 36ch; }

/* Advisors */
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.adv { position: relative; text-align: left; min-width: 0; display: block; width: 100%; }
.adv[hidden] { display: none; }
.adv-ph { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--stone); }
.adv-ph img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; filter: grayscale(0.35); transition: filter 0.6s var(--ease-out), transform 0.9s var(--ease-out); }
.adv:hover .adv-ph img { filter: none; transform: scale(1.03); }
.adv-ph .chip { position: absolute; left: 12px; bottom: 15px; height: 30px; padding: 0 12px; font-size: 12.5px; box-shadow: 0 6px 16px -8px rgba(0,0,0,0.35); }
.adv-ph .plus { position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; transition: transform 0.35s var(--ease-out); }
.adv:hover .plus { transform: rotate(90deg); }
.adv b { display: block; margin-top: 16px; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adv span { display: block; font-size: 14px; color: var(--ink-3); line-height: 1.4; margin-top: 2px; }
.modal { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 16px; opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease-out), visibility 0s 0.3s; }
.modal.on { opacity: 1; visibility: visible; transition-delay: 0s; }
.modal .scrim { position: absolute; z-index: 0; opacity: 1; visibility: inherit; transition: none; }
.modal-box { position: relative; z-index: 2; box-shadow: 0 40px 80px -30px rgba(0,0,0,0.5); width: min(880px, 100%); max-height: calc(100svh - 32px); overflow-y: auto; background: #fff; border-radius: var(--r-xl); display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); transform: translateY(16px) scale(0.98); transition: transform 0.45s var(--ease-out); }
.modal.on .modal-box { transform: none; }
.modal-ph { min-height: 100%; background: var(--stone); overflow: hidden; border-radius: var(--r-xl) 0 0 var(--r-xl); }
.modal-ph img { width: 100%; height: 100%; object-fit: cover; object-position: top; min-height: 320px; }
.modal-body { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; }
.modal-body h3 { font-size: 30px; letter-spacing: -0.03em; }
.modal-body p { color: var(--ink-2); }
.modal-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 16px 0; border-block: 1px solid var(--line); }
.modal-stats b { display: block; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.modal-stats span { font-size: 12.5px; color: var(--ink-3); }
.modal-x { position: absolute; z-index: 2; top: 12px; right: 12px; }
.offices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.office { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; display: flex; flex-direction: column; }
.office-ph { position: relative; aspect-ratio: 16 / 9; background: var(--stone); overflow: hidden; }
.office-ph img { width: 100%; height: 100%; object-fit: cover; }
.office-ph .leaflet-container { position: absolute; inset: 0; }
.office-body { padding: clamp(20px, 2.6vw, 32px); display: grid; gap: 14px; }
.office-body h3 { font-size: 26px; letter-spacing: -0.03em; }
.office-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.office-row a { font-weight: 600; color: var(--ink); }
.office-time { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.office-time .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(29,79,90,0.16); }
.office-time.closed .dot { background: var(--ink-3); box-shadow: none; }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.value { padding: clamp(22px, 2.6vw, 32px); border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); }
.value .ico { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--coast-soft); color: var(--coast); }
.value .ico .i { width: 22px; height: 22px; }
.value h3 { margin-top: 22px; font-size: 22px; letter-spacing: -0.025em; }
.value p { margin-top: 10px; color: var(--ink-2); font-size: 15.5px; }

/* Journal */
.feature-post { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; position: relative; }
.feature-post .post-media { aspect-ratio: 16 / 11; border-radius: var(--r-xl); }
.feature-post h2 { font-size: clamp(28px, 3vw, 44px); margin-top: 14px; }
.feature-post h2 a::after { content: ""; position: absolute; inset: 0; }
.feature-post p { margin-top: 16px; color: var(--ink-2); font-size: 17px; }
.article-head { padding-top: calc(var(--nav-top) + 60px); max-width: 900px; margin: 0 auto; text-align: center; }
.article-head h1 { font-size: clamp(34px, 4.6vw, 66px); margin-top: 20px; }
.article-head .post-meta { justify-content: center; margin-top: 22px; }
.article-hero { margin-top: clamp(36px, 4vw, 56px); aspect-ratio: 21 / 9; border-radius: var(--r-xl); overflow: hidden; background: var(--stone); }
.article-hero img { width: 100%; height: 118%; object-fit: cover; }
.article-body { max-width: 720px; margin: clamp(40px, 5vw, 72px) auto 0; }
.article-body p { font-size: 18px; line-height: 1.75; color: var(--ink-2); }
.article-body p + p { margin-top: 22px; }
.article-body h2 { font-size: clamp(24px, 2.4vw, 32px); margin: 48px 0 16px; letter-spacing: -0.03em; }
.article-body .first { font-size: clamp(20px, 1.8vw, 24px); color: var(--ink); line-height: 1.5; letter-spacing: -0.01em; }
.pull { margin: 44px 0; padding: 4px 0 4px 28px; border-left: 2px solid var(--coast); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.3; letter-spacing: -0.025em; color: var(--ink); font-weight: 450; }
.article-figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 40px 0; }
.article-figs div { padding: 18px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); }
.article-figs b { display: block; font-size: 26px; font-weight: 500; letter-spacing: -0.03em; color: var(--ink); }
.article-figs span { font-size: 13px; color: var(--ink-3); line-height: 1.4; display: block; margin-top: 4px; }
.byline { display: flex; align-items: center; gap: 14px; justify-content: center; margin-top: 26px; }
.byline img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: top; }
.byline b { display: block; font-weight: 600; font-size: 15px; text-align: left; }
.byline span { display: block; font-size: 13px; color: var(--ink-3); text-align: left; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 16px; align-items: start; }
.chips-pick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.chips-pick .tgl { width: 100%; padding: 0 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.office-stack { display: grid; gap: 16px; }
.office-stack .office-ph { aspect-ratio: 16 / 8; }

/* 404 */
.nf { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter) 60px; }
.nf .h1 { margin-top: 18px; }
.nf .lead { margin: 18px auto 28px; max-width: 44ch; }

/* Motion helpers */
.has-motion [data-reveal] { opacity: 0; transform: translateY(26px); }
.has-motion .split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.14em; margin-bottom: -0.14em; padding-right: 0.02em; }
.has-motion .split .wi { display: inline-block; transform: translateY(105%); will-change: transform; }
.has-motion [data-clip] { clip-path: inset(0% 0% 100% 0%); }
.has-motion .split:not(.is-split) { visibility: hidden; }
.has-motion [data-clip] img { transform: scale(1.14); }
[data-parallax] { overflow: hidden; }

/* Responsive */

@media (max-width: 1100px) {
  .grid-res { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .map-shell { grid-template-columns: 320px minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; }
  .search { grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr) auto; }
  .search .field-beds { display: none; }
  .prop-body { grid-template-columns: minmax(0, 1fr) 360px; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .res-layout.with-map { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); }
  .res-layout.with-map .grid-res { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  :root { --nav-h: 58px; }
  .sec-head, .head-split { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .hero-frame { height: clamp(600px, calc(100svh - 24px), 820px); }
  .hero-copy { bottom: 132px; }
  .hero-now { top: auto; bottom: 16px; left: 16px; right: 16px; width: auto; padding: 8px 10px; }
  .hero-now-in { grid-template-columns: 52px minmax(0, 1fr) auto; }
  .hero-now-thumb { width: 52px; height: 52px; border-radius: 10px; }
  .hero-now .k { display: none; }
  .hero-now-link { display: none; }
  .hero-now .go-sm { display: grid; }
  .hero-bars { margin: 8px 2px 0; }
  .search { position: relative; left: auto; right: auto; bottom: auto; margin-top: 12px; border-radius: var(--r-lg); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 10px; gap: 8px; box-shadow: none; border: 1px solid var(--line); max-width: none; }
  .field-s { border-left: 0; background: var(--canvas); border-radius: 14px; padding: 8px 14px; }
  .search .field-beds { display: grid; }
  .search .btn { grid-column: 1 / -1; --h: 52px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { margin-top: 8px; border-top: 1px solid var(--line); }
  .coasts { grid-template-columns: minmax(0, 1fr); }
  .coast-card { min-height: 540px; }
  .map-shell { grid-template-columns: minmax(0, 1fr); height: 520px; }
  .map-list { display: none; }
  .map-float { display: block; }
  .services { grid-template-columns: minmax(0, 1fr); }
  .svc-visual { display: none; }
  .svc-body .svc-ph { display: block; aspect-ratio: 16 / 10; border-radius: var(--r-md); overflow: hidden; margin: 0 0 18px 60px; }
  .svc-body .svc-ph img { width: 100%; height: 100%; object-fit: cover; }
  .calc { grid-template-columns: minmax(0, 1fr); }
  .quotes { grid-template-columns: minmax(0, 1fr); }
  .quote-media { aspect-ratio: 16 / 11; }
  .grid-3 { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .faq { grid-template-columns: minmax(0, 1fr); }
  .faq-card { display: none; }
  .qa.is-open .a { grid-template-rows: 1fr; }
  .res-layout.with-map { grid-template-columns: minmax(0, 1fr); }
  .res-layout.with-map .grid-res { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .res-layout.with-map .res-map { position: relative; top: 0; height: 440px; min-height: 0; order: -1; }
  .view-toggle { display: none; }
  .prop-title { grid-template-columns: minmax(0, 1fr); }
  .prop-price { text-align: left; }
  .prop-actions { justify-content: flex-start; }
  .mosaic { display: none; }
  .mgal { display: block; }
  .prop-body { grid-template-columns: minmax(0, 1fr); }
  .book { position: static; }
  .prop-body { display: flex; flex-direction: column; gap: 0; }
  .prop-main { display: contents; }
  .prop-main > .prop-sec:first-child { order: 1; }
  .book { order: 2; margin-top: 40px; }
  .prop-main > .prop-sec:not(:first-child) { order: 3; }
  .loc-grid { grid-template-columns: minmax(0, 1fr); }
  .mbar { position: fixed; z-index: 60; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: 0 16px 40px -16px rgba(0,0,0,0.35); transform: translateY(140%); transition: transform 0.5s var(--ease-drawer); }
  .mbar.on { transform: none; }
  .mbar b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; }
  .mbar span { display: block; font-size: 12.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mbar > div { min-width: 0; }
  .coast-intro { grid-template-columns: minmax(0, 1fr); }
  .sell-hero, .val { grid-template-columns: minmax(0, 1fr); }
  .show { grid-template-columns: minmax(0, 1fr); }
  .show-card { min-height: 360px; }
  .offices, .values { grid-template-columns: minmax(0, 1fr); }
  .modal-box { grid-template-columns: minmax(0, 1fr); }
  .modal-ph img { min-height: 0; aspect-ratio: 16 / 11; object-position: center 20%; }
  .feature-post { grid-template-columns: minmax(0, 1fr); }
  .contact { grid-template-columns: minmax(0, 1fr); }
  .offmarket { grid-template-columns: minmax(0, 1fr); }
  .offmarket .btn { justify-self: start; }
  .filters { position: relative; top: 0; }
}
@media (max-width: 640px) {
  :root { --fs-h1: clamp(34px, 10.2vw, 46px); --fs-h2: clamp(28px, 7.6vw, 36px); }
  .section { padding-block: 72px; }
  .brand { gap: 11px; }
  .brand-mark { height: 28px; }
  .brand-div { height: 26px; }
  .brand-word { font-size: 19px; }
  .icon-btn { width: 44px; height: 44px; }
  .hero { padding: 8px; }
  .hero-frame { border-radius: 22px; height: max(560px, calc(100svh - 120px)); }
  .hero-copy { left: 18px; right: 18px; bottom: 116px; }
  .hero-copy .lead { font-size: 16px; margin-top: 14px; }
  .hero-copy .h1 { margin-top: 14px; }
  .grid-res, .res-layout.with-map .grid-res { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .tabs-row { flex-direction: column; align-items: stretch; }
  .tabs-row .seg { display: flex; }
  .tabs-row .seg button { flex: 1; padding: 0 8px; }
  .tabs-row .link-arrow { align-self: flex-start; }
  .stat { padding-right: 12px; }
  .stat + .stat { padding-left: 16px; }
  .stat:nth-child(3) { padding-left: 0; }
  .stat .t { font-size: 13.5px; }
  .coast-card { min-height: 0; padding: 22px; gap: 28px; }
  .coast-pulse div { padding: 12px; }
  .coast-pulse b { font-size: 18px; }
  .coast-foot .btn { width: 100%; }
  .map-shell { height: 480px; border-radius: 22px; }
  .map-card { left: 10px; right: 10px; bottom: 10px; width: auto; max-width: none; grid-template-columns: 92px minmax(0, 1fr); }
  .map-card img { width: 92px; height: 84px; }
  .svc-btn { grid-template-columns: 36px minmax(0, 1fr) 24px; padding: 22px 0; }
  .svc-body p { padding-left: 48px; }
  .svc-body .svc-ph { margin-left: 48px; }
  .calc-total { flex-direction: column; align-items: flex-start; gap: 18px; }
  .donut { width: 120px; height: 120px; }
  .quote-ctrl { margin-top: 28px; }
  .btn-row .btn { flex: 1 1 100%; }
  .letter form { flex-direction: column; border-radius: 20px; padding: 8px; }
  .letter input { height: 46px; }
  .letter .btn { width: 100%; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
  .filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 20px; }
  .filters .seg { grid-column: 1 / -1; display: flex; }
  .filters .seg button { flex: 1; padding: 0 6px; }
  .filters .spacer { display: none; }
  .filters .sel:last-child { grid-column: 1 / -1; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features { grid-template-columns: minmax(0, 1fr); }
  .prop-head { padding-top: calc(var(--nav-top) + 28px); }
  .prop-actions .btn { flex: 1; }
  .book .card { padding: 20px; }
  .loc-map { height: 300px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
  .adv b { font-size: 16px; }
  .adv span { font-size: 13px; }
  .adv-ph .chip { left: 8px; top: auto; bottom: 13px; height: 24px; padding: 0 9px; font-size: 11.5px; }
  .adv-ph .plus { width: 34px; height: 34px; right: 8px; bottom: 8px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .val-meta { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .val-meta b { font-size: 18px; }
  .chips-pick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row-2 { grid-template-columns: minmax(0, 1fr); }
  .cmp-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 16px; padding: 16px 18px; }
  .cmp-row .lbl { grid-column: 1 / -1; }
  .cmp-row.head .lbl { display: none; }
  .article-figs { grid-template-columns: minmax(0, 1fr); }
  .article-hero { aspect-ratio: 4 / 3; }
  .page-head { padding-top: calc(var(--nav-top) + 40px); }
  .modal { padding: 0; align-items: end; }
  .modal-box { border-radius: 22px 22px 0 0; max-height: 92svh; }
  .lb-nav { width: 44px; height: 44px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
}
@media (max-width: 420px) {
  .hero-now .now-beds { display: none; }
}
@media (max-width: 380px) {
  .brand-word { font-size: 18px; }
  .hero-copy .lead { display: none; }
  .hero-copy { bottom: 108px; }
  .coast-pulse { grid-template-columns: minmax(0, 1fr); }
  .coast-pulse div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
  .coast-pulse span { margin: 0; text-align: right; }
  .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .days { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .day b { font-size: 18px; }
}
@media (hover: none) { .cursor { display: none; } }
@media (pointer: coarse) {
  .seg button { height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .ticker-track { animation: none; }
}

/* ================= v2: options, brand motif, engagement ================= */

/* Variant visibility */

/* ---- Nav B: two clocks ---- */


/* ---- Nav C: pills + full menu ---- */


/* ---- Hero A additions ---- */
.hero-media { position: absolute; inset: 0; will-change: transform; }

/* ---- Hero B: horizon split ---- */


/* ---- Hero C: flight arc ---- */

@keyframes arcdraw { to { stroke-dashoffset: 0; } }

/* ---- Statement scroll fill ---- */


/* ---- Cards v2 ---- */
.res-media::after { height: 46%; background: linear-gradient(0deg, rgba(0,0,0,0.5), transparent); }
.res-foot { position: absolute; z-index: 2; left: 14px; right: 14px; bottom: 12px; display: flex; justify-content: space-between; align-items: center; gap: 12px; pointer-events: none; }
.res-loc { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-size: 13px; font-weight: 600; letter-spacing: 0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.res-loc .i { width: 15px; height: 15px; flex: none; }
.res-foot .res-dots { position: static; display: flex; gap: 5px; flex: none; }
.res-body { padding: 16px 2px 0; }
.res-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 16px; }
.res-name { margin: 0; font-size: 18px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.res-price { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.res-specs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); }
.res-specs div { display: flex; flex-direction: column-reverse; gap: 2px; min-width: 0; padding: 0 10px; }
.res-specs div:first-child { padding-left: 0; }
.res-specs div + div { border-left: 1px solid var(--line); }
.res-specs dd { margin: 0; font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.res-specs dt { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.res-card .res-meta, .res-card .res-hood { display: none; }
@media (max-width: 380px) { .res-specs div { padding: 0 7px; } .res-specs dd { font-size: 14.5px; } .res-specs dt { font-size: 11px; letter-spacing: 0.04em; } }

/* ---- Horizon motif ---- */
.hz-wrap { padding-block: clamp(24px, 4vw, 48px); }
.horizon { position: relative; padding-top: 34px; }
.horizon svg { display: block; width: 100%; height: clamp(46px, 6vw, 80px); overflow: visible; }
.horizon path { fill: none; stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.hz-base { stroke: var(--line-2); stroke-dasharray: 0.004 0.006; }
.hz-line { stroke-dasharray: 1; stroke-dashoffset: 0; }
.has-motion .hz-line { stroke-dashoffset: 1; }
.hz-l, .hz-r { position: absolute; top: 0; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
.hz-l { left: 0; }
.hz-r { right: 0; }
.hz-l i, .hz-r i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); }
.hz-r i { background: var(--accent); }
.horizon b { font-weight: 600; color: var(--ink); letter-spacing: 0; text-transform: none; font-variant-numeric: tabular-nums; }

/* ---- Day on each coast ---- */
.daylife { padding-block: clamp(56px, 6vw, 96px) 0; }
.day-pin { display: flex; flex-direction: column; gap: clamp(24px, 3vw, 40px); }
.day-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 16px 56px; align-items: end; }
.day-head .h2 { margin-top: 18px; }
.day-stage { position: relative; }
.day-moments { display: grid; gap: 40px; }
.moment { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.m-time { grid-column: 1 / -1; font-size: clamp(26px, 2.4vw, 34px); font-weight: 400; letter-spacing: -0.03em; padding-top: 14px; border-top: 1px solid var(--line-2); }
.m-fig { margin: 0; display: grid; gap: 12px; align-content: start; }
.m-ph { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--stone); }
.m-ph img { width: 100%; height: 100%; object-fit: cover; }
.m-fig figcaption { font-size: 15.5px; color: var(--ink-2); line-height: 1.45; max-width: 40ch; }
.m-fig figcaption b { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.day-clock { display: none; }
.dc-face { display: flex; align-items: baseline; gap: 6px; }
.dc-t { font-size: clamp(72px, 7vw, 112px); font-weight: 300; letter-spacing: -0.06em; line-height: 0.9; font-variant-numeric: tabular-nums; }
.dc-ap { font-size: 18px; font-weight: 600; color: var(--ink-3); }
.dc-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; text-align: center; font-size: 13px; color: var(--ink-3); }
.dc-ticks li { transition: color 0.3s; }
.dc-ticks li.is-on { color: var(--ink); font-weight: 600; }
.dc-track { width: 2px; height: 120px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.dc-track i { display: block; width: 100%; height: 100%; background: var(--coast); transform-origin: top; transform: scaleY(0); }
.daylife.is-pinned .day-pin { height: 100svh; justify-content: center; padding-block: calc(var(--nav-top) - 20px) 24px; }
.daylife.is-pinned .day-moments { gap: 0; }
.daylife.is-pinned .moment { grid-area: 1 / 1; grid-template-columns: minmax(0, 1fr) 200px minmax(0, 1fr); gap: 20px; opacity: 0; visibility: hidden; transition: opacity 0.6s var(--ease-out), visibility 0s 0.6s; }
.daylife.is-pinned .moment.is-on { opacity: 1; visibility: visible; transition-delay: 0s; }
.daylife.is-pinned .m-time { display: none; }
.daylife.is-pinned .m-valley { grid-column: 1; }
.daylife.is-pinned .m-shore { grid-column: 3; }
.daylife.is-pinned .m-ph { aspect-ratio: auto; height: min(50svh, 500px); }
.daylife.is-pinned .m-ph img { transform: scale(1.08); transition: transform 1.6s var(--ease-out); }
.daylife.is-pinned .moment.is-on .m-ph img { transform: scale(1); }
.daylife.is-pinned .m-fig figcaption { font-size: 16px; opacity: 0; transform: translateY(10px); transition: opacity 0.5s 0.15s var(--ease-out), transform 0.6s 0.15s var(--ease-out); }
.daylife.is-pinned .moment.is-on .m-fig figcaption { opacity: 1; transform: none; }
.daylife.is-pinned .day-clock { display: grid; position: absolute; top: 0; left: 50%; width: 200px; margin-left: -100px; justify-items: center; align-content: start; gap: 18px; padding-top: 4%; }
@media (max-width: 1000px) { .day-head { grid-template-columns: minmax(0, 1fr); } .m-ph { aspect-ratio: 4 / 4.4; } .m-fig figcaption { font-size: 14px; } .moment { gap: 12px; } }

/* ---- Quiz ---- */
.quiz { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; padding: clamp(24px, 4vw, 56px); border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); }
.qz-side .h2 { margin-top: 18px; }
.qz-side .lead { margin-top: 18px; }
.qz-prog { height: 4px; border-radius: 4px; background: var(--stone); margin-top: 32px; overflow: hidden; }
.qz-prog i { display: block; height: 100%; width: 25%; background: var(--coast); border-radius: 4px; transition: width 0.6s var(--ease-out); }
.qz-step { display: block; margin-top: 12px; font-size: 13.5px; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.qz-main { display: grid; min-width: 0; }
.qz-q, .qz-result { grid-area: 1 / 1; min-width: 0; }
.qz-q { opacity: 0; visibility: hidden; transform: translateX(24px); transition: opacity 0.4s var(--ease-out), transform 0.5s var(--ease-out), visibility 0s 0.5s; }
.qz-q.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.qz-q.was { transform: translateX(-24px); }
.qz-q h3 { font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -0.03em; margin-bottom: 20px; }
.qz-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.qz-opt { display: grid; gap: 12px; text-align: left; padding: 8px 8px 14px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--canvas); transition: border-color 0.25s, transform 0.2s var(--ease-out), box-shadow 0.3s; }
.qz-opt:hover { border-color: var(--ink-3); box-shadow: 0 18px 40px -26px rgba(0,0,0,0.4); }
.qz-opt:active { transform: scale(0.98); }
.qz-opt.picked { border-color: var(--coast); box-shadow: 0 0 0 2px var(--coast); }
.qz-ph { display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--stone); }
.qz-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.qz-opt:hover .qz-ph img { transform: scale(1.04); }
.qz-t { padding: 0 6px; font-size: 15.5px; font-weight: 500; line-height: 1.35; }
.qz-result { animation: fadeUp 0.6s var(--ease-out); }
.qz-result[hidden] { display: none; }
.qz-result .k { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); }
.qz-result h3 { font-size: clamp(28px, 3vw, 42px); letter-spacing: -0.035em; margin-top: 12px; }
.qz-result p { margin-top: 12px; color: var(--ink-2); max-width: 52ch; }
.qz-homes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 24px 0; }
.qz-home { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; align-items: center; padding: 8px; border-radius: 16px; border: 1px solid var(--line); transition: border-color 0.2s; }
.qz-home:hover { border-color: var(--ink-3); }
.qz-home img { width: 84px; height: 68px; border-radius: 10px; object-fit: cover; }
.qz-home b { display: block; font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qz-home span { display: block; font-size: 13px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---- CTA B: concierge ---- */
.cta-b { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding: clamp(24px, 4vw, 56px); border-radius: var(--r-xl); background: var(--coast-soft); transition: background-color 0.5s var(--ease-out); }
.cc-left .h2 { margin-top: 18px; }
.cc-left .lead { margin-top: 18px; max-width: 46ch; }
.cc-team { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
.cc-person { display: grid; grid-template-columns: 48px auto; gap: 10px; align-items: center; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(255,255,255,0.75); font-size: 13px; }
.cc-person img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: top; }
.cc-person b { display: block; font-size: 14px; font-weight: 600; white-space: nowrap; }
.cc-person span { color: var(--ink-3); white-space: nowrap; }
.cc-status { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 24px; }
.cc-status .link-arrow .i { width: 15px; height: 15px; }
.cc-form { padding: clamp(20px, 2.6vw, 32px); border: 0; box-shadow: 0 30px 60px -40px rgba(0,0,0,0.35); }
.cc-h { font-size: 22px; letter-spacing: -0.025em; margin-bottom: 16px; }
.chips-pick.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---- CTA C: private list ---- */


/* ---- Footer variants ---- */
.foot-b { margin-top: clamp(64px, 7vw, 108px); }
.fb-coasts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
.fb-coast { position: relative; isolation: isolate; overflow: hidden; min-height: 460px; padding: clamp(24px, 4vw, 56px); color: #fff; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.fb-valley { border-radius: var(--r-xl) 0 0 0; }
.fb-shore { border-radius: 0 var(--r-xl) 0 0; }
.fb-bg { position: absolute; inset: 0; z-index: -2; }
.fb-bg img { width: 100%; height: 118%; object-fit: cover; margin-top: -9%; }
.fb-coast::before { content: ""; position: absolute; inset: 0; z-index: -1; }
.fb-valley::before { background: linear-gradient(180deg, rgba(16,15,13,0.45), rgba(16,15,13,0.82)); }
.fb-shore::before { background: linear-gradient(180deg, rgba(16,15,13,0.45), rgba(16,15,13,0.82)); }
.fb-top { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.fb-top .c { color: rgba(255,255,255,0.7); letter-spacing: 0.04em; text-transform: none; font-weight: 500; }
.fb-time { font-size: clamp(56px, 7vw, 108px); font-weight: 300; letter-spacing: -0.06em; line-height: 0.95; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fb-time small { font-size: 0.3em; letter-spacing: 0; margin-left: 0.2em; font-weight: 500; }
.fb-wx { margin-top: 10px; font-size: 15px; color: rgba(255,255,255,0.85); min-height: 1.4em; }
.fb-addr { margin-top: 4px; font-size: 14.5px; color: rgba(255,255,255,0.72); }
.fb-coast .btn-row { margin-top: 22px; }
.fb-bar { background: var(--night); color: rgba(255,255,255,0.72); padding: 32px 0 24px; }
.fb-row { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 380px); align-items: center; gap: 24px 40px; padding-bottom: 28px; border-bottom: 1px solid var(--night-line); }
.fb-row .brand { color: #fff; margin: 0; }
.fb-links { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 14.5px; }
.fb-links a:hover, .foot-b a:hover { color: #fff; }
.letter.compact p { display: none; }
.foot-b .foot-bottom { border-top: 0; padding-top: 20px; }
.letter .btn { background: var(--ink); color: #fff; }
.letter.on-dark .btn { background: #fff; color: var(--ink); }
.letter:not(.on-dark) form { background: #fff; border-color: var(--line); }
.letter:not(.on-dark) input { color: var(--ink); }
.letter:not(.on-dark) input::placeholder { color: var(--ink-3); }
.letter:not(.on-dark) .ok { color: var(--ink); }
.letter:not(.on-dark) p { color: var(--ink-2); }

/* ---- Options panel ---- */

@keyframes optsIn { from { opacity: 0; transform: translateY(8px) scale(0.98); } }

/* ---- Listing subnav ---- */
.subnav { position: fixed; z-index: 70; left: 0; right: 0; top: 0; background: rgba(255,255,255,0.97); border-bottom: 1px solid var(--line); transform: translateY(-110%); transition: transform 0.5s var(--ease-drawer); }
.subnav.on { transform: none; }
.subnav-in { height: 64px; display: flex; align-items: center; gap: 24px; }
.subnav-name { font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.subnav-name em { font-style: normal; color: var(--coast); margin-left: 8px; }
.subnav-links { display: flex; gap: 4px; margin-left: auto; }
.subnav-links a { padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-2); transition: background-color 0.2s, color 0.2s; }
.subnav-links a:hover { color: var(--ink); background: var(--canvas); }
.subnav-links a.is-on { background: var(--ink); color: #fff; }
@media (max-width: 900px) { .subnav { display: none; } }

/* ---- Recently viewed ---- */
.recent { margin-top: clamp(40px, 5vw, 64px); }
.recent[hidden] { display: none; }
.recent .tabs-row { margin-bottom: 16px; }
.recent-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.rv { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; align-items: center; padding: 8px; border-radius: 16px; background: #fff; border: 1px solid var(--line); transition: border-color 0.2s, transform 0.3s var(--ease-out); }
.rv:hover { border-color: var(--ink-3); transform: translateY(-2px); }
.rv img { width: 76px; height: 62px; border-radius: 10px; object-fit: cover; }
.rv b { display: block; font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rv span { display: block; font-size: 13px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 1100px) { .recent-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .recent-row { grid-template-columns: minmax(0, 1fr); } }

/* ---- Reading progress ---- */
.read-progress { position: fixed; z-index: 90; left: 0; right: 0; top: 0; height: 3px; pointer-events: none; }
.read-progress i { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }

/* ---- v2 responsive ---- */
@media (max-width: 1100px) {
  .fb-row { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  :root {  --nav-top: 0px; }
  .quiz { grid-template-columns: minmax(0, 1fr); }
  .cta-b { grid-template-columns: minmax(0, 1fr); }
  .fb-coasts { grid-template-columns: minmax(0, 1fr); }
  .fb-valley { border-radius: 22px 22px 0 0; }
  .fb-shore { border-radius: 0; }
  .fb-coast { min-height: 380px; }
}
@media (max-width: 640px) {
  .qz-opts { gap: 10px; }
  .qz-t { font-size: 14px; padding: 0 2px; }
  .qz-homes { grid-template-columns: minmax(0, 1fr); }
  .cc-team { gap: 8px; }
  .cc-person { padding-right: 10px; }
  .hz-l, .hz-r { font-size: 10.5px; letter-spacing: 0.06em; }
}
@media (max-width: 420px) {
  .hz-l b, .hz-r b { display: none; }
}
@media (max-width: 400px) { .chips-pick.three .tgl { padding: 0 6px; font-size: 13px; } }


/* ================= v3: header, white theme, layout fixes ================= */
:root {  --nav-top: 0px; }
.mmenu { background: var(--page); }

/* Header: flat white bar, mega panels, squared controls */

.hdr-item { display: flex; align-items: center; height: 100%; }
.hdr-link { position: relative; display: flex; align-items: center; height: 100%; padding: 0 14px; font-size: 15px; font-weight: 500; color: var(--ink-2); white-space: nowrap; transition: color 0.2s var(--ease-out); }
.hdr-link::after { content: ""; position: absolute; left: 50%; bottom: 16px; width: 26px; height: 12px; margin-left: -13px; background: var(--coast); transform: scaleX(0); transform-origin: left center; transition: transform 0.4s var(--ease-out);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 12' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M1 6.8C3.5 3.2 5.6 1.6 7.6 1.6c2.2 0 3.2 2.1 5.1 2.1'/%3E%3Cpath d='M12.6 9.6c1.6 0 2.2-1.4 3.8-1.4s2.2 1.4 3.8 1.4 2.2-1.4 3.8-1.4c.9 0 1.5.4 1.9.8'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 12' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M1 6.8C3.5 3.2 5.6 1.6 7.6 1.6c2.2 0 3.2 2.1 5.1 2.1'/%3E%3Cpath d='M12.6 9.6c1.6 0 2.2-1.4 3.8-1.4s2.2 1.4 3.8 1.4 2.2-1.4 3.8-1.4c.9 0 1.5.4 1.9.8'/%3E%3C/svg%3E") center / contain no-repeat; }
.hdr-link:hover, .hdr-item.open .hdr-link, .hdr-link[aria-current="page"] { color: var(--ink); }
.hdr-link:hover::after, .hdr-item.open .hdr-link::after, .hdr-link[aria-current="page"]::after { transform: scaleX(1); }
.hdr-more { width: 24px; height: 24px; margin-left: -12px; margin-right: 2px; display: grid; place-items: center; border-radius: 6px; color: var(--ink-3); }
.hdr-more .i { width: 14px; height: 14px; transition: transform 0.3s var(--ease-out); }
.hdr-item.open .hdr-more .i { transform: rotate(180deg); }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--page); border-top: 1px solid var(--line); box-shadow: 0 40px 60px -40px rgba(22,20,15,0.35); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 0.2s var(--ease-out), transform 0.25s var(--ease-out), visibility 0s 0.25s; }
.hdr-item.open .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega-in { max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 28px var(--gutter) 36px; display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: 56px; }
.hdr-item:nth-child(2) .mega-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(240px, 320px); gap: 40px; }
.mg-k { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.mg-list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ink-2); transition: color 0.2s, padding-left 0.3s var(--ease-out); }
.mg-list a:hover { color: var(--ink); padding-left: 6px; }
.mg-list.big a { font-size: 19px; letter-spacing: -0.015em; padding: 12px 0; color: var(--ink); }
.mg-list em { font-style: normal; font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.mg-list em .i { width: 15px; height: 15px; }
.mg-homes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mg-home, .mg-card { display: grid; gap: 4px; min-width: 0; }
.mg-ph { display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--stone); margin-bottom: 8px; }
.mg-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.mg-home:hover .mg-ph img, .mg-card:hover .mg-ph img { transform: scale(1.04); }
.mg-home b, .mg-card b { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mg-home span:not(.mg-ph), .mg-card span:not(.mg-ph) { font-size: 13.5px; color: var(--ink-3); display: inline-flex; align-items: center; gap: 6px; }
.mg-card span .i { width: 14px; height: 14px; }
.hdr-tools { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.hdr-contact { padding: 8px 10px; font-size: 15px; font-weight: 500; color: var(--ink-2); transition: color 0.2s; }
.hdr-contact:hover, .hdr-contact[aria-current="page"] { color: var(--ink); }
.hdr-icon { position: relative; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); background: var(--page); transition: border-color 0.2s, transform 0.16s var(--ease-out); }
.hdr-icon:hover { border-color: var(--ink-3); }
.hdr-icon:active { transform: scale(0.95); }
.hdr-icon .i { width: 19px; height: 19px; }
.hdr-icon .badge { top: -6px; right: -6px; }

/* Hero (slides) under the header */
.hero { padding: calc(var(--nav-top) + 12px) 12px 12px; }
.hero-frame { height: clamp(560px, calc(100svh - var(--nav-top) - 24px), 900px); }
.hero-now { top: 24px; }
.hero-copy { bottom: 150px; }
.search { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 0.8fr) auto; padding-left: 10px; }
.search .field-s:first-child { border-left: 0; }
.field-s select optgroup { font-weight: 600; }

/* Sticky filter bar: full-bleed under the header, no gap above it */
.filterbar { position: sticky; top: var(--nav-top); z-index: 30; background: var(--page); padding: 10px 0; border-bottom: 1px solid transparent; transition: border-color 0.2s, box-shadow 0.3s; }
.filterbar.stuck { border-bottom-color: var(--line); box-shadow: 0 12px 24px -22px rgba(22,20,15,0.4); }
.filterbar .filters { position: static; top: auto; box-shadow: none; border: 0; padding: 0; border-radius: 0; background: transparent; }
.res-map { top: calc(var(--nav-top) + 84px); height: calc(100svh - var(--nav-top) - 108px); }
.subnav { top: var(--nav-top); }
@media (min-width: 901px) and (min-height: 980px) { .book { top: calc(var(--nav-top) + 88px); } }
.faq-card { top: calc(var(--nav-top) + 32px); }
.svc-visual { top: calc(var(--nav-top) + 32px); }

/* Pinned day story sits below the header */
.daylife.is-pinned .day-pin { height: calc(100svh - var(--nav-top)); padding-block: 20px; }
.daylife.is-pinned .m-ph { height: min(calc(100svh - var(--nav-top) - 330px), 480px); min-height: 240px; }

/* White theme: soft surfaces need a hairline to read */
.cta-b { background: var(--coast-soft); }
.quiz, .compare, .faq-card, .card, .hood, .value, .office, .rv, .qz-home { border-color: var(--line); }
.statement .muted { color: #A19D96; }

@media (max-width: 1100px) {
  .hdr-contact { display: none; }
  .search { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; }
}
@media (max-width: 900px) {
  :root {  --nav-top: 0px; }
  .hero { padding: calc(var(--nav-top) + 8px) 8px 8px; }
  .hero-frame { height: max(520px, calc(100svh - var(--nav-top) - 190px)); }
  .hero-copy { bottom: 124px; }
  .search { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 10px; margin-top: 8px; }
  .search .field-loc { grid-column: 1 / -1; }
  .hero-now { top: auto; }
  .search .field-s:first-child { border-left: 0; }
  .filterbar { position: relative; top: 0; padding: 0; }
  .filterbar .filters { border: 1px solid var(--line); border-radius: 20px; padding: 8px; background: var(--page); }
}
@media (max-width: 640px) {
  :root {  --nav-top: 0px; }
  .hdr-icon { width: 42px; height: 42px; }
  .section { padding-block: 56px; }
  .foot-b { margin-top: 56px; }
  .daylife { padding-top: 56px; }
}

/* v3 fixes */
.fc-1 { left: 16px; bottom: 16px; }
.fc-2 { right: 16px; top: 16px; }
.seg.full button { min-width: 0; }
.hero-now .n, .hero-now .m { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.3; }
.rv b, .qz-home b, .mg-home b, .hb-go b { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.3; }
.hz-wrap { padding-block: clamp(8px, 2vw, 24px); }
.daylife.is-pinned .m-ph { height: clamp(260px, calc(100svh - var(--nav-top) - 290px), 600px); }
@media (max-width: 640px) { .fc-2 { display: none; } }
@media (max-width: 400px) {
  .seg.full button { padding: 0 6px; font-size: 13px; }
  .chips-pick.three { gap: 6px; }
  .chips-pick.three .tgl { padding: 0 2px; font-size: 13px; letter-spacing: -0.01em; text-overflow: clip; }
  .cc-form { padding: 18px 14px; }
  .hero-now .m { font-size: 13px; }
}

.jump { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 900px) { .prop-body { align-items: stretch; } }
@media (max-width: 640px) {
  .jump { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .jump .btn { padding: 0 8px; font-size: 13px; gap: 6px; }
  .jump .btn .i { width: 15px; height: 15px; }
  .cc-team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .cc-person { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 8px; padding: 12px 6px; border-radius: 16px; }
  .cc-person img { width: 52px; height: 52px; }
  .cc-person b { white-space: normal; font-size: 13px; line-height: 1.25; }
  .cc-person span span { white-space: normal; font-size: 11.5px; line-height: 1.3; display: block; }
}
@media (max-width: 380px) { .jump .btn .i { display: none; } }

/* Booking card: compact and sticky on laptop heights */
@media (min-width: 901px) {
  .book { position: sticky; top: calc(var(--nav-top) + 16px); max-height: calc(100svh - var(--nav-top) - 32px); overflow-y: auto; overscroll-behavior: contain; border-radius: var(--r-xl); scrollbar-width: thin; }
  .book .card { padding: 22px; }
  .book-head { padding-bottom: 14px; margin-bottom: 14px; }
  .book h3 { margin: 12px 0 8px; }
  .book .advisor { grid-template-columns: 52px minmax(0, 1fr); gap: 12px; }
  .book .advisor img { width: 52px; height: 52px; }
  .book .slot { padding: 9px 4px; }
  .book .fields { margin-top: 14px; gap: 8px; }
  .book .input input { height: 46px; }
  .book .fine { margin-top: 8px; }
}
.map-row .n, .map-card .n, .sl-item .n { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.3; }
#valley.section { padding-bottom: clamp(24px, 3vw, 48px); }
.hero-copy .label { color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,0.45); }
@media (max-width: 900px) { .modal-ph { border-radius: var(--r-xl) var(--r-xl) 0 0; } }

/* ================= v4: six navigation options (all with mega menus) ================= */

html {  --nav-top: 0px; }
.hdr-item.open .mega, .mega { will-change: opacity, transform; }

/* 2: Estate overlay */


/* 3: Search-first */


/* shared result list (inline search + palette) */


/* palette */


/* 4: Command */


/* 5: Dock */
.nv5-top { position: relative; z-index: 5; background: var(--page); border-bottom: 1px solid var(--line); }
.nv5-in { max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding-inline: var(--gutter); height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nv5-in .brand { margin: 0; }
.nv5-call { display: inline-flex; align-items: center; gap: 8px; padding: 8px 4px; font-size: 14.5px; font-weight: 600; white-space: nowrap; }
.nv5-call .i { width: 16px; height: 16px; }
.nv5-dock { position: fixed; z-index: 80; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; align-items: center; gap: 2px; padding: 6px; background: var(--ink); color: #fff; border-radius: 18px; box-shadow: 0 24px 60px -24px rgba(0,0,0,0.65); }
.nv5-dock .hdr-item { height: auto; }
.nv5-dock .hdr-link { height: 44px; padding: 0 14px; border-radius: 12px; font-size: 14.5px; color: rgba(255,255,255,0.72); transition: color 0.2s, background-color 0.2s; }
.nv5-dock .hdr-link::after { display: none; }
.nv5-dock .hdr-link:hover, .nv5-dock .hdr-item.open .hdr-link, .nv5-dock .hdr-link[aria-current="page"] { color: #fff; background: rgba(255,255,255,0.09); }
.nv5-dock .hdr-more { color: rgba(255,255,255,0.55); margin-left: -8px; }
.nv5-dock .hdr-more .i { transform: rotate(180deg); }
.nv5-dock .hdr-item.open .hdr-more .i { transform: none; }
.nv5-div { width: 1px; height: 24px; margin: 0 6px; background: rgba(255,255,255,0.18); }
.nv5-dock .hdr-icon { background: transparent; border-color: rgba(255,255,255,0.18); color: #fff; }
.nv5-book { display: inline-flex; align-items: center; gap: 8px; height: 44px; margin-left: 4px; padding: 0 16px; border-radius: 12px; background: var(--page); color: var(--ink); font-size: 14.5px; font-weight: 600; transition: transform 0.16s var(--ease-out); }
.nv5-book:active { transform: scale(0.97); }
.nv5-book .i { width: 16px; height: 16px; }
.nv5-dock .mega { top: auto; bottom: calc(100% + 12px); left: 50%; right: auto; width: min(1080px, calc(100vw - 48px)); transform: translate(-50%, 8px); border: 1px solid var(--line); border-radius: 22px; color: var(--ink); box-shadow: 0 40px 80px -40px rgba(0,0,0,0.5); }
.nv5-dock .hdr-item.open .mega { transform: translate(-50%, 0); }
.nv5-dock .mega-in { padding: 24px 28px 28px; }
.nv5-tabs { display: none; }
html body { padding-bottom: 92px; }
html .toast { bottom: 96px; }

/* 6: Rail */


@media (max-width: 1100px) {
  .nv5-dock { display: none; }
  .nv5-tabs { position: fixed; z-index: 80; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); background: var(--page); border-top: 1px solid var(--line); }
  .nv5-tabs a, .nv5-tabs button { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0; font-size: 11.5px; font-weight: 600; color: var(--ink-3); }
  .nv5-tabs .i { width: 22px; height: 22px; }
  .nv5-tabs [aria-current="page"] { color: var(--ink); }
  .nv5-tabs .badge { top: 0; right: calc(50% - 22px); }
  html body { padding-bottom: 76px; }
  html .mbar { bottom: 84px; }
  html .toast { bottom: 90px; }
}
@media (max-width: 640px) {
  .nv5-in { height: 64px; }
  .nv5-call, .nv5-in .hdr-contact { display: none; }
}

/* nav options review page */


html .hero-frame { height: clamp(540px, calc(100svh - 72px - 108px), 860px); }
@media (max-width: 1100px) { html .hero-frame { height: max(520px, calc(100svh - 64px - 190px)); } }
.adv { display: flex; flex-direction: column; justify-content: flex-start; align-self: start; }

.adv-office { display: block; margin-top: 16px; font-style: normal; font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.adv .adv-office + b { margin-top: 4px; }

.quote-closed { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--accent); }
.quote-closed .i { width: 15px; height: 15px; }
.quote-by span { display: block; }

/* Palette rule: ink is primary (actions + selected states); harbor teal is a sparing accent. */
.cmp-row.head .v i { background: var(--ink-3); }
.cmp-row.head .v:last-child i { background: var(--accent); }
.nv3-note i { background: var(--accent); }
.brand-foot { gap: 18px; }
.brand-foot .brand-mark { height: 44px; }
.brand-foot .brand-div { height: 40px; }
.brand-foot .brand-word { font-size: 26px; }
.label.on-dark::before { background: var(--accent-2); }

/* Logo scale: mark ≈ 2× the wordmark's cap height, as in the supplied artwork */
.nv5-in { height: 84px; }
.brand { gap: 18px; }
.brand-mark { height: 42px; }
.brand-div { height: 38px; }
.brand-word { font-size: 28px; letter-spacing: -0.015em; }
.brand-foot .brand-mark { height: 46px; }
.brand-foot .brand-div { height: 42px; }
.brand-foot .brand-word { font-size: 30px; }
@media (max-width: 640px) {
  .nv5-in { height: 68px; }
  .brand { gap: 13px; }
  .brand-mark { height: 34px; }
  .brand-div { height: 30px; }
  .brand-word { font-size: 22px; }
  .brand-foot .brand-mark { height: 38px; }
  .brand-foot .brand-div { height: 34px; }
  .brand-foot .brand-word { font-size: 24px; }
}
@media (max-width: 360px) {
  .brand-mark { height: 30px; }
  .brand-word { font-size: 20px; }
}

/* ================= Dock clearance: nothing pinned or sticky may sit under the dock ================= */
:root { --dock-space: 96px; }
@media (max-width: 1100px) { :root { --dock-space: calc(66px + env(safe-area-inset-bottom)); } }
html body { padding-bottom: var(--dock-space); }
html .toast { bottom: calc(var(--dock-space) + 6px); }
@media (max-width: 1100px) { html .mbar { bottom: calc(var(--dock-space) + 8px); } }
.mmenu { padding-bottom: calc(var(--dock-space) + 24px); }

/* Desktop dock slides away while reading downward */
.nv5-dock { transition: transform 0.45s var(--ease-drawer), opacity 0.3s var(--ease-out); }
.nv5-dock.dock-hide { transform: translate(-50%, calc(100% + 40px)); opacity: 0; pointer-events: none; }

/* Hero ends above the dock */
html .hero-frame { height: clamp(520px, calc(100svh - 84px - var(--dock-space) - 12px), 860px); }
@media (max-width: 1100px) { html .hero-frame { height: max(500px, calc(100svh - 68px - var(--dock-space) - 150px)); } }

/* Pinned day story: the whole panel fits between the top of the screen and the dock */
.daylife.is-pinned .day-pin { height: calc(100svh - var(--dock-space)); padding-block: 24px 20px; justify-content: center; }
.daylife.is-pinned .m-ph { height: clamp(200px, calc(100svh - var(--dock-space) - 300px), 560px); min-height: 0; }

/* Sticky panels stop short of the dock */
@media (min-width: 901px) {
  .book { max-height: calc(100svh - var(--nav-top) - 32px - var(--dock-space)); }
  .res-map { height: calc(100svh - var(--nav-top) - 108px - var(--dock-space)); min-height: 360px; }
  .svc-visual { max-height: calc(100svh - var(--nav-top) - 64px - var(--dock-space)); }
  .faq-card { max-height: calc(100svh - var(--nav-top) - 64px - var(--dock-space)); overflow-y: auto; }
}

/* Dock clearance, pass 2 */
/* Hero + its padding end exactly where the dock begins */
html .hero-frame { height: clamp(500px, calc(100svh - 84px - 24px - var(--dock-space)), 860px); }
@media (max-width: 1100px) {
  /* phones/tablets: the search card must sit fully above the tab bar on first load */
  html .hero-frame { height: max(400px, calc(100svh - 68px - var(--dock-space) - 170px)); }
}
@media (max-width: 640px) {
  .search .field-s:not(.field-loc) { display: none; }
  .search { grid-template-columns: minmax(0, 1fr); padding: 8px; gap: 8px; }
}
/* Pinned day story: images flex to whatever height is left, so text never reaches the dock */
.daylife.is-pinned .m-ph { height: clamp(170px, calc(100svh - var(--dock-space) - 360px), 540px); }
@media (max-height: 880px) {
  .daylife.is-pinned .day-head .lead { display: none; }
  .daylife.is-pinned .day-head .h2 { margin-top: 10px; font-size: clamp(28px, 3vw, 44px); }
  .daylife.is-pinned .day-pin { gap: 18px; padding-block: 16px; }
  .daylife.is-pinned .m-fig { gap: 8px; }
  .daylife.is-pinned .m-ph { height: clamp(170px, calc(100svh - var(--dock-space) - 270px), 540px); }
}
/* Hero height per layout: search inside the photo (>900px) vs below it (<=900px) */
@media (min-width: 901px) and (max-width: 1100px) { html .hero-frame { height: max(460px, calc(100svh - 68px - 24px - var(--dock-space))); } }
@media (min-width: 641px) and (max-width: 900px) { html .hero-frame { height: max(420px, calc(100svh - 68px - var(--dock-space) - 236px)); } }
@media (max-width: 640px) { html .hero-frame { height: max(400px, calc(100svh - 68px - var(--dock-space) - 166px)); } }

/* Hidden booking bar is fully hidden, not parked behind the tab bar */
.mbar { visibility: hidden; opacity: 0; transition: transform 0.5s var(--ease-drawer), opacity 0.3s var(--ease-out), visibility 0s 0.5s; }
.mbar.on { visibility: visible; opacity: 1; transition-delay: 0s; }
