/* ════════════════════════════════════════════════════════════
   THE OUTLIER GROUP — stylesheet
   Structure: outliergroup.us · Brand Guidelines (Website Design Reference)
   Palette: monochrome only — White #FFFFFF · Ink Black #141414 · Secondary Gray #5A5752
   Type: Libre Caslon Display (headlines 24px+) · Libre Caslon Text (body, subheads)
         Libre Franklin (labels, navigation, buttons, footers)
   White by default · the theme toggle switches to the inverted black version
   ════════════════════════════════════════════════════════════ */

:root {
  --bg: #FFFFFF;
  --bg-2: #FFFFFF;
  --surface: #FFFFFF;
  --card: #FFFFFF;
  --line: #141414;
  --line-2: rgba(20, 20, 20, 0.16);
  --ink: #141414;
  --ink-2: #141414;
  --muted: #5A5752;
  --accent: #141414;
  --accent-2: #5A5752;
  --accent-dim: rgba(20, 20, 20, 0.06);
  --accent-glow: rgba(20, 20, 20, 0.16);
  --on-accent: #FFFFFF;
  --coral: #141414;
  --coral-dim: rgba(20, 20, 20, 0.05);
  --amber: #5A5752;
  --glass: rgba(255, 255, 255, 0.94);
  --logo-filter: none;
  --shadow: 0 18px 40px rgba(20, 20, 20, 0.08);
  --display: "Libre Caslon Display", Georgia, "Times New Roman", serif;
  --text: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --ui: "Libre Franklin", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body: var(--ui);
  --fs-page-title: clamp(40px, 5.2vw, 76px);
  --fs-section: clamp(32px, 3.8vw, 54px);
  --fs-subhead: clamp(23px, 2.1vw, 30px);
  --fs-body: 17px;
  --fs-label: 12px;
  --fs-btn: 13px;
  --space-section: clamp(88px, 11vw, 150px);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --radius: 14px;
  --radius-lg: 22px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #141414;
  --bg-2: #141414;
  --surface: #141414;
  --card: #141414;
  --line: rgba(255, 255, 255, 0.86);
  --line-2: rgba(255, 255, 255, 0.16);
  --ink: #FFFFFF;
  --ink-2: #FFFFFF;
  --muted: #B4B1AC;
  --accent: #FFFFFF;
  --accent-2: #B4B1AC;
  --accent-dim: rgba(255, 255, 255, 0.08);
  --accent-glow: rgba(255, 255, 255, 0.12);
  --on-accent: #141414;
  --coral: #FFFFFF;
  --coral-dim: rgba(255, 255, 255, 0.07);
  --amber: #B4B1AC;
  --glass: rgba(20, 20, 20, 0.94);
  --logo-filter: invert(1);
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--ink); font-family: var(--text); font-size: var(--fs-body); line-height: 1.5; font-weight: 400; overflow-x: hidden; transition: background .4s, color .4s; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--on-accent); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap.narrow { max-width: 880px; }
.wrap.mid { max-width: 1040px; }
.center { text-align: center; }
.section { padding-block: var(--space-section); }
.section.tight-top { padding-top: clamp(40px, 5vw, 72px); }
.section.alt { background: var(--bg-2); border-block: 1px solid var(--line-2); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
@media (max-width: 760px) { :root { --fs-body: 16px; } }
/* Libre Franklin: labels, navigation, buttons, tags, forms, meta and footers */
.btn, .nav a, .label, .kicker, .pill, .chip, .crumbs, .seg button, label, .input, .text-btn, .text-link, .card-type, .item-count, .person span, .agent span,
.band-stats span, .article-go, .card-view, .foot-links, .foot-legal, .insight-meta, .stepper, .portal-tabs a, .toast, .chat-fab, .form-msg, .fact-table th,
.contact-card span, .results-meta, .map-pop, .job-tags span, .job-meta dt, .back-link, .pf-toggle, .pf-summary { font-family: var(--ui); }

/* ── Type ── */
h1, h2 { font-family: var(--display); font-weight: 400; line-height: 1.08; letter-spacing: 0; text-wrap: balance; }
h3, h4 { font-family: var(--text); font-weight: 400; line-height: 1.15; text-wrap: balance; }
/* Brand sizing guide: Page Title 90–108px (→ 48px on phones) · Section Headline 64–84px · Subheading 38–44px */
.display-1, .page-head h1 { font-family: var(--display); font-size: var(--fs-page-title); font-weight: 400; line-height: 1.02; }
.display-2 { font-family: var(--display); font-size: var(--fs-section); font-weight: 400; line-height: 1.05; }
.display-3 { font-family: var(--text); font-size: var(--fs-subhead); font-weight: 400; line-height: 1.1; }
.lede { color: var(--muted); font-size: clamp(17px, 1.25vw, 19px); font-weight: 400; line-height: 1.6; max-width: 60ch; margin-top: 24px; }
.lede.center { margin-inline: auto; }
.kicker { display: inline-flex; align-items: center; gap: 12px; font-size: var(--fs-label); letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--ink); margin-bottom: 20px; }
.kicker::before { content: ""; width: 32px; height: 2px; background: currentColor; flex: none; }
.kicker svg { width: 14px; height: 14px; }
.kicker.coral { color: var(--coral); }
.label { font-size: var(--fs-label); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 700; }

/* ── Buttons (reference: thin pill + circled arrow) ── */
.btn { --b: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 24px; border-radius: 999px; border: 1px solid transparent; font-size: var(--fs-btn); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; white-space: nowrap; position: relative; overflow: hidden; isolation: isolate; transition: color .35s var(--ease), border-color .35s, transform .35s var(--ease), box-shadow .35s; }
.btn svg { width: 16px; height: 16px; transition: transform .35s var(--ease); flex: none; }
.btn:hover svg { transform: translateX(4px); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.btn:hover::before { transform: scaleX(1); }
.btn:active { transform: scale(.97); }
.btn.outline { border-color: var(--ink); color: var(--ink); }
.btn.outline::before { background: var(--ink); }
.btn.outline:hover { color: var(--bg); }
.btn.primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 10px 30px -10px var(--accent-glow); }
.btn.primary::before { background: var(--accent-2); }
.btn.primary:hover { box-shadow: 0 16px 40px -12px var(--accent-glow); transform: translateY(-2px); color: var(--on-accent); }
.btn.coral { background: var(--coral); color: var(--on-accent); }
.btn.coral::before { background: var(--accent-2); }
.btn.coral:hover { color: var(--on-accent); transform: translateY(-2px); }
.btn.coral-outline { border-color: var(--coral); color: var(--coral); }
.btn.coral-outline::before { background: var(--coral); }
.btn.coral-outline:hover { color: var(--bg); }
.btn.small { padding: 9px 18px; font-size: 12px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.circle-arrow { width: 22px; height: 22px; border: 1px solid currentColor; border-radius: 50%; display: inline-grid; place-items: center; flex: none; transition: transform .35s var(--ease); }
.circle-arrow svg { width: 12px; height: 12px; }
.btn:hover .circle-arrow { transform: rotate(-45deg); }
.btn:hover .circle-arrow svg { transform: none; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); display: inline-grid; place-items: center; color: var(--ink); transition: border-color .3s, background .3s, transform .3s var(--ease); flex: none; }
.icon-btn:hover { border-color: var(--accent); background: var(--accent-dim); transform: translateY(-1px); }
.icon-btn svg { width: 18px; height: 18px; }
.text-btn, .text-link { color: var(--ink); font-weight: 600; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.text-btn:hover, .text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ── Header (reference: wordmark · 2 links · OG monogram · 3 links · Call Us) ── */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 100; background: var(--glass); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.scrolled { border-bottom-color: var(--line-2); box-shadow: 0 10px 30px -18px rgba(20,20,20,.18); }
.header-row { display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: center; gap: 18px; height: 88px; transition: height .35s var(--ease); }
.site-header.scrolled .header-row { height: 70px; }
.logo-word { height: 58px; width: auto; max-width: none; filter: var(--logo-filter); transition: height .35s var(--ease); }
.site-header.scrolled .logo-word { height: 46px; }
.logo-mono { height: 38px; width: auto; max-width: none; filter: var(--logo-filter); }
.monogram { display: grid; place-items: center; transition: transform .5s var(--ease); }
.monogram:hover { transform: rotate(-6deg) scale(1.06); }
.nav { display: flex; gap: clamp(14px, 1.2vw, 16px); align-items: center; }
.nav-left { justify-content: flex-start; }
.nav-right { justify-content: flex-end; }
.nav a { white-space: nowrap; position: relative; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-block: 6px; transition: color .3s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav a:hover, .nav a.active { color: var(--ink); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; }
@media (max-width: 1320px) { .header-actions .hide-md { display: none; } .header-row { gap: 20px; } }
.menu-btn span { display: block; width: 18px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), opacity .2s; grid-area: 1 / 1; }
.menu-btn span:nth-child(1) { transform: translateY(-6px); } .menu-btn span:nth-child(3) { transform: translateY(6px); }
.menu-open .menu-btn span:nth-child(1) { transform: rotate(45deg); } .menu-open .menu-btn span:nth-child(2) { opacity: 0; } .menu-open .menu-btn span:nth-child(3) { transform: rotate(-45deg); }
.mobile-nav { display: none; }
@media (max-width: 1120px) {
  .header-row { grid-template-columns: auto 1fr auto; height: 74px; }
  .nav, .header-actions .hide-sm { display: none; }
  .monogram { justify-self: center; }
  .menu-btn { display: inline-grid; }
  .logo-word, .site-header.scrolled .logo-word { height: 46px; }
  .mobile-nav { display: grid; max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); padding-inline: var(--gutter); }
  .menu-open .mobile-nav { max-height: 640px; border-top: 1px solid var(--line-2); }
  .mobile-nav a { padding: 14px 0; border-bottom: 1px solid var(--line-2); font-family: var(--display); font-size: 1.35rem; }
  .mobile-nav .btn { margin-block: 18px 22px; border-bottom: 0; font-family: var(--ui); font-size: var(--fs-btn); }
}

/* ── Page transition + reveal ── */
.page-in { animation: pageIn .6s var(--ease) both; }
@keyframes pageIn { from { opacity: .001; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.rise { animation: rise .9s var(--ease) both; }
.rise.d1 { animation-delay: .12s; } .rise.d2 { animation-delay: .24s; }
@keyframes rise { from { opacity: .001; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.pop { animation: rise .6s var(--ease) both; animation-delay: var(--d, 0ms); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } }

/* ── Home hero ── */
.hero { position: relative; padding-block: clamp(96px, 13vw, 180px) clamp(80px, 10vw, 140px); overflow: hidden; }
.hero::before, .hero::after { content: none; position: absolute; border-radius: 50%; filter: blur(10px); pointer-events: none; }
.hero::before { width: 520px; height: 520px; left: -160px; top: -220px; background: radial-gradient(circle, var(--accent-glow), transparent 65%); opacity: .5; animation: drift 14s ease-in-out infinite alternate; }
.hero::after { width: 420px; height: 420px; right: -120px; bottom: -220px; background: radial-gradient(circle, rgba(20,20,20,0), transparent 65%); animation: drift 18s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(60px, 40px); } }
.hero .wrap { position: relative; z-index: 1; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 44px; }

/* ── Skyline band (parallax) ── */
.band { position: relative; overflow: hidden; min-height: clamp(360px, 44vw, 520px); display: grid; align-items: center; background: #141414; }
.band.short { min-height: clamp(260px, 32vw, 380px); }
.band-media { position: absolute; inset: -10% 0; background-size: cover; background-position: center; filter: grayscale(1) contrast(1.05); transform: scale(1.12); will-change: transform; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,20,20,.35), rgba(20,20,20,.78) 55%, rgba(20,20,20,.85)); }
.band.short::after { background: rgba(20,20,20,.6); }
.band-inner { position: relative; z-index: 1; display: grid; justify-items: end; gap: 34px; padding-block: 56px; }
.band-inner.center { justify-items: center; }
.band-text { font-family: var(--display); font-size: clamp(1.4rem, 2.3vw, 1.9rem); line-height: 1.4; color: #FFFFFF; max-width: 30ch; font-weight: 400; }
.band-stats { display: grid; grid-template-columns: repeat(4, auto); gap: clamp(20px, 4vw, 48px); color: #FFFFFF; }
.band-stats b { display: block; font-family: var(--display); font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1; font-weight: 400; font-variant-numeric: tabular-nums; }
.band-stats span { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.78); }
@media (max-width: 760px) { .band-inner { justify-items: start; } .band-stats { grid-template-columns: 1fr 1fr; } }

/* ── Articles (reference: 3 square photo cards) ── */
.article-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 36px; max-width: 900px; margin-inline: auto; }
.article { position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; background: #141414; color: #fff; max-width: 100%; }
.article img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.8); transition: transform 1s var(--ease), filter .6s; }
.article::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,20,20,.9) 5%, rgba(20,20,20,0) 65%); }
.article h3 { position: absolute; left: 18px; right: 18px; bottom: 44px; z-index: 1; font-size: 1.3rem; font-weight: 600; }
.article-go { position: absolute; left: 18px; bottom: 16px; z-index: 1; display: inline-flex; gap: 6px; align-items: center; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-2); opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s var(--ease); }
.article-go svg { width: 14px; height: 14px; }
.article:hover img { transform: scale(1.08); filter: grayscale(.2) brightness(.9); }
.article:hover .article-go { opacity: 1; transform: none; }
@media (max-width: 720px) { .article-row { grid-template-columns: 1fr; max-width: 420px; } }

/* ── Service tiles (reference: 5 across, labels on alternate tiles) ── */
.tile-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 36px; }
.tile { position: relative; aspect-ratio: 9 / 10; border-radius: var(--radius); overflow: hidden; background: #141414; max-width: 100%; }
.tile img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.62); transition: transform 1s var(--ease), filter .6s; }
.tile.photo img { filter: grayscale(1) brightness(.95); }
.tile span { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); color: #fff; font-size: clamp(1.1rem, 1.6vw, 1.5rem); letter-spacing: .2em; text-transform: uppercase; }
.tile::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(255,255,255,0); border-radius: 10px; transition: border-color .5s; }
.tile:hover img { transform: scale(1.08); filter: grayscale(0) brightness(.75); }
.tile:hover::after { border-color: rgba(255,255,255,.45); }
@media (max-width: 860px) { .tile-row { grid-template-columns: repeat(3, 1fr); } .tile.photo { display: none; } }
@media (max-width: 520px) { .tile-row { grid-template-columns: 1fr; } .tile { aspect-ratio: 16 / 9; } }

/* ── Section heads ── */
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.head-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

/* ── Property cards ── */
.listing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 32px; }
@media (max-width: 1000px) { .listing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .listing-grid { grid-template-columns: 1fr; } }
.carousel { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: thin; scrollbar-color: var(--accent) transparent; }
.carousel > * { scroll-snap-align: start; }
@media (max-width: 1000px) { .carousel { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (max-width: 640px) { .carousel { grid-auto-columns: 86%; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s; }
.card:hover { transform: translateY(-8px); border-color: var(--accent); box-shadow: var(--shadow), 0 0 0 1px var(--accent-dim); }
.card.off { border-color: var(--line); }
.card.off:hover { border-color: var(--coral); }
.card-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface); max-width: 100%; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.card:hover .card-media img { transform: scale(1.09); }
.card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,20,20,.72), rgba(20,20,20,0) 45%); opacity: 0; transition: opacity .5s; }
.card:hover .card-media::after { opacity: 1; }
.card-media .on-photo { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; gap: 6px; z-index: 2; }
.card-view { position: absolute; left: 16px; bottom: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; color: #fff; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; opacity: 0; transform: translateY(10px); transition: opacity .45s, transform .45s var(--ease); }
.card-view svg { width: 15px; height: 15px; }
.card:hover .card-view { opacity: 1; transform: none; }
.card-media.locked img { filter: blur(10px) grayscale(.5) brightness(.7); transform: scale(1.15); }
.card:hover .card-media.locked img { transform: scale(1.2); }
.lock-overlay { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: #fff; background: rgba(20,20,20,.42); z-index: 1; padding: 12px; }
.lock-overlay svg { width: 28px; height: 28px; margin: 0 auto 6px; }
.lock-overlay b { display: block; font-family: var(--text); font-size: 1.35rem; font-weight: 600; }
.lock-overlay small { font-size: .76rem; color: rgba(255,255,255,.78); }
.placeholder { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, var(--surface), var(--bg-2)); color: var(--muted); }
.placeholder svg { width: 44px; height: 44px; opacity: .6; }
.placeholder.big svg { width: 70px; height: 70px; }
.card-body { padding: 26px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.card-type { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-2); font-weight: 500; }
.card-title { font-size: 1.4rem; margin-top: 6px; }
.card-title a { background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .5s var(--ease); }
.card:hover .card-title a { background-size: 100% 1px; }
.card-loc { display: flex; gap: 6px; align-items: flex-start; color: var(--muted); font-size: .86rem; margin-top: 6px; }
.card-loc svg { width: 14px; height: 14px; flex: none; margin-top: 4px; color: var(--accent-2); }
.specs { margin-top: 14px; border-top: 1px solid var(--line-2); }
.specs div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line-2); font-size: .84rem; }
.specs dt { color: var(--muted); }
.specs dd { text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.card-foot { margin-top: auto; padding-top: 16px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.agent-mini { font-size: .8rem; color: var(--muted); }

/* ── Status pills ── */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: 11px; letter-spacing: .12em; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-transform: uppercase; font-weight: 700; line-height: 1.2; white-space: nowrap; backdrop-filter: blur(6px); }
.pill svg { width: 11px; height: 11px; }
.pill.s-available { background: #141414; color: #FFFFFF; border: 1px solid #141414; }
.pill.s-pending { background: #FFFFFF; color: #141414; border: 1px solid #141414; }
.pill.s-leased, .pill.s-sold { background: #FFFFFF; color: #5A5752; border: 1px solid #5A5752; }
.pill.s-past { background: rgba(20,20,20,.72); color: rgba(255,255,255,.82); border: 1px solid rgba(255,255,255,.3); }
.pill.s-off-market { background: #5A5752; color: #FFFFFF; border: 1px solid #5A5752; }
.pill.plain { background: rgba(20,20,20,.66); color: #FFFFFF; border: 1px solid rgba(255,255,255,.2); }
.pills .pill.plain, .match .pill.plain { background: var(--accent-dim); color: var(--accent-2); border-color: var(--line); backdrop-filter: none; }

/* ── Portal CTA ── */
.portal-cta { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; background: linear-gradient(135deg, var(--coral-dim), var(--card) 60%); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 56px); position: relative; overflow: hidden; }
.portal-cta::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; border: 1px solid var(--line); }
.portal-steps { display: grid; gap: 12px; position: relative; z-index: 1; }
.portal-steps li { display: flex; gap: 16px; align-items: center; padding: 16px 18px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--card); transition: transform .4s var(--ease), border-color .3s; }
.portal-steps li:hover { transform: translateX(6px); border-color: var(--coral); }
.portal-steps b { font-family: var(--display); font-size: 1.6rem; color: var(--coral); line-height: 1; min-width: 36px; }
@media (max-width: 860px) { .portal-cta { grid-template-columns: 1fr; } }

/* ── Brands ── */
.marquee { overflow: hidden; margin-top: 30px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.brand-track { display: flex; gap: 56px; align-items: center; width: max-content; animation: marquee 55s linear infinite; padding-block: 8px; }
.brand-track img { height: 46px; width: auto; filter: var(--logo-filter); opacity: .62; transition: opacity .3s, transform .3s var(--ease); }
.brand-track img:hover { opacity: 1; transform: scale(1.08); }
.marquee:hover .brand-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Team ── */
.team-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(180px, 1fr); gap: 16px; overflow-x: auto; margin-top: 36px; padding-bottom: 12px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--accent) transparent; }
.team-strip .person { scroll-snap-align: start; }
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px 28px; }
@media (max-width: 960px) { .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 620px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.person-img { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--surface); max-width: 100%; }
.person-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: transform .9s var(--ease), filter .6s; }
.person:hover .person-img img { transform: scale(1.06); filter: grayscale(0); }
.person figcaption { margin-top: 12px; }
.person b { display: block; font-family: var(--text); font-size: 1.15rem; font-weight: 600; line-height: 1.2; }
.person span { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-2); }

/* ── FAQ accordion ── */
.faq { margin-top: 36px; border-top: 1px solid var(--line-2); }
.faq-item { border-bottom: 1px solid var(--line-2); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 28px 4px; cursor: pointer; font-family: var(--text); font-size: clamp(1.05rem, 1.5vw, 1.2rem); font-weight: 400; transition: color .3s; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent-2); }
.faq-item summary i { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; flex: none; transition: transform .4s var(--ease), background .3s, border-color .3s; }
.faq-item summary i svg { width: 16px; height: 16px; }
.faq-item[open] summary i { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.faq-a { padding: 0 4px 24px; color: var(--ink-2); font-weight: 300; max-width: 70ch; animation: rise .5s var(--ease); }

/* ── Subscribe ── */
.subscribe-form { display: flex; gap: 10px; max-width: 520px; margin: 28px auto 0; }
.subscribe-form .input { flex: 1; border-radius: 999px; padding-inline: 22px; }
@media (max-width: 520px) { .subscribe-form { flex-direction: column; } }

/* ── Interior page head ── */
.page-head { position: relative; padding-block: clamp(80px, 10vw, 140px) clamp(32px, 4vw, 56px); overflow: hidden; }
.page-head::before { content: none; position: absolute; left: 50%; top: -260px; width: 700px; height: 520px; transform: translateX(-50%); background: radial-gradient(ellipse, var(--accent-glow), transparent 65%); opacity: .35; pointer-events: none; }
.page-head .wrap { position: relative; }
.crumbs { display: flex; gap: 8px; justify-content: inherit; flex-wrap: wrap; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.page-head .crumbs { justify-content: center; }
.crumbs a { color: var(--accent-2); }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ── Sector / service items (reference: title, text, circled arrow) ── */
.item-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 52px; }
.item { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px 26px 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); overflow: hidden; transition: transform .5s var(--ease), border-color .4s, box-shadow .5s; }
.item::before { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, var(--accent-dim), transparent 60%); opacity: 0; transition: opacity .5s; }
.item:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: var(--shadow); }
.item:hover::before { opacity: 1; }
.item h3 { position: relative; font-size: 1.45rem; }
.item p { position: relative; color: var(--ink-2); font-weight: 300; font-size: .95rem; }
.item-count { position: relative; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-2); }
.item .circle-arrow { position: relative; margin-top: auto; width: 38px; height: 38px; color: var(--ink); }
.item .circle-arrow svg { width: 16px; height: 16px; }
.item:hover .circle-arrow { transform: rotate(-45deg); background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
@media (max-width: 900px) { .item-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 580px) { .item-grid { grid-template-columns: 1fr; } }

.needs { padding-block: clamp(72px, 9vw, 120px); border-top: 1px solid var(--line-2); }
.needs-row { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.needs-row h2 { max-width: 18ch; }

/* ── Why Outlier ── */
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.value-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 36px; }
.value { padding: 28px 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); transition: transform .5s var(--ease), border-color .4s; }
.value:hover { transform: translateY(-6px); border-color: var(--accent); }
.value-no { font-family: var(--text); font-size: 1.1rem; color: var(--accent-2); }
.value h3 { font-size: 1.4rem; margin: 10px 0 12px; }
.value p { color: var(--ink-2); font-weight: 300; font-size: .95rem; }
@media (max-width: 900px) { .value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 580px) { .value-grid { grid-template-columns: 1fr; } }
.two-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.cta-card { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; padding: clamp(32px, 4.5vw, 56px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); }
@media (max-width: 760px) { .two-cta { grid-template-columns: 1fr; } }

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-cards { display: grid; gap: 12px; }
.contact-card { padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); transition: transform .4s var(--ease), border-color .3s; }
.contact-card:hover { transform: translateX(6px); border-color: var(--accent); }
.contact-card span { display: block; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.contact-card b { font-family: var(--text); font-size: 1.2rem; font-weight: 600; user-select: all; }

/* ── Forms ── */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3.2vw, 36px); }
.panel h3 { font-size: 1.35rem; margin-bottom: 20px; }
.form-grid { display: grid; gap: 18px; }
.form-grid .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 540px) { .form-grid .row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.input, select.input, textarea.input { width: 100%; padding: 12px 15px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg); color: var(--ink); font-size: .95rem; transition: border-color .3s, box-shadow .3s; outline: none; }
textarea.input { min-height: 110px; resize: vertical; }
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-dim); }
.form-msg { font-size: .9rem; padding: 12px 14px; border-radius: 10px; text-align: center; margin-top: 12px; }
.form-grid .form-msg { margin-top: 0; }
.form-msg.ok { background: var(--accent-dim); color: var(--accent-2); }
.form-msg.err { background: var(--coral-dim); color: var(--coral); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--ink-2); }
.check input { margin-top: 4px; width: 16px; height: 16px; accent-color: var(--accent); flex: none; }
.link { color: var(--accent-2); font-weight: 500; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ── Portfolio ── */
.filter-panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; margin-bottom: 22px; }
.toolbar { display: grid; grid-template-columns: 2fr repeat(4, minmax(0, 1fr)) auto; gap: 12px; align-items: end; }
@media (max-width: 1080px) { .toolbar { grid-template-columns: repeat(2, minmax(0, 1fr)); } .toolbar .grow { grid-column: 1 / -1; } }
.seg { display: inline-flex; padding: 3px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--bg); }
.seg button { padding: 8px 16px; border-radius: 999px; font-size: .82rem; color: var(--muted); transition: background .3s, color .3s; }
.seg button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.chip { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .84rem; color: var(--ink-2); transition: all .3s var(--ease); }
.chip b { font-weight: 500; margin-left: 6px; color: var(--muted); font-variant-numeric: tabular-nums; }
.chip:hover { border-color: var(--accent); color: var(--ink); transform: translateY(-1px); }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.chip[aria-pressed="true"] b { color: var(--on-accent); opacity: .8; }
.results-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; color: var(--muted); }
.results-meta b { color: var(--ink); font-family: var(--display); font-size: 1.5rem; }
.empty { padding: 60px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius-lg); }

/* ── Maps ── */
.map { height: 520px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface); position: relative; z-index: 0; }
.map.small { height: 320px; }
.map-note { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 10px; font-size: .84rem; color: var(--muted); }
.og-pin { width: 18px; height: 18px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #141414; border: 2px solid #FFFFFF; box-shadow: 0 4px 12px rgba(0,0,0,.35); animation: pinDrop .6s var(--ease) both; }
.og-pin.leased, .og-pin.sold, .og-pin.past { background: #5A5752; } .og-pin.pending { background: #FFFFFF; border-color: #141414; }
:root[data-theme="dark"] .og-pin { background: #FFFFFF; border-color: #141414; } :root[data-theme="dark"] .og-pin.leased, :root[data-theme="dark"] .og-pin.sold, :root[data-theme="dark"] .og-pin.past { background: #B4B1AC; } :root[data-theme="dark"] .og-pin.pending { background: #141414; border-color: #FFFFFF; }
@keyframes pinDrop { from { transform: translateY(-16px) rotate(-45deg); opacity: 0; } to { transform: rotate(-45deg); opacity: 1; } }
.map-pop { min-width: 190px; font-family: var(--body); }
.map-pop img { width: 100%; height: 100px; object-fit: cover; border-radius: 8px; margin-bottom: 8px; }
.map-pop b { display: block; font-family: var(--text); font-size: 1.1rem; }
.map-pop span { display: block; font-size: .78rem; color: var(--muted); margin: 2px 0 6px; }
.map-pop a { color: var(--ink); font-weight: 600; font-size: .84rem; text-decoration: underline; text-underline-offset: 3px; }

/* ── Property page ── */
.prop { padding-top: clamp(28px, 4vw, 44px); }
.prop .crumbs { justify-content: flex-start; }
.prop-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.pills { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.addr { display: flex; gap: 8px; align-items: flex-start; color: var(--ink-2); margin-top: 12px; }
.addr svg { width: 16px; height: 16px; margin-top: 5px; color: var(--accent-2); flex: none; }
.headline { color: var(--muted); margin-top: 6px; }
.gallery { display: grid; gap: 12px; margin-top: 30px; }
.gallery-main { position: relative; aspect-ratio: 16 / 7.5; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); max-width: 100%; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .16s, transform 1.2s var(--ease); }
.gallery-main:hover img { transform: scale(1.03); }
.gallery-main img.swap { opacity: 0; }
.gallery-main.locked img { filter: blur(20px) grayscale(.5) brightness(.65); transform: scale(1.15); }
.thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.thumb { aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; opacity: .55; border: 1px solid transparent; transition: opacity .3s, border-color .3s, transform .3s var(--ease); max-width: 100%; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { opacity: .9; transform: translateY(-2px); }
.thumb[aria-current="true"] { opacity: 1; border-color: var(--accent); }
@media (max-width: 700px) { .gallery-main { aspect-ratio: 4 / 3; } .thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.prop-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 72px); margin-top: 56px; align-items: start; }
@media (max-width: 960px) { .prop-layout { grid-template-columns: 1fr; } }
.key-specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.key-specs div { padding: 22px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.key-specs dt { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.key-specs dd { font-family: var(--text); font-size: 1.2rem; font-weight: 600; line-height: 1.15; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .key-specs { grid-template-columns: 1fr; } }
.prop-block { margin-top: 64px; }
.prop-block h2 { font-size: clamp(1.45rem, 2vw, 1.75rem); margin-bottom: 22px; }
.prop-block p { color: var(--ink-2); font-weight: 400; font-size: 1rem; line-height: 1.7; max-width: 68ch; margin-bottom: 16px; }
.highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; }
.highlights li { position: relative; padding-left: 22px; color: var(--ink-2); }
.highlights li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--accent); }
@media (max-width: 600px) { .highlights { grid-template-columns: 1fr; } }
.fact-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.fact-table th, .fact-table td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.fact-table th { font-weight: 400; color: var(--muted); width: 45%; padding-right: 16px; }
.fact-table td { font-weight: 500; font-variant-numeric: tabular-nums; }
.fact-table tr { transition: background .3s; }
.fact-table tr:hover { background: var(--accent-dim); }
.side { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 92px); display: grid; gap: 16px; }
@media (max-width: 960px) { .side { position: static; } }
.agent { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.agent img, .agent .avatar { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; filter: grayscale(1); background: var(--surface); flex: none; border: 2px solid var(--line); }
.agent b { display: block; font-family: var(--text); font-size: 1.3rem; }
.agent span { display: block; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2); }
.contact-lines { display: grid; gap: 8px; margin-bottom: 18px; font-size: .9rem; }
.contact-lines div { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding-bottom: 8px; border-bottom: 1px solid var(--line-2); }
.contact-lines span { color: var(--muted); }
.contact-lines b { font-weight: 500; user-select: all; }
.gate { position: relative; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; background: linear-gradient(150deg, var(--coral-dim), var(--card) 70%); overflow: hidden; }
.gate-icon { width: 46px; height: 46px; border-radius: 50%; background: var(--coral); color: var(--on-accent); display: grid; place-items: center; }
.gate-icon svg { width: 22px; height: 22px; }
.gate h3 { font-size: 1.7rem; margin: 14px 0 8px; }
.gate p { color: var(--ink-2); font-size: .92rem; margin-bottom: 12px; }
.gate ol { list-style: decimal; padding-left: 20px; display: grid; gap: 6px; color: var(--ink-2); font-size: .9rem; margin-bottom: 18px; }
.redacted { display: inline-block; background: var(--muted); color: transparent; border-radius: 4px; filter: blur(3px); user-select: none; line-height: 1.1; }
.related { margin-top: 120px; }

/* ── Portal ── */
.stepper { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.stepper li { display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border: 1px solid var(--line-2); border-radius: 999px; font-size: .86rem; color: var(--muted); transition: all .4s var(--ease); }
.stepper b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); font-size: .78rem; font-weight: 500; }
.stepper li.on { color: var(--ink); border-color: var(--accent); background: var(--accent-dim); }
.stepper li.on b { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.portal-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 28px; align-items: start; }
@media (max-width: 960px) { .portal-grid { grid-template-columns: 1fr; } }
.wizard { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; }
@media (max-width: 760px) { .wizard { grid-template-columns: 1fr; } }
.profiles { display: grid; gap: 10px; }
.profile { text-align: left; padding: 14px 16px; border-radius: var(--radius); border: 1px solid var(--line-2); background: var(--bg); display: grid; gap: 2px; transition: all .35s var(--ease); }
.profile:hover { border-color: var(--accent); transform: translateX(3px); }
.profile b { font-family: var(--text); font-size: 1.25rem; font-weight: 600; }
.profile span { font-size: .8rem; color: var(--muted); }
.profile[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.profile[aria-pressed="true"] span { color: var(--on-accent); opacity: .85; }
.req-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 20px; }
@media (max-width: 520px) { .req-grid { grid-template-columns: 1fr; } }
.match { display: grid; grid-template-columns: 170px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); transition: transform .45s var(--ease), border-color .3s, box-shadow .45s; }
.match + .match { margin-top: 12px; }
.match:hover { transform: translateY(-4px); border-color: var(--coral); box-shadow: var(--shadow); }
.match .card-media { border-radius: 12px; }
.match h3 { font-size: 1.5rem; }
.match .specs { margin-top: 8px; }
.score { --s: 50; width: 76px; height: 76px; border-radius: 50%; display: grid; align-content: center; justify-items: center; text-align: center; background: radial-gradient(closest-side, var(--surface) 78%, transparent 80% 100%), conic-gradient(var(--accent) calc(var(--s) * 1%), var(--line-2) 0); }
.score b { display: block; font-family: var(--text); font-size: 1.35rem; line-height: 1; }
.score span { display: block; font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
@media (max-width: 640px) { .match { grid-template-columns: 1fr; } }
.stat-list { display: grid; gap: 8px; }
.stat-row { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; padding-bottom: 8px; border-bottom: 1px solid var(--line-2); }
.stat-row span { color: var(--muted); }
.stat-row b { font-family: var(--text); font-size: 1.15rem; color: var(--accent-2); }

/* ── Modals & NDA ── */
.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 16px; background: rgba(20,20,20,.66); backdrop-filter: blur(8px); animation: fadeIn .3s ease both; }
@keyframes fadeIn { from { opacity: 0; } }
.modal-box { width: min(880px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 40px 100px rgba(0,0,0,.5); display: flex; flex-direction: column; animation: rise .5s var(--ease) both; }
.modal-box.narrow { width: min(540px, 100%); }
.modal-head { position: sticky; top: 0; z-index: 2; background: var(--bg); display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 22px 26px 16px; border-bottom: 1px solid var(--line-2); }
.modal-head h2 { font-size: 1.9rem; }
.modal-head p { color: var(--muted); font-size: .88rem; margin-top: 4px; }
.modal-body { padding: 22px 26px; }
.modal-body > p { margin-bottom: 12px; }
.modal-foot { position: sticky; bottom: 0; background: var(--bg); padding: 16px 26px 22px; border-top: 1px solid var(--line-2); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.nda-steps { display: flex; gap: 6px; padding: 14px 26px 0; }
.nda-steps span { flex: 1; height: 3px; border-radius: 2px; background: var(--line-2); transition: background .4s; }
.nda-steps span.on { background: var(--accent); }
.nda-doc { background: #fff; color: #141414; border-radius: 12px; height: min(52vh, 480px); overflow: auto; padding: 34px clamp(18px, 4vw, 48px); font-family: Georgia, "Times New Roman", serif; font-size: .95rem; line-height: 1.6; }
.nda-doc h2 { font-family: Georgia, serif; font-size: 1.2rem; text-align: center; margin-bottom: 18px; }
.nda-doc h3 { font-family: Georgia, serif; font-size: 1rem; margin: 22px 0 8px; }
.nda-doc p { margin-bottom: 10px; }
.nda-doc ol { list-style: lower-alpha; padding-left: 22px; margin-bottom: 10px; }
.nda-doc .blank { display: inline-block; min-width: 160px; border-bottom: 1px solid #141414; padding: 0 6px; color: #141414; font-family: var(--ui); font-weight: 500; }
.nda-doc .ref { font-family: var(--ui); font-size: .8rem; color: #5A5752; border: 1px solid rgba(20,20,20,.16); border-radius: 6px; padding: 10px 12px; margin-bottom: 20px; }
.scroll-hint { font-size: .84rem; color: var(--muted); }
.sig-wrap { position: relative; background: #fff; border: 1px dashed #5A5752; border-radius: 10px; touch-action: none; }
.sig-wrap canvas { width: 100%; height: 170px; display: block; cursor: crosshair; }
.sig-line { position: absolute; left: 22px; right: 22px; bottom: 38px; border-bottom: 1px solid rgba(20,20,20,.3); pointer-events: none; }
.sig-x { position: absolute; left: 24px; bottom: 42px; color: #5A5752; font-size: 1.1rem; pointer-events: none; }
.sig-tools { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.typed-sig { font-family: "Mrs Saint Delafield", "Brush Script MT", cursive; font-size: 2.6rem; color: #141414; }
.summary-list { display: grid; margin: 16px 0; border-top: 1px solid var(--line-2); }
.summary-list div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-2); font-size: .92rem; flex-wrap: wrap; }
.summary-list span { color: var(--muted); }
.done-mark { width: 60px; height: 60px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; margin-bottom: 16px; animation: popIn .6s var(--ease) both; }
.done-mark svg { width: 28px; height: 28px; }
@keyframes popIn { from { transform: scale(.4); opacity: 0; } }

/* ── Footer (reference: brand · Call/Email buttons · links) ── */
.site-footer { border-top: 1px solid var(--line-2); padding-block: clamp(72px, 9vw, 112px) 48px; background: var(--bg-2); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; align-items: start; }
.foot-tag { font-family: var(--display); font-size: 1.6rem; font-weight: 400; margin: 14px 0 6px; }
.foot-brand .muted { max-width: 34ch; font-size: .92rem; }
.foot-phone { font-size: 1.1rem; margin-top: 14px; letter-spacing: .04em; }
.socials { display: flex; gap: 8px; margin-top: 16px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: all .3s var(--ease); }
.socials a:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); transform: translateY(-3px); }
.socials svg { width: 15px; height: 15px; fill: currentColor; }
.foot-mid { display: grid; justify-items: center; gap: 12px; text-align: center; }
.foot-mid .btn { min-width: 160px; }
.foot-legal { font-size: .8rem; color: var(--muted); margin-top: 10px; line-height: 1.8; }
.foot-legal a { text-decoration: underline; text-underline-offset: 3px; }
.foot-links { display: grid; justify-items: end; gap: 8px; }
.foot-links a { color: var(--ink-2); font-size: .92rem; letter-spacing: .04em; transition: color .3s, transform .3s var(--ease); }
.foot-links a:hover { color: var(--accent-2); transform: translateX(-4px); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr; text-align: left; } .foot-mid { justify-items: start; text-align: left; } .foot-links { justify-items: start; } }

.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--accent); color: var(--on-accent); padding: 12px 20px; border-radius: 999px; z-index: 400; }

/* ── Leaflet core (inlined) ── */
.leaflet-pane, .leaflet-tile, .leaflet-marker-icon, .leaflet-marker-shadow, .leaflet-tile-container, .leaflet-pane > svg, .leaflet-pane > canvas, .leaflet-zoom-box, .leaflet-image-layer, .leaflet-layer { position: absolute; left: 0; top: 0; }
.leaflet-container { overflow: hidden; background: var(--surface); font-family: var(--body); -webkit-tap-highlight-color: transparent; }
.leaflet-tile, .leaflet-marker-icon, .leaflet-marker-shadow { user-select: none; -webkit-user-drag: none; }
.leaflet-container img.leaflet-tile, .leaflet-container .leaflet-marker-icon { max-width: none !important; max-height: none !important; }
.leaflet-tile { filter: inherit; visibility: hidden; } .leaflet-tile-loaded { visibility: inherit; }
.leaflet-zoom-animated { transform-origin: 0 0; }
.leaflet-zoom-anim .leaflet-zoom-animated { transition: transform .25s cubic-bezier(0,0,.25,1); }
.leaflet-zoom-anim .leaflet-zoom-hide { visibility: hidden; }
.leaflet-container.leaflet-touch-zoom { touch-action: pan-x pan-y; }
.leaflet-container.leaflet-touch-drag { touch-action: none; touch-action: pinch-zoom; }
.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom { touch-action: none; }
.leaflet-container img, .leaflet-container svg { max-width: none !important; max-height: none !important; }
.leaflet-interactive { cursor: pointer; }
.leaflet-fade-anim .leaflet-popup { opacity: 0; transition: opacity .2s linear; } .leaflet-fade-anim .leaflet-map-pane .leaflet-popup { opacity: 1; }
/* Black-and-white map: OpenStreetMap tiles in grayscale (inverted in dark mode) */
.leaflet-tile-pane { filter: grayscale(1) contrast(1.04); }
:root[data-theme="dark"] .leaflet-tile-pane { filter: grayscale(1) invert(1) contrast(.9) brightness(.92); }
.leaflet-pane { z-index: 400; } .leaflet-tile-pane { z-index: 200; } .leaflet-overlay-pane { z-index: 400; } .leaflet-marker-pane { z-index: 600; } .leaflet-tooltip-pane { z-index: 650; } .leaflet-popup-pane { z-index: 700; }
.leaflet-control { position: relative; z-index: 800; pointer-events: auto; float: left; clear: both; }
.leaflet-top, .leaflet-bottom { position: absolute; z-index: 1000; pointer-events: none; }
.leaflet-top { top: 0; } .leaflet-right { right: 0; } .leaflet-bottom { bottom: 0; } .leaflet-left { left: 0; }
.leaflet-right .leaflet-control { float: right; margin-right: 10px; } .leaflet-top .leaflet-control { margin-top: 10px; } .leaflet-bottom .leaflet-control { margin-bottom: 10px; } .leaflet-left .leaflet-control { margin-left: 10px; }
.leaflet-bar { border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.leaflet-bar a { display: block; width: 34px; height: 34px; line-height: 34px; text-align: center; font-size: 18px; background: var(--bg); color: var(--ink); border-bottom: 1px solid var(--line-2); }
.leaflet-bar a:last-child { border-bottom: 0; }
.leaflet-control-attribution { background: var(--glass); margin: 0 !important; padding: 0 6px; font-size: 10px; color: var(--muted); }
.leaflet-control-attribution a { color: var(--muted); text-decoration: underline; }
.leaflet-popup { position: absolute; text-align: center; margin-bottom: 20px; }
.leaflet-popup-content-wrapper { padding: 1px; text-align: left; border-radius: 12px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.leaflet-popup-content { margin: 12px 14px; line-height: 1.35; }
.leaflet-popup-tip-container { width: 40px; height: 20px; position: absolute; left: 50%; margin-top: -1px; margin-left: -20px; overflow: hidden; pointer-events: none; }
.leaflet-popup-tip { width: 17px; height: 17px; padding: 1px; margin: -10px auto 0; transform: rotate(45deg); background: var(--surface); }
.leaflet-container a.leaflet-popup-close-button { position: absolute; top: 0; right: 0; width: 24px; height: 24px; font: 16px/24px Tahoma, Verdana, sans-serif; color: var(--muted); text-align: center; }
.leaflet-div-icon { background: transparent; border: 0; }
.leaflet-grab { cursor: grab; } .leaflet-dragging .leaflet-grab { cursor: grabbing; }

/* ════════════════════════════════════════════════════════════
   v4 — Analytics dashboard · Market Insights · Off-market approval · Assistant
   ════════════════════════════════════════════════════════════ */
:root { --c1: #141414; --c2: #5A5752; --c3: #A3A09B; --c4: #D6D4D0; --viz-track: rgba(20, 20, 20, 0.07); --viz-grid: rgba(20, 20, 20, 0.08); }
:root[data-theme="dark"] { --c1: #FFFFFF; --c2: #B4B1AC; --c3: #7A7772; --c4: #4A4845; --viz-track: rgba(255, 255, 255, 0.1); --viz-grid: rgba(255, 255, 255, 0.1); }

/* Tooltip */
.viz-tip { position: fixed; z-index: 400; pointer-events: none; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 8px 11px; font-size: .82rem; line-height: 1.4; box-shadow: var(--shadow); max-width: 240px; }
.viz-tip b { font-weight: 600; }
.viz-empty { color: var(--muted); font-size: .9rem; padding: 18px 0; margin: 0; }

/* Horizontal bars */
.hbars { display: grid; gap: 10px; }
.hbar { display: grid; grid-template-columns: minmax(90px, 36%) minmax(0, 1fr) 44px; gap: 12px; align-items: center; font-size: .88rem; padding: 3px 0; border-radius: 6px; outline: none; cursor: default; }
.hbar:hover .hbar-fill, .hbar:focus-visible .hbar-fill { filter: brightness(1.15); }
.hbar:focus-visible { box-shadow: 0 0 0 2px var(--accent-glow); }
.hbar-label { color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hbar-track { height: 10px; background: var(--viz-track); border-radius: 0 4px 4px 0; overflow: hidden; }
.hbar-fill { display: block; height: 100%; width: var(--w); background: var(--c1); border-radius: 0 4px 4px 0; transform-origin: left; animation: growX .8s var(--ease) both; }
.hbar-val { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 500; }
@keyframes growX { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Donut */
.donut-wrap { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 22px; align-items: center; }
.donut { width: 150px; height: 150px; overflow: visible; }
.donut-seg { transition: stroke-width .25s var(--ease), opacity .25s; cursor: default; outline: none; }
.donut-seg:hover, .donut-seg:focus-visible { stroke-width: 22; }
.donut-num { font: 600 24px var(--body); fill: var(--ink); }
.donut-cap { font: 400 10px var(--body); fill: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: .88rem; }
.legend li { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: 10px; align-items: center; color: var(--ink-2); }
.legend i { width: 12px; height: 12px; border-radius: 3px; }
.legend b { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.legend.row { grid-auto-flow: column; justify-content: start; gap: 24px; margin-top: 14px; }
.legend.row li { grid-template-columns: 12px auto auto; }

/* Columns (trend) */
.cols { width: 100%; height: auto; display: block; }
.cols .grid { stroke: var(--viz-grid); stroke-width: 1; }
.cols .axis { stroke: var(--line-2); stroke-width: 1; }
.cols .tick { fill: var(--muted); font: 10px var(--body); }
.cols .val { fill: var(--ink); font: 500 11px var(--body); }
.cols .col { fill: var(--c1); transition: filter .2s; }
.cols g:hover .col { filter: brightness(1.2); }
.cols rect:focus-visible { outline: none; stroke: var(--accent-glow); }

/* Split bar */
.split-bar { display: flex; gap: 2px; height: 14px; border-radius: 4px; overflow: hidden; background: var(--viz-track); }
.split-bar span { display: block; height: 100%; min-width: 0; transition: width .6s var(--ease), filter .2s; outline: none; }
.split-bar span:hover, .split-bar span:focus-visible { filter: brightness(1.15); }

/* Portal dashboard */
.portal-filters { margin-top: 26px; padding: 24px; }
.pf-row { margin-bottom: 18px; }
.pf-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 18px; }
.pf-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.wrap-seg { flex-wrap: wrap; }
select.input { min-height: 0; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 38px; cursor: pointer; }
.match-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin: 44px 0 18px; flex-wrap: wrap; }
.match-head h2 { margin: 4px 0 0; }
#kMatch { color: var(--accent-2); font-variant-numeric: tabular-nums; }
.muted-serif { color: var(--muted); font-style: italic; font-weight: 400; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.kpi { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); transition: transform .4s var(--ease), border-color .3s; }
.kpi:hover { transform: translateY(-3px); border-color: var(--accent-glow); }
.kpi b { font: 400 clamp(1.6rem, 2.6vw, 2.2rem)/1.1 var(--display); color: var(--ink); font-variant-numeric: tabular-nums; }
.kpi small { color: var(--muted); font-size: .82rem; }
.viz-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.viz { padding: 22px 24px; min-width: 0; }
.viz-head { display: flex; justify-content: space-between; align-items: start; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.viz-head h3 { margin: 0 0 2px; font: 500 1.05rem var(--body); letter-spacing: .01em; }
.on-market-list { display: grid; gap: 6px; margin-top: 18px; }
.on-market-list:empty { display: none; }
.on-market-list a:not(.text-btn) { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line-2); font-size: .88rem; transition: border-color .3s, background .3s; }
.on-market-list a:not(.text-btn):hover { border-color: var(--accent); background: var(--accent-dim); }
.on-market-list small { color: var(--muted); white-space: nowrap; }
.activity { margin-top: 16px; }
.act-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 26px 32px; }
.act-grid > div:first-child { grid-row: span 3; }
.act-grid .label, .recent .label { margin-bottom: 10px; display: block; }
.recent { margin-top: 26px; }
.table-scroll { overflow-x: auto; }
.recent-table { min-width: 520px; font-size: .88rem; }
.recent-table th { text-align: left; font-weight: 500; color: var(--muted); }
.results-head { margin: 52px 0 6px; }
.results-head h2 { margin: 6px 0; }
@media (max-width: 1000px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .viz-grid, .act-grid { grid-template-columns: 1fr; } .act-grid > div:first-child { grid-row: auto; } }
@media (max-width: 720px) { .pf-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .pf-grid, .kpis { grid-template-columns: 1fr; } .donut-wrap { grid-template-columns: 1fr; justify-items: center; } .legend { width: 100%; } .portal-filters, .viz { padding: 18px; } .hbar { grid-template-columns: 34% minmax(0, 1fr) 36px; } }

/* Market Insights */
.insight-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 32px; margin-top: 40px; }
.insight-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); overflow: hidden; transition: transform .5s var(--ease), border-color .3s, box-shadow .5s var(--ease); }
.insight-card:hover { transform: translateY(-6px); border-color: var(--accent-glow); box-shadow: var(--shadow); }
.insight-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-2); }
.insight-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.insight-card:hover .insight-img img { transform: scale(1.06); }
.insight-img .pill { position: absolute; left: 14px; top: 14px; background: var(--glass); color: var(--ink); border-color: var(--line-2); backdrop-filter: blur(8px); }
.insight-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; flex: 1; }
.insight-body h3 { font: 500 1.35rem/1.2 var(--text); margin: 0; }
.insight-meta { color: var(--muted); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; margin: 0; }
.insight-go { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 8px; color: var(--accent-2); font-size: .88rem; font-weight: 500; }
.insight-go svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.insight-card:hover .insight-go svg { transform: translateX(4px); }
.featured-insight .insight-card.big { display: grid; grid-template-columns: 1.25fr 1fr; }
.featured-insight .insight-card.big .insight-img { aspect-ratio: auto; min-height: 340px; }
.featured-insight .insight-card.big .insight-body { padding: 36px; justify-content: center; }
.featured-insight .insight-card.big h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.insight-tools { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 34px; flex-wrap: wrap; }
.insight-tools .field { min-width: 240px; flex: 0 1 320px; }
.insight-tools .input { border-radius: 999px; }
@media (max-width: 1000px) { .insight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .featured-insight .insight-card.big { grid-template-columns: 1fr; } .featured-insight .insight-card.big .insight-img { min-height: 0; aspect-ratio: 16 / 9; } }
@media (max-width: 640px) { .insight-grid { grid-template-columns: 1fr; } .featured-insight .insight-card.big .insight-body { padding: 22px; } .insight-tools .field { flex: 1 1 100%; } }

/* Article page */
.article-hero { position: relative; padding: clamp(120px, 16vw, 190px) 0 48px; overflow: hidden; isolation: isolate; }
.article-hero-img { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: -2; transform: scale(1.04); animation: heroZoom 14s var(--ease) both; }
.article-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,20,20, .55) 0%, rgba(20,20,20, .78) 55%, var(--bg) 100%); }
.article-hero h1 { margin: 16px 0 12px; color: #FFFFFF; }
.article-hero .insight-meta, .article-hero .crumbs, .article-hero .crumbs a { color: rgba(255,255,255,.82); }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1.02); } }
.article-body { padding-top: 32px; font-size: 1.06rem; line-height: 1.8; color: var(--ink-2); }
.article-body > * + * { margin-top: 1.4em; }
.article-body h2 { font: 400 clamp(1.45rem, 2vw, 1.8rem)/1.25 var(--display); color: var(--ink); margin-top: 2.2em; }
.article-body p { margin-bottom: 0; }
.article-body a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }
.article-body blockquote { margin: 1.6em 0; padding: 6px 0 6px 24px; border-left: 3px solid var(--accent); font: italic 400 1.35rem/1.5 var(--text); color: var(--ink); }
.article-body figure { margin: 1.8em 0; }
.article-body figure img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line-2); }
.article-body ul, .article-body ol { padding-left: 1.3em; display: grid; gap: .45em; }
.article-body li::marker { color: var(--accent-2); }
.article-foot { padding: 40px 0 10px; display: grid; gap: 22px; }
.author-card { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); flex-wrap: wrap; }
.author-card .logo-mono { width: 52px; height: auto; filter: var(--logo-filter); }
.author-card div { display: flex; flex-direction: column; flex: 1; min-width: 180px; }
.author-card span { color: var(--muted); font-size: .88rem; }
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.article-nav a { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border: 1px solid var(--line-2); border-radius: var(--radius); transition: border-color .3s, transform .4s var(--ease); }
.article-nav a:hover { border-color: var(--accent); transform: translateY(-3px); }
.article-nav a.next { text-align: right; }
.article-nav span { color: var(--muted); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; }
.article-nav b { font: 500 1.1rem/1.3 var(--text); }
@media (max-width: 640px) { .article-nav { grid-template-columns: 1fr; } .article-nav a.next { text-align: left; } }

/* Off-market approval states */
.status-line { display: flex; align-items: center; gap: 10px; margin: 14px 0; font-size: .95rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); flex: none; }
.dot.pending { background: var(--amber); box-shadow: 0 0 0 0 rgba(90, 87, 82, .6); animation: pulse 1.8s infinite; }
.dot.ok { background: var(--ink); }
.dot.denied { background: var(--coral); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(90, 87, 82, .55); } 70% { box-shadow: 0 0 0 10px rgba(90, 87, 82, 0); } 100% { box-shadow: 0 0 0 0 rgba(90, 87, 82, 0); } }
.flow-steps { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.flow-steps li { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .92rem; }
.flow-steps b { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); font-weight: 500; font-size: .82rem; }
.flow-steps li.done { color: var(--ink-2); }
.flow-steps li.done b { background: var(--ink); border-color: var(--ink); color: var(--on-accent); }
.flow-steps li.now { color: var(--ink); }
.flow-steps li.now b { border-color: var(--accent); color: var(--accent-2); box-shadow: 0 0 0 4px var(--accent-dim); }
.flow-steps li.denied { color: var(--coral); }
.flow-steps li.denied b { border-color: var(--coral); color: var(--coral); }
.approved-bar { display: flex; align-items: center; gap: 12px; padding: 12px 18px; margin-bottom: 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--accent-dim); font-size: .92rem; }
.approved-bar svg { width: 20px; height: 20px; color: var(--ink); flex: none; }
.preview-sim { margin-top: 16px; border-style: dashed; }

/* AI Assistant */
.chat-fab { position: fixed; right: 20px; bottom: 20px; z-index: 300; display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px 13px 16px; border: 0; border-radius: 999px; background: var(--accent); color: var(--on-accent); font: 500 .95rem var(--body); cursor: pointer; box-shadow: 0 14px 34px var(--accent-glow); transition: transform .4s var(--ease), box-shadow .4s, opacity .3s; animation: rise .8s var(--ease) .6s both; }
.chat-fab svg { width: 22px; height: 22px; }
.chat-fab:hover { transform: translateY(-3px); box-shadow: 0 18px 40px var(--accent-glow); }
.chat-fab.open { opacity: 0; pointer-events: none; transform: scale(.9); }
.chat-panel { position: fixed; right: 20px; bottom: 20px; z-index: 310; width: min(400px, calc(100vw - 32px)); height: min(620px, calc(100vh - 110px)); display: flex; flex-direction: column; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow), 0 0 0 1px rgba(0, 0, 0, .05); overflow: hidden; animation: chatIn .45s var(--ease) both; }
.chat-panel[hidden] { display: none; }
@keyframes chatIn { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 18px; border-bottom: 1px solid var(--line-2); background: linear-gradient(135deg, var(--accent-dim), transparent); }
.chat-head .logo-mono { width: 36px; height: auto; filter: var(--logo-filter); }
.chat-head div { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.chat-head span { color: var(--muted); font-size: .78rem; }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; scroll-behavior: smooth; }
.msg { max-width: 88%; padding: 10px 14px; border-radius: 16px; font-size: .92rem; line-height: 1.55; animation: rise .4s var(--ease) both; }
.msg p { margin: 0; }
.msg p + p { margin-top: .5em; }
.msg.bot { align-self: flex-start; background: var(--bg-2); border: 1px solid var(--line-2); border-bottom-left-radius: 5px; }
.msg.user { align-self: flex-end; background: var(--accent); color: var(--on-accent); border-bottom-right-radius: 5px; }
.chat-link { color: var(--accent-2); text-decoration: underline; text-underline-offset: 2px; }
.msg-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.msg-links a { font-size: .8rem; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); color: var(--accent-2); transition: background .25s, border-color .25s; }
.msg-links a:hover { background: var(--accent-dim); border-color: var(--accent); }
.msg.typing { display: flex; gap: 5px; padding: 14px 16px; }
.msg.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite both; }
.msg.typing span:nth-child(2) { animation-delay: .15s; } .msg.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.chat-suggest { display: flex; gap: 6px; padding: 0 14px 10px; overflow-x: auto; flex: none; scrollbar-width: none; }
.chat-suggest .chip { white-space: nowrap; font-size: .8rem; }
.chat-suggest:empty { display: none; }
.chat-form { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--line-2); }
.chat-form .input { min-height: 0; border-radius: 999px; padding: 10px 16px; }
.chat-note { margin: 0; padding: 0 16px 12px; color: var(--muted); font-size: .72rem; }
.chat-note a { color: var(--accent-2); }
@media (max-width: 520px) { .chat-fab span { display: none; } .chat-fab { padding: 15px; } .chat-panel { right: 8px; bottom: 8px; width: calc(100vw - 16px); height: calc(100vh - 90px); } }
@media print { .chat-fab, .chat-panel { display: none !important; } }
.toast { bottom: calc(90px + env(safe-area-inset-bottom, 0px)); box-shadow: var(--shadow); font-size: .92rem; max-width: calc(100vw - 32px); text-align: center; }
.toast[hidden] { display: none; }
@media (max-width: 1000px) { .viz-grid, .act-grid { grid-template-columns: minmax(0, 1fr); } }
.on-market-list a:not(.text-btn) span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 480px) { .on-market-list a:not(.text-btn) { flex-direction: column; gap: 2px; } .on-market-list small { white-space: normal; } }

/* ════════════════════════════════════════════════════════════
   v5 — Cookie consent · Brands · History · Portal layout · Investment Calculator
   ════════════════════════════════════════════════════════════ */
.seg button[aria-checked="true"] { background: var(--accent); color: var(--on-accent); }

/* Cookie consent (blocks the site until a choice is made) */
.cookie-layer { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; background: rgba(20,20,20, .62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fadeIn .35s ease both; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.cookie-box { width: min(620px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(22px, 4vw, 34px); animation: chatIn .45s var(--ease) both; }
.cookie-box h2 { margin: 6px 0 12px; }
.cookie-box p a { color: var(--accent-2); text-decoration: underline; }
.cookie-prefs { display: grid; gap: 10px; margin-top: 18px; }
.ck-cat { border: 1px solid var(--line-2); border-radius: 12px; padding: 14px 16px; background: var(--bg-2); }
.ck-cat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.ck-cat p { margin: 0; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; margin-top: 22px; }
.cookie-actions .btn { flex: 1 1 auto; justify-content: center; }
.switch { position: relative; width: 44px; height: 24px; flex: none; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: var(--line-2); border: 1px solid var(--line); transition: background .25s; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.switch input:checked + span { background: var(--accent); }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:focus-visible + span { box-shadow: 0 0 0 3px var(--accent-glow); }
body.consent-open .chat-fab { display: none; }
body.consent-open { overflow: hidden; }

/* Brands — original logos on white tiles, true colors and proportions */
.brand-track { gap: 18px; }
.brand-tile { flex: none; margin: 0; width: 176px; height: 92px; display: grid; place-items: center; padding: 14px 20px; background: #fff; border-radius: 14px; border: 1px solid rgba(20, 20, 20, .1); box-shadow: 0 6px 18px rgba(0, 0, 0, .12); transition: transform .4s var(--ease), box-shadow .4s; }
.brand-tile img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; filter: none !important; opacity: 1 !important; }
.brand-tile:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0, 0, 0, .2); }
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; margin-top: 30px; }
.brand-grid .brand-tile { width: auto; }
@media (max-width: 520px) { .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .brand-tile { width: 150px; height: 80px; padding: 12px 14px; } .brand-grid .brand-tile { width: auto; } }

/* Our History timeline (alternating above / below a center line) */
.timeline { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); position: relative; min-height: 440px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line); }
.timeline li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 8px; }
.timeline .tl-year { position: absolute; top: calc(50% + 12px); font: 600 1.45rem var(--text); color: var(--ink); }
.timeline li.up .tl-year { top: auto; bottom: calc(50% + 12px); }
.timeline .tl-dot { position: absolute; top: calc(50% - 6px); width: 13px; height: 13px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px var(--accent-dim); }
.timeline p { position: absolute; margin: 0; font-size: .88rem; line-height: 1.5; color: var(--ink-2); max-width: 190px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.timeline li.down p { top: calc(50% + 56px); }
.timeline li.up p { bottom: calc(50% + 56px); }
.timeline li p::before { content: ""; position: absolute; left: 50%; width: 1px; height: 42px; background: var(--line); }
.timeline li.down p::before { bottom: 100%; }
.timeline li.up p::before { top: 100%; }
@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr; min-height: 0; gap: 18px; padding-left: 28px; }
  .timeline::before { left: 8px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .timeline li { align-items: flex-start; text-align: left; padding: 0; }
  .timeline .tl-year, .timeline li.up .tl-year { position: static; }
  .timeline .tl-dot { top: 10px; left: -26px; }
  .timeline p, .timeline li.down p, .timeline li.up p { position: static; max-width: none; margin-top: 6px; }
  .timeline li p::before { display: none; }
}

/* Portal: tabs, side-by-side layout */
.portal-tabs { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line-2); border-radius: 999px; margin-bottom: 20px; background: var(--bg-2); }
.portal-tabs a { padding: 9px 18px; border-radius: 999px; font-size: .88rem; color: var(--muted); transition: background .3s, color .3s; }
.portal-tabs a:hover { color: var(--ink); }
.portal-tabs a[aria-current="page"] { background: var(--accent); color: var(--on-accent); }
.portal-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); gap: 32px; align-items: start; margin-top: 16px; }
.portal-filters { margin-top: 0; padding: 26px; }
.pf-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px; }
.pf-title { font: 500 1.08rem var(--body); margin: 0 0 14px; }
.profile-cards { display: grid; gap: 10px; }
.profile-card { display: flex; gap: 14px; align-items: flex-start; text-align: left; width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg); color: var(--ink); cursor: pointer; transition: border-color .3s, background .3s, transform .35s var(--ease); }
.profile-card:hover { border-color: var(--accent); transform: translateX(3px); }
.profile-card b { display: block; font-weight: 500; }
.profile-card small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.45; margin-top: 3px; }
.profile-card[aria-checked="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); box-shadow: 0 10px 26px var(--accent-glow); }
.profile-card[aria-checked="true"] small { color: var(--on-accent); opacity: .86; }
.pc-ic { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--accent-dim); color: var(--accent-2); }
.profile-card[aria-checked="true"] .pc-ic { background: rgba(128, 128, 128, .22); color: var(--on-accent); }
.pc-ic svg { width: 20px; height: 20px; }
.pf-req .pf-grid { grid-template-columns: 1fr 1fr; }
.f-ic { width: 15px; height: 15px; vertical-align: -2px; margin-right: 6px; color: var(--accent-2); }
.find-btn { margin-top: 20px; min-height: 52px; font-size: .95rem; gap: 10px; }
.find-btn svg { width: 18px; height: 18px; }
.trust-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-2); }
.trust-row span { display: grid; grid-template-columns: 22px 1fr; column-gap: 10px; font-size: .88rem; }
.trust-row svg { width: 20px; height: 20px; color: var(--coral); grid-row: span 2; }
.trust-row small { color: var(--muted); font-size: .78rem; }
.intel { padding: 22px 22px 18px; position: sticky; top: 96px; }
.intel .viz-head { margin-bottom: 14px; }
.intel-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 8px; }
.intel-kpis .kpi { padding: 12px 14px; gap: 2px; }
.intel-kpis .kpi b { font-size: 1.55rem; }
.intel-kpis .kpi .label { font-size: .64rem; }
.intel-block { padding: 14px 0 4px; border-top: 1px solid var(--line-2); margin-top: 12px; }
.intel-block .label { display: block; margin-bottom: 10px; }
.intel .donut-wrap { grid-template-columns: 116px minmax(0, 1fr); gap: 16px; }
.intel .donut { width: 116px; height: 116px; }
.intel .hbar { grid-template-columns: minmax(70px, 40%) minmax(0, 1fr) 30px; font-size: .84rem; }
.intel .legend.row { grid-auto-flow: row; gap: 6px; }
.intel-help { display: grid; gap: 4px; margin-top: 16px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-2); font-size: .88rem; }
.intel-help span { color: var(--muted); }
.intel-help-cta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
#intelScope { white-space: nowrap; }
.results-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin: 44px 0 14px; scroll-margin-top: 100px; }
.results-head h2 { margin: 0 0 4px; }
.results-head p a { color: var(--accent-2); text-decoration: underline; }
.empty-results { display: grid; justify-items: center; gap: 10px; padding: 44px 20px; border: 1px dashed var(--line); border-radius: var(--radius-lg); color: var(--muted); text-align: center; }
.empty-results svg { width: 30px; height: 30px; color: var(--accent-2); }
.empty-results p { margin: 0; }
.opp { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto auto; gap: 20px; align-items: center; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); transition: transform .45s var(--ease), border-color .3s, box-shadow .45s; }
.opp + .opp { margin-top: 12px; }
.opp:hover { transform: translateY(-3px); border-color: var(--accent-glow); box-shadow: var(--shadow); }
.opp-media { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--bg-2); }
.opp-media img { width: 100%; height: 100%; object-fit: cover; }
.opp-media.locked img { filter: blur(10px) grayscale(.5) brightness(.75); transform: scale(1.15); }
.opp-media .lock-overlay svg { width: 22px; height: 22px; margin: 0; }
.opp-body h3 { font: 600 1.3rem/1.2 var(--text); margin: 6px 0 4px; }
.opp-body h3 a:hover { color: var(--accent-2); }
.opp-meta { color: var(--muted); font-size: .86rem; margin: 4px 0 0; }
.mk { display: inline-block; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; font-weight: 600; }
.mk.off { color: var(--coral); background: var(--coral-dim); border: 1px solid var(--line); }
.mk.on { color: var(--accent-2); background: var(--accent-dim); border: 1px solid var(--line); }
.ring { --s: 50; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; align-content: center; background: radial-gradient(closest-side, var(--surface) 76%, transparent 78% 100%), conic-gradient(var(--amber) calc(var(--s) * 1%), var(--viz-track) 0); }
.ring b { font-size: .95rem; line-height: 1; font-variant-numeric: tabular-nums; }
.ring span { font-size: .56rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.consent-note { margin: 16px 0 0; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg-2); color: var(--muted); font-size: .92rem; line-height: 1.6; }
.consent-actions { display: flex; gap: 12px; margin-top: 22px; }
.consent-actions .btn.primary { flex: 1; justify-content: center; }
@media (max-width: 1100px) { .portal-layout { grid-template-columns: minmax(0, 1fr); } .intel { position: static; } .intel-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 760px) { .pf-cols { grid-template-columns: minmax(0, 1fr); } .intel-kpis { grid-template-columns: 1fr 1fr; } .trust-row { grid-template-columns: 1fr; } .opp { grid-template-columns: 88px minmax(0, 1fr) auto; } .opp > .btn { grid-column: 1 / -1; justify-content: center; } }
@media (max-width: 420px) { .pf-req .pf-grid { grid-template-columns: minmax(0, 1fr); } .opp { grid-template-columns: 72px minmax(0, 1fr); gap: 14px; } .opp .ring { grid-column: 2; grid-row: 2; width: 56px; height: 56px; } .consent-actions { flex-direction: column-reverse; } }

/* Investment Calculator */
.calc-intro { margin: 0 0 16px; }
.calc-for { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 14px 18px; margin-bottom: 18px; }
.calc-for img, .calc-for .placeholder { width: 96px; height: 72px; object-fit: cover; border-radius: 10px; }
.calc-for h2 { font: 600 1.35rem var(--text); margin: 2px 0; }
.calc-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 20px; align-items: start; }
.calc-form { padding: 24px; position: sticky; top: 96px; }
.calc-form h3, .calc-results h3 { font: 500 1.08rem var(--body); margin: 0 0 14px; }
.calc-form h3 + .field { margin-bottom: 14px; }
.calc-form h3:not(:first-child) { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line-2); }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.affix { display: flex; align-items: stretch; border: 1px solid var(--line-2); border-radius: 10px; background: var(--bg); transition: border-color .3s, box-shadow .3s; }
.affix:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
.affix span { display: grid; place-items: center; padding: 0 12px; color: var(--muted); font-size: .88rem; }
.affix.post { flex-direction: row-reverse; }
.affix .input { border: 0; background: transparent; box-shadow: none; min-height: 0; padding-left: 0; font-variant-numeric: tabular-nums; }
.affix.post .input { padding-left: 14px; padding-right: 0; }
.tip { display: inline-grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; border: 1px solid var(--line); font-size: .68rem; color: var(--muted); cursor: help; margin-left: 4px; vertical-align: 1px; }
.calc-actions { display: flex; align-items: center; gap: 16px; margin-top: 22px; }
.calc-results { display: grid; gap: 16px; }
.calc-results > .panel { padding: 22px 24px; }
.calc-results.flash .calc-key { animation: flashKey .9s var(--ease); }
@keyframes flashKey { 0% { box-shadow: 0 0 0 0 var(--accent-glow); } 40% { box-shadow: 0 0 0 6px var(--accent-dim); } 100% { box-shadow: none; } }
.calc-kv { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.calc-kv div { display: flex; flex-direction: column; gap: 3px; padding: 14px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line-2); min-width: 0; }
.calc-kv span { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.calc-kv b { font: 600 1.35rem var(--text); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.calc-kv small { font-size: .74rem; color: var(--muted); }
.calc-kv div:nth-child(3), .calc-kv div:nth-child(4) { border-color: var(--accent); background: var(--accent-dim); }
.calc-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.ctile { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); min-width: 0; }
.ctile span { font-size: .76rem; color: var(--muted); }
.ctile b { font-size: 1.12rem; font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.ctile.pos b { color: var(--ink); }
.ctile.neg b, .calc-table td.neg { color: var(--coral); }
.calc-table { margin-top: 12px; min-width: 600px; font-size: .84rem; font-variant-numeric: tabular-nums; }
.calc-table th { text-align: left; font-weight: 500; color: var(--muted); }
.calc-cta { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.calc-cta div { display: grid; gap: 2px; }
.calc-help { margin-top: 20px; padding: 18px 22px; }
.calc-help summary { cursor: pointer; font-weight: 500; }
.calc-help ul { padding-left: 1.2em; color: var(--ink-2); line-height: 1.7; }
@media (max-width: 1000px) { .calc-layout { grid-template-columns: minmax(0, 1fr); } .calc-form { position: static; } .calc-kv { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .calc-grid { grid-template-columns: minmax(0, 1fr); } .calc-for { grid-template-columns: 64px minmax(0, 1fr); } .calc-for img, .calc-for .placeholder { width: 64px; height: 52px; } .calc-for .btn { grid-column: 1 / -1; } .calc-form, .calc-results > .panel { padding: 18px; } }
.calc-results { grid-template-columns: minmax(0, 1fr); }
.vsplit { display: block; width: 100%; }
.pf-req .pf-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
.intel .vsplit .legend.row { grid-auto-flow: column; justify-content: start; gap: 18px; }
@media (min-width: 761px) and (max-width: 1100px) { .pf-req .pf-grid { grid-template-columns: 1fr 1fr; } }
.brand-tile { overflow: hidden; }
.brand-tile img { max-height: 62px; max-width: 136px; }
.brand-grid .brand-tile img { max-width: 100%; }
@media (max-width: 520px) { .brand-tile img { max-height: 54px; max-width: 120px; } }
.calc-form { position: static; }
.calc-kv { grid-template-columns: 1fr 1fr; }
.calc-kv b { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
.calc-table th, .calc-table td { white-space: nowrap; padding-right: 14px; }
@media (min-width: 1000px) { .brand-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* ════════════ v7 — Team profiles ════════════ */
a.person { display: block; color: inherit; border-radius: var(--radius); outline-offset: 4px; }
.person-img { position: relative; }
.person-go { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 14px; border-radius: 999px; background: var(--glass); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--ink); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .5s var(--ease); }
.person-go svg { width: 15px; height: 15px; }
a.person:hover .person-go, a.person:focus-visible .person-go { opacity: 1; transform: none; }
a.person:focus-visible .person-img img { filter: grayscale(0); }
.person-cap { margin-top: 12px; }
.person-cap b { display: block; font-family: var(--text); font-size: 1.15rem; font-weight: 600; line-height: 1.2; transition: color .3s; }
.person-cap span { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-2); }
a.person:hover .person-cap b { color: var(--accent-2); }
@media (hover: none) { .person-go { opacity: 1; transform: none; padding: 7px 12px; font-size: .7rem; } }

.member-page { padding: clamp(110px, 12vw, 150px) 0 20px; }
.profile-grid { display: grid; grid-template-columns: minmax(260px, 380px) minmax(0, 1fr); gap: clamp(36px, 6vw, 88px); align-items: start; margin-top: 32px; }
.profile-side { position: sticky; top: 100px; display: grid; gap: 16px; }
.profile-photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; transition: transform 1.2s var(--ease); }
.profile-photo:hover img { transform: scale(1.04); }
.profile-contact { padding: 18px 20px; display: grid; gap: 4px; }
.profile-contact .label { margin-bottom: 6px; }
.pc-line { display: flex; align-items: center; gap: 12px; padding: 10px 4px; border-bottom: 1px solid var(--line-2); font-size: .94rem; overflow-wrap: anywhere; transition: color .25s; }
.pc-line svg { width: 18px; height: 18px; flex: none; color: var(--accent-2); }
.pc-line:hover { color: var(--accent-2); }
.pc-line small { color: var(--muted); }
.profile-contact .btn { margin-top: 12px; justify-content: center; }
.profile-main h1 { margin: 8px 0 16px; }
.profile-main .pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.profile-bio { font-size: 1.04rem; line-height: 1.85; color: var(--ink-2); max-width: 70ch; }
.profile-bio p { margin: 0 0 1.4em; }
.profile-bio p:first-child::first-letter { font-family: var(--display); font-size: 3.4em; float: left; line-height: .9; padding: 6px 10px 0 0; color: var(--accent-2); }
.profile-facts { margin-top: 48px; padding: clamp(24px, 3.2vw, 36px); }
.profile-facts h2 { margin: 0 0 22px; }
.profile-facts dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.profile-facts dl div { padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.profile-facts dt { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.profile-facts dd { margin: 4px 0 0; }
.profile-listings { margin-top: 56px; }
.profile-listings .listing-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.profile-form { margin-top: 56px; padding: clamp(24px, 3.2vw, 36px); scroll-margin-top: 100px; }
.profile-form h2 { margin: 0 0 10px; }
.profile-form > p { margin-bottom: 26px; }
.profile-nav { margin-top: 48px; }
a.agent { color: inherit; border-radius: 12px; transition: background .3s; padding: 4px; margin-left: -4px; }
a.agent:hover b { color: var(--accent-2); }
.agent-link { display: block; font-size: .78rem; color: var(--accent-2); margin-top: 2px; }
.cta-card.careers { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.cta-card.careers h2 { margin: 6px 0 0; }
@media (max-width: 900px) { .profile-grid { grid-template-columns: minmax(0, 1fr); } .profile-side { position: static; grid-template-columns: minmax(0, 1fr); } .profile-photo { max-width: 420px; } .profile-facts dl { grid-template-columns: minmax(0, 1fr); } .profile-listings .listing-grid.two { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 560px) and (max-width: 900px) { .profile-side { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
.profile-main h1 { font-size: var(--fs-page-title); overflow-wrap: anywhere; margin-bottom: 24px; }
.cta-card.careers { flex-direction: row; }
@media (max-width: 640px) { .form-grid .row { grid-template-columns: minmax(0, 1fr); } .cta-card.careers { flex-direction: column; align-items: flex-start; } }

/* ════════════ v11 — Listing cards: black-and-white by default, full color on hover ════════════
   One image per card; only a CSS filter changes, so composition, aspect ratio and quality stay the same. */
.card-media img { filter: grayscale(1); transition: transform 1.1s var(--ease), filter .7s ease; }
.card:hover .card-media img,
.card:focus-within .card-media img,
.card:active .card-media img { filter: grayscale(0); }
/* Off-market cards stay blurred for confidentiality; only the color changes on hover */
.card-media.locked img { filter: blur(10px) grayscale(1) brightness(.7); }
.card:hover .card-media.locked img,
.card:focus-within .card-media.locked img,
.card:active .card-media.locked img { filter: blur(10px) grayscale(0) brightness(.7); }

/* ════════════ v12 — Portfolio vs Client Portal ════════════ */
.portal-pointer { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; padding: 14px 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--coral-dim); color: var(--ink-2); font-size: .92rem; transition: border-color .3s, transform .4s var(--ease); }
.portal-pointer:hover { border-color: var(--coral); transform: translateY(-2px); }
.portal-pointer > svg { width: 20px; height: 20px; color: var(--coral); flex: none; }
.portal-pointer b { color: var(--ink); font-weight: 500; }
.portal-pointer .pp-go { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--coral); white-space: nowrap; font-weight: 500; }
.portal-pointer .pp-go svg { width: 16px; height: 16px; }
.portal-scope { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; padding: 12px 16px; border-radius: var(--radius); border: 1px solid var(--line-2); background: var(--bg-2); }
.portal-scope p { margin: 0; color: var(--muted); font-size: .9rem; flex: 1; min-width: 240px; }
.portal-scope a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }
.opp-body .pill { vertical-align: middle; margin-left: 4px; }
@media (max-width: 640px) { .portal-pointer { flex-wrap: wrap; } .portal-pointer .pp-go { margin-left: 34px; } }

/* ════════════ v12 — Client Portal: off-market first, on-market second ════════════ */
.res-group { margin-top: 18px; }
.res-group + .res-group { margin-top: 34px; }
.res-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 18px; flex-wrap: wrap; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line-2); }
.res-head h3 { margin: 0; display: inline-flex; align-items: center; gap: 10px; font: 600 1.35rem var(--text); }
.res-head h3 svg { width: 18px; height: 18px; }
.res-head h3 span { font: 500 .78rem var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.res-head p { margin: 0; color: var(--muted); font-size: .9rem; }
.res-head p a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }
.res-off .res-head { border-bottom-color: var(--line); }
.res-off .res-head h3 { color: var(--coral); }
.res-off .res-head h3 span { color: var(--coral); opacity: .8; }
.opp.is-off { border-color: var(--line); background: linear-gradient(90deg, var(--coral-dim), transparent 42%), var(--card); }
.opp.is-off:hover { border-color: var(--coral); }
.opp .btn svg { width: 15px; height: 15px; }
.res-on .opp { opacity: .96; }
.empty-results.small { padding: 24px 18px; }
.kpi.hl { border-color: var(--line); background: linear-gradient(135deg, var(--coral-dim), transparent), var(--card); }
.kpi.hl b { color: var(--coral); }
.portal-scope p b { color: var(--ink); font-weight: 500; }



/* ════════════ Careers ════════════ */
.job-filters { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: center; gap: 14px; margin: 0 auto 10px; }
.job-filters .field { min-width: 200px; flex: 0 1 220px; }
.job-count { text-align: center; margin: 6px 0 22px; }
.job-list { display: grid; gap: 14px; }
.job-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(20px, 3vw, 30px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); transition: border-color .3s, transform .3s var(--ease); }
.job-card:hover { border-color: var(--line); transform: translateY(-2px); }
.job-card > div { flex: 1; min-width: 0; }
.job-card h2 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 600; line-height: 1.35; margin: 0 0 8px; text-wrap: pretty; }
.job-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.job-tags span { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line-2); border-radius: 999px; padding: 3px 10px; }
.job-card .btn { flex: none; }
.job-page { padding-top: clamp(110px, 14vw, 150px); }
.back-link { display: inline-block; color: var(--muted); font-size: .9rem; margin-bottom: 18px; }
.back-link:hover { color: var(--ink); }
.job-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin: 22px 0 10px; padding-bottom: 26px; border-bottom: 1px solid var(--line-2); }
.job-meta dl { display: flex; gap: 40px; margin: 0; }
.job-meta dt { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.job-meta dd { margin: 0; }
.job-body { padding-bottom: 60px; }
.job-apply-foot { margin-top: 34px; }
@media (max-width: 600px) {
  .job-card { flex-direction: column; align-items: flex-start; }
  .job-filters .field { flex: 1 1 100%; min-width: 0; }
  .job-filters .btn { width: 100%; }
}
/* ════════════ v16 · Region → City location filter ════════════ */
.toolbar.has-region { grid-template-columns: repeat(5, minmax(0, 1fr)) auto; }
.toolbar.has-region .grow { grid-column: 1 / -1; }
@media (max-width: 1080px) { .toolbar.has-region { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .toolbar.has-region { grid-template-columns: repeat(2, minmax(0, 1fr)); } }


/* ════════════ v17 · New-listing alerts (Client Portal) ════════════ */
.alert-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 14px 32px; align-items: center; margin: 26px 0 28px; padding: clamp(20px, 3vw, 28px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(135deg, rgba(47, 128, 237, .12), transparent 60%), var(--card); }
.alert-copy { display: flex; gap: 16px; align-items: flex-start; }
.alert-copy h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); margin: 0 0 4px; }
.alert-copy p { margin: 0; font-size: .92rem; }
.alert-ic { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-dim); color: var(--ink); }
.alert-ic svg { width: 22px; height: 22px; }
.alert-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) auto; gap: 12px; align-items: end; }
.alert-consent, .alert-band .form-msg { grid-column: 2; margin: 0; }
.alert-optin { margin: 2px 0 4px; }
.alert-optin em { font-style: normal; color: var(--muted); }
@media (max-width: 900px) {
  .alert-band { grid-template-columns: minmax(0, 1fr); }
  .alert-consent, .alert-band .form-msg { grid-column: 1; }
}
@media (max-width: 560px) { .alert-fields { grid-template-columns: minmax(0, 1fr); } .alert-fields .btn { width: 100%; } }
/* ════════════ v18 · Client Portal filter toggle ════════════ */
.pf-toggle-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.pf-toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 16px 10px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: var(--fs-btn); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); transition: background .25s, color .25s; }
.pf-toggle > svg { width: 18px; height: 18px; flex: none; }
.pf-toggle .pf-chev { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.pf-toggle[aria-expanded="true"] { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.pf-toggle[aria-expanded="true"] .pf-chev { transform: rotate(180deg); }
.pf-toggle:hover { background: var(--accent-dim); }
.pf-toggle[aria-expanded="true"]:hover { background: var(--accent); }
.pf-count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; display: inline-grid; place-items: center; font-size: 12px; letter-spacing: 0; background: var(--ink); color: var(--bg); }
.pf-toggle[aria-expanded="true"] .pf-count { background: var(--on-accent); color: var(--accent); }
.pf-summary { flex: 1 1 220px; min-width: 0; margin: 0; font-size: 14px; }
.pf-panel { padding-top: 6px; margin-bottom: 20px; border-top: 1px solid var(--line-2); padding-block-start: 20px; animation: rise .45s var(--ease) both; }
.portal-filters > .find-btn { margin-top: 0; }
@media (max-width: 560px) { .pf-toggle-row { gap: 10px; } .pf-summary { flex-basis: 100%; } }
/* Long status notes on photo cards stay inside the card; long buttons wrap on phones */
.on-photo > .pill:first-child { min-width: 0; flex: 0 1 auto; } .on-photo > .pill:last-child { flex: none; }
@media (max-width: 560px) { .btn { white-space: normal; text-align: center; line-height: 1.3; } .head-actions .btn { width: 100%; } }

/* ════════════════════════════════════════════════════════════
   OLD-SITE TYPE & SPACING MATCH (outliergroup.us, measured Oct 2026)
   Headlines: Cormorant Garamond SemiBold · Body: Montserrat 14px / 1.5
   Menu: Futura Light (web stand-in: Jost 300) · Colors: #000000 on #FFFFFF, secondary #282626
   ════════════════════════════════════════════════════════════ */
:root {
  --display: "Cormorant Garamond", Garamond, Georgia, "Times New Roman", serif;
  --text: "Cormorant Garamond", Garamond, Georgia, "Times New Roman", serif;
  --ui: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --nav: "Jost", "Futura", "Century Gothic", "Montserrat", sans-serif;
  --body: var(--ui);
  --ink: #000000; --ink-2: #000000; --line: #000000; --accent: #000000; --coral: #000000;
  --muted: #282626; --accent-2: #282626; --amber: #282626;
  --line-2: rgba(0, 0, 0, 0.14);
  --fs-page-title: clamp(42px, 6vw, 77px);
  --fs-section: clamp(34px, 4.3vw, 55px);
  --fs-subhead: clamp(22px, 2.05vw, 26px);
  --fs-body: 14px;
  --fs-label: 12px;
  --fs-btn: 14px;
  --space-section: clamp(104px, 13vw, 176px);
  --wrap: 1180px;
}
:root[data-theme="dark"] { --muted: #C9C6C1; --accent-2: #C9C6C1; --amber: #C9C6C1; }
@media (max-width: 760px) { :root { --fs-body: 15px; } }

body { font-family: var(--ui); font-size: var(--fs-body); line-height: 1.5; color: var(--ink); }
p, li { line-height: 1.5; }
h1, h2, .display-1, .display-2, .page-head h1 { font-weight: 600; line-height: 1.1; }
h3, h4, .display-3 { font-weight: 600; line-height: 1.2; }
.lede { font-family: var(--ui); font-size: clamp(16px, 1.5vw, 20px); line-height: 1.4; letter-spacing: .05em; color: var(--ink); margin-top: 32px; }

/* Labels and kickers: lighter, airier */
.kicker, .label, .pill, .field label, .card-type, .item-count, .person span, .agent span { font-weight: 500; }
.kicker { margin-bottom: 28px; letter-spacing: .2em; }

/* Menu: Futura-style light, title case, wide tracking (old site: 14px, 1.4px) */
.nav a { font-family: var(--nav); font-size: 14px; font-weight: 300; letter-spacing: .1em; text-transform: none; color: var(--ink); }
.nav { gap: clamp(20px, 2.2vw, 32px); }
.mobile-nav a { font-family: var(--display); font-weight: 600; }

/* Buttons: thin outlined pill, title case, wide tracking (old site: Montserrat 14px, 3.5px) */
.btn { font-family: var(--ui); font-size: var(--fs-btn); font-weight: 400; letter-spacing: .25em; text-transform: none; padding: 13px 30px; }
.btn.small { font-size: 12px; letter-spacing: .2em; padding: 10px 22px; }
.btn.primary, .btn.coral { box-shadow: none; }
.text-btn, .text-link { font-weight: 500; letter-spacing: .04em; }
.pf-toggle { font-weight: 500; }

/* Names and figures in the serif, semibold */
.person b, .person-cap b, .contact-card b, .key-specs dd, .profile b, .lock-overlay b, .agent b, .card-title { font-family: var(--display); font-weight: 600; }
.person b, .person-cap b { font-size: 1.45rem; }
.card-title { font-size: 1.6rem; }
.item h3, .value h3 { font-size: 1.7rem; }

/* More breathing room */
.hero { padding-block: clamp(128px, 16vw, 220px) clamp(104px, 12vw, 170px); }
.hero-ctas { margin-top: 56px; }
.section.tight-top { padding-top: clamp(56px, 7vw, 96px); }
.display-2 + .lede, h2 + .lede, h2 + p { margin-top: 28px; }
.prop-block p, .item p, .value p { line-height: 1.7; font-weight: 400; font-size: 14px; }
.card-body { padding: 30px 28px 28px; }
.item, .value { padding: 36px 32px; }
.faq-item summary { padding: 32px 4px; font-family: var(--ui); font-size: 15px; font-weight: 400; }
.foot-links a, .foot-legal { font-family: var(--nav); font-weight: 300; }
.foot-tag { font-weight: 600; }

/* Oct 2026 updates: no wordmark on Home (the OG monogram stays), justified team bios */
body.is-home .site-header .brand { visibility: hidden; }
.profile-bio p { text-align: justify; text-justify: inter-word; hyphens: auto; -webkit-hyphens: auto; }

/* ── Tenant Portal (simple, like the Agent Portal) ── */
.tp-wrap { max-width: 760px; }
.tp-for { margin: 0 0 8px; font-family: var(--ui); color: var(--muted); } .tp-for b { color: var(--ink); } .tp-for a { text-decoration: underline; text-underline-offset: 3px; color: var(--ink); }
.tp-grid { display: block; } .tp-main { display: grid; gap: 0; }
.tp-panel { padding: 40px 0; border-top: 1px solid var(--line); background: none; }
.tp-panel:first-child { border-top: 0; padding-top: 24px; }
.tp-panel h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); margin-bottom: 8px; }
.tp-frame { margin-top: 20px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.tp-frame iframe { display: block; width: 100%; height: 1500px; border: 0; }
.tp-alt { margin: 12px 0 0; font-family: var(--ui); font-size: .9rem; } .tp-alt a { text-decoration: underline; text-underline-offset: 3px; }
.tp-drop { position: relative; display: grid; gap: 6px; place-items: center; text-align: center; padding: 32px 20px; border: 1px dashed var(--line); border-radius: 10px; cursor: pointer; font-family: var(--ui); transition: border-color .2s; }
.tp-drop:hover, .tp-drop.over, .tp-drop:focus-within { border-color: var(--ink); }
.tp-drop input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.tp-drop-main { display: inline-flex; align-items: center; gap: 8px; } .tp-drop-main svg { width: 15px; height: 15px; }
.tp-drop-sub { font-size: .8rem; color: var(--muted); }
.tp-files { list-style: none; margin: 0; padding: 0; } .tp-files:empty { display: none; }
.tp-files li { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(150px, 210px) auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-family: var(--ui); font-size: .9rem; }
.tp-files .input { min-height: 0; padding: 8px 10px; font-size: .85rem; }
.tp-fname { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .tp-fsize { color: var(--muted); font-size: .8rem; }
.tp-rm { border: 0; background: none; padding: 4px 0; font: inherit; font-size: .82rem; text-decoration: underline; text-underline-offset: 3px; color: var(--ink); cursor: pointer; }
.tp-consent { display: flex; gap: 10px; align-items: flex-start; font-family: var(--ui); font-size: .9rem; line-height: 1.5; color: var(--muted); } .tp-consent input { margin-top: 4px; flex: none; }
.contact-card.tenant-link { display: block; color: inherit; text-decoration: none; }
.contact-card.tenant-link b { display: inline-flex; align-items: center; gap: 8px; font-size: 1.05rem; } .contact-card.tenant-link svg { width: 16px; height: 16px; }
@media (max-width: 900px) { .tp-frame iframe { height: 1700px; } }
@media (max-width: 560px) { .tp-files li { grid-template-columns: minmax(0, 1fr) auto; } .tp-files li select { grid-column: 1 / -1; } }
.tp-alt a { display: inline-flex; align-items: center; gap: 6px; } .tp-alt svg, .tp-for svg { width: 14px; height: 14px; flex: none; }
.tp-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; padding: 16px 20px; border: 1px solid var(--ink); border-radius: 10px; color: var(--ink); text-decoration: none; font-family: var(--ui); transition: background .2s, color .2s; }
.tp-link b { display: block; font-weight: 600; } .tp-link span span { display: block; font-size: .8rem; color: var(--muted); }
.tp-link-go { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; letter-spacing: .06em; white-space: nowrap; } .tp-link-go svg { width: 14px; height: 14px; }
.tp-link:hover { background: var(--ink); color: var(--bg); } .tp-link:hover span span { color: inherit; opacity: .75; }

/* ── Ask Outlier chat: property cards, choices, lead form, language, uploads ── */
.msg.wide { max-width: 100%; width: 100%; }
.chat-cards { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.chat-card { display: grid; grid-template-columns: 84px 1fr; gap: 10px; padding: 8px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); }
.chat-card-img { display: block; width: 84px; height: 84px; border-radius: 8px; overflow: hidden; background: var(--bg-2); }
.chat-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.chat-card.off .chat-card-img { display: flex; align-items: center; justify-content: center; background: var(--ink); color: var(--bg); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; text-align: center; }
.chat-card-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: .8rem; line-height: 1.4; }
.chat-card-body b { font-size: .88rem; }
.chat-card-body > span { color: var(--muted); }
.chat-card.off .chat-card-body > span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.chat-card-acts { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 4px; }
.chat-card-acts a, .chat-card-acts button { padding: 0; border: 0; background: none; color: var(--accent-2); font: inherit; font-size: .78rem; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.chat-choices { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chat-choices .chip { font-size: .8rem; padding: 6px 12px; background: var(--surface); cursor: pointer; }
.chat-lead { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.chat-lead .input { min-height: 0; padding: 9px 12px; border-radius: 10px; font-size: .86rem; }
.chat-lead textarea.input { resize: vertical; }
.chat-lead .btn { align-self: flex-start; }
.chat-lead-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.chat-lead select.input { padding-right: 8px; color: var(--ink); background: var(--surface); }
.chat-lang { flex: none; width: 58px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font: inherit; font-size: .76rem; cursor: pointer; }
.chat-lang:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.chat-lead .form-msg { margin: 0; font-size: .78rem; }
.chat-attach { position: relative; flex: none; display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); cursor: pointer; }
.chat-attach:hover, .chat-attach:focus-within { border-color: var(--ink); }
.chat-attach input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.chat-attach svg { width: 18px; height: 18px; }
.chat-card.live .chat-card-img { display: flex; align-items: center; justify-content: center; background: var(--bg-2, #f4f3f1); color: var(--ink); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; text-align: center; }
.access-code { max-width: 420px; margin: 0 auto; } .access-code #accCode { font-size: 1.5rem; letter-spacing: .45em; text-align: center; } .access-code .text-btn { justify-self: center; background: none; border: 0; cursor: pointer; }

/* ── Oct 13 2026 design corrections: one centered OG logo, consistent alignment & type ── */
/* Header: equal side columns so the OG monogram sits at the exact center on every page and screen size */
.site-header .wrap { max-width: 1560px; }
.header-row { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: clamp(16px, 2vw, 32px); }
.nav-left { grid-column: 1; justify-content: flex-end; }
.monogram { grid-column: 2; justify-self: center; }
.header-right { grid-column: 3; display: flex; align-items: center; justify-content: space-between; gap: clamp(12px, 1.2vw, 24px); min-width: 0; }
.nav-right { justify-content: flex-start; }
.logo-mono { height: 40px; }
.site-header.scrolled .logo-mono { height: 34px; }
.logo-mono { transition: height .35s var(--ease); }
@media (max-width: 1640px) { .header-actions .hide-md { display: none; } }
@media (max-width: 1280px) {
  .header-row { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); height: 74px; }
  .nav, .header-actions .hide-sm { display: none; }
  .menu-btn { display: inline-grid; }
  .header-right { justify-content: flex-end; }
  .mobile-nav { display: grid; max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); padding-inline: var(--gutter); }
  .menu-open .mobile-nav { max-height: 640px; border-top: 1px solid var(--line-2); }
  .mobile-nav a { padding: 14px 0; border-bottom: 1px solid var(--line-2); font-family: var(--display); font-size: 1.35rem; }
  .mobile-nav .btn { margin-block: 18px 22px; border-bottom: 0; font-family: var(--ui); font-size: var(--fs-btn); }
}
@media (max-width: 520px) { .logo-mono, .site-header.scrolled .logo-mono { height: 34px; } }

/* Section sub-headings: one size everywhere (was 25.6–32px depending on the page) */
.tp-panel h2, .prop-block h2, .article-body h2 { font-size: var(--fs-subhead); line-height: 1.2; }

/* Long links inside articles no longer push the page sideways on phones */
.article-body, .article-body a { overflow-wrap: anywhere; }

/* Footer: brand text first (logo lives only in the header); centered on phones and tablets */
.foot-brand > :first-child { margin-top: 0; }
@media (max-width: 860px) {
  .foot-grid { text-align: center; justify-items: center; }
  .foot-brand .muted { margin-inline: auto; }
  .foot-brand .socials { justify-content: center; }
  .foot-mid { justify-items: center; text-align: center; }
  .foot-links { justify-items: center; }
}

/* Section headers with a side button stack centered on phones, matching the centered sections around them */
@media (max-width: 640px) {
  .head-row { flex-direction: column; align-items: center; text-align: center; }
  .head-row .kicker { justify-content: center; }
}
