/* Shared website styles. Brand values arrive as CSS custom properties
   from SiteLayout.astro (per-client tenant config). */

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --radius: 10px;
  --gap: clamp(16px, 3vw, 32px);
  --max: 1200px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  line-height: 1.2;
  margin: 0 0 0.5em;
  letter-spacing: -0.015em;
}
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
h3 { font-size: 1.1rem; }

a { color: var(--color-primary); }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.muted { color: var(--color-muted); }
.lead { font-size: 1.15rem; color: var(--color-muted); max-width: 60ch; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.75rem; color: var(--color-muted); margin: 0 0 4px; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 10; }
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }

.btn {
  display: inline-block;
  background: var(--color-primary);
  color: var(--color-primary-contrast);
  padding: 12px 20px;
  border-radius: var(--radius);
  border: 0;
  text-decoration: none;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.btn:hover { filter: brightness(1.1); }
.btn-block { display: block; text-align: center; margin-top: 16px; }
button.btn-block { width: 100%; }
.btn-outline { background: transparent; color: var(--color-ink); box-shadow: inset 0 0 0 2px var(--color-accent); }

/* Header / footer */
html { scroll-padding-top: 96px; }
.site-header {
  position: sticky; top: 0; z-index: 30;
  border-bottom: 1px solid color-mix(in srgb, var(--color-ink) 10%, transparent);
  background: color-mix(in srgb, var(--color-surface) 94%, transparent);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.site-nav { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 4px 24px; }
.site-nav a:not(.btn) { color: var(--color-ink); text-decoration: none; font-family: var(--font-label); font-weight: 500; padding: 6px 0; }
.site-nav a:not(.btn):hover { text-decoration: underline; text-underline-offset: 6px; }
.site-nav .btn { padding: 10px 18px; }
.nav-toggle { display: none; color: var(--color-ink); }
/* branding.header: 'dark' */
.site-header--dark { background: color-mix(in srgb, var(--color-primary) 94%, transparent); border-bottom-color: color-mix(in srgb, var(--color-primary-contrast) 10%, transparent); }
.site-header--dark .site-nav a:not(.btn), .site-header--dark .nav-toggle { color: var(--color-primary-contrast); }
.site-header--dark a:focus-visible, .site-header--dark button:focus-visible { outline: 2px solid var(--color-primary-contrast); outline-offset: 4px; }
/* Phones and tablets (under 1,000 px since 2026-12-03, when a sixth menu item arrived): the menu folds behind a button. Only when scripts
   run (html.js); without them the links simply wrap under the logo. */
@media (max-width: 999px) {
  .header-inner { flex-wrap: wrap; }
  .js .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -8px; padding: 0; background: none; border: 0; cursor: pointer; }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 22px; height: 2px; background: currentColor; }
  .nav-toggle-bars { position: relative; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ''; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -7px; }
  .nav-toggle-bars::after { top: 7px; }
  .js .site-nav { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 4px 0 20px; }
  .js .is-open .site-nav { display: flex; }
  .js .site-nav a:not(.btn) { padding: 12px 0; border-top: 1px solid color-mix(in srgb, currentColor 14%, transparent); }
  .js .site-nav .btn { margin-top: 12px; text-align: center; }
}

.site-footer { background: var(--footer-bg, var(--color-primary)); color: var(--footer-ink, var(--color-primary-contrast)); margin-top: 64px; padding: 0 0 28px; }
/* A page that ends in a colored band meets the footer without a blank strip. */
main:has(> .section-themed:last-child) + .site-footer, main:has(> .section-alt:last-child) + .site-footer { margin-top: 0; }
.site-footer a { color: inherit; }
.footer-inner { display: grid; gap: 28px 40px; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); padding-top: 36px; padding-bottom: 36px; }
@media (max-width: 800px) { .footer-inner { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
.footer-brand { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.footer-brand address { margin: 4px 0; }
.footer-heading { margin: 0 0 8px; font-family: var(--font-label); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-highlight); }
.footer-license { margin: 2px 0 0; font-size: 0.875rem; }
.site-footer address { font-style: normal; opacity: 0.85; }
.copyright { opacity: 0.7; font-size: 0.85rem; grid-column: 1 / -1; margin: 0; }
.demo-note { font-size: 0.85rem; grid-column: 1 / -1; margin: 0; }

/* Sections */
/* The hero is the one place the client's primary color fills the page. */
.hero { background: var(--color-primary); color: var(--color-primary-contrast); padding: clamp(56px, 9vw, 112px) 0; }
.hero h1 { max-width: 20ch; text-wrap: balance; }
.hero .lead { color: inherit; opacity: 0.85; margin: 0 0 28px; }
.hero .btn { background: var(--color-cta); color: var(--color-cta-contrast); }
.section { padding: clamp(32px, 6vw, 64px) 0; }
.section-alt { background: var(--color-surface-alt); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 24px; }

/* Listing grid + card */
.listing-grid { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.listing-card { border: 1px solid #e5e7eb; border-radius: var(--radius); overflow: hidden; background: var(--color-surface); transition: box-shadow 0.15s; }
.listing-card:hover { box-shadow: 0 8px 24px rgb(0 0 0 / 0.08); }
.listing-card a { color: inherit; text-decoration: none; display: block; }
.listing-card-media { position: relative; aspect-ratio: 64 / 42; background: var(--color-surface-alt); }
.listing-card-media img { width: 100%; height: 100%; object-fit: cover; }
.listing-card-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, var(--color-surface-alt), #e5e7eb); }
.listing-card-body { padding: 16px; }
.listing-card-body h3 { margin-bottom: 2px; }
.listing-card-body p { margin: 0; }
.listing-card-facts { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px !important; font-weight: 600; }
.badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; }
.badge { position: static; background: var(--color-accent); color: var(--color-accent-contrast); font-size: 0.75rem; font-weight: 700; padding: 4px 8px; border-radius: 6px; }
.badge-highlight { background: var(--color-primary); color: var(--color-primary-contrast); }
.badge-gated { position: absolute; top: 12px; left: auto; right: 12px; background: var(--color-primary); color: var(--color-primary-contrast); }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin: 16px 0 32px; }
.filters label { display: flex; flex-direction: column; font-size: 0.85rem; gap: 4px; }
.filters select { padding: 10px; border-radius: 8px; border: 1px solid #d1d5db; font: inherit; min-width: 180px; }

/* Listing detail */
.breadcrumbs { font-size: 0.85rem; color: var(--color-muted); margin-bottom: 16px; }
.breadcrumbs a { color: inherit; }
.gallery { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); margin: 24px 0; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; aspect-ratio: 4 / 3; }
/* The main photo fills the full width and keeps its own shape, so nothing is
   cropped and there are no empty bars beside it. (It used to be capped at
   640px high, which left bars beside any photo less wide than about 16:9.) */
.gallery img:first-child { grid-column: 1 / -1; aspect-ratio: auto; height: auto; object-fit: contain; }
.listing-body { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); }
@media (max-width: 800px) { .listing-body { grid-template-columns: 1fr; } }
.listing-facts { background: var(--color-surface-alt); border-radius: var(--radius); padding: 20px; align-self: start; }
.listing-facts dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0; }
.listing-facts dt { color: var(--color-muted); }
.listing-facts dd { margin: 0; font-weight: 600; }
.gated-panel { border: 1px solid var(--color-accent); border-radius: var(--radius); padding: 24px; background: var(--color-surface-alt); }
.faqs details { border-bottom: 1px solid #e5e7eb; padding: 12px 0; }
.faqs summary { cursor: pointer; font-weight: 600; }

/* Forms (LeadForm.astro) */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lead-form { display: flex; flex-direction: column; gap: 14px; }
.lead-form-heading { font-size: 1.15rem; margin: 0; }
.lead-form-intro { margin: 0; color: var(--color-muted); }
.lead-form label { display: flex; flex-direction: column; gap: 4px; font-size: 0.9rem; font-weight: 500; }
.lead-form .optional { font-weight: 400; color: var(--color-muted); }
.lead-form input[type='text'],
.lead-form input[type='email'],
.lead-form input[type='tel'],
.lead-form textarea {
  font: inherit; color: var(--color-ink); background: #fff; width: 100%;
  padding: 10px 12px; border: 1px solid #d1d5db; border-radius: 8px;
}
.lead-form textarea { resize: vertical; }
.lead-form [aria-invalid='true'] { border-color: #dc2626; }
.lead-form .lead-form-check { flex-direction: row; align-items: center; gap: 8px; font-weight: 400; }
.lead-form button[disabled] { opacity: 0.6; cursor: default; }
.lead-form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-form-turnstile:empty { display: none; }
.lead-form-status { margin: 0; font-size: 0.9rem; }
.lead-form-status.is-error { color: #b91c1c; }
.lead-form-row { display: flex; gap: 8px; flex-wrap: wrap; }
.lead-form-row input { flex: 1 1 180px; }
.listing-facts .lead-form { margin-top: 24px; padding-top: 20px; border-top: 1px solid #d1d5db; }
/* Required question on Find Me a Property / Transaction Help */
.lead-form-question { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.lead-form-question legend { font-size: 0.9rem; font-weight: 600; margin-bottom: 4px; padding: 0; }
.lead-form-question .lead-form-check { align-items: flex-start; }
.lead-form-question .lead-form-check input { margin-top: 3px; }
/* Send to a colleague, on property pages */
.share-panel { margin-top: 16px; }
.share-panel > summary { list-style: none; display: block; text-align: center; }
.share-panel > summary::-webkit-details-marker { display: none; }
.share-panel[open] > summary { margin-bottom: 16px; }
.listing-facts .share-panel .lead-form { margin-top: 0; padding-top: 0; border-top: 0; }
.copy-link-status { margin: 6px 0 0; font-size: 0.85rem; text-align: center; color: var(--color-muted); }
.footer-links { display: flex; flex-direction: column; gap: 8px; font-size: 0.875rem; }
.footer-links a { text-decoration: none; opacity: 0.86; }
.footer-links a:hover { opacity: 1; text-decoration: underline; }

.contact-layout { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 800px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-details { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 24px 0 0; }
.contact-details dt { color: var(--color-muted); }
.contact-details dd { margin: 0; }
.form-card { background: var(--color-surface-alt); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.narrow-page { max-width: 640px; }

.footer-signup { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 26rem); gap: 16px 40px; align-items: center; padding-top: 44px; padding-bottom: 28px; }
.footer-signup::after { content: ''; grid-column: 1 / -1; border-bottom: 1px solid color-mix(in srgb, currentColor 18%, transparent); margin-top: 12px; }
@media (max-width: 800px) { .footer-signup { grid-template-columns: 1fr; } }
.footer-signup p { margin: 0; }
.footer-signup-heading { font-family: var(--font-heading); font-size: 1.125rem; font-weight: 700; }
.footer-signup-text { margin-top: 4px; font-size: 0.875rem; opacity: 0.82; }
.site-footer .lead-form-row { flex-wrap: nowrap; }
.site-footer .lead-form input[type='email'] { background: transparent; color: inherit; border-color: color-mix(in srgb, currentColor 35%, transparent); }
.site-footer .lead-form input[type='email']::placeholder { color: inherit; opacity: 0.6; }
.footer-kicker, .footer-tagline, .site-footer .copyright, .site-footer .demo-note { margin: 0; font-family: var(--font-label); font-size: 0.6875rem; letter-spacing: 0.1em; opacity: 0.72; }
.footer-kicker { letter-spacing: 0.16em; text-transform: uppercase; }
.footer-logo { width: min(100%, 200px); height: auto; margin: 6px 0; }
.footer-brand { font-size: 0.875rem; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; }
.footer-bottom::before { content: ''; flex: 0 0 100%; border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent); margin-bottom: 12px; }
.site-footer .lead-form .btn { background: var(--color-cta); color: var(--color-cta-contrast); }
.site-footer .lead-form-status { color: inherit; }
.site-footer .lead-form-status.is-error { color: #fecaca; }

/* Gated listings (listing page and /listings/<slug>/documents) */
.small { font-size: 0.875rem; }
.btn-link { background: none; border: 0; padding: 0; font: inherit; color: var(--color-ink); text-decoration: underline; cursor: pointer; }
.listing-om { margin-top: 24px; padding-top: 20px; border-top: 1px solid #d1d5db; }
.listing-om .small { margin: 6px 0 0; }
.listing-docs { margin-top: 24px; }
.listing-details, .listing-video, .listing-closed { margin-top: 24px; }
.detail-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0 24px; margin: 0; }
.detail-grid > div { padding: 10px 0; border-bottom: 1px solid #e5e7eb; }
.detail-grid dt { color: var(--color-muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; }
.detail-grid dd { margin: 2px 0 0; font-weight: 600; }
.video-frame { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.listing-header .badge { display: inline-block; margin-right: 6px; position: static; }
.listing-plans { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.listing-plans a { display: flex; flex-direction: column; gap: 6px; color: inherit; text-decoration: none; font-size: 0.9rem; }
.listing-plans img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; }
.gate-files { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.gate-files a { font-weight: 600; }
/* Document requests: a file the team will email (propertyPage.documentButtons). */
.gate-requested { margin: 0 0 8px; }
.gate-requested p { margin: 4px 0 0; }
.gate-request { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 14px 0 0; padding-top: 14px; border-top: 1px solid color-mix(in srgb, var(--color-ink) 12%, transparent); }
.gate-request span { flex: 1 1 260px; }
.gate { display: flex; flex-direction: column; gap: 20px; }
.gate h1 { margin: 0; }
.gate > .muted { margin: -12px 0 0; }
.gate-error { margin: 0; padding: 12px 16px; border-radius: 8px; background: #fef2f2; color: #991b1b; }
.agreement-sample { margin: 0; padding: 12px 16px; border-radius: 8px; border: 1px dashed var(--color-accent); background: #fff; font-size: 0.9rem; }
.agreement-text { max-height: 420px; overflow-y: auto; padding: 16px 20px; background: #fff; border: 1px solid #d1d5db; border-radius: 8px; font-size: 0.9rem; line-height: 1.55; }
.agreement-text h3 { margin-top: 0; }
.gate-details { display: flex; flex-direction: column; gap: 8px; }
.gate-details h2 { margin: 0; }
.gate-signout { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }

/* Typed-name signature on the agreement (step 3) and the signed copy. No web
   font is loaded: these are script faces most systems already have. */
.signature-consent { margin: 0; font-size: 0.9rem; }
.signature-input,
.signature-shown { font-family: "Snell Roundhand", "Segoe Script", "Brush Script MT", "Apple Chancery", cursive; }
.lead-form .signature-input { font-size: 1.5rem; padding-top: 6px; padding-bottom: 6px; }
.signature-date { margin: 0; font-size: 0.9rem; color: var(--color-muted); }
.signed-agreement-text { font-size: 0.95rem; line-height: 1.6; }
.signature-block { border-top: 1px solid #d1d5db; padding-top: 16px; }
.signature-block h2 { margin: 0 0 8px; }
.signature-shown { margin: 0 0 12px; font-size: 2rem; border-bottom: 1px solid var(--color-ink); display: inline-block; padding: 0 24px 2px 4px; }
.signed-agreement .fingerprint { word-break: break-all; font-size: 0.8rem; }
@media print {
  .signed-agreement .no-print,
  body > header,
  body > footer,
  .site-header,
  .site-footer { display: none !important; }
  .signed-agreement { max-width: none; }
}

/* Maps (src/components/ListingMap.astro). The box keeps its size before the map loads. */
.map { position: relative; width: 100%; height: 360px; border-radius: var(--radius); overflow: hidden; background: var(--color-surface-alt); }
.map-fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; margin: 0; padding: 16px; text-align: center; color: var(--color-muted); font-size: 0.875rem; }
.map-live .map-fallback { display: none; }
.listings-map { height: 440px; margin: 8px 0 28px; }
.listing-location { margin-top: 32px; }
.listing-location .map { margin-top: 12px; }
.map-links { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 10px; }
.map-links a { font-weight: 600; }
@media (max-width: 640px) { .map { height: 300px; } .listings-map { height: 360px; } }

/* The "Call the office" box (parity item 9; /locations, /contact, /team). The page's own styles are with the contact page's below. */
.link-button { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--color-primary); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.call-box { margin-top: 16px; padding: 20px; border-radius: var(--radius); background: var(--color-surface-alt); }
.call-box-heading { margin: 0; font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-muted); }
.call-box-phone { display: inline-block; margin: 4px 0; font-family: var(--font-heading); font-size: 1.6rem; font-weight: 700; color: var(--color-ink); text-decoration: none; }
.call-box-more { margin: 2px 0 0; color: var(--color-muted); }

/* Blog (/blog and /blog/<slug>) */
.post-grid { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.post-card { border: 1px solid #e5e7eb; border-radius: var(--radius); overflow: hidden; background: var(--color-surface); transition: box-shadow 0.15s; }
.post-card:hover { box-shadow: 0 8px 24px rgb(0 0 0 / 0.08); }
.post-card a { color: inherit; text-decoration: none; display: flex; flex-direction: column; height: 100%; }
.post-card-media { aspect-ratio: 64 / 42; background: var(--color-surface-alt); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; }
.post-card-body { padding: 16px 18px 20px; }
.post-card-body h2 { font-size: 1.2rem; margin: 0 0 6px; }
.post-card-body p { margin: 0; }
.pager { display: flex; gap: 20px; align-items: baseline; justify-content: center; margin-top: 32px; }

.post { max-width: 760px; }
.post-head h1 { text-wrap: balance; }
.post-meta { margin: 0 0 24px; font-size: 0.95rem; }
.post-cover { margin: 0 0 32px; }
.post-cover img { width: 100%; border-radius: var(--radius); }
.post-credit { font-size: 0.8rem; color: var(--color-muted); margin-top: 6px; }
.post-credit a { color: inherit; }
.prose { font-size: 1.075rem; line-height: 1.75; }
.prose h2 { margin: 1.8em 0 0.5em; }
.prose h3 { margin: 1.5em 0 0.4em; font-size: 1.2rem; }
.prose h4 { margin: 1.3em 0 0.3em; font-size: 1.05rem; }
.prose p, .prose ul, .prose ol, .prose blockquote { margin: 0 0 1.1em; }
.prose li { margin-bottom: 0.35em; }
.prose blockquote { border-left: 4px solid var(--color-accent); padding: 4px 0 4px 18px; color: var(--color-muted); }
.prose code { font-size: 0.9em; background: var(--color-surface-alt); padding: 1px 5px; border-radius: 4px; }
.prose pre { overflow-x: auto; background: var(--color-surface-alt); padding: 14px 16px; border-radius: 8px; }
.prose pre code { background: none; padding: 0; }
.prose hr { border: 0; border-top: 1px solid #e5e7eb; margin: 2em 0; }
.prose .table-wrap { overflow-x: auto; margin: 0 0 1.2em; }
.prose table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
.prose th, .prose td { border-bottom: 1px solid #e5e7eb; padding: 8px 10px; text-align: left; vertical-align: top; }
.prose th { background: var(--color-surface-alt); }
.post-faqs { margin-top: 40px; }
.post-cta { margin: 40px 0 24px; padding: 20px 24px; background: var(--color-surface-alt); border-radius: var(--radius); }
.post-cta p { margin: 0 0 12px; }
.post-cta p:last-child { margin: 0; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }

/* Blog details (parity item 7): category bar, pinned post, key figures, sources, related properties */
.blog-filters { margin-top: 24px; }
.status-filter-count { font-size: 0.8em; opacity: 0.75; }
.post-card .eyebrow, .post-pinned .eyebrow { display: flex; flex-wrap: wrap; gap: 4px 10px; }
.post-pinned { margin: 24px 0 8px; border: 1px solid #e5e7eb; border-radius: var(--radius); overflow: hidden; background: var(--color-surface); }
.post-pinned a { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); color: inherit; text-decoration: none; }
.post-pinned:hover { box-shadow: 0 8px 24px rgb(0 0 0 / 0.08); }
.post-pinned-media { background: var(--color-surface-alt); min-height: 260px; }
.post-pinned-media img { width: 100%; height: 100%; object-fit: cover; }
.post-pinned-body { padding: 24px 28px; }
.post-pinned-body h2 { font-size: 1.6rem; margin: 0 0 10px; text-wrap: balance; }
.post-pin { color: var(--color-accent); font-weight: 700; }
@media (max-width: 760px) { .post-pinned a { grid-template-columns: 1fr; } .post-pinned-media { min-height: 0; aspect-ratio: 64 / 42; } }
.post-category { margin: 0 0 6px; }
.post-category a { color: inherit; }
.post-summary { margin: 0 0 12px; }
.post-sources { margin: 0 0 24px; }
.post-sources-label { font-weight: 600; }
.post-sources-end { margin: 32px 0 0; padding-top: 16px; border-top: 1px solid #e5e7eb; color: var(--color-muted); }
.stat-rail { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 0 0 32px; }
.stat-rail > div { display: flex; flex-direction: column-reverse; padding: 14px 16px; background: var(--color-surface-alt); border-radius: 8px; border-top: 3px solid var(--color-accent); }
.stat-rail dt { font-size: 0.85rem; color: var(--color-muted); margin: 4px 0 0; }
.stat-rail dd { margin: 0; font-size: 1.6rem; font-weight: 700; line-height: 1.15; font-family: var(--font-heading, inherit); }
.stat-rail-compact { margin: 16px 0 0; }
.stat-rail-compact dd { font-size: 1.2rem; }
.post-related { margin-top: 40px; }
.post-related .listing-grid { margin-top: 16px; }

/* Listings page filter buttons (All, Featured, Active, Off Market, Notable, Closed, Archive) */
.status-filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 20px; }
.status-filter-list { display: flex; flex-wrap: wrap; gap: 8px; }
.status-filter {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border: 1px solid color-mix(in srgb, var(--color-ink) 18%, transparent); border-radius: 6px;
  color: var(--color-ink); background: var(--color-surface); text-decoration: none; font-weight: 500;
}
.status-filter:hover { border-color: var(--color-accent); }
.status-filter[aria-current='page'] { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-contrast); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.status-count { margin: 0; color: var(--color-muted); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; }

.listing-search { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-left: auto; }
.listing-search input[type='search'] {
  min-height: 44px; min-width: 240px; padding: 0 12px; font: inherit;
  border: 1px solid color-mix(in srgb, var(--color-ink) 25%, transparent); border-radius: 6px; background: var(--color-surface); color: var(--color-ink);
}
.listing-search .btn { min-height: 44px; }
.listing-search-reset { color: var(--color-ink); font-size: 0.9rem; }

/* Team page, member pages and brokers on property pages (parity item 3, 2026-11-16).
   Functional styles only; the look is settled in the design pass. */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 32px 24px; margin-top: 24px; }
.team-card { display: flex; flex-direction: column; gap: 12px; }
.team-photo { display: block; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--color-surface-alt); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-initials { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; aspect-ratio: 1; font-family: var(--font-heading); font-size: 2rem; color: var(--color-muted); background: var(--color-surface-alt); }
.team-name { font-size: 1.15rem; margin: 0; }
.team-name a { color: inherit; text-decoration: none; }
.team-name a:hover { text-decoration: underline; }
.team-title { margin: 2px 0 0; font-weight: 500; }
.team-license { margin: 2px 0 0; }
.team-contact { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 4px; font-size: 0.95rem; }
.team-contact a { overflow-wrap: anywhere; }
.team-card--compact { flex-direction: row; align-items: flex-start; gap: 12px; margin-top: 14px; }
.team-card--compact .team-photo { flex: 0 0 72px; width: 72px; border-radius: 50%; }
.team-card--compact .team-initials { font-size: 1.1rem; }
.team-card--compact .team-name { font-size: 1rem; }
.team-card--compact .team-contact { font-size: 0.9rem; margin-top: 4px; }
.listing-brokers { margin-top: 24px; padding-top: 20px; border-top: 1px solid #d1d5db; }
.member { display: grid; grid-template-columns: minmax(0, 320px) 1fr; gap: 32px; align-items: start; margin-top: 8px; }
.member-photo { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--color-surface-alt); }
.member-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.member-head h1 { margin-top: 0; }
.member-contact { font-size: 1rem; margin-bottom: 16px; }
.member-links { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.member-bio, .member-listings { margin-top: 40px; }
.member-bio .prose { max-width: 70ch; }
@media (max-width: 720px) {
  .member { grid-template-columns: 1fr; }
  .member-photo { max-width: 280px; }
}

/* Demographics table (parity item 6) */
.listing-demographics { margin-top: 32px; }
.listing-demographics .table-scroll { overflow-x: auto; margin-top: 12px; }
.demographics-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.demographics-table th, .demographics-table td { padding: 10px 8px; border-bottom: 1px solid rgba(0, 0, 0, 0.1); text-align: right; white-space: nowrap; }
.demographics-table th[scope="row"] { text-align: left; font-weight: 500; white-space: normal; }
.demographics-table thead th { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-muted, #6b6358); font-weight: 600; }
.listing-demographics p { margin-top: 8px; }

/* Ring buttons on the property map */
.map-rings { display: flex; gap: 4px; padding: 4px; background: #fff; border-radius: 6px; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2); }
.map-rings button { font: inherit; font-size: 0.8rem; line-height: 1; padding: 7px 9px; min-height: 30px; border: 1px solid transparent; border-radius: 4px; background: transparent; color: #2b2620; cursor: pointer; }
.map-rings button[aria-pressed="true"] { background: var(--color-primary, #12141f); color: var(--color-primary-contrast, #fff); }
.map-rings button:focus-visible { outline: 2px solid var(--color-accent, #d96c3b); outline-offset: 1px; }

/* Home page (parity item 8) */
.listing-card-note { margin: 6px 0 0 !important; font-size: 0.875rem; color: var(--color-muted); }
.home-categories { margin: -8px 0 8px; }
.post-card-body h3 { font-size: 1.2rem; margin: 0 0 6px; }
.home-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* Hot Deals (parity item 10, 2026-11-17) */
.small-heading { font-size: 1rem; margin: 24px 0 8px; }
.form-row-2, .form-row-3 { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-row-3 { grid-template-columns: 2fr 1fr 1fr; }
.form-row-2 > label, .form-row-3 > label { display: flex; flex-direction: column; gap: 6px; }
@media (max-width: 640px) { .form-row-2, .form-row-3 { grid-template-columns: 1fr; } }
.hero .btn-outline { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px var(--color-accent); }
.hot-deals-hero .home-cta-actions { justify-content: flex-start; }
.hot-deal-card-cta { margin: 8px 0 0; font-weight: 600; color: var(--color-accent); }
.hot-deal-interests { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.hot-deals-join { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; align-items: start; }
@media (max-width: 800px) { .hot-deals-join { grid-template-columns: 1fr; } }
.hot-deals-steps { padding-left: 1.25em; display: grid; gap: 10px; }
.hot-deals-about { padding-left: 1.25em; display: grid; gap: 8px; }
.hot-deal-photo { grid-template-columns: 1fr; }
.hot-deal-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.hot-deal-unlock { margin-bottom: 32px; }
.hot-deal-disclaimer { margin-top: 32px; }
.hero-actions { justify-content: flex-start; }

/* Development map on the home page (parity item 11, src/components/HomeDevelopments.astro) */
.home-developments h2 { margin-bottom: 8px; }
.dev-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 20px; margin-top: 24px; align-items: start; }
@media (max-width: 900px) { .dev-layout { grid-template-columns: 1fr; } }
.dev-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 10px; }
.dev-region { text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.75rem; color: var(--color-muted); }
.dev-stages { display: flex; flex-wrap: wrap; gap: 6px; }
.dev-stage { font: inherit; font-size: 0.85rem; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 12px; border: 1px solid #d1d5db; border-radius: 999px; background: var(--color-surface); color: var(--color-ink); cursor: pointer; }
.dev-stage[aria-pressed="true"] { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-primary-contrast); }
.dev-stage-count { opacity: 0.75; font-size: 0.8em; }
.dev-count { margin-left: auto; font-size: 0.8rem; color: var(--color-muted); }
.dev-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex: none; box-shadow: 0 0 0 1px #fff; }
.dev-map { height: 520px; }
@media (max-width: 900px) { .dev-map { height: 380px; } }
.dev-panel { border: 1px solid #e5e7eb; border-radius: var(--radius); background: var(--color-surface); padding: 16px; min-height: 200px; }
.dev-panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 10px; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.75rem; color: var(--color-muted); }
.dev-panel-head .link-button { text-transform: none; letter-spacing: 0; font-size: 0.85rem; }
.dev-list { list-style: none; margin: 0; padding: 0; }
.dev-list li + li { border-top: 1px solid #f0f0f0; }
.dev-row { font: inherit; width: 100%; display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 4px; border: 0; background: transparent; color: var(--color-ink); text-align: left; cursor: pointer; }
.dev-row:hover .dev-name { text-decoration: underline; }
.dev-rank { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1px solid #d1d5db; display: inline-flex; align-items: center; justify-content: center; font-size: 0.75rem; }
.dev-name { flex: 1; min-width: 0; }
.dev-meta { flex: none; font-size: 0.8rem; color: var(--color-muted); }
.dev-pager { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; font-size: 0.85rem; color: var(--color-muted); }
.dev-pager button:disabled { opacity: 0.4; cursor: default; }
.dev-detail h3 { margin: 0 0 8px; }
.dev-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 12px; }
.dev-stage-badge { color: #fff; font-size: 0.75rem; font-weight: 700; padding: 4px 8px; border-radius: 6px; }
.dev-story { font-weight: 600; }
.dev-facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 12px 0; font-size: 0.925rem; }
.dev-facts dt { color: var(--color-muted); }
.dev-facts dd { margin: 0; }
.dev-asof { display: block; font-size: 0.8rem; color: var(--color-muted); }
.dev-source { margin: 0; font-size: 0.9rem; font-weight: 600; }
.dev-note { font-size: 0.8rem; margin-top: 16px; max-width: 80ch; }
[data-dev-detail][hidden], [data-dev-index][hidden], [data-dev-row][hidden], [data-dev-pager][hidden] { display: none; }

/* Optional home page blocks (tenant home, 2026-12-02): plain styling until the design pass */
.home-film h2, .home-services h2, .home-partners h2, .home-asset-classes h2 { margin-bottom: 8px; }
.home-cards { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.home-cards-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.home-card { display: flex; flex-direction: column; gap: 8px; padding: 24px; border: 1px solid #e5e7eb; border-radius: var(--radius); background: var(--color-surface); }
.home-card h3, .home-card p { margin: 0; }
.home-card-subtitle { text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.75rem; font-weight: 600; color: var(--color-muted); }
.home-card .btn { align-self: flex-start; margin-top: auto; }
.home-logos { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.logo-tile { display: flex; align-items: center; justify-content: center; padding: 16px; border-radius: var(--radius); background: #fff; }
.logo-tile img { max-width: 100%; height: auto; max-height: 56px; width: auto; object-fit: contain; }

/* ---------------------------------------------------------------------------
   Website design pass (from 2026-12-02). Shared by every client; the look comes
   from each tenant's branding (colors, fonts, branding.style).
   --------------------------------------------------------------------------- */

/* branding.style.corners and branding.style.labels */
:root { --radius-btn: var(--radius); }
html[data-corners='square'] { --radius: 2px; --radius-btn: 0px; }
.btn { border-radius: var(--radius-btn); }
.btn-cta { background: var(--color-cta); color: var(--color-cta-contrast); }
html[data-labels='caps'] .btn,
html[data-labels='caps'] .eyebrow,
html[data-labels='caps'] .site-nav a { font-family: var(--font-label); text-transform: uppercase; }
html[data-labels='caps'] .btn { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.1em; padding: 14px 20px; }
html[data-labels='caps'] .site-nav a:not(.btn) { font-size: 0.875rem; font-weight: 400; letter-spacing: 0.08em; }
html[data-labels='caps'] .site-nav .btn { font-size: 0.75rem; padding: 12px 18px; }
html[data-labels='caps'] .eyebrow { font-size: 0.6875rem; letter-spacing: 0.2em; }

/* branding.style.navDividers: a thin line centred in the gap between menu links */
@media (min-width: 1000px) {
  html[data-nav-dividers] .site-nav a:not(.btn) + a:not(.btn) { position: relative; }
  html[data-nav-dividers] .site-nav a:not(.btn) + a:not(.btn)::before { content: ''; position: absolute; left: -12px; top: 25%; width: 1px; height: 50%; background: currentColor; opacity: 0.4; }
}

/* Home page hero (src/components/HomeHero.astro) */
.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero--image { display: flex; align-items: center; min-height: min(88vh, 920px); }
.hero--image > .container { width: 100%; }
.hero-media { position: absolute; inset: 0; z-index: -1; background: var(--color-primary); }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: 0; transition: opacity 1.4s ease; }
.hero-media img.is-active { opacity: 1; }
/* The photo fades into the primary color on the left, where the text is, and at the bottom. */
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--color-primary) 94%, transparent) 0%, color-mix(in srgb, var(--color-primary) 74%, transparent) 42%, color-mix(in srgb, var(--color-primary) 20%, transparent) 100%),
    linear-gradient(0deg, color-mix(in srgb, var(--color-primary) 90%, transparent) 0%, transparent 38%);
}
.hero-eyebrow { margin-bottom: 20px; color: color-mix(in srgb, var(--color-primary-contrast) 72%, transparent); }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.1; letter-spacing: -0.02em; max-width: 18ch; margin-bottom: 0.6em; }
.hero-line { display: block; transition: color 0.6s ease; }
.hero-kicker { font-size: 1.25em; font-weight: 800; }
.hero-h1--kicker .hero-title-line { font-weight: 600; color: var(--color-highlight); }
/* home.hero.typed: every line ends in the highlight color; the line being typed is plain. */
.hero-h1--typed .hero-line { color: var(--color-highlight); }
.hero-h1--typed .hero-line.is-typing { color: var(--color-primary-contrast); transition: none; }
.hero-line.is-pending { visibility: hidden; }
/* The hero's two blocks: heading block at the top, headline figure at the bottom. */
.hero-inner { display: flex; flex-direction: column; justify-content: space-between; gap: clamp(32px, 5vw, 56px); }
.hero--image { align-items: stretch; }
.hero-top, .hero-figure { width: min(100%, 38rem); }
/* home.hero.align: 'right' */
.hero--right .hero-inner { align-items: flex-end; }
.hero--right .hero-media::after {
  background:
    linear-gradient(270deg, color-mix(in srgb, var(--color-primary) 94%, transparent) 0%, color-mix(in srgb, var(--color-primary) 74%, transparent) 42%, color-mix(in srgb, var(--color-primary) 20%, transparent) 100%),
    linear-gradient(0deg, color-mix(in srgb, var(--color-primary) 90%, transparent) 0%, transparent 38%);
}
.typed-rest { visibility: hidden; }
.typed-cursor { position: relative; }
.typed-cursor::after { content: ''; position: absolute; left: 1px; top: 0.08em; width: 0.07em; min-width: 3px; height: 0.95em; background: var(--color-highlight); animation: typed-blink 0.9s steps(1) infinite; }
@keyframes typed-blink { 50% { opacity: 0; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero-figure .hero-actions { margin-top: 28px; }
.hero .btn-outline { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-primary-contrast) 50%, transparent); }
.hero .btn-outline:hover { background: color-mix(in srgb, var(--color-primary-contrast) 10%, transparent); filter: none; }
.hero-figure-value { margin: 0; font-family: var(--font-heading); font-weight: 800; font-size: clamp(2.6rem, 7vw, 5.5rem); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.hero-figure-label { margin: 12px 0 0; color: color-mix(in srgb, var(--color-primary-contrast) 72%, transparent); }
.hero .hero-figure-text { margin: 16px 0 0; max-width: 46ch; }
@media (max-width: 700px) {
  .hero--image { min-height: 0; }
  .hero-media::after, .hero--right .hero-media::after { background: color-mix(in srgb, var(--color-primary) 80%, transparent); }
}

/* Strip of figures under the hero (src/components/HomeHeroStats.astro). The 1px
   gaps between the cells show the list's own background as thin dividers. */
.stat-band { color: var(--color-primary-contrast); background: var(--color-primary); }
.stat-band-list { margin: 0; display: grid; grid-template-columns: repeat(var(--stat-cols, 4), minmax(0, 1fr)); gap: 1px; background: color-mix(in srgb, var(--color-primary-contrast) 16%, var(--color-primary)); border-top: 1px solid color-mix(in srgb, var(--color-primary-contrast) 16%, var(--color-primary)); }
.stat-band-list > div { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: clamp(24px, 3.5vw, 44px) 16px; background: color-mix(in srgb, var(--color-primary-contrast) 5%, var(--color-primary)); }
.stat-band-list dd { margin: 0; }
.stat-band-value { order: -1; font-family: var(--font-heading); font-weight: 800; font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1.05; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.is-emphasis .stat-band-value { color: var(--color-highlight); }
.stat-band-list dt { margin-top: 6px; font-family: var(--font-label); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; }
.stat-band-note { font-size: 0.8125rem; opacity: 0.72; }
@media (max-width: 760px) { .stat-band-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Section colors. Sections the design pass has reached carry .section-themed
   and draw from these; each section's own `tone` (data-tone) picks the set:
   light (default), alt (the alternate surface) or dark (the primary color with
   light text). Sections without the class are unchanged. */
:root {
  --sec-bg: var(--color-surface); --sec-ink: var(--color-ink); --sec-muted: var(--color-muted);
  --sec-line: color-mix(in srgb, var(--color-ink) 12%, transparent); --sec-card: var(--color-surface); --sec-accent: var(--color-muted);
  --sec-label: var(--color-accent);
}
.section-themed[data-tone='alt'] { --sec-bg: var(--color-surface-alt); }
.section-themed[data-tone='dark'] {
  --sec-bg: var(--color-primary); --sec-ink: var(--color-primary-contrast);
  --sec-muted: color-mix(in srgb, var(--color-primary-contrast) 72%, var(--color-primary));
  --sec-line: color-mix(in srgb, var(--color-primary-contrast) 14%, transparent);
  --sec-card: color-mix(in srgb, var(--color-primary-contrast) 5%, var(--color-primary)); --sec-accent: var(--color-highlight);
  --sec-label: var(--color-highlight);
}
.section-themed { background: var(--sec-bg); color: var(--sec-ink); }
.section-themed .section-head { align-items: flex-end; }
.section-eyebrow { color: var(--sec-accent); margin-bottom: 8px; }
.section-title { margin: 0; }
.section-title--display { font-family: var(--font-display); }
.section-title.section-title--display { font-weight: 700; letter-spacing: 0; }
.section-themed .section-link { color: var(--sec-muted); font-family: var(--font-label); font-size: 0.875rem; text-underline-offset: 4px; white-space: nowrap; }
html[data-labels='caps'] .section-link { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8125rem; text-decoration: none; }
.section-themed .section-link:hover { color: var(--sec-ink); text-decoration: underline; }
.section-themed :focus-visible { outline-color: var(--sec-ink); }

/* Featured properties as a strip (home.featured.layout: 'strip'; src/components/HomeFeatured.astro) */
.card-strip { overflow: hidden; }
.card-strip-track { display: flex; gap: 12px; width: max-content; }
.strip-card { flex: none; width: 280px; background: var(--sec-card); border: 1px solid var(--sec-line); border-radius: var(--radius); overflow: hidden; }
.strip-card a { display: block; color: inherit; text-decoration: none; }
.strip-card-media { position: relative; aspect-ratio: 3 / 2; background: var(--sec-line); }
.strip-card-media img { width: 100%; height: 100%; object-fit: cover; }
.strip-card-body { padding: 14px 16px 16px; }
.strip-card-body h3 { margin: 0; font-family: var(--font-body); font-size: 1rem; font-weight: 500; letter-spacing: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.strip-card-body p { margin: 0; }
.strip-card-place { margin-top: 6px !important; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sec-muted); }
.strip-card-size { margin-top: 6px !important; font-size: 0.875rem; font-variant-numeric: tabular-nums; }
.strip-card:hover { border-color: color-mix(in srgb, var(--sec-ink) 40%, transparent); }
/* More than three cards: the row moves. The track holds the cards twice and
   slides by exactly one set (half its width plus half a gap), then starts over. */
.card-strip--moving { -webkit-mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent); }
.card-strip--moving .card-strip-track { animation: card-strip calc(var(--strip-count, 4) * 7s) linear infinite; }
.card-strip--moving:hover .card-strip-track, .card-strip--moving:focus-within .card-strip-track { animation-play-state: paused; }
@keyframes card-strip { to { transform: translateX(calc(-50% - 6px)); } }
@media (prefers-reduced-motion: reduce) {
  .card-strip--moving { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .card-strip--moving .card-strip-track { animation: none; }
  .card-strip--moving .strip-card[aria-hidden='true'], .card-strip--moving .logo-tile[aria-hidden='true'] { display: none; }
}

/* Home page film (src/components/HomeFilm.astro): centred, in a thin frame */
.section-themed .section-intro { color: var(--sec-muted); }
.home-film-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.home-film-text { order: 2; }
@media (max-width: 900px) { .home-film-layout { grid-template-columns: 1fr; } .home-film-text { order: 0; } }
.home-film .section-title { font-size: clamp(1.7rem, 3.4vw, 2.75rem); }
.home-film .section-intro { max-width: 44ch; margin: 12px 0 0; font-size: 1rem; }
.home-film-figure { margin: 0; }
.home-film .video-frame { border: 1px solid var(--sec-line); box-shadow: 0 30px 80px -30px rgb(0 0 0 / 0.55); }
.home-film-figure figcaption { margin-top: 14px; font-family: var(--font-label); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sec-muted); }

/* Home page "What we do" (src/components/HomeServices.astro): columns under a rule */
.home-services .section-title { font-size: clamp(1.8rem, 3.6vw, 2.9rem); font-weight: 800; line-height: 1.06; letter-spacing: -0.02em; max-width: 17ch; }
.home-services .section-intro { max-width: 50ch; margin: 18px 0 0; }
.service-list { list-style: none; margin: clamp(32px, 5vw, 56px) 0 0; padding: 0; display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.service-item { border-top: 2px solid var(--sec-ink); padding-top: 20px; }
.service-label { margin: 0 0 8px; font-family: var(--font-label); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.2em; color: var(--sec-label); }
.service-item h3 { margin: 0 0 10px; font-size: 1.375rem; font-weight: 800; line-height: 1.2; }
.service-item p:last-child { margin: 0; font-size: 0.9375rem; color: var(--sec-muted); }

/* Home page logos (src/components/HomePartners.astro) */
.home-partners .section-title { font-size: clamp(1.7rem, 3.4vw, 2.75rem); }
.home-partners .section-intro { max-width: 56ch; margin: 12px 0 0; font-size: 1rem; }
.home-partners[data-align='center'] { text-align: center; }
.home-partners[data-align='center'] .section-intro { margin-inline: auto; }
.home-partners .home-logos, .logo-strip { margin-top: clamp(24px, 4vw, 40px); }
.logo-strip .card-strip-track { list-style: none; margin: 0; padding: 0; }
.logo-strip:not(.card-strip--moving) .card-strip-track { width: auto; flex-wrap: wrap; justify-content: center; }
.logo-strip .logo-tile { flex: none; width: 190px; height: 92px; }
.logo-strip.card-strip--moving .card-strip-track { animation-duration: calc(var(--strip-count, 6) * 4s); }

/* A section on a photo (home.assetClasses.image): the section's own color is
   laid over the photo as a wash. */
.section-themed.has-image { position: relative; isolation: isolate; background: var(--sec-bg); }
.section-themed.has-image > .section-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.section-themed.has-image::before { content: ''; position: absolute; inset: 0; z-index: -1; background: color-mix(in srgb, var(--wash, var(--sec-bg)) 84%, transparent); }
.asset-icon { color: var(--sec-label); flex: none; }

/* Home page Notable transactions (src/components/optional/NotableTransactions.astro) */
.home-notable .section-head { align-items: flex-end; }
.home-notable .section-title { font-size: clamp(1.8rem, 3.6vw, 2.9rem); font-weight: 800; line-height: 1.06; letter-spacing: -0.02em; }
.home-notable .section-intro { max-width: 56ch; margin: 12px 0 0; font-size: 1rem; }
/* Stacked and centred, the photo held to the width it had beside the text (Michael, 2026-12-02). */
.timeline { max-width: 667px; margin-inline: auto; text-align: center; }
.timeline-side .section-intro { margin-inline: auto; }
.timeline-panels { text-align: left; }
.timeline > .section-link { display: inline-block; margin-top: 18px; }
.timeline-years { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 22px 0 20px; }
.timeline-year { flex: none; min-width: 64px; padding: 8px 14px; border: 1px solid var(--sec-line); border-radius: 0; background: var(--sec-card); color: var(--sec-ink); font-family: var(--font-label); font-size: 0.75rem; letter-spacing: 0.06em; cursor: pointer; }
.timeline-year:hover { border-color: var(--sec-ink); position: relative; }
.timeline-year[aria-pressed='true'] { background: var(--sec-ink); border-color: var(--sec-ink); color: var(--sec-bg); }
.timeline-panels { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--gap); }
.timeline-panel a { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: var(--color-primary); color: #fff; text-decoration: none; }
.timeline-panel img, .timeline-placeholder { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.timeline-caption { position: absolute; inset: auto 0 0 0; padding: clamp(48px, 10vw, 110px) clamp(16px, 3vw, 28px) clamp(16px, 3vw, 26px); background: linear-gradient(to top, rgb(0 0 0 / 0.82), rgb(0 0 0 / 0.45) 55%, transparent); }
.timeline-caption p, .timeline-caption h3 { margin: 0; color: #fff; }
.timeline-caption-year { font-family: var(--font-heading); font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 700; line-height: 1.1; }
.timeline-caption h3 { margin-top: 6px; font-size: 1.125rem; font-weight: 500; }
.timeline-caption .timeline-caption-line { margin-top: 2px; font-size: 0.875rem; color: rgb(255 255 255 / 0.82); }
.timeline-caption .timeline-caption-link { margin-top: 12px; font-family: var(--font-label); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-highlight, #fff); }
.timeline-panel a:hover .timeline-caption-link { text-decoration: underline; }
.timeline.is-live .timeline-panel:not([hidden]) { animation: timeline-in 0.5s ease; }
@keyframes timeline-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .timeline.is-live .timeline-panel:not([hidden]) { animation: none; } }
@media (max-width: 640px) { .timeline-panel a { aspect-ratio: 4 / 3; } }

/* Home page Hot Deals (src/components/HomeHotDeals.astro), in the look of "Latest updates" */
.home-hot-deals .section-title { font-size: clamp(1.8rem, 3.6vw, 2.9rem); font-weight: 800; line-height: 1.06; letter-spacing: -0.02em; }
.home-hot-deals .section-intro { max-width: 56ch; margin: 12px 0 0; font-size: 1rem; }
.home-hot-deals-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; margin-top: clamp(28px, 4vw, 44px); padding: clamp(20px, 3vw, 32px); border: 1px solid var(--sec-line); border-radius: var(--radius); background: color-mix(in srgb, var(--sec-ink) 4%, var(--sec-bg)); }
@media (max-width: 800px) { .home-hot-deals-panel { grid-template-columns: 1fr; } }
.home-hot-deals-panel h3 { margin: 0 0 18px; font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; }
.home-hot-deals-panel h3 em { font-style: normal; color: var(--sec-label); }
.home-hot-deals-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 0.9375rem; }
.home-hot-deals-points li { display: flex; gap: 12px; align-items: baseline; }
.home-hot-deals-points li::before { content: ''; flex: none; width: 10px; height: 2px; background: var(--color-cta); transform: translateY(-4px); }

/* Home page development map (src/components/HomeDevelopments.astro): the
   section's own colors, so it works light or dark. */
.home-developments .section-title { font-size: clamp(1.7rem, 3.4vw, 2.75rem); max-width: 18ch; }
.home-developments .section-intro { max-width: 56ch; margin: 12px 0 0; font-size: 1rem; }
.home-developments .dev-region, .home-developments .dev-count, .home-developments .dev-panel-head, .home-developments .dev-meta, .home-developments .dev-pager, .home-developments .dev-facts dt, .home-developments .dev-asof, .home-developments .dev-note { color: var(--sec-muted); }
.home-developments .dev-region, .home-developments .dev-panel-head, .home-developments .dev-count, .home-developments .dev-meta { font-family: var(--font-label); }
.home-developments .dev-stage { border-color: var(--sec-line); border-radius: var(--radius); background: var(--sec-card); color: var(--sec-ink); font-family: var(--font-label); font-size: 0.75rem; }
.home-developments .dev-stage[aria-pressed='true'] { background: var(--sec-label); border-color: var(--sec-label); color: var(--sec-bg); }
.home-developments .dev-map { border: 1px solid var(--sec-line); background: var(--sec-card); }
.home-developments .dev-panel { border-color: var(--sec-line); background: var(--sec-card); color: var(--sec-ink); }
.home-developments .dev-list li + li { border-top-color: var(--sec-line); }
.home-developments .dev-row { color: var(--sec-ink); }
.home-developments .dev-rank { border-color: var(--sec-label); }
.home-developments .dev-panel a, .home-developments .dev-panel .link-button { color: var(--sec-label); }
.home-developments[data-tone='dark'] .dev-dot { box-shadow: 0 0 0 1px rgb(255 255 255 / 0.7); }

/* Home page "Latest updates" (src/components/LatestPosts.astro) */
.home-latest .section-title, .home-cta .section-title { font-size: clamp(1.8rem, 3.6vw, 2.9rem); font-weight: 800; line-height: 1.06; letter-spacing: -0.02em; }
.home-latest .section-intro { max-width: 56ch; margin: 12px 0 0; font-size: 1rem; }
.home-latest .home-categories { margin-bottom: 28px; }
.post-text-card { border: 1px solid var(--sec-line); border-radius: var(--radius); background: color-mix(in srgb, var(--sec-ink) 4%, var(--sec-bg)); transition: border-color 0.2s; }
.post-text-card:hover, .post-text-card:focus-within { border-color: var(--sec-label); }
.post-text-card a { display: flex; flex-direction: column; height: 100%; padding: 22px; color: var(--sec-ink); text-decoration: none; }
.post-text-card p, .post-text-card h3 { margin: 0; }
.post-text-card-label, .post-text-card-date, .post-text-card-more { font-family: var(--font-label); font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; }
.post-text-card-label { font-weight: 600; color: var(--sec-label); }
.post-text-card .post-text-card-date { margin-top: 8px; color: var(--sec-muted); }
.post-text-card h3 { margin-top: 12px; font-size: 1.25rem; font-weight: 800; line-height: 1.2; }
.post-text-card .post-text-card-excerpt { margin-top: 12px; font-size: 0.875rem; color: var(--sec-muted); }
.post-text-card .post-text-card-more { margin-top: auto; padding-top: 20px; font-weight: 600; color: var(--sec-label); }

/* Home page call to action (src/components/HomeCallToAction.astro) */
.home-cta-layout { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
.home-cta-layout--two { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
@media (max-width: 800px) { .home-cta-layout--two { grid-template-columns: 1fr; } }
.home-cta .home-cta-actions { margin-top: 24px; }
.home-cta[data-tone='dark'] .btn-outline { color: inherit; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--sec-ink) 50%, transparent); }
.home-cta[data-tone='dark'] .btn-outline:hover { background: color-mix(in srgb, var(--sec-ink) 10%, transparent); filter: none; }
.asset-block .section-eyebrow { margin-bottom: 12px; }
.asset-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.asset-tile { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border: 1px solid var(--sec-line); border-radius: var(--radius); background: var(--sec-card); color: var(--sec-ink); font-size: 1.125rem; font-weight: 500; text-decoration: none; transition: border-color 0.2s; }
.has-image .asset-tile { background: color-mix(in srgb, var(--wash, var(--sec-bg)) 60%, transparent); }
.asset-tile:hover, .asset-tile:focus-visible { border-color: var(--sec-label); }
@media (max-width: 420px) { .asset-tiles { grid-template-columns: 1fr; } }
.home-cta .section-title { max-width: 14ch; }
.home-cta .section-intro { max-width: 52ch; margin: 16px 0 0; font-size: 1rem; }
.home-cta-link { display: inline-block; margin-top: 18px; padding-bottom: 6px; border-bottom: 1px solid var(--sec-label); font-family: var(--font-label); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; color: var(--sec-ink); }
.home-cta-link:hover { color: var(--sec-label); }
.home-cta .home-cta-actions { justify-content: flex-start; }

/* "What we do" with the logos as its bottom row */
.service-logos { margin-top: clamp(36px, 5vw, 56px); padding-top: 24px; border-top: 1px solid var(--sec-line); }
.service-logos .section-eyebrow { margin-bottom: 14px; }
.service-logos .logo-strip, .service-logos .home-logos { margin-top: 0; }
.service-logos .logo-tile { border: 1px solid var(--sec-line); }

/* "What we do" with the film beside its heading */
.service-head--film { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (max-width: 900px) { .service-head--film { grid-template-columns: 1fr; } }
.service-film { margin: 0; }
.service-film .section-eyebrow { margin-bottom: 10px; }
.service-film .video-frame { border: 1px solid var(--sec-line); box-shadow: 0 24px 60px -30px rgb(0 0 0 / 0.45); }
.service-film figcaption { margin-top: 10px; font-size: 0.8125rem; color: var(--sec-muted); }

/* Featured and Notable headings share one size (Michael, 2026-12-02) */
.home-featured .section-title, .home-notable .section-title { font-size: clamp(1.7rem, 3.4vw, 2.75rem); line-height: 1.1; }
.home-notable .section-title--display { font-weight: 700; letter-spacing: 0; }

/* The closing section on a photo gets generous room above and below (Michael, 2026-12-02) */
.home-cta.has-image { padding-block: clamp(96px, 14vw, 216px); }

/* Development map (Michael, 2026-12-02): generous room above and below; the
   project list runs the full height of the filter bar and map beside it. */
/* Featured and Notable take the same room (Michael, 2026-12-03). */
.home-developments, .home-featured, .home-notable { padding-block: clamp(72px, 10vw, 144px); }
.home-developments .dev-layout { align-items: stretch; }
.home-developments .dev-panel { display: flex; flex-direction: column; }
.home-developments .dev-index { flex: 1; display: flex; flex-direction: column; }
.home-developments .dev-index[hidden] { display: none; }
/* Ten rows a page in ten equal tracks, so a short last page keeps the same
   rhythm. Hidden rows (other pages, other stages) must stay out of the layout. */
.home-developments .dev-list { flex: 1; }
html.js .home-developments .dev-list { display: grid; grid-template-rows: repeat(10, minmax(0, 1fr)); }
html.js .home-developments .dev-list li { display: flex; min-height: 44px; }
html.js .home-developments .dev-list li[hidden] { display: none; }
/* A one-page list (ten projects or fewer) has no pager. Its place is kept, empty, so the ten rows
   are the same height under every stage button; without it they shared the pager's space and
   grew by a few pixels each (Under construction). Without scripts the pager is simply absent. */
html.js .home-developments .dev-pager[hidden] { display: flex; visibility: hidden; }
html:not(.js) .home-developments .dev-pager[hidden] { display: none; }
html.js .home-developments .dev-row { height: 100%; }
/* One line per row, a long name cut short. A name that wrapped made its row taller, and with it
   every row of that page, so the whole panel grew under one stage button (Approved) and not the others. */
.home-developments .dev-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-developments .dev-meta { white-space: nowrap; }
/* And the row must be allowed to be narrower than its text, or the uncut name pushes the row past
   the panel's edge: the list's one column, the rows and the button inside may all shrink. */
html.js .home-developments .dev-list { grid-template-columns: minmax(0, 1fr); }
.home-developments .dev-panel, .home-developments .dev-index, .home-developments .dev-list li, .home-developments .dev-row { min-width: 0; }
.home-developments .dev-panel { overflow: hidden; }
.home-developments .dev-pager { margin-top: 14px; }

/* Global room around the middle of the home page (Michael, 2026-12-02) */
.home-services { padding-top: clamp(72px, 10vw, 144px); }
.home-latest { padding-bottom: clamp(72px, 10vw, 144px); }

/* Cards with a photo: the photo grows slightly under the pointer or keyboard
   focus (site-wide; Michael, 2026-12-02). */
.listing-card-media, .post-card-media, .strip-card-media { overflow: hidden; }
.listing-card-media img, .post-card-media img, .strip-card-media img, .timeline-panel img { transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1); }
.listing-card:hover .listing-card-media img, .listing-card:focus-within .listing-card-media img,
.post-card:hover .post-card-media img, .post-card:focus-within .post-card-media img,
.strip-card:hover .strip-card-media img, .strip-card:focus-within .strip-card-media img,
.timeline-panel a:hover img, .timeline-panel a:focus-visible img { transform: scale(1.05); }
@media (prefers-reduced-motion: reduce) {
  .listing-card-media img, .post-card-media img, .strip-card-media img, .timeline-panel img { transition: none; transform: none !important; }
}

/* Notable timeline photos: many are old and small, so they sit under an even
   dark veil with the color eased back, which reads as one deliberate set. */
.timeline-panel img { filter: saturate(0.85); }
.timeline-panel a::before { content: ''; position: absolute; inset: 0; z-index: 1; background: rgb(0 0 0 / 0.3); pointer-events: none; }
.timeline-caption { z-index: 2; }

/* Hero with the figures strip under it: on a desktop or laptop the two fit
   the first screen together, whatever its height (Michael, 2026-12-02: the
   strip was below the fold on a laptop). Sizes scale with the screen's height
   and reach their normal values at about 1,080 px tall; on a taller screen the
   hero stretches to fill. Phones keep the normal flow. ("~", not "+": the
   hero's own script tag sits between the two sections.) */
@media (min-width: 861px) {
  .hero--image:has(~ .stat-band) {
    padding-block: clamp(20px, 4vh, 112px);
    min-height: clamp(360px, calc(100svh - 77px - 2 * clamp(10px, 2.2vh, 44px) - clamp(84px, 9.5vh, 104px)), 920px);
  }
  .hero--image:has(~ .stat-band) h1 { font-size: min(clamp(2.2rem, 4.6vw, 3.6rem), 5.2vh); }
  .hero--image:has(~ .stat-band) .hero-eyebrow { margin-bottom: min(20px, 2vh); }
  .hero--image:has(~ .stat-band) .hero-inner { gap: clamp(12px, 2.5vh, 56px); }
  .hero--image:has(~ .stat-band) .hero-figure-value { font-size: min(clamp(2.6rem, 7vw, 5.5rem), 8.5vh); }
  .hero--image:has(~ .stat-band) .hero-figure-label { margin-top: min(12px, 1.2vh); }
  .hero--image:has(~ .stat-band) .hero-figure-text { margin-top: min(16px, 1.5vh); font-size: min(1.15rem, 2.1vh); }
  .hero--image:has(~ .stat-band) .hero-figure .hero-actions { margin-top: min(28px, 2.5vh); }
  .hero--image ~ .stat-band .stat-band-list > div { padding-block: clamp(10px, 2.2vh, 44px); gap: min(4px, 0.4vh); }
  .hero--image ~ .stat-band .stat-band-value { font-size: min(clamp(1.9rem, 3.4vw, 2.9rem), 4.6vh); }
}


/* Properties page, split layout (tenant listingsPage.layout: 'split'; design pass, 2026-12-03).
   One filter bar under the menu, the map filling the rest of the screen, and
   a narrow scrolling list of compact rows at the right. Under 1,000 px the
   list drops below the map and the page scrolls as usual. */
.listings-split { --bar-bg: var(--color-surface); --bar-ink: var(--color-ink); --bar-line: color-mix(in srgb, var(--color-ink) 18%, transparent); --bar-on: var(--color-accent); --bar-on-ink: var(--color-accent-contrast); }
.listings-split[data-bar='dark'] { --bar-bg: color-mix(in srgb, var(--color-primary) 62%, #000); --bar-ink: var(--color-primary-contrast); --bar-line: color-mix(in srgb, var(--color-primary-contrast) 22%, transparent); --bar-on: var(--color-highlight); --bar-on-ink: var(--color-primary); }
.listings-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px 24px; padding: 8px 16px; background: var(--bar-bg); color: var(--bar-ink); border-bottom: 1px solid var(--bar-line); }
.listings-bar-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.listings-chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 32px; margin: 0; padding: 0 12px;
  border: 1px solid var(--bar-line); border-radius: calc(var(--radius) / 2); background: transparent;
  color: color-mix(in srgb, var(--bar-ink) 80%, transparent); text-decoration: none; white-space: nowrap;
  font-family: var(--font-label); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.06em;
}
/* Hover fills the button; nothing changes size, so the row never moves. */
a.listings-chip:hover { background: color-mix(in srgb, var(--bar-ink) 14%, transparent); color: var(--bar-ink); }
a.listings-chip[aria-current='page']:hover { background: var(--bar-on); color: var(--bar-on-ink); }
/* The chosen button keeps the same weight as the others: bolder text is wider and pushed its neighbors along. */
.listings-chip[aria-current='page'] { background: var(--bar-on); border-color: var(--bar-on); color: var(--bar-on-ink); }
.listings-split[data-bar='dark'] a.listings-chip:focus-visible, .listings-split[data-bar='dark'] .listings-bar-search input:focus-visible { outline: 2px solid var(--bar-ink); outline-offset: 2px; }
/* The count is a plain label, not a button. It keeps a set width, wide enough for "220 properties"
   with its letter spacing, so the buttons beside it never move from one filter to the next. */
.listings-count { box-sizing: content-box; min-width: calc(14ch + 1em); min-height: 30px; padding: 0 0 0 8px; border: 0; background: none; margin-left: 2px; text-transform: uppercase; font-variant-numeric: tabular-nums; color: color-mix(in srgb, var(--bar-ink) 70%, transparent); }
.listings-bar-search .listings-chip { text-transform: uppercase; }
.listings-bar-search { display: flex; align-items: center; gap: 6px; flex: 0 1 400px; }
.listings-bar-search input[type='search'] {
  flex: 1; min-width: 0; min-height: 32px; padding: 0 12px; border: 1px solid var(--bar-line); border-radius: calc(var(--radius) / 2);
  background: color-mix(in srgb, var(--bar-ink) 6%, transparent); color: var(--bar-ink);
  font-family: var(--font-label); font-size: 0.75rem; letter-spacing: 0.06em;
}
.listings-bar-search input[type='search']::placeholder { color: color-mix(in srgb, var(--bar-ink) 60%, transparent); text-transform: uppercase; }
.listings-split-body { display: block; }
.listings-split .listings-map { height: 60vh; min-height: 320px; margin: 0; border-radius: 0; }
.listing-rows { list-style: none; margin: 0; padding: 0; background: var(--color-surface); }
.listing-rows-empty { padding: 24px 16px; color: var(--color-muted); }
.listing-row { border-bottom: 1px solid color-mix(in srgb, var(--color-ink) 10%, transparent); }
.listing-row a { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: center; padding: 10px 16px; color: var(--color-ink); text-decoration: none; }
.listing-row a:hover, .listing-row a:focus-visible { background: var(--color-surface-alt); }
.listing-row-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--color-surface-alt); }
.listing-row-media img, .listing-row-media .listing-card-placeholder { display: block; width: 100%; height: 100%; object-fit: cover; }
.listing-row-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.listing-row-title { font-family: var(--font-heading); font-size: 1rem; font-weight: 500; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.listing-row-place { font-family: var(--font-label); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* The status tag leads the row, above the title: a dot in the status color and the label, as on the filter bar. */
.listing-row-tags { display: flex; gap: 12px; }
.listing-row-tag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-label); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-ink); white-space: nowrap; }
/* The footer follows the split directly, also when dialogs (closed, so not shown) come after it in the page. */
main:has(> .listings-split) + .site-footer { margin-top: 0; }
/* Links at the left of the bar (/hot-deals: to the buyer list and "Feature your property" below the map). */
/* They sit right beside the filter buttons and stand out from them: the first is filled in
   the call-to-action color, the second outlined in the bar's highlight color. */
.listings-bar-links { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.listings-bar-links .listings-chip { text-transform: uppercase; font-weight: 600; color: var(--bar-ink); border-color: var(--bar-on); }
.listings-bar-links .listings-chip:first-child { background: var(--color-cta); border-color: var(--color-cta); color: var(--color-cta-contrast); }
.listings-bar-links a.listings-chip:first-child:hover { background: color-mix(in srgb, var(--color-cta) 86%, #fff); color: var(--color-cta-contrast); }
@media (min-width: 1000px) { .listings-bar-links { padding-right: 18px; border-right: 1px solid var(--bar-line); } .listings-bar-links + .listings-bar-filters { margin-left: -6px; } }
@media (min-width: 1000px) {
  /* 73 px: the menu bar (72 px row and its bottom line). */
  .listings-split { display: flex; flex-direction: column; height: calc(100vh - 73px); height: calc(100dvh - 73px); min-height: 480px; }
  /* One row where it fits; on a laptop the bar may take a second row (the map and list fill what is left). */
  .listings-bar { flex: none; }
  .listings-bar-filters { flex-wrap: nowrap; }
  .listings-split-body { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) clamp(340px, 22vw, 420px); }
  .listings-split-body--no-map { grid-template-columns: minmax(0, 1fr); }
  .listings-split .listings-map { height: 100%; min-height: 0; }
  .listing-rows { overflow-y: auto; overscroll-behavior: contain; border-left: 1px solid color-mix(in srgb, var(--color-ink) 10%, transparent); }
}

/* All-properties map (design pass, 2026-12-03): the card over a property, the
   client's own marker (branding.mapMarker) and the Dark / Light buttons. The
   card follows the map's look: light on the light map, the primary color on
   the dark one. */
.map { --card-bg: var(--color-surface); --card-ink: var(--color-ink); --card-muted: var(--color-muted); --card-line: color-mix(in srgb, var(--color-ink) 14%, transparent); }
.map[data-theme='dark'] { --card-bg: color-mix(in srgb, var(--color-primary) 70%, #000); --card-ink: var(--color-primary-contrast); --card-muted: var(--color-highlight); --card-line: color-mix(in srgb, var(--color-primary-contrast) 22%, transparent); }
.map-card-popup .maplibregl-popup-content { padding: 0; overflow: hidden; background: var(--card-bg); color: var(--card-ink); border: 1px solid var(--card-line); border-radius: calc(var(--radius) * 0.6); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
.map-card-popup.maplibregl-popup-anchor-bottom .maplibregl-popup-tip { border-top-color: var(--card-bg); }
.map-card { position: relative; width: 258px; max-width: 100%; font-family: var(--font-body); }
.map-card-media { display: block; }
.map-card-media img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.map-card-badge { position: absolute; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; background: rgba(10, 10, 10, 0.78); color: #fff; font-family: var(--font-label); font-size: 0.625rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.map-card-body { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px 14px; }
.map-card:not(:has(.map-card-media)) .map-card-body { padding-top: 38px; }
.map-card-body strong { font-family: var(--font-heading); font-size: 1rem; font-weight: 500; line-height: 1.25; }
.map-card-place { font-family: var(--font-label); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--card-muted); }
.map-card-actions { display: flex; gap: 8px; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--card-line); }
.map-card-actions .btn { flex: 1; padding: 9px 12px; text-align: center; white-space: nowrap; background: var(--color-cta); color: var(--color-cta-contrast); font-size: 0.75rem; }
.map-card-close { flex: none; width: 36px; border: 1px solid var(--card-line); border-radius: calc(var(--radius) / 2); background: transparent; color: var(--card-ink); font-size: 1.25rem; line-height: 1; cursor: pointer; }
.map-card-close:hover { border-color: var(--card-ink); }
.map-card-close:focus-visible, .map-card-actions .btn:focus-visible { outline: 2px solid var(--card-ink); outline-offset: 2px; }
.map-brand-marker { width: 46px; height: 46px; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45)); pointer-events: none; }
.map-brand-marker--office { pointer-events: auto; cursor: pointer; }
.map-theme { display: flex; gap: 4px; padding: 4px; background: #fff; border-radius: 6px; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2); }
.map-theme button { font-family: var(--font-label); font-size: 0.75rem; line-height: 1; letter-spacing: 0.04em; padding: 7px 10px; min-height: 30px; border: 1px solid transparent; border-radius: 4px; background: transparent; color: #2b2620; cursor: pointer; }
.map-theme button[aria-pressed='true'] { background: var(--color-primary, #12141f); color: var(--color-primary-contrast, #fff); }
.map-theme button:focus-visible { outline: 2px solid var(--color-accent, #d96c3b); outline-offset: 1px; }
.map-listings .maplibregl-ctrl-top-right, .map-developments .maplibregl-ctrl-top-right { display: flex; flex-direction: row-reverse; align-items: flex-start; }
.listing-row.is-selected a { background: var(--color-surface-alt); box-shadow: inset 3px 0 0 var(--color-cta); }

/* Dialogs opened from a page's own links (/hot-deals in the split layout: the buyer list,
   "Feature your property", Good to know). Native <dialog>, so the keyboard stays inside
   and Escape closes it. */
.page-dialog { width: min(880px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); overflow-y: auto; padding: clamp(20px, 4vw, 40px); border: 1px solid color-mix(in srgb, var(--color-ink) 14%, transparent); border-radius: var(--radius); background: var(--color-surface); color: var(--color-ink); box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45); }
.page-dialog--narrow { width: min(640px, calc(100vw - 32px)); }
.page-dialog::backdrop { background: rgba(0, 0, 0, 0.62); }
.page-dialog h2 { margin-top: 0; padding-right: 44px; }
.page-dialog-close { position: sticky; top: 0; z-index: 1; display: flex; justify-content: flex-end; height: 0; margin: 0; }
.page-dialog-close button { width: 40px; height: 40px; border: 1px solid color-mix(in srgb, var(--color-ink) 18%, transparent); border-radius: calc(var(--radius) / 2); background: var(--color-surface); color: var(--color-ink); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.page-dialog-close button:hover { border-color: var(--color-ink); }
.listing-rows-note { padding: 10px 16px; border-bottom: 1px solid color-mix(in srgb, var(--color-ink) 10%, transparent); background: var(--color-surface-alt); color: var(--color-muted); font-size: 0.75rem; line-height: 1.45; }
.listing-rows-note a { color: var(--color-ink); font-weight: 600; white-space: nowrap; }

/* Split layout under 1,000 px: buttons, then the map, then search and Reset, then the list
   (Michael, 2026-12-03). The bar and the body step aside (display: contents) so their parts
   can be put in that order; each part of the bar then carries the bar's color itself. */
@media (max-width: 999px) {
  .listings-split { display: flex; flex-direction: column; }
  .listings-split > .listings-bar, .listings-split > .listings-split-body { display: contents; }
  .listings-bar-links, .listings-bar-filters, .listings-bar-search { margin: 0; padding: 8px 16px; background: var(--bar-bg); color: var(--bar-ink); }
  .listings-bar-links { order: 1; padding-bottom: 0; }
  .listings-bar-filters { order: 2; }
  .listings-split .listings-map { order: 3; }
  .listings-bar-search { order: 4; flex: none; border-top: 1px solid var(--bar-line); border-bottom: 1px solid var(--bar-line); }
  .listings-bar-search input[type='search'], .listings-bar-search .listings-chip { min-height: 44px; font-size: 1rem; }
  .listings-split .listing-rows { order: 5; }
}

/* /developments rows: no photo, so the project's rank in its stage color takes the thumbnail's place. */
.listing-row--ranked a { grid-template-columns: 40px minmax(0, 1fr); }
.listing-row-rank { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; font-family: var(--font-label); font-size: 0.8125rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.map-card-fact { font-size: 0.8125rem; line-height: 1.4; color: var(--card-ink); }
.map-card-link { margin-top: 8px; font-family: var(--font-label); font-size: 0.6875rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--card-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dev-more { margin: 4px 0 0; }
@media (min-width: 1500px) { .listings-bar { flex-wrap: nowrap; } }
/* A sign-up form inside a dialog: the email box takes the row, the button follows. */
.page-dialog .lead-form-inline input[type='email'] { flex: 1; min-width: 0; }

/* Home page, the three light sections as one system (Michael, 2026-12-03):
   What we do (with the logos), Hot Deals and Latest updates share the intro
   size, the spacing under the heading block and between blocks, the small
   green label, card heading and text sizes, and the card border and tint. */
.home-services .section-title, .home-hot-deals .section-title, .home-latest .section-title { max-width: 20ch; }
.home-services .section-intro, .home-hot-deals .section-intro, .home-latest .section-intro { max-width: 56ch; margin: 12px 0 0; font-size: 1rem; }
/* 40 px from the heading block to the first content */
.home-services .service-head { margin-bottom: 40px; }
.home-services .service-list { margin-top: 0; }
.home-hot-deals .section-head, .home-latest .section-head { margin-bottom: 40px; }
.home-latest .home-categories { margin: 0 0 24px; }
.home-latest .post-grid { margin-top: 0; }
/* 48 px between the two blocks of a section */
.home-services .service-logos { margin-top: 48px; }
.home-hot-deals .home-hot-deals-panel { margin-top: 48px; }
/* One small green label, one card heading size, one card text size */
.service-label { font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.service-item h3 { font-size: 1.25rem; }
.post-text-card .post-text-card-excerpt { font-size: 0.9375rem; }
/* Hot Deal cards: the section's line and tint, as on the post cards */
.home-hot-deals .listing-card { border-color: var(--sec-line); background: color-mix(in srgb, var(--sec-ink) 4%, var(--sec-bg)); }
.home-hot-deals .listing-card:hover, .home-hot-deals .listing-card:focus-within { border-color: var(--sec-label); box-shadow: none; }
.hot-deal-card-cta { margin-top: 12px; font-family: var(--font-label); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sec-label, var(--color-accent)); }
/* Category buttons: square, mono caps, like the timeline's year buttons */
.home-categories .status-filter { min-height: 34px; padding: 0 14px; border: 1px solid var(--sec-line); border-radius: var(--radius); background: var(--sec-card); color: var(--sec-ink); font-family: var(--font-label); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; }
.home-categories .status-filter:hover { border-color: var(--sec-ink); }

/* Home page, the three dark sections as one system (Michael, 2026-12-03):
   Featured, Notable transactions and the development map share the heading's
   line height, the 40 px under the heading block, one button style for the
   year and stage buttons, one small-label style and one card title font. */
.home-featured .section-title, .home-notable .section-title, .home-developments .section-title { line-height: 1.1; }
.home-featured .section-head, .home-notable .section-head, .home-developments .section-head { margin-bottom: 40px; }
.home-developments .dev-layout { margin-top: 0; }
.home-notable .timeline-years { margin: 0 0 20px; }
/* Year buttons and stage buttons: same size, corners, spacing and selected color */
.home-notable .timeline-year, .home-developments .dev-stage { min-height: 34px; padding: 0 14px; border-radius: var(--radius); font-family: var(--font-label); font-size: 0.75rem; letter-spacing: 0.06em; }
.home-notable .timeline-year[aria-pressed='true'] { background: var(--sec-label); border-color: var(--sec-label); color: var(--sec-bg); }
/* Small labels inside cards and panels: the mono label at 11 px */
.strip-card-place { font-family: var(--font-label); font-size: 0.6875rem; letter-spacing: 0.14em; }
.home-developments .dev-panel-head, .home-developments .dev-region { font-size: 0.6875rem; letter-spacing: 0.14em; }
/* Property names in the heading font, as in the timeline caption */
.strip-card-body h3 { font-family: var(--font-heading); letter-spacing: -0.01em; }

/* Footer phone number: a call link with an icon (Michael, 2026-12-03) */
.footer-phone { display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; padding: 9px 14px; border: 1px solid color-mix(in srgb, currentColor 30%, transparent); border-radius: var(--radius); font-family: var(--font-label); font-size: 0.875rem; font-weight: 600; letter-spacing: 0.06em; text-decoration: none; transition: border-color 0.2s, color 0.2s; }
.footer-phone svg { color: var(--color-highlight); flex: none; }
.footer-phone:hover, .footer-phone:focus-visible { border-color: var(--color-highlight); color: var(--color-highlight); }

/* Two dark sections in a row share one stretch of padding, not two: the first
   gives up its bottom padding and the next one's top padding is the gap
   (Michael, 2026-12-03). A component's own script tag may sit between them. */
.section-themed[data-tone='dark']:has(+ .section-themed[data-tone='dark']),
.section-themed[data-tone='dark']:has(+ script + .section-themed[data-tone='dark']) { padding-bottom: 0; }

/* The light home sections get the same room as the dark ones, and two light
   sections in a row share one stretch of padding too (Michael, 2026-12-03).
   "Light" is a themed section with no tone or tone 'light'. */
.home-services, .home-hot-deals, .home-latest { padding-block: clamp(72px, 10vw, 144px); }
/* Recent Transactions and a closing call to action without a picture take the
   same room as the other home sections (Zona, question 108); a call to action
   on a picture keeps its larger room (.home-cta.has-image). */
.home-recent, .home-cta:not(.has-image) { padding-block: clamp(72px, 10vw, 144px); }
.section-themed:not([data-tone='dark']):not([data-tone='alt']):has(+ .section-themed:not([data-tone='dark']):not([data-tone='alt'])),
.section-themed:not([data-tone='dark']):not([data-tone='alt']):has(+ script + .section-themed:not([data-tone='dark']):not([data-tone='alt'])) { padding-bottom: 0; }

/* Phones (found in a 390 px view, 2026-12-03).
   Menu bar: the row keeps its own padding in place of a minimum height, so the
   logo and the menu button stay put when the menu opens and the bar wraps. */
@media (max-width: 999px) { .header-inner { min-height: 0; padding-block: 12px; } }
/* Section heading blocks: the "View All" link drops under the heading in place
   of pushing past the right edge of the screen. */
@media (max-width: 700px) { .section-head { flex-wrap: wrap; } }

/* Home page Hot Deals: the sign-up is a slim bar with a button; the form
   itself opens as a pop-up (Michael, 2026-12-03). */
.home-hot-deals .home-hot-deals-panel { grid-template-columns: minmax(0, 1fr) auto; gap: 16px 40px; padding: clamp(18px, 2.4vw, 28px) clamp(20px, 3vw, 32px); }
.home-hot-deals-panel h3 { margin-bottom: 12px; font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
.home-hot-deals-panel .home-hot-deals-points { display: flex; flex-wrap: wrap; gap: 8px 28px; }
@media (max-width: 800px) { .home-hot-deals .home-hot-deals-panel { grid-template-columns: 1fr; } .home-hot-deals-panel .btn { justify-self: start; } }
.page-dialog .home-hot-deals-points { margin: 0 0 20px; }


/* Single property page (design pass, 2026-12-03; every client). A photo-led top, the property's
   own bar under the menu with a link to each section, then labeled sections down one column. */
.property, .post-page, .member-page, .offices-page { --bar-bg: var(--color-surface); --bar-ink: var(--color-ink); --bar-line: color-mix(in srgb, var(--color-ink) 18%, transparent); --bar-on: var(--color-accent); }
.property[data-bar='dark'], .post-page[data-bar='dark'], .member-page[data-bar='dark'], .offices-page[data-bar='dark'] { --bar-bg: color-mix(in srgb, var(--color-primary) 62%, #000); --bar-ink: var(--color-primary-contrast); --bar-line: color-mix(in srgb, var(--color-primary-contrast) 22%, transparent); --bar-on: var(--color-highlight); }
.property-nav { position: sticky; top: 73px; z-index: 20; background: var(--bar-bg); color: var(--bar-ink); border-bottom: 1px solid var(--bar-line); }
.property-nav-inner { display: flex; align-items: center; gap: 14px; min-height: 44px; font-family: var(--font-label); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; }
.property-nav a { color: color-mix(in srgb, var(--bar-ink) 78%, transparent); text-decoration: none; white-space: nowrap; padding: 6px 0; border-bottom: 2px solid transparent; }
.property-nav a:hover, .property-nav a[aria-current] { color: var(--bar-ink); border-bottom-color: var(--bar-on); }
.property-nav-back { color: var(--bar-on) !important; }
.property-nav-title { padding-left: 14px; border-left: 1px solid var(--bar-line); color: var(--bar-ink); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.property-nav-links { display: flex; gap: 18px; margin: 0 0 0 auto; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.property-nav-links::-webkit-scrollbar { display: none; }
.property [id] { scroll-margin-top: 132px; }

.property-hero { padding-top: 0; }
.property-hero-media { position: relative; overflow: hidden; background: var(--color-primary); max-height: 72vh; min-height: 300px; display: flex; }
.property-hero-media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; max-height: 72vh; object-fit: cover; object-position: center; }
.property-hero-media--empty { min-height: 220px; }
.property-hero-text { position: absolute; inset: auto 0 0 0; padding: clamp(20px, 4vw, 40px) clamp(16px, 3vw, 28px) clamp(16px, 3vw, 28px); background: linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0)); color: #fff; }
.property-hero-text h1 { margin: 10px 0 6px; color: #fff; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.05; }
.property-hero-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; }
.property-tag { position: static; }
.property-hero-kind, .property-hero-place { margin: 0; font-family: var(--font-label); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7); }
.property-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 14px clamp(16px, 3vw, 28px); background: var(--color-primary); color: var(--color-primary-contrast); }
.property-actions-main, .property-actions-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.property-actions .btn { background: var(--color-cta); color: var(--color-cta-contrast); border-color: var(--color-cta); }
.property-actions .btn-outline { background: transparent; color: var(--color-primary-contrast); border: 1px solid color-mix(in srgb, var(--color-primary-contrast) 45%, transparent); }
.property-action-link { padding: 6px 0; border: 0; border-bottom: 1px solid color-mix(in srgb, var(--color-primary-contrast) 45%, transparent); background: none; color: var(--color-primary-contrast); font-family: var(--font-label); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.property-action-link:hover { border-bottom-color: var(--color-highlight); }
.property-actions .copy-link-status { font-size: 0.8rem; }

.property-sections { padding-bottom: clamp(40px, 6vw, 80px); }
.property-section { padding: clamp(36px, 5vw, 64px) 0; border-bottom: 1px solid color-mix(in srgb, var(--color-ink) 12%, transparent); }
.property-section:last-child, .property-section:has(+ .property-disclaimer) { border-bottom: 0; }
.property-label { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-family: var(--font-label); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-accent); }
.property-label::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.property-section > h2, .property-section .listing-demographics > h2 { margin: 0 0 20px; font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; }
.property-section > h2::after, .property-section .listing-demographics > h2::after { content: '.'; color: var(--color-accent); }
.property-subhead { margin: 0 0 6px; font-family: var(--font-label); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-accent); }
.property-prose > * + .property-subhead, .property-prose > * + div > .property-subhead, .property-section .detail-grid + .property-subhead, .property-offering + .property-subhead { margin-top: 28px; }
.property-prose { max-width: 70ch; }
.property-offering { max-width: 560px; margin: 0; }
.property-offering > div { display: flex; justify-content: space-between; gap: 24px; padding: 12px 0; border-bottom: 1px solid color-mix(in srgb, var(--color-ink) 12%, transparent); }
.property-offering dt { font-family: var(--font-label); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-muted); }
.property-offering dd { margin: 0; font-weight: 600; text-align: right; }
.property-disclaimer { padding-top: 20px; border-top: 1px solid color-mix(in srgb, var(--color-ink) 12%, transparent); color: var(--color-muted); font-size: 0.75rem; line-height: 1.6; }
.property-disclaimer p { margin: 0; }
.property-disclaimer-label { margin-bottom: 4px !important; font-family: var(--font-label); font-size: 0.625rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-ink); }
.property-overview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 48px; }
.property-address { display: flex; flex-direction: column; margin: 0 0 14px; }
.property-address span { color: var(--color-muted); font-size: 0.9rem; }
.property .property-map { height: clamp(320px, 46vh, 480px); border-radius: 0; margin-top: 0; }
.map-pin .maplibregl-ctrl-top-right, .map-area .maplibregl-ctrl-top-right { display: flex; flex-direction: row-reverse; align-items: flex-start; }
.property-photos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.property-photo { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--color-surface-alt); }
.property-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.property-photo:hover img, .property-photo:focus-visible img { transform: scale(1.05); }
.property-photo-more { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: rgba(0, 0, 0, 0.6); color: #fff; font-family: var(--font-heading); font-size: 1.6rem; font-weight: 700; }
.property-photo-more small { font-family: var(--font-label); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.property-inquiry { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px 48px; align-items: start; }
.property-contacts .team-card--compact:first-child { margin-top: 0; }
.property-call { margin: 24px 0 0; }
@media (max-width: 800px) {
  .property-overview, .property-inquiry { grid-template-columns: 1fr; }
  .property-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .property-photos .property-photo:first-child { grid-column: 1 / -1; }
  .property-nav-title { display: none; }
  .property-nav-links { margin-left: 0; }
}
@media (max-width: 999px) { .property-nav { top: 0; position: static; } }
@media (prefers-reduced-motion: reduce) { .property-photo img { transition: none; } }

/* Photo viewer (property page): one photo at a time over the dimmed page. */
.photo-viewer { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: rgba(0, 0, 0, 0.92); color: #fff; }
.photo-viewer[open] { display: flex; align-items: center; justify-content: center; }
.photo-viewer::backdrop { background: rgba(0, 0, 0, 0.8); }
.photo-viewer figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: calc(100vw - 140px); }
.photo-viewer img { display: block; max-width: 100%; max-height: calc(100dvh - 90px); object-fit: contain; }
.photo-viewer figcaption { font-family: var(--font-label); font-size: 0.75rem; letter-spacing: 0.12em; }
.photo-viewer-close { position: absolute; top: 12px; right: 12px; margin: 0; }
.photo-viewer-close button, .photo-viewer-step { width: 48px; height: 48px; border: 1px solid rgba(255, 255, 255, 0.4); background: rgba(0, 0, 0, 0.4); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.photo-viewer-close button:hover, .photo-viewer-step:hover { border-color: #fff; }
.photo-viewer-step { position: absolute; top: 50%; transform: translateY(-50%); }
.photo-viewer-prev { left: 12px; }
.photo-viewer-next { right: 12px; }
@media (max-width: 700px) { .photo-viewer figure { max-width: 100vw; } .photo-viewer-step { top: auto; bottom: 12px; transform: none; } }

/* Hot Deal page, in the property page's layout. Locked values are placeholders, blurred; the real ones are not in the page. */
.locked-value { filter: blur(6px); user-select: none; }
.property-unlock { margin: 20px 0 0; }
.property-unlock .btn { display: inline-flex; align-items: center; gap: 8px; }
.hot-deal-page .detail-grid { max-width: 760px; }
.hot-deal-question { max-width: 640px; }

/* Offering: the terms on the left, the property's contacts on the right (under them on phones). */
.property-offering-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: 32px clamp(32px, 6vw, 80px); align-items: start; }
.property-offering-main .property-offering { max-width: none; }
.property-agents { padding: 24px; background: var(--color-surface-alt); border-radius: var(--radius); }
.property-agents .property-subhead { margin-bottom: 12px; }
.property-agents-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 0; }
@media (max-width: 860px) { .property-offering-grid { grid-template-columns: 1fr; } }

/* Property and Hot Deal pages in the home page's look (2026-12-03): white
   sections without rules between them, content in light gray boxes with a
   thin border like the home cards, Location as a full-width band in the
   primary color when the client's bar is dark, and a closing panel. */
.property { --card-bg: color-mix(in srgb, var(--color-ink) 4%, var(--color-surface)); --card-line: color-mix(in srgb, var(--color-ink) 12%, transparent); }
.property .property-section { border-bottom: 0; }
.property-offering, .property-overview > div, .property .listing-demographics .table-scroll, .property-agents, .hot-deal-page .detail-grid, .property-cta, .property .page-dialog .form-card {
  background: var(--card-bg); border: 1px solid var(--card-line); border-radius: var(--radius);
}
.property-offering { padding: 4px 24px; }
.property-offering > div:last-child { border-bottom: 0; }
.property-overview > div, .hot-deal-page .detail-grid { padding: 20px 24px; }
.property .listing-demographics .table-scroll { padding: 4px 16px; }
.property .demographics-table tbody tr:last-child th, .property .demographics-table tbody tr:last-child td { border-bottom: 0; }

  --band: var(--color-primary);
  margin: clamp(16px, 3vw, 32px) 0; background: var(--band); box-shadow: 0 0 0 100vmax var(--band); clip-path: inset(0 -100vmax);
  color: var(--color-primary-contrast);
}

.property-cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px clamp(24px, 5vw, 64px); align-items: center; margin: clamp(24px, 4vw, 48px) 0 clamp(32px, 5vw, 56px); padding: clamp(20px, 3vw, 32px); }
.property-cta-title { margin: 0 0 6px; font-size: clamp(1.4rem, 2.4vw, 1.8rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.property-cta-title em { font-style: normal; color: var(--color-accent); }
.property-cta p { margin: 0; color: var(--color-muted); }
.property-cta .property-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 760px) { .property-cta { grid-template-columns: 1fr; } }

/* Contacts: each person on a white card inside the gray contacts box; icons for phones and email. */
.property-offering-grid:not(:has(.property-agents)) { grid-template-columns: 1fr; }
.property-offering-grid:not(:has(.property-agents)) .property-offering { max-width: 560px; }
.property-contacts { display: grid; gap: 12px; }
.property-contacts .team-card--compact { margin: 0; padding: 16px; background: color-mix(in srgb, var(--color-primary) 7%, var(--color-surface)); border: 1px solid color-mix(in srgb, var(--color-primary) 18%, transparent); border-radius: var(--radius); }
.team-contact li { display: flex; align-items: center; gap: 8px; }
.team-icon { flex: none; width: 15px; height: 15px; fill: none; stroke: var(--color-accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Description and Demographics side by side; the description text in a card like the rest. */
.property-pair { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 0 clamp(24px, 4vw, 48px); align-items: start; }
.property-pair:not(:has(> :nth-child(2))) { grid-template-columns: 1fr; }
.property-pair .property-prose { max-width: none; padding: 20px 24px; background: var(--card-bg); border: 1px solid var(--card-line); border-radius: var(--radius); }
.property-pair .demographics-table th, .property-pair .demographics-table td { padding: 10px 6px; }
@media (max-width: 960px) { .property-pair { grid-template-columns: 1fr; } }

/* Rows on one two-column grid (2026-12-03): The opportunity, At a glance,
   About the property. Each column: a bold title like the section titles,
   then one card; the cards in a row are the same height. */
.property-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px clamp(32px, 5vw, 64px); align-items: stretch; }
.property-col { display: flex; flex-direction: column; min-width: 0; }
.property-col-title, .property-col .listing-demographics > h2 { margin: 0 0 20px; font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; }
.property-col-title::after, .property-col .listing-demographics > h2::after { content: '.'; color: var(--color-accent); }
.property-card { flex: 1; margin: 0; padding: 20px 24px; background: var(--card-bg); border: 1px solid var(--card-line); border-radius: var(--radius); }
.property-card .property-offering { max-width: none; padding: 0; background: none; border: 0; }
.property-card .property-offering > div:first-child { padding-top: 0; }
.property-card .property-offering > div:last-child { padding-bottom: 0; }
.property-card.property-prose { max-width: none; }
.property-card.detail-grid { align-content: start; }
.property-col .listing-demographics { display: flex; flex: 1; flex-direction: column; margin: 0; }
.property-col .listing-demographics .table-scroll { flex: 1; margin-top: 0; }
.property-col .listing-demographics .demographics-table th, .property-col .listing-demographics .demographics-table td { padding: 10px 6px; }
.property-contacts.property-card { display: grid; gap: 12px; align-content: start; }
@media (max-width: 860px) { .property-cols { grid-template-columns: 1fr; } }

/* Take a look: Photos (2 × 2 grid of 16:9 tiles) beside Video (16:9), so the two cards line up. */
.property-card.property-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; }
.property-card.property-photos .property-photo { aspect-ratio: 16 / 9; }
.property-card.property-photos .property-photo:first-child { grid-column: auto; }
.property-video .video-frame { margin: 0; }

/* Top of the page: the photo and action band on a full-width band in the
   primary color when the client's bar is dark (2026-12-03). Location stays light. */
.property[data-bar='dark'] .property-hero { padding-block: clamp(16px, 3vw, 32px); background: var(--color-primary); box-shadow: 0 0 0 100vmax var(--color-primary); clip-path: inset(0 -100vmax); }

/* Closing section (the home page's last section look) with the disclaimer under the buttons. */
.property-closing.has-image { padding-block: clamp(64px, 9vw, 128px); }
.property-closing .section-title { max-width: 18ch; }
.property-closing .section-title em { font-style: normal; color: var(--sec-label); }
.property-closing .property-disclaimer { max-width: 90ch; margin-top: clamp(32px, 5vw, 56px); padding-top: 16px; border-top: 1px solid var(--sec-line); color: var(--sec-muted); }
.property-closing .property-disclaimer-label { color: var(--sec-ink); }
.property-closing .btn-outline { color: inherit; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--sec-ink) 50%, transparent); }

/* No gap between the closing section and the footer. */
main:has(.property-closing) + .site-footer { margin-top: 0; }

/* Take a look photos: a 16:9 card of two equal rows, whatever the number of
   photos: 1 fills it, 2 side by side, 3 one large and two stacked, 4 a 2 × 2 grid. */
.property-card.property-photos { aspect-ratio: 16 / 9; grid-template-rows: repeat(2, minmax(0, 1fr)); }
.property-card.property-photos .property-photo { aspect-ratio: auto; }
.property-card.property-photos .property-photo:only-child { grid-column: 1 / -1; grid-row: 1 / -1; }
.property-card.property-photos .property-photo:first-child:nth-last-child(2), .property-card.property-photos .property-photo:first-child:nth-last-child(2) ~ .property-photo { grid-row: 1 / -1; }
.property-card.property-photos .property-photo:first-child:nth-last-child(3) { grid-row: 1 / -1; }

/* Location: the address, map and map links contained in one card. */
.property-location-card { display: flex; flex-direction: column; gap: 14px; }
.property-location-card .property-address, .property-location-card .map-links, .property-location-card > .muted { margin: 0; }

/* Confidential offering: a note and Request access at the foot of the Offering card, like Unlock price. */
.property-locked { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--card-line); }
.property-locked p { margin: 0 0 14px; color: var(--color-muted); font-size: 0.9375rem; }
.property-locked p strong { color: var(--color-ink); }
.property-locked .btn, .property-unlock .btn, .property-actions .btn-lock { display: inline-flex; align-items: center; gap: 8px; }
/* Unlock price on a card, where the price was (2026-12-03). */
.listing-card-lock { font-family: var(--font-label); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-primary); }

/* Blog list, every client (design pass, CRE Activity, 2026-12-03; src/pages/blog/index.astro,
   src/components/PostCard.astro). Drawn from the section colors, so it follows
   each client's own surface, ink, accent, label font and corners. */
.blog-list { padding-block: clamp(48px, 7vw, 96px) clamp(72px, 10vw, 144px); }
.blog-head { max-width: 1100px; }
.blog-eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-family: var(--font-label); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.14em; color: var(--sec-label); }
html[data-labels='caps'] .blog-eyebrow { text-transform: uppercase; }
.blog-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sec-label); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sec-label) 22%, transparent); }
.blog-title { margin: 0; font-family: var(--font-heading); font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.025em; text-wrap: balance; }
.blog-title-highlight { color: var(--sec-label); }
.blog-intro { max-width: 46ch; margin: 18px 0 0; color: var(--sec-muted); font-size: 1rem; line-height: 1.6; }
.blog-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin: clamp(40px, 6vw, 72px) 0 32px; padding-bottom: 20px; border-bottom: 1px solid var(--sec-line); }
.blog-bar-count { margin: 0; font-family: var(--font-label); font-size: 0.75rem; letter-spacing: 0.1em; color: var(--sec-muted); }
.blog-bar-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.blog-chips { display: flex; flex-wrap: wrap; }
.blog-chip { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid var(--sec-line); margin-left: -1px; background: var(--sec-bg); color: var(--sec-ink); font-family: var(--font-label); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.06em; text-decoration: none; white-space: nowrap; }
.blog-chip:first-child { margin-left: 0; border-radius: var(--radius) 0 0 var(--radius); }
.blog-chip:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
.blog-chip:hover { background: color-mix(in srgb, var(--sec-ink) 5%, var(--sec-bg)); }
.blog-chip[aria-current='page'] { position: relative; background: var(--color-primary); border-color: var(--color-primary); color: var(--color-primary-contrast); }
html[data-labels='caps'] .blog-chip, html[data-labels='caps'] .blog-bar-count, html[data-labels='caps'] .blog-search input, html[data-labels='caps'] .blog-search-reset { text-transform: uppercase; }
.blog-search { display: flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px; border: 1px solid var(--sec-ink); border-radius: var(--radius); color: var(--sec-ink); }
.blog-search svg { flex: none; opacity: 0.7; }
.blog-search input { width: clamp(150px, 16vw, 220px); min-height: 34px; border: 0; padding: 0; background: transparent; color: inherit; font-family: var(--font-label); font-size: 0.75rem; letter-spacing: 0.06em; }
.blog-search input::placeholder { color: var(--sec-muted); }
.blog-search input:focus { outline: none; }
.blog-search:focus-within { outline: 2px solid var(--sec-label); outline-offset: 2px; }
.blog-search-reset { font-family: var(--font-label); font-size: 0.6875rem; letter-spacing: 0.08em; color: var(--sec-muted); }
.blog-empty { margin: 32px 0; color: var(--sec-muted); }
.blog-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(16px, 2vw, 24px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.blog-grid > li { display: flex; }

/* A post card: the cover on top, then the text on a tinted card (as the home page's text cards). */
.blog-card { flex: 1; display: flex; border: 1px solid var(--sec-line); border-radius: var(--radius); overflow: hidden; background: color-mix(in srgb, var(--sec-ink) 4%, var(--sec-bg)); transition: border-color 0.2s; }
.blog-card:hover, .blog-card:focus-within { border-color: var(--sec-label); }
.blog-card > a { flex: 1; display: flex; flex-direction: column; color: var(--sec-ink); text-decoration: none; }
.blog-card-media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--color-surface-alt); }
.blog-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.blog-card:hover .blog-card-media img, .blog-card:focus-within .blog-card-media img { transform: scale(1.05); }
.blog-card-body { flex: 1; display: flex; flex-direction: column; padding: 22px; }
.blog-card-body p, .blog-card-title { margin: 0; }
.blog-card-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-family: var(--font-label); font-size: 0.6875rem; letter-spacing: 0.14em; color: var(--sec-muted); }
.blog-card-label, .blog-card-pin { font-weight: 600; color: var(--sec-label); }
.blog-card-pin { padding: 0 8px; border: 1px solid var(--sec-label); border-radius: var(--radius); }
html[data-labels='caps'] .blog-card-meta, html[data-labels='caps'] .blog-card-more, html[data-labels='caps'] .blog-card-figures dt { text-transform: uppercase; }
.blog-card-title { margin-top: 12px; font-family: var(--font-heading); font-size: 1.25rem; font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; text-wrap: balance; }
.blog-card .blog-card-excerpt { margin-top: 12px; font-size: 0.9375rem; line-height: 1.55; color: var(--sec-muted); }
.blog-card .blog-card-more { margin-top: auto; padding-top: 20px; font-family: var(--font-label); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.14em; color: var(--sec-label); }
.blog-card-figures { display: flex; flex-wrap: wrap; gap: 16px 32px; margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--sec-line); }
.blog-card-figures div { display: flex; flex-direction: column; }
.blog-card-figures dd { order: -1; margin: 0; font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; line-height: 1.1; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.blog-card-figures dt { margin-top: 4px; font-family: var(--font-label); font-size: 0.625rem; letter-spacing: 0.12em; color: var(--sec-muted); }
/* The pinned post: a wide card above the grid, photo at the left. */
.blog-card--pinned { margin-bottom: clamp(16px, 2vw, 24px); }
.blog-card--pinned .blog-card-title { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.12; }
.blog-card--pinned .blog-card-body { padding: clamp(22px, 3vw, 40px); }
@media (min-width: 860px) {
  .blog-card--pinned > a { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
  .blog-card--pinned .blog-card-media { aspect-ratio: auto; min-height: 340px; }
}

/* Numbered pager. */
.blog-pager { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: clamp(32px, 5vw, 56px); font-family: var(--font-label); font-size: 0.75rem; }
.blog-pager ol { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.blog-pager a, .blog-pager-step, .blog-pager-gap { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 8px; border: 1px solid var(--sec-line); border-radius: var(--radius); color: var(--sec-ink); text-decoration: none; }
.blog-pager-gap { border-color: transparent; color: var(--sec-muted); }
span.blog-pager-step { color: var(--sec-line); }
.blog-pager a:hover { border-color: var(--sec-ink); }
.blog-pager a[aria-current='page'] { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-primary-contrast); }
@media (max-width: 640px) {
  .blog-bar-tools, .blog-search { width: 100%; }
  .blog-search input { width: 100%; }
}

/* Post page, every client (design pass, CRE Activity, 2026-12-03; src/pages/blog/[slug].astro).
   The bar under the menu is the property page's (.property-nav). */
.post-main { padding-block: clamp(40px, 6vw, 80px) clamp(56px, 8vw, 112px); }
.post-wrap { max-width: 1040px; }
.post-header { max-width: 800px; }
.post-header .blog-eyebrow a { color: inherit; text-decoration: none; }
.post-header .blog-eyebrow a:hover { text-decoration: underline; text-underline-offset: 3px; }
.post-title { margin: 0; font-family: var(--font-heading); font-size: clamp(2rem, 4.2vw, 3.25rem); font-weight: 800; line-height: 1.06; letter-spacing: -0.025em; text-wrap: balance; }
.post-lede { max-width: 60ch; margin: 20px 0 0; font-size: 1.0625rem; line-height: 1.6; color: var(--sec-muted); }
.post-sources-line { max-width: 80ch; margin: 16px 0 0; font-family: var(--font-label); font-size: 0.6875rem; letter-spacing: 0.06em; line-height: 1.7; color: var(--sec-muted); }
.post-sources-line a, .post-aside-link { color: var(--sec-label); font-weight: 600; text-underline-offset: 3px; }
.post-figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px clamp(20px, 4vw, 48px); margin: clamp(28px, 4vw, 44px) 0 0; padding-top: 24px; border-top: 1px solid var(--sec-line); }
.post-figures div { display: flex; flex-direction: column; }
.post-figures dd { order: -1; margin: 0; font-family: var(--font-heading); font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.post-figures dt { margin-top: 6px; font-family: var(--font-label); font-size: 0.625rem; letter-spacing: 0.12em; color: var(--sec-muted); }
html[data-labels='caps'] .post-figures dt, html[data-labels='caps'] .post-aside-key, html[data-labels='caps'] .post-aside-link, html[data-labels='caps'] .post-back a { text-transform: uppercase; }
.post-hero-image { margin: clamp(28px, 4vw, 48px) 0 0; }
.post-hero-image img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); background: var(--color-surface-alt); }
.post-hero-image .post-credit { color: var(--sec-muted); }
.post-columns { display: grid; gap: clamp(28px, 4vw, 56px); margin-top: clamp(40px, 6vw, 80px); }
@media (min-width: 900px) {
  .post-columns { grid-template-columns: 240px minmax(0, 1fr); align-items: start; }
  .post-aside { position: sticky; top: calc(73px + 44px + 24px); }
}
.post-aside { padding: 20px; border: 1px solid var(--sec-line); border-top: 2px solid var(--sec-label); border-radius: var(--radius); background: color-mix(in srgb, var(--sec-ink) 4%, var(--sec-bg)); }
.post-aside-block + .post-aside-block { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--sec-line); }
.post-aside p { margin: 0; }
.post-aside-key { font-family: var(--font-label); font-size: 0.625rem; letter-spacing: 0.14em; color: var(--sec-muted); }
.post-aside .post-aside-value { margin-top: 6px; font-family: var(--font-heading); font-size: 0.9375rem; font-weight: 800; line-height: 1.3; }
.post-aside-value a { color: var(--sec-ink); text-decoration: none; }
.post-aside-value a:hover { text-decoration: underline; text-underline-offset: 3px; }
.post-aside .post-aside-note { margin-top: 6px; font-size: 0.8125rem; line-height: 1.5; color: var(--sec-muted); }
.post-aside-link { display: inline-block; margin-top: 8px; font-family: var(--font-label); font-size: 0.6875rem; letter-spacing: 0.1em; }
.post-body { min-width: 0; max-width: 680px; }
/* The text, as on the live post pages: bold headings, dash lists with a thin line between items, large pull quotes. */
.post-prose { font-size: 1.0625rem; line-height: 1.75; color: color-mix(in srgb, var(--sec-ink) 78%, var(--sec-bg)); }
.post-prose > :first-child { margin-top: 0; }
.post-prose h2, .post-prose h3, .post-prose h4 { color: var(--sec-ink); font-family: var(--font-heading); font-weight: 800; letter-spacing: -0.015em; line-height: 1.2; }
.post-prose h2 { font-size: clamp(1.5rem, 2.4vw, 1.875rem); margin: 1.8em 0 0.6em; }
.post-prose h3 { font-size: 1.25rem; }
.post-prose strong { color: var(--sec-ink); }
.post-prose a { color: var(--sec-label); text-underline-offset: 3px; }
.post-prose ul { list-style: none; padding: 0; margin: 1.4em 0; border-top: 1px solid var(--sec-line); }
.post-prose ul > li { position: relative; margin: 0; padding: 12px 0 12px 22px; border-bottom: 1px solid var(--sec-line); font-size: 0.96875rem; line-height: 1.6; }
.post-prose ul > li::before { content: '—'; position: absolute; left: 0; color: var(--sec-label); }
.post-prose ol { padding-left: 1.3em; }
.post-prose blockquote { margin: 1.8em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--sec-label); color: var(--sec-ink); font-family: var(--font-heading); font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 800; line-height: 1.3; letter-spacing: -0.01em; }
.post-prose blockquote p { margin: 0 0 0.5em; }
.post-prose blockquote p:last-child { margin: 0; }
.post-prose hr { border-top-color: var(--sec-line); }
.post-body .post-faqs { margin-top: 48px; }
.post-back { margin: 48px 0 0; padding-top: 20px; border-top: 1px solid var(--sec-line); }
.post-back a { font-family: var(--font-label); font-size: 0.75rem; letter-spacing: 0.1em; color: var(--sec-label); text-decoration: none; }
.post-back a:hover { text-decoration: underline; text-underline-offset: 3px; }
.post-properties { padding-block: clamp(56px, 8vw, 112px); }

/* Team page, every client (design pass, Team, 2026-12-04; src/pages/team/index.astro,
   src/components/TeamMemberCard.astro). The header in the client's words and the
   call box at the left, the cards at the right; drawn from the section colors.
   The header reuses the blog list's eyebrow, title and intro styles. */
.team-page { padding-block: clamp(48px, 7vw, 96px) clamp(72px, 10vw, 144px); }
.team-layout { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: clamp(32px, 3vw, 56px); align-items: start; }
.team-title-h1 { font-size: clamp(2.1rem, 3.6vw, 3rem); }
.team-aside .call-box { margin-top: 40px; padding: 20px 24px; border-left: 3px solid var(--sec-label); border-radius: 0 var(--radius) var(--radius) 0; background: color-mix(in srgb, var(--color-primary) 7%, var(--sec-bg)); }
.team-aside .call-box-heading { font-family: var(--font-label); font-size: 0.6875rem; letter-spacing: 0.14em; color: var(--sec-muted); }
.team-aside .call-box-phone { color: var(--sec-ink); }
.team-aside .call-box-more { color: var(--sec-muted); font-size: 0.875rem; }
@media (min-width: 900px) { .team-aside { position: sticky; top: calc(73px + 32px); } }
@media (max-width: 899px) { .team-layout { grid-template-columns: 1fr; } }
.team-page .team-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; margin-top: 0; }
.team-card--full { gap: 0; border: 1px solid var(--sec-line); border-radius: var(--radius); overflow: hidden; background: color-mix(in srgb, var(--color-primary) 7%, var(--sec-bg)); }
.team-card--full .team-photo { border-radius: 0; }
.team-card--full .team-photo img { transition: none; }
.team-panel { display: flex; flex-direction: column; flex: 1; padding: 20px 20px 22px; }
.team-role { margin: 0 0 8px; font-family: var(--font-label); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.14em; color: var(--sec-label); }
html[data-labels='caps'] .team-role, html[data-labels='caps'] .team-more, html[data-labels='caps'] .team-card--full .team-license { text-transform: uppercase; }
.team-card--full .team-name { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 800; letter-spacing: -0.01em; }
.team-card--full .team-license { margin: 6px 0 0; font-family: var(--font-label); font-size: 0.6875rem; letter-spacing: 0.1em; color: var(--sec-muted); }
.team-card--full .team-contact { margin: 14px 0 0; gap: 6px; font-size: 0.9375rem; }
.team-card--full .team-contact a { color: var(--sec-ink); text-decoration: none; }
.team-card--full .team-contact a:hover { text-decoration: underline; }
.team-more { margin-top: auto; padding-top: 16px; font-family: var(--font-label); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em; color: var(--sec-label); text-decoration: none; }
.team-more:hover { text-decoration: underline; }

/* Member page, every client with a team page (design pass, Team, 2026-12-04;
   src/pages/team/[slug].astro). The side panel (details, Message, call box)
   stays in view beside the portrait and bio on wide screens. */
.member-main { padding-block: clamp(40px, 6vw, 80px) clamp(72px, 10vw, 144px); }
.member-layout { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
@media (min-width: 900px) { .member-aside { position: sticky; top: calc(73px + 44px + 32px); } }
@media (max-width: 899px) { .member-layout { grid-template-columns: 1fr; } }
.member-name { margin: 0; font-family: var(--font-heading); font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.025em; }
.member-role { margin: 12px 0 0; padding-bottom: 20px; border-bottom: 1px solid var(--sec-line); }
.member-page .member-contact { margin: 20px 0 0; gap: 10px; font-size: 1rem; }
.member-page .member-contact a { color: var(--sec-ink); text-decoration: none; }
.member-page .member-contact a:hover { text-decoration: underline; }
.member-page .member-links { margin: 14px 0 0; font-family: var(--font-label); font-size: 0.75rem; letter-spacing: 0.1em; }
html[data-labels='caps'] .member-page .member-links, html[data-labels='caps'] .member-license { text-transform: uppercase; }
.member-page .member-links a { color: var(--sec-label); text-decoration: none; }
.member-license { margin: 10px 0 0; font-family: var(--font-label); font-size: 0.6875rem; letter-spacing: 0.1em; color: var(--sec-muted); }
.member-actions { margin: 24px 0 0; }
.member-aside .call-box { margin-top: 32px; padding: 20px 24px; border-left: 3px solid var(--sec-label); border-radius: 0 var(--radius) var(--radius) 0; background: color-mix(in srgb, var(--color-primary) 7%, var(--sec-bg)); }
.member-aside .call-box-heading { font-family: var(--font-label); font-size: 0.6875rem; letter-spacing: 0.14em; color: var(--sec-muted); }
.member-aside .call-box-phone { color: var(--sec-ink); }
.member-aside .call-box-more { color: var(--sec-muted); font-size: 0.875rem; }
.member-portrait { aspect-ratio: 1; max-width: 500px; overflow: hidden; border-radius: var(--radius); background: var(--color-surface-alt); }
.member-portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.member-page .member-bio { max-width: 640px; margin-top: 32px; }
.member-page .member-bio .prose { max-width: none; font-size: 1.0625rem; line-height: 1.7; }

/* Contact page, every client (design pass, Contact, 2026-12-04; src/pages/contact.astro).
   Like the team page: the header in the client's words and the call box at the
   left, staying in view on wide screens; at the right the message form in a
   tinted panel, then "Ways to reach us" cards (pop-ups and Office locations).
   Drawn from the section colors; reuses the blog header and team card labels. */
.contact-page { padding-block: clamp(48px, 7vw, 96px) clamp(72px, 10vw, 144px); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: clamp(32px, 3vw, 56px); align-items: start; }
@media (min-width: 900px) { .contact-aside { position: sticky; top: calc(73px + 32px); } }
@media (max-width: 899px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-title { font-size: clamp(2.1rem, 3.6vw, 3rem); }
.contact-aside .call-box { margin-top: 40px; padding: 20px 24px; border-left: 3px solid var(--sec-label); border-radius: 0 var(--radius) var(--radius) 0; background: color-mix(in srgb, var(--color-primary) 7%, var(--sec-bg)); }
.contact-aside .call-box-heading { font-family: var(--font-label); font-size: 0.6875rem; letter-spacing: 0.14em; color: var(--sec-muted); }
.contact-aside .call-box-phone { color: var(--sec-ink); }
.contact-aside .call-box-more { color: var(--sec-muted); font-size: 0.875rem; }
.contact-email, .contact-address { margin: 16px 0 0; color: var(--sec-muted); font-size: 0.9375rem; }
.contact-email a { color: var(--sec-ink); }
/* Office locations, every client with offices (design pass, Office locations,
   2026-12-04, questions 87 to 92; src/pages/locations.astro). The bar under the
   menu, then the contact page's frame: header, numbered office list, call box and
   email at the left (in view on wide screens), the map alone at the right. */
.offices-main { padding-block: clamp(48px, 7vw, 96px) clamp(72px, 10vw, 144px); }
.offices-grid { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: clamp(32px, 3vw, 56px); align-items: start; }
@media (min-width: 900px) {
  .offices-aside, .offices-map-col { position: sticky; top: calc(73px + 44px + 32px); }
}
@media (max-width: 899px) { .offices-grid { grid-template-columns: 1fr; } }
.offices-title { font-size: clamp(2.1rem, 3.6vw, 3rem); }
.office-rows { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--sec-line); }
.office-row { display: grid; grid-template-columns: 40px minmax(0, 1fr); padding: 18px 0; border-bottom: 1px solid var(--sec-line); scroll-margin-top: calc(73px + 44px + 16px); }
.office-row-num { padding-top: 3px; font-family: var(--font-label); font-size: 0.6875rem; letter-spacing: 0.14em; color: var(--sec-label); }
.office-row-name { margin: 0 0 4px; font-family: var(--font-heading); font-size: 1.0625rem; font-weight: 800; color: var(--sec-ink); }
.office-row.is-active .office-row-name { color: var(--sec-label); }
.office-row-address { font-style: normal; color: var(--sec-muted); font-size: 0.9375rem; }
.office-row-contact { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 6px 0 0; font-size: 0.9375rem; color: var(--sec-muted); }
.office-row-contact a { color: var(--sec-ink); }
.office-row-links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 10px 0 0; }
.office-row-link { padding: 0; border: 0; background: none; font-family: var(--font-label); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.14em; color: var(--sec-label); text-decoration: none; cursor: pointer; }
html[data-labels='caps'] .office-row-link { text-transform: uppercase; }
.office-row-link:hover, .office-row-link:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.offices-aside .call-box { margin-top: 32px; padding: 20px 24px; border-left: 3px solid var(--sec-label); border-radius: 0 var(--radius) var(--radius) 0; background: color-mix(in srgb, var(--color-primary) 7%, var(--sec-bg)); }
.offices-aside .call-box-heading { font-family: var(--font-label); font-size: 0.6875rem; letter-spacing: 0.14em; color: var(--sec-muted); }
.offices-aside .call-box-phone { color: var(--sec-ink); }
.offices-aside .call-box-more { color: var(--sec-muted); font-size: 0.875rem; }
.offices-map { height: clamp(480px, calc(100vh - 73px - 44px - 64px), 720px); border: 1px solid var(--sec-line); border-radius: var(--radius); }
@media (max-width: 899px) { .offices-map { height: 420px; } }
.contact-panel { scroll-margin-top: calc(73px + 24px); padding: clamp(20px, 2.4vw, 32px); border: 1px solid var(--sec-line); border-radius: var(--radius); background: color-mix(in srgb, var(--color-primary) 7%, var(--sec-bg)); }
.contact-panel-title { margin: 0; font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; letter-spacing: -0.01em; }
.contact-panel-text { margin: 8px 0 0; color: var(--sec-muted); }
.contact-ways { margin: 48px 0 16px; font-family: var(--font-label); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.14em; color: var(--sec-muted); }
html[data-labels='caps'] .contact-ways { text-transform: uppercase; }
.contact-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.contact-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 560px) { .contact-cards { grid-template-columns: 1fr; } }
.contact-card { display: flex; flex-direction: column; padding: 20px 20px 22px; border: 1px solid var(--sec-line); border-radius: var(--radius); background: color-mix(in srgb, var(--color-primary) 7%, var(--sec-bg)); color: var(--sec-ink); text-decoration: none; transition: border-color 0.2s; }
.contact-card:hover, .contact-card:focus-visible { border-color: var(--sec-label); }
.contact-card:hover .team-more { text-decoration: underline; }
.contact-card-title { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 800; letter-spacing: -0.01em; }
.contact-card-text { margin-top: 8px; color: var(--sec-muted); font-size: 0.9375rem; line-height: 1.5; }
.contact-panel .lead-form { margin-top: 20px; }
