/* SiteHub public site design system.
   Per-site colours arrive as --brand / --accent (set inline in base.html).
   Themes switch typography and a few shape tokens via body.theme-*. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }

:root {
  --brand: #1f3a5f;
  --accent: #c8873a;
  --ink: #16181d;
  --ink-2: #3d434f;
  --muted: #6b7280;
  --line: #e6e3dd;
  --paper: #fbfaf7;
  --card: #ffffff;
  --tint: color-mix(in oklab, var(--brand) 6%, var(--paper));
  --brand-deep: color-mix(in oklab, var(--brand) 82%, black);
  --accent-ink: color-mix(in oklab, var(--accent) 70%, black);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgb(16 24 40 / .06), 0 1px 3px rgb(16 24 40 / .08);
  --shadow: 0 10px 30px -12px rgb(16 24 40 / .22), 0 4px 10px -6px rgb(16 24 40 / .10);
  --shadow-lg: 0 30px 60px -20px rgb(16 24 40 / .35);
  --container: 1200px;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Inter Tight", var(--font-body);
  --display-weight: 650;
  --display-tracking: -0.025em;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
body.theme-heritage {
  --tint: color-mix(in oklab, var(--accent) 9%, var(--paper));
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --display-weight: 560;
  --display-tracking: -0.015em;
  --paper: #faf7f1;
  --line: #e7e0d3;
}
body.theme-bold {
  --font-display: "Space Grotesk", var(--font-body);
  --display-weight: 700;
  --display-tracking: -0.035em;
  --radius: 6px;
  --radius-lg: 10px;
  --paper: #ffffff;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  color: var(--ink);
  line-height: 1.12;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
.prose a, .link { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover, .link:hover { color: var(--accent-ink); }
.prose h3 { margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin: .3em 0; }
.prose > :last-child { margin-bottom: 0; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.narrow { width: min(100% - 2.5rem, 760px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 100; background: #fff; padding: .5rem 1rem; border-radius: 8px; }
.icon { flex: none; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-ink); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--accent); border-radius: 2px; }
.on-dark .eyebrow { color: color-mix(in oklab, var(--accent) 55%, white); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 62ch; }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.35rem; border-radius: 999px; border: 1.5px solid var(--b);
  background: var(--b); color: #fff; font-weight: 600; font-size: .97rem; line-height: 1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
}
body.theme-bold .btn { border-radius: var(--radius); }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); background: var(--brand-deep); border-color: var(--brand-deep); }
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-accent { --b: var(--accent); }
.btn-accent:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.btn-ghost { background: transparent; color: var(--brand); }
.btn-ghost:hover { background: var(--brand); color: #fff; }
.btn-light { background: #fff; border-color: #fff; color: var(--ink); }
.btn-light:hover { background: #fff; border-color: #fff; color: var(--brand); }
.btn-outline-light { background: rgb(255 255 255 / .06); border-color: rgb(255 255 255 / .55); color: #fff; backdrop-filter: blur(6px); }
.btn-outline-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-sm { padding: .6rem 1rem; font-size: .9rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--paper) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid color-mix(in oklab, var(--line) 70%, transparent);
  transition: background .3s, border-color .3s, color .3s;
}
.site-header .bar { display: flex; align-items: center; gap: 2rem; height: 78px; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { height: 40px; width: auto; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: var(--brand); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
  box-shadow: inset 0 -3px 0 var(--accent);
}
.brand-name { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.22rem; letter-spacing: var(--display-tracking); line-height: 1.1; }
.brand-sub { display: block; font-family: var(--font-body); font-size: .72rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; align-items: center; gap: .25rem; }
.nav a { text-decoration: none; padding: .55rem .85rem; border-radius: 999px; font-weight: 500; font-size: .96rem; color: var(--ink-2); transition: background .2s, color .2s; }
.nav a:hover { background: color-mix(in oklab, var(--brand) 8%, transparent); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--brand); background: color-mix(in oklab, var(--brand) 9%, transparent); }
.header-cta { display: flex; gap: .5rem; }
.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; color: inherit; }

/* Transparent header over a full-bleed hero */
body.hero-overlay .site-header:not(.scrolled) { background: transparent; border-color: transparent; backdrop-filter: none; color: #fff; }
body.hero-overlay .site-header:not(.scrolled) .brand,
body.hero-overlay .site-header:not(.scrolled) .nav a { color: #fff; }
body.hero-overlay .site-header:not(.scrolled) .brand-sub { color: rgb(255 255 255 / .75); }
body.hero-overlay .site-header:not(.scrolled) .nav a:hover,
body.hero-overlay .site-header:not(.scrolled) .nav a[aria-current="page"] { background: rgb(255 255 255 / .14); }
body.hero-overlay .site-header { position: fixed; inset: 0 0 auto 0; }

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .header-cta .btn { display: none; }
  .nav {
    position: fixed; inset: 78px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); padding: .75rem 1.25rem 1.5rem; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .2s, transform .25s var(--ease);
  }
  .nav a { padding: .9rem .5rem; border-radius: 10px; font-size: 1.05rem; color: var(--ink) !important; }
  .nav .btn { margin-top: .75rem; color: #fff !important; }
  body.nav-open .nav { opacity: 1; transform: none; pointer-events: auto; }
}
@media (min-width: 921px) { .nav .btn { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; }
.hero-full {
  min-height: min(92vh, 860px); display: flex; align-items: flex-end;
  color: #fff; isolation: isolate; overflow: hidden; background: var(--brand-deep);
}
.hero-full .hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-full .hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: heroZoom 18s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-full::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgb(8 12 20 / .55) 0%, rgb(8 12 20 / .05) 30%, rgb(8 12 20 / .25) 55%, rgb(8 12 20 / .82) 100%),
    linear-gradient(90deg, color-mix(in oklab, var(--brand-deep) 55%, transparent) 0%, transparent 60%);
}
.hero-full .hero-inner { padding: 9rem 0 5.5rem; }
.hero-full h1 { color: #fff; max-width: 15ch; margin-bottom: 1.25rem; text-shadow: 0 2px 30px rgb(0 0 0 / .25); }
.hero-full .lead { color: rgb(255 255 255 / .88); font-size: clamp(1.1rem, 1.8vw, 1.35rem); max-width: 54ch; }
.hero-full .eyebrow { color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; margin-top: 3rem; padding-top: 1.5rem;
  border-top: 1px solid rgb(255 255 255 / .22); font-size: .95rem; color: rgb(255 255 255 / .85);
}
.hero-meta span { display: inline-flex; align-items: center; gap: .5rem; }

.hero-split { padding: 4.5rem 0; background: var(--tint); }
.hero-split .grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 4rem; align-items: center; }
.hero-split .hero-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3.2; }
.hero-split .hero-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .hero-split .grid { grid-template-columns: 1fr; gap: 2.5rem; } }

.hero-compact {
  padding: 5rem 0 3.5rem; background:
    radial-gradient(1200px 400px at 85% -10%, color-mix(in oklab, var(--accent) 16%, transparent), transparent 60%),
    linear-gradient(180deg, var(--tint), var(--paper));
  border-bottom: 1px solid var(--line);
}
.hero-compact.has-img { color: #fff; background: var(--brand-deep); position: relative; isolation: isolate; overflow: hidden; border: 0; padding: 7rem 0 4rem; }
.hero-compact.has-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-compact.has-img::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(8 12 20 / .78), rgb(8 12 20 / .35)); }
.hero-compact.has-img h1, .hero-compact.has-img .eyebrow { color: #fff; }
.hero-compact.has-img .lead { color: rgb(255 255 255 / .85); }
.hero-compact h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); margin-bottom: .6rem; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 1rem; display: flex; gap: .5rem; align-items: center; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--brand); }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section.bg-plain + .section.bg-plain { padding-top: 0; }
.bg-tint { background: var(--tint); }
.bg-dark { background: var(--brand-deep); color: rgb(255 255 255 / .82); position: relative; overflow: hidden; }
.bg-dark h2, .bg-dark h3 { color: #fff; }
.bg-dark .lead { color: rgb(255 255 255 / .75); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 3rem; flex-wrap: wrap; }
.section-head h2 { margin: 0; max-width: 20ch; }
.section-head .lead { margin: .9rem 0 0; }
.center { text-align: center; }
.center .section-head { justify-content: center; }
.center .lead { margin-inline: auto; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.split.img-right .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 5/4; object-fit: cover; box-shadow: var(--shadow-lg); }
.split-media::before {
  content: ""; position: absolute; inset: auto -18px -18px auto; width: 55%; height: 55%;
  border-radius: var(--radius-lg); background: color-mix(in oklab, var(--accent) 22%, transparent); z-index: -1;
}
.split.img-right .split-media::before { inset: auto auto -18px -18px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.img-right .split-media { order: 0; } }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.feature {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2rem 1.75rem; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.feature .ico {
  width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; margin-bottom: 1.25rem;
  background: color-mix(in oklab, var(--brand) 9%, white); color: var(--brand);
}
.feature h3 { margin-bottom: .4rem; }
.feature p { margin: 0; color: var(--muted); font-size: .98rem; }
.bg-dark .feature { background: rgb(255 255 255 / .05); border-color: rgb(255 255 255 / .1); }
.bg-dark .feature p { color: rgb(255 255 255 / .7); }
.bg-dark .feature .ico { background: rgb(255 255 255 / .1); color: #fff; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 2.25rem 1.5rem; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .num { font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(2.2rem, 4vw, 3.2rem); letter-spacing: var(--display-tracking); color: var(--brand); line-height: 1; }
.stat .lbl { margin-top: .6rem; font-size: .95rem; color: var(--muted); }
.bg-dark .stats, .bg-dark .stat { border-color: rgb(255 255 255 / .14); }
.bg-dark .stat .num { color: #fff; }
.bg-dark .stat .lbl { color: rgb(255 255 255 / .7); }

/* Gallery — masonry-ish */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 1rem; }
.gallery a { display: block; border-radius: var(--radius); overflow: hidden; position: relative; cursor: zoom-in; background: var(--tint); }
.gallery a:first-child { grid-column: span 2; grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .3s; }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; } }
.gallery a:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; inset: auto 0 0 0; padding: 2rem 1rem .8rem; color: #fff; font-size: .9rem; background: linear-gradient(transparent, rgb(0 0 0 / .65)); opacity: 0; transition: opacity .3s; }
.gallery a:hover figcaption { opacity: 1; }

/* CTA */
.cta {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(2.5rem, 6vw, 4.5rem);
  background: var(--brand-deep); color: rgb(255 255 255 / .85);
  display: grid; grid-template-columns: 1.4fr auto; gap: 2rem; align-items: center;
}
.cta::before {
  content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -260px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in oklab, var(--accent) 55%, transparent), transparent 70%); opacity: .6;
}
.cta h2 { color: #fff; margin-bottom: .4rem; position: relative; }
.cta p { margin: 0; position: relative; font-size: 1.1rem; }
.cta .btn { position: relative; }
.cta.bg-light-cta { background: var(--tint); color: var(--ink-2); }
.cta.bg-light-cta h2 { color: var(--ink); }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; } }

.quote { text-align: center; max-width: 820px; margin: 0 auto; }
.quote blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(1.5rem, 2.8vw, 2.2rem); line-height: 1.35; color: var(--ink); letter-spacing: var(--display-tracking); }
.quote blockquote::before { content: "“"; display: block; font-size: 4rem; line-height: .6; color: var(--accent); margin-bottom: 1rem; }
.quote cite { display: block; margin-top: 1.5rem; font-style: normal; color: var(--muted); }

.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 1.25rem 0; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--brand); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: .75rem 0 0; color: var(--muted); }

/* ---------- Listings ---------- */
.listing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 1.5rem; }
.listing-card {
  display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; text-decoration: none; color: inherit; transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.listing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.listing-card .media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--tint); }
.listing-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.listing-card:hover .media img { transform: scale(1.05); }
.badge {
  display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .75rem; border-radius: 999px;
  font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: #fff; color: var(--ink);
}
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge-available { color: #0f7a4a; }
.badge-coming { color: #8a5a00; }
.badge-pending { color: #8a5a00; }
.badge-leased { color: #6b7280; }
.listing-card .media .badge { position: absolute; top: 1rem; left: 1rem; box-shadow: var(--shadow-sm); }
.listing-card .body { padding: 1.5rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.listing-card h3 { margin-bottom: .3rem; font-size: 1.35rem; }
.listing-card .addr { color: var(--muted); font-size: .93rem; display: flex; gap: .4rem; align-items: center; margin-bottom: 1.1rem; }
.specs { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; }
.spec { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .75rem; border-radius: 10px; background: var(--tint); font-size: .88rem; font-weight: 500; color: var(--ink-2); }
.spec .icon { color: var(--brand); }
.listing-card .more { display: flex; align-items: center; gap: .4rem; color: var(--brand); font-weight: 600; margin-top: 1.25rem; font-size: .95rem; }

.listing-hero { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: .75rem; height: min(62vh, 560px); margin-top: 1.5rem; }
.listing-hero a { border-radius: var(--radius); overflow: hidden; position: relative; display: block; cursor: zoom-in; }
.listing-hero a:first-child { grid-row: span 2; }
.listing-hero a[hidden] { display: none; }
.listing-hero img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.listing-hero a:hover img { transform: scale(1.03); }
.listing-hero .count { position: absolute; right: 1rem; bottom: 1rem; }
@media (max-width: 760px) { .listing-hero { grid-template-columns: 1fr; grid-template-rows: auto; height: auto; } .listing-hero a { aspect-ratio: 4/3; } .listing-hero a:not(:first-child) { display: none; } }

.listing-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 4rem; align-items: start; }
@media (max-width: 980px) { .listing-layout { grid-template-columns: 1fr; gap: 2.5rem; } }
.keyfacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; margin: 2rem 0 2.5rem; }
.keyfact { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; background: var(--card); }
.keyfact .k { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); display: flex; gap: .4rem; align-items: center; }
.keyfact .v small { font-family: var(--font-body); font-size: .8rem; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.keyfact .v.txt { font-family: var(--font-body); font-size: 1rem; font-weight: 600; letter-spacing: 0; line-height: 1.4; }
.keyfact .v { font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); margin-top: .35rem; font-weight: var(--display-weight); letter-spacing: var(--display-tracking); }
.checklist { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: .75rem; }
.checklist li { display: flex; gap: .75rem; align-items: flex-start; }
.checklist .icon { color: #fff; background: var(--accent); border-radius: 50%; padding: 4px; margin-top: 2px; }
.sticky-card { position: sticky; top: 100px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow); }
.sticky-card .price { font-family: var(--font-display); font-size: 2rem; color: var(--ink); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); line-height: 1.1; }
.sticky-card .sub { color: var(--muted); font-size: .95rem; margin-bottom: 1.25rem; }
.sticky-card dl { margin: 1.25rem 0; display: grid; gap: .6rem; }
.sticky-card dl div { display: flex; justify-content: space-between; gap: 1rem; font-size: .95rem; border-bottom: 1px dashed var(--line); padding-bottom: .6rem; }
.sticky-card dt { color: var(--muted); }
.sticky-card dd { margin: 0; font-weight: 600; color: var(--ink); text-align: right; }
.stack { display: grid; gap: .6rem; }

/* ---------- Forms ---------- */
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow); }
.field { margin-bottom: 1.15rem; }
.field label, .field > .lbl { display: block; font-weight: 600; font-size: .92rem; color: var(--ink); margin-bottom: .45rem; }
.field input[type=text], .field input[type=email], .field input[type=url], .field input[type=tel],
.field select, .field textarea {
  width: 100%; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper);
  transition: border-color .2s, box-shadow .2s, background .2s; font-size: 1rem;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px color-mix(in oklab, var(--brand) 15%, transparent); }
.field .help { font-size: .85rem; color: var(--muted); margin-top: .35rem; }
.field .err { font-size: .88rem; color: #b42318; margin-top: .35rem; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #f04438; }
.field ul.radios, .field div.radios > div { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.field .radios label { display: inline-flex; align-items: center; gap: .5rem; font-weight: 500; padding: .6rem 1rem; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; margin: 0; background: var(--paper); transition: border-color .2s, background .2s; }
.field .radios label:has(input:checked) { border-color: var(--brand); background: color-mix(in oklab, var(--brand) 7%, white); color: var(--brand); }
.field .radios input { accent-color: var(--brand); }
.field.check label { display: flex; gap: .7rem; align-items: flex-start; font-weight: 500; }
.field.check input { margin-top: .3rem; width: 18px; height: 18px; accent-color: var(--brand); flex: none; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
fieldset { border: 0; padding: 0; margin: 0 0 1.5rem; }
legend { font-family: var(--font-display); font-size: 1.3rem; color: var(--ink); font-weight: var(--display-weight); margin-bottom: 1.1rem; display: flex; align-items: center; gap: .75rem; padding: 0; }
legend .n { width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: .9rem; font-family: var(--font-body); }

.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 2rem 0; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; gap: 1rem; align-items: center; }
.contact-list .ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in oklab, var(--brand) 9%, white); color: var(--brand); flex: none; }
.contact-list .k { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.contact-list a, .contact-list .v { color: var(--ink); font-weight: 600; text-decoration: none; }
.contact-list a:hover { color: var(--brand); }
.map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/10; background: var(--tint); }
.map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.85); }

.alert { padding: 1rem 1.25rem; border-radius: 12px; margin-bottom: 1.25rem; font-weight: 500; }
.alert-error { background: #fef3f2; color: #b42318; border: 1px solid #fecdca; }
.alert-success { background: #ecfdf3; color: #067647; border: 1px solid #abefc6; }

/* ---------- Footer ---------- */
.site-footer { background: #0f1218; color: rgb(255 255 255 / .62); padding: 5rem 0 2rem; margin-top: 0; font-size: .95rem; }
.site-footer a { color: rgb(255 255 255 / .8); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 3rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand { color: #fff; margin-bottom: 1rem; }
.site-footer .brand-sub { color: rgb(255 255 255 / .5); }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; margin-bottom: 1.1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.footer-bottom { margin-top: 4rem; padding-top: 1.75rem; border-top: 1px solid rgb(255 255 255 / .1); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .88rem; }
.socials { display: flex; gap: .6rem; margin-top: 1.25rem; }
.socials a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgb(255 255 255 / .18); font-size: .8rem; font-weight: 700; }
.socials a:hover { background: #fff; color: #0f1218; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgb(6 8 12 / .94); display: none; align-items: center; justify-content: center; padding: 4rem 1rem; }
.lightbox.open { display: flex; animation: fade .2s; }
.lightbox img { max-height: 100%; max-width: min(1400px, 100%); border-radius: 10px; box-shadow: var(--shadow-lg); }
.lightbox button { position: absolute; background: rgb(255 255 255 / .1); border: 0; color: #fff; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.lightbox button:hover { background: rgb(255 255 255 / .22); }
.lightbox .lb-close { top: 1.25rem; right: 1.25rem; }
.lightbox .lb-prev { left: 1.25rem; top: 50%; transform: translateY(-50%) scaleX(-1); }
.lightbox .lb-next { right: 1.25rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-cap { position: absolute; bottom: 1.25rem; left: 0; right: 0; text-align: center; color: rgb(255 255 255 / .8); font-size: .95rem; }
@keyframes fade { from { opacity: 0; } }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

.preview-bar { position: fixed; bottom: 1rem; left: 50%; transform: translateX(-50%); z-index: 300; background: #111; color: #fff; padding: .6rem .7rem .6rem 1.1rem; border-radius: 999px; font-size: .88rem; display: flex; align-items: center; gap: .9rem; box-shadow: var(--shadow-lg); }
.preview-bar a { color: #fff; background: rgb(255 255 255 / .15); padding: .35rem .8rem; border-radius: 999px; text-decoration: none; }
.empty { text-align: center; padding: 3rem 1rem; border: 2px dashed var(--line); border-radius: var(--radius-lg); color: var(--muted); }

/* Single featured listing: wide horizontal card */
.listing-grid.single { grid-template-columns: 1fr; }
.listing-grid.single .listing-card { flex-direction: row; }
.listing-grid.single .media { flex: 0 0 56%; aspect-ratio: auto; min-height: 420px; }
.listing-grid.single .body { padding: clamp(1.75rem, 4vw, 3rem); justify-content: center; }
.listing-grid.single h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.listing-grid.single .specs { margin-top: .5rem; }
@media (max-width: 860px) { .listing-grid.single .listing-card { flex-direction: column; } .listing-grid.single .media { min-height: 0; aspect-ratio: 16/10; } }

/* Full hero without a photo: shorter, with a soft brand glow */
.hero-full:not(:has(.hero-bg)) { min-height: min(72vh, 680px); background:
  radial-gradient(900px 500px at 85% 10%, color-mix(in oklab, var(--accent) 35%, transparent), transparent 60%),
  linear-gradient(135deg, var(--brand-deep), var(--brand)); }
.hero-full:not(:has(.hero-bg))::after { display: none; }
@media (max-width: 600px) { .stats { grid-template-columns: 1fr 1fr; } .stat { border-right: 0; padding: 1.5rem .5rem; } }
