/* ============================================================================
   POOOL UI — asset.css (Layer 4: page styles for POOOL Asset.html)
   Page-specific only: gallery, two-column detail layout, sticky invest card,
   documents list, mobile invest bar. All controls come from components.css.
   ============================================================================ */

.ad-main { padding: 24px 0 88px; }
.ad-crumb { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--fg-secondary); text-decoration: none; margin-bottom: 18px; }
.ad-crumb:hover { color: var(--brand-blue); }
.ad-crumbrow { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.ad-crumbrow .ad-crumb { margin-bottom: 0; }
.ad-actions { display: flex; gap: 8px; }

/* Sticky section tabs — the design-system segmented control (.seg), matching
   the style guide and the developer asset page (which already moved to it).
   The inner .wrap IS the seg pill (surface, radius, shadow); each anchor is a
   seg button. Sticky + scroll-spy keeps the active tab tracking the section in
   view as the long detail page scrolls. */
/* Match the content `.wrap` box (max-width + auto margin + 32px padding) so the
   seg pill lines up with the cards below it without adding a full-width backdrop. */
.ad-subnav { position: sticky; top: 72px; z-index: 40; max-width: 1200px; margin: 28px auto 4px; padding: 8px 32px; background: transparent; }
.ad-subnav .wrap { display: inline-flex; gap: 4px; max-width: 100%; overflow-x: auto; scrollbar-width: none; background: var(--bg-surface); border-radius: var(--radius-bar); padding: 5px; box-shadow: var(--shadow-property); }
@media (max-width: 720px) { .ad-subnav { padding: 8px 20px; } }
.ad-subnav .wrap::-webkit-scrollbar { display: none; }
.ad-subnav a { flex: 0 0 auto; display: inline-flex; align-items: center; height: 38px; padding: 0 16px; font-size: 14px; font-weight: 700; color: var(--fg-heading-2); text-decoration: none; border-radius: var(--radius-bar); white-space: nowrap; transition: background .2s ease, color .2s ease; }
.ad-subnav a:hover:not(.on) { background: var(--bg-subtle); }
.ad-subnav a.on { color: var(--brand-blue); background: var(--brand-green-mint); }

/* ── Gallery ───────────────────────────────────────────────────────────── */
.ad-gallery { position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-property); height: clamp(320px, 48vh, 520px); }
.ad-gallery img { width: 100%; height: 100%; object-fit: cover; }
.ad-gallery .acard__badge { position: absolute; top: 18px; left: 18px; }
.ad-gallery__note { position: absolute; left: 18px; bottom: 18px; }

/* ── Two-column detail ─────────────────────────────────────────────────── */
.ad-grid { display: grid; grid-template-columns: minmax(0, 1fr) clamp(360px, 30vw, 420px); gap: 44px; align-items: start; margin-top: 32px; }
.ad-grid > * { min-width: 0; }
.ad-head h1 { font-size: 36px; font-weight: 800; letter-spacing: -.025em; color: var(--fg-heading-2); margin: 6px 0 6px; line-height: 1.1; }
.ad-head .loc { font-size: 15px; font-weight: 600; color: var(--fg-muted); }
.ad-meta { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; color: var(--fg-secondary); margin-top: 14px; flex-wrap: wrap; }
.ad-meta svg { width: 16px; height: 16px; margin-right: 5px; vertical-align: -3px; color: var(--fg-muted); }
.ad-meta .div { width: 1px; height: 14px; background: var(--border); }
.ad-blurb { font-size: 16.5px; line-height: 1.7; color: var(--fg-body); margin: 22px 0 0; max-width: 62ch; }
.ad-section { margin-top: 36px; }
.ad-section > h2 { font-size: 20px; font-weight: 700; color: var(--fg-heading-2); margin: 0 0 14px; }
.ad-card { background: var(--bg-surface); border-radius: var(--radius-card-xl); box-shadow: var(--shadow-property); padding: 20px 24px; }

/* Financials: tabbed, but kept in the same compact card grammar as Documents,
   FAQ and the investment summary rows. */
.finbox { padding: 20px 24px; overflow: hidden; }
.fintabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  margin: 0 0 13px;
  padding: 5px;
  background: var(--bg-surface);
  border-radius: var(--radius-bar);
  box-shadow: var(--shadow-card);
}
.fintabs__tab {
  min-width: 0;
  height: 40px;
  border: 0;
  border-radius: var(--radius-bar);
  background: transparent;
  color: var(--fg-heading-2);
  font-family: var(--font-family);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.fintabs__tab.on { background: var(--brand-green-mint); color: var(--brand-blue); }
.fintabs__tab:not(.on):hover { background: var(--bg-subtle); }
.fintab { padding: 0; }
.finrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px dotted var(--border-strong);
}
.finrow + .finrow { margin-top: 0; }
.finrow--total {
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: 4px;
  border-bottom: 0;
}
.finrow__k {
  min-width: 0;
  font-size: 13.5px;
  font-weight: 400;
  color: var(--fg-secondary);
}
.finrow--total .finrow__k {
  font-weight: 700;
  color: var(--fg-heading-2);
}
.finrow__v {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  flex: none;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--fg-heading-2);
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.finrow--total .finrow__v { color: var(--brand-blue); }
.finrow__info {
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  color: var(--fg-muted);
  font-size: 9.5px;
  font-weight: 700;
  cursor: help;
  line-height: 1;
}
.finfoot {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 14px;
  background: var(--bg-hover);
  color: var(--fg-secondary);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}
.fintab__empty { margin: 0; padding: 0 0 28px; color: var(--fg-secondary); }
@media (max-width: 720px) {
  .finbox { padding: 18px 20px; }
  .fintabs__tab { height: 38px; font-size: 13.5px; }
  .finrow { align-items: flex-start; gap: 10px; }
  .finrow__v { white-space: normal; }
}

/* Long-form overview copy. The asset description often arrives as one pasted
   CMS paragraph, so the page renders it as scan-friendly prose and uses two
   columns only when there is enough inline space. */
.ad-prose {
  margin: 14px 0 0;
  color: var(--fg-body);
  font-size: 15px;
  line-height: 1.72;
  text-wrap: pretty;
}
.ad-prose p { margin: 0; }
.ad-prose p + p { margin-top: 11px; }
.ad-prose a {
  color: var(--brand-blue);
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.ad-prose a:hover,
.ad-prose a:focus-visible { text-decoration: underline; }
.ad-video + .ad-prose { margin-top: 18px; }
@media (min-width: 760px) {
  .ad-prose--long {
    columns: 2;
    column-gap: clamp(26px, 4vw, 44px);
  }
  .ad-prose--long p {
    break-inside: avoid;
  }
}

/* Highlights */
/* One soft panel with stacked icon-rows (reference look): outline icon · bold
   title · muted subtitle, divided by hairlines — not separate shadowed cards. */
.ad-high { display: flex; flex-direction: column; background: var(--bg-hover); border-radius: var(--radius-card-lg); overflow: hidden; }
.ad-high__item { display: flex; gap: 16px; align-items: flex-start; background: transparent; box-shadow: none; border-radius: 0; padding: 17px 20px; }
.ad-high__item + .ad-high__item { border-top: 1px solid var(--border); }
.ad-high__item .ic { width: 40px; height: 40px; flex: none; border-radius: 0; background: transparent; color: var(--fg-heading-2); display: inline-flex; align-items: center; justify-content: center; }
.ad-high__item .ic svg { width: 26px; height: 26px; }
.ad-high__item .t { font-size: 15px; font-weight: 700; color: var(--fg-heading-2); }
.ad-high__item .s { font-size: 13.5px; color: var(--fg-secondary); margin-top: 3px; line-height: 1.55; }

/* How it works — connected process panel matching the asset card language. */
.ad-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: hidden; background: var(--bg-surface); border: 1px solid transparent; border-radius: var(--radius-card-xl); box-shadow: var(--shadow-property); }
.ad-flow__item { min-width: 0; display: grid; align-content: start; gap: 12px; padding: 22px 22px 24px; }
.ad-flow__item + .ad-flow__item { border-left: 1px solid var(--border-soft); }
.ad-flow__top { display: flex; align-items: center; gap: 10px; }
.ad-flow__n { width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex: none; background: var(--brand-green-mint); color: var(--brand-blue); font-size: 14px; font-weight: 900; font-variant-numeric: tabular-nums; }
.ad-flow__label { color: var(--fg-muted); font-size: 11.5px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
.ad-flow h3 { margin: 2px 0 0; color: var(--fg-heading-2); font-size: 16px; font-weight: 800; line-height: 1.25; }
.ad-flow p { margin: 0; color: var(--fg-secondary); font-size: 13.5px; line-height: 1.6; }

/* Walkthrough video frame — 16:9 poster with a play overlay (placeholder until
   a real clip is wired). */
.ad-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-card-xl); overflow: hidden; box-shadow: var(--shadow-property); background: var(--bg-hover); }
.ad-video__poster { width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(.82); }
.ad-video__play { position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--brand-blue); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 24px rgba(0,0,0,.25); }
.ad-video__play svg { width: 30px; height: 30px; margin-left: 3px; }
.ad-video__note { position: absolute; left: 16px; bottom: 14px; color: #fff; font-size: 13px; font-weight: 600; text-shadow: 0 1px 4px rgba(0,0,0,.5); }

/* Documents */
.ad-doc { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px dotted var(--border-strong); text-decoration: none; color: inherit; }
.ad-doc:last-child { border-bottom: 0; }
.ad-doc .fic { width: 38px; height: 38px; flex: none; border-radius: 10px; background: var(--info-bg); color: var(--brand-blue); display: inline-flex; align-items: center; justify-content: center; }
.ad-doc .fic svg { width: 18px; height: 18px; }
.ad-doc .t { flex: 1; min-width: 0; }
.ad-doc .t b { display: block; font-size: 14.5px; color: var(--fg-heading-2); }
.ad-doc .t span { font-size: 12.5px; color: var(--fg-muted); }
.ad-doc .dl { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--fg-muted); font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.ad-doc:hover .dl, .ad-doc:focus-visible .dl { color: var(--brand-blue); }
.ad-doc .dl svg { width: 18px; height: 18px; }
.ad-doc:focus-visible { outline: 2px solid var(--brand-blue); outline-offset: 3px; border-radius: 10px; }
/* Sample rows use public preview PDFs until real investor-visible documents exist. */

/* FAQ — the FAQ markup is shared with the marketing pages (.faqwrap/.faqq),
   which style it large (24px radius, 18px questions, big round blue +icon).
   On the asset page, re-align it to the asset card design language so it
   matches the Documents / Financials cards. Scoped to .ad-main so the
   marketing pages keep their own treatment. */
/* The shared kit gives .faqs `max-width:760px; margin:0 auto`, which centres
   the FAQ card inside the 800px stack — so it sits inset from the left while
   every other section card (Documents/Financials) spans the full width. Reset
   it to full-bleed so all cards share one left edge. */
.ad-main .faqwrap .faqs { max-width: none; margin: 0; background: var(--bg-surface); border: 0; border-radius: var(--radius-card-xl); box-shadow: var(--shadow-property); padding: 4px 24px; }
.ad-main .faqwrap .faqq { border-bottom: 1px dotted var(--border-strong); }
.ad-main .faqwrap .faqq:last-child { border-bottom: 0; }
.ad-main .faqwrap .faqq__q { padding: 16px 0; gap: 12px; font-size: 15px; font-weight: 700; color: var(--fg-heading-2); }
.ad-main .faqwrap .faqq.open .faqq__q { color: var(--brand-blue); }
.ad-main .faqwrap .faqq__q svg { width: 20px; height: 20px; padding: 0; border-radius: 0; background: none; color: var(--fg-muted); }
.ad-main .faqwrap .faqq.open .faqq__q svg { background: none; color: var(--brand-blue); transform: rotate(45deg); }
.ad-main .faqwrap .faqq__a p { font-size: 14px; color: var(--fg-secondary); line-height: 1.6; }
.ad-main .faqwrap .faqq.open .faqq__a { padding: 0 0 18px; }

/* ── Sticky invest card ────────────────────────────────────────────────── */
.ad-invest { position: sticky; top: 96px; background: #fff; border: 1px solid var(--border); border-radius: 24px; box-shadow: 0 18px 48px rgba(0,0,0,.10); padding: 26px; }
.ad-invest__top { min-width: 0; display: grid; gap: 15px; padding-bottom: 18px; margin-bottom: 4px; border-bottom: 1px solid var(--border); }
.ad-invest__price { min-width: 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.ad-invest__eyebrow { display: block; margin-bottom: 4px; color: var(--fg-muted); font-size: 11.5px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
.ad-invest__price .p { display: block; font-size: 34px; font-weight: 900; color: var(--brand-blue); letter-spacing: -.02em; line-height: 1; }
.ad-invest__price .p .per { font-size: 13px; color: var(--fg-muted); font-weight: 700; letter-spacing: 0; }
.ad-invest__funded { flex: none; display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border-radius: var(--radius-pill); background: var(--brand-green-mint); color: var(--brand-blue); font-size: 12px; font-weight: 800; white-space: nowrap; }
.ad-invest__funding { display: grid; gap: 7px; }
.ad-invest .qv__track { margin: 0; height: 7px; }
.ad-invest__left { font-size: 12px; color: var(--fg-muted); margin: 0; line-height: 1.4; }
.ad-step { display: flex; align-items: center; gap: 10px; margin: 8px 0 4px; }
.ad-step button { width: 34px; height: 34px; border: 0; background: var(--bg-hover); border-radius: 50%; font-size: 18px; font-weight: 700; color: var(--fg-heading-2); cursor: pointer; transition: all .15s ease; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.ad-step button:hover:not(:disabled) { background: var(--brand-blue); color: #fff; }
.ad-step button:disabled { opacity: .35; cursor: default; }
.ad-step .n { min-width: 0; flex: 1; text-align: center; font-size: 18px; font-weight: 800; color: var(--fg-heading-2); font-variant-numeric: tabular-nums; }
.ad-step .n small { display: block; font-size: 12px; font-weight: 600; color: var(--fg-muted); }
/* Typeable share count — dashed underline signals editability */
.ad-step--card { min-width: 0; display: grid; grid-template-columns: 42px minmax(0, 1fr) 42px; align-items: center; gap: 12px; margin: 0; padding: 14px; background: linear-gradient(180deg, #fff 0%, #f8fafc 100%); border: 1px solid var(--border); border-radius: 18px; box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 8px 22px rgba(10,13,18,.04); }
.ad-step--card button { width: 42px; height: 42px; background: #fff; border: 1px solid var(--border); box-shadow: 0 6px 16px rgba(10,13,18,.06); color: var(--brand-blue); }
.ad-step__label { display: block; margin-bottom: 3px; color: var(--fg-muted); font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; }
.ad-step__row { min-width: 0; display: flex; align-items: baseline; justify-content: center; gap: 7px; }
.ad-step__in { width: 100%; min-width: 0; box-sizing: border-box; border: 0; border-bottom: 2px dashed var(--border-strong); background: transparent; font-family: var(--font-family); font-size: 34px; font-weight: 900; color: var(--fg-heading-2); text-align: center; padding: 0 0 1px; font-variant-numeric: tabular-nums; transition: border-color .15s ease; appearance: textfield; -moz-appearance: textfield; }
.ad-step__in::-webkit-outer-spin-button, .ad-step__in::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ad-step__in:hover { border-bottom-color: var(--fg-disabled); }
.ad-step__in:focus { outline: 0; border-bottom-style: solid; border-bottom-color: var(--brand-blue); }
.ad-invest__summary { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 14px; border-radius: 16px; background: var(--bg-surface); box-shadow: var(--shadow-card); }
.ad-invest__summary span { color: var(--fg-secondary); font-size: 13px; font-weight: 700; }
.ad-invest__summary strong { color: var(--fg-heading-2); font-size: 18px; font-weight: 900; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ad-invest__top + .kv { margin-top: 14px; }
.ad-chips { display: flex; gap: 8px; margin: 12px 0 2px; }
.ad-chips button { flex: 1; padding: 8px 0; font-size: 12.5px; font-weight: 700; border: 0; background: #fff; box-shadow: var(--shadow-card); border-radius: 99px; color: var(--fg-secondary); cursor: pointer; transition: all .15s ease; }
.ad-chips button:hover { color: var(--brand-blue); box-shadow: var(--shadow-property); }
.ad-chips button.on { background: var(--brand-blue); color: #fff; }
.ad-info { display: inline-flex; width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--border-strong); color: var(--fg-muted); font-size: 9.5px; font-weight: 700; font-style: normal; align-items: center; justify-content: center; margin-left: 5px; vertical-align: 1px; cursor: help; }
.ad-invest .btn { margin-top: 16px; }
.ad-invest__note { font-size: 12px; color: var(--fg-muted); text-align: center; margin-top: 12px; line-height: 1.6; }

/* Mobile invest bar */
.ad-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: rgba(255,255,255,.96); box-shadow: 0 -10px 34px rgba(10,13,18,.14); padding: 13px 18px calc(13px + env(safe-area-inset-bottom)); align-items: center; gap: 16px; backdrop-filter: blur(14px); }
.ad-bar .p { display: flex; align-items: baseline; gap: 3px; min-width: 0; color: var(--brand-blue); font-size: 34px; font-weight: 900; letter-spacing: 0; line-height: .96; white-space: nowrap; }
.ad-bar .p span:last-child { color: var(--fg-muted); font-size: 13px; font-weight: 800; line-height: 1; }
.ad-bar__label { margin-bottom: 3px; color: var(--fg-muted); font-size: 10px; font-weight: 900; letter-spacing: .04em; line-height: 1; text-transform: uppercase; }
.ad-bar__info { flex: 1; min-width: 0; display: grid; gap: 7px; }
.ad-bar__info .qv__track { height: 6px; margin: 0; max-width: 100%; background: var(--bg-hover); }
.ad-bar .btn { flex: 0 0 auto; min-width: 150px; height: 52px; padding: 0 18px; border-radius: 12px; font-size: 16px; font-weight: 900; white-space: nowrap; }

/* Invest bottom sheet — opens from the bar, reuses the full .ad-invest card */
.ad-sheet { position: fixed; inset: 0; z-index: 95; overflow-x: clip; }
.ad-sheet__scrim { position: absolute; inset: 0; background: rgba(10,13,18,.45); animation: ad-fade .25s ease; }
.ad-sheet .ad-invest { display: block; position: absolute; left: 0; right: 0; bottom: 0; top: auto; width: 100%; max-width: 100vw; border-radius: 24px 24px 0 0; box-shadow: 0 -18px 48px rgba(0,0,0,.18); max-height: 86vh; overflow: auto; padding-bottom: calc(26px + env(safe-area-inset-bottom)); animation: ad-sheet-up .3s cubic-bezier(.2,.8,.2,1); }
.ad-sheet__grab { width: 40px; height: 4px; border-radius: 2px; background: var(--border-strong); margin: -8px auto 14px; }
@keyframes ad-sheet-up { from { transform: translateY(40px); opacity: 0; } }
@keyframes ad-fade { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ad-sheet__scrim, .ad-sheet .ad-invest { animation: none; } }

@media (max-width: 980px) {
  .ad-grid { grid-template-columns: 1fr; gap: 28px; }
  .ad-invest { display: none; }
  .ad-bar { display: flex; }
  .ad-main { padding-bottom: 120px; }
  .ad-high { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .ad-head h1 { font-size: 28px; }
  .ad-gallery { border-radius: 18px; height: 280px; }
  .ad-flow { grid-template-columns: 1fr; }
  .ad-flow__item { padding: 20px; }
  .ad-flow__item + .ad-flow__item { border-left: 0; border-top: 1px solid var(--border-soft); }
}
@media (max-width: 640px) {
  .ad-bar { gap: 12px; padding: 13px 14px calc(13px + env(safe-area-inset-bottom)); }
  .ad-bar .p { font-size: 31px; }
  .ad-bar .btn { min-width: 138px; height: 50px; padding: 0 15px; font-size: 15px; }
  .ad-sheet .ad-invest { padding: 22px 18px calc(22px + env(safe-area-inset-bottom)); }
  .ad-invest__top { gap: 13px; padding-bottom: 16px; }
  .ad-invest__price { gap: 12px; }
  .ad-invest__price .p { font-size: 30px; }
  .ad-invest__funded { min-height: 26px; padding: 0 9px; font-size: 11.5px; }
  .ad-step--card { grid-template-columns: 38px minmax(0, 1fr) 38px; gap: 10px; padding: 12px; }
  .ad-step--card button { width: 38px; height: 38px; }
  .ad-step__in { font-size: 30px; }
  .ad-invest__summary { padding: 12px; }
}

/* Investment-type structural items — plain rows inside the same card as the
   strategy lead (divided by hairlines), not a separate grey sub-panel. */
.ad-itype { margin-top: 16px; }
.ad-itype__i { padding: 15px 0; border-top: 1px solid var(--border); }
.ad-itype__i:last-child { padding-bottom: 2px; }
.ad-itype__i .t { font-size: 15px; font-weight: 700; color: var(--fg-heading-2); }
.ad-itype__i .s { font-size: 13.5px; color: var(--fg-secondary); margin-top: 3px; line-height: 1.6; }
/* Investment-type lead heading reads as a normal dark card heading (matching
   the items below it), not the small grey uppercase finlead eyebrow. */
#investment .finlead__k { font-size: 16px; font-weight: 800; text-transform: none; letter-spacing: normal; color: var(--fg-heading-2); }
#investment .finlead__s { font-size: 14px; margin-top: 6px; }

/* Leasing / distribution strategy rows are label + long prose, not short
   values — so override the shared .kv__r .v (bold + nowrap, which truncated
   the descriptions): the title stays emphasised, the description reads as
   normal-weight wrapping body text. */
.kv--lease .kv__r { align-items: flex-start; gap: 24px; }
.kv--lease .kv__r .k { flex: 0 0 38%; font-weight: 700; color: var(--fg-heading-2); }
.kv--lease .kv__r .v { flex: 1; min-width: 0; font-weight: 400; white-space: normal; text-align: left; color: var(--fg-secondary); line-height: 1.6; }
@media (max-width: 640px) {
  .kv--lease .kv__r { flex-direction: column; gap: 4px; }
  .kv--lease .kv__r .k { flex: none; }
}

/* ── Funding timeline ──────────────────────────────────────────────────── */
.ad-tl { position: relative; padding-left: 30px; }
.ad-tl__i { position: relative; padding-bottom: 22px; }
.ad-tl__i:last-child { padding-bottom: 0; }
/* Dot ::before is content-box (the * reset skips pseudo-elements): 14px + 2×2px border = 18px wide, center −21px */
.ad-tl__i:not(:last-child)::after { content: ''; position: absolute; left: -22px; top: 24px; bottom: 0; width: 2px; border-radius: 1px; background: var(--border-soft); }
.ad-tl__i.done::after { background: var(--brand-blue); }
.ad-tl__i::before { content: ''; position: absolute; left: -30px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid var(--border-strong); }
.ad-tl__i.done::before { background: var(--brand-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7' fill='none' stroke='%23fff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 8px 8px no-repeat; border-color: var(--brand-blue); }
.ad-tl__i.now::before { background: var(--brand-green-neon); border-color: var(--brand-blue); animation: ad-tl-pulse 2.4s ease-out infinite; }
@keyframes ad-tl-pulse { 0% { box-shadow: 0 0 0 0 rgba(3,255,136,.35); } 70%, 100% { box-shadow: 0 0 0 9px rgba(3,255,136,0); } }
@media (prefers-reduced-motion: reduce) { .ad-tl__i.now::before { animation: none; box-shadow: 0 0 0 5px rgba(3,255,136,.18); } }
.ad-tl__top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.ad-tl__top b { flex: 1; min-width: 0; font-size: 14.5px; color: var(--fg-heading-2); }
.ad-tl__i.now .ad-tl__top b { color: var(--brand-blue); }
.ad-tl__when { font-size: 12.5px; font-weight: 700; color: var(--fg-disabled); white-space: nowrap; }
.ad-tl__i.now .ad-tl__when { background: var(--brand-green-mint); color: var(--brand-blue); font-size: 11px; padding: 3px 10px; border-radius: 99px; text-transform: uppercase; letter-spacing: .04em; }
.ad-tl__i p { font-size: 13px; color: var(--fg-secondary); margin: 3px 0 0; line-height: 1.5; }
.ad-tl .qv__track { margin-top: 10px; max-width: 320px; }

/* ── Leasing strategy ──────────────────────────────────────────────────── */
.ad-split { display: flex; height: 12px; border-radius: 99px; overflow: hidden; margin: 16px 0 8px; }
.ad-split i:first-child { background: var(--brand-blue); }
.ad-split i:last-child { background: var(--brand-green-mint); }
.ad-split__legend { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 600; color: var(--fg-secondary); }
.ad-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.ad-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--fg-body); background: var(--bg-hover); border-radius: 20px; padding: 7px 14px; white-space: nowrap; }
.ad-chip svg { width: 15px; height: 15px; flex: none; color: var(--fg-secondary); }

/* ── Location ──────────────────────────────────────────────────────────── */
.ad-map { position: relative; aspect-ratio: 4 / 3; width: 100%; border-radius: 16px; background-color: var(--info-bg); background-image: radial-gradient(rgba(0,0,255,.14) 1.2px, transparent 1.7px); background-size: 22px 22px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px; color: var(--brand-blue); margin-bottom: 18px; }
.ad-map svg { width: 36px; height: 36px; }
.ad-map span { font-size: 12.5px; font-weight: 600; color: var(--fg-muted); }
/* Embedded Google map: the iframe fills the .ad-map box (rounded corners
   clipped); a small pill links out to the exact place. */
.ad-map--embed { overflow: hidden; background: none; padding: 0; display: block; }
.ad-map--embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.ad-map__open { position: absolute; right: 10px; bottom: 10px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.95); color: var(--fg-secondary); font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: 999px; box-shadow: 0 1px 4px rgba(16,24,40,.18); text-decoration: none; }
.ad-map__open svg { width: 14px; height: 14px; }
/* Enlarge — opens the fullscreen map modal. Top-right so it never collides with
   the "Open in Google Maps" pill anchored bottom-right. */
.ad-map__expand { position: absolute; left: 10px; bottom: 10px; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; padding: 0; background: rgba(255,255,255,.95); color: var(--brand-blue); border: 0; border-radius: 10px; box-shadow: 0 1px 4px rgba(16,24,40,.18); cursor: pointer; }
.ad-map__expand:hover { background: #fff; }
.ad-map__expand svg { width: 17px; height: 17px; }

/* Fullscreen map modal (the "enlarge" feature). Self-contained vanilla overlay
   so it never touches the photo-gallery Alpine state; toggled by asset.js. */
.ad-mapmodal { position: fixed; inset: 0; z-index: 1200; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(16,24,40,.62); }
.ad-mapmodal.open { display: flex; }
.ad-mapmodal__box { position: relative; width: min(1100px, 100%); height: min(86vh, 760px); background: var(--bg-surface); border-radius: 18px; overflow: hidden; box-shadow: 0 24px 70px rgba(16,24,40,.45); display: flex; flex-direction: column; }
.ad-mapmodal__bar { display: flex; align-items: center; gap: 10px; padding: 13px 14px; border-bottom: 1px solid var(--border-soft); }
.ad-mapmodal__title { flex: 1; min-width: 0; font-size: 15px; font-weight: 700; color: var(--fg-heading-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ad-mapmodal__bar .btn { flex: none; height: 38px; padding: 0 14px; font-size: 13.5px; }
.ad-mapmodal__close { flex: none; width: 38px; height: 38px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 10px; background: var(--bg-hover); color: var(--fg-heading-2); cursor: pointer; }
.ad-mapmodal__close svg { width: 18px; height: 18px; }
.ad-mapmodal iframe { flex: 1; width: 100%; border: 0; display: block; }
@media (max-width: 640px) {
  .ad-mapmodal { padding: 0; }
  .ad-mapmodal__box { height: 100%; border-radius: 0; }
  .ad-mapmodal__title { font-size: 13.5px; }
}

/* ── Developer ─────────────────────────────────────────────────────────── */
.ad-dev { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
/* .ad-dev__av (the developer logo tile) moved to components.css when the
   AMA host card became its third consumer — only the banner-overlap
   variant below stays page-level. */
.ad-dev__n { font-size: 16px; font-weight: 700; color: var(--fg-heading-2); }
/* Instagram/Meta-style verified seal — blue scalloped badge with a white
   check (was a green success pill). The seal inherits `color`, so the
   verified blue is defined once here. */
/* Icon-only verified seal (Instagram/Meta style) — just the blue seal next to
   the name; the label lives in aria-label/title for AT. */
/* Verified badge — on-brand: the seal uses brand blue (via currentColor), the
   inner check is brand neon green. */
.ad-dev__b { display: inline-flex; align-items: center; color: var(--brand-blue); margin-left: 10px; vertical-align: -2px; }
.ad-dev__b svg { flex: none; width: 20px; height: 20px; }
.ad-dev__b svg path + path { fill: var(--brand-green-neon); }
.ad-dev__s { font-size: 13px; color: var(--fg-muted); margin-top: 2px; }

/* Developer card with photo banner, about text and social links (asset page) */
.ad-card--dev { padding: 0; overflow: hidden; }
.ad-dev__banner { position: relative; height: 116px; }
.ad-dev__banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ad-dev__banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,6,24,0) 40%, rgba(4,6,24,.30)); }
.ad-card--dev .ad-dev__in { padding: 0 24px 22px; }
.ad-card--dev .ad-dev { align-items: flex-start; margin: 14px 0 12px; }
.ad-card--dev .ad-dev__av { margin-top: -44px; border: 3px solid #fff; box-shadow: 0 4px 14px rgba(10,13,18,.18); position: relative; z-index: 1; }
.ad-dev__about { font-size: 14px; line-height: 1.65; color: var(--fg-body); margin: 0 0 14px; }

.ad-dev-heading { font-size: 20px !important; font-weight: 700 !important; line-height: 1.25; color: var(--fg-heading-2); margin: 0 0 14px !important; }
.ad-card.ad-card--developer-profile { min-height: 0; padding: 28px 32px 26px; text-align: center; border: 0; border-radius: var(--radius-card-xl); background: var(--bg-surface); box-shadow: var(--shadow-property); }
.ad-dev-profile__avatar-wrap { display: flex; justify-content: center; margin: 0 0 16px; }
.ad-dev-profile__avatar { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(0, 120, 180, .45); background: #000; color: #fff; }
.ad-dev-profile__avatar img { width: 100%; height: 100%; object-fit: contain; display: block; }
.ad-dev-profile__avatar--logo { width: min(180px, 70%); height: 72px; border: 0; border-radius: 0; overflow: visible; background: transparent; }
.ad-dev-profile__avatar--logo img { width: 100%; height: 100%; object-fit: contain; }
.ad-dev-profile__avatar--trinity { background: var(--brand-blue); border-color: var(--brand-blue); }
.ad-dev-profile__avatar--initial { background: var(--bg-hover); border-color: var(--border); color: var(--brand-blue); font-size: 28px; font-weight: 800; }
.ad-dev-profile__name { color: var(--brand-blue); font-size: 22px; font-weight: 900; line-height: 1.15; letter-spacing: .03em; margin: 0; }
.ad-dev-profile__copy { max-width: 58ch; margin: 18px auto 0; color: var(--fg-body); font-size: 15px; line-height: 1.7; }
.ad-dev-profile__copy p { margin: 0 0 8px; }
.ad-dev-profile__copy p:last-child { margin-bottom: 0; }
.ad-dev-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 28px; }
.ad-dev-links__group { min-width: 0; padding: 0; text-align: center; }
.ad-dev-links__label { color: var(--fg-muted); font-size: 15px; font-weight: 600; line-height: 1.2; letter-spacing: 0; margin-bottom: 10px; }
.ad-dev-website { display: inline-flex; align-items: center; justify-content: center; gap: 8px; max-width: 100%; color: var(--brand-blue); text-decoration: none; font-size: 18px; font-weight: 700; line-height: 1.2; }
.ad-dev-website span { overflow-wrap: anywhere; }
.ad-dev-website svg { width: 22px; height: 22px; flex: none; }
.ad-dev-socials { display: inline-flex; justify-content: center; align-items: center; gap: 10px; }
.ad-dev-social { width: 36px; height: 36px; border-radius: 50%; background: transparent; color: var(--brand-blue); display: inline-flex; align-items: center; justify-content: center; text-decoration: none; transition: background .15s ease, color .15s ease; }
.ad-dev-social:hover, .ad-dev-website:hover { color: var(--brand-blue); }
.ad-dev-social:hover { background: var(--info-bg); }
.ad-dev-social svg { width: 22px; height: 22px; }
@media (max-width: 640px) {
  .ad-card.ad-card--developer-profile { padding: 24px 20px; }
  .ad-dev-links { grid-template-columns: 1fr; gap: 20px; }
}

/* ── Risk notification ─────────────────────────────────────────────────── */
.ad-risk { display: flex; gap: 14px; background: var(--warning-bg); border-radius: 20px; padding: 22px 24px; }
.ad-risk .ic { width: 38px; height: 38px; flex: none; border-radius: 10px; background: #fff; color: var(--warning-fg); display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow-card); }
.ad-risk .ic svg { width: 20px; height: 20px; }
.ad-risk h3 { font-size: 15.5px; font-weight: 700; color: var(--warning-fg); margin: 0 0 8px; }
.ad-risk ul { margin: 0; padding-left: 16px; }
.ad-risk li { font-size: 13.5px; color: var(--fg-body); line-height: 1.6; margin: 4px 0; }
.ad-risk a { color: var(--warning-fg); font-weight: 600; }

/* ── Full-width stack below the grid ───────────────────────────────────── */
.ad-stack { max-width: 800px; }

/* ── Signed-in variant (&auth=1): same page inside the app shell ─────────
   Positioning only — the shell has no fixed top nav, so the sticky offsets
   tuned to the 72px MarketNav collapse; the crumb row clears the shell's
   floating action cluster via the shared footprint token (components.css). */
.ad-main--shell { padding-top: 2px; }
.ad-main--shell .wrap {
  max-width: var(--shell-w-wide);
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}
.ad-main--shell .ad-subnav {
  max-width: var(--shell-w-wide);
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}
.ad-main--shell .ad-subnav { top: 0; }
.ad-main--shell .ad-invest { top: 68px; }
@media (min-width: 981px) {
  .ad-main--shell { padding-top: 58px; }
  .ad-main--shell .ad-crumbrow { padding-right: var(--shell-acts-clear, 0px); }
}
@media (max-width: 980px) {
  /* below the sticky shell bar: 44px burger + 2×10px padding + 1px border */
  .ad-main--shell .ad-subnav { top: 65px; }
}

/* Card grammar: transparent border so forced-colors mode paints a boundary
   (see components.css "Card grammar"). */
.ad-card, .ad-high__item { border: 1px solid transparent; }
