/* =====================================================================
   VELOGIC INTEGRATED REPORT 2026 — DIGITAL THEME  ("Pushing Forward")
   Derived from the print final draft (V7, 29.09.2026)
   Layout idea: full-bleed photographic chapter openers with the forward
   chevron, then calm white reading surfaces with tracked light titles
   pulled along a red rule, navy KPI panels and teal data tiles.
   ===================================================================== */

/* ---------- 1. TOKENS ---------- */
:root {
  /* Brand palette — sampled from the print artwork */
  --vl-navy: #1D3464;        /* primary: headings, panels, table heads   */
  --vl-navy-deep: #14244A;   /* footer, overlays                         */
  --vl-red: #DB3527;         /* chevron red: rules, crumbs, CTAs         */
  --vl-teal: #60C1D1;        /* data tiles, delta arrows                 */
  --vl-teal-soft: #97D7E1;   /* secondary tiles                          */
  --vl-mist: #EDF7F9;        /* tinted reading surface                   */
  --vl-salmon: #F8A686;      /* tertiary data series                     */
  --vl-blue: #4085BF;        /* quaternary data series / links on mist   */

  /* Semantic (light) */
  --bg: #FFFFFF;
  --surface: #F6F8FB;
  --surface-tint: var(--vl-mist);
  --ink: #1F2B45;            /* body text, navy-biased near-black        */
  --ink-soft: #56637C;       /* captions, comparatives                   */
  --heading: var(--vl-navy);
  --title: #766A6A;          /* warm grey of the print section titles */
  --chart-bar: #D9EEF3; --chart-bar-cur: #9DD3DF; --chart-line: #3F84C2; --chart-grid: #E3EAF0; --chart-card: #FFFFFF;
  --rule: #DCE3EC;
  --accent: var(--vl-red);
  --accent-ink: #FFFFFF;
  --panel: var(--vl-navy);
  --panel-ink: #FFFFFF;
  --tile: var(--vl-teal);
  --tile-ink: #0F2347;
  --link: #1D5FA0;
  --focus: #F2A900;
  --shadow: 0 1px 2px rgba(20,36,74,.06), 0 8px 24px rgba(20,36,74,.08);
  --chevron-overlay: rgba(255,255,255,.16);

  /* Type */
  --font-display: "Montserrat", "Avenir Next", "Avenir", "Segoe UI", sans-serif;
  --font-body: "Helvetica Neue", Helvetica, "Hanken Grotesk", Arial, sans-serif;
  --fs-xs: .75rem;  --fs-sm: .875rem; --fs-md: 1rem; --fs-lg: 1.1875rem;
  --fs-xl: clamp(1.375rem, 1.1rem + 1vw, 1.75rem);
  --fs-2xl: clamp(1.75rem, 1.3rem + 2vw, 2.625rem);
  --fs-3xl: clamp(2.25rem, 1.4rem + 3.6vw, 4rem);
  --fs-kpi: clamp(2.25rem, 1.6rem + 2.6vw, 3.75rem);
  --track-title: .03em;      /* measured from 'In Conversation with our Chairman' in print */
  --track-caps: .14em;

  /* Space & shape */
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1240px;
  --measure: 66ch;
  --radius: 10px;            /* the print panels use a soft ~10px corner */
  --header-h: 68px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0C1730; --surface: #12203F; --surface-tint: #142A4C;
    --ink: #E4EBF5; --ink-soft: #A3B1C8; --heading: #DDE8F7; --rule: #253A62;
    --accent: #EF5646; --panel: #1A3060; --panel-ink: #FFFFFF;
    --tile: #4FB3C4; --tile-ink: #08172F; --link: #8CC6F0; --title: #CFC4C4; --chart-bar: rgba(151,215,225,.22); --chart-bar-cur: rgba(151,215,225,.55); --chart-line: #8CC6F0; --chart-grid: #253A62; --chart-card: #12203F;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 30px rgba(0,0,0,.35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0C1730; --surface: #12203F; --surface-tint: #142A4C;
  --ink: #E4EBF5; --ink-soft: #A3B1C8; --heading: #DDE8F7; --rule: #253A62;
  --accent: #EF5646; --panel: #1A3060; --panel-ink: #FFFFFF;
  --tile: #4FB3C4; --tile-ink: #08172F; --link: #8CC6F0; --title: #CFC4C4; --chart-bar: rgba(151,215,225,.22); --chart-bar-cur: rgba(151,215,225,.55); --chart-line: #8CC6F0; --chart-grid: #253A62; --chart-card: #12203F;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 30px rgba(0,0,0,.35);
  color-scheme: dark;
}

/* ---------- 2. BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 56px); -webkit-text-size-adjust: 100%; }
body.ir-theme {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 var(--fs-md)/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--heading); line-height: 1.15; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
body.ir-theme .ir-num, table { font-variant-numeric: tabular-nums lining-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.ir-theme .ir-skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 6px; font-weight: 700; }
body.ir-theme .ir-skip:focus { top: 12px; color: #fff; }

body.ir-theme .ir-wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
body.ir-theme .ir-section { padding-block: clamp(56px, 8vw, 112px); }
body.ir-theme .ir-section--tint { background: var(--surface-tint); }
body.ir-theme .ir-section--surface { background: var(--surface); }
body.ir-theme .ir-stack > * + * { margin-top: 1em; }
body.ir-theme .ir-lead { font-size: var(--fs-lg); color: var(--ink); max-width: var(--measure); line-height: 1.6; }
body.ir-theme .ir-muted { color: var(--ink-soft); }

/* ---------- 3. SIGNATURE TYPE ---------- */
/* Section title: light, tracked Montserrat pulled along a red rule (as "Velogic in Numbers ——") */
body.ir-theme .ir-title {
  display: flex; align-items: baseline; align-items: last baseline; gap: clamp(14px, 1.6vw, 24px);
  font: 300 var(--fs-2xl)/1.15 var(--font-display); letter-spacing: var(--track-title);
  color: var(--title); margin-bottom: clamp(24px, 3vw, 40px);
}
/* thin red rule running from the end of the title, sitting just above the baseline as in print */
body.ir-theme .ir-title::after { content: ""; flex: 1 0 clamp(48px, 22%, 240px); min-width: 48px; height: 1.5px; background: var(--accent); transform: translateY(-.16em); }
body.ir-theme .ir-title--center { justify-content: center; text-align: center; }
body.ir-theme .ir-title--center::after { display: none; }

/* Breadcrumb eyebrow: "Overview ›" with the red chevron */
body.ir-theme .ir-crumb {
  display: inline-flex; align-items: center; gap: .5em;
  font: 500 var(--fs-xs)/1 var(--font-display); letter-spacing: .04em; color: var(--ink-soft); text-decoration: none;
}
body.ir-theme .ir-crumb::after { content: ""; width: .45em; height: .45em; border: solid var(--accent); border-width: 2px 2px 0 0; transform: rotate(45deg); }

body.ir-theme .ir-eyebrow { font: 600 var(--fs-xs)/1.2 var(--font-display); letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--accent); }
body.ir-theme .ir-h3 { font: 700 var(--fs-xl)/1.25 var(--font-display); }
body.ir-theme .ir-subhead { font: 700 var(--fs-sm)/1.3 var(--font-display); letter-spacing: .06em; text-transform: uppercase; color: var(--heading); display: flex; align-items: center; gap: 12px; }
body.ir-theme .ir-subhead::after { content: ""; flex: 1; height: 1.5px; background: var(--accent); max-width: 200px; }
body.ir-theme .ir-red-q { font-weight: 700; color: var(--accent); }

/* ---------- 4. CHEVRON MOTIF ---------- */
body.ir-theme .ir-chev { display: inline-block; width: .55em; height: .9em; flex: none; }
body.ir-theme .ir-chev path { fill: none; stroke: currentColor; stroke-width: 3; }
body.ir-theme .ir-chevron-overlay { position: absolute; pointer-events: none; color: var(--chevron-overlay); }

/* ---------- 5. HEADER & NAV ---------- */
body.ir-theme .ir-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; background: transparent; }
body.ir-theme .ir-progress span { display: block; height: 100%; width: 0; background: var(--vl-red); transition: width .1s linear; }

body.ir-theme .ir-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--rule); transition: background .3s, border-color .3s;
}
body.ir-theme .ir-header--overlay { position: fixed; inset-inline: 0; background: transparent; border-color: transparent; }
body.ir-theme .ir-header--overlay:not(.is-scrolled) { --heading: #fff; --ink: #fff; --ink-soft: rgba(255,255,255,.8); --rule: rgba(255,255,255,.35); }
body.ir-theme .ir-header--overlay.is-scrolled { background: color-mix(in srgb, var(--bg) 94%, transparent); border-color: var(--rule); }
body.ir-theme .ir-header .ir-wrap { height: 100%; display: flex; align-items: center; gap: 20px; }

body.ir-theme .ir-logo { display: inline-flex; flex-direction: column; text-decoration: none; color: var(--heading); line-height: 1; }
body.ir-theme .ir-logo b { font: 800 1.35rem/1 var(--font-display); letter-spacing: .1em; display: inline-flex; align-items: center; gap: .18em; }
body.ir-theme .ir-logo b svg { width: .62em; height: 1em; color: var(--vl-red); }
body.ir-theme .ir-logo b svg path { fill: currentColor; stroke: none; }
body.ir-theme .ir-logo small { font: italic 400 .62rem/1 var(--font-body); color: var(--ink-soft); margin-top: 4px; letter-spacing: .02em; }
body.ir-theme .ir-header__label { font: 300 var(--fs-xs)/1 var(--font-display); letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--ink-soft); padding-left: 20px; border-left: 1px solid var(--rule); }
body.ir-theme .ir-header__spacer { flex: 1; }

body.ir-theme .ir-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 44px; padding: 0 20px;
  border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; text-decoration: none; white-space: nowrap;
  font: 600 var(--fs-sm)/1 var(--font-display); letter-spacing: .02em; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
body.ir-theme .ir-btn--primary { background: var(--vl-red); color: #fff; }
body.ir-theme .ir-btn--primary:hover { background: #B92A1E; color: #fff; }
body.ir-theme .ir-btn--ghost { background: transparent; color: var(--heading); border-color: currentColor; }
body.ir-theme .ir-btn--ghost:hover { color: var(--accent); }
body.ir-theme .ir-btn--light { background: #fff; color: var(--vl-navy); }
body.ir-theme .ir-btn--light:hover { background: var(--vl-mist); color: var(--vl-navy); }
body.ir-theme .ir-btn--outline-light { color: #fff; border-color: rgba(255,255,255,.7); background: transparent; }
body.ir-theme .ir-btn--outline-light:hover { background: rgba(255,255,255,.12); color: #fff; }
body.ir-theme .ir-btn .ir-chev { transition: transform .2s var(--ease); }
body.ir-theme .ir-btn:hover .ir-chev { transform: translateX(3px); }
body.ir-theme .ir-iconbtn { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 999px; border: 1px solid var(--rule); background: transparent; color: var(--heading); cursor: pointer; }
body.ir-theme .ir-iconbtn:hover { border-color: var(--accent); color: var(--accent); }
body.ir-theme .ir-iconbtn svg { width: 20px; height: 20px; }

/* Chapters menu (mega panel) */
body.ir-theme .ir-menu-toggle[aria-expanded="true"] { background: var(--vl-navy); color: #fff; border-color: var(--vl-navy); }
body.ir-theme .ir-mega {
  position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 auto 0; z-index: 49;
  max-height: calc(100dvh - var(--header-h)); overflow-y: auto; background: var(--vl-navy-deep); color: #fff;
  --heading: #fff; --ink-soft: rgba(255,255,255,.72);
  padding-block: 32px 40px; box-shadow: 0 30px 60px rgba(0,0,0,.35);
}
body.ir-theme .ir-mega__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 28px 32px; }
body.ir-theme .ir-mega__ch h3 { font: 700 var(--fs-md)/1.2 var(--font-display); display: flex; gap: 12px; align-items: baseline; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.18); margin-bottom: 10px; }
body.ir-theme .ir-mega__ch h3 span { font-weight: 300; color: var(--vl-teal); font-size: 1.4em; letter-spacing: .02em; }
body.ir-theme .ir-mega__ch h3 a { color: #fff; text-decoration: none; }
body.ir-theme .ir-mega__ch ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
body.ir-theme .ir-mega__ch li a { display: flex; justify-content: space-between; gap: 12px; color: rgba(255,255,255,.85); text-decoration: none; font-size: var(--fs-sm); padding: 5px 0; }
body.ir-theme .ir-mega__ch li a:hover { color: var(--vl-teal-soft); }
body.ir-theme .ir-mega__ch li a small { color: rgba(255,255,255,.5); font-variant-numeric: tabular-nums; }
body.ir-theme .ir-mega__search { display: flex; gap: 12px; align-items: center; margin-bottom: 28px; }
body.ir-theme .ir-mega__search input {
  flex: 1; min-width: 0; height: 48px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08);
  color: #fff; padding: 0 20px; font: 400 var(--fs-md) var(--font-body);
}
body.ir-theme .ir-mega__search input::placeholder { color: rgba(255,255,255,.6); }
body.ir-theme .ir-mega__ch.is-filtered-out, body.ir-theme .ir-mega__ch li.is-filtered-out { display: none; }
body.ir-theme .ir-mega__empty { color: rgba(255,255,255,.7); }

/* ---------- 6. HERO (home) ---------- */
body.ir-theme .ir-hero {
  position: relative; isolation: isolate; color: #fff; overflow: hidden;
  min-height: min(92vh, 860px); display: flex; align-items: flex-end;
  padding-block: calc(var(--header-h) + 64px) clamp(40px, 6vw, 80px);
  background: var(--vl-navy-deep);
}
body.ir-theme .ir-hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transform: scale(1.04); animation: ir-drift 24s var(--ease) both; }
/* Cover video (waves): fades in over the photo once it is playing */
body.ir-theme .ir-hero__video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; pointer-events: none; }
/* With a video the photo is its first frame: keep it still so photo, poster and video line up exactly */
body.ir-theme .ir-hero:has(.ir-hero__video) .ir-hero__img { transform: none; animation: none; }
body.ir-theme .ir-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(10,24,52,.82) 0%, rgba(10,24,52,.55) 38%, rgba(10,24,52,0) 68%),
  linear-gradient(180deg, rgba(10,24,52,.5) 0%, rgba(10,24,52,0) 25%, rgba(10,24,52,0) 60%, rgba(10,24,52,.7) 100%); }
body.ir-theme .ir-hero__vertical { position: absolute; top: calc(var(--header-h) + 32px); left: calc(var(--gutter) - 4px); writing-mode: vertical-rl; font: 300 var(--fs-xs)/1 var(--font-display); letter-spacing: .4em; text-transform: uppercase; opacity: .8; }
body.ir-theme .ir-hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px; }
body.ir-theme .ir-hero__title { font: 300 var(--fs-3xl)/1.06 var(--font-display); letter-spacing: .09em; text-transform: uppercase; color: #fff; }
body.ir-theme .ir-hero__rule { display: block; width: min(420px, 70%); height: 1.5px; background: var(--vl-red); margin: 24px 0 16px; }
body.ir-theme .ir-hero__kicker { font: 300 var(--fs-sm)/1.2 var(--font-display); letter-spacing: .3em; text-transform: uppercase; opacity: .92; }
body.ir-theme .ir-hero__intro { margin-top: 24px; max-width: 54ch; font-size: var(--fs-lg); color: rgba(255,255,255,.9); }
body.ir-theme .ir-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
body.ir-theme .ir-hero__meta { display: grid; gap: 4px; justify-items: end; text-align: right; font-size: var(--fs-xs); color: rgba(255,255,255,.75); }
body.ir-theme .ir-hero__meta strong { font: 600 var(--fs-sm) var(--font-display); color: #fff; }
@keyframes ir-drift { from { transform: scale(1.1) translateX(-1.5%); } to { transform: scale(1.04) translateX(0); } }

/* ---------- 7. CHAPTER OPENER (divider spread) ---------- */
body.ir-theme .ir-opener { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--vl-navy-deep);
  min-height: clamp(520px, 78vh, 760px); display: flex; align-items: flex-end; padding-block: calc(var(--header-h) + 48px) clamp(32px, 5vw, 64px); }
body.ir-theme .ir-opener__img { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; }
body.ir-theme .ir-opener::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(10,24,52,.78) 0%, rgba(10,24,52,.35) 45%, rgba(10,24,52,0) 70%), linear-gradient(0deg, rgba(10,24,52,.6), rgba(10,24,52,0) 40%); }
body.ir-theme .ir-opener__chevron { position: absolute; z-index: -1; right: 6%; top: -12%; height: 124%; width: auto; color: var(--chevron-overlay); }
body.ir-theme .ir-opener__rule-top { position: absolute; top: calc(var(--header-h) + 28px); left: var(--gutter); width: min(30vw, 340px); height: 1.5px; background: var(--vl-red); }
body.ir-theme .ir-opener__body { max-width: 560px; }
body.ir-theme .ir-opener__body h1 { font: 300 var(--fs-2xl)/1.12 var(--font-display); color: #fff; letter-spacing: .01em; }
body.ir-theme .ir-opener__body p { margin-top: 16px; color: rgba(255,255,255,.88); font-size: var(--fs-md); }
body.ir-theme .ir-opener__foot { display: flex; align-items: center; gap: 20px; margin-top: clamp(28px, 4vw, 48px); }
body.ir-theme .ir-opener__foot::before { content: ""; flex: 1; height: 1.5px; background: var(--vl-red); }
body.ir-theme .ir-opener__chapter { font: 300 var(--fs-xl)/1 var(--font-display); letter-spacing: .14em; color: #fff; }
body.ir-theme .ir-opener__no { font: 700 var(--fs-xs)/1 var(--font-display); letter-spacing: var(--track-caps); color: var(--vl-teal-soft); text-transform: uppercase; }

/* ---------- 8. KPIs ---------- */
body.ir-theme .ir-kpi { display: grid; gap: 4px; align-content: start; }
body.ir-theme .ir-kpi__label { font: 700 var(--fs-xs)/1.2 var(--font-body); letter-spacing: .02em; text-transform: uppercase; color: var(--heading); }
body.ir-theme .ir-kpi__label sup { font-size: .72em; font-weight: 700; margin-left: .2em; }
body.ir-theme .ir-kpi__row { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 6px 12px; }
body.ir-theme .ir-kpi__value { font: 800 var(--fs-kpi)/.95 var(--font-display); color: var(--heading); letter-spacing: -.02em; font-variant-numeric: tabular-nums lining-nums; }
body.ir-theme .ir-kpi--sm .ir-kpi__value { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem); }
body.ir-theme .ir-kpi__delta { display: grid; grid-template-columns: auto auto; column-gap: 6px; align-items: center; font-size: var(--fs-xs); line-height: 1.25; color: var(--ink-soft); padding-bottom: 4px; }
body.ir-theme .ir-kpi__delta b { font-weight: 700; color: var(--heading); }
body.ir-theme .ir-kpi__delta i { grid-row: span 2; width: 0; height: 0; border-left: 8px solid transparent; border-right: 8px solid transparent; }
body.ir-theme .ir-kpi__delta[data-dir="down"] i { border-top: 12px solid var(--vl-teal); }
body.ir-theme .ir-kpi__delta[data-dir="up"] i { border-bottom: 12px solid var(--vl-teal); }
body.ir-theme .ir-kpi__delta span { grid-column: 2; }
body.ir-theme .ir-opgroup .ir-kpi__row { flex-direction: column; align-items: flex-start; gap: 4px; }
body.ir-theme .ir-opgroup .ir-kpi__delta { padding-bottom: 0; }

/* Navy panel of KPIs, as the print "Financial performance" block */
body.ir-theme .ir-panel { background: var(--panel); color: var(--panel-ink); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px);
  --heading: #fff; --ink-soft: rgba(255,255,255,.78); }
body.ir-theme .ir-panel .ir-kpi + .ir-kpi { padding-top: 18px; }
body.ir-theme .ir-panel .ir-kpi__value { font-size: clamp(1.9rem, 1.5rem + 1.4vw, 2.6rem); }

/* Teal data tiles, as the S&I / People highlights */
body.ir-theme .ir-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 12px; }
body.ir-theme .ir-tile { background: var(--tile); color: var(--tile-ink); border-radius: var(--radius); padding: 22px 22px 20px; display: grid; gap: 6px; align-content: start; min-height: 168px;
  --heading: var(--tile-ink); --ink-soft: color-mix(in srgb, var(--tile-ink) 72%, transparent); }
body.ir-theme .ir-tile--navy { background: var(--panel); color: #fff; --heading: #fff; --ink-soft: rgba(255,255,255,.75); }
body.ir-theme .ir-tile--soft { background: var(--vl-teal-soft); --tile-ink: #0F2347; color: #0F2347; --heading: #0F2347; }
body.ir-theme .ir-tile--mist { background: var(--surface-tint); color: var(--ink); --heading: var(--heading); --ink-soft: var(--ink-soft); }
body.ir-theme .ir-tile__value { font: 800 clamp(1.75rem, 1.3rem + 1.4vw, 2.4rem)/1 var(--font-display); letter-spacing: -.01em; color: var(--heading); font-variant-numeric: tabular-nums; }
body.ir-theme .ir-tile__value small { font-size: .5em; font-weight: 700; margin-left: .15em; letter-spacing: 0; }
body.ir-theme .ir-tile__label { font-weight: 700; font-size: var(--fs-sm); color: var(--heading); }
body.ir-theme .ir-tile__cmp { font-size: var(--fs-xs); color: var(--ink-soft); }

/* Operational KPI groups with line icons */
body.ir-theme .ir-opgroup { display: grid; gap: 18px; }
body.ir-theme .ir-opgroup__head { display: flex; align-items: center; gap: 14px; }
body.ir-theme .ir-opgroup__head svg { width: 44px; height: 44px; color: var(--heading); flex: none; }
body.ir-theme .ir-opgroup__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 18px 28px; }

/* ---------- 9. CHAPTER NAVIGATOR ---------- */
body.ir-theme .ir-chapters { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 256px), 1fr)); gap: 16px; }
body.ir-theme .ir-chapter-card { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius); color: #fff; text-decoration: none; min-height: 300px;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; background: var(--vl-navy); }
body.ir-theme .ir-chapter-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
body.ir-theme .ir-chapter-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,24,52,.1) 20%, rgba(10,24,52,.88) 100%); transition: background .4s; }
body.ir-theme .ir-chapter-card:hover img { transform: scale(1.06); }
body.ir-theme .ir-chapter-card:hover { color: #fff; }
body.ir-theme .ir-chapter-card__no { font: 300 2.5rem/1 var(--font-display); color: var(--vl-teal-soft); letter-spacing: .02em; }
body.ir-theme .ir-chapter-card__title { font: 600 var(--fs-xl)/1.15 var(--font-display); margin-top: 8px; color: #fff; display: flex; align-items: center; gap: 10px; }
body.ir-theme .ir-chapter-card__title .ir-chev { color: var(--vl-red); transition: transform .25s var(--ease); }
body.ir-theme .ir-chapter-card:hover .ir-chapter-card__title .ir-chev { transform: translateX(5px); }
body.ir-theme .ir-chapter-card__list { list-style: none; padding: 0; margin: 12px 0 0; font-size: var(--fs-xs); color: rgba(255,255,255,.82); display: grid; gap: 2px; }
body.ir-theme .ir-chapter-card__pp { position: absolute; top: 20px; right: 20px; font: 600 var(--fs-xs)/1 var(--font-display); letter-spacing: .08em; padding: 6px 10px; border: 1px solid rgba(255,255,255,.5); border-radius: 999px; }

/* ---------- 10. LEADERSHIP ---------- */
body.ir-theme .ir-leaders { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
body.ir-theme .ir-leader { display: grid; grid-template-rows: auto 1fr; background: var(--bg); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; }
body.ir-theme .ir-leader__photo { position: relative; aspect-ratio: 4 / 3.4; overflow: hidden; background: var(--surface); }
body.ir-theme .ir-leader__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
body.ir-theme .ir-leader__photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--vl-red); }
body.ir-theme .ir-leader__body { padding: 24px; display: flex; flex-direction: column; gap: 14px; }
body.ir-theme .ir-leader__role { font: 600 var(--fs-xs)/1.2 var(--font-display); letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--accent); }
body.ir-theme .ir-leader__quote { font: 500 var(--fs-lg)/1.45 var(--font-display); color: var(--heading); }
body.ir-theme .ir-leader__name { font-size: var(--fs-sm); color: var(--ink-soft); margin-top: auto; }
body.ir-theme .ir-leader__name strong { display: block; color: var(--ink); font-weight: 700; }

/* Pull quote — navy rounded block as used beside the CFIO report */
body.ir-theme .ir-pullquote { background: var(--panel); color: #fff; border-radius: var(--radius); padding: 28px 28px 24px; font: 700 var(--fs-lg)/1.35 var(--font-display); }
body.ir-theme .ir-pullquote cite { display: block; margin-top: 12px; font: 400 var(--fs-xs)/1.3 var(--font-body); font-style: normal; color: rgba(255,255,255,.75); }
body.ir-theme .ir-quote-big { font: 700 var(--fs-xl)/1.3 var(--font-display); color: var(--heading); border-left: 3px solid var(--accent); padding-left: 20px; }

/* ---------- 11. VALUES / CARDS ---------- */
body.ir-theme .ir-values { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
body.ir-theme .ir-value { border-top: 3px solid var(--vl-teal); padding-top: 16px; }
body.ir-theme .ir-value h3 { font: 700 var(--fs-sm)/1.2 var(--font-display); letter-spacing: var(--track-caps); text-transform: uppercase; margin-bottom: 8px; }
body.ir-theme .ir-statement { font: 300 var(--fs-xl)/1.4 var(--font-display); color: var(--heading); max-width: 40ch; }
body.ir-theme .ir-statement b { font-weight: 700; color: var(--accent); }

body.ir-theme .ir-facts { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px 24px; }
body.ir-theme .ir-fact__v { font: 800 var(--fs-2xl)/1 var(--font-display); color: var(--heading); font-variant-numeric: tabular-nums; }
body.ir-theme .ir-fact__l { font-size: var(--fs-sm); color: var(--ink-soft); margin-top: 6px; }

/* Link list for shareholder corner and downloads */
body.ir-theme .ir-linklist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
body.ir-theme .ir-linklist a { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 16px; align-items: center; padding: 18px 4px; border-bottom: 1px solid var(--rule); text-decoration: none; color: var(--heading); }
body.ir-theme .ir-linklist a:hover { color: var(--accent); background: linear-gradient(90deg, var(--surface-tint), transparent); }
body.ir-theme .ir-linklist strong { font: 600 var(--fs-md)/1.3 var(--font-display); display: block; }
body.ir-theme .ir-linklist span { font-size: var(--fs-xs); color: var(--ink-soft); }
body.ir-theme .ir-linklist .ir-chev { color: var(--accent); }
body.ir-theme .ir-pdfchip { display: inline-flex; align-items: center; gap: 6px; font: 600 var(--fs-xs)/1 var(--font-display); letter-spacing: .04em; color: var(--heading); text-decoration: none; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--rule); background: var(--bg); }
body.ir-theme .ir-pdfchip:hover { border-color: var(--accent); color: var(--accent); }
body.ir-theme .ir-pdfchip svg { width: 14px; height: 14px; }

/* ---------- 12. TABLES (print table style) ---------- */
body.ir-theme .ir-table-wrap { overflow-x: auto; border-radius: 6px; }
body.ir-theme .ir-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); min-width: 520px; }
body.ir-theme .ir-table th { background: var(--vl-navy); color: #fff; font: 700 var(--fs-sm)/1.3 var(--font-body); text-align: left; padding: 10px 14px; }
body.ir-theme .ir-table td { padding: 9px 14px; border-bottom: 1px solid var(--rule); }
body.ir-theme .ir-table tbody tr:nth-child(odd) td { background: var(--surface-tint); }
body.ir-theme .ir-table td.num, body.ir-theme .ir-table th.num { text-align: right; }
body.ir-theme .ir-table tfoot td { font-weight: 700; border-top: 2px solid var(--heading); }

/* Comparison bars FY25 vs FY26 (drawn to scale) */
body.ir-theme .ir-bars { display: grid; gap: 18px; }
body.ir-theme .ir-bar { display: grid; grid-template-columns: minmax(90px, 140px) minmax(0, 1fr); gap: 6px 16px; align-items: center; }
body.ir-theme .ir-bar__label { font: 700 var(--fs-xs)/1.2 var(--font-body); text-transform: uppercase; color: var(--heading); grid-row: span 2; }
body.ir-theme .ir-bar__track { position: relative; height: 22px; display: flex; align-items: center; }
body.ir-theme .ir-bar__fill { height: 100%; border-radius: 0 4px 4px 0; background: var(--vl-teal-soft); transform-origin: left; transition: transform 1.1s var(--ease) calc(var(--i, 0) * 90ms); }
body.ir-theme .is-pending .ir-bar__fill { transform: scaleX(0); }
body.ir-theme .ir-bar__val { transition: opacity .5s ease calc(.5s + var(--i, 0) * 90ms); }
body.ir-theme .is-pending .ir-bar__val { opacity: 0; }
body.ir-theme .ir-bar__fill--cur { background: var(--vl-navy); }
:root[data-theme="dark"] body.ir-theme .ir-bar__fill--cur { background: var(--vl-teal); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) body.ir-theme .ir-bar__fill--cur { background: var(--vl-teal); } }
body.ir-theme .ir-bar__val { margin-left: 10px; font-size: var(--fs-xs); white-space: nowrap; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
body.ir-theme .ir-bar__val b { color: var(--heading); }
body.ir-theme .ir-legend { display: flex; gap: 20px; font-size: var(--fs-xs); color: var(--ink-soft); }
body.ir-theme .ir-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }

/* ---------- 13. ARTICLE LAYOUT (chapter pages) ---------- */
body.ir-theme .ir-subnav { position: sticky; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); z-index: 40; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
body.ir-theme .ir-subnav .ir-wrap { display: flex; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none; min-height: 52px; }
body.ir-theme .ir-subnav .ir-wrap::-webkit-scrollbar { display: none; }
body.ir-theme .ir-subnav__ch { font: 300 var(--fs-sm)/1 var(--font-display); letter-spacing: .08em; color: var(--ink-soft); white-space: nowrap; padding-right: 12px; margin-right: 4px; border-right: 1px solid var(--rule); }
body.ir-theme .ir-subnav a { white-space: nowrap; text-decoration: none; color: var(--ink-soft); font: 600 var(--fs-sm)/1 var(--font-display); padding: 10px 12px; border-radius: 999px; }
body.ir-theme .ir-subnav a:hover { color: var(--heading); }
body.ir-theme .ir-subnav a.is-active { color: #fff; background: var(--vl-navy); }

body.ir-theme .ir-article { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 320px); gap: clamp(32px, 5vw, 72px); align-items: start; }
body.ir-theme .ir-article__main { min-width: 0; }
body.ir-theme .ir-article__main > * + * { margin-top: 1.1em; }
body.ir-theme .ir-article__main h3 { font: 700 var(--fs-lg)/1.3 var(--font-display); color: var(--heading); margin-top: 1.8em; }
body.ir-theme .ir-article__main p { max-width: var(--measure); }
body.ir-theme .ir-article__aside { position: sticky; top: calc(var(--header-h) + 76px); display: grid; gap: 16px; }
body.ir-theme .ir-portrait { border-radius: var(--radius); overflow: hidden; position: relative; aspect-ratio: 4/5; background: var(--surface); }
body.ir-theme .ir-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
body.ir-theme .ir-portrait figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; color: #fff; background: linear-gradient(0deg, rgba(10,24,52,.9), rgba(10,24,52,0)); font-size: var(--fs-sm); }
body.ir-theme .ir-portrait figcaption strong { display: block; font: 700 var(--fs-md)/1.2 var(--font-display); }
body.ir-theme .ir-qa dt { font: 700 var(--fs-md)/1.4 var(--font-display); color: var(--accent); margin-top: 1.6em; max-width: var(--measure); }
body.ir-theme .ir-qa dd { margin: .6em 0 0; max-width: var(--measure); }
body.ir-theme .ir-qa dd + dd { margin-top: 1em; }

/* Prev / next chapter */
body.ir-theme .ir-pager { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
body.ir-theme .ir-pager a { display: grid; gap: 6px; padding: 24px; border: 1px solid var(--rule); border-radius: var(--radius); text-decoration: none; color: var(--heading); background: var(--bg); transition: border-color .2s, transform .2s var(--ease); }
body.ir-theme .ir-pager a:hover { border-color: var(--accent); transform: translateY(-2px); color: var(--heading); }
body.ir-theme .ir-pager small { font: 600 var(--fs-xs)/1 var(--font-display); letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--ink-soft); }
body.ir-theme .ir-pager strong { font: 600 var(--fs-xl)/1.2 var(--font-display); }
body.ir-theme .ir-pager a:last-child { text-align: right; }

/* ---------- 14. FOOTER ---------- */
body.ir-theme .ir-footer { background: var(--vl-navy-deep); color: rgba(255,255,255,.82); padding-block: 64px 32px; --heading: #fff; --ink-soft: rgba(255,255,255,.65); font-size: var(--fs-sm); }
body.ir-theme .ir-footer a { color: #fff; }
body.ir-theme .ir-footer a:hover { color: var(--vl-teal-soft); }
body.ir-theme .ir-footer__grid { display: grid; grid-template-columns: 1.3fr repeat(3, minmax(0,1fr)); gap: 32px; }
body.ir-theme .ir-footer h4 { font: 600 var(--fs-xs)/1 var(--font-display); letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--vl-teal-soft); margin-bottom: 14px; }
body.ir-theme .ir-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
body.ir-theme .ir-footer ul a { text-decoration: none; }
body.ir-theme .ir-footer__base { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.15); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: rgba(255,255,255,.6); font-size: var(--fs-xs); }
body.ir-theme .ir-footer__base::before { content: none; }

/* Back to top */
body.ir-theme .ir-totop { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 45; width: 48px; height: 48px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--vl-red); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .25s, transform .25s var(--ease); }
body.ir-theme .ir-totop.is-visible { opacity: 1; transform: none; pointer-events: auto; }
body.ir-theme .ir-totop svg { width: 18px; height: 18px; transform: rotate(-90deg); }

/* ---------- 15. GRID HELPERS ---------- */
body.ir-theme .ir-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); align-items: start; }
body.ir-theme .ir-grid-2 > * { min-width: 0; }
body.ir-theme .ir-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
body.ir-theme .ir-head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: clamp(24px, 3vw, 40px); }
body.ir-theme .ir-head-row .ir-title { margin-bottom: 0; flex: 1 1 420px; }

/* Reveal: elements are visible at rest; JS only adds a gentle lift when supported */
body.ir-theme .ir-reveal { transition: transform .9s var(--ease); }
.js-reveal body.ir-theme .ir-reveal.is-pending { transform: translateY(22px); }

/* ---------- 16. RESPONSIVE ---------- */
@media (max-width: 960px) {
  body.ir-theme .ir-article { grid-template-columns: minmax(0, 1fr); }
  body.ir-theme .ir-article__aside { position: static; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
  body.ir-theme .ir-footer__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  body.ir-theme .ir-split, body.ir-theme .ir-grid-2 { grid-template-columns: minmax(0, 1fr); }
  body.ir-theme .ir-header__label { display: none; }
}
@media (max-width: 640px) {
  :root { --header-h: 60px; }
  body.ir-theme .ir-hero__inner { grid-template-columns: minmax(0, 1fr); }
  body.ir-theme .ir-hero__meta { justify-items: start; text-align: left; }
  body.ir-theme .ir-hero__vertical { display: none; }
  body.ir-theme .ir-header .ir-btn--primary .ir-btn__long { display: none; }
  body.ir-theme .ir-header .ir-btn { padding: 0 14px; }
  body.ir-theme .ir-header .ir-btn__txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  body.ir-theme .ir-header .ir-wrap { gap: 10px; }
  body.ir-theme .ir-opener__chevron { right: -30%; }
  body.ir-theme .ir-footer__grid { grid-template-columns: minmax(0, 1fr); }
  body.ir-theme .ir-pager { grid-template-columns: minmax(0, 1fr); }
  body.ir-theme .ir-pager a:last-child { text-align: left; }
  body.ir-theme .ir-facts { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js-reveal body.ir-theme .ir-reveal.is-pending { transform: none; }
}
@media print {
  body.ir-theme .ir-header, body.ir-theme .ir-subnav, body.ir-theme .ir-totop, body.ir-theme .ir-progress, body.ir-theme .ir-mega { display: none !important; }
}

/* Refinements */
body.ir-theme .ir-kpi__delta:not([data-dir]) { display: block; }
body.ir-theme .ir-chapter-card[style*="--vl-red"] .ir-chev, body.ir-theme .ir-chapter-card--cta .ir-chev { color: #fff; }

/* WordPress admin bar offsets */
body.ir-theme.admin-bar .ir-header { top: 32px; }
body.ir-theme.admin-bar .ir-header--overlay { top: 32px; }
body.ir-theme.admin-bar .ir-mega { top: calc(var(--header-h) + 32px); }
body.ir-theme.admin-bar .ir-subnav { top: calc(var(--header-h) + 32px); }
@media (max-width: 782px) {
  body.ir-theme.admin-bar .ir-header, body.ir-theme.admin-bar .ir-header--overlay { top: 46px; }
  body.ir-theme.admin-bar .ir-mega, body.ir-theme.admin-bar .ir-subnav { top: calc(var(--header-h) + 46px); }
}
@media (max-width: 600px) { body.ir-theme.admin-bar .ir-header--overlay, body.ir-theme.admin-bar .ir-header { top: 0; } #wpadminbar { position: absolute; } }
/* Content area for ordinary WordPress / Elementor pages */
body.ir-theme .ir-page-content { padding-block: clamp(40px, 6vw, 80px); }
body.ir-theme .ir-page-content > * + * { margin-top: 1em; }
body.ir-theme .ir-page-content h1.ir-title { font-size: var(--fs-3xl); }


/* ---------- 17. CHARTS (print style: white card, teal caps title with hairline) ---------- */
body.ir-theme .ir-chart { margin: 0; background: var(--chart-card); border-radius: 14px; padding: clamp(18px, 2.4vw, 28px); box-shadow: var(--shadow); position: relative; }
body.ir-theme .ir-chart + .ir-chart { margin-top: 20px; }
body.ir-theme .ir-chart__title { font: 800 var(--fs-sm)/1.3 var(--font-display); letter-spacing: .02em; text-transform: uppercase; color: var(--vl-teal); padding-bottom: 10px; border-bottom: 1px solid var(--vl-teal); margin-bottom: 14px; }
body.ir-theme .ir-chart__bar-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 8px; }
body.ir-theme .ir-chart__legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: var(--fs-xs); color: var(--ink-soft); }
body.ir-theme .ir-chart__legend i { display: inline-block; width: 14px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: 0; }
body.ir-theme .ir-chart__legend i.is-line { height: 2px; vertical-align: 3px; background: var(--chart-line); }
body.ir-theme .ir-chart__svg { display: block; width: 100%; height: auto; overflow: visible; }
body.ir-theme .ir-chart__svg text { font-family: var(--font-body); fill: var(--ink-soft); font-size: 11px; }
body.ir-theme .ir-chart__svg .ir-chart__cat { fill: var(--heading); font-weight: 700; }
body.ir-theme .ir-chart__svg .ir-chart__grid { stroke: var(--chart-grid); stroke-width: 1; }
body.ir-theme .ir-chart__bar { fill: var(--chart-bar); transform-box: fill-box; transform-origin: 50% 100%; transition: transform 1s var(--ease) calc(var(--i, 0) * 110ms), fill .2s; }
body.ir-theme .ir-chart__bar--cur { fill: var(--chart-bar-cur); }
body.ir-theme .ir-chart__line { fill: none; stroke: var(--chart-line); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; transition: stroke-dashoffset 1.5s var(--ease) .45s; }
body.ir-theme .ir-chart__area { transition: opacity .9s ease 1.1s; }
body.ir-theme .ir-chart__dot { fill: var(--chart-card); stroke: var(--chart-line); stroke-width: 2.5; transition: opacity .3s ease calc(.6s + var(--i, 0) * 180ms), r .15s; }
body.ir-theme .ir-chart__svg .ir-chart__lval { fill: var(--chart-line); font-weight: 700; font-size: 12px; transition: opacity .4s ease calc(.8s + var(--i, 0) * 180ms); }
body.ir-theme .ir-chart__svg .ir-chart__bval { fill: var(--ink-soft); font-size: 11.5px; transition: opacity .4s ease calc(.6s + var(--i, 0) * 110ms); }
body.ir-theme .ir-chart__hit { fill: transparent; cursor: pointer; outline: none; }
body.ir-theme .ir-chart__col.is-active .ir-chart__bar { fill: var(--chart-bar-cur); }
body.ir-theme .ir-chart__col.is-active .ir-chart__dot { r: 6.5; }
body.ir-theme .ir-chart__hit:focus-visible { stroke: var(--focus); stroke-width: 2; }
body.ir-theme .is-pending .ir-chart__bar { transform: scaleY(0); }
body.ir-theme .is-pending .ir-chart__line { stroke-dashoffset: var(--len); }
body.ir-theme .is-pending .ir-chart__area, body.ir-theme .is-pending .ir-chart__dot, body.ir-theme .is-pending .ir-chart__lval, body.ir-theme .is-pending .ir-chart__bval { opacity: 0; }
body.ir-theme .ir-chart__tip { position: absolute; z-index: 3; pointer-events: none; min-width: 170px; background: var(--vl-navy); color: #fff; border-radius: 10px; padding: 12px 14px; font-size: var(--fs-xs); line-height: 1.5; box-shadow: 0 12px 30px rgba(10,24,52,.3); transform: translate(-50%, calc(-100% - 12px)); opacity: 0; transition: opacity .15s; }
body.ir-theme .ir-chart__tip.is-on { opacity: 1; }
body.ir-theme .ir-chart__tip b { display: block; font: 700 var(--fs-sm)/1.3 var(--font-display); margin-bottom: 4px; }
body.ir-theme .ir-chart__tip span { display: flex; justify-content: space-between; gap: 14px; }
body.ir-theme .ir-chart__tip em { font-style: normal; color: var(--vl-teal-soft); }
body.ir-theme .ir-chart__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 10px; font-size: var(--fs-xs); color: var(--ink-soft); }
body.ir-theme .ir-chart__toggle { background: none; border: 0; padding: 4px 0; font: 600 var(--fs-xs)/1 var(--font-display); color: var(--link); cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }
body.ir-theme .ir-chart__data { margin-top: 12px; }
body.ir-theme .ir-chart.is-js .ir-chart__data:not(.is-open) { display: none; }

/* Segment explorer: tabs + paired bars */
body.ir-theme .ir-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface-tint); }
body.ir-theme .ir-tabs button { border: 0; background: transparent; border-radius: 999px; padding: 9px 16px; min-height: 38px; cursor: pointer; font: 600 var(--fs-xs)/1 var(--font-display); letter-spacing: .04em; color: var(--ink-soft); transition: background .2s, color .2s; }
body.ir-theme .ir-tabs button[aria-selected="true"] { background: var(--vl-navy); color: #fff; }
body.ir-theme .ir-seg { display: grid; gap: 22px; margin-top: 18px; }
body.ir-theme .ir-seg__group h4 { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font: 700 var(--fs-md)/1.2 var(--font-display); color: var(--vl-teal); margin-bottom: 10px; }
body.ir-theme .ir-seg__group h4 small { font: 600 var(--fs-xs)/1.2 var(--font-body); color: var(--ink-soft); }
body.ir-theme .ir-seg__group h4 small b { color: var(--heading); font-size: var(--fs-sm); }
body.ir-theme .ir-seg__row { display: grid; grid-template-columns: minmax(96px, 150px) minmax(0, 1fr); gap: 4px 14px; align-items: center; padding: 6px 0; border-top: 1px solid var(--rule); }
body.ir-theme .ir-seg__label { font-size: var(--fs-xs); font-weight: 700; color: var(--heading); grid-row: span 2; }
body.ir-theme .ir-seg__track { display: flex; align-items: center; gap: 8px; height: 16px; }
body.ir-theme .ir-seg__fill { height: 100%; min-width: 2px; border-radius: 0 3px 3px 0; background: var(--chart-bar-cur); transition: width .8s var(--ease); }
body.ir-theme .ir-seg__fill--cur { background: var(--vl-navy); }
:root[data-theme="dark"] body.ir-theme .ir-seg__fill--cur { background: var(--vl-teal); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) body.ir-theme .ir-seg__fill--cur { background: var(--vl-teal); } }
body.ir-theme .ir-seg__val { font-size: var(--fs-xs); color: var(--ink-soft); white-space: nowrap; font-variant-numeric: tabular-nums; }
body.ir-theme .ir-seg__val b { color: var(--heading); }
body.ir-theme .ir-seg__chg { font-size: 11px; font-weight: 700; padding: 2px 6px; border-radius: 999px; margin-left: 4px; }
body.ir-theme .ir-seg__chg.is-up { background: rgba(96,193,209,.2); color: #11717F; }
body.ir-theme .ir-seg__chg.is-down { background: rgba(219,53,39,.1); color: #B92A1E; }
:root[data-theme="dark"] body.ir-theme .ir-seg__chg.is-up { color: var(--vl-teal-soft); }
:root[data-theme="dark"] body.ir-theme .ir-seg__chg.is-down { color: #FF9C90; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) body.ir-theme .ir-seg__chg.is-up { color: var(--vl-teal-soft); } :root:not([data-theme="light"]) body.ir-theme .ir-seg__chg.is-down { color: #FF9C90; } }
body.ir-theme .is-pending .ir-seg__fill { width: 0 !important; }

/* Metric strip used under charts */
body.ir-theme .ir-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 12px; }
body.ir-theme .ir-metric { background: var(--chart-card); border-radius: var(--radius); padding: 16px 18px; border: 1px solid var(--rule); }
body.ir-theme .ir-metric__v { font: 800 clamp(1.4rem, 1.1rem + 1vw, 1.9rem)/1 var(--font-display); color: var(--heading); font-variant-numeric: tabular-nums; }
body.ir-theme .ir-metric__l { font-size: var(--fs-xs); color: var(--ink-soft); margin-top: 6px; }

/* Continue exploring */
body.ir-theme .ir-explore { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
body.ir-theme .ir-explore .ir-chapter-card { min-height: 220px; }
body.ir-theme .ir-chapter-card__kicker { font: 600 var(--fs-xs)/1 var(--font-display); letter-spacing: var(--track-caps); text-transform: uppercase; color: rgba(255,255,255,.8); }

@media (prefers-reduced-motion: reduce) {
  body.ir-theme .is-pending .ir-chart__bar, body.ir-theme .is-pending .ir-bar__fill { transform: none; }
  body.ir-theme .is-pending .ir-chart__line { stroke-dashoffset: 0; }
  body.ir-theme .is-pending .ir-chart__area, body.ir-theme .is-pending .ir-chart__dot, body.ir-theme .is-pending .ir-chart__lval, body.ir-theme .is-pending .ir-chart__bval, body.ir-theme .is-pending .ir-bar__val { opacity: 1; }
  body.ir-theme .is-pending .ir-seg__fill { width: auto !important; }
}
body.ir-theme .ir-table--fin { min-width: 460px; }
body.ir-theme .ir-table--fin th { background: transparent; color: var(--heading); border-bottom: 2px solid var(--vl-teal); }
body.ir-theme .ir-table--fin tbody tr:nth-child(odd) td { background: transparent; }
body.ir-theme .ir-table--fin td.num { background: color-mix(in srgb, var(--vl-teal) 8%, transparent); }
body.ir-theme .ir-table--fin tr.is-strong td { font-weight: 700; color: var(--heading); }
body.ir-theme .ir-table--fin tfoot td { color: var(--heading); }
body.ir-theme .ir-metric__v small { font-size: .5em; font-weight: 700; letter-spacing: .04em; color: var(--ink-soft); }
body.ir-theme .ir-chart__tip { min-width: 210px; }
body.ir-theme .ir-chart__area, body.ir-theme .ir-chart__line, body.ir-theme .ir-chart__dot, body.ir-theme .ir-chart__bar, body.ir-theme .ir-chart__svg text { pointer-events: none; }
body.ir-theme .ir-chart__tip strong { font-weight: 700; white-space: nowrap; }
body.ir-theme .ir-chart__tip strong em { font-weight: 600; margin-left: 4px; }
body.ir-theme .ir-chart__tip small { display: block; margin-top: 4px; color: rgba(255,255,255,.6); font-size: 11px; }
@media (max-width: 640px) {
  body.ir-theme .ir-table--fin { min-width: 0; font-size: var(--fs-xs); }
  body.ir-theme .ir-table--fin td, body.ir-theme .ir-table--fin th { padding: 8px 6px; }
  body.ir-theme .ir-chart { padding: 16px 14px; }
  body.ir-theme .ir-seg__row { grid-template-columns: minmax(0, 1fr); }
  body.ir-theme .ir-seg__label { grid-row: auto; }
}

/* ---------- Image logo (WordPress Site Identity) ---------- */
body.ir-theme .ir-logo__img { display: block; height: 38px; width: auto; max-width: 200px; object-fit: contain; }
body.ir-theme .ir-logo--footer .ir-logo__img { height: 44px; }
body.ir-theme .ir-logo__img--light { display: none; }
body.ir-theme .ir-logo__img--light.is-auto { filter: brightness(0) invert(1); }
body.ir-theme .ir-header--overlay:not(.is-scrolled) .ir-logo__img--default, body.ir-theme .ir-footer .ir-logo__img--default { display: none; }
body.ir-theme .ir-header--overlay:not(.is-scrolled) .ir-logo__img--light, body.ir-theme .ir-footer .ir-logo__img--light { display: block; }
:root[data-theme="dark"] body.ir-theme .ir-header .ir-logo__img--default { display: none; }
:root[data-theme="dark"] body.ir-theme .ir-header .ir-logo__img--light { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) body.ir-theme .ir-header .ir-logo__img--default { display: none; }
  :root:not([data-theme="light"]) body.ir-theme .ir-header .ir-logo__img--light { display: block; }
}
@media (max-width: 640px) { body.ir-theme .ir-logo__img { height: 30px; max-width: 140px; } }

/* ---------- 18. Elementor widgets: spacing & helpers ---------- */
body.ir-theme .ir-pt-sm { padding-top: clamp(24px, 3vw, 40px); }
body.ir-theme .ir-pt-0 { padding-top: 0; }
body.ir-theme .ir-pb-sm { padding-bottom: clamp(24px, 3vw, 40px); }
body.ir-theme .ir-pb-0 { padding-bottom: 0; }
body.ir-theme .ir-kpi--headline { padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1.5px solid var(--accent); }
body.ir-theme .ir-kpi__note { display: block; margin-top: 6px; font-size: var(--fs-xs); color: var(--ink-soft); }
body.ir-theme .ir-chart__note { margin: 10px 0 0; font-size: var(--fs-xs); line-height: 1.5; color: var(--ink-soft); }
body.ir-theme .ir-col-heading { margin-bottom: 20px; }
body.ir-theme .ir-opcol { display: grid; gap: 40px; align-content: start; }
body.ir-theme .ir-head-row__intro { max-width: 44ch; }
body.ir-theme .ir-eyebrow--spaced { display: block; margin-top: 28px; }
body.ir-theme .ir-pullquote--spaced { margin-top: 24px; }
body.ir-theme .ir-facts { margin-top: 32px; }
body.ir-theme .ir-values { margin-top: 28px; }
body.ir-theme .ir-chart--first { margin-top: 28px; }
body.ir-theme .ir-chart--flush { margin: 0; }
body.ir-theme .ir-grid-2--tight { gap: 20px; }
body.ir-theme .ir-block-heading { margin: 0 0 18px; }
body.ir-theme .ir-closing { margin-top: 20px; }
body.ir-theme .ir-portrait { margin: 0; }
body.ir-theme .ir-chart__legend i.is-bar { background: var(--chart-bar-cur); }
body.ir-theme .ir-chart__legend i.is-cur { background: var(--vl-navy); }
body.ir-theme .ir-table caption { text-align: left; padding: 6px 0; caption-side: top; }
body.ir-theme .ir-chapter-card--cta { background: var(--vl-red); }
body.ir-theme .ir-chapter-card--cta .ir-chapter-card__no { color: #fff; }
/* Rich text from the editor */
body.ir-theme .ir-rich > * + * { margin-top: 1em; }
body.ir-theme .ir-rich.has-lead > p:first-child { font-size: var(--fs-lg); line-height: 1.6; }
body.ir-theme .ir-rich--measure { max-width: var(--measure); }
body.ir-theme .ir-rich h3 { font: 700 var(--fs-lg)/1.3 var(--font-display); color: var(--heading); margin-top: 1.8em; }
body.ir-theme .ir-rich h4 { font: 700 var(--fs-md)/1.3 var(--font-display); color: var(--heading); margin-top: 1.4em; }
body.ir-theme .ir-rich blockquote { margin: 1.6em 0; font: 700 var(--fs-xl)/1.3 var(--font-display); color: var(--heading); border-left: 3px solid var(--accent); padding-left: 20px; }
body.ir-theme .ir-rich ul, body.ir-theme .ir-rich ol { padding-left: 1.2em; }
body.ir-theme .ir-rich li + li { margin-top: .4em; }
body.ir-theme .ir-qa dd > * + * { margin-top: 1em; }
body.ir-theme .ir-qa dd p { margin: 0; }
body.ir-theme main a:not([class]) { color: var(--link); }
/* Elementor wrappers around the IR widgets add no spacing of their own */
.e-con:has(> [class*="elementor-widget-velogic_ir_"]) { --gap: 0px; --row-gap: 0px; --column-gap: 0px; --padding-top: 0px; --padding-bottom: 0px; --padding-left: 0px; --padding-right: 0px; }
[class*="elementor-widget-velogic_ir_"] { margin: 0 !important; width: 100%; max-width: 100%; }
.elementor-widget-velogic_ir_subnav { position: sticky; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); z-index: 40; }
body.ir-theme .elementor-widget-velogic_ir_subnav .ir-subnav { position: static; }
/* Headings never inherit the 2025 Elementor letter-spacing/line-height (kit rules are .elementor-kit-N hX = 0,1,1) */
html body.ir-theme :where(h1, h2, h3, h4, h5, h6) { letter-spacing: normal; line-height: 1.2; }
body.ir-theme .ir-grid-2 > .ir-chart { margin: 0; }
/* Phones: tighter tiles, steady heading spacing whatever other plugins add */
@media (max-width: 640px) {
  body.ir-theme .ir-tile { min-height: 0; padding: 18px 18px 16px; }
  body.ir-theme .ir-tiles { gap: 10px; }
  body.ir-theme .ir-h3, body.ir-theme .ir-subhead, body.ir-theme .ir-title, body.ir-theme .ir-hero__title, body.ir-theme .ir-opener__body h1 { word-spacing: normal; }
  body.ir-theme .ir-h3 { font-size: 1.3rem; }
  body.ir-theme .ir-kpi__delta { font-size: 11.5px; }
}
/* Buttons keep the theme's size even if a page-builder kit styles all <button> elements */
body.ir-theme .ir-iconbtn, body.ir-theme .ir-totop { padding: 0; font-size: 16px; line-height: 1; min-width: 0; text-transform: none; letter-spacing: normal; box-shadow: none; }
body.ir-theme .ir-iconbtn { background: transparent; }
body.ir-theme .ir-totop { width: 48px; height: 48px; border-radius: 999px; background: var(--vl-red); }
body.ir-theme .ir-btn { font-size: var(--fs-sm); line-height: 1; text-transform: none; box-shadow: none; }
body.ir-theme .ir-tabs button, body.ir-theme .ir-chart__toggle, body.ir-theme .ir-mega__search input { box-shadow: none; text-transform: none; }
body.ir-theme .ir-tabs button { font-size: var(--fs-xs); line-height: 1; }
body.ir-theme .ir-chart__toggle { font-size: var(--fs-xs); background: none; color: var(--link); }
@media (max-width: 640px) { body.ir-theme .ir-header .ir-btn { padding: 0 14px; } }
@media (max-width: 640px) { body.ir-theme .ir-header .ir-menu-toggle { width: 44px; padding: 0; } }

/* Cover layout as in print (desktop): title top-right on open sea, introduction and buttons bottom-left,
   so the ship and the plane stay clear of text */
@media (min-width: 1000px) {
  body.ir-theme .ir-hero { align-items: stretch; min-height: min(94vh, 900px); padding-block: calc(var(--header-h) + 36px) clamp(36px, 5vw, 64px); }
  body.ir-theme .ir-hero > .ir-wrap { display: flex; }
  body.ir-theme .ir-hero__inner { flex: 1; grid-template-columns: minmax(0, 1fr); }
  body.ir-theme .ir-hero__inner > div:first-child { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto auto 1fr auto auto; height: 100%; }
  body.ir-theme .ir-hero__title { grid-column: 2; grid-row: 1; text-align: right; font-size: clamp(2.2rem, 1.2rem + 2.4vw, 3.4rem); text-shadow: 0 2px 24px rgba(5, 15, 40, .55); }
  body.ir-theme .ir-hero__rule { grid-column: 2; grid-row: 2; justify-self: end; width: min(360px, 80%); margin: 20px 0 14px; }
  body.ir-theme .ir-hero__kicker { grid-column: 2; grid-row: 3; text-align: right; }
  body.ir-theme .ir-hero__intro { grid-column: 1; grid-row: 5; margin-top: 0; text-shadow: 0 1px 16px rgba(5, 15, 40, .6); }
  body.ir-theme .ir-hero__ctas { grid-column: 1; grid-row: 6; }
  body.ir-theme .ir-hero__meta { display: none; }
  body.ir-theme .ir-hero::before { background:
    radial-gradient(ellipse 55% 45% at 85% 12%, rgba(8, 20, 46, .55), rgba(8, 20, 46, 0) 70%),
    radial-gradient(ellipse 50% 40% at 15% 92%, rgba(8, 20, 46, .65), rgba(8, 20, 46, 0) 70%),
    linear-gradient(180deg, rgba(10, 24, 52, .45) 0%, rgba(10, 24, 52, 0) 18%); }
  body.ir-theme .ir-hero__vertical { opacity: .6; }
}
@media (min-width: 1000px) {
  body.ir-theme .ir-hero__title { grid-column: 1 / -1; }
  body.ir-theme .ir-hero__rule { grid-column: 1 / -1; }
  body.ir-theme .ir-hero__kicker { grid-column: 1 / -1; }
}
/* Phones and tablets: the moving sea, ship and plane as a band on top, text below on deep navy */
@media (max-width: 999px) {
  body.ir-theme .ir-hero { --band: min(118vw, 60svh); align-items: flex-end; min-height: 0; padding-block: calc(var(--band) - 36px) 40px; }
  body.ir-theme .ir-hero__img, body.ir-theme .ir-hero__video { inset: 0 0 auto 0; height: var(--band); object-position: 64% 50%; }
  body.ir-theme .ir-hero::before { background: linear-gradient(180deg, rgba(10,24,52,.5) 0, rgba(10,24,52,0) 16%, rgba(10,24,52,0) calc(var(--band) - 170px), var(--vl-navy-deep) calc(var(--band) - 10px)); }
  body.ir-theme .ir-hero__title { font-size: clamp(2rem, 1.3rem + 3.6vw, 3rem); }
}

/* Cover: no vertical label */
body.ir-theme .ir-hero__vertical { display: none; }
/* Footer bottom row: legal text left, "An ER brand" endorsement right (as on velogic.net) */
body.ir-theme .ir-footer__base { align-items: center; }
body.ir-theme .ir-footer__legal { display: flex; flex-wrap: wrap; gap: 6px 28px; }
body.ir-theme .ir-footer__brand { display: inline-flex; flex: none; margin-left: auto; opacity: .95; transition: opacity .2s; }
body.ir-theme .ir-footer__brand:hover { opacity: 1; }
body.ir-theme .ir-footer__brand img { display: block; width: 100px; height: auto; }
@media (max-width: 640px) { body.ir-theme .ir-footer__base { flex-direction: column; align-items: flex-start; gap: 18px; } body.ir-theme .ir-footer__brand { margin-left: 0; } }

/* =====================================================================
   Flipbook (opens over the page from "Explore the report", #flipbook, #flipbook-26)
   ===================================================================== */
html.fb-open, html.fb-open body { overflow: hidden; }
.fb { position: fixed; inset: 0; z-index: 100000; display: flex; flex-direction: column; color: #fff;
  background: radial-gradient(120% 90% at 50% 40%, #213c72 0%, #14244a 55%, #0c1834 100%);
  font-family: var(--font-body, "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif); letter-spacing: normal;
  opacity: 0; transition: opacity .25s ease; }
.fb[hidden] { display: none; }
.fb.is-open { opacity: 1; }
.fb button, .fb input { font: inherit; letter-spacing: normal; text-transform: none; box-shadow: none; margin: 0; }
.fb__sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fb__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px clamp(12px, 3vw, 28px);
  background: rgba(8, 18, 40, .55); border-bottom: 1px solid rgba(151, 215, 225, .14); flex: none; }
.fb__title { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.fb__title strong { font-family: var(--font-display, Montserrat, Arial, sans-serif); font-weight: 600; font-size: 15px; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fb__title span { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: #97D7E1; }
.fb__tools { display: flex; align-items: center; gap: 6px; }
.fb .fb__btn { display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .06); color: #fff; cursor: pointer; transition: background .2s, border-color .2s; text-decoration: none; flex: none; }
.fb .fb__btn:hover, .fb .fb__btn:focus-visible { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .5); }
.fb .fb__btn svg { width: 20px; height: 20px; }
.fb .fb__close { background: #DB3527; border-color: #DB3527; }
.fb .fb__close:hover, .fb .fb__close:focus-visible { background: #c02c20; border-color: #c02c20; }
.fb :focus-visible { outline: 2px solid #60C1D1; outline-offset: 2px; }
.fb__goto { display: flex; align-items: center; height: 40px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 20px; overflow: hidden; margin: 0 4px; }
.fb .fb__goto input { width: 64px; height: 38px; padding: 0 10px; border: 0; background: transparent; color: #fff; font-size: 14px; -moz-appearance: textfield; }
.fb .fb__goto input::placeholder { color: rgba(255, 255, 255, .6); }
.fb .fb__goto input::-webkit-inner-spin-button { -webkit-appearance: none; }
.fb .fb__goto button { height: 38px; padding: 0 14px; border: 0; border-left: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .08); color: #fff; font-weight: 700; font-size: 13px; cursor: pointer; }
.fb__stage { position: relative; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 12px; touch-action: pan-y pinch-zoom; }
.fb.is-zoomed .fb__stage { overflow: auto; align-items: flex-start; justify-content: flex-start; touch-action: auto; }
.fb__book { position: relative; flex: none; margin: auto; perspective: 2800px; transition: transform .45s cubic-bezier(.4, 0, .2, 1); cursor: pointer; }
.fb.is-zoomed .fb__book { cursor: grab; }
.fb__book.is-cover { transform: translateX(-25%); }
.fb__book.is-back { transform: translateX(25%); }
.fb.is-single .fb__book.is-cover, .fb.is-single .fb__book.is-back { transform: none; }
.fb__page, .fb__face { position: absolute; top: 0; height: 100%; background: #fff; }
.fb__page { width: 50%; box-shadow: 0 18px 50px rgba(0, 0, 0, .35); }
.fb__page--l { left: 0; }
.fb__page--r { left: 50%; }
.fb__page.is-empty { background: transparent; box-shadow: none; }
.fb__page.is-loading { background: #eef4f8 linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .7) 50%, transparent 70%) 0 0 / 220% 100%; animation: fb-shimmer 1.2s linear infinite; }
@keyframes fb-shimmer { to { background-position: -220% 0; } }
.fb.is-single .fb__page--l { display: none; }
.fb.is-single .fb__page--r { left: 0; width: 100%; }
.fb__page canvas, .fb__pg canvas { display: block; width: 100%; height: 100%; }
.fb__pg { position: absolute; inset: 0; background: #fff; }
.fb__spine { position: absolute; top: 0; bottom: 0; left: 50%; width: 60px; margin-left: -30px; pointer-events: none; z-index: 3;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, .10) 42%, rgba(0, 0, 0, .22) 50%, rgba(0, 0, 0, .08) 58%, transparent); }
.fb__book.is-cover .fb__spine, .fb__book.is-back .fb__spine, .fb.is-single .fb__spine { display: none; }
.fb__leaf { position: absolute; top: 0; width: 50%; height: 100%; display: none; transform-style: preserve-3d; pointer-events: none; z-index: 4;
  --fb-ease: cubic-bezier(.42, .02, .28, 1); animation-duration: var(--fb-dur, 860ms); animation-timing-function: var(--fb-ease); animation-fill-mode: both; }
.fb__leaf.is-right { display: block; left: 50%; transform-origin: 0 50%; }
.fb__leaf.is-right.go-next { animation-name: fb-turn-next; }
.fb__leaf.is-left { display: block; left: 0; transform-origin: 100% 50%; }
.fb__leaf.is-left.go-prev { animation-name: fb-turn-prev; }
.fb__leaf.is-single { display: block; left: 0; width: 100%; transform-origin: 0 50%; }
.fb__leaf.is-single.go-next { animation-name: fb-turn-next; }
.fb__leaf.is-single.is-return { transform: rotateY(-180deg); }
.fb__leaf.is-single.is-return.go-prev { animation-name: fb-turn-return; }
/* the sheet lifts and bends slightly while it turns */
@keyframes fb-turn-next { 0% { transform: rotateY(0); } 18% { transform: rotateY(-20deg) translateZ(6px) skewY(-.6deg); }
  50% { transform: rotateY(-90deg) translateZ(18px) skewY(-1.6deg); } 82% { transform: rotateY(-162deg) translateZ(6px) skewY(-.5deg); } 100% { transform: rotateY(-180deg); } }
@keyframes fb-turn-prev { 0% { transform: rotateY(0); } 18% { transform: rotateY(20deg) translateZ(6px) skewY(.6deg); }
  50% { transform: rotateY(90deg) translateZ(18px) skewY(1.6deg); } 82% { transform: rotateY(162deg) translateZ(6px) skewY(.5deg); } 100% { transform: rotateY(180deg); } }
@keyframes fb-turn-return { 0% { transform: rotateY(-180deg); } 50% { transform: rotateY(-90deg) translateZ(18px) skewY(-1.6deg); } 100% { transform: rotateY(0); } }
.fb__face { inset: 0; width: 100%; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; }
.fb__face--back { transform: rotateY(180deg); }
.fb__face::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; }
.fb__leaf.is-right .fb__face--front::after, .fb__leaf.is-single .fb__face--front::after { background: linear-gradient(90deg, rgba(0, 0, 0, .22), rgba(255, 255, 255, .18) 38%, transparent 55%, rgba(0, 0, 0, .16)); }
.fb__leaf.is-left .fb__face--front::after { background: linear-gradient(270deg, rgba(0, 0, 0, .22), rgba(255, 255, 255, .18) 38%, transparent 55%, rgba(0, 0, 0, .16)); }
.fb__face--back::after { background: linear-gradient(270deg, rgba(0, 0, 0, .26), transparent 45%, rgba(255, 255, 255, .12)); }
.fb__leaf.go-next .fb__face--front::after, .fb__leaf.go-prev .fb__face--front::after { animation: fb-shade-out var(--fb-dur, 860ms) ease-in both; }
.fb__leaf.go-next .fb__face--back::after, .fb__leaf.go-prev .fb__face--back::after { animation: fb-shade-in var(--fb-dur, 860ms) ease-out both; }
@keyframes fb-shade-out { 0% { opacity: 0; } 55% { opacity: 1; } 100% { opacity: 1; } }
@keyframes fb-shade-in { 0% { opacity: 1; } 50% { opacity: .9; } 100% { opacity: 0; } }
/* shadow the turning sheet casts on the page underneath */
.fb__page::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; }
.fb__book.is-turning-next .fb__page--r::after { background: linear-gradient(90deg, rgba(0, 0, 0, .3), rgba(0, 0, 0, .08) 45%, transparent 75%); animation: fb-cast var(--fb-dur, 860ms) ease-in-out both; }
.fb__book.is-turning-prev .fb__page--l::after { background: linear-gradient(270deg, rgba(0, 0, 0, .3), rgba(0, 0, 0, .08) 45%, transparent 75%); animation: fb-cast var(--fb-dur, 860ms) ease-in-out both; }
.fb.is-single .fb__book.is-turning-prev .fb__page--r::after { background: linear-gradient(90deg, rgba(0, 0, 0, .3), transparent 70%); animation: fb-cast var(--fb-dur, 860ms) ease-in-out both; }
@keyframes fb-cast { 0% { opacity: 0; } 45% { opacity: 1; } 100% { opacity: 0; } }
/* the book eases in when it opens */
.fb.is-ready .fb__book { animation: fb-book-in .75s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes fb-book-in { from { opacity: 0; translate: 0 26px; scale: .965; } to { opacity: 1; translate: 0 0; scale: 1; } }
/* corner of the right-hand page lifts now and then (and when the pointer is near it): "turn me" */
.fb__peel { position: absolute; right: 0; bottom: 0; width: 0; height: 0; z-index: 5; pointer-events: none; border-top-left-radius: 4px;
  background: linear-gradient(315deg, #13254f 0 49%, rgba(0, 0, 0, .18) 50%, #f3f6f9 52%, #ffffff 68%, #d8e0e8 100%);
  box-shadow: -4px -4px 10px rgba(0, 0, 0, .14); transition: width .35s ease, height .35s ease; }
.fb__book.is-hint .fb__peel { animation: fb-peel 1.9s ease-in-out; }
.fb__book.is-peek .fb__peel { width: 46px; height: 46px; }
.fb__book.is-back .fb__peel, .fb.is-zoomed .fb__peel { display: none; }
@keyframes fb-peel { 0%, 100% { width: 0; height: 0; } 40%, 62% { width: 40px; height: 40px; } }
.fb .fb__nav { position: absolute; top: 50%; margin-top: -26px; width: 52px; height: 52px; z-index: 6; background: rgba(8, 18, 40, .55); }
.fb .fb__nav svg { width: 26px; height: 26px; }
.fb .fb__nav:disabled { opacity: 0; pointer-events: none; }
.fb__nav--prev { left: clamp(8px, 2vw, 24px); }
.fb__nav--next { right: clamp(8px, 2vw, 24px); }
.fb__loading { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; z-index: 8; padding: 24px; }
.fb__loading[hidden] { display: none; }
.fb__spinner { width: 42px; height: 42px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .18); border-top-color: #DB3527; animation: fb-spin .9s linear infinite; }
@keyframes fb-spin { to { transform: rotate(360deg); } }
.fb__loading-txt { font-size: 15px; color: rgba(255, 255, 255, .85); }
.fb__progress { width: 200px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.fb__progress i { display: block; height: 100%; width: 0; background: #60C1D1; transition: width .2s; }
.fb.is-error .fb__book, .fb.is-error .fb__nav, .fb.is-error .fb__foot { visibility: hidden; }
.fb__admin { max-width: 560px; margin-top: 8px; padding: 12px 16px; border-radius: 10px; background: rgba(255, 255, 255, .08); font-size: 13px; line-height: 1.55; color: rgba(255, 255, 255, .85); }
.fb__admin a { color: #97D7E1; } .fb__admin code { font-size: 12px; word-break: break-all; color: #fff; }
.fb__fallback { color: #fff; font-weight: 700; border-bottom: 1px solid #DB3527; text-decoration: none; }
.fb__foot { flex: none; display: flex; align-items: center; gap: 16px; padding: 10px clamp(16px, 4vw, 40px) 14px; }
.fb .fb__range { flex: 1; min-width: 0; height: 4px; accent-color: #DB3527; cursor: pointer; }
.fb__pages { flex: none; font-size: 14px; color: rgba(255, 255, 255, .78); white-space: nowrap; }
.fb__pages b { color: #fff; font-weight: 700; }
.fb__toc { position: absolute; top: 61px; left: 0; bottom: 0; width: min(380px, 92vw); z-index: 20; overflow: auto; padding: 0 0 24px;
  background: #0f1d3d; border-right: 1px solid rgba(151, 215, 225, .18); box-shadow: 20px 0 60px rgba(0, 0, 0, .35); }
.fb__toc[hidden] { display: none; }
.fb__toc-head { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; background: #0f1d3d; border-bottom: 1px solid rgba(151, 215, 225, .14); }
.fb__toc-head strong { font-family: var(--font-display, Montserrat, Arial, sans-serif); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; }
.fb .fb__toc-head .fb__btn { width: 34px; height: 34px; background: transparent; }
.fb__toc ol { list-style: none; margin: 0; padding: 0; }
.fb__toc-list > li { border-bottom: 1px solid rgba(151, 215, 225, .1); padding: 6px 0; }
.fb .fb__toc button { display: flex; width: 100%; align-items: baseline; gap: 10px; padding: 7px 18px; border: 0; background: none; color: #fff; text-align: left; cursor: pointer; font-size: 14px; line-height: 1.35; }
.fb .fb__toc-list > li > button { font-weight: 700; font-size: 15px; }
.fb .fb__toc-list > li > button span { color: #DB3527; font-family: var(--font-display, Montserrat, Arial, sans-serif); min-width: 22px; }
.fb .fb__toc ol ol button { padding-left: 50px; color: rgba(255, 255, 255, .82); }
.fb .fb__toc button em { margin-left: auto; font-style: normal; color: #97D7E1; font-size: 13px; }
.fb .fb__toc button:hover, .fb .fb__toc button:focus-visible { background: rgba(255, 255, 255, .07); }
@media (max-width: 760px) {
  .fb__bar { padding: 8px 10px; gap: 8px; }
  .fb__title span, .fb__goto, .fb .fb__zin, .fb .fb__zout, .fb .fb__full { display: none; }
  .fb__peel { display: none; }
  .fb .fb__btn { width: 38px; height: 38px; }
  .fb .fb__nav { width: 42px; height: 42px; margin-top: -21px; }
  .fb__stage { padding: 8px 4px; }
  .fb__toc { top: 55px; }
}
@media (prefers-reduced-motion: reduce) { .fb, .fb__book, .fb__leaf { transition: none !important; animation: none !important; } .fb__page.is-loading, .fb__peel { animation: none !important; } }
