/* Strativest immersive (production) — reports-index additions ONLY:
   the spotlight carousel (.immrs scope) and the side subscribe promo (.promo).
   Every selector is scoped so these rules can neither leak into the Library's
   own s3 styles nor be broken by them. Tokens match production values;
   --blue/--rust/--tint/--ease are (re)declared on scope because the Library
   stylesheet does not define them. Motion is enhancement only: without the
   html.jsm gate every card renders as a static, readable list entry. */
.immrs,.promo{
  --paper:#F7F5F0; --white:#FFFFFF; --ink:#161511; --body:#2B2A26;
  --muted:#6F6D66; --line:#E1DDD2; --line-strong:#C9C4B4; --tint:#ECE8DD;
  --blue:#1B2CC1; --rust:#A63A22;
  --sans:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --mono:"IBM Plex Mono",ui-monospace,SFMono-Regular,monospace;
  --ease:cubic-bezier(.22,.61,.21,1);
}

/* anchored scrolls (and the section label) must clear the sticky masthead:
   76px desktop, ~131px when the masthead wraps on phones, plus a buffer */
html{scroll-padding-top:92px}
@media (max-width:700px){ html{scroll-padding-top:148px} }

/* ---------- carousel wrapper / label ---------- */
.immrs{padding:34px 0 6px;font-family:var(--sans);scroll-margin-top:92px}
@media (max-width:700px){ .immrs{scroll-margin-top:148px} }
.immrs-in{max-width:1120px;margin:0 auto;padding:0 28px}
.immrs .label{display:flex;justify-content:space-between;gap:16px;border-bottom:2px solid var(--ink);padding-bottom:14px;margin-bottom:34px}
.immrs .mono{font-family:var(--mono);font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--ink)}
.immrs .label .mono:last-child{color:var(--muted)}

/* ---------- CAROUSEL — spotlight (discrete-step focus carousel) ----------
   Static by default: cards stack as a plain list and each carries its own
   read link. Under html.jsm the stage becomes the spotlight: a wide row,
   then one focused card at centre with blurred ghosts to the right. */
.immrs .spot{position:relative}
.immrs .spot-card{background:var(--white);border:1px solid var(--line-strong);color:var(--ink);max-width:560px;margin:0 auto 18px}
.immrs .spot-card .motif{height:132px;overflow:hidden;border-bottom:1px solid var(--line)}
.immrs .spot-card .motif img{width:100%;height:100%;object-fit:cover;display:block}
.immrs .spot-card .bd{padding:18px 20px 20px}
.immrs .spot-card .mono{color:var(--muted)}
.immrs .spot-card .co{font-size:27px;font-weight:600;line-height:1.15;margin-top:8px;color:var(--ink)}
.immrs .spot-card .co span{color:var(--muted);font-weight:500}
.immrs .spot-card .ind{font-size:13px;color:var(--muted);margin-top:4px}
.immrs .spot-card .go{display:inline-block;margin-top:12px;font-weight:500;color:var(--blue)}
.immrs .chev,.immrs .spot-cap{display:none}
html.jsm .immrs .spot{height:min(62vh,560px);min-height:430px;overflow:hidden}
html.jsm .immrs .spot-card{position:absolute;left:50%;top:44%;width:320px;max-width:80vw;margin:0;cursor:pointer;box-shadow:0 1px 2px rgba(22,21,17,.05);transition:transform .55s var(--ease),opacity .55s var(--ease),filter .55s var(--ease),box-shadow .55s var(--ease)}
html.jsm .immrs .spot-card .go{display:none}
html.jsm .immrs .spot-card.focused{box-shadow:0 24px 60px rgba(22,21,17,.18)}
html.jsm .immrs .spot-card.is-ghost{filter:blur(7px)}
html.jsm .immrs .spot.stepping .spot-card:not(.focused){filter:blur(4px)}
html.jsm .immrs .spot.stepping .spot-card.is-ghost{filter:blur(10px)}
html.jsm .immrs .chev{display:flex;position:absolute;top:44%;transform:translateY(-50%);width:46px;height:46px;border-radius:50%;border:1px solid var(--line-strong);background:transparent;color:var(--muted);cursor:pointer;z-index:12;align-items:center;justify-content:center;opacity:.55;pointer-events:auto;transition:opacity .4s var(--ease)}
html.jsm .immrs .chev svg{width:18px;height:18px}
html.jsm .immrs .chev.prev{left:2px}
html.jsm .immrs .chev.next{right:2px}
html.jsm .immrs .spot-wrap.has-focus .chev{opacity:.9}
/* focused state: chevrons park beside the focused card (card half 160px
   + 46px chevron + 12px clear) instead of on the stage edge / card edge */
html.jsm .immrs .spot-wrap.has-focus .chev.prev{left:calc(50% - 218px)}
html.jsm .immrs .spot-wrap.has-focus .chev.next{right:calc(50% - 218px)}
html.jsm .immrs .chev:hover{opacity:1;color:var(--ink);border-color:var(--ink)}
@media (max-width:560px){
  /* the focused card is scaled down by the layout engine on phones, so the
     stage-edge chevrons clear it; keep them small and tight to the edge */
  html.jsm .immrs .spot-wrap.has-focus .chev{width:38px;height:38px}
  html.jsm .immrs .spot-wrap.has-focus .chev.prev{left:4px}
  html.jsm .immrs .spot-wrap.has-focus .chev.next{right:4px}
}
html.jsm .immrs .spot-cap{display:block;text-align:center;margin-top:2px;min-height:124px;opacity:0;transition:opacity .45s var(--ease)}
html.jsm .immrs .spot-wrap.has-focus .spot-cap{opacity:1}
.immrs .spot-cap .nm{font-size:15px;font-weight:600;letter-spacing:.09em;text-transform:uppercase;color:var(--ink)}
.immrs .spot-cap .pills{margin-top:12px;display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.immrs .pill{display:inline-block;padding:9px 20px;border-radius:999px;font-size:14px;font-weight:500;border:1px solid var(--ink);text-decoration:none}
.immrs .pill.solid{background:var(--ink);color:var(--paper)}
.immrs .pill.line{color:var(--ink);background:transparent}
.immrs .pill:hover{text-decoration:none;background:var(--blue);border-color:var(--blue);color:#fff}
.immrs .spot-cap .grey{margin-top:12px;font-size:13.5px;color:var(--muted);max-width:64ch;margin-left:auto;margin-right:auto}
.immrs .spot-wide-cta{text-align:center;margin-top:2px}
html.jsm .immrs .spot-wrap.has-focus .spot-wide-cta{display:none}
@media (max-width:560px){
  /* phone stage: narrower cards + shorter motif so the wide state can run
     as a complete 2x3 miniature grid (layout engine) with nothing clipped */
  html.jsm .immrs .spot{height:452px;min-height:452px}
  html.jsm .immrs .spot-card{width:262px;top:47%}
  html.jsm .immrs .spot-card .motif{height:96px}
  html.jsm .immrs .spot-card .co{font-size:23px}
  .immrs{padding-top:26px}
}

/* ---------- SUBSCRIBE PROMO (side dock) ---------- */
.promo{position:fixed;right:0;top:50%;transform:translateY(-50%);z-index:55;width:302px;background:var(--paper);border:1px solid var(--line-strong);border-right:none;padding:22px 22px 20px;box-shadow:-8px 0 24px rgba(22,21,17,.06);font-family:var(--sans);color:var(--body)}
.promo .mono{font-family:var(--mono);font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.promo h3{font-size:19px;font-weight:600;color:var(--ink);line-height:1.3;margin-top:10px}
.promo p{font-size:14px;color:var(--muted);margin-top:6px}
.promo .sub-form{display:flex;flex-direction:column;gap:10px;margin-top:16px;flex-wrap:wrap;max-width:640px}
.promo .sub-form input{flex:none;width:100%;border:1px solid var(--line-strong);background:var(--white);padding:13px 16px;font-family:var(--sans);font-size:15.5px;color:var(--ink);border-radius:0}
.promo .sub-form button{background:var(--ink);color:var(--paper);border:1px solid var(--ink);padding:13px 26px;font-size:15px;font-weight:500;cursor:pointer;font-family:var(--sans);width:100%}
.promo .sub-form button:hover{background:var(--blue);border-color:var(--blue)}
.promo .sub-error{color:#9C2B2B;margin-top:12px;font-size:14.5px}
.promo .sub-done{font-size:14.5px;color:var(--ink)}
.promo .x{position:absolute;top:8px;right:8px;background:none;border:none;font-size:19px;line-height:1;color:var(--muted);cursor:pointer;padding:8px;min-width:40px;min-height:40px}
.promo .x:hover{color:var(--ink)}
.promo[hidden]{display:none}
.promo-expand{display:none}
/* Wide-state promo clearance is computed in immersive.js (layout) from live
   rects — capping the row and insetting the next chevron only on widths where
   the docked promo actually overlaps the stage. A flat CSS inset here (the
   former right:314px rule) pushed the chevron onto a card at wide viewports
   where the stage never reaches the promo — live defect, Nov 25. */
@media (max-width:760px){
  /* SLIM BAR: one row — headline, Subscribe button, close — never a sheet */
  .promo{top:auto;bottom:0;right:0;left:0;width:auto;transform:none;border-right:1px solid var(--line-strong);border-bottom:none;display:flex;align-items:center;gap:12px;padding:10px 14px calc(10px + env(safe-area-inset-bottom))}
  .promo .mono{display:none}
  .promo h3{font-size:14.5px;margin:0;flex:1 1 auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;order:1}
  .promo p{display:none}
  .promo .sub-form{display:none}
  .promo.open{flex-wrap:wrap}
  .promo.open .sub-form{display:flex;flex-direction:column;margin-top:12px;flex-basis:100%;order:4}
  .promo .sub-error,.promo .sub-done{flex-basis:100%;order:5}
  .promo-expand{display:inline-block;margin:0;flex:none;order:2;background:var(--ink);color:var(--paper);border:1px solid var(--ink);padding:9px 18px;font-size:14.5px;font-weight:500;cursor:pointer;font-family:var(--sans);min-height:40px}
  .promo.open .promo-expand{display:none}
  .promo .x{position:static;flex:none;order:3;min-width:36px;min-height:36px;padding:6px}
  body:has(.promo:not([hidden])) main{padding-bottom:84px}
}
