/* ===========================================================================
   Allora UI kit look for the investor pages (path C of the allora-ui-kit skill).
   Loaded last, after pitch.css. Looks only: layout and behaviour stay in pitch.css and pitch.js,
   so removing the <link> brings the old look back. The allora.capital header and footer (ac- classes,
   static/allora/) are not restyled here. The PDFs use print.css and are not affected.

   pitch.css tokens name colours (--noxen, --cymaris), so they are left alone; the role tokens
   (--hairline, --muted, --radius, --shadow) take the kit's values, and components are overridden.
   =========================================================================== */

:root{
  --hairline:#DCE7EE;          /* kit border */
  --muted:#5A7486;             /* kit grey text */
  --fill:#E6EFF5;              /* kit grey fill (segment tracks) */
  --ring:#2F8A8A;              /* kit focus ring */
  --sel-bg:#DAF6EF; --sel-ink:#1F6E6E;   /* kit hover / selected */
  --radius:14px;
  --shadow:0 1px 2px rgba(10,37,54,.05);
}

/* ---- Type: weights top out at 600, no Light face, labels in sentence case -------------------- */
b,strong{font-weight:600;}
.hero .lede,.intro,.hub-hero .lede,.res-lead{font-weight:400;}
.eyebrow,.facts h3,.land-l,.m-date,th,.fin-table th,.offer-area,.res-points-list dt,.case-client{
  text-transform:none; letter-spacing:0;}
.eyebrow{font-size:.88rem; font-weight:500;}
.hero .eyebrow{font-size:.92rem;}
.facts h3{font-size:.88rem; font-weight:500;}
.land-l{font-size:.8rem; font-weight:500;}
.m-date{font-size:.82rem; font-weight:600;}
th,.fin-table th{font-size:.8rem; font-weight:500;}
.offer-area{font-size:.86rem; font-weight:500;}
.res-points-list dt{font-size:.86rem; font-weight:600;}
.case-client{font-size:.86rem; font-weight:500;}
.step,.waterfall li:not(:last-child)::after{font-weight:600;}
.sec-no{letter-spacing:.02em; font-weight:500;}

/* Nothing under 12 px */
.kpi-l,.offer-metrics dt,.mini-facts dt,.scen-kpis dt,.filters-bar label,.flow-legend,.offer-tags li,.chip{font-size:.8rem;}
.land-m small,.hero-note,.zoom,.masterplan .zoom{font-size:.78rem;}
.cf-l,.cf-v,.bc-l,.bc-v,.product-card header span,.st-legend,.bc-legend{font-size:.76rem;}

/* ---- Cards: white, 14 px, hairline ring, a whisper of shadow ----------------------------------- */
.card,.type,.ue,.sw,.offer-card,.steps li,.filters-bar,.pbi,.product-card,.gantt,.people li,.loc-note{border-color:var(--hairline);}
.offer-card:hover{transform:translateY(-2px); box-shadow:0 1px 2px rgba(10,37,54,.05),0 14px 36px rgba(10,37,54,.10);}
.map-card,.masterplan,.tour-frame,.video-frame{box-shadow:0 0 0 1px rgba(10,37,54,.06),0 1px 2px rgba(10,37,54,.05);}
.sw{border-top-width:3px;}
.milestones li{border-top-width:2px;}
.facts{border-radius:var(--radius);}

/* ---- Buttons: navy main, white outline second, teal on dark sections --------------------------- */
.btn{min-height:40px; padding:0 1.15rem; font-weight:500; font-size:.92rem; justify-content:center;
  transition:background .15s, box-shadow .15s, color .15s;}
.btn:hover{transform:none; background:var(--noxen-3);}
.btn.ghost{background:#fff; color:var(--noxen); box-shadow:inset 0 0 0 1px var(--hairline);}
.btn.ghost:hover{background:var(--nivelle); box-shadow:inset 0 0 0 1px #C3D3DE;}
.btn.light{background:var(--cymaris); color:#fff;}
.btn.light:hover{background:#4F9696;}
.btn.ghost.light{background:transparent; color:#fff; box-shadow:inset 0 0 0 1px rgba(255,255,255,.35);}
.btn.ghost.light:hover{background:rgba(255,255,255,.08); box-shadow:inset 0 0 0 1px rgba(255,255,255,.6);}
.play{font-weight:500;}
a.chip.pdf-link{font-weight:500;}

/* ---- Segments: grey track, white active (unit-economics phases, scenarios, photo filter, map style) */
.seg,.filters,.map-toggle{display:inline-flex; flex-wrap:nowrap; max-width:100%; overflow-x:auto; scrollbar-width:none; gap:2px; padding:3px; border-radius:999px; background:var(--fill); box-shadow:none;}
.filters{margin-bottom:18px;}
.seg button,.filters .pill,.map-toggle button{min-height:34px; padding:0 .95rem; border-radius:999px; font-size:.86rem; font-weight:500;
  color:var(--muted); background:transparent; box-shadow:none; transition:background .15s, color .15s, box-shadow .15s;}
.seg button:hover,.filters .pill:hover,.map-toggle button:hover{color:var(--noxen); box-shadow:none;}
.seg button.on,.filters .pill.on,.map-toggle button.on{background:#fff; color:var(--noxen); box-shadow:0 1px 2px rgba(10,37,54,.12),0 0 0 1px rgba(10,37,54,.04);}
.map-toggle{box-shadow:0 2px 10px rgba(10,37,54,.18);}
.scen-tabs button{padding:0 1.1rem;}
/* On dark sections (360° views) */
.pano-switch{display:inline-flex; flex-wrap:nowrap; max-width:100%; overflow-x:auto; scrollbar-width:none; gap:2px; padding:3px; border-radius:999px; background:rgba(255,255,255,.08);}
.dark .pano-switch .pill{min-height:34px; padding:0 .95rem; color:rgba(255,255,255,.75); box-shadow:none; font-weight:500;}
.dark .pano-switch .pill:hover{color:#fff; box-shadow:none;}
.dark .pano-switch .pill.on{background:#fff; color:var(--noxen);}

/* Hub feature chips are toggles, not a segment: outline, selected = kit selected colours */
.feature-chips .pill{min-height:32px; padding:0 .85rem; font-size:.84rem; font-weight:500; background:#fff;}
.feature-chips .pill[aria-pressed="true"]{background:var(--sel-bg); color:var(--sel-ink); box-shadow:inset 0 0 0 1px rgba(31,110,110,.35);}
.offer-tags li{font-weight:500;}
.offer-tags li.key{background:var(--noxen); color:#fff;}

/* ---- Inputs and selects --------------------------------------------------------------------- */
.filters-bar select,.fields input,.fields select,.fields textarea{border:1px solid var(--hairline); border-radius:10px; min-height:40px;
  transition:border-color .15s, box-shadow .15s;}
.filters-bar select{background-color:#fff;}
.filters-bar label{font-weight:500; letter-spacing:0;}
.filters-bar select:focus,.fields input:focus,.fields select:focus,.fields textarea:focus,.login-card input[type=password]:focus{
  outline:none; border-color:var(--ring); box-shadow:0 0 0 3px rgba(47,138,138,.22);}
.fields label{font-weight:500;}

/* ---- Tables ---------------------------------------------------------------------------------- */
tbody tr:hover td{background:#F7FBFD;}
.dark tbody tr:hover td{background:inherit;}
tfoot td{font-weight:600;}

/* ---- Focus ring and tap targets -------------------------------------------------------------- */
:where(a,button,summary,select,input,textarea,[tabindex]):focus-visible{outline:2px solid var(--ring); outline-offset:2px; border-radius:6px;}
:where(.dark,.hero,.hub-hero,.res-section,.login-page,.lightbox) :where(a,button,summary):focus-visible{outline-color:var(--claria);}
.btn:focus-visible,.pill:focus-visible,.seg button:focus-visible{border-radius:999px;}
.more a,.filter-clear,.contact-list a,.login-help a,.pbi-bar a,.stat-link span{display:inline-flex; align-items:center; min-height:36px;}
.contact-list dd{display:flex; flex-direction:column; align-items:flex-start;}
.contact-list dd br{display:none;}
.contact-list div{align-items:center; padding:6px 0;}
.residency summary,.res-details summary,.flow-details summary{min-height:36px; display:flex; align-items:center;}
.modal-close{width:40px; height:40px;}

/* ---- Small calm-downs ------------------------------------------------------------------------ */
.pin{animation-duration:3s;}
@media (prefers-reduced-motion:reduce){ .pin{animation:none;} .offer-card:hover{transform:none;} }

/* ---- Zoom viewer (PhotoSwipe) and rolling figures (NumberFlow) ------------------------------- */
.pswp{--pswp-bg:#05121B; --pswp-placeholder-bg:#0A2536;}
.pswp__caption{position:absolute; left:0; right:0; bottom:14px; padding:0 16px; text-align:center;
  color:rgba(255,255,255,.78); font-size:.86rem; pointer-events:none;}
number-flow{--number-flow-char-height:1.15em; font-variant-numeric:tabular-nums; vertical-align:top; margin:-.1515em 0;}
@media (max-width:600px){
  .seg button,.filters .pill,.map-toggle button,.dark .pano-switch .pill{padding:0 .7rem;}
}
