/* Insight Bay article openings v3 (12 Nov 2026). Shared by every blog article.
   The hero becomes two columns on desktop (H1, standfirst and byline on the left, the live figure and its readout panel on
   the right) and stacks on phones with the figure directly under the H1 so it sits in the first screen. Colours are the
   --ib-* dark tokens (the figure is a dark plate in both themes). The host is sized in CSS so the page never shifts when the
   script arrives. Without JavaScript the host shows the plate with a still star field and nothing else; every word of the
   article is untouched. The runtime is assets/js/article-v3.js, the figures are assets/js/article-figs-*.js. */
.ib-art-hero { position: relative; overflow: hidden; }
.ib-art-fig {
  --iba-bg: var(--ib-footer-bg); --iba-fg: #F2EFE8; --iba-soft: #C9C4BB; --iba-mut: #8E8A82; --iba-line: #3F3C36;
  --iba-acc: #E8845E; --iba-gold: #D9B265;
  position: relative; margin-top: 1.25rem; height: 21.25rem; border-radius: 1.25rem; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(1px 1px at 12% 22%, rgba(242,239,232,.55) 50%, transparent 51%),
    radial-gradient(1px 1px at 38% 70%, rgba(242,239,232,.4) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 71% 30%, rgba(242,239,232,.5) 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 78%, rgba(242,239,232,.4) 50%, transparent 51%),
    radial-gradient(120% 90% at 70% 10%, rgba(232,132,94,.16), transparent 60%),
    var(--iba-bg);
  box-shadow: 0 1px 1px rgba(0,0,0,.2), 0 10px 24px -10px rgba(0,0,0,.45), 0 36px 70px -28px rgba(0,0,0,.6);
  border: 1px solid color-mix(in srgb, var(--iba-fg) 9%, transparent);
  color: var(--iba-fg); will-change: transform;
}
[data-theme="dark"] .ib-art-fig { --iba-bg: #0F0E0D; border-color: color-mix(in srgb, var(--iba-fg) 12%, transparent); }
.iba-stage { position: absolute; inset: 0; display: flex; flex-direction: column; }
.iba-view { position: relative; flex: 1 1 auto; min-height: 0; cursor: grab; touch-action: pan-y; }
.iba-view.is-down { cursor: grabbing; }
.iba-view canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.iba-hint { position: absolute; left: .85rem; top: .8rem; padding: .3rem .65rem; border-radius: 999px; font-size: .72rem; font-weight: 600;
  letter-spacing: .01em; color: var(--iba-soft); background: rgba(15,14,13,.55); border: 1px solid rgba(242,239,232,.14);
  pointer-events: none; transition: opacity .5s cubic-bezier(.23,1,.32,1); }
.iba-hint.is-gone { opacity: 0; }
.iba-title { position: absolute; right: .9rem; top: .85rem; font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--iba-mut); pointer-events: none; text-align: right; max-width: 55%; }
.iba-panel { flex: none; display: grid; grid-template-columns: repeat(var(--iba-n, 3), minmax(min-content, 1fr)); gap: 1px; background: rgba(242,239,232,.1);
  border-top: 1px solid rgba(242,239,232,.12); }
.iba-cell { background: rgba(15,14,13,.78); padding: .55rem .8rem .6rem; min-width: 0; }
.iba-k { display: block; font-size: .64rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--iba-mut);
  white-space: normal; line-height: 1.25; }
.iba-v { display: block; margin-top: .15rem; font-size: 1.28rem; font-weight: 700; color: var(--iba-fg); font-variant-numeric: tabular-nums;
  line-height: 1.1; white-space: nowrap; height: 1.1em; overflow: hidden; }
.iba-v.is-acc { color: var(--iba-acc); } .iba-v.is-gold { color: var(--iba-gold); }
.iba-roll { display: inline-flex; vertical-align: top; height: 1.1em; }
.iba-roll .d { display: inline-block; height: 1.1em; overflow: hidden; width: .62em; text-align: center; }
.iba-roll .d i { display: block; font-style: normal; will-change: transform; }
.iba-roll .d b { display: block; font-weight: inherit; height: 1.1em; line-height: 1.1; }
.iba-roll .c { display: inline-block; height: 1.1em; line-height: 1.1; white-space: pre; }
@media (min-width: 62rem) {
  .ib-art-hero .ib-container:has(> .ib-art-fig) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); column-gap: 3rem;
    grid-template-rows: 1fr repeat(5, auto) 1fr; align-items: start; }
  .ib-art-hero .ib-container:has(> .ib-art-fig) > * { grid-column: 1; }
  .ib-art-hero .ib-container:has(> .ib-art-fig) > .ib-art-breadcrumb { grid-row: 2; }
  .ib-art-hero .ib-container:has(> .ib-art-fig) > .ib-eyebrow { grid-row: 3; }
  .ib-art-hero .ib-container:has(> .ib-art-fig) > h1 { grid-row: 4; }
  .ib-art-hero .ib-container:has(> .ib-art-fig) > .ib-art-standfirst { grid-row: 5; }
  .ib-art-hero .ib-container:has(> .ib-art-fig) > .ib-art-byline { grid-row: 6; }
  .ib-art-hero .ib-container:has(> .ib-art-fig) > .ib-art-fig { grid-column: 2; grid-row: 1 / -1; align-self: center; margin-top: 0; height: clamp(27rem, 38vw, 35rem); }
  .ib-art-hero h1 { max-width: none; font-size: clamp(1.9rem, 3.1vw, 2.7rem); }
  .ib-art-hero .ib-art-standfirst { max-width: none; font-size: 1.08rem; }
  .ib-art-hero { padding-top: 3.5rem; }
}
@media (max-width: 61.99rem) { .ib-art-hero { padding-top: 2.75rem; } .ib-art-fig { height: min(23rem, 62vh); } .ib-art-hero .ib-container > .ib-art-fig + .ib-art-standfirst { margin-top: 1.4rem; } }
@media (max-width: 30rem) { .ib-art-hero h1 { font-size: 1.62rem; letter-spacing: -.012em; } .ib-art-hero .ib-eyebrow { font-size: .78rem; letter-spacing: .13em; } .iba-v { font-size: 1.02rem; } .iba-cell { padding: .45rem .6rem .5rem; } .iba-k { font-size: .58rem; } .iba-title { display: none; } }
