/* Insight Bay homepage hero v3 (12 Nov 2026): a live launch built around the Tsiolkovsky rocket equation.
   Colours are the --ib-* tokens only (plus tints mixed from them). The H1 paints at first frame and rises inside a mask
   in CSS alone (0.35 s), so it never waits for JavaScript. Without JavaScript: the copy, a still rocket and the static
   equation card. Reduced motion: hero-v3.js paints one still frame with the numbers; nothing moves. */

/* The hero copy is visible from the first frame, so the swap from the fallback face to Inter must not move it:
   a metric-matched local fallback (Arial scaled to Inter's widths and line box) keeps the layout still. */
@font-face { font-family: 'IB Inter Fallback'; src: local('Arial'), local('ArialMT'); ascent-override: 90.2%; descent-override: 22.48%; line-gap-override: 0%; size-adjust: 110%; }
.ib-home-v3 .hx-copy, .ib-home-v3 .hx-copy *, .ib-home-v3 .hx-panel__label, .ib-home-v3 .hx-eqnote, .ib-home-v3 .hx-read, .ib-home-v3 .hx-read :not(i):not(.hx-r__dvk) { font-family: 'Inter', 'IB Inter Fallback', 'Helvetica Neue', Arial, system-ui, sans-serif; }

.ib-home-v3 .ib-hero {
  --hx-in: cubic-bezier(.23, 1, .32, 1);
  --hx-nav: 4.25rem;
  position: relative; overflow: hidden; isolation: isolate;
  padding: 0;
  min-height: calc(100vh - var(--hx-nav) - 1px);
  min-height: calc(100svh - var(--hx-nav) - 1px);
  display: flex; align-items: center;
  /* tints from the palette */
  --hx-hull-hi: #FFFFFF; --hx-hull: #F3EEE5; --hx-hull-lo: #D2C8B6; --hx-hull-lo2: #B9AE9A;
  --hx-dk: #2C2926; --hx-dk2: #4A4742;
  --hx-acc: var(--ib-accent); --hx-acd: #9E4528;
  --hx-win: #E6DED0; --hx-fu1: #E8A05E; --hx-fu2: var(--ib-accent);
  --hx-gl1: #5B6670; --hx-gl2: #20201E;
  --hx-fl0: #FFFDF8; --hx-fl1: #FFE3B0; --hx-fl2: #E8845E; --hx-fl3: rgba(201,100,66,0);
  --hx-glass-bg: rgba(255,253,248,.72);
  --hx-panel-shadow: 0 1px 1px rgba(32,32,30,.04), 0 6px 14px -6px rgba(32,32,30,.10), 0 30px 60px -24px rgba(32,32,30,.28);
}
html[data-theme="dark"] .ib-home-v3 .ib-hero {
  --hx-hull-hi: #FBF7F0; --hx-hull: #E4DDD1; --hx-hull-lo: #A9A194; --hx-hull-lo2: #7E776C;
  --hx-dk: #0F0E0D; --hx-dk2: #2D2B27;
  --hx-acd: #A9532F;
  --hx-win: #2D2B27; --hx-fu1: #F2B26E; --hx-fu2: var(--ib-accent);
  --hx-gl1: #6E7A84; --hx-gl2: #0E0D0C;
  --hx-fl0: #FFFDF8; --hx-fl1: #FFD9A0; --hx-fl2: #E8845E; --hx-fl3: rgba(232,132,94,0);
  --hx-glass-bg: rgba(30,29,27,.66);
  --hx-panel-shadow: 0 1px 1px rgba(0,0,0,.3), 0 6px 14px -6px rgba(0,0,0,.4), 0 30px 60px -24px rgba(0,0,0,.8);
}
@media (max-width: 767px) { .ib-home-v3 .ib-hero { --hx-nav: 3.75rem; } }

/* a warm light behind the launch, replaces the old aurora */
.ib-home-v3 .ib-hero::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  right: -12%; top: 0; width: 70%; height: 100%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--ib-accent) 13%, transparent), transparent 72%);
}
html[data-theme="dark"] .ib-home-v3 .ib-hero::before { background: radial-gradient(closest-side, color-mix(in srgb, var(--ib-accent) 10%, transparent), transparent 72%); }

.ib-home-v3 .hx-grid {
  position: static; width: 100%;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 0;
  padding-block: 1.25rem 2.25rem;
}

/* ---------- Copy ---------- */
.ib-home-v3 .hx-copy { position: relative; z-index: 3; }
.ib-home-v3 .hx-badge__dot { width: .375rem; height: .375rem; background: var(--ib-accent); border-radius: 999px; display: inline-block; }
.ib-home-v3 .hx-h1 { margin: 1.1rem 0 0; font-size: inherit; letter-spacing: 0; line-height: 1; }
.ib-home-v3 .hx-h1 .ib-subjects { margin-bottom: .9rem; }
.ib-home-v3 .hx-mask { display: block; }
.ib-home-v3 .hx-title {
  display: block; color: var(--ib-accent);
  font-size: clamp(2.3rem, 10vw, 5.6rem); font-weight: 800;
  letter-spacing: -.045em; line-height: .98;
}
.ib-home-v3 .hx-l { white-space: nowrap; }
.ib-home-v3 .hx-lede { margin: 1.4rem 0 0; max-width: 34rem; font-size: 1.06rem; line-height: 1.6; color: var(--ib-ink-soft); }
.ib-home-v3 .hx-ctas { margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.ib-home-v3 .hx-ctas .ib-btn { transform: translate3d(var(--hx-mx, 0px), var(--hx-my, 0px), 0); transition: transform .5s var(--hx-in), background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease; }
.ib-home-v3 .hx-ctas .ib-btn.is-magnet { transition: transform .12s linear, background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease; }
.ib-home-v3 .hx-note { margin: .8rem 0 0; font-size: .875rem; line-height: 1.5; color: var(--ib-ink-muted); max-width: 34rem; }
.ib-home-v3 .hx-grades { margin-top: 1.4rem; font-size: .875rem; color: var(--ib-ink-soft); letter-spacing: .015em; }
.ib-home-v3 .hx-grades strong { color: var(--ib-ink); }

/* Entrance: CSS only, starts at first paint. The title rises inside its line masks and is complete at 0.35 s. */
@keyframes hx-rise { from { transform: translate3d(0, 6px, 0); } to { transform: none; } }
@keyframes hx-up { from { opacity: 0; transform: translate3d(0, 8px, 0); } to { opacity: 1; transform: none; } }
.ib-home-v3 .hx-title { animation: hx-rise .35s var(--hx-in) both; }
.ib-home-v3 .hx-badge { animation: hx-up .45s var(--hx-in) both; }
.ib-home-v3 .hx-h1 .ib-sub { animation: hx-up .5s var(--hx-in) both; }
.ib-home-v3 .hx-h1 .ib-sub:nth-child(1) { animation-delay: .12s; }
.ib-home-v3 .hx-h1 .ib-sub:nth-child(2) { animation-delay: .17s; }
.ib-home-v3 .hx-h1 .ib-sub:nth-child(3) { animation-delay: .22s; }
.ib-home-v3 .hx-h1 .ib-sub:nth-child(4) { animation-delay: .27s; }
.ib-home-v3 .hx-h1 .ib-sub:nth-child(5) { animation-delay: .32s; }
.ib-home-v3 .hx-lede { animation: hx-up .55s var(--hx-in) .2s both; }
.ib-home-v3 .hx-ctas { animation: hx-up .55s var(--hx-in) .28s both; }
.ib-home-v3 .hx-note, .ib-home-v3 .hx-grades { animation: hx-up .55s var(--hx-in) .34s both; }
.ib-home-v3 .hx-panel { animation: hx-up .7s var(--hx-in) .18s both; }

/* ---------- Stage: the sky, the rocket and the instrument ---------- */
.ib-home-v3 .hx-stage { position: relative; z-index: 2; pointer-events: none; }
.ib-home-v3 .hx-sky { position: absolute; z-index: 0; pointer-events: none; container-type: size; }
.ib-home-v3 .hx-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ib-home-v3 .hx-rocket {
  --rk-h: 15rem;
  position: absolute; left: 70%; top: 40%; height: var(--rk-h); width: calc(var(--rk-h) * .2727);
  transform-origin: 50% 45%; transform: translate(-50%, -45%) rotate(-6deg);
}
.ib-home-v3 .hx-rocket.is-live { will-change: transform; }
.ib-home-v3 .hx-rk { display: block; width: 100%; height: 100%; overflow: visible; animation: hx-enter 1.1s cubic-bezier(.33, 1, .68, 1) both, hx-bob 3.4s ease-in-out 1.1s infinite alternate; }
@keyframes hx-enter { from { transform: translate3d(0, 30cqh, 0); } to { transform: translate3d(0, 0, 0); } }
.ib-home-v3 .hx-rocket.is-live .hx-rk { animation: none; }
@keyframes hx-bob { from { transform: translate3d(0, -.18rem, 0); } to { transform: translate3d(0, .18rem, 0); } }

/* rocket paint */
.hx-rk .s-hi { stop-color: var(--hx-hull-hi); } .hx-rk .s-mid { stop-color: var(--hx-hull); }
.hx-rk .s-lo { stop-color: var(--hx-hull-lo); } .hx-rk .s-lo2 { stop-color: var(--hx-hull-lo2); }
.hx-rk .s-acc { stop-color: var(--hx-acc); } .hx-rk .s-acd { stop-color: var(--hx-acd); }
.hx-rk .s-dk { stop-color: var(--hx-dk); } .hx-rk .s-dk2 { stop-color: var(--hx-dk2); }
.hx-rk .s-fu1 { stop-color: var(--hx-fu1); } .hx-rk .s-fu2 { stop-color: var(--hx-fu2); }
.hx-rk .s-gl1 { stop-color: var(--hx-gl1); } .hx-rk .s-gl2 { stop-color: var(--hx-gl2); }
.hx-rk .s-fl0 { stop-color: var(--hx-fl0); } .hx-rk .s-fl1 { stop-color: var(--hx-fl1); }
.hx-rk .s-fl2 { stop-color: var(--hx-fl2); } .hx-rk .s-fl3 { stop-color: var(--hx-fl3); }
.hx-rk .r-hull { fill: url(#hxHull); }
.hx-rk .r-acc { fill: url(#hxAcc); }
.hx-rk .r-accd { fill: var(--hx-acd); }
.hx-rk .r-dk { fill: var(--hx-dk2); }
.hx-rk .r-dk2 { fill: var(--hx-dk); }
.hx-rk .r-dkf { fill: url(#hxDark); }
.hx-rk .r-gold { fill: var(--ib-gold); }
.hx-rk .r-glass { fill: url(#hxGlass); }
.hx-rk .r-glint { fill: none; stroke: var(--hx-hull-hi); stroke-width: 1.3; stroke-linecap: round; opacity: .85; }
.hx-rk .r-line { fill: none; stroke: var(--hx-hull-lo); stroke-width: .7; opacity: .7; }
.hx-rk .r-line2 { fill: none; stroke: var(--hx-dk2); stroke-width: .8; }
.hx-rk .r-win { fill: var(--hx-win); }
.hx-rk .r-fuel { fill: url(#hxFuel); }
.hx-rk .r-winline { fill: none; stroke: var(--hx-dk2); stroke-width: .9; opacity: .55; }
.hx-rk .r-tick { fill: none; stroke: var(--hx-dk2); stroke-width: .9; opacity: .6; }
.hx-rk .hx-flame__outer { fill: url(#hxFlame); }
.hx-rk .hx-flame__core { fill: var(--hx-fl0); opacity: .92; }
.hx-rk .hx-flame__dia { fill: var(--hx-fl1); opacity: .9; }
.hx-rk .hx-flame__in { transform-box: fill-box; transform-origin: 50% 0; animation: hx-flick .14s ease-in-out infinite alternate; }
.hx-rk .hx-flame__core { transform-box: fill-box; transform-origin: 50% 0; animation: hx-flick2 .1s ease-in-out infinite alternate; }
@keyframes hx-flick { from { transform: scale(.97, .93); } to { transform: scale(1.03, 1.05); } }
@keyframes hx-flick2 { from { transform: scale(1, .94); } to { transform: scale(.96, 1.06); } }

/* the instrument */
.ib-home-v3 .hx-panel {
  position: relative; z-index: 2; pointer-events: auto;
  background: var(--hx-glass-bg);
  -webkit-backdrop-filter: blur(16px) saturate(1.15); backdrop-filter: blur(16px) saturate(1.15);
  border: 1px solid var(--ib-line); border-radius: 1.25rem;
  box-shadow: var(--hx-panel-shadow);
  padding: 1.1rem 1.2rem 1.05rem;
  text-align: left;
}
.ib-home-v3 .hx-panel__label { font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--ib-accent); line-height: 1.3; }
.ib-home-v3 .hx-panel .eq--katex { justify-content: flex-start; margin: .95rem 0 .2rem; }
.ib-home-v3 .hx-panel .eq--katex .katex-display { text-align: left; }
.ib-home-v3 .hx-panel .eq--katex .katex-display > .katex { text-align: left; }
.ib-home-v3 .hx-panel .eq--katex .katex { font-size: clamp(1.4rem, 5.6vw, 2.05rem); }
.ib-home-v3 .hx-panel .hx-eqnote { margin: .7rem 0 0; max-width: 24rem; text-align: left; font-size: .8rem; color: var(--ib-ink-muted); }
.hx-panel .hx-t { transition: color .35s ease, text-shadow .35s ease; }
.hx-panel .hx-t.is-lit { color: var(--ib-accent); text-shadow: 0 0 .5em color-mix(in srgb, var(--ib-accent) 45%, transparent); }

/* readouts (injected by hero-v3.js; the space is reserved so nothing shifts when they arrive) */
html.v3-run .ib-home-v3 .hx-read { height: 7.4rem; }
@media (pointer: fine) and (hover: hover) { html.v3-run .ib-home-v3 .hx-read { height: 9.3rem; } }
.hx-read { position: relative; font-variant-numeric: tabular-nums; color: var(--ib-ink-soft); }
.hx-r > * { flex-shrink: 0; }
.hx-r { position: absolute; inset: 0; display: flex; flex-direction: column; gap: .6rem; padding-top: .7rem; border-top: 1px solid var(--ib-line); }
.hx-r__top { display: flex; align-items: center; gap: 1rem; }
.hx-r__row { flex: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .25rem .8rem; font-size: .72rem; line-height: 1.2; }
.hx-r__row > span { display: flex; align-items: baseline; justify-content: space-between; gap: .4rem; border-bottom: 1px dotted var(--ib-line); padding-bottom: .15rem; }
.hx-r__k { color: var(--ib-ink-muted); font-weight: 400; white-space: nowrap; }
.hx-r__k i { font-family: 'KaTeX_Math', 'Times New Roman', serif; font-size: 1.12em; }
.hx-r__k sub { font-size: .72em; }
.hx-r__v { color: var(--ib-ink); font-weight: 600; font-size: .8rem; white-space: nowrap; transition: color .35s ease; }
.hx-r__v.is-lit { color: var(--ib-accent); }
.hx-r__dv { display: flex; align-items: baseline; gap: .35rem; }
.hx-r__dvk { font-family: 'KaTeX_Main', 'Times New Roman', serif; font-size: 1.05rem; color: var(--ib-ink-muted); line-height: 1; }
.hx-r__dvk i { font-family: 'KaTeX_Math', 'Times New Roman', serif; }
.hx-odo { display: inline-flex; font-size: 2.9rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; height: 1em; overflow: hidden; color: var(--ib-ink); transition: color .4s ease; }
.hx-odo.is-orbit { color: var(--ib-accent); }
.hx-odo__c { display: inline-block; width: .6em; height: 1em; overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 78%, transparent 100%); }
.hx-odo__s { display: flex; flex-direction: column; will-change: transform; }
.hx-odo__s span { display: block; height: 1em; text-align: center; }
.hx-odo__p { display: inline-block; width: .24em; text-align: center; }
.hx-r__u { font-size: .78rem; color: var(--ib-ink-muted); }
.hx-g { position: relative; height: 2.6rem; }
.hx-g__st { position: absolute; top: 0; left: 0; display: flex; gap: .35rem; }
.hx-chip { display: inline-flex; align-items: center; gap: .3rem; font-size: .66rem; font-weight: 600; letter-spacing: .02em; padding: .14rem .45rem; border-radius: 999px; border: 1px solid var(--ib-line); color: var(--ib-ink-muted); transition: color .3s ease, border-color .3s ease, background-color .3s ease; white-space: nowrap; }
.hx-chip b { font-weight: 700; color: var(--ib-ink-soft); font-variant-numeric: tabular-nums; }
.hx-chip.is-on { color: var(--ib-accent); border-color: color-mix(in srgb, var(--ib-accent) 55%, transparent); background: color-mix(in srgb, var(--ib-accent) 9%, transparent); }
.hx-chip.is-on b { color: var(--ib-accent); }
.hx-sw { width: .45rem; height: .45rem; border-radius: 2px; display: inline-block; }
.hx-sw--1 { background: var(--ib-ink-soft); } .hx-sw--2 { background: var(--ib-accent); }
.hx-g__bar { position: absolute; left: 0; right: 0; bottom: .2rem; height: .5rem; border-radius: 999px; background: color-mix(in srgb, var(--ib-ink) 8%, transparent); overflow: hidden; }
.hx-g__s1, .hx-g__s2, .hx-g__ghost { position: absolute; top: 0; bottom: 0; left: 0; width: 100%; transform-origin: 0 50%; transform: scaleX(0); }
.hx-g__s1 { background: var(--ib-ink-soft); }
.hx-g__s2 { background: var(--ib-accent); }
.hx-g__ghost { background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--ib-accent) 40%, transparent) 0 4px, transparent 4px 7px); opacity: 0; transition: opacity .25s ease; }
.hx-g.is-plan .hx-g__ghost { opacity: 1; }
.hx-g__tick { position: absolute; bottom: 0; width: 2px; height: .9rem; margin-left: -1px; background: var(--ib-ink); border-radius: 1px; }
.hx-g__tl { position: absolute; top: .05rem; transform: translateX(-50%); font-size: .66rem; font-weight: 700; color: var(--ib-ink); white-space: nowrap; }
.hx-g.is-orbit .hx-g__tick { background: var(--ib-accent); }
.hx-g.is-orbit .hx-g__tl { color: var(--ib-accent); }
.hx-ctl { display: none; align-items: center; gap: .7rem; font-size: .76rem; color: var(--ib-ink-muted); }
@media (pointer: fine) and (hover: hover) { .hx-ctl { display: flex; } }
.hx-ctl__k i { font-family: 'Times New Roman', 'KaTeX_Math', serif; font-size: 1.15em; color: var(--ib-ink-soft); }
.hx-ctl__v { min-width: 3.6rem; text-align: right; color: var(--ib-ink); font-weight: 600; }
.hx-ctl input[type=range] { -webkit-appearance: none; appearance: none; flex: 1; height: 1.4rem; background: transparent; cursor: grab; margin: 0; }
.hx-ctl input[type=range]:active { cursor: grabbing; }
.hx-ctl input[type=range]::-webkit-slider-runnable-track { height: .25rem; border-radius: 999px; background: linear-gradient(90deg, var(--ib-accent) var(--hx-fill, 100%), color-mix(in srgb, var(--ib-ink) 12%, transparent) var(--hx-fill, 100%)); }
.hx-ctl input[type=range]::-moz-range-track { height: .25rem; border-radius: 999px; background: color-mix(in srgb, var(--ib-ink) 12%, transparent); }
.hx-ctl input[type=range]::-moz-range-progress { height: .25rem; border-radius: 999px; background: var(--ib-accent); }
.hx-ctl input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 1.1rem; height: 1.1rem; margin-top: -.43rem; border-radius: 50%; background: var(--ib-card-bg); border: 2px solid var(--ib-accent); box-shadow: 0 2px 8px -2px rgba(32,32,30,.35); transition: transform .2s var(--hx-in); }
.hx-ctl input[type=range]::-moz-range-thumb { width: 1rem; height: 1rem; border-radius: 50%; background: var(--ib-card-bg); border: 2px solid var(--ib-accent); }
.hx-ctl input[type=range]:hover::-webkit-slider-thumb, .hx-ctl input[type=range]:active::-webkit-slider-thumb { transform: scale(1.18); }
.hx-ctl input[type=range]:focus-visible { outline: 2px solid var(--ib-accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- Phones and tablets: the H1 first, the launch under it, then the rest ---------- */
@media (max-width: 959px) {
  .ib-home-v3 .hx-copy { display: contents; }
  .ib-home-v3 .hx-grid > * , .ib-home-v3 .hx-copy > * { min-width: 0; }
  .ib-home-v3 .hx-badge { order: 1; justify-self: start; }
  .ib-home-v3 .hx-h1 { order: 2; position: relative; z-index: 3; }
  .ib-home-v3 .hx-stage { order: 3; margin-top: 1.1rem; padding-right: 36%; min-height: 15.5rem; display: flex; align-items: flex-end; }
  .ib-home-v3 .hx-ctas { order: 4; position: relative; z-index: 3; margin-top: 1.25rem; }
  .ib-home-v3 .hx-note { order: 5; position: relative; z-index: 3; }
  .ib-home-v3 .hx-lede { order: 6; position: relative; z-index: 3; margin-top: 1.1rem; }
  .ib-home-v3 .hx-grades { order: 7; position: relative; z-index: 3; }
  .ib-home-v3 .hx-sky { top: -1.5rem; bottom: -1rem; left: -1.25rem; right: -1.25rem; pointer-events: auto; }
  .ib-home-v3 .hx-rocket { --rk-h: 13.5rem; left: 82%; top: 40%; }
  .ib-home-v3 .hx-panel { width: 100%; padding: .85rem .9rem .8rem; }
  .ib-home-v3 .hx-panel .eq--katex .katex { font-size: 1.28rem; }
  .ib-home-v3 .hx-panel__label { font-size: .58rem; letter-spacing: .1em; }
  html.v3-run .ib-home-v3 .hx-read { height: 10.6rem; }
  .hx-r__top { flex-direction: column; align-items: stretch; gap: .45rem; }
  .hx-odo { font-size: 2.3rem; }
  .hx-g { height: 3.9rem; }
  .hx-g__st { flex-direction: column; gap: .2rem; }
  .ib-home-v3 .hx-panel .hx-eqnote { font-size: .74rem; }
}
@media (max-width: 959px) and (pointer: fine) and (hover: hover) {
  html.v3-run .ib-home-v3 .hx-read { height: 12.7rem; }
}
@media (min-width: 600px) and (max-width: 959px) {
  html.v3-run .ib-home-v3 .hx-read { height: 9.4rem; }
  .hx-g { height: 2.6rem; }
  .hx-g__st { flex-direction: row; gap: .35rem; }
  .ib-home-v3 .hx-stage { padding-right: 42%; min-height: 19rem; }
  .ib-home-v3 .hx-rocket { --rk-h: 17rem; left: 78%; }
}

/* ---------- Desktop: copy left, the launch fills the right half to the edge ---------- */
@media (min-width: 960px) {
  .ib-home-v3 .hx-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); column-gap: 2.5rem; padding-block: 2.5rem 3rem; min-height: inherit; align-items: center; }
  .ib-home-v3 .hx-title { font-size: clamp(3.4rem, 5.1vw, 5.25rem); }
  .ib-home-v3 .hx-lede { font-size: 1.12rem; }
  .ib-home-v3 .hx-stage { position: static; align-self: stretch; display: flex; flex-direction: column; justify-content: flex-end; }
  .ib-home-v3 .hx-sky { top: 0; bottom: 0; right: 0; left: 47%; }
  .ib-home-v3 .hx-rocket { --rk-h: clamp(20rem, 53vh, 31rem); left: 77%; top: 33%; }
  .ib-home-v3 .hx-panel { width: min(100%, 25rem); margin-top: auto; }
}
@media (min-width: 960px) and (max-height: 760px) {
  .ib-home-v3 .hx-title { font-size: clamp(3rem, 4.4vw, 4.4rem); }
  .ib-home-v3 .hx-rocket { --rk-h: 17rem; }
}

/* ---------- Reduced motion: a still composition ---------- */
@media (prefers-reduced-motion: reduce) {
  .ib-home-v3 .hx-title, .ib-home-v3 .hx-badge, .ib-home-v3 .hx-h1 .ib-sub, .ib-home-v3 .hx-lede, .ib-home-v3 .hx-ctas,
  .ib-home-v3 .hx-note, .ib-home-v3 .hx-grades, .ib-home-v3 .hx-panel, .hx-rk, .hx-rk .hx-flame__in, .hx-rk .hx-flame__core { animation: none !important; }
  .ib-home-v3 .hx-ctas .ib-btn { transform: none; }
  .ib-home-v3 .hx-canvas { transition: none; }
  .ib-home-v3 .hx-rocket.is-live, .hx-odo__s { will-change: auto; }
}

/* the canvas arrives after load with a short fade, never a pop */
.ib-home-v3 .hx-canvas { opacity: 0; transition: opacity .6s ease; }
.ib-home-v3 .hx-canvas.is-on { opacity: 1; }
@media (min-width: 960px) {
  .ib-home-v3 .hx-sky { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18%), linear-gradient(180deg, #000 82%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, #000 18%), linear-gradient(180deg, #000 82%, transparent 100%); mask-composite: intersect; }
}
@media (max-width: 959px) {
  .ib-home-v3 .hx-sky { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 86%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 86%, transparent 100%); }
}
@media (min-width: 600px) and (max-width: 959px) and (pointer: fine) and (hover: hover) {
  html.v3-run .ib-home-v3 .hx-read { height: 11.5rem; }
}
