/* === HEADER & NAV === */
/* Dark header surface for contrast against the cream page. Uses the KORE deep-green
   brand colour with a subtle gradient and translucent overlay so logos/text pop. */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: linear-gradient(180deg, #0F2620 0%, #13322B 60%, #13322B 100%);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(245,241,234,0.10);
  box-shadow: 0 2px 14px rgba(15, 38, 32, 0.18);
  height: var(--kg-nav-h);
}
/* Mega-nav tabs, caret, search and hamburger — all pure white for crisp contrast on the dark header */
.site-header .mega-trigger { color: #FFFFFF; font-weight: 600; }
.site-header .mega-trigger:hover,
.site-header .mega-trigger[aria-expanded="true"] {
  background: rgba(255,255,255,0.12);
  color: #FFFFFF;
}
.site-header .mega-trigger:focus-visible { outline-color: #9CC4AE; }
.site-header .mega-caret { color: #FFFFFF; opacity: 0.95; }
/* Search button — white text and icon on a subtle white tint */
.site-header .utility .btn.subtle {
  background: rgba(255,255,255,0.10);
  color: #FFFFFF;
  border-color: rgba(255,255,255,0.28);
}
.site-header .utility .btn.subtle:hover {
  background: rgba(255,255,255,0.18);
  color: #FFFFFF;
}
.site-header .utility .btn.subtle svg,
.site-header .utility .btn.subtle .icon { color: #FFFFFF; fill: currentColor; stroke: currentColor; }
.site-header .hamburger { color: #FFFFFF; }
/* Brand strap (if shown beside logos) — white on dark */
.site-header .brand-strap { color: #FFFFFF; }
.site-header .row {
  display: flex; align-items: center; gap: var(--kg-4);
  height: 100%; max-width: var(--kg-container);
  margin: 0 auto; padding: 0 var(--kg-5);
  min-width: 0;
}
.brand { display: flex; align-items: center; gap: var(--kg-3); text-decoration: none; color: var(--kg-deep-green); font-weight: 600; flex: 0 0 auto; }
.brand .logo { width: 30px; height: 30px; }
.brand span { font-family: var(--kg-display); font-size: 1.05rem; line-height: 1; }
.brand small { display: block; font-family: var(--kg-body); font-weight: 400; font-size: 11px; color: var(--kg-mid-grey); letter-spacing: 0.04em; margin-top: 2px; }

/* Dual logo header brand: KORE Insulation + KORE Retrofit side by side */
.brand-dual { gap: 10px; align-items: center; }
.brand-dual .brand-logos { display: inline-flex; align-items: center; gap: 8px; }
.brand-dual .brand-logo { display: block; width: auto; object-fit: contain; }
/* Both logos sized to the same height so the "KORE" wordmark inside each reads
   at the same visual size and neither brand visually dominates the other. */
.brand-dual .brand-logo-insulation { height: 26px; }
.brand-dual .brand-logo-retrofit { height: 26px; border-radius: 3px; }
/* Strap ("Sustainability Report 2025") hidden by default — the report title is
   already on the cover. We keep the markup for screen-reader context. */
.brand-dual .brand-strap { display: none; }
@media (max-width: 760px) {
  .brand-dual .brand-logo-insulation { height: 20px; }
  .brand-dual .brand-logo-retrofit { height: 20px; }
}

.primary-nav { display: flex; gap: var(--kg-5); flex: 1; }
.primary-nav a {
  font-size: 14px;
  color: var(--kg-charcoal);
  text-decoration: none;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.primary-nav a:hover, .primary-nav a[aria-current="page"] {
  color: var(--kg-deep-green);
  border-bottom-color: var(--kg-deep-green);
}

.utility { display: flex; gap: var(--kg-3); align-items: center; flex: 0 0 auto; }
.utility .btn { font-size: 13px; padding: 6px 12px; }

.hamburger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--kg-deep-green); }
.hamburger svg { width: 24px; height: 24px; }

@media (max-width: 1080px) {
  .utility .search-trigger { display: none; }
  .hamburger { display: inline-flex; }
}
/* Below 1080: only the hamburger drives the full TOC; banner mega is hidden */

/* === LAYOUT GRID for section pages === */
/* Top-banner mega-nav reinstated (May 2026). Single-column layout: the banner
   handles all in-page navigation; the left rail is hidden. */
:root {
  --kg-page-wide: 1280px;
  --kg-reading: 820px;
  --kg-rail-w: 0px;
}
.page {
  display: block;
  max-width: var(--kg-page-wide);
  margin: 0 auto;
  padding: var(--kg-6) var(--kg-5) var(--kg-9);
}
.left-rail { display: none !important; }
@media (max-width: 960px) {
  .page { padding: var(--kg-5) var(--kg-4) var(--kg-9); }
}
/* Single-column unified canvas: paragraphs, tables, charts, dashboards all share
   the same width (page-wide 1280px) inside a long-section. No narrow reading
   constraint — everything left/right aligned to the same gutter so the page
   reads as a consistent editorial column. */
.long-section .container.narrow {
  max-width: var(--kg-page-wide, 1280px);
  padding-left: var(--kg-5);
  padding-right: var(--kg-5);
}
/* All article children expand to full container width */
.long-section .container.narrow > article.section > *,
.long-section .container.narrow > * {
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}
.left-rail {
  position: sticky;
  top: calc(var(--kg-nav-h) + var(--kg-4));
  align-self: start;
  max-height: calc(100vh - var(--kg-nav-h) - var(--kg-5));
  overflow-y: auto;
  padding-right: var(--kg-3);
  scrollbar-width: thin;
}
@media (max-width: 960px) {
  .left-rail { display: none; }
}
.left-rail h2 { font-size: var(--kg-eyebrow); text-transform: uppercase; letter-spacing: 0.08em; color: var(--kg-si); margin: 0 0 var(--kg-3); font-family: var(--kg-body); font-weight: 600; }
.left-rail ol { list-style: none; padding: 0; margin: 0; counter-reset: r; }
.left-rail li { counter-increment: r; padding: 0; margin: 0; }
.left-rail a {
  display: block;
  padding: 6px 8px 6px 12px;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--kg-charcoal);
  text-decoration: none;
  border-left: 2px solid transparent;
  border-radius: 0 4px 4px 0;
}
.left-rail a:hover { background: var(--kg-surface); }
.left-rail a[aria-current="page"] {
  color: var(--kg-deep-green);
  border-left-color: var(--kg-si);
  background: var(--kg-surface);
  font-weight: 600;
}
.left-rail .group-label {
  font-size: var(--kg-eyebrow);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--kg-mid-grey);
  margin: var(--kg-5) 0 var(--kg-2) 4px;
  font-weight: 600;
}
@media (max-width: 960px) {
  .page { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .left-rail { display: none; }
}

/* === Mobile drawer === */
.drawer-overlay {
  position: fixed; inset: 0; background: rgba(31,36,34,0.4); z-index: 70;
  opacity: 0; pointer-events: none; transition: opacity var(--kg-d-md) var(--kg-ease);
}
.drawer-overlay.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; bottom: 0; right: 0;
  width: min(85vw, 360px); background: var(--kg-offwhite); z-index: 80;
  transform: translateX(100%); transition: transform var(--kg-d-md) var(--kg-ease);
  overflow-y: auto;
  padding: var(--kg-5);
}
.drawer.open { transform: translateX(0); }
.drawer h3 { font-size: var(--kg-eyebrow); text-transform: uppercase; letter-spacing: 0.08em; color: var(--kg-si); font-family: var(--kg-body); font-weight: 600; margin: var(--kg-4) 0 var(--kg-2); }
.drawer a { display: block; padding: 8px 0; color: var(--kg-charcoal); text-decoration: none; border-bottom: 1px solid var(--kg-soft-grey); }
.drawer .close { background: none; border: 0; font-size: 24px; cursor: pointer; color: var(--kg-deep-green); position: absolute; top: 8px; right: 12px; }

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  border-radius: var(--kg-r);
  font-family: var(--kg-body); font-size: 14px; font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  background: var(--kg-deep-green); color: var(--kg-offwhite);
  transition: background var(--kg-d-sm) var(--kg-ease), transform var(--kg-d-sm) var(--kg-ease);
}
.btn:hover { background: #0E2620; }
.btn.ghost { background: transparent; color: var(--kg-deep-green); border-color: var(--kg-deep-green); }
.btn.ghost:hover { background: var(--kg-surface); }
.btn.subtle { background: var(--kg-surface); color: var(--kg-deep-green); border-color: var(--kg-soft-grey); }

/* === Pills & badges === */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: var(--kg-r-pill);
  font-size: 12px; font-weight: 600; letter-spacing: 0.02em;
  border: 1px solid;
  font-family: var(--kg-body);
  line-height: 1.3;
}
.pill::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.pillar-hh { color: var(--kg-hh); background: rgba(140,58,31,0.08); border-color: rgba(140,58,31,0.3); }
.pill.pillar-si { color: var(--kg-si); background: rgba(46,111,79,0.08); border-color: rgba(46,111,79,0.3); }
.pill.pillar-ai { color: var(--kg-ai); background: rgba(27,78,102,0.08); border-color: rgba(27,78,102,0.3); }
.pill.pillar-pp { color: var(--kg-pp); background: rgba(123,93,44,0.08); border-color: rgba(123,93,44,0.3); }
.pill.status-disclosed,
.pill.status-as-issued { color: var(--kg-as-issued); background: rgba(46,111,79,0.10); border-color: rgba(46,111,79,0.3); }
.pill.status-omitted { color: #5C4F3C; background: #F0EAD8; border-color: rgba(122,106,79,0.4); }
.pill.status-disclosed-with-omission { color: #5C4F3C; background: #F0EAD8; border-color: rgba(122,106,79,0.4); }
.pill.status-developing { color: #5E461F; background: #F0E7CF; border-color: rgba(123,93,44,0.4); }
.pill.status-partly { color: #5F3D0F; background: #F0E2C9; border-color: rgba(127,82,21,0.4); }
.pill.status-limited-qualitative,
.pill.status-qualitative { color: #4B4F4D; background: #E2DDD3; border-color: rgba(106,111,108,0.4); }
.pill.vsme { color: var(--kg-deep-green); background: var(--kg-surface); border-color: var(--kg-soft-grey); font-family: var(--kg-mono); letter-spacing: 0.02em; }

/* === Evidence / verification badge === */
.verify-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: var(--kg-r-pill);
  font-size: 11.5px; font-weight: 600;
  color: var(--kg-ai); background: rgba(27,78,102,0.08);
  border: 1px solid rgba(27,78,102,0.3);
  font-family: var(--kg-body);
  text-decoration: none;
}
.verify-badge svg { width: 14px; height: 14px; }

/* === Callouts === */
.callout {
  background: var(--kg-surface);
  border-left: 4px solid var(--kg-ai);
  padding: var(--kg-4) var(--kg-5);
  border-radius: 0 var(--kg-r) var(--kg-r) 0;
  margin: var(--kg-4) 0 var(--kg-5);
}
.callout.warning { border-left-color: var(--kg-omitted); }
.callout.verification { border-left-color: var(--kg-ai); background: #F1F3F5; }
.callout.omission { border-left-color: var(--kg-omitted); }
.callout p:last-child { margin-bottom: 0; }
.callout .label {
  display: inline-block; font-size: var(--kg-eyebrow);
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--kg-ai); font-weight: 600;
  margin-bottom: 6px;
}
.callout.warning .label, .callout.omission .label { color: var(--kg-omitted); }

/* === Tags row at section start === */
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 var(--kg-4); }

/* === KPI tiles === */
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--kg-3); margin: var(--kg-4) 0 var(--kg-5); }
.kpi {
  background: var(--kg-surface);
  border: 1px solid var(--kg-soft-grey);
  border-radius: var(--kg-r);
  padding: var(--kg-4);
  position: relative;
}
.kpi.pillar-si { border-top: 3px solid var(--kg-si); }
.kpi.pillar-ai { border-top: 3px solid var(--kg-ai); }
.kpi.pillar-hh { border-top: 3px solid var(--kg-hh); }
.kpi.pillar-pp { border-top: 3px solid var(--kg-pp); }
.kpi .kpi-eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--kg-mid-grey); font-weight: 600; margin-bottom: 6px; }
.kpi .kpi-value { font-size: var(--kg-data-lg); color: var(--kg-deep-green); font-weight: 600; line-height: 1.05; }
.kpi .kpi-unit { font-size: 14px; color: var(--kg-mid-grey); margin-left: 4px; font-weight: 400; }
.kpi .kpi-label { font-size: 13.5px; color: var(--kg-charcoal); margin-top: 6px; line-height: 1.45; }
.kpi .kpi-verify { position: absolute; top: 12px; right: 12px; }

/* === Cards === */
.card {
  background: var(--kg-surface);
  border: 1px solid var(--kg-soft-grey);
  border-radius: var(--kg-r);
  padding: var(--kg-5);
}
.card-grid { display: grid; gap: var(--kg-4); }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .card-grid.cols-2, .card-grid.cols-3, .card-grid.cols-4 { grid-template-columns: 1fr; }
}

/* === Pillar quadrant === */
.pillar-card {
  background: var(--kg-surface);
  border: 1px solid var(--kg-soft-grey);
  border-left: 6px solid var(--kg-si);
  border-radius: var(--kg-r);
  padding: var(--kg-5);
}
.pillar-card.hh { border-left-color: var(--kg-hh); }
.pillar-card.si { border-left-color: var(--kg-si); }
.pillar-card.ai { border-left-color: var(--kg-ai); }
.pillar-card.pp { border-left-color: var(--kg-pp); }
.pillar-card h3 { color: var(--kg-deep-green); font-family: var(--kg-display); margin: 0 0 8px; font-size: 1.25rem; }
.pillar-card p { margin: 0; color: var(--kg-charcoal); font-size: 14.5px; }

/* === Tables (verbatim DOCX) === */
.table-scroll { overflow-x: auto; margin: 0 0 var(--kg-4); border: 1px solid var(--kg-soft-grey); border-radius: var(--kg-r); background: var(--kg-surface); max-width: 100%; }
.table-scroll:focus-visible { outline: 2px solid var(--kg-ai); outline-offset: 2px; }
table.report-table {
  width: 100%; border-collapse: collapse;
  font-size: 13.5px; line-height: 1.5;
  font-variant-numeric: tabular-nums lining-nums;
}
/* Force any inline pandoc table widths to behave on small viewports */
article.section table[style*="width"] { width: 100% !important; }
article.section table colgroup col { width: auto !important; }
table.report-table caption {
  text-align: left;
  font-size: var(--kg-small);
  color: var(--kg-mid-grey);
  padding: var(--kg-3) var(--kg-4);
  font-family: var(--kg-body);
  font-weight: 500;
  border-bottom: 1px solid var(--kg-soft-grey);
}
table.report-table th, table.report-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--kg-soft-grey);
  text-align: left;
  vertical-align: top;
}
table.report-table th {
  background: var(--kg-surface-2);
  color: var(--kg-deep-green);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.01em;
}
table.report-table tr:last-child td { border-bottom: 0; }
table.report-table tr:hover td { background: rgba(46,111,79,0.04); }

/* === Section spacing === */
.section { padding: var(--kg-5) 0; }
.section + .section { border-top: 1px solid var(--kg-soft-grey); padding-top: var(--kg-7); }

/* Containers — clamp width AND prevent inner content from blowing out the page.
   IMPORTANT: never use `overflow-x: hidden` on html/body — it breaks
   `position: sticky` for descendants (left rail goes static after scroll).
   `overflow-x: clip` clamps horizontal overflow without creating a scroll
   container, so sticky descendants keep working. Fallback for browsers without
   `clip` support: scope hidden to .page only via overflow-x: hidden there. */
html, body { overflow-x: clip; max-width: 100%; }
.page { overflow-x: clip; }
.container, .narrow { max-width: min(var(--kg-container), 100%); }
.narrow { max-width: min(var(--kg-narrow), 100%); }
article.section { min-width: 0; }
article.section > * { max-width: 100%; }
.diagram svg { max-width: 100%; height: auto; }
/* Pandoc tables with intrinsic widths must not push the page wider than the viewport */
article.section table { table-layout: auto; max-width: 100%; }
/* Tables expand to the full available width inside their section.
   The table-scroll wrapper bleeds out of the narrow reading column via the
   .container.narrow > article.section > .table-scroll rule (see top of file)
   so tables get the full 1280px page-wide canvas. Cells wrap text rather than
   forcing horizontal scroll. */
article.section .table-scroll {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}
article.section .table-scroll > table {
  width: 100%;
  max-width: 100%;
  table-layout: auto;
}
article.section table.report-table th,
article.section table.report-table td {
  word-break: normal;
  overflow-wrap: anywhere;
  hyphens: auto;
  vertical-align: top;
}
/* When a column has very long unbroken tokens (URLs, codes), let them wrap */
article.section table.report-table td {
  white-space: normal;
}
/* Bleed-wider: any table whose section is inside the narrow reading container
   should escape to the full page-wide canvas. */
.container.narrow > article.section > .table-scroll,
.container.narrow article.section > .table-scroll {
  max-width: var(--kg-page-wide, 1280px);
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* Lead paragraph */
p.lead {
  font-size: var(--kg-lead);
  line-height: 1.55;
  color: var(--kg-charcoal);
  font-weight: 400;
}

/* Pull quote */
.pullquote {
  border-left: 4px solid var(--kg-si);
  padding: 0 var(--kg-5);
  margin: var(--kg-5) 0;
  font-family: var(--kg-display);
  font-size: 1.375rem;
  line-height: 1.4;
  color: var(--kg-deep-green);
}
.pullquote cite {
  display: block;
  font-family: var(--kg-body);
  font-size: 13px;
  font-style: normal;
  color: var(--kg-mid-grey);
  margin-top: 8px;
}

/* === Footer === */
.site-footer {
  background: var(--kg-deep-green);
  color: rgba(245,241,234,0.82);
  padding: var(--kg-8) 0;
  font-size: 14px;
}
.site-footer h3 { color: #9CC4AE; font-family: var(--kg-body); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 var(--kg-3); }
.site-footer h4 { color: #9CC4AE; font-family: var(--kg-body); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 var(--kg-3); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.site-footer a { color: rgba(245,241,234,0.92); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer strong { color: #F5F1EA; font-weight: 600; }
.site-footer .meta { color: rgba(245,241,234,0.78); }
.site-footer .row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--kg-5);
  max-width: var(--kg-container);
  margin: 0 auto;
  padding: 0 var(--kg-5);
}
.site-footer .row ul { list-style: none; padding: 0; margin: 0; }
.site-footer .row li { padding: 4px 0; }
.site-footer .meta {
  margin-top: var(--kg-6);
  border-top: 1px solid rgba(245,241,234,0.18);
  padding-top: var(--kg-4);
  font-size: 12.5px;
  color: rgba(245,241,234,0.7);
  max-width: var(--kg-container);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--kg-5);
  padding-right: var(--kg-5);
}
@media (max-width: 800px) {
  .site-footer .row { grid-template-columns: 1fr 1fr; }
}

/* === Cover hero === */
.hero {
  background:
    radial-gradient(60% 80% at 80% 20%, rgba(46,111,79,0.18) 0%, rgba(46,111,79,0) 60%),
    linear-gradient(170deg, var(--kg-deep-green) 0%, #1A3F35 100%);
  color: var(--kg-offwhite);
  padding: var(--kg-9) 0 var(--kg-8);
  position: relative; overflow: hidden;
}
.hero .container { position: relative; z-index: 2; }
.hero .eyebrow { color: #9CC4AE; }
.hero h1 { color: var(--kg-offwhite); font-size: clamp(2rem, 5.5vw, var(--kg-hero)); line-height: 1.05; max-width: 18ch; margin: 0 0 var(--kg-4); }
.hero p.lead { color: rgba(245,241,234,0.86); max-width: 60ch; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--kg-5); }
.hero .cta-row .btn { background: var(--kg-offwhite); color: var(--kg-deep-green); border-color: var(--kg-offwhite); }
.hero .cta-row .btn:hover { background: #fff; }
.hero .cta-row .btn.ghost { background: transparent; color: var(--kg-offwhite); border-color: rgba(245,241,234,0.4); }
.hero .cta-row .btn.ghost:hover { background: rgba(245,241,234,0.08); color: #fff; }

.hero-frame {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--kg-6); align-items: center;
}
@media (max-width: 960px) { .hero-frame { grid-template-columns: 1fr; } }

.hero-meta-card {
  background: rgba(245,241,234,0.08);
  border: 1px solid rgba(245,241,234,0.16);
  border-radius: var(--kg-r-lg);
  padding: var(--kg-5);
}
.hero-meta-card h4 { color: #9CC4AE; margin: 0 0 8px; font-family: var(--kg-body); text-transform: uppercase; letter-spacing: 0.08em; font-size: 11.5px; font-weight: 600; }
.hero-meta-card p { color: rgba(245,241,234,0.92); margin: 0 0 var(--kg-3); font-size: 14.5px; line-height: 1.5; }
.hero-meta-card p strong { color: #F5F1EA; font-weight: 600; }

/* === Cover variant (minimal home page) === */
.hero.hero-cover { padding: clamp(72px, 12vw, 160px) 0 clamp(72px, 12vw, 160px); min-height: 80vh; display: flex; align-items: center; }
.hero.hero-cover .cover-frame { max-width: 64rem; margin: 0 auto; text-align: left; }
.hero.hero-cover .cover-lockup {
  display: inline-flex; align-items: center; gap: clamp(20px, 3vw, 36px);
  margin: 0 0 clamp(40px, 6vw, 64px);
  padding-bottom: clamp(24px, 3vw, 36px);
  border-bottom: 1px solid rgba(245,241,234,0.22);
  width: 100%;
}
.hero.hero-cover .cover-logo { display: block; width: auto; flex: 0 0 auto; }
/* Cover-page logos sized so the KORE text inside each reads at an equal visual
   size. Same height for both so neither brand dominates the lockup. */
.hero.hero-cover .cover-logo-insulation { height: clamp(46px, 5vw, 68px); }
.hero.hero-cover .cover-logo-retrofit   { height: clamp(46px, 5vw, 68px); }
.hero.hero-cover .cover-lockup-divider {
  display: inline-block; width: 1px; align-self: stretch;
  background: rgba(245,241,234,0.28);
  min-height: 36px;
}
.hero.hero-cover .cover-eyebrow { color: #9CC4AE; margin: 0 0 var(--kg-4); font-size: clamp(11px, 0.95vw, 13px); }
.hero.hero-cover h1 { font-family: var(--kg-display); color: var(--kg-offwhite); font-size: clamp(2.2rem, 5.8vw, 4rem); line-height: 1.06; letter-spacing: -0.01em; margin: 0 0 var(--kg-4); max-width: 18ch; }
.hero.hero-cover .cover-subtitle {
  font-family: var(--kg-display);
  color: #9CC4AE; font-style: italic;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  letter-spacing: 0.01em;
  margin: 0 0 var(--kg-5);
  max-width: 32ch;
}
.hero.hero-cover .cover-supporting {
  font-size: clamp(0.95rem, 1.25vw, 1.05rem);
  color: rgba(245,241,234,0.86);
  margin: 0 0 var(--kg-3);
  letter-spacing: 0.005em;
  font-weight: 400;
}
.hero.hero-cover .cover-period { font-size: clamp(0.85rem, 1.1vw, 0.95rem); color: rgba(245,241,234,0.66); margin: 0; letter-spacing: 0.02em; text-transform: uppercase; }
@media (max-width: 640px) {
  .hero.hero-cover .cover-lockup { gap: 16px; }
  .hero.hero-cover .cover-lockup-divider { display: none; }
}

/* Eyebrow */
.eyebrow {
  font-size: var(--kg-eyebrow);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--kg-si);
}

/* Section header block (eyebrow + h1 + lead) */
.section-header { margin-bottom: var(--kg-5); }
.section-header h1, .section-header h2 { margin-top: 0; }

/* On-this-page (right column compressed inside main) */
.on-this-page { margin: var(--kg-5) 0; padding: var(--kg-4); background: var(--kg-surface); border-radius: var(--kg-r); border: 1px solid var(--kg-soft-grey); }
.on-this-page strong { display:block; margin-bottom: 6px; }
.on-this-page ul { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: var(--kg-5); }
.on-this-page a { font-size: 13.5px; display: block; padding: 3px 0; }
@media (max-width: 720px) { .on-this-page ul { columns: 1; } }

/* === Chart frame === */
.chart-frame {
  background: var(--kg-surface);
  border: 1px solid var(--kg-soft-grey);
  border-radius: var(--kg-r);
  padding: var(--kg-5);
  margin: var(--kg-4) 0;
}
.chart-frame .chart-meta { display: flex; justify-content: space-between; gap: var(--kg-3); flex-wrap: wrap; margin-bottom: var(--kg-3); }
.chart-frame h3 { font-family: var(--kg-display); color: var(--kg-deep-green); font-size: 1.25rem; margin: 0 0 4px; font-weight: 600; }
.chart-frame .chart-sub { color: var(--kg-mid-grey); font-size: 13px; margin: 0; }
.chart-frame .chart-canvas-wrap { position: relative; height: 360px; }
.chart-frame .chart-canvas-wrap canvas { width: 100% !important; height: 100% !important; }
.chart-frame.taller .chart-canvas-wrap { height: 460px; }
.chart-frame .chart-toggle { display: flex; gap: 6px; align-items: center; }
.chart-frame .chart-toggle button { background: var(--kg-offwhite); border: 1px solid var(--kg-soft-grey); border-radius: var(--kg-r); padding: 5px 10px; font-size: 12.5px; cursor: pointer; color: var(--kg-charcoal); }
.chart-frame .chart-toggle button[aria-pressed="true"] { background: var(--kg-deep-green); color: var(--kg-offwhite); border-color: var(--kg-deep-green); }
.chart-frame .chart-meth { margin-top: var(--kg-3); padding-top: var(--kg-3); border-top: 1px solid var(--kg-soft-grey); font-size: 12.5px; color: var(--kg-mid-grey); }
.chart-frame .chart-meth strong { color: var(--kg-charcoal); font-weight: 600; }
.chart-frame .chart-source-link { color: var(--kg-ai); }

/* Diagram surface */
.diagram {
  background: var(--kg-surface);
  border: 1px solid var(--kg-soft-grey);
  border-radius: var(--kg-r);
  padding: var(--kg-5);
  margin: var(--kg-4) 0;
}
.diagram svg { max-width: 100%; height: auto; display: block; }

/* VSME map */
.vsme-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: var(--kg-3); margin: var(--kg-4) 0; }
.vsme-cell {
  display: block;
  background: var(--kg-surface);
  border: 1px solid var(--kg-soft-grey);
  border-radius: var(--kg-r);
  padding: var(--kg-3);
  text-decoration: none;
  color: var(--kg-charcoal);
  transition: box-shadow var(--kg-d-sm) var(--kg-ease), border-color var(--kg-d-sm) var(--kg-ease);
}
.vsme-cell:hover { box-shadow: var(--kg-shadow-2); border-color: var(--kg-si); color: var(--kg-charcoal); }
.vsme-cell .code { font-family: var(--kg-display); font-size: 1.5rem; color: var(--kg-deep-green); font-weight: 600; line-height: 1; }
.vsme-cell .title { font-size: 12.5px; line-height: 1.3; color: var(--kg-charcoal); margin: 8px 0 6px; min-height: 32px; }
.vsme-cell .pill { font-size: 11px; padding: 2px 8px; }

/* === Credential cards === */
.cred-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--kg-3); margin: var(--kg-4) 0; }
.cred-card {
  display: flex; gap: var(--kg-3); align-items: flex-start;
  background: var(--kg-surface);
  border: 1px solid var(--kg-soft-grey);
  border-radius: var(--kg-r);
  padding: var(--kg-3);
}
.cred-card .icon { width: 36px; height: 36px; flex-shrink: 0; color: var(--kg-deep-green); }
.cred-card .meta { font-size: 13px; line-height: 1.4; }
.cred-card .meta strong { display: block; color: var(--kg-deep-green); font-weight: 600; margin-bottom: 2px; }
.cred-card .meta small { color: var(--kg-mid-grey); }

/* === Designer queries / data tables for app A === */
.data-table-block { margin: var(--kg-4) 0; }
.data-table-block .data-table-controls { display: flex; justify-content: space-between; gap: var(--kg-3); flex-wrap: wrap; margin-bottom: var(--kg-3); }
.data-table-block input[type="search"] {
  padding: 8px 12px;
  border: 1px solid var(--kg-soft-grey);
  border-radius: var(--kg-r);
  font-family: var(--kg-body); font-size: 13.5px;
  background: var(--kg-offwhite);
  min-width: 220px;
}

/* === Pillar tag row (compact at top of section) === */
.pillar-tag-row { display: flex; gap: 6px; flex-wrap: wrap; }

/* === Search modal === */
.search-modal {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(31,36,34,0.45);
  display: none;
  align-items: flex-start; justify-content: center;
  padding: 80px 16px;
}
.search-modal.open { display: flex; }
.search-panel {
  background: var(--kg-offwhite);
  border-radius: var(--kg-r-lg);
  max-width: 720px; width: 100%;
  max-height: 70vh; overflow: hidden;
  display: flex; flex-direction: column;
}
.search-panel input {
  width: 100%; padding: 14px 18px; border: 0; border-bottom: 1px solid var(--kg-soft-grey);
  font-family: var(--kg-body); font-size: 1.0625rem; background: transparent;
}
.search-panel input:focus { outline: none; }
.search-results { overflow-y: auto; padding: 8px; }
.search-result { display: block; padding: 10px 12px; text-decoration: none; color: var(--kg-charcoal); border-radius: var(--kg-r); }
.search-result:hover, .search-result.active { background: var(--kg-surface); }
.search-result .sr-title { font-weight: 600; color: var(--kg-deep-green); font-size: 14px; margin-bottom: 2px; }
.search-result .sr-excerpt { font-size: 13px; color: var(--kg-mid-grey); line-height: 1.4; }
.search-result mark { background: rgba(255, 200, 0, 0.35); color: inherit; padding: 0 2px; border-radius: 2px; }
.search-empty { padding: var(--kg-5); color: var(--kg-mid-grey); font-size: 14px; }

/* === Print === */
@media print {
  :root { --kg-nav-h: 0px; }
  body { background: #fff; color: #1F2422; }
  .site-header, .site-footer, .left-rail, .drawer, .drawer-overlay, .search-modal, .hamburger, .skip, .utility, .chart-toggle, .data-table-controls, .btn { display: none !important; }
  .page { grid-template-columns: 1fr; max-width: none; padding: 0; }
  .hero { background: #fff !important; color: #1F2422 !important; padding: 24pt 0 12pt; page-break-after: always; }
  .hero h1, .hero .eyebrow, .hero p.lead { color: #1F2422 !important; }
  .hero-meta-card { background: #fff !important; border: 1px solid #D4D1CA !important; }
  .hero-meta-card h4, .hero-meta-card p { color: #1F2422 !important; }
  h1, h2 { page-break-after: avoid; }
  table, figure, .callout, .chart-frame, .diagram, .vsme-grid, .card-grid { page-break-inside: avoid; }
  .chart-frame .chart-canvas-wrap { display: none; }
  .chart-frame::after { content: "Chart available in the digital eBook. Source data follows."; display: block; font-style: italic; color: #6A6F6C; font-size: 11pt; margin: 8pt 0; }
  a { color: #1F2422; text-decoration: none; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #6A6F6C; }
}

/* ============================================================
   Update Brief, May 2026 — additive components
   ============================================================ */

/* === Overview / landing pages for section ancestors === */
.overview-page { margin-top: var(--kg-5); }
.overview-page .section-intro {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--kg-charcoal);
  max-width: 70ch;
  line-height: 1.55;
  margin: 0 0 var(--kg-6);
}
.section-quicklinks {
  display: flex; flex-wrap: wrap; gap: 10px 14px;
  margin: var(--kg-5) 0;
  padding: var(--kg-4) 0 0;
  border-top: 1px solid var(--kg-line);
}
.section-quicklinks a {
  display: inline-block;
  padding: 8px 14px;
  background: rgba(46,111,79,0.08);
  border-radius: 999px;
  font-size: 14px;
  color: var(--kg-deep-green);
  text-decoration: none;
  transition: background var(--kg-d-sm) var(--kg-ease);
}
.section-quicklinks a:hover { background: rgba(46,111,79,0.16); text-decoration: none; }

/* === Two-entity card grid (About KORE Group, Business Model) === */
.entity-cards, .two-business-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--kg-5);
  margin: var(--kg-5) 0;
}
@media (max-width: 720px) {
  .entity-cards, .two-business-grid { grid-template-columns: 1fr; }
}
.entity-card {
  background: #fff;
  border: 1px solid var(--kg-line);
  border-radius: var(--kg-r-lg);
  padding: var(--kg-5);
  display: flex; flex-direction: column;
  transition: border-color var(--kg-d-sm) var(--kg-ease), box-shadow var(--kg-d-sm) var(--kg-ease);
}
.entity-card:hover { border-color: rgba(46,111,79,0.3); box-shadow: 0 6px 22px rgba(19,50,43,0.06); }
.entity-card .entity-logo {
  height: 38px; width: auto; display: block; margin: 0 0 var(--kg-4);
  object-fit: contain; object-position: left;
}
.entity-card .entity-logo-dark {
  background: var(--kg-deep-green);
  padding: 10px 14px;
  border-radius: 6px;
  height: 56px;
}
.entity-card h3, .entity-card h4 {
  font-family: var(--kg-display);
  color: var(--kg-deep-green);
  font-size: 1.4rem;
  margin: 0 0 6px;
}
.entity-card h4 { font-size: 1.2rem; }
.entity-card .entity-strap {
  color: var(--kg-mid-grey);
  font-size: 14px;
  margin: 0 0 var(--kg-4);
}
.entity-card .entity-points {
  list-style: none; padding: 0; margin: 0 0 var(--kg-4);
}
.entity-card .entity-points li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  color: var(--kg-charcoal);
  font-size: 15px;
}
.entity-card .entity-points li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 12px; height: 2px;
  background: var(--kg-deep-green);
  border-radius: 2px;
}
.entity-card .entity-link {
  margin-top: auto;
  color: var(--kg-deep-green);
  font-size: 14px;
  text-decoration: none;
  font-weight: 500;
}
.entity-card .entity-link:hover { text-decoration: underline; }

/* Group platform band */
.group-platform-band {
  background: rgba(19,50,43,0.04);
  border-left: 3px solid var(--kg-deep-green);
  padding: var(--kg-4) var(--kg-5);
  border-radius: 0 6px 6px 0;
  margin: var(--kg-5) 0;
  font-size: 15px;
  color: var(--kg-charcoal);
}
.group-platform-band strong { color: var(--kg-deep-green); }

/* === Value-chain flow (Business Model) === */
.business-model-redesign { margin: var(--kg-5) 0 var(--kg-6); }
.bm-heading {
  font-family: var(--kg-display);
  color: var(--kg-deep-green);
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  margin: 0 0 var(--kg-4);
}
.value-chain {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0 0 var(--kg-5);
  position: relative;
}
@media (max-width: 980px) { .value-chain { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .value-chain { grid-template-columns: 1fr; } }
.vc-step {
  background: #fff;
  border: 1px solid var(--kg-line);
  border-top: 4px solid var(--kg-deep-green);
  border-radius: 6px;
  padding: var(--kg-4);
  position: relative;
}
.vc-step.vc-inputs    { border-top-color: #5E461F; }
.vc-step.vc-operations{ border-top-color: var(--kg-si, #2E6F4F); }
.vc-step.vc-outputs   { border-top-color: var(--kg-ai, #1B4E66); }
.vc-step.vc-outcomes  { border-top-color: var(--kg-pp, #4B4F4D); }
.vc-step.vc-impacts   { border-top-color: var(--kg-deep-green); }
.vc-step .vc-label {
  font-family: var(--kg-body);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--kg-mid-grey);
  margin: 0 0 var(--kg-3);
}
.vc-step ul {
  list-style: none; padding: 0; margin: 0;
  font-size: 14px;
  color: var(--kg-charcoal);
}
.vc-step ul li {
  margin-bottom: 6px;
  padding-left: 14px;
  position: relative;
  line-height: 1.4;
}
.vc-step ul li::before {
  content: "›"; position: absolute; left: 0; color: var(--kg-deep-green); font-weight: 600;
}

/* === People & Purpose cards (Social overview) === */
.pp-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--kg-4);
  margin: var(--kg-5) 0;
}
@media (max-width: 1000px) { .pp-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .pp-cards { grid-template-columns: 1fr; } }
.pp-card {
  display: block;
  background: #fff;
  border: 1px solid var(--kg-line);
  border-radius: var(--kg-r-lg);
  padding: var(--kg-4);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--kg-d-sm) var(--kg-ease), box-shadow var(--kg-d-sm) var(--kg-ease);
}
.pp-card:hover { border-color: rgba(46,111,79,0.3); box-shadow: 0 6px 22px rgba(19,50,43,0.06); text-decoration: none; }
.pp-card .pp-eyebrow {
  font-family: var(--kg-body);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--kg-deep-green);
  margin: 0 0 8px;
}
.pp-card h3 {
  font-family: var(--kg-display);
  color: var(--kg-deep-green);
  font-size: 1.15rem;
  margin: 0 0 var(--kg-3);
}
.pp-card .pp-metric {
  font-family: var(--kg-display);
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  font-weight: 600;
  color: var(--kg-charcoal);
  margin: 0 0 4px;
  line-height: 1.1;
}
.pp-card .pp-metric span {
  display: block;
  font-family: var(--kg-body);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--kg-mid-grey);
  font-weight: 400;
  margin-top: 4px;
}
.pp-card .pp-meta {
  font-size: 13px;
  color: var(--kg-mid-grey);
  margin: 0;
}

/* === Site cards (Geolocation) === */
.site-cards-wrap { margin-top: var(--kg-5); }
.diagram-heading {
  font-family: var(--kg-display);
  color: var(--kg-deep-green);
  font-size: 1.25rem;
  margin: 0 0 var(--kg-4);
}
.site-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--kg-4);
}
@media (max-width: 720px) { .site-cards { grid-template-columns: 1fr; } }
.site-card {
  background: #fff;
  border: 1px solid var(--kg-line);
  border-radius: var(--kg-r-lg);
  padding: var(--kg-5);
}
.site-card .site-eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--kg-deep-green); margin: 0 0 8px;
}
.site-card h4 {
  font-family: var(--kg-display);
  color: var(--kg-deep-green);
  font-size: 1.2rem; margin: 0 0 var(--kg-3);
}
.site-card .site-addr, .site-card .site-coords, .site-card .site-activity, .site-card .site-boundary {
  font-size: 14px; margin: 0 0 8px; color: var(--kg-charcoal);
}
.site-card .site-coords { font-family: var(--kg-body); color: var(--kg-mid-grey); }

/* === Signature block (Leadership) === */
.signature-block {
  margin: var(--kg-7) 0 var(--kg-3);
  padding: var(--kg-4) 0 0;
  border-top: 1px solid var(--kg-line);
}
.signature-block p { margin: 0 0 2px; max-width: 50ch; }
.signature-block p:first-child {
  font-family: var(--kg-display);
  font-size: 1.4rem;
  color: var(--kg-deep-green);
  font-weight: 500;
  font-style: italic;
  margin: 0 0 var(--kg-2);
}
.signature-block p:first-child strong { font-weight: 500; font-style: italic; }
.signature-block p:nth-child(2) {
  color: var(--kg-mid-grey);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.signature-block p:nth-child(3) {
  color: var(--kg-charcoal);
  font-size: 14px;
  font-weight: 500;
}

/* === Verification panel (Annex A) — EcoVerify mark isolated === */
.verification-panel {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: var(--kg-5);
  background: rgba(46,111,79,0.05);
  border: 1px solid rgba(46,111,79,0.15);
  border-radius: var(--kg-r-lg);
  padding: var(--kg-5);
  margin: var(--kg-5) 0;
}
@media (max-width: 800px) { .verification-panel { grid-template-columns: 1fr; } }
.verification-panel .label {
  font-family: var(--kg-body); text-transform: uppercase; letter-spacing: 0.08em;
  font-size: 11px; font-weight: 600; color: var(--kg-deep-green);
  margin: 0 0 var(--kg-3);
}
.verification-panel-body p { margin: 0 0 var(--kg-2); font-size: 15px; }
.verification-panel-body .btn.ghost {
  background: transparent; color: var(--kg-deep-green);
  border: 1px solid var(--kg-deep-green); padding: 8px 14px;
  border-radius: 6px; text-decoration: none; font-size: 14px;
  display: inline-block; transition: all var(--kg-d-sm) var(--kg-ease);
}
.verification-panel-body .btn.ghost:hover {
  background: var(--kg-deep-green); color: #fff; text-decoration: none;
}
.verification-panel-mark {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: #fff; border-radius: 6px;
  padding: var(--kg-4);
  text-align: center;
}
.verification-panel-mark img {
  max-width: 180px; max-height: 240px; width: auto; height: auto;
  margin: 0 auto var(--kg-3);
  display: block;
}
.verification-panel-mark .mark-caption {
  font-size: 12px;
  color: var(--kg-mid-grey);
  margin: 0;
  line-height: 1.4;
}

/* === CROÍ framework — narrative context (§3.4) === */
.croi-narrative {
  margin: var(--kg-5) 0 var(--kg-6);
  padding: 0;
}
.croi-narrative-header {
  background: linear-gradient(135deg, var(--kg-deep-green) 0%, #1A3F35 100%);
  color: var(--kg-offwhite);
  padding: var(--kg-6) var(--kg-6) var(--kg-5);
  border-radius: var(--kg-r-lg) var(--kg-r-lg) 0 0;
}
.croi-narrative-header .eyebrow {
  color: #9CC4AE;
  margin: 0 0 var(--kg-3);
  font-size: 11px;
}
.croi-narrative-header h3 {
  font-family: var(--kg-display);
  color: var(--kg-offwhite);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0;
  font-weight: 500;
}
.croi-narrative-body {
  background: rgba(46,111,79,0.04);
  border: 1px solid rgba(46,111,79,0.12);
  border-top: 0;
  padding: var(--kg-6);
  border-radius: 0 0 var(--kg-r-lg) var(--kg-r-lg);
}
.croi-narrative-body .croi-lead {
  font-family: var(--kg-display);
  font-style: italic;
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  color: var(--kg-deep-green);
  line-height: 1.5;
  margin: 0 0 var(--kg-5);
  max-width: 68ch;
}
.croi-narrative-body p {
  color: var(--kg-charcoal);
  line-height: 1.65;
  margin-bottom: var(--kg-4);
  max-width: 70ch;
}
.croi-narrative-body p:last-child { margin-bottom: 0; }

/* Four-pillar diagram wrap */
.croi-diagram-wrap { margin: var(--kg-6) 0; }

/* Relationship cards (VSME vs CROÍ Reporting Framework) */
.croi-relationship {
  background: rgba(91,75,42,0.04);
  border: 1px solid rgba(91,75,42,0.18);
  border-radius: var(--kg-r-lg);
  padding: var(--kg-5);
  margin: var(--kg-6) 0;
}
.croi-relationship .eyebrow {
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  font-weight: 600; color: #5E461F;
  margin: 0 0 8px;
}
.croi-rel-card {
  margin-bottom: var(--kg-4);
}
.croi-rel-card h4 {
  font-family: var(--kg-display);
  color: var(--kg-deep-green);
  font-size: 1.25rem;
  margin: 0 0 var(--kg-3);
}
.croi-rel-card p {
  color: var(--kg-charcoal);
  margin: 0;
  max-width: 70ch;
  font-size: 15px;
  line-height: 1.6;
}
@media (min-width: 720px) {
  .croi-relationship {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--kg-5);
  }
  .croi-rel-card { margin-bottom: 0; }
  .croi-rel-footer { grid-column: 1 / -1; }
}
.croi-rel-vsme h4 { color: var(--kg-deep-green); }
.croi-rel-narrative h4 { color: #5E461F; }
.croi-rel-footer {
  margin: var(--kg-4) 0 0;
  padding-top: var(--kg-4);
  border-top: 1px solid rgba(91,75,42,0.18);
  font-size: 14px;
  color: var(--kg-charcoal);
}
.croi-rel-footer strong { color: var(--kg-deep-green); }

/* SDG callout */
.sdg-callout {
  background: #fff;
  border: 1px solid var(--kg-line);
  border-radius: var(--kg-r-lg);
  padding: var(--kg-5);
  margin: var(--kg-6) 0;
}
.sdg-callout .eyebrow {
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  font-weight: 600; color: var(--kg-deep-green);
  margin: 0 0 var(--kg-3);
}
.sdg-callout .sdg-lead {
  font-size: 1.05rem;
  color: var(--kg-charcoal);
  margin: 0 0 var(--kg-3);
  max-width: 70ch;
}
.sdg-callout .sdg-note {
  font-size: 13px;
  color: var(--kg-mid-grey);
  margin: 0;
  font-style: italic;
}

/* === CROÍ wordmark (top of narrative panel) === */
.croi-narrative-header {
  text-align: center;
}
.croi-wordmark {
  display: block;
  margin: 0 auto var(--kg-4);
  height: clamp(72px, 9vw, 108px);
  width: auto;
  background: #fff;
  padding: 18px 30px;
  border-radius: 8px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.18);
}
.croi-narrative-strap {
  color: #9CC4AE;
  font-family: var(--kg-display);
  font-style: italic;
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  margin: 0;
  max-width: 56ch;
  margin-left: auto;
  margin-right: auto;
}

/* === Official CROÍ framework figure === */
.croi-figure {
  margin: var(--kg-5) 0;
  padding: var(--kg-5);
  background: #fff;
  border: 1px solid var(--kg-line);
  border-radius: var(--kg-r-lg);
  text-align: center;
}
.croi-framework-img {
  max-width: min(620px, 100%);
  height: auto;
  margin: 0 auto;
  display: block;
}
.croi-figure figcaption {
  margin-top: var(--kg-4);
  font-size: 14px;
  color: var(--kg-mid-grey);
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

/* === SDG pillar grid (from official diagram) === */
.sdg-pillar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--kg-4);
  margin: var(--kg-4) 0;
}
@media (max-width: 720px) { .sdg-pillar-grid { grid-template-columns: 1fr; } }
.sdg-pillar {
  background: #fff;
  border: 1px solid var(--kg-line);
  border-left: 4px solid var(--kg-deep-green);
  border-radius: 6px;
  padding: var(--kg-4);
}
.sdg-pillar-hh { border-left-color: #145E66; }   /* dark teal */
.sdg-pillar-si { border-left-color: #1F7E72; }   /* deep teal-green */
.sdg-pillar-ai { border-left-color: #4D9690; }   /* mid teal */
.sdg-pillar-pp { border-left-color: #A1B0AD; }   /* grey-sage */
.sdg-pillar-name {
  font-family: var(--kg-display);
  font-size: 1.1rem;
  color: var(--kg-deep-green);
  margin: 0 0 var(--kg-3);
}
.sdg-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sdg-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
  font-size: 14px;
  color: var(--kg-charcoal);
}
.sdg-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 4px;
  font-family: var(--kg-display);
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  flex: 0 0 auto;
}
/* Official UN SDG brand colours (subset used) */
.sdg-03 { background: #4C9F38; }  /* SDG 3 — Good Health */
.sdg-04 { background: #C5192D; }  /* SDG 4 — Quality Education */
.sdg-05 { background: #FF3A21; }  /* SDG 5 — Gender Equality */
.sdg-07 { background: #FCC30B; color: #1A3F35; }  /* SDG 7 — Affordable & Clean Energy */
.sdg-08 { background: #A21942; }  /* SDG 8 — Decent Work */
.sdg-09 { background: #FD6925; }  /* SDG 9 — Industry, Innovation */
.sdg-11 { background: #FD9D24; color: #1A3F35; }  /* SDG 11 — Sustainable Cities */
.sdg-12 { background: #8C5A07; }  /* SDG 12 — Responsible Consumption (darkened from official #BF8B2E to meet WCAG AA at 14px) */
.sdg-13 { background: #3F7E44; }  /* SDG 13 — Climate Action */
.sdg-17 { background: #19486A; }  /* SDG 17 — Partnerships */

/* === Tables: stack on narrow viewports (Brief HIGH 9) === */
@media (max-width: 720px) {
  article.section .table-scroll {
    overflow: visible;
    border: 0;
  }
  article.section table.stackable {
    width: 100%;
    border: 0;
    display: block;
  }
  article.section table.stackable thead { display: none; }
  article.section table.stackable tbody,
  article.section table.stackable tr,
  article.section table.stackable td {
    display: block;
    width: 100%;
  }
  article.section table.stackable tr {
    background: #fff;
    border: 1px solid var(--kg-line);
    border-radius: 8px;
    padding: var(--kg-3) var(--kg-4);
    margin-bottom: var(--kg-4);
  }
  article.section table.stackable tr.odd,
  article.section table.stackable tr.even { background: #fff; }
  article.section table.stackable td {
    padding: 8px 0;
    border-bottom: 1px solid var(--kg-soft-grey);
    font-size: 14px;
  }
  article.section table.stackable td:last-child { border-bottom: 0; }
  article.section table.stackable td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--kg-mid-grey);
    font-weight: 600;
    margin-bottom: 4px;
  }
  /* Hide colgroup widths on mobile (they were inline-styled by Pandoc) */
  article.section table.stackable colgroup,
  article.section table.stackable col { display: none; }
}

/* === Cover lockup: tighter on mobile === */
@media (max-width: 560px) {
  .hero.hero-cover .cover-lockup {
    flex-wrap: wrap;
    gap: 14px;
    padding-bottom: 20px;
    margin-bottom: 28px;
  }
  .hero.hero-cover .cover-logo-insulation { height: 40px; }
  .hero.hero-cover .cover-logo-retrofit   { height: 40px; }
  .hero.hero-cover h1 { font-size: 1.8rem; }
}

/* === Top nav brand: prevent awkward wrap on narrow screens === */
@media (max-width: 480px) {
  .brand small { display: none; }
}

/* === Reduce default top nav padding on mobile so cover lockup fits === */
@media (max-width: 720px) {
  .hero.hero-cover { min-height: 60vh; padding: 64px 0 64px; }
}

/* ============================================================
   UI/UX polish pass — May 2026
   ============================================================ */

/* Section header tightening — better breathing room below tag row */
article.section h1 { margin-top: var(--kg-5); margin-bottom: var(--kg-6); position: relative; }
article.section h1::before {
  content: ""; display: block;
  width: 32px; height: 3px;
  background: var(--kg-deep-green);
  margin-bottom: var(--kg-3);
  border-radius: 2px;
}

/* Anchor scroll offset for sticky nav so headings land below the bar */
:root { scroll-padding-top: 96px; }
[id] { scroll-margin-top: 96px; }

/* Card hover affordances — make clickable cards feel intentional */
.pp-card, .entity-card a.entity-link, .site-card, .croi-rel-card, .vc-step {
  transition:
    transform 220ms cubic-bezier(.22,.36,.32,1),
    box-shadow 220ms cubic-bezier(.22,.36,.32,1),
    border-color 220ms cubic-bezier(.22,.36,.32,1);
}
.pp-card:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(19,50,43,0.08); }
.vc-step:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(19,50,43,0.06); }

@media (prefers-reduced-motion: reduce) {
  .pp-card, .vc-step, .entity-card { transition: none; transform: none !important; }
}

/* Stronger focus indicators on cards/links for keyboard users */
.pp-card:focus-visible, .entity-card:focus-visible, .site-card:focus-visible, .vc-step:focus-visible,
.section-quicklinks a:focus-visible {
  outline: 2px solid var(--kg-deep-green);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Back-to-top floating action button */
.back-to-top {
  position: fixed; right: 24px; bottom: 24px;
  width: 44px; height: 44px;
  background: var(--kg-deep-green); color: var(--kg-offwhite);
  border: 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: 0 8px 24px rgba(19,50,43,0.25);
  opacity: 0; pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease;
  z-index: 50;
}
.back-to-top.visible { opacity: 0.92; pointer-events: auto; }
.back-to-top:hover { opacity: 1; transform: translateY(-2px); }
.back-to-top:focus-visible { outline: 2px solid var(--kg-offwhite); outline-offset: 3px; }
.back-to-top svg { width: 20px; height: 20px; }
@media (max-width: 720px) {
  .back-to-top { right: 16px; bottom: 16px; }
}

/* Sticky-nav: subtle bottom shadow when page is scrolled */
header.site-nav { transition: box-shadow 200ms ease; }
body.is-scrolled header.site-nav { box-shadow: 0 1px 0 rgba(19,50,43,0.08), 0 6px 18px rgba(19,50,43,0.04); }

/* Lead paragraph variant: when used inside hero, don't apply the side border */
.hero p.lead-bold {
  background: transparent;
  border-left: 0;
  padding: 0;
}

/* Verification panel: tighter typography */
.verification-panel-body p { line-height: 1.5; }
.verification-panel-body p strong { color: var(--kg-deep-green); }

/* Improve readable measure on long-form section body */
article.section p,
article.section ul,
article.section ol { max-width: 72ch; }
article.section li p { max-width: none; }

/* Hide horizontal scrollbar on table-scroll containers when content fits */
article.section .table-scroll { scrollbar-width: thin; }

/* Polished pill (tag-row) — subtle elevation and tighter padding */
.tag-row .pill {
  background: #fff;
  border: 1px solid var(--kg-line);
  font-size: 12.5px;
  padding: 5px 12px 5px 16px;
  line-height: 1.3;
}
.tag-row .pill::before { width: 7px; height: 7px; }
.tag-row .verify-badge {
  background: rgba(46,111,79,0.08);
  border-color: rgba(46,111,79,0.25);
  color: var(--kg-deep-green);
}

/* ============================================================
   Top-banner mega-nav (table of contents in banner)
   ============================================================ */
nav.primary-nav[data-mega] {
  display: flex;
  align-items: stretch;
  gap: 0;
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
  padding: 0 8px;
}
.mega-trigger { padding: 8px 10px; font-size: 13.5px; }
@media (max-width: 1280px) { .mega-trigger { padding: 8px 8px; font-size: 13px; } }
@media (max-width: 1180px) { .mega-trigger { padding: 7px 6px; font-size: 12.5px; } }
.mega-item {
  position: relative;
  display: flex;
  align-items: center;
}
.mega-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: transparent;
  border: 0;
  font: inherit;
  color: var(--kg-charcoal);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  border-radius: 6px;
  white-space: nowrap;
  transition: background var(--kg-d-sm) var(--kg-ease), color var(--kg-d-sm) var(--kg-ease);
}
.mega-trigger:hover,
.mega-trigger[aria-expanded="true"] {
  background: rgba(46,111,79,0.08);
  color: var(--kg-deep-green);
}
.mega-trigger:focus-visible {
  outline: 2px solid var(--kg-deep-green);
  outline-offset: 2px;
}
.mega-caret {
  transition: transform var(--kg-d-sm) var(--kg-ease);
  opacity: 0.7;
}
.mega-trigger[aria-expanded="true"] .mega-caret { transform: rotate(180deg); opacity: 1; }

.mega-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 280px;
  max-width: 360px;
  background: #fff;
  border: 1px solid var(--kg-line);
  border-radius: 10px;
  padding: 16px 8px 12px;
  box-shadow: 0 16px 40px rgba(19,50,43,0.12), 0 4px 12px rgba(19,50,43,0.06);
  z-index: 60;
  animation: megaIn 180ms cubic-bezier(.22,.36,.32,1);
}
@keyframes megaIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-6px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .mega-panel { animation: none; }
}
.mega-panel-eyebrow {
  margin: 0 12px 8px;
  padding: 0 0 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--kg-mid-grey);
  font-weight: 600;
  border-bottom: 1px solid var(--kg-soft-grey);
}
.mega-panel-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: none;
}
.mega-panel-list li { margin: 0; }
.mega-panel-list a {
  display: block;
  padding: 8px 12px;
  font-size: 14px;
  color: var(--kg-charcoal);
  text-decoration: none;
  border-radius: 6px;
  line-height: 1.4;
}
.mega-panel-list a:hover,
.mega-panel-list a:focus-visible {
  background: rgba(46,111,79,0.08);
  color: var(--kg-deep-green);
  text-decoration: none;
  outline: none;
}
/* The 'Report' (first) and 'Reference' (last) panels can edge-align to viewport */
.mega-item:first-child .mega-panel { left: 0; transform: none; }
.mega-item:first-child .mega-panel { animation-name: megaInLeft; }
@keyframes megaInLeft {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mega-item:last-child .mega-panel { left: auto; right: 0; transform: none; }
.mega-item:last-child .mega-panel { animation-name: megaInLeft; }

/* Hide the banner mega-nav on narrow viewports; the hamburger drawer takes over */
@media (max-width: 1080px) {
  nav.primary-nav[data-mega] { display: none; }
}

/* ============================================================
   Enhanced page nav (prev/next cards)
   ============================================================ */
.page-nav {
  margin: var(--kg-7) 0 0;
  padding-top: var(--kg-5);
  border-top: 1px solid var(--kg-line);
}
.page-nav-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--kg-4);
}
@media (max-width: 600px) { .page-nav-grid { grid-template-columns: 1fr; } }
.page-nav-card {
  display: block;
  background: #fff;
  border: 1px solid var(--kg-line);
  border-radius: var(--kg-r-lg);
  padding: var(--kg-4) var(--kg-5);
  text-decoration: none;
  color: inherit;
  transition: transform 220ms cubic-bezier(.22,.36,.32,1),
              box-shadow 220ms cubic-bezier(.22,.36,.32,1),
              border-color 220ms cubic-bezier(.22,.36,.32,1);
  position: relative;
  overflow: hidden;
}
.page-nav-card:hover,
.page-nav-card:focus-visible {
  border-color: var(--kg-deep-green);
  box-shadow: 0 10px 28px rgba(19,50,43,0.08);
  transform: translateY(-2px);
  text-decoration: none;
  outline: none;
}
.page-nav-card:focus-visible {
  outline: 2px solid var(--kg-deep-green);
  outline-offset: 3px;
}
.page-nav-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(46,111,79,0) 0%, rgba(46,111,79,0.04) 100%);
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}
.page-nav-card:hover::before { opacity: 1; }
.page-nav-next { text-align: right; }
.page-nav-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  color: var(--kg-deep-green);
}
.page-nav-next .page-nav-meta { justify-content: flex-end; }
.page-nav-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.page-nav-arrow {
  transition: transform 220ms cubic-bezier(.22,.36,.32,1);
}
.page-nav-prev:hover .page-nav-arrow { transform: translateX(-3px); }
.page-nav-next:hover .page-nav-arrow { transform: translateX(3px); }
.page-nav-title {
  font-family: var(--kg-display);
  color: var(--kg-deep-green);
  font-size: 1.15rem;
  line-height: 1.25;
  margin: 0 0 4px;
  font-weight: 500;
}
.page-nav-group {
  font-size: 12px;
  color: var(--kg-mid-grey);
  letter-spacing: 0.01em;
}
.page-nav-empty {
  /* keep grid alignment for first/last sections without forcing a clickable card */
  background: transparent;
  border: 1px dashed transparent;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .page-nav-card, .page-nav-arrow { transition: none !important; }
  .page-nav-card:hover { transform: none; }
}

/* The first banner item is the consolidated 'Contents' menu — emphasize it.
   Pure white on the dark banner; the ::before hamburger icon inherits via currentColor. */
.mega-item:first-child .mega-trigger {
  font-weight: 600;
  color: #FFFFFF;
}
.mega-item:first-child .mega-trigger::before {
  content: "";
  display: inline-block;
  width: 16px; height: 16px; margin-right: 6px;
  flex-shrink: 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='8' y1='6' x2='21' y2='6'/%3E%3Cline x1='8' y1='12' x2='21' y2='12'/%3E%3Cline x1='8' y1='18' x2='21' y2='18'/%3E%3Cline x1='3' y1='6' x2='3.01' y2='6'/%3E%3Cline x1='3' y1='12' x2='3.01' y2='12'/%3E%3Cline x1='3' y1='18' x2='3.01' y2='18'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='8' y1='6' x2='21' y2='6'/%3E%3Cline x1='8' y1='12' x2='21' y2='12'/%3E%3Cline x1='8' y1='18' x2='21' y2='18'/%3E%3Cline x1='3' y1='6' x2='3.01' y2='6'/%3E%3Cline x1='3' y1='12' x2='3.01' y2='12'/%3E%3Cline x1='3' y1='18' x2='3.01' y2='18'/%3E%3C/svg%3E") center / contain no-repeat;
}
.mega-item:first-child .mega-panel { min-width: 320px; max-width: 380px; }

/* Reflowed list — runtime-converted from a run of <h3> that were actually list items. */
article.section ul.reflowed-list {
  list-style: none;
  padding-left: 0;
  margin: 0 0 var(--kg-4);
  max-width: 72ch;
}
article.section ul.reflowed-list li {
  position: relative;
  padding: 6px 0 6px 22px;
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 400;
  font-family: var(--kg-body);
  color: var(--kg-charcoal);
  line-height: 1.6;
}
article.section ul.reflowed-list li::before {
  /* Round-dot bullet marker (replacing the earlier dash glyph which read as
     informal in a publication-quality VSME report). */
  content: "";
  position: absolute;
  left: 4px; top: 12px;
  width: 6px; height: 6px;
  background: var(--kg-deep-green);
  border-radius: 50%;
}

/* === Practices accordion (§4.2 sub-sections) === */
.practices-prologue {
  margin: var(--kg-5) 0 var(--kg-6);
  padding: var(--kg-5);
  background: rgba(46,111,79,0.04);
  border-left: 3px solid var(--kg-deep-green);
  border-radius: 0 8px 8px 0;
}
.practices-prologue > p:first-child {
  font-family: var(--kg-display);
  color: var(--kg-deep-green);
  font-size: 1.4rem;
  margin: 0 0 var(--kg-4);
  font-weight: 500;
}
.practices-prologue p { margin-bottom: var(--kg-3); max-width: 70ch; }
.practices-prologue ul {
  margin: var(--kg-3) 0;
  padding-left: var(--kg-5);
}

.practices-accordion { margin-top: var(--kg-5); }

.practices-card {
  background: #fff;
  border: 1px solid var(--kg-line);
  border-radius: var(--kg-r-lg);
  margin-bottom: var(--kg-3);
  overflow: hidden;
  transition: border-color 220ms cubic-bezier(.22,.36,.32,1),
              box-shadow 220ms cubic-bezier(.22,.36,.32,1);
}
.practices-card[open] {
  border-color: var(--kg-deep-green);
  box-shadow: 0 6px 24px rgba(19,50,43,0.06);
}
.practices-card-summary {
  display: flex;
  align-items: center;
  gap: var(--kg-3);
  padding: var(--kg-4) var(--kg-5);
  cursor: pointer;
  list-style: none;
  font-family: var(--kg-body);
  color: var(--kg-deep-green);
  user-select: none;
}
.practices-card-summary::-webkit-details-marker { display: none; }
.practices-card-summary:hover { background: rgba(46,111,79,0.04); }
.practices-card-summary:focus-visible {
  outline: 2px solid var(--kg-deep-green);
  outline-offset: -2px;
}
.practices-card-num {
  flex: 0 0 auto;
  font-family: var(--kg-display);
  font-size: 1.05rem;
  color: var(--kg-deep-green);
  font-weight: 500;
  letter-spacing: 0.01em;
  min-width: 44px;
}
.practices-card-name {
  flex: 1 1 auto;
  font-size: 1.1rem;
  font-weight: 500;
  font-family: var(--kg-display);
  color: var(--kg-deep-green);
  line-height: 1.3;
}
.practices-card-caret {
  flex: 0 0 auto;
  color: var(--kg-mid-grey);
  transition: transform 220ms cubic-bezier(.22,.36,.32,1);
}
.practices-card[open] .practices-card-caret {
  transform: rotate(180deg);
  color: var(--kg-deep-green);
}

.practices-card-body {
  padding: 0 var(--kg-5) var(--kg-5);
  border-top: 1px solid var(--kg-soft-grey);
  animation: practicesIn 240ms cubic-bezier(.22,.36,.32,1);
}
@keyframes practicesIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .practices-card-body { animation: none; }
  .practices-card-caret { transition: none; }
}
.practices-card-body > p:first-child { margin-top: var(--kg-4); }

/* Standard sub-headings inside each topic body — make them visually like H4s */
p.practices-subhead {
  font-family: var(--kg-body) !important;
  font-size: 11.5px !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600 !important;
  color: var(--kg-deep-green) !important;
  margin: var(--kg-4) 0 var(--kg-2) !important;
  padding: 0 0 4px;
  border-bottom: 1px solid rgba(46,111,79,0.18);
}
p.practices-subhead:first-of-type { margin-top: 0 !important; }

.practices-card-body ul {
  padding-left: var(--kg-5);
  margin: 0 0 var(--kg-3);
}
.practices-card-body ul li { margin-bottom: 6px; line-height: 1.55; }

@media (max-width: 720px) {
  .practices-card-summary {
    flex-wrap: wrap;
    padding: var(--kg-3) var(--kg-4);
  }
  .practices-card-num { font-size: 0.95rem; min-width: 40px; }
  .practices-card-name { font-size: 1rem; }
  .practices-card-body { padding: 0 var(--kg-4) var(--kg-4); }
}

/* ===== Phase 1 net-new interactions ===== */

/* --- Compare mode (§5.1) --- */
.chart-compare .chart-meta { flex-wrap: wrap; gap: 12px; }
.chart-compare-modes {
  display: inline-flex;
  border: 1px solid var(--kg-edge, #d6d2c4);
  border-radius: 999px;
  background: var(--kg-cream-soft, #f4efe2);
  padding: 4px;
  gap: 4px;
}
.chart-compare-modes button {
  appearance: none;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.85rem;
  color: var(--kg-text, #1A1A1A);
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}
.chart-compare-modes button[aria-checked="true"] {
  background: var(--kg-deep-green, #0F3D2E);
  color: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.12);
}
.chart-compare-modes button:focus-visible {
  outline: 2px solid var(--kg-deep-green);
  outline-offset: 2px;
}
.chart-compare-caption {
  margin: 12px 0 0;
  font-size: 0.92rem;
  color: var(--kg-text-muted, #5a5a5a);
  font-style: italic;
}

/* --- Proof drawer --- */
.proof-drawer {
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
}
.proof-drawer[hidden] { display: none; }
.proof-drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 61, 46, 0.32);
  opacity: 0;
  transition: opacity 240ms ease;
  pointer-events: auto;
}
.proof-drawer.open .proof-drawer-overlay { opacity: 1; }
.proof-drawer-inner {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(480px, 92vw);
  background: var(--kg-cream, #FAF6EE);
  box-shadow: -16px 0 48px rgba(15, 61, 46, 0.18);
  transform: translateX(100%);
  transition: transform 280ms cubic-bezier(0.22, 0.61, 0.36, 1);
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.proof-drawer.open .proof-drawer-inner { transform: translateX(0); }
.proof-drawer-header {
  padding: 24px 28px 16px;
  border-bottom: 1px solid var(--kg-edge, #e2dccb);
  position: relative;
}
.proof-drawer-header h2 {
  margin: 4px 0 0;
  font-family: var(--kg-display, "Inter Tight"), Inter, sans-serif;
  font-size: 1.35rem;
  color: var(--kg-deep-green);
}
.proof-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--kg-verify-green, #2E7D32);
  font-weight: 600;
}
.proof-drawer-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--kg-deep-green);
  padding: 6px;
  border-radius: 6px;
}
.proof-drawer-close:focus-visible {
  outline: 2px solid var(--kg-deep-green);
  outline-offset: 2px;
}
.proof-drawer-close:hover { background: rgba(15, 61, 46, 0.06); }
.proof-drawer-body {
  padding: 20px 28px 28px;
}
.proof-clause-label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--kg-text-muted, #5a5a5a);
  margin: 0 0 12px;
  font-weight: 600;
}
.proof-clause-excerpt {
  margin: 0 0 16px;
  padding: 16px 18px;
  border-left: 3px solid var(--kg-verify-green, #2E7D32);
  background: rgba(46, 125, 50, 0.06);
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--kg-text);
  border-radius: 4px;
}
.proof-navhelp {
  font-size: 0.85rem;
  color: var(--kg-text-muted, #5a5a5a);
  margin: 12px 0 16px;
}
.proof-drawer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--kg-deep-green);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  transition: transform 180ms ease;
}
.proof-drawer-link:hover { transform: translateX(2px); }
.proof-drawer-link:focus-visible {
  outline: 2px solid var(--kg-deep-green);
  outline-offset: 2px;
}
body.proof-open { overflow: hidden; }
.verify-badge[data-proof] { cursor: pointer; }
.verify-badge[data-proof]::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 6px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  vertical-align: middle;
  opacity: 0.7;
}

/* --- CROÍ scrollytelling spine --- */
.croi-spine {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin: 32px 0 48px;
  align-items: start;
}
.croi-spine-sticky {
  position: sticky;
  top: 96px;
  align-self: start;
}
.croi-spine-sticky .croi-figure {
  margin: 0;
  position: relative;
}
.croi-spine-sticky .croi-framework-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}
.croi-spine-sticky figcaption {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--kg-text-muted, #5a5a5a);
  font-style: italic;
  line-height: 1.5;
}
.croi-spine-pillar-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.croi-pillar-dot {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--kg-deep-green);
  opacity: 0;
  transition: opacity 320ms ease, transform 320ms ease;
  transform: scale(0.8);
  box-shadow: 0 0 0 4px rgba(15, 61, 46, 0.15);
}
.croi-pillar-dot span {
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  background: var(--kg-deep-green);
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
/* Positions are approximate; the official artwork has the four pillars roughly at the
   12 / 3 / 6 / 9 o'clock positions around the central CROÍ heart. */
.croi-pillar-dot.croi-pillar-hh { top: 16%;  left: 48%; }
.croi-pillar-dot.croi-pillar-si { top: 48%; right: 14%; left: auto; }
.croi-pillar-dot.croi-pillar-ai { top: 80%; left: 48%; }
.croi-pillar-dot.croi-pillar-pp { top: 48%; left: 14%; }
.croi-spine-pillar-overlay[data-active="hh"] .croi-pillar-dot.croi-pillar-hh,
.croi-spine-pillar-overlay[data-active="si"] .croi-pillar-dot.croi-pillar-si,
.croi-spine-pillar-overlay[data-active="ai"] .croi-pillar-dot.croi-pillar-ai,
.croi-spine-pillar-overlay[data-active="pp"] .croi-pillar-dot.croi-pillar-pp {
  opacity: 1;
  transform: scale(1);
}
.croi-spine-narrative {
  padding: 8px 0;
}
.croi-spine-narrative > p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 0 24px;
  padding: 16px 20px;
  border-left: 3px solid transparent;
  border-radius: 4px;
  transition: background 220ms ease, border-color 220ms ease;
}
.croi-spine-narrative > p.croi-lead {
  font-size: 1.18rem;
  color: var(--kg-deep-green);
  font-weight: 500;
}
.croi-spine-narrative > p[data-pillar="hh"] { border-left-color: rgba(140, 58, 31, 0.5); }
.croi-spine-narrative > p[data-pillar="si"] { border-left-color: rgba(46, 111, 79, 0.5); }
.croi-spine-narrative > p[data-pillar="ai"] { border-left-color: rgba(27, 78, 102, 0.5); }
.croi-spine-narrative > p[data-pillar="pp"] { border-left-color: rgba(123, 93, 44, 0.5); }
.croi-spine-narrative .croi-spine-navhelp {
  font-size: 0.85rem;
  color: var(--kg-text-muted, #5a5a5a);
  margin-top: 28px;
  padding: 0;
  border: 0;
}
@media (max-width: 960px) {
  .croi-spine {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .croi-spine-sticky {
    position: static;
    margin-bottom: 8px;
  }
  .croi-pillar-dot span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .croi-pillar-dot { transition: none; }
  .croi-spine-narrative > p { transition: none; }
}

/* ===== Dashboards (May 2026) ===== */
.dashboard {
  margin: 56px 0 32px;
  padding: 32px 0 8px;
}
.dashboard-header {
  margin-bottom: 24px;
  position: relative;
}
.dashboard-header .eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--kg-mid-grey, #5a5a5a);
  font-weight: 600;
  margin: 0 0 8px;
}
.dashboard-title {
  font-family: var(--kg-display, "Inter Tight"), Inter, sans-serif;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  margin: 0 0 8px;
  color: var(--kg-deep-green, #0F3D2E);
}
.dashboard-tagline {
  font-size: 0.98rem;
  color: var(--kg-charcoal, #2a2a2a);
  max-width: 760px;
  margin: 0 0 16px;
  line-height: 1.55;
}
.dashboard-header .verify-badge {
  margin-top: 8px;
}
.kpi-grid {
  display: grid;
  gap: 16px;
  margin: 0 0 16px;
}
.kpi-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kpi-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kpi-tile {
  position: relative;
  padding: 20px 22px 18px;
  background: #fff;
  border: 1px solid var(--kg-edge, #e6e0cf);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.kpi-tile:hover {
  border-color: var(--kg-deep-green, #0F3D2E);
  box-shadow: 0 4px 16px rgba(15, 61, 46, 0.06);
}
.kpi-tile::before {
  content: "";
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 3px;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  background: var(--kg-deep-green, #0F3D2E);
  opacity: 0.6;
}
.kpi-tile.kpi-si::before { background: #2E6F4F; opacity: 1; }
.kpi-tile.kpi-ai::before { background: #1B4E66; opacity: 1; }
.kpi-tile.kpi-hh::before { background: #8C3A1F; opacity: 1; }
.kpi-tile.kpi-pp::before { background: #7B5D2C; opacity: 1; }
.kpi-value {
  margin: 0;
  font-family: var(--kg-display, "Inter Tight"), Inter, sans-serif;
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.kpi-number {
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 700;
  color: var(--kg-deep-green, #0F3D2E);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.kpi-unit {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--kg-mid-grey, #5a5a5a);
}
.kpi-label {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--kg-charcoal, #2a2a2a);
  line-height: 1.35;
}
.kpi-sub {
  margin: 0;
  font-size: 0.82rem;
  color: var(--kg-mid-grey, #5a5a5a);
  line-height: 1.4;
}
.kpi-source {
  margin: auto 0 0;
  padding-top: 8px;
  font-size: 0.78rem;
}
.kpi-source a {
  color: var(--kg-deep-green, #0F3D2E);
  text-decoration: none;
  border-bottom: 1px dotted currentColor;
}
.kpi-source a:hover { border-bottom-style: solid; }
.kpi-trend {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(46, 125, 50, 0.12);
  color: #2E7D32;
}
.kpi-trend-up {
  background: rgba(181, 86, 61, 0.12);
  color: #B5563D;
}
.dash-charts {
  display: grid;
  gap: 24px;
  margin: 24px 0 16px;
}
.dash-charts-1 { grid-template-columns: 1fr; }
.dash-charts-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dashboard-footnote {
  margin: 16px 0 0;
  font-size: 0.85rem;
  color: var(--kg-mid-grey, #5a5a5a);
  border-top: 1px solid var(--kg-edge, #e6e0cf);
  padding-top: 12px;
}
.exec-dashboard {
  background: var(--kg-cream, #FAF6EE);
  padding: 32px 28px;
  border-radius: 14px;
  margin-top: 32px;
}
.env-dashboard, .social-dashboard, .gov-dashboard {
  padding-top: 12px;
}

@media (max-width: 1080px) {
  .kpi-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .kpi-grid-4, .kpi-grid-3 { grid-template-columns: 1fr; }
  .dash-charts-2 { grid-template-columns: 1fr; }
  .exec-dashboard { padding: 24px 18px; }
}

/* Wide container used by dashboard mount surfaces */
.container.container-wide {
  max-width: var(--kg-page-wide, 1280px);
  margin: 0 auto;
  padding: 0 var(--kg-5);
}

/* ===== Single-page flow ===== */
/* Each long-section is a scrollable anchor target. Scroll padding clears
   the sticky banner so anchor jumps don't slide under the header. */
html {
  scroll-padding-top: calc(var(--kg-nav-h, 64px) + 8px);
}
.long-section {
  /* Anchored target — generous top spacing between chapters so the page reads
     as distinct chapters rather than one continuous wall of text. */
  scroll-margin-top: calc(var(--kg-nav-h, 64px) + 8px);
  position: relative;
  padding-top: 24px;
}
/* Visual chapter dividers between major-numbered sections.
   Section IDs that start with a number (1-..., 2-..., etc.) and end in a sub-numbered slug
   are sub-sections; we put a divider before the chapter-overview wrappers (s1-about, s2-basis, ...). */
.long-section[data-section-id^="s"]:not([data-section-id^="section"]):not([data-section-id="home"]) {
  border-top: 1px solid var(--kg-edge, #e2dccb);
  margin-top: 48px;
  padding-top: 48px;
}
/* Home section is its own hero — no top border */
.long-section[data-section-id="home"] {
  padding-top: 0;
  margin-top: 0;
}
/* Tighten consecutive non-overview sections so the long-form pages read as one chapter */
.long-section[data-section-id^="1-"],
.long-section[data-section-id^="2-"],
.long-section[data-section-id^="3-"],
.long-section[data-section-id^="5-"],
.long-section[data-section-id^="6-"],
.long-section[data-section-id^="7-"] {
  padding-top: 16px;
}
.long-section[data-state="pending"] {
  min-height: 200px;
}
.long-section[data-state="pending"]::before {
  content: "";
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--kg-edge, #e2dccb) 0%, transparent 50%, var(--kg-edge, #e2dccb) 100%);
  background-size: 200% 100%;
  animation: skel 1.4s ease-in-out infinite;
  border-radius: 8px;
  opacity: 0.4;
}
@keyframes skel { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@media (prefers-reduced-motion: reduce) {
  .long-section[data-state="pending"]::before { animation: none; opacity: 0.2; }
}

/* Hide the legacy Previous/Next cards in long-page mode (no longer rendered) */
.page-nav { display: none; }

/* ===== Entity info cards (§2.4 visual) ===== */
.entity-info-visual {
  margin: 24px 0 32px;
}
.entity-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.entity-info-card {
  background: #fff;
  border: 1px solid var(--kg-edge, #e2dccb);
  border-radius: 12px;
  padding: 24px 26px;
  position: relative;
  overflow: hidden;
}
.entity-info-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
}
.entity-info-card.entity-insulation::before { background: linear-gradient(90deg, #1B4E66, #2E6F4F); }
.entity-info-card.entity-retrofit::before { background: linear-gradient(90deg, #B5563D, #8C3A1F); }
.entity-info-card header { margin-bottom: 16px; }
.entity-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--kg-mid-grey, #5a5a5a);
  margin: 0 0 6px;
  font-weight: 600;
}
.entity-info-card h3 {
  margin: 0;
  font-family: var(--kg-display, "Inter Tight"), Inter, sans-serif;
  font-size: 1.2rem;
  color: var(--kg-deep-green, #0F3D2E);
}
.entity-info-dl {
  display: grid;
  gap: 12px;
  margin: 0;
}
.entity-info-dl > div {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--kg-edge, #efe9da);
}
.entity-info-dl > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.entity-info-dl dt {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--kg-mid-grey, #5a5a5a);
  margin: 0;
}
.entity-info-dl dd {
  margin: 0;
  font-size: 0.95rem;
  color: var(--kg-text, #1A1A1A);
  font-weight: 500;
  word-break: normal;
  overflow-wrap: anywhere;
}
.entity-info-link {
  margin: 16px 0 0;
  font-size: 0.88rem;
  color: var(--kg-mid-grey, #5a5a5a);
  text-align: right;
}
.data-table-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--kg-deep-green, #0F3D2E);
  text-decoration: none;
  border-bottom: 1px dotted currentColor;
  padding-bottom: 1px;
}
.data-table-link:hover { border-bottom-style: solid; }
.data-table-link svg { stroke: currentColor; }
@media (max-width: 880px) {
  .entity-info-grid { grid-template-columns: 1fr; }
}

/* ===== Practices status summary (Table 4.1 visual) ===== */
.status-summary-visual { margin: 24px 0 40px; }
.status-summary-header { margin-bottom: 24px; }
.status-summary-header h3 {
  margin: 8px 0 8px;
  font-family: var(--kg-display, "Inter Tight"), Inter, sans-serif;
  font-size: 1.5rem;
  color: var(--kg-deep-green, #0F3D2E);
}
.status-summary-tagline {
  margin: 0 0 16px;
  color: var(--kg-mid-grey, #5a5a5a);
  max-width: 720px;
  font-size: 0.95rem;
}
.status-legend {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 12px;
  background: var(--kg-cream, #FAF6EE);
  border: 1px solid var(--kg-edge, #e2dccb);
  border-radius: 999px;
}
.status-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.status-topic-card {
  background: #fff;
  border: 1px solid var(--kg-edge, #e2dccb);
  border-radius: 12px;
  padding: 18px 20px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.status-topic-card:hover {
  border-color: var(--kg-deep-green, #0F3D2E);
  box-shadow: 0 4px 14px rgba(15, 61, 46, 0.06);
}
.status-topic-card h4 {
  margin: 0 0 14px;
  font-family: var(--kg-display, "Inter Tight"), Inter, sans-serif;
  font-size: 1.02rem;
  color: var(--kg-deep-green, #0F3D2E);
  line-height: 1.3;
}
.status-topic-dims { margin: 0; display: grid; gap: 8px; }
.status-dim {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}
.status-dim dt {
  margin: 0;
  font-size: 0.82rem;
  color: var(--kg-mid-grey, #5a5a5a);
}
.status-dim dd { margin: 0; }
.status-chip {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.status-chip.st-yes        { background: rgba(46, 125, 50, 0.14); color: #1E6F23; }
.status-chip.st-developing { background: rgba(181, 86, 61, 0.14); color: #8C3A1F; }
.status-chip.st-partial    { background: rgba(123, 93, 44, 0.14); color: #6B4F22; }
.status-chip.st-other      { background: rgba(106, 111, 108, 0.14); color: #4a4a4a; }
.status-summary-link { margin-top: 16px; font-size: 0.88rem; }
@media (max-width: 1080px) {
  .status-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .status-summary-grid { grid-template-columns: 1fr; }
}

/* ===== §3.1 Business model — Table 3.1 side-by-side comparison ===== */
.bm-heading-sm {
  font-size: 1.18rem !important;
  margin-top: 32px !important;
  margin-bottom: 6px !important;
}
.bm-tagline {
  margin: 0 0 14px;
  font-size: 0.92rem;
  color: var(--kg-mid-grey, #5a5a5a);
  max-width: 760px;
}
.bm-compare {
  display: grid;
  gap: 16px;
}
.bm-compare-row {
  display: grid;
  grid-template-columns: 240px 1fr 1fr;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--kg-edge, #e2dccb);
  border-radius: 12px;
  padding: 18px 20px;
}
.bm-dim {
  font-weight: 600;
  color: var(--kg-deep-green, #0F3D2E);
  font-family: var(--kg-display, "Inter Tight"), Inter, sans-serif;
  font-size: 0.98rem;
  line-height: 1.4;
}
.bm-entity {
  position: relative;
  padding-left: 14px;
}
.bm-entity::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: 3px;
  border-radius: 2px;
}
.bm-entity-insulation::before { background: linear-gradient(180deg, #1B4E66, #2E6F4F); }
.bm-entity-retrofit::before   { background: linear-gradient(180deg, #B5563D, #8C3A1F); }
.bm-entity-name {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--kg-mid-grey, #5a5a5a);
  margin: 0 0 6px;
}
.bm-entity p:not(.bm-entity-name) {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--kg-text, #1A1A1A);
}
.bm-source-link {
  margin: 16px 0 0;
  font-size: 0.88rem;
  text-align: right;
}
@media (max-width: 880px) {
  .bm-compare-row { grid-template-columns: 1fr; }
  .bm-dim { font-size: 1.05rem; padding-bottom: 4px; border-bottom: 1px solid var(--kg-edge); }
}

/* ===== Governance dashboard — bigger chart canvas ===== */
.gov-dashboard .dash-charts-1 .chart-frame {
  min-height: 360px;
}
.gov-dashboard .chart-canvas-wrap {
  min-height: 280px;
}

/* ===== Body font sizing update (May 2026) ===== */
/* Reading body inside long sections sits at 17px/1.7 */
.long-section .container.narrow > article.section p,
.long-section .container.narrow > article.section li,
.long-section .container.narrow > article.section dd {
  font-size: 1.0625rem;
  line-height: 1.7;
}
.long-section .container.narrow > article.section h2 {
  font-size: 1.95rem;
  line-height: 1.2;
  margin: 28px 0 14px;
}
.long-section .container.narrow > article.section h3 {
  font-size: 1.42rem;
  line-height: 1.25;
  margin: 24px 0 10px;
}
.long-section .container.narrow > article.section h4 {
  font-size: 1.15rem;
  line-height: 1.3;
  margin: 20px 0 8px;
}

/* ===== §5 collapsible data tables (May 2026) ===== */
details.collapsible-table {
  border: 1px solid var(--kg-edge, #e2dccb);
  border-radius: 10px;
  background: #fff;
  margin: 16px 0 20px;
  overflow: hidden;
}
details.collapsible-table > summary.collapsible-table-summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--kg-cream, #FAF6EE);
  transition: background 160ms ease;
  user-select: none;
}
details.collapsible-table > summary.collapsible-table-summary::-webkit-details-marker { display: none; }
details.collapsible-table > summary.collapsible-table-summary::marker { content: ""; }
details.collapsible-table > summary.collapsible-table-summary:hover {
  background: #f3ecdb;
}
details.collapsible-table > summary.collapsible-table-summary:focus-visible {
  outline: 2px solid var(--kg-deep-green);
  outline-offset: -2px;
}
.collapsible-table-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--kg-mid-grey, #5a5a5a);
  background: #fff;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--kg-edge, #e2dccb);
}
.collapsible-table-title {
  font-family: var(--kg-display, "Inter Tight"), Inter, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--kg-deep-green, #0F3D2E);
  line-height: 1.35;
}
.collapsible-table-hint {
  font-size: 0.8rem;
  color: var(--kg-mid-grey, #5a5a5a);
  font-style: italic;
}
.collapsible-table-hint::before { content: "Click to expand"; }
details.collapsible-table[open] .collapsible-table-hint {
  font-style: normal;
  color: var(--kg-deep-green, #0F3D2E);
  font-weight: 500;
}
details.collapsible-table[open] .collapsible-table-hint::before { content: "Expanded — click to collapse"; }
.collapsible-table-caret {
  color: var(--kg-deep-green, #0F3D2E);
  transition: transform 220ms ease;
}
details.collapsible-table[open] .collapsible-table-caret {
  transform: rotate(180deg);
}
details.collapsible-table > .table-scroll {
  border: 0;
  border-radius: 0;
  margin: 0;
  border-top: 1px solid var(--kg-edge, #e2dccb);
}

/* Autofit columns: when colgroups are stripped, let columns size to content
   but cap the table width to the container and keep cells wrapping properly. */
table.table-autofit {
  width: 100%;
  table-layout: auto;
}
table.table-autofit th,
table.table-autofit td {
  width: auto;
  white-space: normal;
  word-break: normal;
  overflow-wrap: anywhere;
  hyphens: auto;
}
/* Mobile fix for the eyebrow chip overflow */
@media (max-width: 720px) {
  details.collapsible-table > summary.collapsible-table-summary {
    grid-template-columns: 1fr auto;
    gap: 8px;
  }
  .collapsible-table-eyebrow { grid-column: 1 / -1; justify-self: start; }
  .collapsible-table-hint { display: none; }
}

/* ===== Colour-enhanced credential cards (May 2026) ===== */
.cred-card {
  position: relative;
  overflow: hidden;
  padding-left: var(--kg-4) !important;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.cred-card::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 4px;
  background: var(--kg-deep-green);
}
.cred-card:hover {
  border-color: var(--kg-deep-green) !important;
  box-shadow: 0 4px 14px rgba(15, 61, 46, 0.06);
}
/* Per-issuer accent colours */
.cred-card[data-issuer="iso"]::before      { background: #1B4E66; }   /* ISO management systems — deep blue */
.cred-card[data-issuer="iso"] .icon        { color: #1B4E66; }
.cred-card[data-issuer="verified"]::before { background: #2E7D32; }   /* RvA-accredited (EcoVerify) — verified-green */
.cred-card[data-issuer="verified"] .icon   { color: #2E7D32; }
.cred-card[data-issuer="nsai"]::before     { background: #0F3D2E; }   /* NSAI — KORE deep green */
.cred-card[data-issuer="nsai"] .icon       { color: #0F3D2E; }
.cred-card[data-issuer="seai"]::before     { background: #B5563D; }   /* SEAI — rust */
.cred-card[data-issuer="seai"] .icon       { color: #B5563D; }
.cred-card[data-issuer="epd"]::before      { background: #6B4F22; }   /* EPD Ireland — gold-brown */
.cred-card[data-issuer="epd"] .icon        { color: #6B4F22; }
.cred-card[data-issuer="redcert"]::before  { background: #7B5D2C; }   /* REDcert — warm brown */
.cred-card[data-issuer="redcert"] .icon    { color: #7B5D2C; }
.cred-card[data-issuer="bba"]::before      { background: #8C3A1F; }   /* BBA UK — dark rust */
.cred-card[data-issuer="bba"] .icon        { color: #8C3A1F; }
.cred-card[data-issuer="nisep"]::before    { background: #1B4E66; }   /* NISEP (Northern Ireland) — slate blue */
.cred-card[data-issuer="nisep"] .icon      { color: #1B4E66; }

/* Issuer-coloured top stripe on the chip pill so the issuer is glanceable */
.cred-card .meta strong { color: var(--kg-deep-green) !important; }
.cred-card[data-issuer="iso"] .meta strong      { color: #1B4E66 !important; }
.cred-card[data-issuer="verified"] .meta strong { color: #2E7D32 !important; }
.cred-card[data-issuer="seai"] .meta strong     { color: #B5563D !important; }
.cred-card[data-issuer="epd"] .meta strong      { color: #6B4F22 !important; }
.cred-card[data-issuer="redcert"] .meta strong  { color: #7B5D2C !important; }
.cred-card[data-issuer="bba"] .meta strong      { color: #8C3A1F !important; }
.cred-card[data-issuer="nisep"] .meta strong    { color: #1B4E66 !important; }

/* Make room for the issuer chip so it doesn't overlap the title */
.cred-card .meta { padding-right: 56px; min-width: 0; }
/* Issuer chip — small pill above the title that names the issuer family */
.cred-card[data-issuer]::after {
  content: attr(data-issuer);
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255,255,255,0.6);
  color: var(--kg-mid-grey, #5a5a5a);
  border: 1px solid var(--kg-edge, #e2dccb);
}
.cred-card[data-issuer="iso"]::after      { color: #1B4E66; border-color: #c8d8e0; content: "ISO"; }
.cred-card[data-issuer="verified"]::after { color: #2E7D32; border-color: #c8e0c8; content: "VERIFIED"; }
.cred-card[data-issuer="nsai"]::after     { color: #0F3D2E; border-color: #c8d8d0; content: "NSAI"; }
.cred-card[data-issuer="seai"]::after     { color: #B5563D; border-color: #e8d0c4; content: "SEAI"; }
.cred-card[data-issuer="epd"]::after      { color: #6B4F22; border-color: #dccfb8; content: "EPD"; }
.cred-card[data-issuer="redcert"]::after  { color: #7B5D2C; border-color: #e0d3b8; content: "REDCERT"; }
.cred-card[data-issuer="bba"]::after      { color: #8C3A1F; border-color: #e0c2b8; content: "BBA"; }
.cred-card[data-issuer="nisep"]::after    { color: #1B4E66; border-color: #c8d8e0; content: "NISEP"; }

/* Reserve chip space — keep title from running under the chip on narrow cards */
.cred-card .meta { padding-right: 70px; }

/* === §3.1 sustainability value-creation wheel — boxless sequential labels === */
.value-wheel {
  margin: var(--kg-5) auto var(--kg-6);
  max-width: 1100px;
}
.value-wheel-stage {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr 1.05fr;
  grid-template-rows: auto auto auto;
  gap: 8px 24px;
  align-items: start;
  min-height: 620px;
}
.value-wheel-bg {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  max-width: 100%;
  z-index: 0;
  pointer-events: none;
  filter: drop-shadow(0 6px 18px rgba(19, 50, 43, 0.08));
}
/* Boxless label: number chip + small heading + smaller list, no card chrome */
.value-wheel-label {
  position: relative;
  z-index: 1;
  background: transparent;
  border: none;
  padding: 4px 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 260px;
}
.value-wheel-label .vw-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-family: var(--kg-mono);
  font-weight: 700;
  font-size: 12px;
  line-height: 1;
  margin-bottom: 2px;
}
.value-wheel-label h4 {
  margin: 0;
  font-family: var(--kg-display);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.25;
  letter-spacing: -0.005em;
}
.value-wheel-label ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.value-wheel-label li {
  position: relative;
  padding-left: 12px;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--kg-charcoal);
  margin-bottom: 2px;
}
.value-wheel-label li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.65;
}
/* Position the 5 labels clockwise around the wheel:
   1 top-centre (sits above the top dot), 2 upper-right, 3 lower-right,
   4 lower-left, 5 upper-left. Padding keeps text clear of the SVG dots. */
.value-wheel-label.vw-1 {
  /* Top label: heading + bullets sit ABOVE the wheel; the "1" dot sits below the
     heading on the outer ring. Padding-bottom reserves space for the dot to clear. */
  grid-column: 2; grid-row: 1; text-align: center; align-items: center;
  margin: 0 auto;
  max-width: 320px;
  padding-bottom: 90px;
}
.value-wheel-label.vw-1 ul { text-align: left; }
.value-wheel-label.vw-2 {
  grid-column: 3; grid-row: 2; text-align: left; align-items: flex-start;
  justify-self: start;
  padding-left: 56px; /* clear space left for dot 2 */
}
.value-wheel-label.vw-3 {
  grid-column: 3; grid-row: 3; text-align: left; align-items: flex-start;
  justify-self: start;
  padding-left: 56px;
}
.value-wheel-label.vw-4 {
  grid-column: 1; grid-row: 3; text-align: right; align-items: flex-end;
  justify-self: end;
  padding-right: 56px;
}
.value-wheel-label.vw-4 ul { text-align: right; }
.value-wheel-label.vw-4 li { padding-left: 0; padding-right: 12px; }
.value-wheel-label.vw-4 li::before { left: auto; right: 0; }
.value-wheel-label.vw-5 {
  grid-column: 1; grid-row: 2; text-align: right; align-items: flex-end;
  justify-self: end;
  padding-right: 56px;
}
.value-wheel-label.vw-5 ul { text-align: right; }
.value-wheel-label.vw-5 li { padding-left: 0; padding-right: 12px; }
.value-wheel-label.vw-5 li::before { left: auto; right: 0; }

/* Mobile: stack vertically, hide background SVG */
@media (max-width: 880px) {
  .value-wheel-bg { display: none; }
  .value-wheel-stage {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: 0;
  }
  .value-wheel-label {
    max-width: 100%;
    text-align: left !important;
    align-items: flex-start !important;
    justify-self: stretch !important;
  }
  .value-wheel-label ul { text-align: left !important; }
  .value-wheel-label li { padding-left: 12px !important; padding-right: 0 !important; }
  .value-wheel-label li::before { left: 0 !important; right: auto !important; }
  .value-wheel-label.vw-1, .value-wheel-label.vw-2, .value-wheel-label.vw-3,
  .value-wheel-label.vw-4, .value-wheel-label.vw-5 {
    grid-column: 1;
    grid-row: auto;
  }
}

/* === §3.2 entity sub-heading banners (KORE Insulation / KORE Retrofit) === */
.long-section[data-section-id="3-2-2025-strategic-priorities"] article > h3#\33 -2-1-kore-insulation,
.long-section[data-section-id="3-2-2025-strategic-priorities"] article > h3#\33 -2-2-kore-retrofit {
  padding: 14px 20px;
  margin: var(--kg-6) 0 var(--kg-4);
  border-radius: 8px;
  color: #fff;
  font-family: var(--kg-display);
  font-size: 1.45rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  position: relative;
  border-left: 6px solid rgba(255,255,255,0.35);
}
.long-section[data-section-id="3-2-2025-strategic-priorities"] article > h3#\33 -2-1-kore-insulation {
  background: linear-gradient(135deg, #2E6F4F 0%, #1F4F3A 100%);
}
.long-section[data-section-id="3-2-2025-strategic-priorities"] article > h3#\33 -2-2-kore-retrofit {
  background: linear-gradient(135deg, #8C3A1F 0%, #6B2D17 100%);
}

/* === §3.2 strategic priorities table === */
.priorities-table-wrap { margin: var(--kg-4) 0 var(--kg-5); }
.priorities-table-wrap .priorities-table-caption {
  caption-side: top;
  text-align: left;
  font-family: var(--kg-display);
  font-weight: 600;
  color: var(--kg-deep-green);
  margin-bottom: 8px;
  padding: 0;
  font-size: 1.05rem;
}
.priorities-table { width: 100%; border-collapse: collapse; }
.priorities-table th, .priorities-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--kg-soft-grey, #eae5d6);
  vertical-align: top;
  text-align: left;
}
.priorities-table th {
  font-family: var(--kg-body);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--kg-mid-grey);
  background: rgba(46,111,79,0.04);
}
.priorities-table tbody td:first-child {
  font-family: var(--kg-mono);
  font-weight: 600;
  color: var(--kg-deep-green);
  text-align: center;
}
.priorities-table tbody tr:last-child td { border-bottom: none; }

/* === 5.7 justify text in long descriptive paragraphs (Renew project, mass flow etc.) === */
.long-section[data-section-id="5-7-resource-use-circular-economy-and-waste-management-b7"] article p,
.long-section[data-section-id="5-7-resource-use-circular-economy-and-waste-management-b7"] .practices-card-body p {
  text-align: justify;
  hyphens: auto;
}
