/* ==================================================================
   The Breneman Group — company + leasing portal
   Black, bold condensed type, electric violet from the Breneman "B" mark.
   ================================================================== */
:root {
  --ink: #0B0A0D;
  --ink-2: #17151C;
  --ink-3: #221F29;
  --paper: #F4F2EE;
  --paper-2: #E8E5DE;
  --white: #FFFFFF;
  --violet: #6400FF;        /* logo violet — on light backgrounds / fills */
  --violet-lt: #9466FF;     /* readable violet on black */
  --violet-wash: #EFE8FF;
  --gray: #A6A2B4;          /* the "GROUP" gray */
  --muted: #5E5A68;
  --muted-dk: #B9B5C4;
  --line: rgba(11, 10, 13, .14);
  --line-dk: rgba(255, 255, 255, .16);
  --ok: #1F8A5B;

  --display: "Saira", "Arial Narrow", sans-serif;   /* condensed 800 ≈ the "Industry" face on brenemanmedia.com */
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --mark: "Saira", "Eurostile", Arial, sans-serif;     /* expanded, for the BRENEMAN. wordmark */

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --hdr: 76px;
  --radius: 14px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--violet-lt); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--violet); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- type ---------- */
/* Headlines follow Adam's brenemanmedia.com voice: heavy, sentence case, ending on a square period. */
/* Sentence-case headlines need room for descenders (g, p, y) so stacked lines don't touch */
.display, h1, h2 { font-family: var(--display); font-weight: 800; font-stretch: 75%; letter-spacing: -.012em; line-height: .98; margin: 0; }
h1 { font-size: clamp(56px, 9.4vw, 150px); }
h2 { font-size: clamp(44px, 6vw, 92px); }
.upper { text-transform: uppercase; letter-spacing: 0; }
/* The BRENEMAN. square period (each Breneman company has its own color; the Group's is violet). */
.sq { display: inline-block; width: .16em; height: .16em; background: var(--violet); margin-left: .05em; overflow: hidden; text-indent: 1em; color: transparent; vertical-align: baseline; }
.sec--dark .sq, .hero .sq, .sec--ink2 .sq, .gate .sq, .ftr .sq, .menu .sq { background: var(--violet-lt); }
.sec--violet .sq { background: #fff; }
h3 { font: 600 22px/1.25 var(--sans); margin: 0; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(19px, 1.9vw, 24px); line-height: 1.45; max-width: 36em; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 12.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; margin: 0 0 22px; }
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 2px; background: var(--violet); }
.sec--dark .eyebrow::before, .hero .eyebrow::before { background: var(--violet-lt); }
.v { color: var(--violet); }
.sec--dark .v, .hero .v, .menu .v { color: var(--violet-lt); }
.dot { color: var(--violet); }
.sec--dark .dot, .hero .dot { color: var(--violet-lt); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: stretch; text-decoration: none; border: 0; padding: 0;
  font: 600 13.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  background: var(--violet); color: #fff; border-radius: 6px; overflow: hidden; min-height: 52px;
  transition: transform .25s var(--ease), background .25s;
}
.btn > span:first-child { display: flex; align-items: center; padding: 0 22px; }
.btn .arr { display: grid; place-items: center; width: 52px; background: var(--ink); color: #fff; transition: background .25s; }
.btn .arr svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover .arr svg { transform: translateX(4px); }
.btn:hover { background: #5200D6; }
.hdr .btn .arr, .sec--dark .btn .arr, .sec--ink2 .btn .arr, .hero .btn .arr, .menu .btn .arr, .ftr .btn .arr { background: #4300AD; }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--violet-wash); }
.btn--ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--ghost .arr { background: transparent !important; color: inherit; box-shadow: inset 1.5px 0 0 currentColor; }
.btn--ghost:hover { background: rgba(127, 127, 127, .1); }
.btn--sm { min-height: 42px; font-size: 12px; }
.btn--sm .arr { width: 42px; }
.btn--sm > span:first-child { padding: 0 16px; }
.link { font-weight: 600; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat; padding-bottom: 2px; transition: background-size .3s var(--ease); }
.link:hover { background-size: 0 1.5px; background-position: 100% 100%; }

/* ---------- brand mark ---------- */
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-word { display: flex; flex-direction: column; gap: 5px; line-height: 1; }
.brand-word b { font: 700 expanded 17px/1 var(--mark); letter-spacing: .16em; display: flex; align-items: baseline; }
.brand-word b i { display: inline-block; width: .3em; height: .3em; background: var(--violet-lt); margin-left: .12em; color: transparent; overflow: hidden; }
.brand-word small { font: 500 expanded 9.5px/1 var(--mark); letter-spacing: .68em; color: var(--gray); }
.brand--lg .brand-mark { width: 64px; height: 64px; }
.brand--lg .brand-word b { font-size: 26px; }
.brand--lg .brand-word small { font-size: 12px; }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 60; background: var(--ink); color: #fff; height: var(--hdr); border-bottom: 1px solid var(--line-dk); }
.hdr .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: none; }
.hdr-right { display: flex; align-items: center; gap: 10px; }
.hdr-links { display: flex; gap: 28px; margin-right: 18px; }
.hdr-links a { font: 600 12.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; opacity: .82; padding: 8px 0; border-bottom: 2px solid transparent; }
.hdr-links a:hover, .hdr-links a[aria-current] { opacity: 1; border-color: var(--violet-lt); }
.menu-btn {
  display: inline-flex; align-items: center; gap: 12px; height: 44px; padding: 0 16px; border-radius: 6px;
  background: transparent; border: 1.5px solid rgba(255, 255, 255, .5); font: 600 12.5px/1 var(--sans); letter-spacing: .16em;
}
.menu-btn:hover { border-color: #fff; }
.menu-btn .bars { width: 18px; height: 10px; position: relative; }
.menu-btn .bars::before, .menu-btn .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; }
.menu-btn .bars::before { top: 0; } .menu-btn .bars::after { bottom: 0; }
.hdr .btn { min-height: 44px; }
.hdr .btn .arr { width: 44px; }
.hdr .btn > span:first-child { padding: 0 16px; }

/* ---------- full-screen menu (Charney-style) ---------- */
.menu {
  position: fixed; inset: 0; z-index: 100; background: #000; color: #fff; overflow-y: auto;
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; padding: clamp(28px, 6vw, 80px) clamp(20px, 8vw, 160px);
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility 0s .35s;
}
.menu.is-open { opacity: 1; visibility: visible; transition: opacity .35s var(--ease); }
.menu-side { display: flex; flex-direction: column; gap: 28px; padding-top: 6px; }
.menu-addr { font: 600 clamp(18px, 1.8vw, 24px)/1.5 var(--sans); margin: 0; }
.menu-addr a { text-decoration: none; }
.menu-addr a:hover { color: var(--violet-lt); }
.menu-nav { display: flex; flex-direction: column; align-items: flex-start; }
.menu-nav a {
  font: 800 condensed clamp(46px, 7.4vw, 104px)/.98 var(--display); text-transform: uppercase; text-decoration: none; color: #fff;
  transform: translateY(24px); opacity: 0; transition: transform .6s var(--ease), opacity .6s var(--ease), color .2s;
}
.menu-nav a.lead { color: var(--violet-lt); }
.menu-nav a:hover, .menu-nav a[aria-current] { color: var(--violet-lt); }
.menu-nav a.lead:hover, .menu-nav a.lead[aria-current] { color: #fff; }
.menu-nav a[aria-current]::after { content: "."; color: #fff; }
.menu-nav a.lead[aria-current]::after { color: var(--violet-lt); }
.menu.is-open .menu-nav a { transform: none; opacity: 1; }
.menu-close { position: fixed; top: 22px; right: 24px; width: 56px; height: 56px; border: 0; background: none; display: grid; place-items: center; }
.menu-close svg { width: 32px; height: 32px; }
.menu-close:hover { color: var(--violet-lt); }
.socials { display: flex; gap: 22px; }
.socials a { display: grid; place-items: center; width: 34px; height: 34px; }
.socials a:hover { color: var(--violet-lt); }
.socials svg { width: 30px; height: 30px; }
body.menu-open { overflow: hidden; }

/* ---------- sections ---------- */
.sec { padding: clamp(72px, 10vw, 150px) 0; position: relative; }
.sec--tight { padding: clamp(56px, 7vw, 96px) 0; }
.sec--dark { background: var(--ink); color: #fff; }
.sec--ink2 { background: var(--ink-2); color: #fff; }
.sec--white { background: var(--white); }
.sec--violet { background: var(--violet); color: #fff; }
.sec--violet .eyebrow::before { background: #fff; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head h2 { max-width: 12em; }
.sec-head p { max-width: 30em; margin: 0; color: var(--muted); }
.sec--dark .sec-head p, .sec--ink2 .sec-head p { color: var(--muted-dk); }
.rule { height: 1px; background: currentColor; opacity: .16; border: 0; margin: 0; }

/* ---------- page hero ---------- */
.hero { position: relative; color: #fff; background: var(--ink); overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero .eyebrow { text-shadow: 0 1px 12px rgba(0,0,0,.6); }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,.15) 40%, rgba(0,0,0,.82) 100%); }
.hero-inner { position: relative; min-height: min(88vh, 900px); display: flex; flex-direction: column; justify-content: flex-end; padding-top: 120px; padding-bottom: clamp(40px, 6vw, 80px); }
.hero h1 { max-width: 11.5em; }
.hero-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; margin-top: clamp(24px, 3vw, 40px); }
.hero-foot p { max-width: 32em; margin: 0; font-size: clamp(17px, 1.5vw, 20px); color: rgba(255,255,255,.88); }
/* Home hero: no photo — black, huge headline, the cursor glow from the landing page */
.hero--glow { background: #000; isolation: isolate; }
.hero--glow .hero-inner { position: relative; z-index: 1; min-height: min(calc(100svh - var(--hdr)), 940px); justify-content: center; padding-top: clamp(72px, 10vw, 140px); }
.hero--glow h1 { font-size: clamp(64px, 11.5vw, 210px); line-height: .97; max-width: 9.5em; }
.hero--glow .hero-foot { margin-top: clamp(32px, 4vw, 56px); padding-top: 28px; border-top: 1px solid rgba(255,255,255,.14); }
.hero--plain .hero-inner { min-height: 0; padding-top: clamp(80px, 12vw, 170px); padding-bottom: clamp(56px, 7vw, 96px); }
.hero--plain h1 { max-width: none; }

/* ---------- statement ---------- */
.statement { font: 800 condensed clamp(30px, 3.6vw, 54px)/1.12 var(--display); text-transform: uppercase; max-width: 22em; margin: 0; }

/* ---------- business lines (big rows) ---------- */
.lines { border-top: 1px solid var(--line-dk); }
.line-row {
  display: grid; grid-template-columns: 90px 1fr minmax(0, 30em) 60px; align-items: center; gap: 28px;
  padding: clamp(24px, 3vw, 40px) 0; border-bottom: 1px solid var(--line-dk); text-decoration: none; color: #fff;
  transition: padding .35s var(--ease), color .2s;
}
.line-row .n { font: 600 13px/1 var(--sans); letter-spacing: .16em; color: var(--muted-dk); }
.line-row .t { font: 800 condensed clamp(48px, 7vw, 104px)/.9 var(--display); text-transform: uppercase; }
.line-row p { margin: 0; color: var(--muted-dk); }
.line-row .go { width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--line-dk); display: grid; place-items: center; transition: background .25s, border-color .25s; }
.line-row .go svg { width: 20px; height: 20px; }
.line-row:hover .t { color: var(--violet-lt); }
.line-row:hover .go { background: var(--violet); border-color: var(--violet); }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stats--3 { grid-template-columns: repeat(3, 1fr); }
.stat { padding: 32px 12px 0; text-align: center; }
.stat b { display: block; font: 800 condensed clamp(64px, 8vw, 120px)/.9 var(--display); color: var(--violet); }
.stat span { display: block; margin-top: 10px; font: 600 12.5px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.sec--dark .stats { border-color: var(--line-dk); }
.sec--dark .stat b { color: var(--violet-lt); }
.sec--dark .stat span { color: var(--muted-dk); }

/* ---------- property cards ---------- */
.props { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 24px; }
.prop {
  background: var(--white); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
  border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.prop:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(20, 0, 60, .35); }
.prop-logo { background: var(--paper); aspect-ratio: 16 / 10; display: grid; place-items: center; padding: 28px 36px; color: var(--ink); position: relative; border-bottom: 1px solid var(--line); }
.prop-logo svg { width: 100%; height: 100%; max-height: 180px; }
.prop-logo:has(.render) { padding: 0; }
.prop-logo .render { width: 100%; height: 100%; object-fit: cover; }
.prop-logo .ph { font: 800 condensed clamp(64px, 8vw, 96px)/1 var(--display); color: var(--violet); text-align: center; }
.prop-logo .ph small { display: block; font: 600 12px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
.stage { position: absolute; top: 14px; left: 14px; font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: 8px 10px; border-radius: 99px; background: var(--ink); color: #fff; }
.stage--pre { background: var(--violet); }
.prop-body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.prop-body h3 { font: 800 condensed 34px/1 var(--display); text-transform: uppercase; }
.prop-meta { font: 600 12px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.prop-body p { margin: 0; color: var(--muted); font-size: 15.5px; }
.prop-facts { display: flex; gap: 22px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: auto; }
.prop-facts div { display: flex; flex-direction: column; }
.prop-facts b { font: 800 condensed 30px/1 var(--display); }
.prop-facts span { font: 600 11px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.prop-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- logo strip (company home) ---------- */
.logo-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1px; background: var(--line-dk); border: 1px solid var(--line-dk); border-radius: var(--radius); overflow: hidden; }
.logo-tile { background: var(--ink); color: #fff; padding: 36px 28px 26px; text-decoration: none; display: flex; flex-direction: column; gap: 18px; min-height: 250px; transition: background .3s; }
.logo-tile .lg { flex: 1; display: grid; place-items: center; color: #EDEAF5; }
.logo-tile .lg svg { max-height: 120px; width: 100%; }
.logo-tile .lg .render { width: 100%; height: 120px; object-fit: cover; border-radius: 8px; }
.logo-tile .lg .ph { font: 800 condensed 64px/1 var(--display); color: var(--violet-lt); }
/* Name above stage (side by side overflowed on long pairs like "Uptown Apartments · In development") */
.logo-tile .cap { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; font: 600 12px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.logo-tile .cap span { color: var(--muted-dk); }
.logo-tile:hover { background: var(--ink-3); }
/* Pipeline tile: fills the empty end of the portfolio grid (span set in home.html) */
/* Same structure as a building tile (so rows stay the same height): big number + caption row. Keep it clean. */
.pipe-tile { background: var(--violet); }
.pipe-tile:hover { background: #5200D6; }
.pipe-tile .lg, .pipe-tile:hover .lg { color: #fff; }
.pt-total { text-align: center; }
.pt-total b { display: block; font: 800 condensed clamp(64px, 6vw, 96px)/.88 var(--display); }
.pt-total > span { display: block; margin-top: 8px; font: 600 12px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.pipe-tile .cap { flex-direction: row; justify-content: space-between; align-items: center; gap: 12px; }
.pipe-tile .cap .pt-go { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.pt-arr { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; color: var(--violet); transition: transform .3s var(--ease); }
.pt-arr svg { width: 14px; height: 14px; }
.pipe-tile:hover .pt-arr { transform: translateX(4px); }
.logo-tile:hover .lg { color: var(--violet-lt); }

/* ---------- availability table ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; margin-bottom: 22px; }
.filter-group { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filter-group > span { font: 600 11.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.chip { border: 1.5px solid var(--line); background: var(--white); border-radius: 99px; padding: 9px 16px; font: 600 13px/1 var(--sans); transition: background .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.avail-count { margin-left: auto; font: 600 13px/1 var(--sans); color: var(--muted); }
.table-wrap { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
table.avail { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.avail th { text-align: left; font: 600 11.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 18px 18px; background: var(--paper); border-bottom: 1px solid var(--line); white-space: nowrap; }
.avail td { padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.avail tr:last-child td { border-bottom: 0; }
.avail tbody tr { transition: background .2s; }
.avail tbody tr:hover { background: #FAF8FF; }
.avail .bldg { display: flex; align-items: center; gap: 12px; font-weight: 600; white-space: nowrap; }
.avail .bldg .mini { width: 46px; height: 30px; flex: none; color: var(--ink); }
.avail .bldg .mini svg { width: 100%; height: 100%; }
.avail .unit { font: 800 condensed 22px/1 var(--display); }
.avail .num { font-variant-numeric: tabular-nums; }
.pill { display: inline-block; font: 600 11px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; padding: 7px 10px; border-radius: 99px; background: var(--violet-wash); color: #4A00C0; white-space: nowrap; }
.pill--avail { background: #E2F4EA; color: #146B45; }
.pill--leased { background: var(--paper-2); color: var(--muted); }
.avail .act { text-align: right; }
.avail-empty { padding: 48px 24px; text-align: center; color: var(--muted); }
.note { font-size: 14px; color: var(--muted); margin-top: 14px; }

/* ---------- portfolio map ---------- */
.map-wrap { display: grid; grid-template-columns: 340px 1fr; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-dk); background: var(--ink-2); }
.map-wrap > * { min-width: 0; }
.map-list { list-style: none; margin: 0; padding: 0; max-height: 620px; overflow-y: auto; }
.map-list li + li { border-top: 1px solid var(--line-dk); }
.map-list button { width: 100%; text-align: left; background: none; border: 0; padding: 22px 24px; display: flex; flex-direction: column; gap: 6px; color: #fff; transition: background .2s; }
.map-list button:hover, .map-list button.is-active { background: var(--ink-3); }
.map-list button.is-active { box-shadow: inset 4px 0 0 var(--violet-lt); }
.map-list b { font: 800 condensed 28px/1 var(--display); text-transform: uppercase; }
.map-list span { font-size: 14px; color: var(--muted-dk); }
.map-list em { font: 600 11px/1 var(--sans); font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: var(--violet-lt); }
#portfolio-map { height: 620px; background: #d9d6cf; }
.pin-card { background: #fff; color: var(--ink); border-radius: 10px; padding: 6px 8px; box-shadow: 0 8px 22px rgba(0,0,0,.28); border: 2px solid var(--ink); position: relative; width: 100%; height: calc(100% - 10px); display: grid; place-items: center; }
.pin-card::after { content: ""; position: absolute; left: 50%; bottom: -9px; width: 14px; height: 14px; background: #fff; border: 2px solid var(--ink); border-top: 0; border-left: 0; transform: translateX(-50%) rotate(45deg); }
.pin-card svg { width: 100%; height: 100%; }
.pin-card .ph { font: 800 condensed 22px/1 var(--display); color: var(--violet); text-align: center; text-transform: uppercase; }
.pin-wrap.is-active .pin-card { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(100, 0, 255, .25), 0 8px 22px rgba(0,0,0,.28); }
.pin-wrap.is-active .pin-card::after { border-color: var(--violet); }
.leaflet-container { font-family: var(--sans); }
.pop b { display: block; font: 800 condensed 22px/1.05 var(--display); text-transform: uppercase; margin-bottom: 4px; }
.pop span { display: block; color: var(--muted); font-size: 13px; }
.pop a { display: inline-block; margin-top: 8px; font-weight: 600; color: var(--violet); }

/* ---------- press ---------- */
.press-list { border-top: 1px solid var(--line); }
.press-item { display: grid; grid-template-columns: 170px 1fr 56px; gap: 28px; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.press-item time { font: 600 12.5px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.press-item .src { display: block; font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--violet); margin-bottom: 10px; }
.press-item h3 { font: 800 condensed clamp(26px, 2.8vw, 40px)/1.02 var(--display); text-transform: uppercase; transition: color .2s; }
.press-item p { margin: 10px 0 0; color: var(--muted); max-width: 52em; }
.press-item .go { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; transition: background .2s, color .2s, border-color .2s; }
.press-item .go svg { width: 18px; height: 18px; }
.press-item:hover h3 { color: var(--violet); }
.press-item:hover .go { background: var(--violet); color: #fff; border-color: var(--violet); }
.sec--dark .press-list, .sec--dark .press-item, .sec--dark .press-item .go { border-color: var(--line-dk); }
.sec--dark .press-item time, .sec--dark .press-item p { color: var(--muted-dk); }
.sec--dark .press-item .src, .sec--dark .press-item:hover h3 { color: var(--violet-lt); }
.quote { font: 800 condensed clamp(34px, 4.4vw, 68px)/1.02 var(--display); text-transform: uppercase; margin: 0; max-width: 18em; }
.quote::before { content: "\201C"; color: var(--violet-lt); }
.quote::after { content: "\201D"; color: var(--violet-lt); }
.cite { margin-top: 26px; font: 600 13px/1.5 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dk); }
.cite a { color: #fff; }

/* ---------- split / feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--top { align-items: start; }
.photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--ink-3); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--wide { aspect-ratio: 16 / 10; }

/* ---------- steps / pillars ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.steps--3 { grid-template-columns: repeat(3, 1fr); }
.step { padding: 30px 26px 8px 0; }
.step + .step { padding-left: 26px; border-left: 1px solid var(--line); }
.step b { display: block; font: 800 condensed 64px/1 var(--display); color: var(--violet); margin-bottom: 18px; }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15.5px; margin: 0; }
.sec--dark .steps, .sec--dark .step + .step { border-color: var(--line-dk); }
.sec--dark .step b { color: var(--violet-lt); }
.sec--dark .step p { color: var(--muted-dk); }

/* ---------- project types (development) ---------- */
.types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.type { background: var(--white); padding: clamp(24px, 2.6vw, 34px); display: flex; flex-direction: column; gap: 10px; }
.type svg { width: 32px; height: 32px; color: var(--violet); }
.type h3 { font: 800 condensed clamp(26px, 2.2vw, 32px)/1 var(--display); text-transform: uppercase; margin: 6px 0 0; }
.type p { margin: 0; color: var(--muted); font-size: 15.5px; }
.type .eg { margin-top: auto; padding-top: 6px; font: 600 12px/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--violet); }
.type .eg a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.type .eg a:hover { color: var(--ink); }
.project { scroll-margin-top: calc(var(--hdr) + 20px); }
@media (max-width: 900px) { .types { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .types { grid-template-columns: 1fr; } }

/* ---------- projects (development) ---------- */
/* Two cards per row so several projects show at once */
.projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.2vw, 30px); }
@media (max-width: 800px) { .projects { grid-template-columns: 1fr; } }
.project { display: flex; flex-direction: column; background: var(--ink-2); border: 1px solid var(--line-dk); border-radius: var(--radius); overflow: hidden; }
.project-art { background: var(--paper); color: var(--ink); aspect-ratio: 16 / 10; display: grid; place-items: center; padding: 28px 40px; position: relative; overflow: hidden; }
.project-art svg { width: 100%; max-height: 200px; }
.project-body { display: flex; flex-direction: column; flex: 1; padding: clamp(22px, 2.4vw, 32px); }
.project-foot { margin-top: auto; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.project .credits { margin: 0; font-size: 14px; }
.project .credits b { color: #fff; font-weight: 600; }
.project-art--photo { padding: 0; background: var(--ink-3); }

/* ---------- pipeline (unnamed deals) ---------- */
.pipe { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-dk); border: 1px solid var(--line-dk); border-radius: var(--radius); overflow: hidden; }
.pipe-card { background: var(--ink-2); padding: 30px 28px; display: flex; flex-direction: column; gap: 6px; }
.pipe-card b { font: 800 condensed clamp(56px, 6vw, 84px)/.9 var(--display); color: var(--violet-lt); display: flex; align-items: baseline; gap: 10px; }
.pipe-card b small { font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dk); }
.pipe-card h4 { font: 800 condensed 28px/1 var(--display); text-transform: uppercase; margin: 12px 0 0; color: #fff; }
.pipe-card p { margin: 0; color: var(--muted-dk); font-size: 15px; }
.pipe-card .pipe-area { font: 600 12px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--violet-lt); margin-bottom: 6px; }
.pipe-card--total { background: var(--violet); grid-column: span 2; justify-content: center; }
@media (max-width: 1080px) { .pipe { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .pipe { grid-template-columns: 1fr; } .pipe-card--total { grid-column: auto; } }
.pipe-card--total b { color: #fff; }
.pipe-card--total b small, .pipe-card--total p { color: rgba(255,255,255,.85); }
.project-art--photo > img { width: 100%; height: 100%; object-fit: cover; }
.art-badge { position: absolute; left: 16px; bottom: 16px; width: 120px; height: 84px; padding: 10px 12px; background: var(--paper); color: var(--ink); border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.3); display: grid; place-items: center; }
.art-badge svg { width: 100%; height: 100%; }
.art-cap { position: absolute; right: 12px; top: 12px; font: 600 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #fff; background: rgba(11, 10, 13, .82); padding: 9px 12px; border-radius: 8px; }
.project-art .ph { font: 800 condensed clamp(90px, 12vw, 180px)/1 var(--display); color: var(--violet); }
.project h3 { font: 800 condensed clamp(34px, 3.2vw, 50px)/.92 var(--display); text-transform: uppercase; margin: 10px 0 12px; }
.project p { color: var(--muted-dk); font-size: 16px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-dk); border: 1px solid var(--line-dk); border-radius: 10px; overflow: hidden; margin: 18px 0 20px; }
.facts div { background: var(--ink); padding: 14px; }
.facts b { display: block; font: 800 condensed 28px/1 var(--display); }
.facts span { display: block; margin-top: 6px; font: 600 11px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-dk); }

/* ---------- team ---------- */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 40px 28px; }
.person .face { aspect-ratio: 4 / 5; border-radius: var(--radius); border: 1px solid var(--line); background: var(--ink); color: var(--violet-lt); display: grid; place-items: center; overflow: hidden; margin-bottom: 18px; position: relative; }
.person .face img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.person .face:has(img)::after, .founder .face:has(img)::after { border-color: rgba(255, 255, 255, .4); }
.person .face .ini { font: 800 condensed 110px/1 var(--display); }
.person .face::after { content: ""; position: absolute; inset: 14px; border: 2px solid rgba(148, 102, 255, .45); border-radius: 22px; pointer-events: none; }
.person h3 { font: 800 condensed 34px/1 var(--display); text-transform: uppercase; }
.person .role { font: 600 12px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--violet); margin: 8px 0 12px; }
.person p { color: var(--muted); font-size: 15.5px; margin: 0; }
.person a { font-size: 15px; }
/* Cards stay uniform (photo, name, role); the full bio opens in a modal. */
.person .role { margin-bottom: 0; }
button.face, a.face { width: 100%; padding: 0; cursor: pointer; text-decoration: none; font: inherit; }
.person .face img { transition: filter .4s var(--ease); }
.person .face:hover img, .person .face:focus-visible img { filter: brightness(.82); }
.person .face--join { background: var(--violet); color: #fff; }
.more-tag {
  position: absolute; left: 50%; bottom: 26px; z-index: 2; transform: translate(-50%, 8px); opacity: 0;
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  background: #fff; color: var(--ink); padding: 11px 16px; border-radius: 99px; box-shadow: 0 8px 24px rgba(0,0,0,.25);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.more-tag::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--violet); }
.person .face:hover .more-tag, .person .face:focus-visible .more-tag { opacity: 1; transform: translate(-50%, 0); }
@media (hover: none) { .more-tag { opacity: 1; transform: translate(-50%, 0); } }

.bio-modal {
  width: min(960px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 0; border-radius: 18px;
  background: var(--white); color: var(--ink); overflow: auto; box-shadow: 0 40px 100px rgba(0,0,0,.4);
}
.bio-modal[open] { display: grid; grid-template-columns: minmax(0, 380px) 1fr; animation: bio-in .35s var(--ease); }
.bio-modal::backdrop { background: rgba(8, 6, 14, .72); backdrop-filter: blur(4px); }
@keyframes bio-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.bio-photo { background: var(--ink); }
.bio-photo--join { background: var(--violet); color: #fff; display: grid; place-items: center; min-height: 320px; }
.bio-photo--join .ini { font: 800 condensed 160px/1 var(--display); }
.bio-text .btn { color: #fff; }
.bio-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; aspect-ratio: 4 / 5; }
.bio-text { padding: clamp(28px, 4vw, 52px); align-self: center; }
.bio-text .role { font: 600 12px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--violet); margin: 0 0 10px; }
.bio-text h3 { font: 800 condensed clamp(38px, 4.4vw, 60px)/.95 var(--display); text-transform: uppercase; margin: 0 0 22px; }
.bio-text p { color: var(--muted); font-size: 16.5px; }
.bio-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--ink); display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0,0,0,.15); }
.bio-close svg { width: 20px; height: 20px; }
.bio-close:hover { background: var(--violet); color: #fff; }
@media (max-width: 700px) {
  .bio-modal[open] { grid-template-columns: 1fr; }
  .bio-photo img { aspect-ratio: 1 / 1; max-height: 42vh; }
}
@media (prefers-reduced-motion: reduce) { .bio-modal[open] { animation: none; } }
.founder { display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.founder .face { aspect-ratio: 4 / 5; border-radius: var(--radius); background: var(--violet); color: #fff; display: grid; place-items: center; position: relative; overflow: hidden; }
.founder .face img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.founder .face .ini { font: 800 condensed clamp(140px, 16vw, 220px)/1 var(--display); }
.founder .face::after { content: ""; position: absolute; inset: 20px; border: 3px solid rgba(255,255,255,.45); border-radius: 30px; }
/* Headshots have little headroom, so instead of a line drawn over the photo (it crossed
   hair), the photo sits inside a solid mat: a complete frame that never touches the image. */
/* Adam's photo: no frame at all, just the rounded photo (user rejected lines over it and a mat
   around it). Team headshots keep the original inset line. */
.founder .face:has(img)::after { display: none; }
.founder .face:has(img) { padding: 0; background: transparent; }

/* ---------- blog ---------- */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 28px; }
.post-card { text-decoration: none; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(20, 0, 60, .35); }
.post-card .art { aspect-ratio: 16 / 9; background: var(--ink); color: var(--violet-lt); display: grid; place-items: center; overflow: hidden; }
.post-card .art img { width: 100%; height: 100%; object-fit: cover; }
.post-card .art .ph { font: 800 condensed 64px/1 var(--display); }
.post-card .txt { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card time, .post-meta { font: 600 12px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.post-card h3 { font: 800 condensed 30px/1.02 var(--display); text-transform: uppercase; }
.post-card p { color: var(--muted); font-size: 15.5px; margin: 0; }
.post-card .more { margin-top: auto; padding-top: 8px; font: 600 12.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--violet); }
.article { max-width: 760px; margin: 0 auto; font-size: 19px; line-height: 1.7; }
.article h2 { font-size: clamp(34px, 4vw, 52px); margin: 1.4em 0 .5em; }
.article img { border-radius: var(--radius); margin: 1.6em 0; }
.article blockquote { margin: 1.6em 0; padding-left: 22px; border-left: 4px solid var(--violet); font-size: 22px; }

/* ---------- careers ---------- */
.jobs { border-top: 1px solid var(--line); }
.job { border-bottom: 1px solid var(--line); }
.job summary { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; padding: 28px 0; cursor: pointer; list-style: none; }
.job summary::-webkit-details-marker { display: none; }
.job h3 { font: 800 condensed clamp(34px, 4vw, 52px)/1 var(--display); text-transform: uppercase; margin-bottom: 8px; transition: color .2s; }
.job summary:hover h3 { color: var(--violet); }
.job summary span { color: var(--muted); font-size: 15px; }
.job-toggle { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--line); position: relative; flex: none; transition: background .2s, border-color .2s; }
.job-toggle::before, .job-toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .3s var(--ease); }
.job-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.job[open] .job-toggle { background: var(--violet); border-color: var(--violet); }
.job[open] .job-toggle::before, .job[open] .job-toggle::after { background: #fff; }
.job[open] .job-toggle::after { transform: translate(-50%, -50%) rotate(0deg); }
.job-body { padding: 0 0 44px; max-width: 1080px; }
.job-body > p { color: var(--muted); max-width: 52em; }
.job-meta { font: 600 12px/1.4 var(--sans) !important; letter-spacing: .14em; text-transform: uppercase; color: var(--violet) !important; }
.job-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 12px 48px; margin: 28px 0 8px; }
.job-cols h4 { font: 800 condensed 26px/1 var(--display); text-transform: uppercase; margin: 18px 0 14px; }
.job-cols ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.job-cols li { position: relative; padding-left: 20px; color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.job-cols li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 2px; background: var(--violet); }
.job-apply { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 32px; padding: 26px; background: var(--paper); border-radius: var(--radius); }
.job-apply p { margin: 0; color: var(--muted); }
.job-eeo { margin: 16px 0 0; font-size: 13.5px; color: var(--muted); }
.empty-card { border: 1.5px dashed var(--line); border-radius: var(--radius); padding: 40px; text-align: center; color: var(--muted); }
.empty-card b { display: block; font: 800 condensed 36px/1 var(--display); text-transform: uppercase; color: var(--ink); margin-bottom: 10px; }

/* ---------- forms ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font: 600 11.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  font: 400 17px/1.4 var(--sans); padding: 15px 16px; border: 1.5px solid var(--line); border-radius: 8px; background: var(--white); color: var(--ink); width: 100%;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(100, 0, 255, .12); }
.form-status { grid-column: 1 / -1; margin: 0; font-weight: 600; }
.check { display: flex; align-items: center; gap: 12px; font-size: 15.5px; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--violet); }
.contact-cards { display: grid; gap: 1px; background: var(--line-dk); border: 1px solid var(--line-dk); border-radius: var(--radius); overflow: hidden; }
.contact-cards > div { background: var(--ink); color: #fff; padding: 26px 28px; }
.contact-cards span { display: block; font: 600 11.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted-dk); margin-bottom: 12px; }
.contact-cards a, .contact-cards p { font: 800 condensed 26px/1.15 var(--display); text-transform: uppercase; text-decoration: none; margin: 0; word-break: break-word; }
.contact-cards a:hover { color: var(--violet-lt); }
.contact-cards a[href^="mailto"] { font: 600 20px/1.3 var(--sans); text-transform: none; }
.contact-cards small { display: block; margin-top: 8px; color: var(--muted-dk); font-size: 14px; }

/* ---------- CTA band ---------- */
.cta-band { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.cta-band { flex-direction: column; align-items: flex-start; }
.cta-band h2 { font-size: clamp(52px, 7.4vw, 124px); max-width: 14em; }

/* ---------- footer ---------- */
.ftr { background: #000; color: #fff; padding: clamp(64px, 8vw, 110px) 0 36px; }
.ftr-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--line-dk); }
.ftr h4 { font: 600 11.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted-dk); margin: 0 0 18px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ftr ul a { text-decoration: none; font-size: 16px; }
.ftr ul a:hover { color: var(--violet-lt); }
.ftr-tag { margin: 24px 0 0; color: var(--muted-dk); max-width: 26em; font-size: 15.5px; }
.ftr-bot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 28px; font-size: 13.5px; color: var(--muted-dk); }
.ftr-bot a { color: var(--muted-dk); }
.ftr-big { font: 800 condensed clamp(64px, 15vw, 250px)/.8 var(--display); text-transform: uppercase; letter-spacing: .005em; margin: 0 0 clamp(40px, 6vw, 80px); color: #fff; white-space: nowrap; }
.ftr-big i { font-style: normal; color: var(--violet-lt); }

/* ---------- gate (landing chooser): no photos — black, massive type, the B mark with a violet aura ---------- */
.gate-body { background: #000; }
.gate {
  position: relative; min-height: 100vh; min-height: 100svh; background: #000; color: #fff; overflow: hidden; isolation: isolate;
  display: grid; grid-template-rows: auto 1fr auto;
}
/* the aura: a slow-breathing violet glow that drifts toward whichever path you hover */
/* Positioned by JS (index.html) at the cursor; --ax/--ay default to the page center. */
/* Sits ABOVE the cards and blends as light (screen), so it shows across them without hiding text. */
.gate-aura { position: absolute; left: 0; top: 0; width: min(72vmax, 1040px); aspect-ratio: 1; transform: translate3d(calc(var(--ax, 50vw) - 50%), calc(var(--ay, 50vh) - 50%), 0); z-index: 3; mix-blend-mode: screen; pointer-events: none; will-change: transform; }
.gate-aura span { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(100, 0, 255, .62), rgba(100, 0, 255, .22) 45%, rgba(100, 0, 255, 0) 72%); filter: blur(30px); animation: aura 7s ease-in-out infinite; opacity: 0; }
.is-ready .gate-aura span { opacity: 1; transition: opacity 2s var(--ease); }
@keyframes aura { 0%, 100% { transform: scale(.88); } 50% { transform: scale(1.06); } }
/* bright core that rides right on the cursor (fades in once the mouse moves) */
.gate-core {
  position: absolute; left: 0; top: 0; width: 340px; aspect-ratio: 1; z-index: 3; pointer-events: none; mix-blend-mode: screen;
  transform: translate3d(calc(var(--ax, 50vw) - 50%), calc(var(--ay, 50vh) - 50%), 0); will-change: transform;
  border-radius: 50%; background: radial-gradient(closest-side, rgba(170, 120, 255, .55), rgba(120, 40, 255, .28) 40%, rgba(100, 0, 255, 0) 75%);
  filter: blur(12px); opacity: 0; transition: opacity .6s var(--ease);
}
[data-glow].is-tracking .gate-core { opacity: 1; }

.gate-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 30px var(--gutter); position: relative; z-index: 2; }
.gate-top p { margin: 0; font: 600 11.5px/1.6 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted-dk); text-align: right; }
.brand--gate .brand-mark { display: none; }
.brand--gate .brand-word { display: flex !important; }
.brand--gate .brand-word b { font-size: 20px; }
.brand--gate .brand-word small { font-size: 10.5px; }

/* Two framed "doors" with the B mark + "or" between them, so it reads as a choice. */
.paths { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; min-height: 0; padding: clamp(8px, 2vh, 24px) var(--gutter) clamp(20px, 4vh, 44px); }
.path {
  position: relative; display: flex; flex-direction: column; justify-content: center; gap: 20px; text-decoration: none; color: #fff;
  padding: clamp(28px, 4vw, 56px); border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .008)); border: 1px solid rgba(255, 255, 255, .13);
  transition: opacity .6s var(--ease), border-color .4s, background .4s, box-shadow .5s var(--ease), transform .5s var(--ease);
}
.path--co { align-items: flex-end; text-align: right; }
.path:hover, .path:focus-visible {
  border-color: rgba(148, 102, 255, .85); background: rgba(100, 0, 255, .1);
  box-shadow: 0 0 0 1px rgba(148, 102, 255, .35), 0 30px 90px -30px rgba(100, 0, 255, .6), inset 0 0 80px rgba(100, 0, 255, .12);
  transform: translateY(-4px);
}/* live availability pill (green = open homes right now) */
.gate-live {
  position: absolute; left: 0; bottom: calc(100% + 20px); white-space: nowrap;
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #fff;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(6px);
  padding: 10px 15px 10px 13px; border-radius: 99px;
}
.gate-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 0 rgba(74, 222, 128, .55); animation: live-ping 2.2s ease-out infinite; }
@keyframes live-ping { 0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(74, 222, 128, 0); } }
@media (prefers-reduced-motion: reduce) { .gate-live::before { animation: none; box-shadow: 0 0 0 4px rgba(74, 222, 128, .25); } }
.path-k { position: relative; display: inline-flex; align-items: center; gap: 12px; font: 600 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted-dk); margin-top: 44px; }
.path-k b { font: 800 condensed 14px/1 var(--display); letter-spacing: .06em; color: var(--violet-lt); }
.path-t {
  display: block; font: 800 condensed clamp(64px, 7.6vw, 150px)/.82 var(--display); text-transform: uppercase; letter-spacing: -.012em;
  transform: translateY(40px); opacity: 0; transition: transform 1.1s var(--ease), opacity 1.1s var(--ease), color .4s;
}
.path--co .path-t { transition-delay: .12s; }
.is-ready .path-t { transform: none; opacity: 1; }
.path-t .nw { white-space: nowrap; }
.path-t .sq { transition: transform .5s var(--ease), background .3s; transform-origin: left bottom; }
.path-d { font-size: 15.5px; color: var(--muted-dk); max-width: 30em; margin: 0; }
/* explicit button so each card says what it does */
.path-cta {
  display: inline-flex; align-self: flex-start; align-items: center; gap: 16px; margin-top: 6px; padding: 7px 7px 7px 24px; border-radius: 99px;
  border: 1.5px solid rgba(255, 255, 255, .28); font: 600 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  transition: background .35s, border-color .35s, color .35s;
}
.path--co .path-cta { align-self: flex-end; flex-direction: row-reverse; padding: 7px 24px 7px 7px; }
.path-go { width: 46px; height: 46px; border-radius: 50%; background: #fff; color: #000; display: grid; place-items: center; flex: none; transition: background .35s, color .35s, transform .45s var(--ease); }
.path-go svg { width: 20px; height: 20px; }
/* hover: the chosen card lights up, the other recedes */
.paths:hover .path:not(:hover) { opacity: .3; }
.path:hover .path-t .sq, .path:focus-visible .path-t .sq { transform: scale(1.6); background: #fff; }
.path:hover .path-cta, .path:focus-visible .path-cta { background: var(--violet); border-color: var(--violet); }
.path:hover .path-go, .path:focus-visible .path-go { transform: translateX(4px); }
.path:hover .path-d, .path:focus-visible .path-d { color: #fff; }

.paths-mid { display: flex; align-items: center; justify-content: center; padding: 0 clamp(18px, 2.4vw, 40px); }
.gate-mark {
  width: clamp(76px, 7.2vw, 124px); aspect-ratio: 1; transform: scale(.85);
  opacity: 0; transition: opacity 1.4s var(--ease), transform 1.4s var(--ease); pointer-events: none;
  filter: drop-shadow(0 0 22px rgba(100, 0, 255, .75)) drop-shadow(0 0 60px rgba(100, 0, 255, .45));
}
.is-ready .gate-mark { opacity: 1; transform: none; }
.gate-mark svg { width: 100%; height: 100%; }

.gate-bot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 22px var(--gutter) 26px; font-size: 13px; color: var(--muted-dk); border-top: 1px solid rgba(255,255,255,.1); position: relative; z-index: 2; }
.gate-bot > span:first-child { font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.gate-bot .sq { background: var(--violet-lt); }
.gate-bot > span:last-child { display: flex; gap: 22px; }
.gate-bot a { color: var(--muted-dk); text-decoration: none; }
.gate-bot a:hover { color: #fff; }
@media (max-width: 1100px) and (min-width: 861px) { .path-t { font-size: clamp(56px, 7.4vw, 100px); } }
@media (max-width: 860px) {
  .paths { grid-template-columns: 1fr; gap: 0; padding-top: 0; padding-bottom: 16px; }
  .gate-bot { padding: 16px var(--gutter) 18px; }
  .path { padding: 20px 20px 22px; gap: 14px; border-radius: 20px; }
  .path-d { display: none; }
  .path-cta { margin-top: 2px; font-size: 12px; padding: 5px 5px 5px 18px; }
  .path-go { width: 40px; height: 40px; }
  .path--co { align-items: flex-start; text-align: left; }
  .path--co .path-cta { align-self: flex-start; flex-direction: row; padding: 7px 7px 7px 20px; }
  .path-t { font-size: clamp(56px, 16vw, 110px); }
  .paths { gap: 14px; }
  .paths-mid { display: none; }
  .path-k { flex-wrap: wrap; row-gap: 14px; margin-top: 0; }
  .gate-live { position: static; flex-basis: 100%; width: max-content; max-width: 100%; font-size: 10.5px; letter-spacing: .08em; padding: 9px 13px 9px 11px; }
  .gate-top { padding-top: 22px; padding-bottom: 14px; }
  .gate-top p { display: none; }
}
@media (hover: none) { .paths:hover .path:not(:hover) { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .gate-aura span { animation: none; } }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hdr-links { display: none; }
  .line-row { grid-template-columns: 1fr 56px; }
  .line-row .n, .line-row p { display: none; }
  .ftr-top { grid-template-columns: 1fr 1fr; }
  .map-wrap { grid-template-columns: 1fr; }
  .map-list { display: flex; overflow-x: auto; max-height: none; }
  .map-list li { flex: 0 0 240px; }
  .map-list li + li { border-top: 0; border-left: 1px solid var(--line-dk); }
  #portfolio-map { height: 480px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps--3 { grid-template-columns: 1fr; }
  .steps--3 .step + .step { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 860px) {
  .menu { grid-template-columns: 1fr; gap: 36px; padding-top: 96px; }
  .menu-side { order: 2; }
  .split, .founder { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats--3 { grid-template-columns: 1fr; }
  .press-item { grid-template-columns: 1fr 44px; gap: 14px 18px; }
  .press-item time { grid-column: 1 / -1; }
  .press-item .go { width: 44px; height: 44px; }
  .table-wrap { overflow-x: auto; }
  table.avail { min-width: 760px; }
  .avail-count { margin-left: 0; width: 100%; }
}
@media (max-width: 600px) {
  :root { --hdr: 66px; }
  .brand-word { display: none; }
  .hdr .btn > span:first-child { padding: 0 12px; font-size: 11px; letter-spacing: .1em; }
  .hdr .btn .arr { display: none; }
  .menu-btn { padding: 0 12px; }
  .menu-btn .lbl { display: none; }
  .form { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step + .step { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .ftr-top { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr 1fr; }
  .facts b { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==================================================================
   Leasing page (renter-first): search → buildings by region + map → building panel
   ================================================================== */
.lease-page { background: var(--paper); }
.lease-top { background: var(--ink); color: #fff; padding: clamp(32px, 5vw, 60px) 0 22px; }
.lease-top .wrap { max-width: none; }
.lease-top h1 { font-size: clamp(48px, 6.4vw, 104px); margin-bottom: clamp(18px, 2.4vw, 28px); }
.lease-search { position: relative; max-width: 760px; }
.lease-search input {
  width: 100%; height: 62px; border: 0; border-radius: 99px; padding: 0 24px 0 56px; background: #fff; color: var(--ink);
  font: 500 18px/1 var(--sans); box-shadow: 0 10px 40px -12px rgba(100, 0, 255, .45);
}
.lease-search input::placeholder { color: #8b8796; }
.lease-search input:focus { outline: none; box-shadow: 0 0 0 4px rgba(148, 102, 255, .55), 0 10px 40px -12px rgba(100, 0, 255, .45); }
.lease-search-ico { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; color: var(--violet); pointer-events: none; }
.lease-search-ico svg { width: 100%; height: 100%; }
.lease-filters { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 18px; }
.lease-filters .filter-group { gap: 8px; }
.lease-top .chip { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .28); }
.lease-top .chip:hover { border-color: #fff; }
.lease-top .chip[aria-pressed="true"] { background: #fff; color: var(--ink); border-color: #fff; }

.lease-body { display: grid; grid-template-columns: minmax(0, 660px) minmax(0, 1fr); align-items: start; }
.lease-list { padding: 22px var(--gutter) 60px; min-width: 0; }
.lease-count { margin: 0 0 6px; font-size: 14px; color: var(--muted); }
.region { margin-top: 18px; }
.region-h { display: flex; align-items: center; gap: 14px; font: 800 condensed 26px/1 var(--display); text-transform: uppercase; letter-spacing: .01em; margin: 10px 0 14px; }
.region-h::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.lcard {
  display: grid; grid-template-columns: 172px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 14px; margin-bottom: 12px;
  background: var(--white); border: 1px solid var(--line); border-radius: 18px; text-decoration: none; color: var(--ink);
  transition: border-color .25s, box-shadow .3s var(--ease), transform .3s var(--ease);
}
.lcard:hover, .lcard.is-hot, .lcard:focus-visible { border-color: var(--violet); box-shadow: 0 18px 40px -24px rgba(60, 0, 160, .45); transform: translateY(-2px); }
.lcard-media { aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--paper); display: grid; place-items: center; }
.lcard-media img { width: 100%; height: 100%; object-fit: cover; }
.lcard-logo { width: 100%; height: 100%; padding: 12px 14px; display: grid; place-items: center; }
.lcard-logo svg { width: 100%; height: 100%; }
.lcard-body { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; min-width: 0; }
.lcard-name { font: 800 condensed 30px/1 var(--display); text-transform: uppercase; margin-top: 4px; }
.lcard-place { font-size: 14.5px; color: var(--muted); margin: 0; }
.lcard-facts { font-size: 14.5px; margin-top: 4px; }
.lcard-facts i { font-style: normal; color: #b4b0bd; margin: 0 8px; }
.lcard-facts .open { color: #157347; font-weight: 700; }
.lcard-facts .full { color: var(--muted); font-weight: 700; }
.lcard-price { font-weight: 600; font-size: 15px; }
.lcard-go { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; transition: background .25s, color .25s, border-color .25s; }
.lcard-go svg { width: 18px; height: 18px; }
.lcard:hover .lcard-go, .lcard.is-hot .lcard-go { background: var(--violet); border-color: var(--violet); color: #fff; }
.lbadge { display: inline-block; font: 700 10.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; padding: 6px 9px; border-radius: 99px; background: var(--violet-wash); color: #4A00C0; }
.lbadge--now { background: #E2F4EA; color: #146B45; }
.lease-empty { background: var(--white); border: 1.5px dashed var(--line); border-radius: 18px; padding: 36px 28px; margin-top: 14px; }
.lease-empty b { display: block; font: 800 condensed 30px/1 var(--display); text-transform: uppercase; margin-bottom: 10px; }
.lease-empty p { color: var(--muted); }
.lease-empty .btn { color: #fff; }

/* isolation keeps Leaflet's internal z-indexes (up to 1000) inside the map, below the menu/header */
.lease-map { isolation: isolate; position: sticky; top: var(--hdr); height: calc(100vh - var(--hdr)); height: calc(100svh - var(--hdr)); }
#lease-map { width: 100%; height: 100%; background: #dcd9d2; }
.mpin-wrap { background: none; border: 0; }
.mpin {
  position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); white-space: nowrap;
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 8px 7px 13px; border-radius: 99px;
  background: #fff; color: var(--ink); font: 700 13px/1 var(--sans); box-shadow: 0 6px 18px rgba(0, 0, 0, .25); border: 1.5px solid #fff;
  transition: background .2s, color .2s, transform .2s var(--ease);
}
.mpin b { display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: var(--violet); color: #fff; font-size: 12px; }
.mpin:not(:has(b)) { padding-right: 13px; }
.mpin.is-hot { background: var(--ink); color: #fff; border-color: var(--ink); transform: translate(-50%, -50%) scale(1.08); }

/* building panel (slides in from the right) */
.bldg {
  position: fixed; inset: 0 0 0 auto; margin: 0 0 0 auto; width: min(560px, 100vw); height: 100vh; height: 100dvh; max-width: 100vw; max-height: none;
  padding: 0; border: 0; background: var(--white); color: var(--ink); box-shadow: -30px 0 80px rgba(0, 0, 0, .3);
}
.bldg[open] { animation: bldg-in .38s var(--ease); }
@keyframes bldg-in { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.bldg::backdrop { background: rgba(8, 6, 14, .55); backdrop-filter: blur(2px); }
.bldg-in { height: 100%; overflow-y: auto; overscroll-behavior: contain; }
.bldg-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.95); color: var(--ink); display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.bldg-close svg { width: 20px; height: 20px; }
.bldg-close:hover { background: var(--violet); color: #fff; }
.bldg-media { aspect-ratio: 16 / 10; background: var(--paper); overflow: hidden; }
.bldg-media img { width: 100%; height: 100%; object-fit: cover; }
.bldg-media.is-logo { display: grid; place-items: center; padding: 34px 40px; aspect-ratio: 16 / 9; }
.bldg-logo { width: 100%; height: 100%; display: grid; place-items: center; }
.bldg-logo svg { width: 100%; height: 100%; max-height: 200px; }
.bldg-body { padding: 26px 28px 40px; }
.bldg-where { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 12px; font-size: 14px; color: var(--muted); }
.bldg-body h2 { font-size: clamp(42px, 5vw, 60px); margin-bottom: 8px; }
.bldg-addr { margin: 0 0 14px; font-weight: 600; }
.bldg-sum { color: var(--muted); margin-bottom: 22px; }
.bldg-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.bldg-call { font-weight: 600; font-size: 15px; text-decoration: none; }
.bldg-call:hover { color: var(--violet); }
.bldg-units-h { font: 700 13px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 24px 0 6px; display: flex; align-items: center; gap: 12px; }
.bldg-units-h .link { font: 600 13px/1 var(--sans); letter-spacing: 0; text-transform: none; color: var(--violet); border: 0; background: none; padding: 0 0 2px; }
.units { list-style: none; margin: 0; padding: 0; }
.unit { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.unit-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.unit-no { font: 800 condensed 22px/1 var(--display); text-transform: uppercase; }
.unit-spec { font-size: 15px; }
.unit-meta { font-size: 13px; color: var(--muted); }
.unit-side { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.unit-price { font-size: 15px; }
.unit-price small { font-weight: 500; color: var(--muted); }
.unit-cta { font: 700 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #fff; background: var(--violet); padding: 10px 14px; border-radius: 99px; text-decoration: none; white-space: nowrap; }
.unit-cta:hover { background: #5200D6; }
.unit--note { display: block; color: var(--muted); }

/* coming soon + help */
.lease-soon { background: var(--white); padding: clamp(48px, 6vw, 80px) 0; border-top: 1px solid var(--line); }
.lease-soon-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.lease-soon-head h2 { font-size: clamp(40px, 4.4vw, 64px); }
.lease-soon-head p { margin: 0; color: var(--muted); max-width: 28em; }
.soon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.soon { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--paper); }
.soon-media { aspect-ratio: 16 / 9; background: var(--violet); display: flex; align-items: flex-end; overflow: hidden; }
.soon-media img { width: 100%; height: 100%; object-fit: cover; }
.soon-media span { padding: 16px; color: #fff; font: 800 condensed 32px/.92 var(--display); text-transform: uppercase; }
.soon-body { padding: 16px 18px 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.soon-body h3 { font: 800 condensed 28px/1 var(--display); text-transform: uppercase; margin-top: 4px; }
.soon-n { margin: 0; font-size: 14.5px; }
.lease-help { background: var(--ink); color: #fff; padding: clamp(44px, 5vw, 70px) 0; }
.lease-help .wrap { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.lease-help h2 { font-size: clamp(38px, 4vw, 58px); margin-bottom: 8px; }
.lease-help p { margin: 0; color: var(--muted-dk); max-width: 30em; }
.lease-help-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
/* on black, the solid button's arrow block gets a white outline to match the outlined button beside it */
.lease-help .btn:not(.btn--ghost) { box-shadow: inset 0 0 0 1.5px #fff; }
.lease-help .btn:not(.btn--ghost) .arr { background: transparent; box-shadow: inset 1.5px 0 0 #fff; }
.lease-help-portal { color: var(--muted-dk); font-size: 14.5px; text-decoration: none; }
.lease-help-portal:hover { color: #fff; }

@media (max-width: 960px) {
  .lease-body { grid-template-columns: 1fr; }
  /* The map always shows: a band above the building list instead of a sticky side panel */
  .lease-map { order: -1; position: relative; top: auto; height: clamp(260px, 42svh, 420px); }
  .lcard { grid-template-columns: 112px minmax(0, 1fr); gap: 14px; padding: 12px; }
  .lcard-go { display: none; }
  .lcard-name { font-size: 25px; }
  .lcard-facts i { margin: 0 5px; }
  .lease-filters { flex-wrap: nowrap; overflow-x: auto; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; scrollbar-width: none; }
  .lease-filters .filter-group { flex-wrap: nowrap; }
  .lease-filters .chip { white-space: nowrap; }
}
@media (max-width: 600px) {
  .lease-search input { height: 54px; font-size: 16px; }
  .bldg-body { padding: 22px 18px 36px; }
  .unit { grid-template-columns: 1fr; }
  .unit-side { flex-direction: row; justify-content: space-between; align-items: center; text-align: left; }
}

/* No logo or photo yet: the company B mark on a light panel (main.js BG_MARK) */
.bmark-ph { width: 100%; height: 100%; display: grid; place-items: center; background: var(--paper); color: var(--ink); }
.bmark { width: 34%; max-width: 132px; height: auto; aspect-ratio: 1; }
.project-art .bmark-ph { position: absolute; inset: 0; }
.logo-tile .bmark-ph { background: transparent; color: #fff; }
.logo-tile .bmark { width: 88px; }
.soon-media .bmark-ph, .lcard-media .bmark-ph, .project-art .bmark-ph, .bldg-media .bmark-ph { color: var(--ink); padding: 0; font: inherit; }
.soon-media .bmark-ph { width: 100%; }
.bldg-media.is-logo .bmark-ph { background: transparent; }
.bldg-media.is-logo .bmark { max-width: 150px; }

/* ================= "Find a home" portal transition =================
   Leaving (main.js): near-black floods out from the click point with a thin violet ring and glow
   on its edge, then the title rises. Arriving (leasing.html): the same black + title cover the
   first frame, then lift away (violet line on the edge) while the search, building list and map
   pins animate in. Skipped for reduced-motion users. (User found an all-violet flood too loud.) */
.portal { position: fixed; inset: 0; z-index: 10000; pointer-events: all; }
/* All three layers grow together; ring and glow are slightly larger, so only a sliver of violet shows. */
.portal-wave { position: absolute; inset: 0; background: var(--ink); clip-path: circle(0px at var(--x) var(--y)); transition: clip-path .54s cubic-bezier(.76, 0, .24, 1); }
.portal-wave--ring { background: var(--violet); }
.portal-wave--glow { background: var(--violet-lt); opacity: .28; }
.portal.is-open .portal-wave { clip-path: circle(var(--r) at var(--x) var(--y)); }
.portal.is-open .portal-wave--ring { clip-path: circle(calc(var(--r) + 14px) at var(--x) var(--y)); }
.portal.is-open .portal-wave--glow { clip-path: circle(calc(var(--r) + 70px) at var(--x) var(--y)); }
.portal-title { position: absolute; inset: 0; display: grid; place-items: center; padding: 0 20px; text-align: center; color: #fff;
  font: 800 condensed clamp(56px, 10vw, 170px)/.98 var(--display); letter-spacing: -.012em;
  opacity: 0; transform: translateY(44px); transition: opacity .3s .24s, transform .5s var(--ease) .24s; }
.portal.is-open .portal-title { opacity: 1; transform: none; }
.portal .sq { background: var(--violet-lt); }
/* Arrival: a glowing violet line rides the bottom edge of the black as it lifts away */
.portal-edge { position: absolute; left: 0; right: 0; top: calc(100% - 3px); height: 3px; background: var(--violet-lt); box-shadow: 0 0 18px 4px rgba(148, 102, 255, .7); animation: portal-edge .72s cubic-bezier(.76, 0, .24, 1) .3s forwards; }
@keyframes portal-edge { to { top: -3px; opacity: .6; } }

.portal--arrive { display: none; pointer-events: none; }
html.portal-arrived .portal--arrive { display: block; }
.portal--arrive .portal-wave { clip-path: inset(0 0 0 0); transition: none; animation: portal-lift .72s cubic-bezier(.76, 0, .24, 1) .3s forwards; }
.portal--arrive .portal-title { opacity: 1; transform: none; transition: none; animation: portal-title-out .42s cubic-bezier(.5, 0, .75, 0) .18s forwards; }
@keyframes portal-lift { to { clip-path: inset(0 0 100% 0); } }
@keyframes portal-title-out { to { opacity: 0; transform: translateY(-70px); } }
@keyframes portal-rise { from { opacity: 0; transform: translateY(38px); } }
@keyframes portal-pin { from { opacity: 0; transform: translate(-50%, -50%) translateY(-34px) scale(.3); } }
html.portal-arrived .lease-top h1 { animation: portal-rise .75s var(--ease) .56s backwards; }
html.portal-arrived .lease-search { animation: portal-rise .75s var(--ease) .64s backwards; }
html.portal-arrived .lease-filters { animation: portal-rise .75s var(--ease) .72s backwards; }
html.portal-arrived .lcard { animation: portal-rise .75s var(--ease) .8s backwards; }
html.portal-arrived .mpin { animation: portal-pin .7s cubic-bezier(.3, 1.55, .5, 1) backwards; animation-delay: calc(1.6s + var(--i, 0) * 140ms); }
@media (prefers-reduced-motion: reduce) { html.portal-arrived .portal--arrive { display: none; } }
/* ================= Easter egg: "Touchdown." (main.js) ================= */
.td { position: fixed; inset: 0; z-index: 10001; pointer-events: none; overflow: hidden; }
.td-ball { position: absolute; left: 0; top: 0; width: clamp(64px, 8vw, 110px); filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .35));
  animation: td-throw 1.15s cubic-bezier(.35, .1, .45, 1) forwards; }
.td-spin { transform-box: fill-box; transform-origin: center; animation: td-spiral .16s linear infinite alternate; }
@keyframes td-throw {
  0%   { transform: translate(-140px, 72vh) rotate(-28deg); }
  50%  { transform: translate(46vw, 10vh) rotate(-4deg); }
  100% { transform: translate(calc(100vw + 140px), 48vh) rotate(24deg); }
}
@keyframes td-spiral { to { transform: scaleY(.55); } }
.td-word { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 0 16px;
  font: 800 condensed clamp(64px, 13vw, 220px)/1 var(--display); text-transform: uppercase; letter-spacing: -.01em;
  color: var(--violet); -webkit-text-stroke: 8px #fff; paint-order: stroke fill; text-shadow: 0 14px 40px rgba(0, 0, 0, .3);
  animation: td-word 2.5s var(--ease) .7s both; }
.td-word .sq { background: var(--violet-lt); box-shadow: 0 0 0 4px #fff; margin-left: .09em; }
@keyframes td-word {
  0%   { opacity: 0; transform: scale(.35) rotate(-8deg); }
  16%  { opacity: 1; transform: scale(1.1) rotate(-3deg); }
  26%  { transform: scale(1) rotate(-3deg); }
  82%  { opacity: 1; transform: scale(1) rotate(-3deg); }
  100% { opacity: 0; transform: scale(1.06) rotate(-3deg); }
}
.td i { position: absolute; top: -24px; left: var(--x); width: var(--s); height: var(--s); background: var(--c);
  animation: td-fall 2.3s cubic-bezier(.2, .6, .4, 1) calc(.8s + var(--d)) both; }
@keyframes td-fall { from { transform: translateY(0) rotate(0); } to { transform: translateY(calc(100vh + 48px)) rotate(var(--r)); } }
@media (prefers-reduced-motion: reduce) { .td-ball, .td i { display: none; } .td-word { animation: none !important; } }
/* ---- Company portal: football → skyline (main.js kind "company"; home.html arrival cover) ---- */
.kick { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(18px, 3vh, 30px); color: #fff; pointer-events: none; }
.kick-stage { position: relative; width: clamp(230px, 34vw, 430px); aspect-ratio: 240 / 140; }
/* The punt: the ball spirals up from below, hangs at the top of its arc, then shrinks away */
.kick .ball { position: absolute; left: 50%; top: 42%; width: 42%; margin: -12.6% 0 0 -21%; filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .5));
  opacity: 0; animation: kick-ball 1.05s cubic-bezier(.2, .7, .3, 1) .12s both; }
@keyframes kick-ball {
  0%   { opacity: 0; transform: translateY(60vh) rotate(-40deg) scale(.6); }
  12%  { opacity: 1; }
  62%  { transform: translateY(0) rotate(-8deg) scale(1); }
  80%  { opacity: 1; transform: translateY(-4px) rotate(0) scale(1.06); }
  100% { opacity: 0; transform: translateY(0) rotate(0) scale(.25); }
}
/* ...and the skyline draws itself where the ball was: towers, spire, then the laces become windows */
.kick .city { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.kick .city path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: kick-draw .5s cubic-bezier(.6, 0, .3, 1) forwards; animation-delay: var(--d, 1s); }
@keyframes kick-draw { to { stroke-dashoffset: 0; } }
.kick-cap { font: 800 condensed clamp(34px, 5vw, 66px)/1 var(--display); letter-spacing: -.01em; opacity: 0; transform: translateY(18px);
  animation: kick-cap .45s var(--ease) 1.18s forwards; }
.kick-cap .sq { background: var(--violet-lt); }
@keyframes kick-cap { to { opacity: 1; transform: none; } }
/* Arrival on home.html: the finished skyline, then it lifts off with the black */
.kick--done .city path { animation: none; stroke-dashoffset: 0; }
.kick--done .kick-cap { animation: none; opacity: 1; transform: none; }
.portal--arrive .kick--done { animation: portal-title-out .42s cubic-bezier(.5, 0, .75, 0) .18s forwards; }
html.portal-arrived .hero--glow .eyebrow { animation: portal-rise .75s var(--ease) .56s backwards; }
html.portal-arrived .hero--glow h1 { animation: portal-rise .75s var(--ease) .64s backwards; }
html.portal-arrived .hero--glow .hero-foot { animation: portal-rise .75s var(--ease) .74s backwards; }.comm-note { margin: 0; font-size: 13.5px; color: var(--muted); }

/* Home "Our buildings": highlights first, the rest behind "See all" */
.logo-tile[hidden] { display: none; }
.logo-more-row { display: flex; justify-content: center; margin-top: 28px; }
.logo-more-row .btn[hidden] { display: none; }
.logo-more .arr svg { transform: rotate(90deg); transition: transform .3s; }
.logo-more.is-open .arr svg { transform: rotate(-90deg); }

/* "Get updates" sign-up inside the building panel (coming-soon projects) */
.unit--form { display: block; border-bottom: 0; padding-top: 6px; }
.upd-form { gap: 14px; }
.upd-lede { margin: 0 0 4px; color: var(--muted); }
.upd-form .opt { text-transform: none; letter-spacing: 0; font-weight: 500; }
.upd-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.upd-form .form-status.is-success { color: var(--violet); }
.upd-form .form-status.is-error { color: #B42318; }
@media (max-width: 560px) { .upd-form { grid-template-columns: 1fr; } }
